[Nagios-users] Color on webinterface when service dependency kicks in

2009-07-15 Thread Anwar Maharban
Hey guys,

Anyone got an idea on how to make it possible to have another color for 
a check that is within a service dependency policy?

Like lets say for example:

I have a server with checks for network uplink and a webserver.
Normally (default config) when the uplink is down, both the uplink and 
the webserver check (port 80) will send critical notifications.
However, when i put it in a service dependency policy, i could make it 
possible to make the webserver check to keep quiet when the uplink is down.
While the uplink is down, it will show the webserver check as OK.

But now the problem i have... is that i'd like to see that the service 
dependency has kicked in..
Where the uplink is critical and the webserver check is another-color_OK 
instead of green_OK..

Hope someone can point me into the right direction or tell me how to 
accomplish this..

Thanks in advance!

Regards,

Anwar Maharban

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] error to access on nagios web

2009-07-15 Thread nadia kheffache

I'm having some issues setting up the web interface for Nagios. I have follow 
http://nagios.sourceforge.net/docs/2_0/cgiauth.html instructions to the letter 
and I'm getting

Forbidden

You don't have permission to access /nagios on this server.
__

Apache/2.0.52 (Red Hat) Server at vm-redhat Port 80

i have a right permission on these file:

[r...@spvcol ~]# ll /usr/local/nagios/etc/htpasswd.users
-rwxrwxr-x 1 apache apache 26 sep 16  2008 /usr/local/nagios/etc/htpasswd.users



nagios.conf: "/etc/httpd/conf.d/nagios.conf"

# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
# Last Modified: 11-26-2005
#
# This file contains examples of entries that need
# to be incorporated into your Apache web server
# configuration file.  Customize the paths, etc. as
# needed to fit your system.

ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"


#  SSLRequireSSL
   Options ExecCGI
   AllowOverride None
   Order allow,deny
   Allow from all
#  Order deny,allow
#  Deny from all
#  Allow from 127.0.0.1
   AuthName "Nagios Access"
   AuthType Basic
   AuthUserFile /usr/local/nagios/etc/htpasswd.users
   Require valid-user


Alias /nagios "/usr/local/nagios/share"


#  SSLRequireSSL
   Options None
   AllowOverride None
   Order allow,deny
   Allow from all
#  Order deny,allow
#  Deny from all
#  Allow from 127.0.0.1
   AuthName "Nagios Access"
   AuthType Basic
   AuthUserFile /usr/local/nagios/etc/htpasswd.users
   Require valid-user




Thank for your help

 


  


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] error to access on nagios web

2009-07-15 Thread Guy Waugh
Hi Nadia,

What does the apache error log say?

Regards,
Guy.

On Wed, Jul 15, 2009 at 8:29 AM, nadia kheffache wrote:

>
> I'm having some issues setting up the web interface for Nagios. I have
> follow http://nagios.sourceforge.net/docs/2_0/cgiauth.html instructions to
> the letter and I'm getting
>
> Forbidden
>
> You don't have permission to access /nagios on this server.
> __
>
> Apache/2.0.52 (Red Hat) Server at vm-redhat Port 80
>
> i have a right permission on these file:
>
> [r...@spvcol ~]# ll /usr/local/nagios/etc/htpasswd.users
> -rwxrwxr-x 1 apache apache 26 sep 16  2008
> /usr/local/nagios/etc/htpasswd.users
>
> 
>
> nagios.conf: "/etc/httpd/conf.d/nagios.conf"
>
> # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
> # Last Modified: 11-26-2005
> #
> # This file contains examples of entries that need
> # to be incorporated into your Apache web server
> # configuration file.  Customize the paths, etc. as
> # needed to fit your system.
>
> ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"
>
> 
> #  SSLRequireSSL
>   Options ExecCGI
>   AllowOverride None
>   Order allow,deny
>   Allow from all
> #  Order deny,allow
> #  Deny from all
> #  Allow from 127.0.0.1
>   AuthName "Nagios Access"
>   AuthType Basic
>   AuthUserFile /usr/local/nagios/etc/htpasswd.users
>   Require valid-user
> 
>
> Alias /nagios "/usr/local/nagios/share"
>
> 
> #  SSLRequireSSL
>   Options None
>   AllowOverride None
>   Order allow,deny
>   Allow from all
> #  Order deny,allow
> #  Deny from all
> #  Allow from 127.0.0.1
>   AuthName "Nagios Access"
>   AuthType Basic
>   AuthUserFile /usr/local/nagios/etc/htpasswd.users
>   Require valid-user
> 
>
> 
>
> Thank for your help
>
>
>
>
>
>
>
>
> --
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> ___
> 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
>
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
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] Fw : Re: error to access on nagios web

2009-07-15 Thread nadia kheffache


 i have these error in my log file:
 
 [r...@serveur nagios-plugins-1.4.11]# tail -f
 /etc/httpd/logs/error_log
 [Wed Jul 15 10:09:50 2009] [error] [client 192.168.3.25]
 Directory index forbidden by rule: /usr/local/nagios 
                
               /share/
 [Wed Jul 15 10:09:51 2009] [error] [client 192.168.3.25]
 Directory index forbidden by rule: /usr/local/nagios/share/ 
                
               
 [Wed Jul 15 10:09:52 2009] [error] [client 192.168.3.25]
 Directory index forbidden by rule: /usr/local/nagios/share/
          
 [Wed Jul 15 10:10:15 2009] [error] [client 127.0.0.1] Directory index 
forbidden by rule: /var/www/html/
 [Wed Jul 15 10:15:15 2009] [error] [client 127.0.0.1]
 Directory index forbidden by rule: /var/www/html/
 [Wed Jul 15 10:20:15 2009] [error] [client 127.0.0.1]
 Directory index forbidden by rule: /var/www/html/
 [Wed Jul 15 10:25:15 2009] [error] [client 127.0.0.1]
 Directory index forbidden by rule: /var/www/html/
 [Wed Jul 15 10:30:15 2009] [error] [client 127.0.0.1]
 Directory index forbidden by rule: /var/www/html/
 [Wed Jul 15 10:35:15 2009] [error] [client 127.0.0.1]
 Directory index forbidden by rule: /var/www/html/
 [Wed Jul 15 10:40:15 2009] [error] [client 127.0.0.1]
 Directory index forbidden by rule: /var/www/html/
 
 
 
> --- En date de : Mer 15.7.09, Guy Waugh 
> a écrit :
> 
> > De: Guy Waugh 
> > Objet: Re: [Nagios-users] error to access on nagios
> web
> > À: "nadia kheffache" 
> > Cc: nagios-users@lists.sourceforge.net
> > Date: Mercredi 15 Juillet 2009, 9h52
> > Hi Nadia,
> >  
> > What does the apache error log say?
> >  
> > Regards,
> > Guy.
> > 
> > 
> > On Wed, Jul 15, 2009 at 8:29 AM,
> > nadia kheffache 
> > wrote:
> > 
> > 
> > I'm having some issues setting up the web interface
> for
> > Nagios. I have follow http://nagios.sourceforge.net/docs/2_0/cgiauth.html
> > instructions to the letter and I'm getting
> > 
> > 
> > Forbidden
> > 
> > You don't have permission to access /nagios on this
> > server.
> >
> __
> > 
> > Apache/2.0.52 (Red Hat) Server at vm-redhat Port 80
> > 
> > 
> > i have a right permission on these file:
> > 
> > [r...@spvcol ~]# ll
> /usr/local/nagios/etc/htpasswd.users
> > -rwxrwxr-x 1 apache apache 26 sep 16  2008
> > /usr/local/nagios/etc/htpasswd.users
> > 
> >
> 
> > 
> > 
> > nagios.conf: "/etc/httpd/conf.d/nagios.conf"
> > 
> > # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
> > # Last Modified: 11-26-2005
> > #
> > # This file contains examples of entries that need
> > # to be incorporated into your Apache web server
> > 
> > # configuration file.  Customize the paths, etc. as
> > # needed to fit your system.
> > 
> > ScriptAlias /nagios/cgi-bin
> > "/usr/local/nagios/sbin"
> > 
> > 
> > #  SSLRequireSSL
> > 
> >   Options ExecCGI
> >   AllowOverride None
> >   Order allow,deny
> >   Allow from all
> > #  Order deny,allow
> > #  Deny from all
> > #  Allow from 127.0.0.1
> >   AuthName "Nagios Access"
> >   AuthType Basic
> >   AuthUserFile /usr/local/nagios/etc/htpasswd.users
> > 
> >   Require valid-user
> > 
> > 
> > Alias /nagios "/usr/local/nagios/share"
> > 
> > 
> > #  SSLRequireSSL
> >   Options None
> >   AllowOverride None
> > 
> >   Order allow,deny
> >   Allow from all
> > #  Order deny,allow
> > #  Deny from all
> > #  Allow from 127.0.0.1
> >   AuthName "Nagios Access"
> >   AuthType Basic
> >   AuthUserFile /usr/local/nagios/etc/htpasswd.users
> > 
> >   Require valid-user
> > 
> > 
> >
> 
> > 
> > Thank for your help
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
> --
> > 
> > Enter the BlackBerry Developer Challenge
> > This is your chance to win up to $100,000 in prizes!
> For a
> > limited time,
> > vendors submitting new applications to BlackBerry App
> > World(TM) will have
> > the opportunity to enter the BlackBerry Developer
> > Challenge. See full prize
> > 
> > details at: http://p.sf.net/sfu/Challenge
> > ___
> > 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
> > 
> > 
> > 
> 
> 
> 
> 


  


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
__

Re: [Nagios-users] error to access on nagios web

2009-07-15 Thread Guy Waugh
Hi Nadia,

It's good to make sure you send a copy of all replies to the list -- that
way, people with the same problem later on get to see the whole conversation
:-)

Anyway...

Is there an 'index.html' file in /usr/local/nagios/share ? If a file called
'index.html' does exist there, is there a line like this in your apache
configuration file:

DirectoryIndex index.html

Regards,
Guy.

On Wed, Jul 15, 2009 at 9:03 AM, nadia kheffache wrote:

>
> Hi Guy,
>
> i have these error in my log file:
>
> [r...@serveur nagios-plugins-1.4.11]# tail -f /etc/httpd/logs/error_log
> [Wed Jul 15 10:09:50 2009] [error] [client 192.168.3.25] Directory index
> forbidden by rule: /usr/local/nagios/share/
> [Wed Jul 15 10:09:51 2009] [error] [client 192.168.3.25] Directory index
> forbidden by rule: /usr/local/nagios/share/
> [Wed Jul 15 10:09:52 2009] [error] [client 192.168.3.25] Directory index
> forbidden by rule: /usr/local/nagios/share/
> [Wed Jul 15 10:10:15 2009] [error] [client 127.0.0.1] Directory index
> forbidden by rule: /var/www/html/
> [Wed Jul 15 10:15:15 2009] [error] [client 127.0.0.1] Directory index
> forbidden by rule: /var/www/html/
> [Wed Jul 15 10:20:15 2009] [error] [client 127.0.0.1] Directory index
> forbidden by rule: /var/www/html/
> [Wed Jul 15 10:25:15 2009] [error] [client 127.0.0.1] Directory index
> forbidden by rule: /var/www/html/
> [Wed Jul 15 10:30:15 2009] [error] [client 127.0.0.1] Directory index
> forbidden by rule: /var/www/html/
> [Wed Jul 15 10:35:15 2009] [error] [client 127.0.0.1] Directory index
> forbidden by rule: /var/www/html/
> [Wed Jul 15 10:40:15 2009] [error] [client 127.0.0.1] Directory index
> forbidden by rule: /var/www/html/
>
>
>
> --- En date de : Mer 15.7.09, Guy Waugh  a écrit :
>
> > De: Guy Waugh 
> > Objet: Re: [Nagios-users] error to access on nagios web
> > À: "nadia kheffache" 
> > Cc: nagios-users@lists.sourceforge.net
> > Date: Mercredi 15 Juillet 2009, 9h52
> > Hi Nadia,
> >
> > What does the apache error log say?
> >
> > Regards,
> > Guy.
> >
> >
> > On Wed, Jul 15, 2009 at 8:29 AM,
> > nadia kheffache 
> > wrote:
> >
> >
> > I'm having some issues setting up the web interface for
> > Nagios. I have follow
> http://nagios.sourceforge.net/docs/2_0/cgiauth.html
> > instructions to the letter and I'm getting
> >
> >
> > Forbidden
> >
> > You don't have permission to access /nagios on this
> > server.
> > __
> >
> > Apache/2.0.52 (Red Hat) Server at vm-redhat Port 80
> >
> >
> > i have a right permission on these file:
> >
> > [r...@spvcol ~]# ll /usr/local/nagios/etc/htpasswd.users
> > -rwxrwxr-x 1 apache apache 26 sep 16  2008
> > /usr/local/nagios/etc/htpasswd.users
> >
> > 
> >
> >
> > nagios.conf: "/etc/httpd/conf.d/nagios.conf"
> >
> > # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
> > # Last Modified: 11-26-2005
> > #
> > # This file contains examples of entries that need
> > # to be incorporated into your Apache web server
> >
> > # configuration file.  Customize the paths, etc. as
> > # needed to fit your system.
> >
> > ScriptAlias /nagios/cgi-bin
> > "/usr/local/nagios/sbin"
> >
> > 
> > #  SSLRequireSSL
> >
> >   Options ExecCGI
> >   AllowOverride None
> >   Order allow,deny
> >   Allow from all
> > #  Order deny,allow
> > #  Deny from all
> > #  Allow from 127.0.0.1
> >   AuthName "Nagios Access"
> >   AuthType Basic
> >   AuthUserFile /usr/local/nagios/etc/htpasswd.users
> >
> >   Require valid-user
> > 
> >
> > Alias /nagios "/usr/local/nagios/share"
> >
> > 
> > #  SSLRequireSSL
> >   Options None
> >   AllowOverride None
> >
> >   Order allow,deny
> >   Allow from all
> > #  Order deny,allow
> > #  Deny from all
> > #  Allow from 127.0.0.1
> >   AuthName "Nagios Access"
> >   AuthType Basic
> >   AuthUserFile /usr/local/nagios/etc/htpasswd.users
> >
> >   Require valid-user
> > 
> >
> > 
> >
> > Thank for your help
> >
> >
> >
> >
> >
> >
> >
> >
> --
> >
> > Enter the BlackBerry Developer Challenge
> > This is your chance to win up to $100,000 in prizes! For a
> > limited time,
> > vendors submitting new applications to BlackBerry App
> > World(TM) will have
> > the opportunity to enter the BlackBerry Developer
> > Challenge. See full prize
> >
> > details at: http://p.sf.net/sfu/Challenge
> > ___
> > 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] error to access on nagios web

