NSCA checks not appear on nagios
Assaf Flatto
nagios at flatto.net
Tue Feb 2 15:05:44 CET 2010
Hello
I'm trying to setup a distributed nagios using complied nagios 3.2.0 .
I set up the NSCA and i can see the result being delivered to the
nagios (example below) :
remote nagios:
**** BEGIN MACRO PROCESSING ***********
[1265118755.249654] [2048.1] [pid=12343] Processing:
'/usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$
'$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$''
[1265118755.249670] [2048.1] [pid=12343] Done. Final output:
'/usr/local/nagios/libexec/eventhandlers/submit_check_result foo.bar
'HTTP' CRITICAL 'HTTP CRITICAL - No data received from host''
[1265118755.249691] [2048.1] [pid=12343] **** END MACRO PROCESSING
*************
[1265118755.249697] [001.0] [pid=12343] my_system()
[1265118755.249703] [256.1] [pid=12343] Running command
'/usr/local/nagios/libexec/eventhandlers/submit_check_result foo.bar
'HTTP' CRITICAL 'HTTP CRITICAL - No data received from host''...
Central Nagios :
Connection from xx.xx.xx.xx port 63416
nsca[6405]: Handling the connection...
nsca[6405]: SERVICE CHECK -> Host Name: 'foo.bar', Service Description:
'HTTP', Return Code: '0', Output: 'HTTP OK: HTTP/1.1 301 Moved
Permanently - 461 bytes in 0.081 second response time'
nsca[6405]: End of connection...
The problem is that the host/service on the central server stay in the
pending status and the web page does not change.
I have 4 hosts with only check_http defined as the check running on them
(both on the remote and the central nagios ).
when i force a check on a service - it comes up at ok ( as it should be
) , how can i make sure they start with out manual intervention ?
Thanks
Assaf
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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