Alert Notification on nagios on windows

6 posts / 0 new
Last post
Anonymous
Alert Notification on nagios on windows

Hi,

I have installed nagios in my windows PC, The Nagwin is running fine on windows PC and i am able to monitor localhost.

I have configured linux host as per NRPE.pdf, i want to monitor the linux machine from windows pc where nagios is installed.

I am getting below errors in nagios.log file from windows machine. Please help me out

 
[ Service Alert: jenkins/Current Users is CRITICAL **" -server smtp.server
[1467890227] Warning: Return code of 255 for check of service '/dev/sda1 Free Space' on host 'jenkins.am.health.com' was out of bounds.
[1467890272] Warning: Return code of 255 for check of service 'CPU Load' on host 'jenkins.am.health.ge.com' was out of bounds.
[1467890287] Warning: Return code of 255 for check of service 'Total Processes' on host 'jenkins.am.health.ge.com' was out of bounds.
[1467890347] Warning: Return code of 255 for check of service 'Zombie Processes' on host 'jenkins.am.health.ge.com' was out of bounds.
[1467890696] SERVICE NOTIFICATION: nagiosadmin;localhost;All services;WARNING;notify-service-by-email;SERVICE WARNING - 152 service(s).
[1467890696] wproc: NOTIFY job 172 from worker Core Worker 9648 is a non-check helper but exited with return code 139
[1467890696] wproc:   host=localhost; service=All services; contact=nagiosadmin
[1467890696] wproc:   early_timeout=0; exited_ok=1; wait_status=35584; error_code=0;
 
 
 
Thanks,
Venkatesh
itefix
Offline
Last seen: 6 hours 7 min ago
Joined: 01.05.2008 - 21:33
 

 

It seems that e-mail notification is not properly set up. Please check our FAQ https://www.itefix.net/content/how-can-i-get-notified-e-mail-nagwin.

If you don't want to get notified by e-mail, you mat disable notifications.

venkatesh
Hi,

Hi,

how to dissable notification in nagwin?

Regards,

Venkatesh

 

itefix
Offline
Last seen: 6 hours 7 min ago
Joined: 01.05.2008 - 21:33
 

 

Permanently: in nagios.cfg, set enable_notifications=0 and restart nagwin_nagios service

Temporarily: click on "Process Info" in the left navigation pane, and then "Disable Notifications", then "Commit".

venkatesh
Hi,

Hi,

OK, Thnaks..

i used to get below info as well.. please help me.

 wproc:   stdout line 03: Error: Can't resolve hostname (smtp.server).[1467953996] SERVICE NOTIFICATION: nagiosadmin;localhost;All services;WARNING;notify-service-by-email;SERVICE WARNING - 152 service(s).[1467953996] wproc: NOTIFY job 3 from worker Core Worker 14060 is a non-check helper but exited with return code 1[1467953996] wproc:   host=localhost; service=All services; contact=nagiosadmin[1467953996] wproc:   early_timeout=0; exited_ok=1; wait_status=256; error_code=0;[1467953996] wproc:   stdout line 01: Blat v2.7.6 w/GSS encryption (build : Oct 25 2011 21:12:01) 

itefix
Offline
Last seen: 6 hours 7 min ago
Joined: 01.05.2008 - 21:33
 

 

You haven't defined an smtp server to define a notification scheme. Those messages should appear if you disable notification in Nagios.