Re: [Nagios-users] Nagios newbie and some questions..

2006-05-31 Thread Jorg . Schulz

Hi Tom 

How long did you come with your configuration
?, if you are in the beginning i recommend to read the included Documents
that follows with the Nagios installation
or http://nagios.sourceforge.net/docs/2_0/

Nagios did not use a database like mysql
or others as "buildin". But there is a database support for mysql
or PostgreSQL.

The default method for storing status data,
comments, etc. in Nagios is (and probably will continue to be) in plain
old text files. The standard files used by the default external data routines
include the status
file, downtime
file, comment
file, and the state_retention
file. With the default install,
extended host and service information is not stored in its own file, but
in extended
host and service information definitions
in the CGI
configuration file. 

The configuration files are under ../nagios/etc
directory 
There are *-sample.cfg files under the
../nagios/etc directory - for hosts,services and so on take a look

I can also recommend a very good book
for you -- Nagios 2.0 Administration - (helps
me very much in my daily work)

Hope i could help you a little bit

regards 

/jörg 

 






Tom Tran <[EMAIL PROTECTED]>

Sent by: [EMAIL PROTECTED]
2006-05-31 18:42




To
nagios-users@lists.sourceforge.net


cc



Subject
[Nagios-users] Nagios newbie
and some questions..








Hello All,
 
I am very new to Nagios.  I just installed Nagios
on my SuSE and it looks fine..
However,  i have some questions i would like to ask..
 
1.   Nagios does not use database; so, how they gonna
store the data?  Config files?
2.   I would like to manage all the hosts in my network...
 How can i do that?  where  can i find the documents?  
I did a search and found a lot of stuffs and I still haven't got the guide
i need.    Please help if you know what links?
 
Best regards,
Tom Tran

"Max H." <[EMAIL PROTECTED]> wrote:
Max H. wrote:
> check_snmp_disk.pl -- disk usage info
> check_snmp_mem.pl -- memory info
> check_snmp_procs.pl -- processes info and so on...

Sorry to reply to myself, but I forgot I didn't get the above plugins 
from nagiosexchange. I found them here:



They do have a Solaris section on nagiosexchange, however, along with 
tons of other useful items.

Good luck.

Max



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications
in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Yahoo!
Messenger with Voice. PC-to-Phone calls for
ridiculously low rates.


RE: [Nagios-users] Polling question

2006-05-31 Thread Morris, Patrick
If you ewant it to run every time a check result is submitted, check out
the "obsess" options and ocsp_command.



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew
Joyce
Sent: Wednesday, May 31, 2006 8:51 PM
To: Nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Polling question




Hi, 

I'm writing some scrips in python to extract data from a Nagios mysql
database, that all fine, happy with that. 
I'd like the script to run as often as Nagios refreshes it's own data,
is there any way I can get Nagios to run my scriipt ?



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Polling question

2006-05-31 Thread Matthew Joyce
Title: Polling question







Hi,


I'm writing some scrips in python to extract data from a Nagios mysql database, that all fine, happy with that.

I'd like the script to run as often as Nagios refreshes it's own data, is there any way I can get Nagios to run my scriipt ?

Thanks


Matthew Joyce

02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research





smime.p7s
Description: S/MIME cryptographic signature


RE: [Nagios-users] SSH and Windows

2006-05-31 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Goodburn, Laura
> Sent: Wednesday, May 31, 2006 3:25 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] SSH and Windows
> 
> Please forgive me as I am fairly new to Nagios and the world of
plugins.
> 
> 
> 
> I have a Windows box that is running ssh and I would like to connect
via
> ssh, run a wmi vbs script, and pass the result back to Nagios. I know
that
> I can call the check_by_ssh plugin and pass the script name for the
> command parameter but I don't know how to pass the result back to the
> check_by_ssh plugin.
> 
> 
> 
> When I ssh into the box and run the .vbs script for CPU by executing
the
> following command:
> 
> cscript //nologo c:\nrpe_nt\check_cpu.vbs -H testserver -w 80 -c 90
> 
> 
> 
> I get the following:
> 
> OK - Total CPU Utilization 2% | 'CPU_Utilization'=2%;80%;90%;;
> 
> 
> 
> However, if I try the following command:
> 
> ./libexec/check_by_ssh -H testserver -C "cscript //nologo
> c:\nrpe_nt\check_cpu.vbs -H testserver -w 80 -c 90"
> 
> 
> 
> I get nothing returned, the prompt just comes back like it ran the
script
> but returned no result.
> 
> 
> 
> Has anyone else ever written a custom plugin to pull the result back
in
> via ssh? For security concerns and traffic control, I would prefer to
use
> ssh instead of nrpe for running wmi scripts. Especially since we are
> trying to make it so that the wmi scripts will only report the
statistics
> for that box instead of branching out to other Windows boxes on the
> subnet.
> 
> 
> 
> Any help would be greatly appreciated.

As long as your plugin complies with the Screen Output and Plugin Return
Codes (at the minimum) of
http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN73,
check-by-ssh should pass the appropriate information back.

Can you run your command directly from ssh? i.e. ssh [EMAIL PROTECTED]
"cscript //nologo c:\nrpe_nt\check_cpu.vbs -H testserver -w 80 -c 90"

--
marc


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


RE: [Nagios-users] Add additional columns to the nagios output

