On Thu, 23 Apr 2009, Dei Bertine wrote: > 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!
Each check_command you use needs to also be defined in your configuration somewhere: http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#command ------------------------------------------------------------------------------ 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 _______________________________________________ Nagios-users mailing list Nagios-users@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