[Nagios-users] Question

2006-04-11 Thread Yazeed Ghandour
Dears

I am yazeed Ghandour; working as product manager in a company based on
Palestine.

We are implementing enterprise project; we are planning to connect many
wild sites together through microwave links.

Each site will consist of the microwave unites and router. As well as
the applications and server in each site.

What I am asking for, what are the capabilities of Nagios in this filed
(monitoring)

To be clearer; can the Nagios monitor the network devices' router and
access points (not the services inside the site)

Many thanks in advanced.




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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] Not able ot view hosts/services in the Trends.cgi link

2006-04-11 Thread satish kumar
Hi Marc,The Configs are exactly matching and still i am not able to see the host/service list on trends.cgi link. I am still seeing the:Host and Service State Trends Last Updated: Wed Apr 12 00:47:52 GMT 2006 Nagios® - www.nagios.org Logged in as nagios - Notifications are disabled- Service checks are disabledBut the i have all the service checks, notifications enabled as specified earlier.Thanks, SatishMarc Powell <[EMAIL PROTECTED]> wrote: Mine are as follows --$ ls -al /usr/local/nagios /total 5584drwxrwxr-x8 nagios   nagios   4096 Mar  8 15:25 .drwxr-xr-x   22 root root
 4096 Mar 23 16:13 ..drwxrwxr-x2 nagios   nagios   4096 Apr  4 14:22 bindrwxr-xr-x4 nagios   nagios   4096 Apr  4 14:07 etcdrwxrwxr-x2 nagios   nagios   4096 Apr  3 16:17 sbindrwxrwxr-x8 nagios   nagios   4096 Apr  3 16:17 sharedrwxr-xr-x2 nagios   nagios   4096 Apr 11 00:12 tmpdrwxrwxr-x4 nagios   nagios   4096 Apr 11 10:16 var$ ls -al /usr/local/nagios/etctotal 356drwxr-xr-x4 nagios   nagios   4096 Apr  4 14:07 .drwxrwxr-x8 nagios   nagios   4096 Mar  8 15:25 ..-rw-r--r--1 nagios   nagios   9610 Jan  3 09:16 cgi.cfg-rw-r--r--1 nagios   nagios  44947 Jan  4 10:24 comment.logdrwxr-xr-x5 nagios   nagios   4096 Apr  4 17:33 ena_config-rw-r--r--1 nagios   nagios  32238 Apr  4 14:06 nagios.cfg-rw-r--r--1 nagios   nagios   1804 Jan  2 16:14 resource.cfg-rw-r--r--1 nagios   nagios   1640 Nov 29 17:53
 send_nsca.cfg-rw-r--r--1 nagios   nagios   3822 Apr 11 00:12 template.cfg$ ls -al /usr/local/nagios/vartotal 20440drwxrwxr-x4 nagios   nagios   4096 Apr 11 10:16 .drwxrwxr-x8 nagios   nagios   4096 Mar  8 15:25 ..drwxrwxr-x2 nagios   nagios  28672 Apr 11 00:00 archives-rw-rw-r--1 nagios   nagios  30404 Apr 11 09:47 comments.dat-rw-rw-r--1 nagios   nagios239 Feb 13 12:10 downtime.dat-rw-r--r--1 nagios   nagios  6 Apr 11 00:12 nagios.lock-rw-rw-r--1 nagios   nagios2677024 Apr 11 10:16 nagios.log-rw-r--r--1 nagios   nagios5782334 Apr 11 00:12 objects.cache-rw---1 nagios   nagios6315126 Apr 11 10:12 retention.datdrwxr-xr-x2 nagios   nagios   4096 Apr 11 00:07 rw-rw-rw-r--1 nagios   nagios6024721 Apr 11 10:16 status.datApache configuration documentation is found at
 http://nagios.sourceforge.net/docs/2_0/installweb.html--Marc> -Original Message-> From: satish kumar [mailto:[EMAIL PROTECTED]> Sent: Tuesday, April 11, 2006 10:14 AM> To: Marc Powell; nagios-users@lists.sourceforge.net> Subject: RE: [Nagios-users] Not able ot view hosts/services in the> Trends.cgi link> > Hi Marc,> > Right now i am not in office and i do not have access to the network.> Please let me know what should be the permission/owner of> /usr/local/nagios> /usr/local/nagios/etc> /usr/local/nagios/var> > And what exactly is required to be inside httpd.conf as part of Nagios in> Apache.So that i can verify when i am in office,which avoids me waiting> another 12 hours in you replying back to me.> > Thanks, Satish> > Marc Powell <[EMAIL PROTECTED]> wrote:> >  Please post an 'ls
 -al' of the following directories --> >  /usr/local/nagios>  /usr/local/nagios/etc>  /usr/local/nagios/var> >  Also post your apache config parts related to nagios.> >  Thanks,> >  marc> >  > -Original Message->  > From: satish kumar [mailto:[EMAIL PROTECTED]>  > Sent: Monday, April 10, 2006 10:59 PM>  > To: satish kumar; Marc Powell; nagios-users@lists.sourceforge.net>  > Subject: RE: [Nagios-users] Not able ot view hosts/services in the>  > Trends.cgi link>  >>  > Hi All,>  >>  > I am still finding the problem and is it related to any rpms> missing (gd,>  > libpng,libjpeg etc..).Please help me in this issue.>  >>  > Thanks, Satish>  >>  > satish kumar wrote:>  >>  > Hi,>  >>  > I have
 enabled the notification & Service checks and the nagios> has>  > sent a lot of notifications for various services.And the> permission wise>  > others has rx permissions where apache belongs to.I am pasting the> output>  > of the command below.>  > =>  > [EMAIL PROTECTED] bin]# ./nagios -v ../etc/nagios.cfg>  >>  > Nagios 2.1>  > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)>  > Last Modified: 03-27-2006>  > License: GPL>  >>  > Reading configuration data...>  >>  > Running pre-flight check on configuration data...>  >>  > Checking services...>  > Checked 222 services.>  > Checking hosts...>  > Checked 67 hosts.>  > Checking host groups...>  > Checked 19 host groups.>  > Checking service
 groups...>  > Checked 0 service groups.>  > Checking contacts...>  > Checked 8 contacts.>  > Checking contact groups...>  > Checked 5 contact groups.>  > Checking service escalations...>  > Checked 0 service escalations.>  > Checking service dependencies...>  > Checked 0 service dependencies.>  > Checking host escalations...>  > Checked 0 host escalat