2009-07-15 Thread nadia kheffache

I have not index.html, but index.php in /usr/local/nagios/share/

in my apache config i have:

DirectoryIndex index.html index.html.var

Regards

Nadia 

--- En date de : Mer 15.7.09, Guy Waugh  a écrit :

> De: Guy Waugh 
> Objet: Re: [Nagios-users] error to access on nagios web
> À: "nadia kheffache" , "Nagios Users Mail-list" 
> 
> Date: Mercredi 15 Juillet 2009, 10h29
> Hi Nadia,
> 
> It's good to make sure you send a copy of all replies
> to the list -- that way, people with the same problem later
> on get to see the whole conversation :-)
> 
> Anyway...
> 
> Is there an 'index.html' file in
> /usr/local/nagios/share ? If a file called
> 'index.html' does exist there, is there a line like
> this in your apache configuration file:
> 
> 
> DirectoryIndex index.html
> 
> Regards,
> Guy.
> 
> On Wed, Jul 15, 2009 at 9:03 AM,
> nadia kheffache 
> wrote:
> 
> 
> 
> Hi Guy,
> 
> 
> 
> i have these error in my log file:
> 
> 
> 
> [r...@serveur nagios-plugins-1.4.11]# tail -f
> /etc/httpd/logs/error_log
> 
> [Wed Jul 15 10:09:50 2009] [error] [client 192.168.3.25]
> Directory index forbidden by rule: /usr/local/nagios    
>                            /share/
> 
> [Wed Jul 15 10:09:51 2009] [error] [client 192.168.3.25]
> Directory index forbidden by rule: /usr/local/nagios    
>                            /share/
> 
> [Wed Jul 15 10:09:52 2009] [error] [client 192.168.3.25]
> Directory index forbidden by rule: /usr/local/nagios    
>                            /share/
> 
> [Wed Jul 15 10:10:15 2009] [error] [client 127.0.0.1]
> Directory index forbidden by rule: /var/www/html/
> 
> [Wed Jul 15 10:15:15 2009] [error] [client 127.0.0.1]
> Directory index forbidden by rule: /var/www/html/
> 
> [Wed Jul 15 10:20:15 2009] [error] [client 127.0.0.1]
> Directory index forbidden by rule: /var/www/html/
> 
> [Wed Jul 15 10:25:15 2009] [error] [client 127.0.0.1]
> Directory index forbidden by rule: /var/www/html/
> 
> [Wed Jul 15 10:30:15 2009] [error] [client 127.0.0.1]
> Directory index forbidden by rule: /var/www/html/
> 
> [Wed Jul 15 10:35:15 2009] [error] [client 127.0.0.1]
> Directory index forbidden by rule: /var/www/html/
> 
> [Wed Jul 15 10:40:15 2009] [error] [client 127.0.0.1]
> Directory index forbidden by rule: /var/www/html/
> 
> 
> 
> 
> 
> 
> 
> --- En date de : Mer 15.7.09, Guy Waugh 
> a écrit :
> 
> 
> 
> > De: Guy Waugh 
> 
> > Objet: Re: [Nagios-users] error to access on nagios
> web
> 
> > À: "nadia kheffache" 
> 
> > Cc: nagios-users@lists.sourceforge.net
> 
> > Date: Mercredi 15 Juillet 2009, 9h52
> 
> > Hi Nadia,
> 
> >  
> 
> > What does the apache error log say?
> 
> >  
> 
> > Regards,
> 
> > Guy.
> 
> >
> 
> >
> 
> > On Wed, Jul 15, 2009 at 8:29 AM,
> 
> > nadia kheffache 
> 
> > wrote:
> 
> >
> 
> >
> 
> > I'm having some issues setting up the web
> interface for
> 
> > Nagios. I have follow http://nagios.sourceforge.net/docs/2_0/cgiauth.html
> 
> > instructions to the letter and I'm getting
> 
> >
> 
> >
> 
> > Forbidden
> 
> >
> 
> > You don't have permission to access /nagios on
> this
> 
> > server.
> 
> >
> __
> 
> >
> 
> > Apache/2.0.52 (Red Hat) Server at vm-redhat Port 80
> 
> >
> 
> >
> 
> > i have a right permission on these file:
> 
> >
> 
> > [r...@spvcol ~]# ll
> /usr/local/nagios/etc/htpasswd.users
> 
> > -rwxrwxr-x 1 apache apache 26 sep 16  2008
> 
> > /usr/local/nagios/etc/htpasswd.users
> 
> >
> 
> >
> 
> 
> >
> 
> >
> 
> > nagios.conf:
> "/etc/httpd/conf.d/nagios.conf"
> 
> >
> 
> > # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
> 
> > # Last Modified: 11-26-2005
> 
> > #
> 
> > # This file contains examples of entries that need
> 
> > # to be incorporated into your Apache web server
> 
> >
> 
> > # configuration file.  Customize the paths, etc. as
> 
> > # needed to fit your system.
> 
> >
> 
> > ScriptAlias /nagios/cgi-bin
> 
> > "/usr/local/nagios/sbin"
> 
> >
> 
> > 
> 
> > #  SSLRequireSSL
> 
> >
> 
> >   Options ExecCGI
> 
> >   AllowOverride None
> 
> >   Order allow,deny
> 
> >   Allow from all
> 
> > #  Order deny,allow
> 
> > #  Deny from all
> 
> > #  Allow from 127.0.0.1
> 
> >   AuthName "Nagios Access"
> 
> >   AuthType Basic
> 
> >   AuthUserFile /usr/local/nagios/etc/htpasswd.users
> 
> >
> 
> >   Require valid-user
> 
> > 
> 
> >
> 
> > Alias /nagios "/usr/local/nagios/share"
> 
> >
> 
> > 
> 
> > #  SSLRequireSSL
> 
> >   Options None
> 
> >   AllowOverride None
> 
> >
> 
> >   Order allow,deny
> 
> >   Allow from all
> 
> > #  Order deny,allow
> 
> > #  Deny from all
> 
> > #  Allow from 127.0.0.1
> 
> >   AuthName "Nagios Access"
> 
> >   AuthType Basic
> 
> >   AuthUserFile /usr/local/nagios/etc/htpasswd.users
> 
> >
> 
> >   Require valid-user
> 
> > 
> 
> >
> 
> >
> 
> 
> >
> 
> > Thank for your help
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >
> 

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Guy Waugh
Hi Juki,

As I understand it, you can either (1) 'hard-code' your NRPE checks in the
nrpe.cfg file on the monitored host (so that the checks are explicitly
defined), or (2) set up NRPE on the monitored host in such a way that you
can pass arguments in your NRPE checks. It looks like you're landing
somewhere between the two with your configuration.

I would either go the Option (1) way, having something like this in your
nrpe.cfg file on the monitored host:
*command[check_root]=/usr/local/nagios/libexec/check_disk -w 30% -c 15% -p /
**command[check_var]=/usr/local/nagios/libexec/check_disk -w 30% -c 15%** -p
/var
**command[check_server1]=/usr/local/nagios/libexec/check_disk -w 30% -c 15%*
* -p /var/opt/BGw/Server1
**command[check_ora]=/usr/local/nagios/libexec/check_disk -w 30% -c 15%** -p
/var/opt/mediation/ora*

, and then having services on the nagios host like this:

*define service{
use generic-service ; Name of
service template to use
host_name   emm4
service_description Root Partition
check_command   check_nrpe!check_root
}*

Alternatively, for the Option (2) method, on the monitored host, in
nrpe.cfg:

*command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c
$ARG2$ -p $ARG3$*

, and a service example on the nagios host:

*define service{
use generic-service ; Name of
service template to use
host_name   emm4
service_description Root Partition
check_command   check_nrpe!check_disk!30!15!/
}*

I may not have the syntax in the 'check_command' of that last service
exactly right, but that's the general idea.

To go down the Option 2 road, you have to have configured the NRPE daemon on
the monitored host with '--enable-command-args', and have to have a line in
your nrpe.cfg file that says 'dont_blame_nrpe=1'. This is because allowing
command arguments in this fashion can be a security risk. The default
nrpe.cfg file has some comments that refer to this.

HTH,
Guy.


On Wed, Jul 15, 2009 at 7:24 AM, Juki  wrote:

> Hello again,
>
> Thanks for the tips so far. Now some responses;
>
> On the monitored host, I have setup nrpe.cfg and therein I have set the
> option "allowed_hosts=" and also revised the format
> as shown below;
>
>
> *#specific commands#
> command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 15% -p /
> -p /var -p /var/opt/BGw/Server1 -p /var/opt/mediation/ora
> command[check_swap]= /usr/local/nagios/libexec/check_swap -a -w 10% -c 5%
> command[check_procs]=/usr/local/nagios/libexec/check_procs -w 300 -c 400
> command[check_ssh]=/usr/local/nagios/libexec/check_ssh -4 -t 10 -p 22
> localhost
> command[check_ftp]=/usr/local/nagios/libexec/check_ftp -t 5
>
> *Then on the monitoring server, I have also setup the monitored host file
> (host.cfg) with the service description as follows;
>
> *define service{
> use generic-service ; Name of
> service template to use
> host_name   emm4
> service_description Root Partition
> check_command   check_nrpe!check_disk!15%!10%!
> }*
> *
> *After setting up all this, I refreshed the nrpe client on the monitored
> host and also restarted the nagios service on the monitoring server, this is
> after I checked that there were no errors whatsoever in the nagios
> configuration files. And yes, I logged into the monitored host as the
> nagios user and was able to verify that the check_nrpe command definition
> does run successfully.
>
> When I log into the nagios web GUI, I'm able to see the alerts, warnings
> and details for the check_swap, check_procs, check_ssh and for check_ftp.
> For the case of check_disk, I only see alerts/warnings and details only for
> the root (/) partition and NOT those for the /var, /var/opt/BGw/Server, 
> /var/opt/mediation/ora.
> This is despite the fact that these partitions are defined in the nrpe.cfg
> file on the monitored host as shown above.
>
> This is still puzzling*
>
> *
>
> --
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> ___
> 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] Graphing data

2009-07-15 Thread Gabriel Ogunleye
Dear All,

I want to use graphing on my nagios instances, and I was wondering, will it
only graph new data from the point of installation onwards, or will it graph
history data from the nagios logs?
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
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] error to access on nagios web

2009-07-15 Thread nadia kheffache

Hi Guy,

it work's! thank you, i have juste do this:
cp /usr/local/nagios/share/index.php /usr/local/nagios/share/index.html

 

Thank you very much

Nadia


--- En date de : Mer 15.7.09, Guy Waugh  a écrit :

> De: Guy Waugh 
> Objet: Re: [Nagios-users] error to access on nagios web
> À: "nadia kheffache" , "Nagios Users Mail-list" 
> 
> Date: Mercredi 15 Juillet 2009, 10h29
> Hi Nadia,
> 
> It's good to make sure you send a copy of all replies
> to the list -- that way, people with the same problem later
> on get to see the whole conversation :-)
> 
> Anyway...
> 
> Is there an 'index.html' file in
> /usr/local/nagios/share ? If a file called
> 'index.html' does exist there, is there a line like
> this in your apache configuration file:
> 
> 
> DirectoryIndex index.html
> 
> Regards,
> Guy.
> 
> On Wed, Jul 15, 2009 at 9:03 AM,
> nadia kheffache 
> wrote:
> 
> 
> 
> Hi Guy,
> 
> 
> 
> i have these error in my log file:
> 
> 
> 
> [r...@serveur nagios-plugins-1.4.11]# tail -f
> /etc/httpd/logs/error_log
> 
> [Wed Jul 15 10:09:50 2009] [error] [client 192.168.3.25]
> Directory index forbidden by rule: /usr/local/nagios    
>                            /share/
> 
> [Wed Jul 15 10:09:51 2009] [error] [client 192.168.3.25]
> Directory index forbidden by rule: /usr/local/nagios    
>                            /share/
> 
> [Wed Jul 15 10:09:52 2009] [error] [client 192.168.3.25]
> Directory index forbidden by rule: /usr/local/nagios    
>                            /share/
> 
> [Wed Jul 15 10:10:15 2009] [error] [client 127.0.0.1]
> Directory index forbidden by rule: /var/www/html/
> 
> [Wed Jul 15 10:15:15 2009] [error] [client 127.0.0.1]
> Directory index forbidden by rule: /var/www/html/
> 
> [Wed Jul 15 10:20:15 2009] [error] [client 127.0.0.1]
> Directory index forbidden by rule: /var/www/html/
> 
> [Wed Jul 15 10:25:15 2009] [error] [client 127.0.0.1]
> Directory index forbidden by rule: /var/www/html/
> 
> [Wed Jul 15 10:30:15 2009] [error] [client 127.0.0.1]
> Directory index forbidden by rule: /var/www/html/
> 
> [Wed Jul 15 10:35:15 2009] [error] [client 127.0.0.1]
> Directory index forbidden by rule: /var/www/html/
> 
> [Wed Jul 15 10:40:15 2009] [error] [client 127.0.0.1]
> Directory index forbidden by rule: /var/www/html/
> 
> 
> 
> 
> 
> 
> 
> --- En date de : Mer 15.7.09, Guy Waugh 
> a écrit :
> 
> 
> 
> > De: Guy Waugh 
> 
> > Objet: Re: [Nagios-users] error to access on nagios
> web
> 
> > À: "nadia kheffache" 
> 
> > Cc: nagios-users@lists.sourceforge.net
> 
> > Date: Mercredi 15 Juillet 2009, 9h52
> 
> > Hi Nadia,
> 
> >  
> 
> > What does the apache error log say?
> 
> >  
> 
> > Regards,
> 
> > Guy.
> 
> >
> 
> >
> 
> > On Wed, Jul 15, 2009 at 8:29 AM,
> 
> > nadia kheffache 
> 
> > wrote:
> 
> >
> 
> >
> 
> > I'm having some issues setting up the web
> interface for
> 
> > Nagios. I have follow http://nagios.sourceforge.net/docs/2_0/cgiauth.html
> 
> > instructions to the letter and I'm getting
> 
> >
> 
> >
> 
> > Forbidden
> 
> >
> 
> > You don't have permission to access /nagios on
> this
> 
> > server.
> 
> >
> __
> 
> >
> 
> > Apache/2.0.52 (Red Hat) Server at vm-redhat Port 80
> 
> >
> 
> >
> 
> > i have a right permission on these file:
> 
> >
> 
> > [r...@spvcol ~]# ll
> /usr/local/nagios/etc/htpasswd.users
> 
> > -rwxrwxr-x 1 apache apache 26 sep 16  2008
> 
> > /usr/local/nagios/etc/htpasswd.users
> 
> >
> 
> >
> 
> 
> >
> 
> >
> 
> > nagios.conf:
> "/etc/httpd/conf.d/nagios.conf"
> 
> >
> 
> > # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
> 
> > # Last Modified: 11-26-2005
> 
> > #
> 
> > # This file contains examples of entries that need
> 
> > # to be incorporated into your Apache web server
> 
> >
> 
> > # configuration file.  Customize the paths, etc. as
> 
> > # needed to fit your system.
> 
> >
> 
> > ScriptAlias /nagios/cgi-bin
> 
> > "/usr/local/nagios/sbin"
> 
> >
> 
> > 
> 
> > #  SSLRequireSSL
> 
> >
> 
> >   Options ExecCGI
> 
> >   AllowOverride None
> 
> >   Order allow,deny
> 
> >   Allow from all
> 
> > #  Order deny,allow
> 
> > #  Deny from all
> 
> > #  Allow from 127.0.0.1
> 
> >   AuthName "Nagios Access"
> 
> >   AuthType Basic
> 
> >   AuthUserFile /usr/local/nagios/etc/htpasswd.users
> 
> >
> 
> >   Require valid-user
> 
> > 
> 
> >
> 
> > Alias /nagios "/usr/local/nagios/share"
> 
> >
> 
> > 
> 
> > #  SSLRequireSSL
> 
> >   Options None
> 
> >   AllowOverride None
> 
> >
> 
> >   Order allow,deny
> 
> >   Allow from all
> 
> > #  Order deny,allow
> 
> > #  Deny from all
> 
> > #  Allow from 127.0.0.1
> 
> >   AuthName "Nagios Access"
> 
> >   AuthType Basic
> 
> >   AuthUserFile /usr/local/nagios/etc/htpasswd.users
> 
> >
> 
> >   Require valid-user
> 
> > 
> 
> >
> 
> >
> 
> 
> >
> 
> > Thank for your help
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >
> 
> >
> 

