From: Marcel M. F. S. <ms...@uo...> - 2006-11-29 19:20:31
|
On Wed, 2006-11-29 at 11:02 -0600, Russell Adams wrote: > That sounds like a service definition from one of the included > examples. Make sure you haven't copied the examples into your > production configuration. I don't think that is the case at all. She is running a discovery script that generates services entries, but not command entries. From what the configuration check says:=20 "... check command 'CheckSNMPDisk' specified in service 'Disk /var' for host '192.168.1.136' not defined anywhere." It cannot be any of the included sample config files, because there are no checkcommand with that name at all. Mara, you should declare your command definition to fit your services definition. Marcel. >=20 > Russell >=20 > On Wed, Nov 29, 2006 at 05:40:06PM +0100, Mara Laureti wrote: > > Hi list > >=20 > > I used NACE for network discovery. I used I"QueryNetwork.sh" script = and I > > find hosts.I have some problems with services. > >=20 > > NACE finds this service: > >=20 > > define service { > > contact_groups HomeAdmins > > host_name 192.168.1.136 > > check_command CheckSNMPDisk!^/var$!80!90 > > service_description Disk /var > > use DiskServiceTemplate > > } > >=20 > > I start a check for configuration files and I have this error: > >=20 > > Error: Service check command 'CheckSNMPDisk' specified in service = 'Disk > > /var' for host '192.168.1.136' not defined anywhere! > >=20 > > Can you help me? > >=20 > > Thanks, > > Mara > >=20 > >=20 > > Nagios-version nagios2.5 > > Plugin-version nagios-plugin-1.4.5 >=20 > > = -------------------------------------------------------------------------= > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to = share your > > opinions on IT & business topics through brief surveys - and earn = cash > > = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nag...@li... > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when = reporting any issue.=20 > > ::: Messages without supporting info will risk being sent to = /dev/null > ------------------------------------------------------------------ > Russell Adams RLAdams@AdamsInfoServ.com >=20 > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ >=20 > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 >=20 > = -------------------------------------------------------------------------= > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to = share your > opinions on IT & business topics through brief surveys - and earn cash > = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Nagios-users mailing list > Nag...@li... > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when = reporting any issue.=20 > ::: Messages without supporting info will risk being sent to /dev/null AVISO: A informa=E7=E3o contida neste e-mail, bem como em qualquer de = seus anexos, =E9 CONFIDENCIAL e destinada ao uso exclusivo do(s) = destinat=E1rio(s) acima referido(s), podendo conter informa=E7=F5es = sigilosas e/ou legalmente protegidas. Caso voc=EA n=E3o seja o = destinat=E1rio desta mensagem, informamos que qualquer divulga=E7=E3o, = distribui=E7=E3o ou c=F3pia deste e-mail e/ou de qualquer de seus anexos = =E9 absolutamente proibida. Solicitamos que o remetente seja comunicado = imediatamente, respondendo esta mensagem, e que o original desta = mensagem e de seus anexos, bem como toda e qualquer c=F3pia e/ou = impress=E3o realizada a partir destes, sejam permanentemente apagados = e/ou destru=EDdos. Informa=E7=F5es adicionais sobre nossa empresa podem = ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments = thereto is CONFIDENTIAL and is intended only for use by the recipient = named herein and may contain legally privileged and/or secret = information. If you are not the e-mail=B4s intended recipient, you are = hereby notified that any dissemination, distribution or copy of this = e-mail, and/or any attachments thereto, is strictly prohibited. Please = immediately notify the sender replying to the above mentioned e-mail = address, and permanently delete and/or destroy the original and any copy = of this e-mail and/or its attachments, as well as any printout thereof. = Additional information about our company may be obtained through the = site http://www.uol.com.br/ir/. |