Problem with recovery notification

Samuel Mutel samuel.mutel at free.fr
Tue Feb 16 21:05:54 CET 2010


Hello,

I have two Nagios servers that monitor the same equipement. This two 
nagios send the result of check by notification to another monitoring 
system (OpenNMS). I use Nagios 3.2.
I received the recovery notification from server 2 but I did not 
received recovery notification from server 1. Why ? I think that SOFT 
and HARD states are the problem but I am not sur. In the second server 2 
the status of service is HARD - OK so the notification is sent but on 
server 1, the service is SOFT - OK !!!

Here is the log of Nagios :

Service Alert of server 1 :

[1266299592] SERVICE ALERT: 
test-server;CPU;CRITICAL;SOFT;1;CHECK_ESX3.PL CRITICAL - Error: Server 
version unavailable at 'https://ip_address/sdk/vimService.wsdl'
[1266299885] SERVICE ALERT: 
test-server;CPU;CRITICAL;SOFT;2;CHECK_ESX3.PL CRITICAL - Error 
connecting to server at 'https://ip_address/sdk/webService': Perhaps 
host is not a Virtual Center or ESX server
[1266299925] SERVICE ALERT: 
test-server;CPU;CRITICAL;HARD;3;CHECK_ESX3.PL CRITICAL - Error: Server 
version unavailable at 'https://ip_address/sdk/vimService.wsdl'
[1266303080] SERVICE ALERT: 
test-server;CPU;CRITICAL;SOFT;1;CHECK_ESX3.PL CRITICAL - Error 
connecting to server at 'https://ip_address/sdk/webService': Perhaps 
host is not a Virtual Center or ESX server
[1266303380] SERVICE ALERT: 
test-server;CPU;CRITICAL;SOFT;2;CHECK_ESX3.PL CRITICAL - Error 
connecting to server at 'https://ip_address/sdk/webService': Perhaps 
host is not a Virtual Center or ESX server
[1266308485] SERVICE ALERT: test-server;CPU;CRITICAL;SOFT;1;(Service 
Check Timed Out)
[1266308500] SERVICE ALERT: test-server;CPU;OK;SOFT;2;CHECK_ESX3.PL OK - 
"test-server" cpu usage=2.29 %

Service Notification of server 1 :

[1266299925] SERVICE NOTIFICATION: 
onms_prod;test-server;CPU;CRITICAL;send_service_trap_to_onms_prod;CHECK_ESX3.PL 
CRITICAL - Error: Server version unavailable at 
https://ip_address/sdk/vimService.wsdl
[1266300645] SERVICE NOTIFICATION: 
onms_prod;test-server;CPU;CRITICAL;send_service_trap_to_onms_prod;CHECK_ESX3.PL 
CRITICAL - Error: Server version unavailable at 
https://ip_address/sdk/vimService.wsdl
[1266301385] SERVICE NOTIFICATION: 
onms_prod;test-server;CPU;CRITICAL;send_service_trap_to_onms_prod;CHECK_ESX3.PL 
CRITICAL - Error: Server version unavailable at 
https://ip_address/sdk/vimService.wsdl
[1266301720] SERVICE NOTIFICATION: 
onms_prod;test-server;CPU;CRITICAL;send_service_trap_to_onms_prod;CHECK_ESX3.PL 
CRITICAL - Error: Server version unavailable at 
https://ip_address/sdk/vimService.wsdl
[1266303575] SERVICE NOTIFICATION: 
onms_prod;test-server;CPU;CRITICAL;send_service_trap_to_onms_prod;CHECK_ESX3.PL 
CRITICAL - Error connecting to server at 
https://ip_address/sdk/webService: Perhaps host is not a Virtual Center 
or ESX server
[1266304175] SERVICE NOTIFICATION: 
onms_prod;test-server;CPU;CRITICAL;send_service_trap_to_onms_prod;CHECK_ESX3.PL 
CRITICAL - Error connecting to server at 
https://ip_address/sdk/webService: Perhaps host is not a Virtual Center 
or ESX server
[1266304810] SERVICE NOTIFICATION: 
onms_prod;test-server;CPU;CRITICAL;send_service_trap_to_onms_prod;CHECK_ESX3.PL 
CRITICAL - Error: Server version unavailable at 
https://ip_address/sdk/vimService.wsdl
[1266305270] SERVICE NOTIFICATION: 
onms_prod;test-server;CPU;CRITICAL;send_service_trap_to_onms_prod;CHECK_ESX3.PL 
CRITICAL - Error: Server version unavailable at 
https://ip_address/sdk/vimService.wsdl
[1266305975] SERVICE NOTIFICATION: 
onms_prod;test-server;CPU;CRITICAL;send_service_trap_to_onms_prod;CHECK_ESX3.PL 
CRITICAL - Error connecting to server at 
https://ip_address/sdk/webService: Perhaps host is not a Virtual Center 
or ESX server