2006-05-31 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Kevin Zhang
> Sent: Wednesday, May 31, 2006 5:31 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Add additional columns to the nagios output
> 
> Hi there,
> 
> 
> 
> Is it possible to add additional columns to the output of the nagios
web
> interface?

Only by editing status.c (or other CGI you want to modify) where you
want to display the additional columns and recompiling.

--
Marc


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


RE: [Nagios-users] Authentication problem (apache basic)

2006-05-31 Thread Morris, Patrick
You have Apache configured incorrectly.
 
You might try AllowOverride AuthConfig instead of AllowOverride None.



From: Brad Clemmons Jr
Sent: Wednesday, May 31, 2006 9:34 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Authentication problem (apache basic)


Ok, I know this is probably a problem with my configuration so I need
new eyes to look at this. 
I have nagios configured and working WITHOUT AUTHENTICATION
(use_authentication=0 in cgi.cfg). If I turn on authentication I don't
even get a login prompt on the page for nagios. 



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Authentication problem (apache basic)

2006-05-31 Thread Brad Clemmons Jr
Ok, I know this is probably a problem with my configuration so I need new eyes to look at this. I have nagios configured and working WITHOUT AUTHENTICATION (use_authentication=0 in cgi.cfg). If I turn on authentication I don't even get a login prompt on the page for nagios. 
Here is my script alias stuff in httpd.conf with the auth parameters: ScriptAlias /nagios/cgi-bin /opt/nagios/sbin              AllowOverride None 
        Options +ExecCGI         Order allow,deny         Allow from all         AuthName "Nagios Access"         AuthType Basic         AuthUserFile /opt/nagios/etc/htpasswd.users         Require valid-user 
       Alias /nagios /opt/nagios/share              Options None         AllowOverride None         Order allow,deny         Allow from all 
    The htpasswd.users file was created using the following command syntax: htpasswd -c /opt/nagios/etc/htpasswd.users myusernameI made sure the correct user/groups could read the 
htpasswd.users file: chown root.apache /opt/nagios/etc/htpasswd.users chmod 640 /opt/nagios/etc/htpasswd.usersIn my cgi.cfg I have use authentication=1
 and all commands below it I have the username I added (ie: authorized_for_system_information=myusername). At any rate, I get to my nagios main page without any request for login.  So at the top of the Tactical overview page I have this: 
 Tactical Monitoring Overview Last Updated: Tue May 30 13:25:34 EDT 2006 Updated every 90 seconds Nagios® - www.nagios.org Logged in as ?
Now, Once I click on one of the cgi pages like Service Details, I get the following message: It appears as though you do not have permission to view information for any of the services you requested... 
If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. 
I checked the apache error.log and there's nothing in there recently except the apache restart notices when I restart apache.
[Tue May 30 12:50:40 2006] [notice] SIGHUP received.  Attempting to restart [Tue May 30 12:50:40 2006] [notice] Apache/1.3.33 (Debian GNU/Linux) mod_python/2.7.10 Python/2.3.4 PHP/4.3.10-16 mod_perl/1.29 configured -- resuming normal operations

 
Any idea's as to why it never prompted me to log in? Also, this is on Apache 1.3 and Nagios 2.3. 
 
-Thanks


[Nagios-users] Add additional columns to the nagios output

2006-05-31 Thread Kevin Zhang








Hi there,

 

Is it possible to add additional columns to the output of
the nagios web interface?

Any help will be greatly appreciated.

 

Kevin SZ

 








Re: [Nagios-users] check_http Error on receive

2006-05-31 Thread Daniel Zieber

Hi All,

Thank you for helping, and letting me know that check_http should be 
working.  I recompiled from source, and everything is working now.  Again, 
Thanks!


Dan

On Wed, 31 May 2006, Marcel Mitsuto Fucatu Sugano wrote:


Hello,

On Wed, 2006-05-31 at 20:41 +0200, Dan Zieber wrote:

odata1# ./check_http -H www.palomar.caltech.edu -p 8000 -v



From my nagios box:


$ ./check_http -H www.palomar.caltech.edu -p 8000
HTTP OK HTTP/1.0 200 OK - 2373 bytes in 0.643 seconds 
|time=0.643370s;;;0.00 size=2373B;;;0
$

Nagios 2.3.1 plugins 1.4.3 slackware current.

M.


AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, 
é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima 
referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. 
Caso você não seja o destinatário desta mensagem, informamos que qualquer 
divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos 
é absolutamente proibida. Solicitamos que o remetente seja comunicado 
imediatamente, respondendo esta mensagem, e que o original desta mensagem e de 
seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir 
destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais 
sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is 
CONFIDENTIAL and is intended only for use by the recipient named herein and may 
contain legally privileged and/or secret information. If you are not the 
e-mail´s intended recipient, you are hereby notified that any dissemination, 
distribution or copy of this e-mail, and/or any attachments thereto, is 
strictly prohibited. Please immediately notify the sender replying to the above 
mentioned e-mail address, and permanently delete and/or destroy the original 
and any copy of this e-mail and/or its attachments, as well as any printout 
thereof. Additional information about our company may be obtained through the 
site http://www.uol.com.br/ir/.


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null



--
Dan Zieber  Network Administrator, Palomar Observatory
Telephone: (760)742-2105Fax: (760)742-1728
E-mail: [EMAIL PROTECTED]

[Nagios-users] SSH and Windows

2006-05-31 Thread Goodburn, Laura








