On 10 Aug 2009, at 23:16, Christopher Mattogno wrote:

OPSView is not sending alerts when Exchange services die. I am not
relaying through Exchange, I am going directly out via postfix. I
receive alerts for hosts up and down and such, but not for my Exchange
services.

I am using this command: -H $HOSTADDRESS$ -c CheckServiceState -a
MSExchangeMTA=started

To verify tat the MTA service (and InfoStore, IMAP, etc) is running. I
receive alerts for other failures, as far as I can tell, just not my
Windows Services checks.

I have tried to find the "Make things work the way I want" check box, to
no avail. Any ideas?

Initially I would suggest looking through the nagios cfg files in /usr/ local/nagios/etc to prove the command is written as expected. Also run the command by hand from the monitoring server to test what the 'real' output is and also try another service you know is stopped, and also a non-existent service, i.e.

cd /usr/local/nagios/libexec
./check_nrpe -H <ip> -c checkServiceState -a MSExchangeMTA=started
./check_nrpe -H <ip> -c checkServiceState -a MSExchangeMTA=stopped
./check_nrpe -H <ip> -c checkServiceState -a AnOtherService=started
./check_nrpe -H <ip> -c checkServiceState -a FakeService=started

and confirm the states of the services on the server itself. This is to ensure the agent is returning expected data.

  Duncs

--
Duncan Ferguson
Senior Developer

<<inline: image001.gif>>




Opsera Limited | Unit 69 Suttons Business Park
Reading | Berkshire | RG6 1AZ | UK

Phone:   +44 (0) 845 057 7887
Mobile:   +44 (0) 7968 148 748
Skype:   duncan_j_ferguson     Email:   [email protected]
www.opsera.com

Opsera Limited is registered in the UK under Company Number 5396532. Our registered office is Gorse View, Horsell Rise, Woking, Surrey, GU21 4RB.

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to