Re: [Nagios-users] distributed servers - how to tell which one executed a check?

2006-04-11 Thread jeff vier
On Tue, 2006-04-11 at 14:21 -0700, Trask wrote:
> I haven't seen anything in the docs about this...  I am hoping to have
> an indication somewhere of which distributed nagios server executed
> the last check.
> 
> A little background into my setup:
> - 4 nagios servers (all running 2.2 now)
> - nag1, nag2 and nag3 at each office/colo
> - nag4 is the central server receiving passive check info and serving
> as a fallback if one of the other 3 fail (and also importantly, the
> visual interface to all the checks).
> 
> These are glued together with some homebrew scripts to ease management
> of the distributed setup.  My goal is to be able to see which of these
> servers executed the last check.
> 
> As a stop-gap measure I modified p1.pl to prepend the nagios server's
> hostname to the plugins output.  This is an acceptable solution for
> the perl scripts, but that doesn't include any of the other (non-perl)
> plugins.
> 
> Anyone accomplish this already or have an idea of how to do this?

What I do is set $USER32$ to the geographic location (say, UK or DE),
then my distributed submit script (via nsca) sends '$USER32$ -
$HOSTOUTPUT$' (or '$USER32$ - $SERVICEOUTPUT$') for the output instead
of just the output.

Works like a charm.


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


[Nagios-users] distributed servers - how to tell which one executed a check?

2006-04-11 Thread Trask
I haven't seen anything in the docs about this...  I am hoping to have
an indication somewhere of which distributed nagios server executed
the last check.

A little background into my setup:
- 4 nagios servers (all running 2.2 now)
- nag1, nag2 and nag3 at each office/colo
- nag4 is the central server receiving passive check info and serving
as a fallback if one of the other 3 fail (and also importantly, the
visual interface to all the checks).

These are glued together with some homebrew scripts to ease management
of the distributed setup.  My goal is to be able to see which of these
servers executed the last check.

As a stop-gap measure I modified p1.pl to prepend the nagios server's
hostname to the plugins output.  This is an acceptable solution for
the perl scripts, but that doesn't include any of the other (non-perl)
plugins.

Anyone accomplish this already or have an idea of how to do this?


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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] Tracking MySQL threads?

2006-04-11 Thread Marc Powell
There's more to it than just printing out something to screen. The real
key is the exit code of the script.

http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN75

It is really straightforward though. The most basic plugin will perform
some test, print 1 line of output and exit with the proper exit code
based on the results of the test.

--
Marc

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of David Johnson
> Sent: Tuesday, April 11, 2006 12:19 PM
> To: 'JB Segal'; nagios-users@lists.sourceforge.net
> Subject: RE: [Nagios-users] Tracking MySQL threads?
> 
> Nagios plugins are just scripts.
> 
> Write a bash script (or your favorite language) to do something like:
> 
> #!/bin/bash
> /usr/local/Nagios/libexec/check_mysql -H mysql_host -u read_only -p
> ro_passwd | grep Threads | awk "{ print $4 }"
> 
> Etc.
> 
> Then you can just put into your check commands in your configuration
file.
> Let me know if that makes sense.
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:nagios-users-
> > [EMAIL PROTECTED] On Behalf Of JB Segal
> > Sent: Tuesday, April 11, 2006 11:47 AM
> > To: nagios-users@lists.sourceforge.net
> > Subject: [Nagios-users] Tracking MySQL threads?
> >
> > So, the check_mysql plugin will tell me how many threads are
running:
> >
> > /usr/local/nagios/libexec/check_mysql -H mysql_host -u read_only -p
> > ro_passwd
> > Uptime: 4132404  Threads: 9  Questions: 2062339993  Slow queries:
770
> > Opens: 3766477  Flush tables: 12  Open tables: 512  Queries per
second
> > avg: 499.065
> >
> > but as near as I can tell it won't let me alert on anything other
than
> > a simple up/down (response/no response) test.
> >
> > Does anyone have a plugin that will alert on "Threads: nnn" >foo or
> >  > check_procs, but for a single monolithic binary.)
> >
> > Thanks!
> > JB
> >
> >
> > ---
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting
> > language
> > that extends applications into web and mobile media. Attend the live
> > webcast
> > and join the prime developer group breaking into this new coding
> > territory!
> > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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
> 
> 
> 
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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] Tracking MySQL threads?