Please forgive me as I am fairly new to Nagios and the world
of plugins. 

 

I have a Windows box that is running ssh and I would like to
connect via ssh, run a wmi vbs script, and pass the result back to Nagios. I
know that I can call the check_by_ssh plugin and pass the script name for the
command parameter but I don’t know how to pass the result back to the
check_by_ssh plugin.

 

When I ssh into the box and run the .vbs script for CPU by
executing the following command:

cscript //nologo c:\nrpe_nt\check_cpu.vbs -H testserver -w
80 -c 90

 

I get the following:

OK - Total CPU Utilization 2% |
'CPU_Utilization'=2%;80%;90%;;

 

However, if I try the following command:

./libexec/check_by_ssh –H testserver –C “cscript
//nologo c:\nrpe_nt\check_cpu.vbs -H testserver -w 80 -c 90”

 

I get nothing returned, the prompt just comes back like it
ran the script but returned no result.

 

Has anyone else ever written a custom plugin to pull the
result back in via ssh? For security concerns and traffic control, I would
prefer to use ssh instead of nrpe for running wmi scripts. Especially since we
are trying to make it so that the wmi scripts will only report the statistics
for that box instead of branching out to other Windows boxes on the subnet.

 

Any help would be greatly appreciated.

 

Thanks.

Laura

 

Laura Goodburn

SMC Manager

Information and Technology Services

The University
of North Carolina at Charlotte

9201 University
City Boulevard

Charlotte,
 NC 28223

Phone (704) 687-8988

[EMAIL PROTECTED]

 








Re(2): [Nagios-users] check_http Error on receive

2006-05-31 Thread Robert Snyder
Dan,

I just ran it from my box and the call worked. I dropped the -v, since I
didn't want the whole page returning each time. 


RobertG5:/opt/local/libexec/nagios rns3$ ./check_http -H
www.palomar.caltech.edu -p 8000   
HTTP OK HTTP/1.0 200 OK - 2373 bytes in 0.288 seconds |time=0.288302s;;;
0.00 size=2373B;;;0

What version of Nagios are you using?


On Wed, May 31, 2006, Dan Zieber wrote:

>./check_http -H www.palomar.caltech.edu -p 8000 -v



Robert Snyder
Outreach Technology Services
The Pennsylvania State University
151A Outreach Building
University Park  PA  16802
Phone: 814-865-0912  Fax: 814-865-4406 
E-mail: [EMAIL PROTECTED]




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] `make all` fails for 1.4.1

2006-05-31 Thread Kurt Yoder

Hi list

I am using a Debian stable server for Nagios. I have been using the  
Debian Nagios package (1.3), but after a glibc upgrade a few months  
ago Nagios started dying unexpectedly. I've tried a lot of things to  
fix it, but no luck so far. So I thought I'd try compiling from  
scratch to see if this fixes the problem.


I'm having problems with this compile. If I do `./configure` with no  
arguments, `make all` works fine. However, if I do `./configure -- 
with-pgsql-xdata`,  `make all` fails with strange errors. How do I  
get past this?


Here's the really long transcript of the compile/make. I added  
explicit paths to lib and inc due to the error "pgsql/libpq-fe.h: No  
such file or directory", but as you can see this didn't get rid of  
that error:


[EMAIL PROTECTED]:~/nagios-1.4.1$ ./configure --with-pgsql-xdata --with- 
pgsql-lib=/usr/lib/postgresql/ --with-pgsql-inc=/usr/include/postgresql/

checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for strip... /usr/bin/strip
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking uio.h usability... no
checking uio.h presence... no
checking for uio.h... no
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/wait.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/msg.h usability... yes
checking sys/msg.h presence... yes
checking for sys/msg.h... yes
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for strdup... yes
checking for strstr... yes
checking for strtoul... yes
checking for initgroups... yes
checking for type of socket size... size_t
checking for mail... /usr/bin/mail
Init script directory:  /etc/rc.d/init.d
We'll use PostgreSQL database routines (in xdata/xsddb.*) for status  
data I/O...
We'll use PostgreSQL database routines (in xdata/xcddb.*) for comment  
data I/O...
We'll use PostgreSQL database routines (in xdata/xeddb.*) for  
extended data I/O...
We'll use PostgreSQL database routines (in xdata/xrddb.*) for  
retention data I/O...
We'll use template-based routines (in xdata/xodtemplate.*) for object  
data I/O...
We'll use default routines (in xdata/xpddefault.*) for performance  
data I/O...
We'll use PostgreSQL database routines (in xdata/xdddb.*) for  
scheduled downtime data I/O...

checking for main in -lpq...

Re: Re(2): [Nagios-users] check_http Error on receive

2006-05-31 Thread Daniel Zieber
I'm running Nagios 2.3 installed from the ports on FreeBSD 5.2.1, with the 
plugin collection version 1.4.3, also from ports.  The check_http version 
is 1.89.  I've been trying the check_http on a variety of sites, in all of 
them it is not working (google, a vanilla apache I installed to test, 
etc).


On Wed, 31 May 2006, Robert Snyder wrote:


Dan,

I just ran it from my box and the call worked. I dropped the -v, since I
didn't want the whole page returning each time.


RobertG5:/opt/local/libexec/nagios rns3$ ./check_http -H
www.palomar.caltech.edu -p 8000
HTTP OK HTTP/1.0 200 OK - 2373 bytes in 0.288 seconds |time=0.288302s;;;
0.00 size=2373B;;;0