Re: [Nagios-users] error to access on nagios web

2009-07-15 Thread Michael Friedrich
Recently there was a discussion about that on nagios-portal.org (in 
german) and the solution was to install php (in php.conf DirectoryIndex 
points to index.php)...


Guy Waugh wrote the following on 15.07.2009 10:29:

Hi Nadia,

It's good to make sure you send a copy of all replies to the list -- 
that way, people with the same problem later on get to see the whole 
conversation :-)


Anyway...

Is there an 'index.html' file in /usr/local/nagios/share ? If a file 
called 'index.html' does exist there, is there a line like this in 
your apache configuration file:


DirectoryIndex index.html

Regards,
Guy.

On Wed, Jul 15, 2009 at 9:03 AM, nadia kheffache 
mailto:nadiakheffa...@yahoo.fr>> wrote:



Hi Guy,

i have these error in my log file:

[r...@serveur nagios-plugins-1.4.11]# tail -f
/etc/httpd/logs/error_log
[Wed Jul 15 10:09:50 2009] [error] [client 192.168.3.25] Directory
index forbidden by rule: /usr/local/nagios
   /share/

[Wed Jul 15 10:09:51 2009] [error] [client 192.168.3.25] Directory
index forbidden by rule: /usr/local/nagios
   /share/

[Wed Jul 15 10:09:52 2009] [error] [client 192.168.3.25] Directory
index forbidden by rule: /usr/local/nagios
   /share/

[Wed Jul 15 10:10:15 2009] [error] [client 127.0.0.1] Directory
index forbidden by rule: /var/www/html/
[Wed Jul 15 10:15:15 2009] [error] [client 127.0.0.1] Directory
index forbidden by rule: /var/www/html/
[Wed Jul 15 10:20:15 2009] [error] [client 127.0.0.1] Directory
index forbidden by rule: /var/www/html/
[Wed Jul 15 10:25:15 2009] [error] [client 127.0.0.1] Directory
index forbidden by rule: /var/www/html/
[Wed Jul 15 10:30:15 2009] [error] [client 127.0.0.1] Directory
index forbidden by rule: /var/www/html/
[Wed Jul 15 10:35:15 2009] [error] [client 127.0.0.1] Directory
index forbidden by rule: /var/www/html/
[Wed Jul 15 10:40:15 2009] [error] [client 127.0.0.1] Directory
index forbidden by rule: /var/www/html/



--- En date de : Mer 15.7.09, Guy Waugh mailto:guid...@gmail.com>> a écrit :

> De: Guy Waugh mailto:guid...@gmail.com>>
> Objet: Re: [Nagios-users] error to access on nagios web
> À: "nadia kheffache" mailto:nadiakheffa...@yahoo.fr>>
> Cc: nagios-users@lists.sourceforge.net

> Date: Mercredi 15 Juillet 2009, 9h52
> Hi Nadia,
>  
> What does the apache error log say?
>  
> Regards,

> Guy.
>
>
> On Wed, Jul 15, 2009 at 8:29 AM,
> nadia kheffache mailto:nadiakheffa...@yahoo.fr>>
> wrote:
>
>
> I'm having some issues setting up the web interface for
> Nagios. I have follow
http://nagios.sourceforge.net/docs/2_0/cgiauth.html
> instructions to the letter and I'm getting
>
>
> Forbidden
>
> You don't have permission to access /nagios on this
> server.
> __
>
> Apache/2.0.52 (Red Hat) Server at vm-redhat Port 80
>
>
> i have a right permission on these file:
>
> [r...@spvcol ~]# ll /usr/local/nagios/etc/htpasswd.users
> -rwxrwxr-x 1 apache apache 26 sep 16  2008
> /usr/local/nagios/etc/htpasswd.users
>
> 
>
>
> nagios.conf: "/etc/httpd/conf.d/nagios.conf"
>
> # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
> # Last Modified: 11-26-2005
> #
> # This file contains examples of entries that need
> # to be incorporated into your Apache web server
>
> # configuration file.  Customize the paths, etc. as
> # needed to fit your system.
>
> ScriptAlias /nagios/cgi-bin
> "/usr/local/nagios/sbin"
>
> 
> #  SSLRequireSSL
>
>   Options ExecCGI
>   AllowOverride None
>   Order allow,deny
>   Allow from all
> #  Order deny,allow
> #  Deny from all
> #  Allow from 127.0.0.1
>   AuthName "Nagios Access"
>   AuthType Basic
>   AuthUserFile /usr/local/nagios/etc/htpasswd.users
>
>   Require valid-user
> 
>
> Alias /nagios "/usr/local/nagios/share"
>
> 
> #  SSLRequireSSL
>   Options None
>   AllowOverride None
>
>   Order allow,deny
>   Allow from all
> #  Order deny,allow
> #  Deny from all
> #  Allow from 127.0.0.1
>   AuthName "Nagios Access"
>   AuthType Basic
>   AuthUserFile /usr/local/nagios/etc/htpasswd.users
>
>   Require valid-user
> 
>
> 
>
> Thank for your help
>
>
>
>
>
>
>
>

--
>
> Enter the BlackBerry Developer Challeng

Re: [Nagios-users] error to access on nagios web

2009-07-15 Thread Michael Friedrich
Just curious - if you open the index.php/html, are there any  
tags in it? And did you install Nagios by package or from source?


kind regards,
Michael

nadia kheffache wrote the following on 15.07.2009 10:48:

Hi Guy,

it work's! thank you, i have juste do this:
cp /usr/local/nagios/share/index.php /usr/local/nagios/share/index.html

 


Thank you very much

Nadia


--- En date de : Mer 15.7.09, Guy Waugh  a écrit :

  

De: Guy Waugh 
Objet: Re: [Nagios-users] error to access on nagios web
À: "nadia kheffache" , "Nagios Users Mail-list" 

Date: Mercredi 15 Juillet 2009, 10h29
Hi Nadia,

It's good to make sure you send a copy of all replies
to the list -- that way, people with the same problem later
on get to see the whole conversation :-)

Anyway...

Is there an 'index.html' file in
/usr/local/nagios/share ? If a file called
'index.html' does exist there, is there a line like
this in your apache configuration file:


DirectoryIndex index.html

Regards,
Guy.

On Wed, Jul 15, 2009 at 9:03 AM,
nadia kheffache 
wrote:



Hi Guy,



i have these error in my log file:



[r...@serveur nagios-plugins-1.4.11]# tail -f
/etc/httpd/logs/error_log

[Wed Jul 15 10:09:50 2009] [error] [client 192.168.3.25]
Directory index forbidden by rule: /usr/local/nagios
   /share/


[Wed Jul 15 10:09:51 2009] [error] [client 192.168.3.25]
Directory index forbidden by rule: /usr/local/nagios
   /share/


[Wed Jul 15 10:09:52 2009] [error] [client 192.168.3.25]
Directory index forbidden by rule: /usr/local/nagios
   /share/


[Wed Jul 15 10:10:15 2009] [error] [client 127.0.0.1]
Directory index forbidden by rule: /var/www/html/

[Wed Jul 15 10:15:15 2009] [error] [client 127.0.0.1]
Directory index forbidden by rule: /var/www/html/

[Wed Jul 15 10:20:15 2009] [error] [client 127.0.0.1]
Directory index forbidden by rule: /var/www/html/

[Wed Jul 15 10:25:15 2009] [error] [client 127.0.0.1]
Directory index forbidden by rule: /var/www/html/

[Wed Jul 15 10:30:15 2009] [error] [client 127.0.0.1]
Directory index forbidden by rule: /var/www/html/

[Wed Jul 15 10:35:15 2009] [error] [client 127.0.0.1]
Directory index forbidden by rule: /var/www/html/

[Wed Jul 15 10:40:15 2009] [error] [client 127.0.0.1]
Directory index forbidden by rule: /var/www/html/







--- En date de : Mer 15.7.09, Guy Waugh 
a écrit :





De: Guy Waugh 
  
Objet: Re: [Nagios-users] error to access on nagios
  

web



À: "nadia kheffache" 
  
Cc: nagios-users@lists.sourceforge.net
  
Date: Mercredi 15 Juillet 2009, 9h52
  
Hi Nadia,
  
 
  
What does the apache error log say?
  
 
  
Regards,
  
Guy.
  
On Wed, Jul 15, 2009 at 8:29 AM,
  
nadia kheffache 
  
wrote:
  
I'm having some issues setting up the web
  

interface for



Nagios. I have follow http://nagios.sourceforge.net/docs/2_0/cgiauth.html
  
instructions to the letter and I'm getting
  
Forbidden
  
You don't have permission to access /nagios on
  

this



server.
  

__



Apache/2.0.52 (Red Hat) Server at vm-redhat Port 80
  
i have a right permission on these file:
  
[r...@spvcol ~]# ll
  

/usr/local/nagios/etc/htpasswd.users



-rwxrwxr-x 1 apache apache 26 sep 16  2008
  
/usr/local/nagios/etc/htpasswd.users
  





nagios.conf:
  

"/etc/httpd/conf.d/nagios.conf"



# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
  
# Last Modified: 11-26-2005
  
#
  
# This file contains examples of entries that need
  
# to be incorporated into your Apache web server
  
# configuration file.  Customize the paths, etc. as
  
# needed to fit your system.
  
ScriptAlias /nagios/cgi-bin
  
"/usr/local/nagios/sbin"
  

  
#  SSLRequireSSL
  
  Options ExecCGI
  
  AllowOverride None
  
  Order allow,deny
  
  Allow from all
  
#  Order deny,allow
  
#  Deny from all
  
#  Allow from 127.0.0.1
  
  AuthName "Nagios Access"
  
  AuthType Basic
  
  AuthUserFile /usr/local/nagios/etc/htpasswd.users
  
  Require valid-user
  

  
Alias /nagios "/usr/local/nagios/share"
  

  
#  SSLRequireSSL
  
  Options None
  
  AllowOverride None
  
  Order allow,deny
  
  Allow from all
  
#  Order deny,allow
  
#  Deny from all
  
#  Allow from 127.0.0.1
  
  AuthName "Nagios Access"
  
  AuthType Basic
  
  AuthUserFile /usr/local/nagios/etc/htpasswd.users
  
  Require valid-user
  

  





Thank for your help
  

--



Enter the BlackBerry Developer Challenge
  
This is your chance 

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Juki
Hi Guy,

Many thanks for your post.

I decided to go with Option (1) as per your description and did the
following in the nrpe.cfg file on the monitored host:

command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /
command[check_var]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
/var
command[check_server1]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
/var/opt/BGw/Server1
command[check_ora]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
/var/opt/mediation/ora


And then on the nagios monitoring server I have this:

define service{
use generic-service ; Name of
service template to use
host_name   emm4
service_description Root Partition
check_command   check_nrpe!check_disk!15%!10%!
}

define service{
use generic-service ; Name of
service template to use
host_name   emm4
service_description var Partition
check_command   check_nrpe!check_var!30%!20%!
}

define service{
use generic-service ; Name of
service template to use
host_name   emm4
service_description server1 Partition
check_command   check_nrpe!check_server1!30%!20%!
}

define service{
use generic-service ; Name of
service template to use
host_name   emm4
service_description ora Partition
check_command   check_nrpe!check_ora!30%!20%!
}


When I log into the nagios Web GUI, the services for the ora, server1 and
var partition have been successfully created. However, looking at the
"status information" column, I have the following errors:

"NRPE: Command 'check_ora' not defined"
"NRPE: Command 'check_server1' not defined"
"NRPE: Command 'check_var' not defined"

This indicates that I need to explicitly define 'check_ora', 'check_server1'
and 'check_var' elsewhere. So, where else must I define these services so as
to clear out the errors above?

Thanks in advance!






2009/7/15 Guy Waugh 

