I'm a long-time user of Nagios with active checks. Today I started using
passive checks with NSCA and I'm having a problem.
The documentation states "A service must be defined in Nagios before you
can submit passive check results for it".
I defined a config block like this, to define a service for the Oracle
service that I want to monitor passively - omitting the check_command
directive.
define service {
service_description Oracle
host_name oddjob.resnet.bris.ac.uk
use resnet-service
}
But running nagios -v gives this output:
Error: Service description, host name, or check command is NULL
Error: Could not register service (config file
'/etc/nagios/nagios_service.cfg', starting on line 8618)
Error processing object config files!
So what's the approved way of defining a service without specifying a
command for active checks?
Thanks,
Jonathan
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagios-users mailing list
[email protected]
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