What version of Nagios are you using?


On Wed, May 31, 2006, Dan Zieber wrote:


./check_http -H www.palomar.caltech.edu -p 8000 -v




Robert Snyder
Outreach Technology Services
The Pennsylvania State University
151A Outreach Building
University Park  PA  16802
Phone: 814-865-0912  Fax: 814-865-4406
E-mail: [EMAIL PROTECTED]




--
Dan Zieber  Network Administrator, Palomar Observatory
Telephone: (760)742-2105Fax: (760)742-1728
E-mail: [EMAIL PROTECTED]


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_http Error on receive

2006-05-31 Thread Marcel Mitsuto Fucatu Sugano
Hello,

On Wed, 2006-05-31 at 20:41 +0200, Dan Zieber wrote:
> odata1# ./check_http -H www.palomar.caltech.edu -p 8000 -v

>From my nagios box:

$ ./check_http -H www.palomar.caltech.edu -p 8000   
HTTP OK HTTP/1.0 200 OK - 2373 bytes in 0.643 seconds 
|time=0.643370s;;;0.00 size=2373B;;;0
$ 

Nagios 2.3.1 plugins 1.4.3 slackware current.

M.


AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, 
é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima 
referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. 
Caso você não seja o destinatário desta mensagem, informamos que qualquer 
divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos 
é absolutamente proibida. Solicitamos que o remetente seja comunicado 
imediatamente, respondendo esta mensagem, e que o original desta mensagem e de 
seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir 
destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais 
sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is 
CONFIDENTIAL and is intended only for use by the recipient named herein and may 
contain legally privileged and/or secret information. If you are not the 
e-mail´s intended recipient, you are hereby notified that any dissemination, 
distribution or copy of this e-mail, and/or any attachments thereto, is 
strictly prohibited. Please immediately notify the sender replying to the above 
mentioned e-mail address, and permanently delete and/or destroy the original 
and any copy of this e-mail and/or its attachments, as well as any printout 
thereof. Additional information about our company may be obtained through the 
site http://www.uol.com.br/ir/.


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_http Error on receive

2006-05-31 Thread Dan Zieber
That is what is showing up on screen.  The command line I'm putting
 is



odata1# ./check_http -H www.palomar.caltech.edu -p 8000 -v





- Dan Zieber (dzieber)



---

This thread is located in the archive at this URL:

http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi
1[showUid]=18861




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_http Error on receive

2006-05-31 Thread Patrick Morris
What's with all the stuff after the -v?  Have you tried without it?

Take a look at check_http -h.  It'll give you the correct syntax for the
plugin.

On Wed, 31 May 2006, Dan Zieber wrote:

> Hi,
> 
> 
> 
> I'm having trouble with check_http, and my Google skills have failed.
>   When I try to use it from the command line I get this:
> 
> 
> 
> odata1# ./check_http -H www.palomar.caltech.edu -p 8000 -v
> 
> GET / HTTP/1.0
> 
> User-Agent: check_http/1.89 (nagios-plugins 1.4.3)
> 
> Host: www.palomar.caltech.edu
> 
> 
> 
> 
> 
> Error on receive
> 
> 
> 
> but when I use telnet I get this:
> 
> 
> 
> odata1# telnet www.palomar.caltech.edu 8000
> 
> Trying 198.202.125.244...
> 
> Connected to bianca.palomar.caltech.edu.
> 
> Escape character is '^]'.
> 
> GET / HTTP/1.0
> 
> User-Agent: check_http/1.89 (nagios-plugins 1.4.3)
> 
> Host: www.palomar.caltech.edu
> 
> 
> 
> 
> 
> HTTP/1.0 200 OK
> 
> MIME-Version: 1.0
> 
> Content-Type: text/html
> 
> ...etc
> 
> 
> 
> Any ideas?  Thank You,
> 
> Dan Zieber
> 
> 
> 
> ---
> 
> The mailing list archive is found here:
> 
> http://www.nagiosexchange.org/nagios-users.34.0.html
> 
>   
> 
> 
> ---
> All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> Fully trained technicians. The highest number of Red Hat certifications in
> the hosting industry. Fanatical Support. Click to learn more
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue.
> ::: Messages without supporting info will risk being sent to /dev/null

-- 
Patrick Morris
Snapfish/HP
303 Second Street
Suite 500, South Tower
San Francisco, CA 94107
(415) 979-3727



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] check_http Error on receive

2006-05-31 Thread Dan Zieber
Hi,



I'm having trouble with check_http, and my Google skills have failed.
  When I try to use it from the command line I get this:



odata1# ./check_http -H www.palomar.caltech.edu -p 8000 -v

GET / HTTP/1.0

User-Agent: check_http/1.89 (nagios-plugins 1.4.3)

Host: www.palomar.caltech.edu





Error on receive



but when I use telnet I get this:



odata1# telnet www.palomar.caltech.edu 8000

Trying 198.202.125.244...

Connected to bianca.palomar.caltech.edu.

Escape character is '^]'.

GET / HTTP/1.0

User-Agent: check_http/1.89 (nagios-plugins 1.4.3)

Host: www.palomar.caltech.edu





HTTP/1.0 200 OK

MIME-Version: 1.0

Content-Type: text/html

...etc



Any ideas?  Thank You,