2006-04-11 Thread David Johnson
Nagios plugins are just scripts.

Write a bash script (or your favorite language) to do something like:

#!/bin/bash
/usr/local/Nagios/libexec/check_mysql -H mysql_host -u read_only -p
ro_passwd | grep Threads | awk "{ print $4 }" 

Etc.

Then you can just put into your check commands in your configuration file.
Let me know if that makes sense.


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of JB Segal
> Sent: Tuesday, April 11, 2006 11:47 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Tracking MySQL threads?
> 
> So, the check_mysql plugin will tell me how many threads are running:
> 
> /usr/local/nagios/libexec/check_mysql -H mysql_host -u read_only -p
> ro_passwd
> Uptime: 4132404  Threads: 9  Questions: 2062339993  Slow queries: 770
> Opens: 3766477  Flush tables: 12  Open tables: 512  Queries per second
> avg: 499.065
> 
> but as near as I can tell it won't let me alert on anything other than
> a simple up/down (response/no response) test.
> 
> Does anyone have a plugin that will alert on "Threads: nnn" >foo or
>  check_procs, but for a single monolithic binary.)
> 
> Thanks!
> JB
> 
> 
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webcast
> and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&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



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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] Tracking MySQL threads?

2006-04-11 Thread JB Segal
So, the check_mysql plugin will tell me how many threads are running:

/usr/local/nagios/libexec/check_mysql -H mysql_host -u read_only -p ro_passwd
Uptime: 4132404  Threads: 9  Questions: 2062339993  Slow queries: 770 
Opens: 3766477  Flush tables: 12  Open tables: 512  Queries per second
avg: 499.065

but as near as I can tell it won't let me alert on anything other than
a simple up/down (response/no response) test.

Does anyone have a plugin that will alert on "Threads: nnn" >foo or
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&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] getting errors in start/stop script

2006-04-11 Thread Bill Hoffman
Hi,     When issuing a stop to nagios I receive the following errors.     Stopping network monitor: nagios  -n Waiting for nagios to exit ./usr/local/nagios/var/nagios.lock: No such file or directoryps: option requires an argument -- pusage: ps [ -aAdeflcjLPy ] [ -o format ] [ -t termlist ]    [ -u userlist ] [ -U userlist ] [ -G grouplist ]    [ -p proclist ] [ -g pgrplist ] [ -s sidlist ]  'format' is one or more of:    user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid    pri opri pcpu pmem vsz rss osz nice class time etime stime    f s c lwp nlwp psr tty addr wchan fname comm args projid project pset done.  The problem appears to
 be that the stop calls the status function multiple times.     This is happening while testing version 2.1 on Solaris.     thanx,     bh   
		Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.

[Nagios-users] Check_NRPE Error

2006-04-11 Thread Sameka Prather
I am telling my nagios log and I see a Service Alert :
samp-02;load;unknown;soft;2;check_nrpe: error receiving data from host.

Now the server is not completely in production yet, so the load is 0. 
Could this be due to the load being 0 or have I configured something wrong?

Thank you,
Sameka Prather
Office of Internet Services
[EMAIL PROTECTED]
301-713-1384 x 109





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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] Not able ot view hosts/services in the Trends.cgi link

2006-04-11 Thread Marc Powell
Mine are as follows --

$ ls -al /usr/local/nagios /
total 5584
drwxrwxr-x8 nagios   nagios   4096 Mar  8 15:25 .
drwxr-xr-x   22 root root 4096 Mar 23 16:13 ..
drwxrwxr-x2 nagios   nagios   4096 Apr  4 14:22 bin
drwxr-xr-x4 nagios   nagios   4096 Apr  4 14:07 etc
drwxrwxr-x2 nagios   nagios   4096 Apr  3 16:17 sbin
drwxrwxr-x8 nagios   nagios   4096 Apr  3 16:17 share
drwxr-xr-x2 nagios   nagios   4096 Apr 11 00:12 tmp
drwxrwxr-x4 nagios   nagios   4096 Apr 11 10:16 var

$ ls -al /usr/local/nagios/etc
total 356
drwxr-xr-x4 nagios   nagios   4096 Apr  4 14:07 .
drwxrwxr-x8 nagios   nagios   4096 Mar  8 15:25 ..
-rw-r--r--1 nagios   nagios   9610 Jan  3 09:16 cgi.cfg
-rw-r--r--1 nagios   nagios  44947 Jan  4 10:24 comment.log
drwxr-xr-x5 nagios   nagios   4096 Apr  4 17:33 ena_config
-rw-r--r--1 nagios   nagios  32238 Apr  4 14:06 nagios.cfg
-rw-r--r--1 nagios   nagios   1804 Jan  2 16:14 resource.cfg
-rw-r--r--1 nagios   nagios   1640 Nov 29 17:53 send_nsca.cfg
-rw-r--r--1 nagios   nagios   3822 Apr 11 00:12 template.cfg

