I agree, she is lacking a service definition.

However, CG HomeAdmins and that check command are right from the
examples that I used from my testing network when I wrote it. ;]

Russell

On Wed, Nov 29, 2006 at 05:21:33PM -0200, Marcel Mitsuto Fucatu Sugano wrote:
> 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: 
> 
> "... 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.
> 
> 
> 
> > 
> > Russell
> > 
> > On Wed, Nov 29, 2006 at 05:40:06PM +0100, Mara Laureti wrote:
> > > Hi list
> > > 
> > > I used NACE for network discovery. I used I"QueryNetwork.sh" script and I
> > > find hosts.I have some problems with services.
> > > 
> > > NACE finds this service:
> > > 
> > > define service {
> > >        contact_groups  HomeAdmins
> > >        host_name       192.168.1.136
> > >        check_command   CheckSNMPDisk!^/var$!80!90
> > >        service_description     Disk /var
> > >        use     DiskServiceTemplate
> > > }
> > > 
> > > I start a check for configuration files and I have this error:
> > > 
> > > Error: Service check command 'CheckSNMPDisk' specified in service 'Disk
> > > /var' for host '192.168.1.136' not defined anywhere!
> > > 
> > > Can you help me?
> > > 
> > > Thanks,
> > > Mara
> > > 
> > > 
> > > Nagios-version nagios2.5
> > > Plugin-version nagios-plugin-1.4.5
> > 
> > > -------------------------------------------------------------------------
> > > 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=join.php&p=sourceforge&CID=DEVDEV
> > > _______________________________________________
> > > 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
> > ------------------------------------------------------------------
> > Russell Adams                            [EMAIL PROTECTED]
> > 
> > PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/
> > 
> > Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3
> > 
> > -------------------------------------------------------------------------
> > 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=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > 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
> 
> 
> AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus 
> anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) 
> acima referido(s), podendo conter informa??es sigilosas e/ou legalmente 
> protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que 
> qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de 
> seus anexos ? 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?pia e/ou impress?o 
> realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. 
> Informa??es 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?s 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/.
------------------------------------------------------------------
Russell Adams                            [EMAIL PROTECTED]

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

-------------------------------------------------------------------------
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=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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

Reply via email to