Re: [Nagios-users] nagios/opsview with qpage

2010-06-22 Thread Darren Hill
Hi, I have this contact script for my nagios/opsview to work. I have qpage paging manually if I just tell it to run qpage, but I don't want 2 contacts, one for hosts, one for services. I need a way for it to figure out if it's a host or service page and then run the command from there. Any ide

Re: [Nagios-users] Where to store plugins in a standard nagios3 installation

2010-06-22 Thread Gius, Mark
We use two variables, USER1 and USER2 to reflect the location of the default Nagios plugins and any custom plugins that we write. So a sample command definition looks like: ## Ping check definition define command { command_namecheck-host-alive command_line$USER1$/check_ping -H $HO

Re: [Nagios-users] Service Escalation Timing Issue

2010-06-22 Thread Jeff Tillotson
On Tue, Jun 22, 2010 at 11:31:46AM -0400, Assaf Flatto wrote: >Jeff Tillotson wrote: >> On Tue, Jun 22, 2010 at 05:53:45AM -0400, Assaf Flatto wrote: >> >>> Tillotson, Jeff wrote: >>> I've got a service that I've set up with the following requirements. E-mail a certain group aft

Re: [Nagios-users] Service Escalation Timing Issue

2010-06-22 Thread Assaf Flatto
Jeff Tillotson wrote: > On Tue, Jun 22, 2010 at 05:53:45AM -0400, Assaf Flatto wrote: > >> Tillotson, Jeff wrote: >> >>> I've got a service that I've set up with the following requirements. >>> E-mail a certain group after service has been down for 5 minutes. page >>> when service has b

Re: [Nagios-users] Service Escalation Timing Issue

2010-06-22 Thread Jeff Tillotson
On Tue, Jun 22, 2010 at 05:53:45AM -0400, Assaf Flatto wrote: >Tillotson, Jeff wrote: >> I've got a service that I've set up with the following requirements. E-mail >> a certain group after service has been down for 5 minutes. page when >> service has been down for 10 minutes. Then, page again

Re: [Nagios-users] Where to store plugins in a standard nagios3 installation

2010-06-22 Thread Jim Perrin
On Tue, Jun 22, 2010 at 6:36 AM, sandma...@libero.it wrote: >      Error: Host check command 'check_cisco.pl -h $HOSTADDRESS$ -c public -i > BRI0/0/0:1' specified for host 'ISDNRouter' is not defined anywhere! > > What have I done wrong > Did you also define check_cisco in the check_commands

Re: [Nagios-users] Where to store plugins in a standard nagios3 installation

2010-06-22 Thread Assaf Flatto
sandma...@libero.it wrote: > Hi, > > I'm testing nagios 3 on ubuntu 10.04. > > I've downloaded a plugin from nagios exchange, but where the file must be in > order to be run? > > Particularly, I've downloaded check_cisco.pl from nagios exchange, and I've > put it in /usr/lib/nagios/plugins > I've

[Nagios-users] Where to store plugins in a standard nagios3 installation

2010-06-22 Thread sandma...@libero.it
Hi, I'm testing nagios 3 on ubuntu 10.04. I've downloaded a plugin from nagios exchange, but where the file must be in order to be run? Particularly, I've downloaded check_cisco.pl from nagios exchange, and I've put it in /usr/lib/nagios/plugins I've also given a chmod 0755, and chown root:roo

Re: [Nagios-users] Service Escalation Timing Issue

2010-06-22 Thread Assaf Flatto
Tillotson, Jeff wrote: > I've got a service that I've set up with the following requirements. E-mail > a certain group after service has been down for 5 minutes. page when service > has been down for 10 minutes. Then, page again after 30 minutes. I'm fairly > certain my problem is with notif

Re: [Nagios-users] Define dependencie in service defs?

2010-06-22 Thread Assaf Flatto
Litwin, Matthew wrote: > On Jun 21, 2010, at 10:03 AM, Assaf Flatto wrote: > > >> Litwin, Matthew wrote: >> >>> Is there a way to define what service a service depends on within te >>> service definition itself for cases where the dependency heirarchy is >>> localized to the same host?

[Nagios-users] Service Escalation Timing Issue

2010-06-22 Thread Tillotson, Jeff
I've got a service that I've set up with the following requirements. E-mail a certain group after service has been down for 5 minutes. page when service has been down for 10 minutes. Then, page again after 30 minutes. I'm fairly certain my problem is with notification_interval in the service