$ ls -al /usr/local/nagios/var
total 20440
drwxrwxr-x4 nagios   nagios   4096 Apr 11 10:16 .
drwxrwxr-x8 nagios   nagios   4096 Mar  8 15:25 ..
drwxrwxr-x2 nagios   nagios  28672 Apr 11 00:00 archives
-rw-rw-r--1 nagios   nagios  30404 Apr 11 09:47 comments.dat
-rw-rw-r--1 nagios   nagios239 Feb 13 12:10 downtime.dat
-rw-r--r--1 nagios   nagios  6 Apr 11 00:12 nagios.lock
-rw-rw-r--1 nagios   nagios2677024 Apr 11 10:16 nagios.log
-rw-r--r--1 nagios   nagios5782334 Apr 11 00:12 objects.cache
-rw---1 nagios   nagios6315126 Apr 11 10:12 retention.dat
drwxr-xr-x2 nagios   nagios   4096 Apr 11 00:07 rw
-rw-rw-r--1 nagios   nagios6024721 Apr 11 10:16 status.dat

Apache configuration documentation is found at 
http://nagios.sourceforge.net/docs/2_0/installweb.html

--
Marc

> -Original Message-
> From: satish kumar [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 11, 2006 10:14 AM
> To: Marc Powell; nagios-users@lists.sourceforge.net
> Subject: RE: [Nagios-users] Not able ot view hosts/services in the
> Trends.cgi link
> 
> Hi Marc,
> 
> Right now i am not in office and i do not have access to the network.
> Please let me know what should be the permission/owner of
> /usr/local/nagios
> /usr/local/nagios/etc
> /usr/local/nagios/var
> 
> And what exactly is required to be inside httpd.conf as part of Nagios in
> Apache.So that i can verify when i am in office,which avoids me waiting
> another 12 hours in you replying back to me.
> 
> Thanks, Satish
> 
> Marc Powell <[EMAIL PROTECTED]> wrote:
> 
>   Please post an 'ls -al' of the following directories --
> 
>   /usr/local/nagios
>   /usr/local/nagios/etc
>   /usr/local/nagios/var
> 
>   Also post your apache config parts related to nagios.
> 
>   Thanks,
> 
>   marc
> 
>   > -Original Message-
>   > From: satish kumar [mailto:[EMAIL PROTECTED]
>   > Sent: Monday, April 10, 2006 10:59 PM
>   > To: satish kumar; Marc Powell; nagios-users@lists.sourceforge.net
>   > Subject: RE: [Nagios-users] Not able ot view hosts/services in the
>   > Trends.cgi link
>   >
>   > Hi All,
>   >
>   > I am still finding the problem and is it related to any rpms
> missing (gd,
>   > libpng,libjpeg etc..).Please help me in this issue.
>   >
>   > Thanks, Satish
>   >
>   > satish kumar wrote:
>   >
>   > Hi,
>   >
>   > I have enabled the notification & Service checks and the nagios
> has
>   > sent a lot of notifications for various services.And the
> permission wise
>   > others has rx permissions where apache belongs to.I am pasting the
> output
>   > of the command below.
>   > =
>   > [EMAIL PROTECTED] bin]# ./nagios -v ../etc/nagios.cfg
>   >
>   > Nagios 2.1
>   > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
>   > Last Modified: 03-27-2006
>   > License: GPL
>   >
>   > Reading configuration data...
>   >
>   > Running pre-flight check on configuration data...
>   >
>   > Checking services...
>   > Checked 222 services.
>   > Checking hosts...
>   > Checked 67 hosts.
>   > Checking host groups...
>   > Checked 19 host groups.
>   > Checking service groups...
>   > Checked 0 service groups.
>   > Checking contacts...
>   > Checked 8 contacts.
>   > Checking contact groups...
>   > Checked 5 contact groups.
>   > Checking service escalations...
>   > Checked 0 service escalations.
>   > Checking service dependencies...
>   > Checked 0 service dependencies.
>   > Checking host escalations...
>   > Checked 0 host escalations.
>   > Checkin

RE: [Nagios-users] Not able ot view hosts/services in the Trends.cgi link

2006-04-11 Thread satish kumar
Hi Marc,Right now i am not in office and i do not have access to the network. Please let me know what should be the permission/owner of /usr/local/nagios/usr/local/nagios/etc/usr/local/nagios/var And what exactly is required to be inside httpd.conf as part of Nagios in Apache.So that i can verify when i am in office,which avoids me waiting another 12 hours in you replying back to me.Thanks, SatishMarc Powell <[EMAIL PROTECTED]> wrote: Please post an 'ls -al' of the following directories --/usr/local/nagios/usr/local/nagios/etc/usr/local/nagios/varAlso post your apache config parts related to nagios.Thanks,marc> -Original Message-> From: satish kumar [mailto:[EMAIL PROTECTED]> Sent: Monday, April 10, 2006 10:59 PM> To:
 satish kumar; Marc Powell; nagios-users@lists.sourceforge.net> Subject: RE: [Nagios-users] Not able ot view hosts/services in the> Trends.cgi link> > Hi All,> > I am still finding the problem and is it related to any rpms missing (gd,> libpng,libjpeg etc..).Please help me in this issue.> > Thanks, Satish> > satish kumar <[EMAIL PROTECTED]> wrote:> >  Hi,> >  I have enabled the notification & Service checks and the nagios has> sent a lot of notifications for various services.And the permission wise> others has rx permissions where apache belongs to.I am pasting the output> of the command below.>  =>  [EMAIL PROTECTED] bin]# ./nagios -v ../etc/nagios.cfg> >  Nagios 2.1>  Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)>  Last Modified: 03-27-2006>  License:
 GPL> >  Reading configuration data...> >  Running pre-flight check on configuration data...> >  Checking services...>  Checked 222 services.>  Checking hosts...>  Checked 67 hosts.>  Checking host groups...>  Checked 19 host groups.>  Checking service groups...>  Checked 0 service groups.>  Checking contacts...>  Checked 8 contacts.>  Checking contact groups...>  Checked 5 contact groups.>  Checking service escalations...>  Checked 0 service escalations.>  Checking service dependencies...>  Checked 0 service dependencies.>  Checking host escalations...>  Checked 0 host escalations.>  Checking host dependencies...>  Checked 0 host dependencies.>  Checking commands...>  Checked 105 commands.> 
 Checking time periods...>  Checked 3 time periods.>  Checking extended host info definitions...>  Checked 0 extended host info definitions.>  Checking extended service info definitions...>  Checked 0 extended service info definitions.>  Checking for circular paths between hosts...>  Checking for circular host and service dependencies...>  Checking global event handlers...>  Checking obsessive compulsive processor commands...>  Checking misc settings...> >  Total Warnings: 0>  Total Errors:   0> >  Things look okay - No serious problems were detected during the pre-> flight check>  ==> >  Thanks, Satish> >  Marc Powell <[EMAIL PROTECTED]> wrote:> >   According to your own screenshots Notifications are disabled> and Service>   checks are disabled. While I haven't
 personally experienced> the symptoms>   you're seeing, the three screenshots seem to imply a problem> reading the>   config files. Does your web server have permission to read the> .cfg>   files? Can you use the View Config link to see your> configuration?> >   Also, from the command line as the nagios user run>   '/path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg'> and post>   it's output. Perhaps if you posted the screenshots where other> can see>   them someone else who has seen the problem before can help> you.> >   -->   Marc> >   > -Original Message->   > From: satish kumar [mailto:[EMAIL PROTECTED]>   > Sent: Friday, April 07, 2006 1:25 PM>   > To: Marc Powell>   > Subject: RE: [Nagios-users] Not able ot view hosts/services> in the>   >
 Trends.cgi link>   >>   > I am forwarding the screenshots, Please let me know for> further>   > troubleshooting.>   > I am running nagios 2.0, with notification & services> enabled.There>   are no>   > errors found in the apache logs.Regarding Auth problem, i> have enabled>   all>   > the parameters with the user nagios as owner.>   >>   > Thanks, satish>   >>   > Marc Powell wrote:>   >>   >>   >>   > > -Original Message->   > > From: [EMAIL PROTECTED]> [mailto:nagios->   > users->   > > [EMAIL PROTECTED] On Behalf Of Hugo van der> Kooij>   > > Sent: Thursday, April 06, 2006 12:31 AM>   > > To: nagios>   > > Subject: Re: [Nagios-users] Not able ot view>
 hosts/services in>   the>   > > Trends.cgi link>   > >>   > > On Wed, 5 Apr 2006, satish kumar wrote:>   > >>   > > > I am not able to see the hosts/services when we click> the>   links>   > on>   > > trends.cgi, statusmap.cgi & alert histogram.cgi.I get the>   common>   > message>   > > on the lefthand side of the webpage as>   > > >>   > > > Host and Service State Trends>   > > > Last Updated: Thu Ap

Re: [Nagios-users] Not able ot view hosts/services in the Trends.cgi link

2006-04-11 Thread Shawn Kovalchick
I was just recently having a very similar problem.  When I loaded the statusmap, I was getting an internal server error.  Examining the Apache logs showed that the cgi was trying to access an image library that wasn't there (I had upgraded from RHEL3 to RHEL4).  Most everything else was ok.  I upgraded to a newer version of Nagios (
2.0 to 2.2) in an RPM that was compiled for RHEL4 (Thanks, DAG.) and everything works fine now.On 4/11/06, Marc Powell <
[EMAIL PROTECTED]> wrote:Please post an 'ls -al' of the following directories --
/usr/local/nagios/usr/local/nagios/etc/usr/local/nagios/varAlso post your apache config parts related to nagios.Thanks,marc> -Original Message-> From: satish kumar [mailto:
[EMAIL PROTECTED]]> Sent: Monday, April 10, 2006 10:59 PM> To: satish kumar; Marc Powell; nagios-users@lists.sourceforge.net
> Subject: RE: [Nagios-users] Not able ot view hosts/services in the> Trends.cgi link>> Hi All,>> I am still finding the problem and is it related to any rpms missing (gd,
> libpng,libjpeg etc..).Please help me in this issue.>> Thanks, Satish>> satish kumar <[EMAIL PROTECTED]> wrote:>>   Hi,
>>   I have enabled the notification & Service checks and the nagios has> sent a lot of notifications for various services.And the permission wise> others has rx permissions where apache belongs 
to.I am pasting the output> of the command below.>   =>   [EMAIL PROTECTED] bin]# ./nagios -v ../etc/nagios.cfg>>   Nagios 2.1>   Copyright (c) 1999-2006 Ethan Galstad (
http://www.nagios.org)>   Last Modified: 03-27-2006>   License: GPL>>   Reading configuration data...>>   Running pre-flight check on configuration data...
>>   Checking services...>   Checked 222 services.>   Checking hosts...>   Checked 67 hosts.>   Checking host groups...>   Checked 19 host groups.
>   Checking service groups...>   Checked 0 service groups.>   Checking contacts...>   Checked 8 contacts.>   Checking contact groups...>   Checked 5 contact groups.
>   Checking service escalations...>   Checked 0 service escalations.>   Checking service dependencies...>   Checked 0 service dependencies.>   Checking host escalations...
>   Checked 0 host escalations.>   Checking host dependencies...>   Checked 0 host dependencies.>   Checking commands...>   Checked 105 commands.
>   Checking time periods...>   Checked 3 time periods.>   Checking extended host info definitions...>   Checked 0 extended host info definitions.>   Checking extended service info definitions...
>   Checked 0 extended service info definitions.>   Checking for circular paths between hosts...>   Checking for circular host and service dependencies...>   Checking global event handlers...
>   Checking obsessive compulsive processor commands...>   Checking misc settings...>>   Total Warnings: 0>   Total Errors:   0>>   Things look okay - No serious problems were detected during the pre-
> flight check>   ==>>   Thanks, Satish>>   Marc Powell <[EMAIL PROTECTED]> wrote:>>   According to your own screenshots Notifications are disabled
> and Service>   checks are disabled. While I haven't personally experienced> the symptoms>   you're seeing, the three screenshots seem to imply a problem> reading the
>   config files. Does your web server have permission to read the> .cfg>   files? Can you use the View Config link to see your> configuration?>>   Also, from the command line as the nagios user run
>   '/path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg'> and post>   it's output. Perhaps if you posted the screenshots where other> can see>   them someone else who has seen the problem before can help
> you.>>   -->   Marc>>   > -Original Message->   > From: satish kumar [mailto:
[EMAIL PROTECTED]]>   > Sent: Friday, April 07, 2006 1:25 PM>   > To: Marc Powell>   > Subject: RE: [Nagios-users] Not able ot view hosts/services
> in the>   > Trends.cgi link>   >>   > I am forwarding the screenshots, Please let me know for> further>   > troubleshooting.
>   > I am running nagios 2.0, with notification & services> enabled.There>   are no>   > errors found in the apache logs.Regarding Auth problem, i
> have enabled>   all>   > the parameters with the user nagios as owner.>   >>   > Thanks, satish>   >>   > Marc Powell wrote:
>   >>   >>   >>  

RE: [Nagios-users] Not able ot view hosts/services in the Trends.cgi link

2006-04-11 Thread Marc Powell
Please post an 'ls -al' of the following directories --

/usr/local/nagios
/usr/local/nagios/etc
/usr/local/nagios/var

Also post your apache config parts related to nagios.

Thanks,

marc

> -Original Message-
> From: satish kumar [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 10, 2006 10:59 PM
> To: satish kumar; Marc Powell; nagios-users@lists.sourceforge.net
> Subject: RE: [Nagios-users] Not able ot view hosts/services in the
> Trends.cgi link
> 
> Hi All,
> 
> I am still finding the problem and is it related to any rpms missing (gd,
> libpng,libjpeg etc..).Please help me in this issue.
> 
> Thanks, Satish
> 
> satish kumar <[EMAIL PROTECTED]> wrote:
> 
>   Hi,
> 
>   I have enabled the notification & Service checks and the nagios has
> sent a lot of notifications for various services.And the permission wise
> others has rx permissions where apache belongs to.I am pasting the output
> of the command below.
>   =
>   [EMAIL PROTECTED] bin]# ./nagios -v ../etc/nagios.cfg
> 
>   Nagios 2.1
>   Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
>   Last Modified: 03-27-2006
>   License: GPL
> 
>   Reading configuration data...
> 
>   Running pre-flight check on configuration data...
> 
>   Checking services...
>   Checked 222 services.
>   Checking hosts...
>   Checked 67 hosts.
>   Checking host groups...
>   Checked 19 host groups.
>   Checking service groups...
>   Checked 0 service groups.
>   Checking contacts...
>   Checked 8 contacts.
>   Checking contact groups...
>   Checked 5 contact groups.
>   Checking service escalations...
>   Checked 0 service escalations.
>   Checking service dependencies...
>   Checked 0 service dependencies.
>   Checking host escalations...
>   Checked 0 host escalations.
>   Checking host dependencies...
>   Checked 0 host dependencies.
>   Checking commands...
>   Checked 105 commands.
>   Checking time periods...
>   Checked 3 time periods.
>   Checking extended host info definitions...
>   Checked 0 extended host info definitions.
>   Checking extended service info definitions...
>   Checked 0 extended service info definitions.
>   Checking for circular paths between hosts...
>   Checking for circular host and service dependencies...
>   Checking global event handlers...
>   Checking obsessive compulsive processor commands...
>   Checking misc settings...
> 
>   Total Warnings: 0
>   Total Errors:   0
> 
>   Things look okay - No serious problems were detected during the pre-
> flight check
>   ==
> 
>   Thanks, Satish
> 
>   Marc Powell <[EMAIL PROTECTED]> wrote:
> 
>   According to your own screenshots Notifications are disabled
> and Service
>   checks are disabled. While I haven't personally experienced
> the symptoms
>   you're seeing, the three screenshots seem to imply a problem
> reading the
>   config files. Does your web server have permission to read the
> .cfg
>   files? Can you use the View Config link to see your
> configuration?
> 
>   Also, from the command line as the nagios user run
>   '/path/to/nagios/bin/nagios -v /path/to/nagios/etc/nagios.cfg'
> and post
>   it's output. Perhaps if you posted the screenshots where other
> can see
>   them someone else who has seen the problem before can help
> you.
> 
>   --
>   Marc
> 
>   > -Original Message-
>   > From: satish kumar [mailto:[EMAIL PROTECTED]
>   > Sent: Friday, April 07, 2006 1:25 PM
>   > To: Marc Powell
>   > Subject: RE: [Nagios-users] Not able ot view hosts/services
> in the
>   > Trends.cgi link
>   >
>   > I am forwarding the screenshots, Please let me know for
> further
>   > troubleshooting.
>   > I am running nagios 2.0, with notification & services
> enabled.There
>   are no
>   > errors found in the apache logs.Regarding Auth problem, i
> have enabled
>   all
>   > the parameters with the user nagios as owner.
>   >
>   > Thanks, satish
>   >
>   > Marc Powell wrote:
>   >
>   >
>   >
>   > > -Original Message-
>   > > From: [EMAIL PROTECTED]
> [mailto:nagios-
>   > users-
>   > > [EMAIL PROTECTED] On Behalf Of Hugo van der
> Kooij
>   > > Sent: Thursday, April 06, 2006 12:31 AM
>   > > To: nagios
>   > > Subject: Re: [Nagios-users] Not able 

Antwort: Re: [Nagios-users] Re: [RETENTION FILE ISSUE] Retention file notbeingupdated?

2006-04-11 Thread Ingo Lantschner

[EMAIL PROTECTED] schrieb am
10.04.2006 20:28:09:

> You can reach the post here:
> http://article.gmane.org/gmane.network.nagios.devel/2662/
Hi Marcel,
thanks for your answer. Seems as if the tempfile in
my configuration is ok:

$ strings -a /usr/local/nagios/bin/nagios |grep tempfile
/usr/local/nagios/var/tempfile

$ sudo su nagios

$ whoami
nagios

$ if [ ! -w /usr/local/nagios/var ] ; then echo "I
cannot write." ; fi

$ touch /usr/local/nagios/var/xx

But still no state-retentionfile:

[EMAIL PROTECTED]:/usr/local/nagios/var$ ls *.dat
comments.dat  downtime.dat  status.dat

What can I have done wrong?

TIA Ingo.

P.S: Again my config: Nagios 2.2, Linux (Ubuntu Breezy
Server)

RE: [Nagios-users] question

2006-04-11 Thread Christian Kammer Have

Indeed, if you are able to use snmp
against the devices, you can monitor whatever you need in this manner.
You should be able to just ping the
devices and use that information in nagios, it is very straight forward.
Good luck


Regards

Security Specialist
Christian Kammer Have

Bispebjerg Hospital
MIT (Mediko, Informatik & Tele) 
Bispebjerg Bakke 23
2400 København NV

E-mail: [EMAIL PROTECTED]







"Yazeed Ghandour" <[EMAIL PROTECTED]>
Sendt af: [EMAIL PROTECTED]
11-04-2006 13:08
        
        Til:
       
        cc:
       
        Vedr.:
       [Nagios-users] question


Dears
I am yazeed Ghandour; working
as product manager in a company based on Palestine.
We are implementing enterprise
project; we are planning to connect many wild sites together through microwave
links.
Each site will consist of
the microwave unites and router. As well as the applications and server
in each site.
What I am asking for, what
are the capabilities of Nagios in this filed (monitoring)
To be clearer; can the Nagios
monitor the network devices’ router and access points (not the services
inside the site)
Many thanks in advanced.
 
Regards 
Yazeed Ghandour 
 __
 
 [EMAIL PROTECTED]




BCI Communication
& Advanced Technology * P.O.Box: 3917.* Al-Ersal
Tel: +970-2-2981108 * Fax: +970-2-2964167 * www.bci.ps
 
 
 
 



[Nagios-users] question

2006-04-11 Thread Yazeed Ghandour








Dears

I am yazeed Ghandour; working as product
manager in a company based on Palestine.

We are implementing enterprise project; we
are planning to connect many wild sites together through microwave links.

Each site will consist of the microwave
unites and router. As well as the applications and server in each site.

What I am asking for, what are the
capabilities of Nagios in this filed (monitoring)

To be clearer; can the Nagios monitor the
network devices’ router and access points (not the services inside the
site)

Many thanks in advanced.

 

Regards 
Yazeed Ghandour 
 __
 
 [EMAIL PROTECTED]


 
  
  BCI
  Communication & Advanced Technology * P.O.Box: 3917.* Al-Ersal
  Tel: +970-2-2981108 * Fax: +970-2-2964167 * www.bci.ps
  
 


 

 

 

 








[Nagios-users] CSV output out of availibility Reports

2006-04-11 Thread Sand Philipp
Fyi,
I found the patch here:
https://sourceforge.net/mailarchive/forum.php?thread_id=7388484&forum_id=1872

as I said before, I would greatly appreaciate it, when this patch would be 
applied to the avail.cgi by default. As Ethan does a lot of patchwork these 
days on the avail.cgi, it's pretty hard to always modify the new version of 
avail.cgi and then test it.
 
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] Im Auftrag von Sand Philipp
> Gesendet: Freitag, 7. April 2006 09:20
> An: nagios-users@lists.sourceforge.net
> Betreff: AW: [Nagios-users] RE: CSV output out of availibility Reports
> 
> > >Hi there,
> > >
> > >I remember a patch fort he avail.cgi, with which, you could
> > >generate a cs= v output out of each avail.cgi report. I
> > >already did some research in this list and with google, but I
> > >can't fin= d the patch any more. Can anyone please give me a
> > >hint, where I can download this patch? Has anyone tested this
> > >patch with the new version of the avail.cgi in Nag= ios 2.1?
> 
> > avail.cgi has _always_ done CSV output (as long as you choose
> > all hosts or all services).
> > It's up to you to filter the CSV by any means you care to choose.
> > If you want some help, try
> > - either putting all the CSV records in a DB and use SQL
> >   (if you are serious about reporting you prob want to do this).
> > - Nagios::Report
> >   (munges and filters the CSV from avail.cgi).
> I was aware, that you can do this csv output when selecting all services
> or all hosts. As wehave about 500 Hosts and 3000 Services, this is no
> option when you want to make a report for the last 90 days.
> As I said, there had been a patch for this, which I already applied to
> my old Nagios Installation, but I didn't save this patch, and don't know
> where I can download it.
> 
> > >Question for Ethan: why isn't this patch integrated into the
> > >avail.cgi by=  default? Is this planned for a future release?
> > Patches welcome.
> When this patch would have been applied to the avail.cgi, I wouldn't
> have the problem I got now ;)
> 
> > BTW, there are bugs in avail.cgi relating to scheduled down time
> > that are probably more important than this.
> I know, I already had to fight with this Problem, but I think that this
> bug is fixed in 2.1.
> 
> > >Thanks in advance!
> >
> > I probably didn't do your letter justice. It seems on reflection that
> > you meant you want the patch for avail.cgi that generates CSV from
> > a specific availability report eg a new link in the report for
> > a host or service that does CSV.
> > However, I think it has been made pretty clear from the Nag roadmap
> that
> > the CGIs have been end of lifed and will be replaced by PHP. I think
> > that
> > is a much better use of scare developer resources than trying
> > to fix difficult and fragile code.
> As I said obove, the patch had already been developed, so you don't need
> to sink hundrets of hours to apply it. I'm totally aware of the Nagios
> Roadmap. But I'm not expecting Nagios 3.0 to be released in the near
> future.
> 
> 
> >
> > As Radia Perlman said about sub-optimal routing, 'people should be
> > grateful
> > that their data is delivered at all'.
> Hmm, would be nice to see, when you tell this to your customers :-)
> 
> Philipp
> 
> 
> 
> **
> **
> sycor plastics - die Branchenloesung fuer die Kunststoffindustrie
>   www.sycor-plastics.de
> 
> sycor plastics - the solution for the plastic industry
>   www.sycor-plastics.com
> 
> **
> **
> 
> 
> Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche
> Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse
> Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort
> und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine
> Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt
> rechtsverbindliche Angebote, die in Form von E-Mail versandt werden,
> sofern dies nicht ausdruecklich in schriftlicher Form zwischen den
> Parteien vereinbart wurde.
> 
> This e-mail is confidential and may contain personal and/or privileged
> information. If you are not the intended recipient please delete this e-
> mail and all attachments immediately and inform us. The company sycor does
> not agree with contracts or contract obligations sent by e-mail, neither
> do we transmit legally binding offers by e-mail, unless this is not
> expressly agreed upon between the parties and documented in written form.
> 
> 
> 
> ---
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
> language
> that extends applications into web and mobile media. Attend the live
> webca