Service Definition
Dei Bertine
deibertine at yahoo.com
Thu Apr 23 23:34:25 CEST 2009
Hi all,
Hoping someone can give me guidance on this.
I'm trying to set-up monitoring on our routers in which I already followed this doc:
http://nagios.sourceforge.net/docs/3_0/monitoring-routers.html
I'm doing snmp at this point and trying to define the service to my hosts then I get this error when verifying:
Error: Service check command 'check_snmp' specified in service 'PING-NET' for host 'cisco-router' not defined anywhere!
Here's a sample of my cfg:
define service{
use local-service ; Inherit values from a template
host_name cisco-router ; The name of the host the service is associated with
service_description PING-NET ; The service description
check_command check_snmp!-C public -o sysUpTime.0 ; The command used to monitor the service
normal_check_interval 5 ; Check the service every 5 minutes under normal conditions
retry_check_interval 1 ; Re-check the service every minute until its final/hard state is determined
}
Any ideas?
Need expert advise please.
Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090423/29db4adf/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
-------------- next part --------------
_______________________________________________
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