Dan Zieber



---

The mailing list archive is found here:

http://www.nagiosexchange.org/nagios-users.34.0.html




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Nagios newbie and some questions..

2006-05-31 Thread Tom Tran
Hello All,     I am very new to Nagios.  I just installed Nagios on my SuSE and it looks fine..  However,  i have some questions i would like to ask..     1.   Nagios does not use database; so, how they gonna store the data?  Config files?  2.   I would like to manage all the hosts in my network...  How can i do that?  where  can i find the documents?   I did a search and found a lot of stuffs and I still haven't got the guide i need.    Please help if you know what links?     Best regards,  Tom Tran"Max H." <[EMAIL PROTECTED]> wrote:  Max H. wrote:> check_snmp_disk.pl -- disk usage info> check_snmp_mem.pl -- memory info>
 check_snmp_procs.pl -- processes info and so on...Sorry to reply to myself, but I forgot I didn't get the above plugins from nagiosexchange. I found them here:They do have a Solaris section on nagiosexchange, however, along with tons of other useful items.Good luck.Max---All the advantages of Linux Managed Hosting--Without the Cost and Risk!Fully trained technicians. The highest number of Red Hat certifications inthe hosting industry. Fanatical Support. Click to learn morehttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642___Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: Please include Nagios version, plugin version (-v) and OS
 when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
		Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

Re: [Nagios-users] SNMP and Nagios

2006-05-31 Thread Max H.

Max H. wrote:

check_snmp_disk.pl -- disk usage info
check_snmp_mem.pl  -- memory info
check_snmp_procs.pl -- processes info  and so on...


Sorry to reply to myself, but I forgot I didn't get the above plugins 
from nagiosexchange. I found them here:




They do have a Solaris section on nagiosexchange, however, along with 
tons of other useful items.


Good luck.

Max



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] SNMP and Nagios

2006-05-31 Thread Max H.

George Monappallil wrote:

Does anybody have a detailed doc on how I can configure Nagios to use
SNMP to monitor hosts and network equipment.
Is there a way of getting info on remote hosts ( disks, cpu etc )
without installing the NRPE or other addons on the remote hosts. Most of
the time, it is not feasible to do so.

I have NET:SNMP installed on my Nagios ( 2.3.1) box (Solaris 9).



Chances are if you can poll devices with SNMP, then someone has already 
written the plugins necessary to process that data.


Check out:




check_snmp_disk.pl -- disk usage info
check_snmp_mem.pl  -- memory info
check_snmp_procs.pl -- processes info  and so on...

These kinds of plugins require a little more overhead for Nagios to 
process, but if you don't have a huge network to monitor it seems to 
work fine.


A lot of the plugins written to monitor these things are written in 
Perl, so you'll need Perl installed on the machine. An example of 
check_snmp_disk.pl in action would be:


In checkcommands.cfg:
# 'snmp_disk' Let's try to check for free space on remote disks
define command{
command_namesnmp_disk
command_line$USER1$/check_snmp_disk.pl -H $HOSTADDRESS$ -C 
public -w $ARG1$ -c $ARG2$

}

You'll have to specify the services to correspond in services.cfg, but 
hopefully this will get you started in the right direction.


Also to note, you'll need to specify the partitions or disks in the SNMP 
configuration files on your remote hosts. I'm not sure what Solaris does 
for SNMP, but for example in RHEL, under /etc/snmpd.conf you have to 
specify the parameters that SNMP is allowed to report.


Hopefully this gets you started!

Max


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] SNMP and Nagios

2006-05-31 Thread George Monappallil
Does anybody have a detailed doc on how I can configure Nagios to use
SNMP to monitor hosts and network equipment.
Is there a way of getting info on remote hosts ( disks, cpu etc )
without installing the NRPE or other addons on the remote hosts. Most of
the time, it is not feasible to do so.

I have NET:SNMP installed on my Nagios ( 2.3.1) box (Solaris 9).

Your help is appreciated.


-G



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Service Groups

2006-05-31 Thread jeff vier
On Wed, 2006-05-31 at 08:54 -0600, markham breitbach wrote:
> Yes, Nagios 1.x can also be setup to use service groups something like
> this:

That's a hostgroup, not a servicegroup.