> Hi Juki,
>
> As I understand it, you can either (1) 'hard-code' your NRPE checks in the
> nrpe.cfg file on the monitored host (so that the checks are explicitly
> defined), or (2) set up NRPE on the monitored host in such a way that you
> can pass arguments in your NRPE checks. It looks like you're landing
> somewhere between the two with your configuration.
>
> I would either go the Option (1) way, having something like this in your
> nrpe.cfg file on the monitored host:
> *command[check_root]=/usr/local/nagios/libexec/check_disk -w 30% -c 15% -p
> /
> **command[check_var]=/usr/local/nagios/libexec/check_disk -w 30% -c 15%**-p 
> /var
> **command[check_server1]=/usr/local/nagios/libexec/check_disk -w 30% -c
> 15%** -p /var/opt/BGw/Server1
> **command[check_ora]=/usr/local/nagios/libexec/check_disk -w 30% -c 15%**-p 
> /var/opt/mediation/ora
> *
>
> , and then having services on the nagios host like this:
>
> *define service{
> use generic-service ; Name of
> service template to use
> host_name   emm4
> service_description Root Partition
> check_command   check_nrpe!check_root
> }*
>
> Alternatively, for the Option (2) method, on the monitored host, in
> nrpe.cfg:
>
> *command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c
> $ARG2$ -p $ARG3$*
>
> , and a service example on the nagios host:
>
> *define service{
> use generic-service ; Name of
> service template to use
> host_name   emm4
> service_description Root Partition
> check_command   check_nrpe!check_disk!30!15!/
> }*
>
> I may not have the syntax in the 'check_command' of that last service
> exactly right, but that's the general idea.
>
> To go down the Option 2 road, you have to have configured the NRPE daemon
> on the monitored host with '--enable-command-args', and have to have a line
> in your nrpe.cfg file that says 'dont_blame_nrpe=1'. This is because
> allowing command arguments in this fashion can be a security risk. The
> default nrpe.cfg file has some comments that refer to this.
>
> HTH,
> Guy.
>
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge_

Re: [Nagios-users] Active host check scheduling in a distributed environment

2009-07-15 Thread Paul Corcoran
2009/7/14 Marc Powell 

>
> On Jul 14, 2009, at 9:46 AM, Paul Corcoran wrote:
>
> > HI,
> >
> > I run a distributed Nagios environment consisting of 1 parent server
> > and 2 child servers.
> >
> > The child servers perform all the service checking while the parent
> > server should be performing active service checks.
>
> Both the child server and the central server are performing active
> service checks?
>

Only the child servers are performing active service checks. The parent
server will check services only after the freshness threshold of 15 minutes
has passed


>
>
> > The host definitions are configured to perform host checks every 5
> > minutes. The retry interval is 1 minute and the max attempts is set
> > to 5.
>
> On both or are you submitting passive host checks or are you expecting
> the central machine to initiate it's own active checks of hosts?


At the moment I'm expecting the parent server to perform it's own active
host checks


>
>
> > We are monitoring 580 hosts and approx 4000 services.
> >
> > I noticed when a host down was detected the parent server did not
> > perform any retries of the host. This led to the status of the host
> > being stuck in a SOFT state and therefore no alerts were sent out as
> > required. I noticed that the child server performed the host checks
> > without any problem and the host was logged as being in a HARD down
> > state after 5 failed attempts.
>
> I'm not sure what configuration you could have that would lead to
> this. Can you post the host{} definition and any relevant log entries?
> Are you only sending a single passive host result and have
> 'passive_host_checks_are_soft' set in nagios.cfg?


define host{
host_name   test_www01
alias   test www01 Server
address x.x.x.x
check_command   check-host-alive
check_interval  5
retry_interval  1
max_check_attempts  5
check_period24x7
notification_interval   60
notification_period 24x7
notification_optionsd,u,r
contact_groups  ops
}

If this host goes down the parent server notices this and records a soft
state. There was nothing in the logs indicating any retries. The child
server did the requisite recheck at the appropriate intervals and flagged
the state as HARD after the 5th failure.


>
>
> > Is there a specific variable in nagios.cfg that explicitly tells the
> > server to perform active checks?
>
> There are a few --
>- in nagios.cfg - execute_host_checks=<0/1>
>- in your host definition - active_checks_enabled [0/1], an
> appropriate check_period, check_interval and retry_interval set and an
> appropriate check_command set.


execute_host_checks=1 is in the nagios.cfg file.

>
>
> > Is it best practice to have the 2 child servers perform passive host
> > checks?
>
> I have no opinion on this other that to say that if you trust the
> remote nagios' to correctly report on services, they can usually be
> trusted to correctly report on hosts.
>
> > Is it possible that processing all the passive service check info is
> > causing the parent server to lag behind in it's own process queue?
>
> Not likely, IMHO, assuming you're using somewhat modern hardware. You
> can see for sure under Performance Info though. Look for high
> latencies (minutes)... This is a measure of how long after a check was
> scheduled to run that it actually it ran.


The average latency at the moment for active hosts checks is 145645 seconds.
This seems very excessive and there would appear to be a bottleneck
somewhere that's causing this.

I think I'll probably have to go with passive hosts checks at this stage but
it would be nice to know why this situation is occurring.

Thanks,

Paul


>
>
> --
> Marc
>
>
>
> --
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> ___
> 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
>
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___

Re: [Nagios-users] Monitoring disk usage

2009-07-15 Thread Guy Waugh
Hi Juki,

On Wed, Jul 15, 2009 at 10:24 AM, Juki  wrote:

> Hi Guy,
>
> Many thanks for your post.
>
> I decided to go with Option (1) as per your description and did the
> following in the nrpe.cfg file on the monitored host:
>
> command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /
> command[check_var]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
> /var
> command[check_server1]=/usr/local/nagios/libexec/check_disk -w 30% -c 20%
> -p /var/opt/BGw/Server1
> command[check_ora]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
> /var/opt/mediation/ora


Looks good, except the first one... call it 'check_root' like this:

command[check_root]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /


>
>
>
> And then on the nagios monitoring server I have this:
>
> define service{
> use generic-service ; Name of
> service template to use
> host_name   emm4
> service_description Root Partition
> check_command   check_nrpe!check_disk!15%!10%!
> }
>
> define service{
> use generic-service ; Name of
> service template to use
> host_name   emm4
> service_description var Partition
> check_command   check_nrpe!check_var!30%!20%!
> }
>
> define service{
> use generic-service ; Name of
> service template to use
> host_name   emm4
> service_description server1 Partition
> check_command   check_nrpe!check_server1!30%!20%!
> }
>
> define service{
> use generic-service ; Name of
> service template to use
> host_name   emm4
> service_description ora Partition
> check_command   check_nrpe!check_ora!30%!20%!
> }


You're still half way between the two approaches with your service
definitions, because you're passing arguments :-)

Try this instead:

define service{
use generic-service ; Name of
service template to use
host_name   emm4
service_description Root Partition
check_command   check_nrpe!check_root
}

define service{
use generic-service ; Name of
service template to use
host_name   emm4
service_description var Partition
check_command   check_nrpe!check_var
}

define service{
use generic-service ; Name of
service template to use
host_name   emm4
service_description server1 Partition
check_command   check_nrpe!check_server1
}

define service{
use generic-service ; Name of
service template to use
host_name   emm4
service_description ora Partition
check_command   check_nrpe!check_ora
}

>
>
>
> When I log into the nagios Web GUI, the services for the ora, server1 and
> var partition have been successfully created. However, looking at the
> "status information" column, I have the following errors:
>
> "NRPE: Command 'check_ora' not defined"
> "NRPE: Command 'check_server1' not defined"
> "NRPE: Command 'check_var' not defined"


Try my changes suggested above and see if these errors persist. They might
be happening because you're passing arguments to the remote NRPE daemon, I'm
not sure...

Regards,
Guy.


>
>
> This indicates that I need to explicitly define 'check_ora',
> 'check_server1' and 'check_var' elsewhere. So, where else must I define
> these services so as to clear out the errors above?
>
> Thanks in advance!
>
>
>
>
>
>
> 2009/7/15 Guy Waugh 
>
>> Hi Juki,
>>
>> As I understand it, you can either (1) 'hard-code' your NRPE checks in the
>> nrpe.cfg file on the monitored host (so that the checks are explicitly
>> defined), or (2) set up NRPE on the monitored host in such a way that you
>> can pass arguments in your NRPE checks. It looks like you're landing
>> somewhere between the two with your configuration.
>>
>> I would either go the Option (1) way, having something like this in your
>> nrpe.cfg file on the monitored host:
>> *command[check_root]=/usr/local/nagios/libexec/check_disk -w 30% -c 15%
>> -p /
>> **command[check_var]=/usr/local/nagios/libexec/check_disk -w 30% -c 15%**-p 
>> /var
>> **command[check_server1]=/usr/local/nagios/libexec/check_disk -w 30% -c
>> 15%** -p /var/opt/BGw/Server1
>> **command[check_ora]=/usr/local/nagios/libexec/check_disk -w 30% -c 15%**-p 
>> /var/opt/mediation/ora
>> *

Re: [Nagios-users] Graphing data

2009-07-15 Thread Paul Weaver
> I want to use graphing on my nagios instances, and I was wondering, 
> will it only graph new data from the point of installation onwards, 
> or will it graph history data from the nagios logs? 

Depends what data you're talking about. Nagios doesn't really do graphs 
(aside from the "trends" graphs). Many installations will pass the
output 
from a nagios plugin into another program, nagiosgrapher for example, or

cacti I believe, which will graph it.

Nagios only logs the states, and the last output on a state change (or 
restart, or log rotation). If you install something like nagiosgrapher, 
it will start logging from the moment it's turned on, but wont have 
historical data.

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on 
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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-snmp

2009-07-15 Thread SYS ADMIN
OK,
I haven't been able to figure out how to reply to a single user on this
list, so I am just blasting this email response to everyone.

The short answer is that I downloaded the plugins from the same place I
downloaded the nagios, and installed according to instructions I found
somewhere in a 'quick start' type document. I spent hours researching
and installing all the dependencies this system needed, never saw a
single complaint while compiling, except something about Mysql.

Yesterday I finally ran across a post, and they suggested a simple
install of nagios plugins from the Debian Lenny system itself (apt-get
install nagios-plugins).
Low and behold it worked! It installed an older version, and put it in a
different location, but I pulled a copy to the correct folder, and I now
have check-snmp installed where it should be. 
It fixed several "127 response errors".

Thanks for everyone's help on this issue.


"Psa 122:6  Pray for the peace of Jerusalem: they shall prosper that
love thee."
 
Michael T Gregg
Director of Information Technology
Christian Medical & Dental Associations
P.O. Box 7500   *Bristol, TN 37621
Phone (423)844-1000   *Fax (423)844-1017
sysad...@cmda.org   *   http://www.cmda.org

Protect conscience rights: http://www.Freedom2Care.org/ 

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Monitoring disk usage

2009-07-15 Thread Juki
Hi Guy,

I tried all the changes as per your suggestion, however, I still come up
with the same errors as before, that is;

"NRPE: Command 'check_ora' not defined"
"NRPE: Command 'check_server1' not defined"
"NRPE: Command 'check_var' not defined"


Where else in the configuration files on the monitoring server are commands
defined?


Regards,
Juki




2009/7/15 Guy Waugh 

> Hi Juki,
>
> On Wed, Jul 15, 2009 at 10:24 AM, Juki  wrote:
>
>> Hi Guy,
>>
>> Many thanks for your post.
>>
>> I decided to go with Option (1) as per your description and did the
>> following in the nrpe.cfg file on the monitored host:
>>
>> command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
>> /
>> command[check_var]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
>> /var
>> command[check_server1]=/usr/local/nagios/libexec/check_disk -w 30% -c 20%
>> -p /var/opt/BGw/Server1
>> command[check_ora]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
>> /var/opt/mediation/ora
>
>
> Looks good, except the first one... call it 'check_root' like this:
>
> command[check_root]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /
>
>
>>
>>
>>
>> And then on the nagios monitoring server I have this:
>>
>> define service{
>> use generic-service ; Name of
>> service template to use
>> host_name   emm4
>> service_description Root Partition
>> check_command   check_nrpe!check_disk!15%!10%!
>> }
>>
>> define service{
>> use generic-service ; Name of
>> service template to use
>> host_name   emm4
>> service_description var Partition
>> check_command   check_nrpe!check_var!30%!20%!
>> }
>>
>> define service{
>> use generic-service ; Name of
>> service template to use
>> host_name   emm4
>> service_description server1 Partition
>> check_command   check_nrpe!check_server1!30%!20%!
>> }
>>
>> define service{
>> use generic-service ; Name of
>> service template to use
>> host_name   emm4
>> service_description ora Partition
>> check_command   check_nrpe!check_ora!30%!20%!
>> }
>
>
> You're still half way between the two approaches with your service
> definitions, because you're passing arguments :-)
>
> Try this instead:
>
> define service{
> use generic-service ; Name of
> service template to use
> host_name   emm4
> service_description Root Partition
> check_command   check_nrpe!check_root
> }
>
> define service{
> use generic-service ; Name of
> service template to use
> host_name   emm4
> service_description var Partition
> check_command   check_nrpe!check_var
> }
>
> define service{
> use generic-service ; Name of
> service template to use
> host_name   emm4
> service_description server1 Partition
> check_command   check_nrpe!check_server1
> }
>
> define service{
> use generic-service ; Name of
> service template to use
> host_name   emm4
> service_description ora Partition
> check_command   check_nrpe!check_ora
> }
>
>
>>
>>
>> When I log into the nagios Web GUI, the services for the ora, server1 and
>> var partition have been successfully created. However, looking at the
>> "status information" column, I have the following errors:
>>
>> "NRPE: Command 'check_ora' not defined"
>> "NRPE: Command 'check_server1' not defined"
>> "NRPE: Command 'check_var' not defined"
>>
>
> Try my changes suggested above and see if these errors persist. They might
> be happening because you're passing arguments to the remote NRPE daemon, I'm
> not sure...
>
> Regards,
> Guy.
>
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plug

Re: [Nagios-users] error to access on nagios web

2009-07-15 Thread Marc Powell

On Jul 15, 2009, at 3:48 AM, nadia kheffache wrote:

>
> Hi Guy,
>
> it work's! thank you, i have juste do this:
> cp /usr/local/nagios/share/index.php /usr/local/nagios/share/ 
> index.html

You really should put this back and install PHP. You're just setting  
yourself up for a very hard to troubleshoot problem when the real PHP  
based front-end is released.

