Re: Monitor Exchange
Posted: Fri Apr 14, 2017 7:58 am
Thanks for the reply. The \n change didnt fix it. I however rename the .bin to .txt and came up with this.
***** Nagios *****
Notification Type: PROBLEM
Service: Check Exchange Queues
Host: CWWAPP
Address: CWWAPP
State: CRITICAL
Date/Time: Thu Apr 13 09:25:57 EDT 2017
Additional Info:
CRITICAL: CWWAPP\Shadow = 7, CWWAPP\Shadow = 7
Not sure why it is converting CWWAPP\Shadow\3 = 7 to that. If I run script directly on server, I get this.
CRITICAL: CWWAPP\Shadow\3 = 16, CWWAPP\Shadow\3 = 16
If I run directly from nagios command line, I get this
CRITICAL: CWWAPP\Shadow\3 = 53, CWWAPP\Shadow\3 = 53
***** Nagios *****
Notification Type: PROBLEM
Service: Check Exchange Queues
Host: CWWAPP
Address: CWWAPP
State: CRITICAL
Date/Time: Thu Apr 13 09:25:57 EDT 2017
Additional Info:
CRITICAL: CWWAPP\Shadow = 7, CWWAPP\Shadow = 7
Not sure why it is converting CWWAPP\Shadow\3 = 7 to that. If I run script directly on server, I get this.
CRITICAL: CWWAPP\Shadow\3 = 16, CWWAPP\Shadow\3 = 16
If I run directly from nagios command line, I get this
CRITICAL: CWWAPP\Shadow\3 = 53, CWWAPP\Shadow\3 = 53