> hostgroups.cfg
> 
> define hostgroup{
>  hostgroup_namerouters
>  alias Routers for the Network
>  contact_groupspager-guys
>  members   router1, router2, router3
> }
> 
> services.cfg
> 
> define service{
>  hostgroup_name routers
>  useping-template
> }
> 
> You will then be able to manage all routers as a single group and your
> config file becomes much more manageable.
> 
> -M
> 
> 
> At 05:03 AM 5/31/2006, Marco Ramos wrote:
> 
> > Hi,
> > 
> > On Wed, 2006-05-31 at 11:34 +0100, Oliver Marshall wrote:
> > > Does Nagios support service groups ? I want to create a group
> > called
> > 
> > Nagios 2.x does, Nagios 1.x doesn't.
> > 
> > http://nagios.org/development/changelog.php
> > 
> > HTH,
> > Marco Ramos
> > 
> > > "Fil Print Servers" which contains all the servers that perform
> > file and
> > > print duties. That service group would then have a group of
> > commands
> > > associated with it, so that any server that's part of that group
> > also
> > > inherits these services ?
> > > 
> > > I'm finding that most of my servers fall in to one of four groups,
> > each
> > > group sharing similar services.
> > > 
> > > Olly
> > > 
> > > 
> > > ---
> > > All the advantages of Linux Managed Hosting--Without the Cost and
> > Risk!
> > > Fully trained technicians. The highest number of Red Hat
> > certifications in
> > > the hosting industry. Fanatical Support. Click to learn more
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 
> > > ___
> > > Nagios-users mailing list
> > > Nagios-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > > ::: Please include Nagios version, plugin version (-v) and OS when
> > reporting any issue. 
> > > ::: Messages without supporting info will risk being sent
> > to /dev/null
> > > 
> > 
> > 
> > 
> > ---
> > All the advantages of Linux Managed Hosting--Without the Cost and
> > Risk!
> > Fully trained technicians. The highest number of Red Hat
> > certifications in
> > the hosting industry. Fanatical Support. Click to learn more
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 
> > ___
> > Nagios-users mailing list
> > Nagios-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when
> > reporting any issue. 
> > ::: Messages without supporting info will risk being sent
> > to /dev/null
> --- All the
> advantages of Linux Managed Hosting--Without the Cost and Risk! Fully
> trained technicians. The highest number of Red Hat certifications in
> the hosting industry. Fanatical Support. Click to learn more
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 
> ___ Nagios-users mailing list 
> Nagios-users@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include 
> Nagios version, plugin version (-v) and OS when reporting any issue. ::: 
> Messages without supporting info will risk being sent to /dev/null


signature.asc
Description: This is a digitally signed message part


Re: [Nagios-users] Service Groups

2006-05-31 Thread markham breitbach


Yes, Nagios 1.x can also be setup to use service groups something like
this:
hostgroups.cfg
define
hostgroup{

hostgroup_name   
routers

alias
Routers for the Network

contact_groups   
pager-guys

members  
router1, router2, router3
}
services.cfg
define
service{

hostgroup_name
routers

use   
ping-template
}
You will then be able to manage all routers as a single group
and your config file becomes much more manageable.
-M

At 05:03 AM 5/31/2006, Marco Ramos wrote:
Hi,
On Wed, 2006-05-31 at 11:34 +0100, Oliver Marshall wrote:
> Does Nagios support service groups ? I want to create a group
called
Nagios 2.x does, Nagios 1.x doesn't.

http://nagios.org/development/changelog.php
HTH,
Marco Ramos
> "Fil Print Servers" which contains all the servers that
perform file and
> print duties. That service group would then have a group of
commands
> associated with it, so that any server that's part of that group
also
> inherits these services ?
> 
> I'm finding that most of my servers fall in to one of four groups,
each
> group sharing similar services.
> 
> Olly
> 
> 
> ---
> All the advantages of Linux Managed Hosting--Without the Cost and
Risk!
> Fully trained technicians. The highest number of Red Hat
certifications in
> the hosting industry. Fanatical Support. Click to learn more
>

http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642

> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
>

https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
> ::: Messages without supporting info will risk being sent to
/dev/null
> 

---
All the advantages of Linux Managed Hosting--Without the Cost and
Risk!
Fully trained technicians. The highest number of Red Hat certifications
in
the hosting industry. Fanatical Support. Click to learn more

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642

___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to
/dev/null




---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Nagios debugging

2006-05-31 Thread daniel.siegers








Hi list,

 

i compile Nagios 1.4.1 with options debugging options
--enable-DEBUG1 and --enable-DEBUG2, but I don’t get any messages.

Can someone tell me where theses debug messages go?

Do I have to change something in the syslog config?

 



Mit freundlichen Grüßen / Kind regards

 

Daniel Siegers 

 

Bauer Systems KG

Systemadministration

Brieffach 18000

Burchardstraße 11

 

D-20077 Hamburg

 

Telefon  +49 (0)40-3019-3936

Fax   +49
(0)40-3019-140-3936

E-Mail [EMAIL PROTECTED]



 








Re: [Nagios-users] Service Groups

2006-05-31 Thread Marco Ramos

Hi,

On Wed, 2006-05-31 at 11:34 +0100, Oliver Marshall wrote:
> Does Nagios support service groups ? I want to create a group called

Nagios 2.x does, Nagios 1.x doesn't.

http://nagios.org/development/changelog.php

HTH,
Marco Ramos

> "Fil Print Servers" which contains all the servers that perform file and
> print duties. That service group would then have a group of commands
> associated with it, so that any server that's part of that group also
> inherits these services ?
> 
> I'm finding that most of my servers fall in to one of four groups, each
> group sharing similar services.
> 
> Olly
> 
> 
> ---
> All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> Fully trained technicians. The highest number of Red Hat certifications in
> the hosting industry. Fanatical Support. Click to learn more
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


RE: [Nagios-users] Service Groups

2006-05-31 Thread Deborah Martin
yes - read the docs 