--
Marc


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Monitoring disk usage

2009-07-15 Thread Marc Powell

On Jul 15, 2009, at 6:46 AM, Juki wrote:

> Hi Guy,
>
> I tried all the changes as per your suggestion, however, I still  
> come up with the same errors as before, that is;
>
> "NRPE: Command 'check_ora' not defined"
> "NRPE: Command 'check_server1' not defined"
> "NRPE: Command 'check_var' not defined"
>
>
> Where else in the configuration files on the monitoring server are  
> commands defined?

You're editing the correct nrpe.cfg, on the host emm4 and restarting  
NRPE on emm4 after doing so? It would appear that you are not. Has  
that been your problem the whole time?

--
Marc

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Hostgtroup question

2009-07-15 Thread Dale J. Chatham
Apologies.  3.something...

I can include hostgroups in another hostgroup, I just cannot disinclude 
them with a "!", or so it would seem.

As a future feature request, I have two suggestions.

First, is the disinclusion of hostgroups from another hostgroup.  This 
is already done in service definitions, so the code already must exist.

The other is the ability to have empty hostgroups without complaint, 
perhaps without warning.  It allows for planning ahead and completion of 
concepts.

Thanks,

  Dale


Morris, Patrick wrote:
> On Tue, 14 Jul 2009, Mark Gius wrote:
>
>   
>> Morris, Patrick wrote:
>>
>> Hi Dale!
>>
>> On Tue, 14 Jul 2009, Dale J. Chatham wrote:
>>
>>
>>
>> I don't seem to be able to do this:
>>
>> # vim:ts=4:ai:expandtabs
>> #
>> #
>> define hostgroup {
>>  hostgroup_nameall-hst
>>  alias all-hst
>>  members   *
>> }
>>
>> # vim:ts=4:ai:expandtabs
>> #
>> #
>> define hostgroup {
>>  hostgroup_namebasic_svc_snmp-svc
>>  alias basic_svc_snmp-svc
>>  hostgroup_members all-hst,!basic_svc_ns-svc
>> }
>>
>> If it is not possible at this point, I'd like to suggest it as a
>> somewhat obvious extension to hostgroup definitions.
>>
>>
>>
>> It's not possible now -- members of hostgroups need to be hosts, and
>> can't be other hostgroups.
>>
>>
>> According to 
>> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup, you 
>> can have "sub" hostgroups.  So in theory he should be able to specify a 
>> hostgroup that contains every host, subtracting another group.
>> 
>
> Well, I just learned something. That definitely isn't doable in Nagios
> 2.x (you didn't mention which version you were using, so I was going
> based on what was in front of me at the time).
>   


