Search found 9 matches

by lsaspac
Thu Feb 14, 2013 5:07 pm
Forum: Nagios XI
Topic: Event Handler woes
Replies: 9
Views: 229

Re: Event Handler woes

Thankyou slansing, scottwilkerson and abrist. My issue is resolved :D
by lsaspac
Thu Feb 14, 2013 4:47 pm
Forum: Nagios XI
Topic: Event Handler woes
Replies: 9
Views: 229

Re: Event Handler woes

sorry guys! linux newb here :-)

Code: Select all

$ ll /usr/local/nagios/libexec/servicestart.sh
-rw-r--r-- 1 root root 318 Feb 15 08:44 /usr/local/nagios/libexec/servicestart.sh
by lsaspac
Wed Feb 13, 2013 5:45 pm
Forum: Nagios XI
Topic: Event Handler woes
Replies: 9
Views: 229

Re: Event Handler woes

Hi Scott, here is servicestart.sh #!/bin/sh # Event Handler for Restarting Windows Services echo `date` Event! $1 - $2 - $3 >> output case "$1" in OK) echo OK! >> output ;; WARNING) ;; UNKNOWN) ;; CRITICAL) /usr/local/nagios/libexec/check_nrpe -H "$2" -p 5666 -c WindowsService__R...
by lsaspac
Wed Feb 13, 2013 4:50 pm
Forum: Nagios XI
Topic: Event Handler woes
Replies: 9
Views: 229

Re: Event Handler woes

Hi slansing

I appear to have deviated slightly from the guide in the naming of my script, though it is consistent in my setup

The command I use to execute the handler manually is

Code: Select all

$ sudo bash ./servicestart.sh CRITICAL 10.10.1.1 vpxd
thanks
by lsaspac
Tue Feb 12, 2013 5:42 pm
Forum: Nagios XI
Topic: Event Handler woes
Replies: 9
Views: 229

Event Handler woes

Hi all, I'm trying to implement my first event handler but I cannot get it to trigger. I am following the guide from here to restart a Windows service - http://assets.nagios.com/downloads/nagiosxi/docs/Restarting_Windows_Services_With_NRPE.pdf I am running Nagios XI 2011R2.3 on Centos 6.2 on VMWare ...
by lsaspac
Sun Mar 04, 2012 11:37 pm
Forum: Nagios XI
Topic: Issues with notification interval
Replies: 3
Views: 965

Re: Issues with notification interval

ok, so there was more to this. I had a service escalation attached which I had forgotten about (apologies). This explains the behaviour in the example The service escalation had a notification interval of 1 min, which was overriding the notification interval in the service itself thanks mguthrie :-)
by lsaspac
Thu Mar 01, 2012 11:01 pm
Forum: Nagios XI
Topic: Issues with notification interval
Replies: 3
Views: 965

Issues with notification interval

Hey all, I'm using Nagios XI 2011R2.1 I'm having trouble getting notification-interval to work on a service. I'm trying to get a simple demo working without any templates for troubleshooting. Can anyone tell me where i'm going wrong? Here is my demo service code. It reliably performs the check and e...
by lsaspac
Wed Feb 29, 2012 5:34 pm
Forum: Nagios XI
Topic: Problem with host groups and service escalation
Replies: 2
Views: 912

Re: Problem with host groups and service escalation

thanks for the quick feedback, i'll use the individual hosts until resolved
by lsaspac
Tue Feb 28, 2012 10:03 pm
Forum: Nagios XI
Topic: Problem with host groups and service escalation
Replies: 2
Views: 912

Problem with host groups and service escalation

Hello all, I'm using Nagios XI 2011R2.1, im a 2 week nagios newbie I'm having an issue where if I create a new Service Escalation with a Host Group and Services, the services are not retained when the form is saved. It appears to save successfully but if I edit the Escalation it shows the Service li...