-Original Message-
From: Oliver Marshall [mailto:[EMAIL PROTECTED]
Sent: 31 May 2006 11:35
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Service Groups


Does Nagios support service groups ? I want to create a group called
"Fil Print Servers" which contains all the servers that perform file and
print duties. That service group would then have a group of commands
associated with it, so that any server that's part of that group also
inherits these services ?

I'm finding that most of my servers fall in to one of four groups, each
group sharing similar services.

Olly


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. Any unauthorised distribution or copying is strictly 
prohibited.

Whilst Kognitio Limited takes steps to prevent the transmission of 
viruses via e-mail, we can not guarantee that any email or 
attachment is free from computer viruses and you are strongly
advised to undertake your own anti-virus precautions.

Kognitio grants no warranties regarding performance,
use or quality of any e-mail or attachment and undertakes no 
liability for loss or damage, howsoever caused.
***



---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Service Groups

2006-05-31 Thread Oliver Marshall
Does Nagios support service groups ? I want to create a group called
"Fil Print Servers" which contains all the servers that perform file and
print duties. That service group would then have a group of commands
associated with it, so that any server that's part of that group also
inherits these services ?

I'm finding that most of my servers fall in to one of four groups, each
group sharing similar services.

Olly


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Threads and counting them

2006-05-31 Thread Tobias Klausmann
Hi! 

I'm monitoring several processes that do not for but use threads.
Unfortunately, check_procs can be coerced into count threads
individually. While I could hack a shell script together using 
ps a -L, I'd rather use a stock plugin for this. Is there any way
to make check_procs count the threads? Or maybe anoither plugin
that can do what I need? A patch against check_procs would also
be nice, since I'm not very keen on hacking C myself (I know my
limits).

Regards,
Tobias


-- 
You don't need eyes to see, you need vision.


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


RE: [Nagios-users] service dependencies problem

2006-05-31 Thread Deborah Martin
One of your (many) definitions is : 