-- 
Dale J. Chatham
d...@chatham.org

 _.oo.
 _.u[[/;:,. .odMM'
  .o888UU[[[/;:-.  @p^MMM^
 oN8UU[[[/;::-.dP^
dNMMNN888UU[[[/;:--.   @p^
   ,MMN888UU[[/;::-. o...@^
   NNMMMNN888UU[[[/~...@p^
   8UU[[[/o...@^-..
  oIUU[[[/o...@p^:--..
   @^  YUU[[[/o...@^;::---..
 oMP ^/o...@p^;:::---..
  .dMMM@^ ^;::---...
 d...@^`   `
YMMMUP^
 ^^


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Monitoring disk usage

2009-07-15 Thread Guy Waugh
Hi Juki,

On Wed, Jul 15, 2009 at 12:46 PM, Juki  wrote:

> Hi Guy,
>
> I tried all the changes as per your suggestion, however, I still come up
> with the same errors as before, that is;
>
> "NRPE: Command 'check_ora' not defined"
> "NRPE: Command 'check_server1' not defined"
> "NRPE: Command 'check_var' not defined"
>
>
> Where else in the configuration files on the monitoring server are commands
> defined?
>

They should only be defined in one place. From those errors, it sounds like
NRPE on the monitored host doesn't have those commands defined, which
suggests that it's not reading your nrpe.cfg config file. I would check out
NRPE on the monitored host... do any checks on that host work at all? Is the
nrpe.cfg file in /usr/local/nagios/etc? Is either the NRPE daemon running or
xinetd is handling the NRPE connections? Is the host listening on port 5666?
Are the permissions on the nrpe.cfg file correct? What happens when you run
an NRPE service check for that host manually, from the nagios server?

If none of that give you any joy, post the nrpe.cfg file to this list if you
like, suitably obfuscated of course.

Regards,
Guy.


>
>
>
> Regards,
> Juki
>
>
>
>
> 2009/7/15 Guy Waugh 
>
>> Hi Juki,
>>
>> On Wed, Jul 15, 2009 at 10:24 AM, Juki  wrote:
>>
>>> Hi Guy,
>>>
>>> Many thanks for your post.
>>>
>>> I decided to go with Option (1) as per your description and did the
>>> following in the nrpe.cfg file on the monitored host:
>>>
>>> command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
>>> /
>>> command[check_var]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
>>> /var
>>> command[check_server1]=/usr/local/nagios/libexec/check_disk -w 30% -c 20%
>>> -p /var/opt/BGw/Server1
>>> command[check_ora]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
>>> /var/opt/mediation/ora
>>
>>
>> Looks good, except the first one... call it 'check_root' like this:
>>
>> command[check_root]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
>> /
>>
>>
>>>
>>>
>>>
>>> And then on the nagios monitoring server I have this:
>>>
>>> define service{
>>> use generic-service ; Name of
>>> service template to use
>>> host_name   emm4
>>> service_description Root Partition
>>> check_command   check_nrpe!check_disk!15%!10%!
>>> }
>>>
>>> define service{
>>> use generic-service ; Name of
>>> service template to use
>>> host_name   emm4
>>> service_description var Partition
>>> check_command   check_nrpe!check_var!30%!20%!
>>> }
>>>
>>> define service{
>>> use generic-service ; Name of
>>> service template to use
>>> host_name   emm4
>>> service_description server1 Partition
>>> check_command   check_nrpe!check_server1!30%!20%!
>>> }
>>>
>>> define service{
>>> use generic-service ; Name of
>>> service template to use
>>> host_name   emm4
>>> service_description ora Partition
>>> check_command   check_nrpe!check_ora!30%!20%!
>>> }
>>
>>
>> You're still half way between the two approaches with your service
>> definitions, because you're passing arguments :-)
>>
>> Try this instead:
>>
>> define service{
>> use generic-service ; Name of
>> service template to use
>> host_name   emm4
>> service_description Root Partition
>> check_command   check_nrpe!check_root
>> }
>>
>> define service{
>> use generic-service ; Name of
>> service template to use
>> host_name   emm4
>> service_description var Partition
>> check_command   check_nrpe!check_var
>> }
>>
>> define service{
>> use generic-service ; Name of
>> service template to use
>> host_name   emm4
>> service_description server1 Partition
>> check_command   check_nrpe!check_server1
>> }
>>
>> define service{
>> use generic-service ; Name of
>> service template to use
>> host_name   emm4
>> service_description ora Partition
>> check_command   check_nrpe!check_ora
>> }
>>
>>
>>>
>>>
>>>  When I log into the nagios Web GUI, the services for the ora, server1
>>> and var partition have been successfully created. However, looking at the
>>> "status information" column, I have the followin

Re: [Nagios-users] Hostgtroup question

2009-07-15 Thread Dale J. Chatham
bingo!  That seems to be the way it works.  I would have hoped that 
anything that could have hostgtroup_members would act the same way and 
use the same code.  Perhaps an oversight easily handled?

I *CAN* use a template and include it in service/serviceescalation  
definitions that does essentially the same thing, but I'd rather not 
have a superfluous link to a definition that really shouldn't be needed.

Mark Gius wrote:
> Marc Powell wrote:
>>
> This syntax works for me in service escalations (service and host 
> groups), as well as service definitions.  I've not tried it in 
> hostgroups however.  The behavior is sort of defined here 
> (http://nagios.sourceforge.net/docs/3_0/objecttricks.html).
>
> define serviceescalation {
> name   escalation
> register0
>
> servicegroup_name   *,!notify-web
> escalation_period   24x7
> escalation_options  c,u,r
> }
>
>
> -Gius
> 
>
> --
> Enter the BlackBerry Developer Challenge  
> This is your chance to win up to $100,000 in prizes! For a limited time, 
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize  
> details at: http://p.sf.net/sfu/Challenge
> 
>
> ___
> 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


-- 
Dale J. Chatham
d...@chatham.org

 _.oo.
 _.u[[/;:,. .odMM'
  .o888UU[[[/;:-.  @p^MMM^
 oN8UU[[[/;::-.dP^
dNMMNN888UU[[[/;:--.   @p^
   ,MMN888UU[[/;::-. o...@^
   NNMMMNN888UU[[[/~...@p^
   8UU[[[/o...@^-..
  oIUU[[[/o...@p^:--..
   @^  YUU[[[/o...@^;::---..
 oMP ^/o...@p^;:::---..
  .dMMM@^ ^;::---...
 d...@^`   `
YMMMUP^
 ^^


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Hostgtroup question

2009-07-15 Thread Dale J. Chatham
Thanks for verifying.  It seems both a logical and an easy thing to do, 
given it is done in service and serviceescalation definitions.

Is this a sufficient place to bring this to light?

Thanks,

  Dale


Max wrote:
> On Tue, Jul 14, 2009 at 5:33 PM, Marc Powell wrote:
>   
>> "Regular expressions can be used in any of the fields used in the
>> examples below (host names, hostgroup names, service names, and
>> servicegroup names)".
>>
>> note that 'hostgroup_members names' is not specifically mentioned.
>>
>> Diving into the code, this appears to be handled around line 9154
>> (both above and below) of xodtemplate.c. I don't see any tests for
>> regexp_matches so I'm about 80% confident this just doesn't work for
>> hostgroup_members. My code reading-fu may be weak though. I am
>> assuming that the OP did have regexp matching enabled when testing.
>> 
>
> Tested this to verify it, and you and Dale are correct, the parser
> does not understand '!' as a subtractive prefix for a group name in
> the hostgroup_members attribute of a hostgroup definition.
>
> - Max
>
> --
> Enter the BlackBerry Developer Challenge  
> This is your chance to win up to $100,000 in prizes! For a limited time, 
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize  
> details at: http://p.sf.net/sfu/Challenge
> ___
> 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
>   


-- 
Dale J. Chatham
d...@chatham.org

 _.oo.
 _.u[[/;:,. .odMM'
  .o888UU[[[/;:-.  @p^MMM^
 oN8UU[[[/;::-.dP^
dNMMNN888UU[[[/;:--.   @p^
   ,MMN888UU[[/;::-. o...@^
   NNMMMNN888UU[[[/~...@p^
   8UU[[[/o...@^-..
  oIUU[[[/o...@p^:--..
   @^  YUU[[[/o...@^;::---..
 oMP ^/o...@p^;:::---..
  .dMMM@^ ^;::---...
 d...@^`   `
YMMMUP^
 ^^


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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 & mail

2009-07-15 Thread Natalie Aloi

can anyone help me with this information? I really don't know anything about 
sendmail or mail in linux..do I need to set that up in order for nagios to be 
able to generate mail messages from nagios? So I see my connection is being 
refused by my local machine...but not sure what to do with this information.

Thanks again...

[r...@dns bin]# telnet 205.178.146.50 25
Trying 205.178.146.50...
Connected to 205.178.146.50.
Escape character is '^]'.
220 
helo
250 mail.networksolutionsemail.com
quit
221 mail.networksolutionsemail.com
Connection closed by foreign host.

[r...@dns bin]# tail -f /var/log/maillog
Jul 14 15:08:30 dns sendmail[29064]: n6EJ8KGo029064: 
to=na...@experisdatacenters.com, ctladdr=nagios (495/491), delay=00:00:10, 
xdelay=00:00:00, mailer=relay, pri=30381, relay=[127.0.0.1] [127.0.0.1], 
dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Jul 14 15:13:06 dns sendmail[29577]: n6EJCpq4029577: from=nagios, size=0, 
class=0, nrcpts=0, relay=nag...@localhost

Network Operations Center Manager
Experis Data Center LLC
8209 Valley Pike
PO Box 535
Middletown,VA 22645
phone:540-869-8702
cell:240-988-3267
fax:540-869-8710
e-mail:na...@experisdatacenters.com

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
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] Monitoring disk usage

2009-07-15 Thread Juki
Hi Guy,

My findings in-line...


2009/7/15 Guy Waugh 

> They should only be defined in one place. From those errors, it sounds like
> NRPE on the monitored host doesn't have those commands defined, which
> suggests that it's not reading your nrpe.cfg config file. I would check out
> NRPE on the monitored host... do any checks on that host work at all?
>


Yes, indeed the checks do work. These have been run on the monitored host.
See below;

*bash$ /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
/var/opt/BGw/Server1
DISK OK - free space: /var/opt/BGw/Server1 35606 MB (68% inode=97%);|
/var/opt/BGw/Server1=16589MB;37990;43417;0;54272

bash$ /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
/var/opt/BGw/Server1
DISK OK - free space: /var/opt/BGw/Server1 35614 MB (68% inode=97%);|
/var/opt/BGw/Server1=16581MB;37990;43417;0;54272*



> Is the nrpe.cfg file in /usr/local/nagios/etc? Is either the NRPE daemon
> running or xinetd is handling the NRPE connections? Is the host listening on
> port 5666? Are the permissions on the nrpe.cfg file correct? What happens
> when you run an NRPE service check for that host manually, from the nagios
> server?
>

Yes, the nrpe.cfg file is in /usr/local/nagios/etc with permissions;

*bash$ ls -l /usr/local/nagios/etc/
total 32
-rw-r--r--   1 nagios   nagios  7871 Jul 15 14:21 nrpe.cfg*

The NRPE daemon is running on the pid...

*bash$ ps -ef | grep nrpe
  root 25866 14582   0 16:01:25 pts/4   0:00 grep nrpe
  nagios  1640 1   0   Jan 09 ?  49:38
/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d
  nagios  9702 1   0   Jul 09 ?   1:27
/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d*

And listening on

*bash$ netstat -a | grep nrpe
emm4.nrpe  *.*0  0 49152  0 LISTEN
  *.nrpe   *.*0  0 49152  0
LISTEN
localhost.nrpe  *.* 0  0 49152  0 LISTEN
*

On running a telnet (on port 5666) to the monitored host from the nagios
monitoring server, I get;

*relay$ telnet 10.0.0.5 5666
Trying 10.0.0.5...
Connected to 10.0.0.5.
Escape character is '^]'.*

When I run an NRPE service check for the monitored host manually from the
nagios server, I get;

*relay$ /usr/local/nagios/libexec/check_nrpe -H 10.0.0.5 -p 5666 -c
check_disk /var/opt/mediation/ora
DISK OK - free space: / 22848 MB (37% inode=23%);|
/=37500MB;54862;57910;0;60958 1491*

This shows that the check_nrpe command is retrieving the details for the
root (/) partition and NOT those of the /var/opt/mediation/ora partition



> If none of that give you any joy, post the nrpe.cfg file to this list if
> you like, suitably obfuscated of course.
>



A copy of the nrpe.cfg file as follows;


*bash$ more nrpe.cfg
#
# Sample NRPE Config File
# Written by: Ethan Galstad (nag...@nagios.org)
#
# Last Modified: 11-23-2007
#
# NOTES:
# This is a sample configuration file for the NRPE daemon.  It needs to be
# located on the remote host that is running the NRPE daemon, not the host
# from which the check_nrpe client is being executed.
#


# LOG FACILITY
# The syslog facility that should be used for logging purposes.

log_facility=daemon


# PID FILE
# The name of the file in which the NRPE daemon should write it's process ID
# number.  The file is only written if the NRPE daemon is started by the
root
# user and is running in standalone mode.

pid_file=/var/run/nrpe.pid


# PORT NUMBER
# Port number we should wait for connections on.
# NOTE: This must be a non-priviledged port (i.e. > 1024).
# NOTE: This option is ignored if NRPE is running under either inetd or
xinetd

server_port=5666



# SERVER ADDRESS
# Address that nrpe should bind to in case there are more than one interface
# and you do not want nrpe to bind on all interfaces.
# NOTE: This option is ignored if NRPE is running under either inetd or
xinetd

#server_address=127.0.0.1

# NRPE USER
# This determines the effective user that the NRPE daemon should run as.
# You can either supply a username or a UID.
#
# NOTE: This option is ignored if NRPE is running under either inetd or
xinetd
#server_address=127.0.0.1


# NRPE USER
# This determines the effective user that the NRPE daemon should run as.
# You can either supply a username or a UID.
#
# NOTE: This option is ignored if NRPE is running under either inetd or
xinetd

nrpe_user=nagios

# NRPE GROUP
# This determines the effective group that the NRPE daemon should run as.
# You can either supply a group name or a GID.
#
# NOTE: This option is ignored if NRPE is running under either inetd or
xinetd

nrpe_group=nagios

# ALLOWED HOST ADDRESSES
# This is an optional comma-delimited list of IP address or hostnames
# that are allowed to talk to the NRPE daemon.
#
# Note: The daemon only does rudimenta

[Nagios-users] RES: nagios & mail

2009-07-15 Thread Guilherme Drago
You have permission to make relay on this Server?

The sendmail service is started?

ConStat ::: Comprometimento Gerando resultados desde 1991
Guilherme Drago - Vistor
Zend PHP 5 Certified Engineer
(51) 30256681
 http://www.constat.com.br/> www.constat.com.br /
http://www.qualitor.com.br/> www.qualitor.com.br
Dúvidas, sugestões, reclamações:  
qualid...@constat.com.br 
::: Preserve o ambiente. Imprima este email somente se for necessário :::

  _  

De: Natalie Aloi [mailto:na...@experisdatacenters.com] 
Enviada em: quarta-feira, 15 de julho de 2009 09:57
Para: Nagios Users Mail-list
Assunto: [Nagios-users] nagios & mail

 

can anyone help me with this information? I really don't know anything about
sendmail or mail in linux..do I need to set that up in order for nagios to
be able to generate mail messages from nagios? So I see my connection is
being refused by my local machine...but not sure what to do with this
information.

 

Thanks again...
 

 

[r...@dns bin]# telnet 205.178.146.50 25
Trying 205.178.146.50...
Connected to 205.178.146.50.
Escape character is '^]'.
220 
helo
250 mail.networksolutionsemail.com
quit
221 mail.networksolutionsemail.com
Connection closed by foreign host.

[r...@dns bin]# tail -f /var/log/maillog
Jul 14 15:08:30 dns sendmail[29064]: n6EJ8KGo029064:
to=na...@experisdatacenters.com, ctladdr=nagios (495/491), delay=00:00:10,
xdelay=00:00:00, mailer=relay, pri=30381, relay=[127.0.0.1] [127.0.0.1],
dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Jul 14 15:13:06 dns sendmail[29577]: n6EJCpq4029577: from=nagios, size=0,
class=0, nrcpts=0, relay=nag...@localhost

 

Network Operations Center Manager 
Experis Data Center LLC 
8209 Valley Pike 
PO Box 535 
Middletown,VA 22645 
phone:540-869-8702 
cell:240-988-3267 
fax:540-869-8710 
e-mail:na...@experisdatacenters.com

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
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] Masterless distributed nagios

2009-07-15 Thread Kelly Jones
All the docs I've read on distributed nagios require a "master" server
as well as "slaves".

Can I do distributed nagios w/o a master server?

I have a redundant cluster of VPSs and want them to monitor each other
w/o a single point of failure.

I've got some ideas re how to do this, but didn't want to re-invent the wheel.

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Monitoring disk usage

2009-07-15 Thread Guy Waugh
Hi Juki,

On Wed, Jul 15, 2009 at 2:14 PM, Juki  wrote:

> Hi Guy,
>
> My findings in-line...
>
>
> 2009/7/15 Guy Waugh 
>
>> They should only be defined in one place. From those errors, it sounds
>> like NRPE on the monitored host doesn't have those commands defined, which
>> suggests that it's not reading your nrpe.cfg config file. I would check out
>> NRPE on the monitored host... do any checks on that host work at all?
>>
>
>
> Yes, indeed the checks do work. These have been run on the monitored host.
> See below;
>
> *bash$ /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
> /var/opt/BGw/Server1
> DISK OK - free space: /var/opt/BGw/Server1 35606 MB (68% inode=97%);|
> /var/opt/BGw/Server1=16589MB;37990;43417;0;54272
>
> bash$ /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
> /var/opt/BGw/Server1
> DISK OK - free space: /var/opt/BGw/Server1 35614 MB (68% inode=97%);|
> /var/opt/BGw/Server1=16581MB;37990;43417;0;54272*
>

OK, so they look like checks run from the monitored host itself, right?


> **
>
>
>
>> Is the nrpe.cfg file in /usr/local/nagios/etc? Is either the NRPE daemon
>> running or xinetd is handling the NRPE connections? Is the host listening on
>> port 5666? Are the permissions on the nrpe.cfg file correct? What happens
>> when you run an NRPE service check for that host manually, from the nagios
>> server?
>>
>
> Yes, the nrpe.cfg file is in /usr/local/nagios/etc with permissions;
>
> *bash$ ls -l /usr/local/nagios/etc/
> total 32
> -rw-r--r--   1 nagios   nagios  7871 Jul 15 14:21 nrpe.cfg*
>
> The NRPE daemon is running on the pid...
>
> *bash$ ps -ef | grep nrpe
>   root 25866 14582   0 16:01:25 pts/4   0:00 grep nrpe
>   nagios  1640 1   0   Jan 09 ?  49:38
> /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d
>   nagios  9702 1   0   Jul 09 ?   1:27
> /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d*
>

Eek! How come there are two??? There should only be one nrpe daemon running.
You can see that the first one has been running since January. Kill them
both, with extreme prejudice, restart it and verify that there's only one
copy of the nrpe daemon running. This will probably solve your problem.

Regards,
Guy.


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
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 and Microsoft CRM

2009-07-15 Thread Marco Borsani
Hi all 

 

Have you ever developed a monitoring environment for CRM ?

Is there anything usefull in Nagios ?

 

Thanks 

Marco

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
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] Hostgtroup question

2009-07-15 Thread Marc Powell

On Jul 15, 2009, at 7:21 AM, Dale J. Chatham wrote:

> Apologies.  3.something...
>
> I can include hostgroups in another hostgroup, I just cannot  
> disinclude
> them with a "!", or so it would seem.
>
> As a future feature request, I have two suggestions.
>
> First, is the disinclusion of hostgroups from another hostgroup.  This
> is already done in service definitions, so the code already must  
> exist.
>
> The other is the ability to have empty hostgroups without complaint,
> perhaps without warning.  It allows for planning ahead and  
> completion of
> concepts.

The developers don't pay attention to this list (except one typically,  
but don't count on him seeing it). Your requests should either be sent  
to nagios-devel or http://tracker.nagios.org.

--
Marc


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Monitoring disk usage

2009-07-15 Thread Juki
Hi Guy,


2009/7/15 Guy Waugh 

> Yes, indeed the checks do work. These have been run on the monitored host.
>> See below;
>>
>> *bash$ /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
>> /var/opt/BGw/Server1
>> DISK OK - free space: /var/opt/BGw/Server1 35606 MB (68% inode=97%);|
>> /var/opt/BGw/Server1=16589MB;37990;43417;0;54272
>>
>> bash$ /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
>> /var/opt/BGw/Server1
>> DISK OK - free space: /var/opt/BGw/Server1 35614 MB (68% inode=97%);|
>> /var/opt/BGw/Server1=16581MB;37990;43417;0;54272*
>>
>
> OK, so they look like checks run from the monitored host itself, right?
>


Yes, indeed.



>
> Eek! How come there are two??? There should only be one nrpe daemon
> running. You can see that the first one has been running since January. Kill
> them both, with extreme prejudice, restart it and verify that there's only
> one copy of the nrpe daemon running. This will probably solve your problem.
>


I have killed them both, however, I can't seem to get the nrpe daemon
running again on the monitored host (the OS is Soalris 10) . This is what I
executed;

*bash$ svcadm enable nrpe
bash$/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d*


Then to verify...

*bash-3.00# svcs | grep nrpe
legacy_run Jan_09   lrc:/etc/rc3_d/S60nrpe
online 16:39:40 svc:/network/nrpe/tcp:default
maintenance16:41:16 svc:/application/management/nagios/nrpe:default*

And more verification...

*bash-3.00# netstat -a | grep 5666*


The netstat command above didn't return any output. So this means the NRPE
daemon is either not running or not listening on port 5666.

Am I doing the NRPE start up the right way? Are there other ways to start
NRPE daemon on Solaris 10?


Regards,
Juki
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
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] Masterless distributed nagios

2009-07-15 Thread Marc Powell

On Jul 15, 2009, at 8:22 AM, Kelly Jones wrote:

> All the docs I've read on distributed nagios require a "master" server
> as well as "slaves".

This is typically just to centralize the display and alerting of those  
slaves. If you don't want to do that, you don't need to.

> Can I do distributed nagios w/o a master server?

Sure. Wouldn't they just be multiple independent installs of nagios  
that happen to monitor common resources though?

> I've got some ideas re how to do this, but didn't want to re-invent  
> the wheel.

Perhaps you can expand on this to be clearer about what you're trying  
to accomplish and how you expect nagios to fit into that.

--
Marc


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Monitoring disk usage

2009-07-15 Thread Guy Waugh
Hi Juki,

I'm not a Solaris 10 expert, but... do you have two versions of NRPE
configured, one through 'lrc' and one through 'svc'? I don't know what the
'maintenance' entry means, but it doesn't look happy.

Any Solaris 10 people out there?

Cheers,
Guy.

On Wed, Jul 15, 2009 at 3:09 PM, Juki  wrote:

> Hi Guy,
>
>
> 2009/7/15 Guy Waugh 
>
>> Yes, indeed the checks do work. These have been run on the monitored host.
>>> See below;
>>>
>>> *bash$ /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
>>> /var/opt/BGw/Server1
>>> DISK OK - free space: /var/opt/BGw/Server1 35606 MB (68% inode=97%);|
>>> /var/opt/BGw/Server1=16589MB;37990;43417;0;54272
>>>
>>> bash$ /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p
>>> /var/opt/BGw/Server1
>>> DISK OK - free space: /var/opt/BGw/Server1 35614 MB (68% inode=97%);|
>>> /var/opt/BGw/Server1=16581MB;37990;43417;0;54272*
>>>
>>
>> OK, so they look like checks run from the monitored host itself, right?
>>
>
>
> Yes, indeed.
>
>
>
>>
>> Eek! How come there are two??? There should only be one nrpe daemon
>> running. You can see that the first one has been running since January. Kill
>> them both, with extreme prejudice, restart it and verify that there's only
>> one copy of the nrpe daemon running. This will probably solve your problem.
>>
>
>
> I have killed them both, however, I can't seem to get the nrpe daemon
> running again on the monitored host (the OS is Soalris 10) . This is what I
> executed;
>
> *bash$ svcadm enable nrpe
> bash$/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d*
>
>
> Then to verify...
>
> *bash-3.00# svcs | grep nrpe
> legacy_run Jan_09   lrc:/etc/rc3_d/S60nrpe
> online 16:39:40 svc:/network/nrpe/tcp:default
> maintenance16:41:16 svc:/application/management/nagios/nrpe:default*
>
> And more verification...
>
> *bash-3.00# netstat -a | grep 5666*
>
>
> The netstat command above didn't return any output. So this means the NRPE
> daemon is either not running or not listening on port 5666.
>
> Am I doing the NRPE start up the right way? Are there other ways to start
> NRPE daemon on Solaris 10?
>
>
> Regards,
> Juki
>
>
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
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] Monitoring disk usage

2009-07-15 Thread Marc Powell

On Jul 15, 2009, at 9:16 AM, Guy Waugh wrote:

> bash-3.00# netstat -a | grep 5666
>
>
> The netstat command above didn't return any output. So this means  
> the NRPE daemon is either not running or not listening on port 5666.

Are you sure it's listing port numbers and not symbolic names. Try  
'netstat -an | grep 5666'.

--
Marc


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] nagios & mail

2009-07-15 Thread Marc Powell

On Jul 15, 2009, at 7:57 AM, Natalie Aloi wrote:

> can anyone help me with this information? I really don't know  
> anything about sendmail or mail in linux..do I need to set that up  
> in order for nagios to be able to generate mail messages from nagios?

Yes, or something that does the same thing. You may just need to start  
the sendmail service. Most modern distributions have it installed by  
default and ready to listen for requests from localhost; you may have  
just turned it off. In every case though, if you're going to be  
sending e-mails to a server that is off your network (like  
networksolutionsemail.com), you need to ensure that your nagios server  
follows expected standards for sending e-mail -
- has a valid reverse DNS entry for it's public IP (1.2.3.4 ->  
nagios.your.domain)
- that name you give it resolves back to that same IP  
(nagios.your.domain -> 1.2.3.4)

Nagios itself doesn't send e-mails and depends on an external program  
like sendmail to do so. If you don't want to configure sendmail, there  
are a couple alternatives listed in this FAQ --

http://support.nagios.com/knowledge-base/index.php?option=com_content&view=article&id=52&catid=35&faq_id=150

--
Marc


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Monitoring disk usage

2009-07-15 Thread Juki
Hi Marc,


2009/7/15 Marc Powell 

> Are you sure it's listing port numbers and not symbolic names. Try
> 'netstat -an | grep 5666'.
>
>
*
bash-3.00# netstat -an | grep 5666
  *.5666   *.*0  0 49152  0 LISTEN*


The NRPE daemon still doesn't seem to be running on the monitored host
despite the above output...

*bash-3.00# ps -afe | grep nrpe
root  2110 14582   0 17:37:25 pts/4   0:00 grep nrpe
*

Regards
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
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 host limits

2009-07-15 Thread Conor Shovlin
Hi,

We have an installation of Nagios with 226 hosts. If we try and add another 
host then we are unable restart Nagios service and we get a CONFIG error

Does anyone know if there any limitations on Nagios with this?

Nagios installation:Nagios 3.0.6
OS: Fedora 9

Thanks



Any views given in this message are the sender's own, and do not represent the 
views of IT Force except where the sender specifically states them to be the 
views of IT Force. This e-mail should only be read by those persons to whom it 
is addressed. Accordingly, we disclaim all responsibility and accept no 
liability (including in negligence) for the consequences of any person other 
than the intended recipients acting, or refraining from acting, on such 
information. If you have received this e-mail in error, please accept our 
apologies and we simply request that you delete this document. If you have 
received Spam that you believe has originated in some way from IT Force, please 
send a complaint including the unsolicited email, to i...@itforce.ie. Any form 
of reproduction, dissemination, copying, disclosure, modification, distribution 
and/or publication of this e-mail is strictly prohibited. IT Force Limited is 
registered in Ireland No. 310902. Registered office, Molyneux House, Bride 
Street, Dublin 8.

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
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] nagios host limits

2009-07-15 Thread Marc Powell

On Jul 15, 2009, at 9:36 AM, Conor Shovlin wrote:

> Hi,
>
> We have an installation of Nagios with 226 hosts. If we try and add  
> another host then we are unable restart Nagios service and we get a  
> CONFIG error
>
> Does anyone know if there any limitations on Nagios with this?

No. Several of us are monitoring (10's of) thousands of hosts and  
services. You certainly have a real configuration error. If you need  
help, post the error and corresponding host and service definitions  
and anything else that might seem relevant based on the error.

--
Marc


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Dynamically generated service checks

2009-07-15 Thread David Rosenstrauch
Matthew Jurgens wrote:
> I do a similar thing where I dynamically change the service check 
> definitions configured into Nagios. You've almost got to this solution 
> but say "and couldn't just ". Not sure why you say that but I'll briefly 
> cover what I did. You will need some programming/scripting.
> 
> First up in the nagios.cfg file configure either a specific 
> configuration file or directory where you will define your dynamic 
> service checks
> eg cfg_dir=/etc/nagios/dynamic_services or
> cfg_file=/etc/nagios/dynamic_services.cfg
> 
> Using a file/directory will be dependent on exactly how you need to 
> generate your checks.
> 
> Then at the point where you know what the service checks will be 
> generate the appropriate nagios config file based on what is in the 
> database into either your single config file or into one file each in 
> the dynamic directory.
> 
> You will then need to reload the nagios config and make sure it syntaxes 
> ok.
> 
> We do this quite sucessfully. When customers add/delete servers we just 
> regenerate the config to match and reload Nagios.


Thanks much for the response Matthew.  Very helpful!

I understand what you're suggesting here.  Sounds like a couple of 
potential issues with it though.  By doing this via regenerating a 
config file, this means that:

1) We would need to manually kick off a "config file regenerate" process 
each time a user adds/changes a tag/file in our system.  It would be 
much better if there were some way to have nagios automatically pick up 
the change without any manual intervention.  (Though I suppose we could 
work around this by using a cron job that runs periodically, checks for 
updates, and then regenerates the config if needed.)

2) If I understand correctly, Nagios loads its config files at startup 
time and does not re-read them after that.  So if I'm regenerating a 
config file, then that means I'd need to restart the Nagios service 
afterwards, which is a bit of an onerous imposition.  And although 
again, I could in theory do this in a cron job, I'm not sure I'm 
comfortable with that.  There's the potential for the Nagios service to 
not start up again successfully, and I don't like taking the risk that 
this dynamic update procedure could potentially bring down the entire 
Nagios system.


H  there's got to be *some* other way to accomplish this, no?

Thanks,

DR

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Dynamically generated service checks

2009-07-15 Thread Marc Powell

On Jul 15, 2009, at 10:19 AM, David Rosenstrauch wrote:

> Matthew Jurgens wrote:

> 2) If I understand correctly, Nagios loads its config files at startup
> time and does not re-read them after that.  So if I'm regenerating a
> config file, then that means I'd need to restart the Nagios service
> afterwards, which is a bit of an onerous imposition.

Using the init script, restart stops and starts the daemon, reload  
sends a HUP signal to the running process to tell it to re-read it's  
config files. The init script verifies config before doing either. You  
could manually HUP the running process if you're sure the config files  
are syntactically correct.

>  And although
> again, I could in theory do this in a cron job, I'm not sure I'm
> comfortable with that.  There's the potential for the Nagios service  
> to
> not start up again successfully, and I don't like taking the risk that
> this dynamic update procedure could potentially bring down the entire
> Nagios system.

I've been doing this exact thing (nagios reload) hourly for several  
years quite successfully. If you wanted to be paranoid about it, you  
could script a run of '/path/to/nagios -v /path/to/nagios.cfg' and  
only reload if that exits 0 else send yourself an e-mail with the bad  
output.

--
Marc

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Freshness Checks

2009-07-15 Thread Joseph L. Casale
I setup a check for a few very large backup jobs. This works as expected.
If I feel like looking, I see a WARNING State when the nsca client starts
the job at 19:00, the freshness check at 19:10 passes if the job actually
did start. No notifications go out...

I then schedule a check at 23:30 to look for an updated status which would
be SUCCESSFUL if the backup job finished or CRITICAL if it knows it failed,
or if it tanks and doesn't even update, the freshness interval is just short
of the check so it goes CRITICAL either way. Notifications go out if anything
went wrong.

That's good for big jobs, but I now want to add some tiny jobs that rsync
a very small set of files, problem is they finish so fast, my routine below
can't hack it. I don't want to setup multiple defs and checks. I know I can
wait till the next day for example, but that isn't good enough for some jobs.
Is there some better way to accomplish this?

Thanks!
jlc


timeperiods.cfg

# Set this to start JUST after the Backup Starts at 19:00, as it acknowledges
#  the updated state of the freshness of the backup Passive Check.
# Stop monitoring shortly after! The freshness interval is short, we need to 
know if the backup fails
define timeperiod{
timeperiod_name Backup_Window
alias   Weekday Backup Window
monday  19:10-19:15  ; Freshness should be "fresh" as backup 
starts at 19:00.
monday  23:30-24:00  ; Freshness interval MUST be shorter than 
time between these two periods (6:15).
tuesday 19:10-19:15
tuesday 23:30-24:00
wednesday   19:10-19:15
wednesday   23:30-24:00
thursday19:10-19:15
thursday23:30-24:00
friday  19:10-19:15
friday  23:30-24:00
}


templates.cfg

# Backup Job Passive Service definition
define service{
namepassive-service
active_checks_enabled   0
passive_checks_enabled  1
flap_detection_enabled  0
register0
is_volatile 0
check_periodBackup_Window
max_check_attempts  1
normal_check_interval   5
retry_check_interval1
check_freshness 1
freshness_threshold 21600   ; 6:00, All backups should be 
done by now. Correlate this with the Backup_Window Time Definition.
contact_groups  admins
notification_interval   9
notification_period 24x7
notification_optionsu,c
}


Object.cfg

define service{
use passive-service
host_name   host.domain.com
service_description Daily Backup - BackupServer1
check_command   check_dummy!2
}

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Dynamically generated service checks

2009-07-15 Thread Max
On Wed, Jul 15, 2009 at 11:19 AM, David Rosenstrauch wrote:
> 2) If I understand correctly, Nagios loads its config files at startup
> time and does not re-read them after that.  So if I'm regenerating a
> config file, then that means I'd need to restart the Nagios service
> afterwards, which is a bit of an onerous imposition.  And although
> again, I could in theory do this in a cron job, I'm not sure I'm
> comfortable with that.

As long as you are not using ePN, you can just send a HUP signal to
the parent Nagios process; this will cause it to re-read the
configuration file(s) from disk.

> There's the potential for the Nagios service to
> not start up again successfully, and I don't like taking the risk that
> this dynamic update procedure could potentially bring down the entire
> Nagios system.

We let our users make changes via SVN using a branch per project, tag
their code, then we merge their sub-trees into our master configs, tag
our configs, and push them out to our production system; we have a
test instance that  validates the configs with checkconfig before we
push to production.  would be easy enough to have your automated push
out do something similar and send Nagios a trap or an NSCA passive
service to alert you to a bad config and not push to production

Because we do a lot of trending, we restart Nagios every night to
minimize scheduling skew; 20 minutes or so before the auto-restart a
cron job runs that does a checkconfig on the Nagios configuration ..
if the checkconfig fails, it touches a flag file .. the restart script
will then look for this flag and not restart if the flag file is
present.

In other words, there are many programmatic ways to ensure that a bad
restart does not happen, all are pretty straight-forward :).

- Max

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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 log file date format

2009-07-15 Thread shadih rahman
Is there any way to change nagios log file date format to human readable
format.  I did not see any option in nagios.cfg file.  Please advise on
this.  Thanks

-- 
Cordially,
Shadhin Rahman
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
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] Dynamically generated service checks

2009-07-15 Thread David Rosenstrauch
Marc Powell wrote:
> On Jul 15, 2009, at 10:19 AM, David Rosenstrauch wrote:
> 
>> Matthew Jurgens wrote:
> 
>> 2) If I understand correctly, Nagios loads its config files at startup
>> time and does not re-read them after that.  So if I'm regenerating a
>> config file, then that means I'd need to restart the Nagios service
>> afterwards, which is a bit of an onerous imposition.
> 
> Using the init script, restart stops and starts the daemon, reload  
> sends a HUP signal to the running process to tell it to re-read it's  
> config files. The init script verifies config before doing either. You  
> could manually HUP the running process if you're sure the config files  
> are syntactically correct.
> 
>>  And although
>> again, I could in theory do this in a cron job, I'm not sure I'm
>> comfortable with that.  There's the potential for the Nagios service  
>> to
>> not start up again successfully, and I don't like taking the risk that
>> this dynamic update procedure could potentially bring down the entire
>> Nagios system.
> 
> I've been doing this exact thing (nagios reload) hourly for several  
> years quite successfully. If you wanted to be paranoid about it, you  
> could script a run of '/path/to/nagios -v /path/to/nagios.cfg' and  
> only reload if that exits 0 else send yourself an e-mail with the bad  
> output.
> 
> --
> Marc

Thanks much for these pointers (and the quick response).  Didn't know 
about the SIGHUP thing.

Well, it's good to know that this is a viable option.  Still, re-writing 
a config file seems a bit of a kludgey way to handle this.

I'm mulling over another idea, which I'm calling a "rotating" service 
check (for lack of a better word).  Basic idea is:  I set up one single 
service (rather than a service for each tag/file), and each time the 
service runs it automatically "rotates" to check the next tag/file.  If 
the check fails, then it stops rotating and continues checking that 
tag/file until the problem gets fixed.

Still working out the details, though, and not sure if this is a viable 
solution for us or not.  On the one hand, assuming we run the check 
every 5 minutes, then the service check would rotate through and thereby 
check all of the tags within some reasonable period of time.  On the 
other hand, if it hits a tag that fails the check, we'd only get an 
alert on that particular tag and wouldn't know if other tags were 
failing the check too.


IMO, the ideal solution here would be if I could just submit passive 
check results for services that aren't explicitly configured in Nagios. 
  But alas, that's not allowed and it fails with messages like "Warning: 
  Passive check result was received for service 'foo' on host 
'mysql-dev', but the service could not be found!"


I'll have to mull this over some more ...

Thanks,


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Dynamically generated service checks

2009-07-15 Thread Mark Gius

Max wrote:


As long as you are not using ePN, you can just send a HUP signal to
the parent Nagios process; this will cause it to re-read the
configuration file(s) from disk.


- Max
  


Slight OT, but why can't you do this with ePN?

-Gius
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
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] Dynamically generated service checks

2009-07-15 Thread Max
On Wed, Jul 15, 2009 at 12:17 PM, Mark Gius wrote:
> Max wrote:
>
> As long as you are not using ePN, you can just send a HUP signal to
> the parent Nagios process; this will cause it to re-read the
> configuration file(s) from disk.
>
>
> - Max
>
>
> Slight OT, but why can't you do this with ePN?

Actually, you can, but you will leak a LOT of memory if it works and
it also has a good chance of causing Nagios to crash (I have seen both
situations in the past).

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] nagios host limits

2009-07-15 Thread Conor Shovlin
Hi Marc,



Here is the config we are adding. These lines cause a perfectly working config 
(see before) to causing errors(see after).



define host{

use windows-server  ; Inherit default values from a 
template

host_name   DCFP01; The name we're giving to this 
host

alias   DCFP01; A longer name associated with 
the host

address 172.x.x.x; IP address of the host

hostgroups  Dxxx

parents Axxx

notification_interval   0

notification_optionsd

}





As you can see there it is a simple host that we are adding but it starts 
throwing errors. As soon as we remove the host all errors clear and we have no 
issue. If I remove another host it works.







BEFORE

[r...@mon01 objects]# /usr/local/nagios/bin/nagios -v 
/usr/local/nagios/etc/nagios.cfg



Nagios 3.0.6

Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)

Last Modified: 12-01-2008

License: GPL



Reading configuration data...



Running pre-flight check on configuration data...



Checking services...

Checked 1337 services.

Checking hosts...

Checked 226 hosts.

Checking host groups...

Checked 31 host groups.

Checking service groups...

Checked 2 service groups.

Checking contacts...

Checked 6 contacts.

Checking contact groups...

Checked 1 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 60 commands.

Checking time periods...

Checked 5 time periods.

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

[r...@mon01 objects]#





AFTER

[r...@mon01 objects]# /usr/local/nagios/bin/nagios -v 
/usr/local/nagios/etc/nagios.cfg



Nagios 3.0.6

Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)

Last Modified: 12-01-2008

License: GPL



Reading configuration data...



Error: Template 'linux-server' specified in host definition could not be not 
found (config file '/usr/local/nagios/etc/objects/thosts.cfg', starting on 
line 78)



***> One or more problems was encountered while processing the config files...



 Check your configuration file(s) to ensure that they contain valid

 directives and data defintions.  If you are upgrading from a previous

 version of Nagios, you should be aware that some variables/definitions

 may have been removed or modified in this version.  Make sure to read

 the HTML documentation regarding the config files, as well as the

 'Whats New' section to find out what has changed.



[r...@mon01 objects]#



Regards,

Conor







-Original Message-
From: Marc Powell [mailto:m...@ena.com]
Sent: 15 July 2009 16:04
To: Nagios Users Mail-list
Subject: Re: [Nagios-users] nagios host limits





On Jul 15, 2009, at 9:36 AM, Conor Shovlin wrote:



> Hi,

>

> We have an installation of Nagios with 226 hosts. If we try and add

> another host then we are unable restart Nagios service and we get a

> CONFIG error

>

> Does anyone know if there any limitations on Nagios with this?



No. Several of us are monitoring (10's of) thousands of hosts and

services. You certainly have a real configuration error. If you need

help, post the error and corresponding host and service definitions

and anything else that might seem relevant based on the error.



--

Marc





--

Enter the BlackBerry Developer Challenge

This is your chance to win up to $100,000 in prizes! For a limited time,

vendors submitting new applications to BlackBerry App World(TM) will have

the opportunity to enter the BlackBerry Developer Challenge. See full prize

details at: http://p.sf.net/sfu/Challenge

___

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



Any views given in this message are the sender's own, and do not represent the 
views of IT Force except where the sender specifically states them to be the 
views of IT Force. This e-mail should only be read by those persons to whom it 
is addressed. 

Re: [Nagios-users] nagios log file date format

2009-07-15 Thread Chris Waters
You could do something like this:

Replace the paths to reflect your environment.
 
tail -f /usr/local/nagios/var/nagios.log | perl -pe
's/(\d+)/localtime($1)/e'
or
grep 'something important to look for'
somelogfilewithepochtimestamps.log | perl -pe 's/(\d+)/localtime($1)/e'
or
perl -pe 's/(\d+)/localtime($1)/e'  somelogfilewithepochtimestamps.log
 

Chris Waters 



From: shadih rahman [mailto:shadhi...@gmail.com] 
Sent: Wednesday, July 15, 2009 9:10 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] nagios log file date format


Is there any way to change nagios log file date format to human readable
format.  I did not see any option in nagios.cfg file.  Please advise on
this.  Thanks

-- 
Cordially,
Shadhin Rahman


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Redundant Monitoring notifications not enabling

2009-07-15 Thread Martinez, Eduardo [BSD] - ADM
 

I have a setup where the Master and Slave servers follow the redundancy
scenario 1 of this document:

 

http://nagios.sourceforge.net/docs/3_0/redundancy.html

 

Both Servers are running Nagios 3.0.6

The one issue I am running into is that when the Nagios service on the
master host goes down, the slave host does not enable its notifications.

I looked at the paths in each script to ensure it was pointing to the
correct location. (commands.cfg, handle-master-proc-event,
enable_notifications, and disable_notifications) They all look ok.  As a
test I stopped the Nagios service on the master host and looked at the
logs on the slave. I receive the following from the slave host log file

 

 

[1247675796] SERVICE ALERT:
masterhost;check_nagios;CRITICAL;SOFT;1;NAGIOS CRITICAL: Cannot open
status log for reading!

[1247675796] SERVICE EVENT HANDLER:
masterhost;check_nagios;(null);(null);(null);master-process-event

[1247675856] SERVICE ALERT:
masterhost;check_nagios;CRITICAL;SOFT;2;NAGIOS CRITICAL: Cannot open
status log for reading!

[1247675856] SERVICE EVENT HANDLER:
masterhost;check_nagios;(null);(null);(null);master-process-event

[1247675916] SERVICE ALERT:
masterhost;check_nagios;CRITICAL;SOFT;3;NAGIOS CRITICAL: Cannot open
status log for reading!

[1247675916] SERVICE EVENT HANDLER:
masterhost;check_nagios;(null);(null);(null);master-process-event

[1247675976] SERVICE ALERT:
masterhost;check_nagios;CRITICAL;SOFT;4;NAGIOS CRITICAL: Cannot open
status log for reading!

[1247675976] SERVICE EVENT HANDLER:
masterhost;check_nagios;(null);(null);(null);master-process-event

[1247676036] SERVICE ALERT:
masterhost;check_nagios;CRITICAL;HARD;5;NAGIOS CRITICAL: Cannot open
status log for reading!

[1247676036] SERVICE EVENT HANDLER:
masterhost;check_nagios;(null);(null);(null);master-process-event

 

But notifications aren't enabled even after it hits hard.  If I run the
enable_notification and disable_notifications scripts manually they
work. I'm trying to figure out where in the chain is wrong.

 

Anyone have any ideas as to what might be the problem? I'm so very close
to getting this setup.

 

 

-Eduardo

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
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] nagios log file date format

2009-07-15 Thread Marc Powell

On Jul 15, 2009, at 11:10 AM, shadih rahman wrote:

> Is there any way to change nagios log file date format to human  
> readable format.  I did not see any option in nagios.cfg file.   
> Please advise on this.  Thanks

http://support.nagios.com/knowledge-base/index.php?option=com_content&view=article&id=52&catid=35&faq_id=70

--
Marc


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Dynamically generated service checks

2009-07-15 Thread Marc Powell

On Jul 15, 2009, at 11:13 AM, David Rosenstrauch wrote:

> IMO, the ideal solution here would be if I could just submit passive
> check results for services that aren't explicitly configured in  
> Nagios.
>  But alas, that's not allowed and it fails with messages like  
> "Warning:
>  Passive check result was received for service 'foo' on host
> 'mysql-dev', but the service could not be found!"

That's correct but this would be a lot like submitting SNMP traps to  
nagios. You might glance over that documentation to get ideas. You  
could create a generic service, set it as passive and volatile and  
then just start submitting passive results to it with descriptive/ 
useful output. Each non-ok result would generate an alert so you  
wouldn't miss anything but if you don't build in some protections, you  
could repeat notify about the same problem.

--
Marc


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] nagios host limits

2009-07-15 Thread Marc Powell

On Jul 15, 2009, at 11:40 AM, Conor Shovlin wrote:

> Hi Marc,
>
> Here is the config we are adding. These lines cause a perfectly  
> working config (see before) to causing errors(see after).
>
> define host{
> use windows-server  ; Inherit default  
> values from a template
> host_name   DCFP01; The name we're  
> giving to this host
> alias   DCFP01; A longer name  
> associated with the host
> address 172.x.x.x; IP address of the host
> hostgroups  Dxxx
> parents Axxx
> notification_interval   0
> notification_optionsd
> }
>
>
> As you can see there it is a simple host that we are adding but it  
> starts throwing errors. As soon as we remove the host all errors  
> clear and we have no issue. If I remove another host it works

>
> Error: Template 'linux-server' specified in host definition could  
> not be not found (config file '/usr/local/nagios/etc/objects/ 
> thosts.cfg', starting on line 78)

Definitely strange. This is complaining about a completely different  
and unrelated thing. Does the template 'linux-server' exist ('name  
linux-server')? Is it in the same file as the host definition you are  
trying to add?
- If so, are you accidentally breaking that definition, removing the  
final } perhaps or something like that?
- If not, is the file it is in specified as a cfg_file in nagios.cfg  
or in a cfg_dir? If cfg_file, what is the load order (not sure it  
matters though but might be interesting).
- Does it help you move it to the top of the load order?

--
Marc


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] strange results from v2.11 vs. 3.0.6 for check_snmp

2009-07-15 Thread Natalie Aloi

Hello, I have two versions of nagios running v 2.11 on server nagios and 3.0.6 
on dns
when I execute the commands manually from the servers this is my output can 
anyone help me understand why when I run the identical commands on v2.11 I get 
output from both switches but when I run it on the dns server only one host 
responds?

ver 3.0.6 host output below:
[r...@dns libexec]# ./check_snmp -C public -H 10.1.100.2 -o ifOperStatus.1 -r 1 
-m RFC1213-MIB
SNMP OK - up(1) |
[r...@dns libexec]# ./check_snmp -C public -H 10.1.100.3 -o ifOperStatus.1 -r 1 
-m RFC1213-MIB
SNMP problem - No data received from host
CMD: /usr/bin/snmpget -t 1 -r 5 -m RFC1213-MIB -v 1 [authpriv] 10.1.100.3:161 
ifOperStatus.1
[r...@dns libexec]#


ver 2.11 output below:
[r...@nagios plugins]# ./check_snmp -C public -H 10.1.100.3 -o ifOperStatus.1 
-r 1 -m RFC1213-MIB
SNMP OK - up(1) |
[r...@nagios plugins]# ./check_snmp -C public -H 10.1.100.2 -o ifOperStatus.1 
-r 1 -m RFC1213-MIB
SNMP OK - up(1) |
[r...@nagios plugins]#



Network Operations Center Manager
Experis Data Center LLC
8209 Valley Pike
PO Box 535
Middletown,VA 22645
phone:540-869-8702
cell:240-988-3267
fax:540-869-8710
e-mail:na...@experisdatacenters.com
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
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] strange results from v2.11 vs. 3.0.6 for check_snmp

2009-07-15 Thread Marc Powell

On Jul 15, 2009, at 2:22 PM, Natalie Aloi wrote:

> Hello, I have two versions of nagios running v 2.11 on server nagios  
> and 3.0.6 on dns
> when I execute the commands manually from the servers this is my  
> output can anyone help me understand why when I run the identical  
> commands on v2.11 I get output from both switches but when I run it  
> on the dns server only one host responds?
>
> ver 3.0.6 host output below:
> [r...@dns libexec]# ./check_snmp -C public -H 10.1.100.2 -o  
> ifOperStatus.1 -r 1 -m RFC1213-MIB
> SNMP OK - up(1) |
> [r...@dns libexec]# ./check_snmp -C public -H 10.1.100.3 -o  
> ifOperStatus.1 -r 1 -m RFC1213-MIB
> SNMP problem - No data received from host
> CMD: /usr/bin/snmpget -t 1 -r 5 -m RFC1213-MIB -v 1 [authpriv]  
> 10.1.100.3:161  ifOperStatus.1
> [r...@dns libexec]#
>
>
> ver 2.11 output below:
> [r...@nagios plugins]# ./check_snmp -C public -H 10.1.100.3 -o  
> ifOperStatus.1 -r 1 -m RFC1213-MIB
> SNMP OK - up(1) |
> [r...@nagios plugins]# ./check_snmp -C public -H 10.1.100.2 -o  
> ifOperStatus.1 -r 1 -m RFC1213-MIB
> SNMP OK - up(1) |
> [r...@nagios plugins]#
>

I presume that you are testing from two different boxes. As you can  
see from the error output, check_snmp is just a wrapper to /usr/bin/ 
snmpget, which cannot talk to the host 10.1.100.3.  This puts the  
problem outside of nagios and the plugins. Do you have access  
restrictions on the 10.1.110.3 machine blocking the connection from  
the 'dns' host (or somewhere between them)?

--
Marc


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Dynamically generated service checks

2009-07-15 Thread Kevin Keane
Marc Powell wrote:
> On Jul 15, 2009, at 11:13 AM, David Rosenstrauch wrote:
>
>   
>> IMO, the ideal solution here would be if I could just submit passive
>> check results for services that aren't explicitly configured in  
>> Nagios.
>>  But alas, that's not allowed and it fails with messages like  
>> "Warning:
>>  Passive check result was received for service 'foo' on host
>> 'mysql-dev', but the service could not be found!"
>> 
>
> That's correct but this would be a lot like submitting SNMP traps to  
> nagios. You might glance over that documentation to get ideas. You  
> could create a generic service, set it as passive and volatile and  
> then just start submitting passive results to it with descriptive/ 
> useful output. Each non-ok result would generate an alert so you  
> wouldn't miss anything but if you don't build in some protections, you  
> could repeat notify about the same problem.
>   
I am using a script to look for these error messages. In my situation, 
the list of services changes only rarely, so all this script does is 
submit another check result to Nagios to alert me that I need to 
manually add a service. You could also use such a script to 
automatically add any new services, and then restart Nagios.

-- 
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or 
proprietary information. Please be advised that the unauthorized use or 
disclosure of the information is strictly prohibited. The information herein is 
intended only for use by the intended recipient(s) named above. If you have 
received this transmission in error, please notify the sender immediately and 
permanently delete the e-mail and any copies, printouts or attachments thereof.


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Testing Apache - mysql connectivity using php

2009-07-15 Thread Swati Tiwari
Hello Friends,

I am trying to write a plugin for testing the apache-mysql connectivity
using php. Has anyone done this so far and has any ideas as to how to go
about it. Any ideas would be appreciated. Thank you very much!

-- 
Regards,
Swati
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
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] Testing Apache - mysql connectivity using php

2009-07-15 Thread Jon Angliss
On Wed, 15 Jul 2009 15:00:59 -0700, Swati Tiwari 
wrote:

>Hello Friends,
>
>I am trying to write a plugin for testing the apache-mysql connectivity
>using php. Has anyone done this so far and has any ideas as to how to go
>about it. Any ideas would be appreciated. Thank you very much!

A simple php script would work, and the check_http with string
matching.




Then nagios would execute this...

./check_http -H hostname -u /testdb.php -s SUCCESS

-- 
Jonathan Angliss



--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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