Service Alert of server 2 :

[1266299856] SERVICE ALERT: test-server;CPU;CRITICAL;SOFT;1;(Service 
Check Timed Out)
[1266300161] SERVICE ALERT: test-server;CPU;CRITICAL;HARD;1;(Service 
Check Timed Out)
[1266300516] SERVICE ALERT: 
test-server;CPU;CRITICAL;SOFT;1;CHECK_ESX3.PL CRITICAL - Error: Server 
version unavailable at 'https://ip_address/sdk/vimService.wsdl'
[1266301481] SERVICE ALERT: test-server;CPU;CRITICAL;SOFT;1;(Service 
Check Timed Out)
[1266301512] SERVICE ALERT: 
test-server;CPU;CRITICAL;SOFT;2;CHECK_ESX3.PL CRITICAL - Error: Server 
version unavailable at 'https://ip_address/sdk/vimService.wsdl'
[1266304201] SERVICE ALERT: 
test-server;CPU;CRITICAL;SOFT;1;CHECK_ESX3.PL CRITICAL - Error 
connecting to server at 'https://ip_address/sdk/webService': Perhaps 
host is not a Virtual Center or ESX server
[1266304506] SERVICE ALERT: test-server;CPU;CRITICAL;SOFT;2;(Service 
Check Timed Out)
[1266307211] SERVICE ALERT: test-server;CPU;CRITICAL;SOFT;1;(Service 
Check Timed Out)
[1266307411] SERVICE ALERT: 
test-server;CPU;CRITICAL;SOFT;2;CHECK_ESX3.PL CRITICAL - Error 
connecting to server at 'https://ip_address/sdk/webService': Perhaps 
host is not a Virtual Center or ESX server
[1266308616] SERVICE ALERT: test-server;CPU;OK;HARD;3;CHECK_ESX3.PL OK - 
"test-server" cpu usage=2.15 %

Service Notification of server 2 :

[1266301901] SERVICE NOTIFICATION: 
onms_preprod;test-server;CPU;CRITICAL;send_service_trap_to_onms_preprod;(Service 
Check Timed Out)
[1266302501] SERVICE NOTIFICATION: 
onms_preprod;test-server;CPU;CRITICAL;send_service_trap_to_onms_preprod;(Service 
Check Timed Out)
[1266303106] SERVICE NOTIFICATION: 
onms_preprod;test-server;CPU;CRITICAL;send_service_trap_to_onms_preprod;(Service 
Check Timed Out)
[1266304811] SERVICE NOTIFICATION: 
onms_preprod;test-server;CPU;CRITICAL;send_service_trap_to_onms_preprod;(Service 
Check Timed Out)
[1266305411] SERVICE NOTIFICATION: 
onms_preprod;test-server;CPU;CRITICAL;send_service_trap_to_onms_preprod;(Service 
Check Timed Out)
[1266306001] SERVICE NOTIFICATION: 
onms_preprod;test-server;CPU;CRITICAL;send_service_trap_to_onms_preprod;CHECK_ESX3.PL 
CRITICAL - Error connecting to server at 
https://ip_address/sdk/webService: Perhaps host is not a Virtual Center 
or ESX server
[1266307611] SERVICE NOTIFICATION: 
onms_preprod;test-server;CPU;CRITICAL;send_service_trap_to_onms_preprod;CHECK_ESX3.PL 
CRITICAL - Error connecting to server at 
https://ip_address/sdk/webService: Perhaps host is not a Virtual Center 
or ESX server
[1266308206] SERVICE NOTIFICATION: 
onms_preprod;test-server;CPU;CRITICAL;send_service_trap_to_onms_preprod;CHECK_ESX3.PL 
CRITICAL - Error connecting to server at 
https://ip_address/sdk/webService: Perhaps host is not a Virtual Center 
or ESX server
[1266308616] SERVICE NOTIFICATION: 
onms_preprod;test-server;CPU;OK;send_service_trap_to_onms_preprod;CHECK_ESX3.PL 
OK - test-server cpu usage=2.15 %

Thank for your help.
Regards,
Samuel Mutel.

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list