define servicedependency{
  host_name   sonorys_gateway
  service_description PING
  dependent_host_name sonorys_checkpoint
  dependent_service_description   PING
  notification_failure_criteria   c,u
  execution_failure_criteria  c,u

I don't think you can have dependency_service_description being the same as
the 'service_description' as it will just loop. 

In the nagios -v check, you should probably have also seen under 'Checking
service dependencies' an error 
along the lines of 'dependency definition for service '' on
host  is circular (it depends on itself'  

I've just tested this scenario and errors are the same as yours.

I also noticed the errors only occur when the dependent service is the same.
When different, there doesn't appear to be a problem. 

Test this! Remove all of the definitions so that you are only left with the
ones that match in both the service_description and the
dependent_service_description and run the nagios -v check again. You'll get
the 
same errors again. Then add one definition where the descriptions were
different. You'll see the difference. 

hth, 
-Original Message-
From: Grzegorz Rumatowski [mailto:[EMAIL PROTECTED]
Sent: 31 May 2006 10:37
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] service dependencies problem


  Hello,

During checking nagios config with nagios -v I'm getting:

  Error: A circular execution dependency (which could result in a
  deadlock) exists for service 'PING' on host 'YESSS-Firewall'!
  Error: A circular execution dependency (which could result in a
  deadlock) exists for service 'PING' on host 'YESSS-Firewall'!
  Error: A circular execution dependency (which could result in a
  deadlock) exists for service 'PING' on host 'YESSS-Firewall'!
  Error: A circular execution dependency (which could result in a
  deadlock) exists for service 'PING' on host 'YESSS-Firewall'!
  Error: A circular execution dependency (which could result in a
  deadlock) exists for service 'PING' on host '[EMAIL PROTECTED]'!
  Error: A circular execution dependency (which could result in a
  deadlock) exists for service 'PING' on host '[EMAIL PROTECTED]'!
  Error: A circular execution dependency (which could result in a
  deadlock) exists for service 'SSH' on host '[EMAIL PROTECTED]'!
  Error: A circular execution dependency (which could result in a
  deadlock) exists for service 'PING' on host '[EMAIL PROTECTED]'!
  Error: A circular execution dependency (which could result in a
  deadlock) exists for service 'PING' on host '[EMAIL PROTECTED]'!
  Error: A circular execution dependency (which could result in a
  deadlock) exists for service 'SSH' on host '[EMAIL PROTECTED]'!
  Error: A circular execution dependency (which could result in a
  deadlock) exists for service 'PING' on host 'onein1'!
  Error: A circular execution dependency (which could result in a
  deadlock) exists for service 'SSH' on host 'onein1'!
  Error: A circular execution dependency (which could result in a
  deadlock) exists for service 'PING' on host 'onein2'!
  Error: A circular execution dependency (which could result in a
  deadlock) exists for service 'SSH' on host 'onein2'!
  Error: A circular execution dependency (which could result in a
  deadlock) exists for service 'PING' on host 'onein3'!
  Error: A circular execution dependency (which could result in a
  deadlock) exists for service 'SSH' on host 'onein3'!

  I've defined following service deps:

  define servicedependency{
  host_name   sonorys_gateway
  service_description PING
  dependent_host_name sonorys_checkpoint
  dependent_service_description   PING
  notification_failure_criteria   c,u
  execution_failure_criteria  c,u
  }

  define servicedependency{
  host_name   sonorys_checkpoint
  service_description PING
  dependent_host_name SILns1,SILns2,SILns3
  dependent_service_description   PING
  notification_failure_criteria   c,u
  execution_failure_criteria  c,u
  }

  define servicedependency{
  host_name   SILns1
  service_description PING
  dependent_host_name YESSS-Firewall
  dependent_service_description   PING
  notification_failure_criteria   c,u
  execution_failure_criteria  c,u
  }

  define servicedependency{
  host_name   SILns2
  service_description PING
  dependent_host_name YESSS-Firewall
  dependent_service_description   PING
  notification_failure_criteria   c,u
  execution_failure_criteria  c,u
  }

  define servicedependency{
  host_name   SILns3
   

[Nagios-users] service dependencies problem

2006-05-31 Thread Grzegorz Rumatowski

 Hello,

During checking nagios config with nagios -v I'm getting:

 Error: A circular execution dependency (which could result in a
 deadlock) exists for service 'PING' on host 'YESSS-Firewall'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for service 'PING' on host 'YESSS-Firewall'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for service 'PING' on host 'YESSS-Firewall'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for service 'PING' on host 'YESSS-Firewall'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for service 'PING' on host '[EMAIL PROTECTED]'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for service 'PING' on host '[EMAIL PROTECTED]'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for service 'SSH' on host '[EMAIL PROTECTED]'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for service 'PING' on host '[EMAIL PROTECTED]'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for service 'PING' on host '[EMAIL PROTECTED]'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for service 'SSH' on host '[EMAIL PROTECTED]'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for service 'PING' on host 'onein1'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for service 'SSH' on host 'onein1'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for service 'PING' on host 'onein2'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for service 'SSH' on host 'onein2'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for service 'PING' on host 'onein3'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for service 'SSH' on host 'onein3'!

 I've defined following service deps:

 define servicedependency{
 host_name   sonorys_gateway
 service_description PING
 dependent_host_name sonorys_checkpoint
 dependent_service_description   PING
 notification_failure_criteria   c,u
 execution_failure_criteria  c,u
 }

 define servicedependency{
 host_name   sonorys_checkpoint
 service_description PING
 dependent_host_name SILns1,SILns2,SILns3
 dependent_service_description   PING
 notification_failure_criteria   c,u
 execution_failure_criteria  c,u
 }

 define servicedependency{
 host_name   SILns1
 service_description PING
 dependent_host_name YESSS-Firewall
 dependent_service_description   PING
 notification_failure_criteria   c,u
 execution_failure_criteria  c,u
 }

 define servicedependency{
 host_name   SILns2
 service_description PING
 dependent_host_name YESSS-Firewall
 dependent_service_description   PING
 notification_failure_criteria   c,u
 execution_failure_criteria  c,u
 }

 define servicedependency{
 host_name   SILns3
 service_description PING
 dependent_host_name YESSS-Firewall
 dependent_service_description   PING
 notification_failure_criteria   c,u
 execution_failure_criteria  c,u
 }

 define servicedependency{
 host_name   sonorys_checkpoint
 service_description PING
 dependent_host_name
 onein1,onein2,onein3,[EMAIL PROTECTED],[EMAIL PROTECTED]
 dependent_service_description   PING
 notification_failure_criteria   c,u
 execution_failure_criteria  c,u
 }

 define servicedependency{
 host_name   sonorys_checkpoint
 service_description PING
 dependent_host_name YESSS-Firewall
 dependent_service_description   PING
 notification_failure_criteria   c,u
 execution_failure_criteria  c,u
 }

 define servicedependency{
 host_name   YESSS-Firewall
 service_description PING
 dependent_host_name
 onein1,onein2,[EMAIL PROTECTED],[EMAIL PROTECTED]
 dependent_service_description   PING
 notification_failure_criteria   c,u
 execution_failure_criteria  c,u
 }

 define servicedependency{
 host_nameonein1
 service_descriptionPING
 dependent_host_nameonein1
 dependent_service_descriptionSSH
 notification_failure_criteriac,u
   

RE: [Nagios-users] Re: Ping works but check_ping doesnt

2006-05-31 Thread Oliver Marshall
Used the same IP address in each test. Even copied the IP from the cfg
file to the ping command on the command line and vica versa. The machine
responds fine to pings, but Nagios shows that it's down.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rene
Fertig
Sent: 31 May 2006 08:55
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Re: Ping works but check_ping doesnt

Hi Olly.

> Any ideas why I would be able to ping a box from the nagios server,
but
> not get a positive result from the check-host-alive test ?

Did you use the same hostaddress for both the manual ping and nagios 
check_ping? Especially using hostnames in stead of addresses can be a 
problem. And of cause one may make a small mistake by typing an address
into 
the config (me often ;-)

Bye, Rene


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications
in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Re: Ping works but check_ping doesnt

2006-05-31 Thread Rene Fertig
Hi Olly.

> Any ideas why I would be able to ping a box from the nagios server, but
> not get a positive result from the check-host-alive test ?

Did you use the same hostaddress for both the manual ping and nagios 
check_ping? Especially using hostnames in stead of addresses can be a 
problem. And of cause one may make a small mistake by typing an address into 
the config (me often ;-)

Bye, Rene


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] snmp traps

2006-05-31 Thread Vinod
Hi I tried to configure nagios to listen to snmp traps from a host.i have been referring to  documentshttp://www.samag.com/documents/s=9559/sam0503g/http://www.snmptt.org/docs/snmptt.shtml#Integration-with-other-softwarei am totally confused after trying both these documentsBoth have a different way to capture the snmp trapsOne uses snmptraphandling.py script and other uses submit_check_result.Secondlyhttp://www.samag.com/documents/s=9559/sam0503g/speicifes usepassive-check-templatebut its not mentioned how to define the passive-check-templateif i set check_periodnonenagios does not startWould appreciate ideas on configuring my monitoring server to receive snmp traps and which documents should i refer.RegardsVinod Moraes
		Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1¢/min.