sample service

Scott lists.scott at themagicbox.net
Wed Aug 14 12:30:43 CEST 2002


Well, sorry about the delay, I have been reading, just not replying for a few odd days or weeks, anyway.. the result from setting up dependancies is a little tedious.

After being confused by the fact that a host dependancy is not actually related to a service dependancy I think I am finally ready to implement something half useable.

the problem is that a service consisting of a ping is still not related to a host being host_checked by a ping.. confusing or what!!

so if a service ping stops responding then a dependant will still be checked and show as unreachable.. damn annoying as I have all my hosts set with a ping * service by default.. :(

I do need the ping * service as I have lots of routers online and other than checking telnet ports all over the place this was the easiest way of adding a default service to a new host "on the fly"

so, unless you specifically have a dependant service I would always suggest using a host dependancy..

Thanks again

Scott
  ----- Original Message ----- 
  From: Matthew.Quinney at hollandandholland.com 
  To: Scott 
  Cc: nagios-users at lists.sourceforge.net ; nagios-users-admin at lists.sourceforge.net ; Volker.Aust at premiere.de 
  Sent: Thursday, August 08, 2002 9:09 PM
  Subject: Re: [Nagios-users] sample service



  Scott, 

  Let me know how you get on with service dependancies ! I cannot see how else you can do but define a list of service dependencies for each server !!! 

  Thanks ! 

  Matthew 

  ---------------------------------------------------------------------------------------------------
  Matthew Quinney
  Certified Lotus Specialist

  Network Manager
  Holland & Holland Ltd
  31-33 Bruton ST
  London

  Tel - 0207 4994411
  email - matthew.quinney at hollandandholland.com 


        "Scott" <lists.scott at themagicbox.net> 
        Sent by: nagios-users-admin at lists.sourceforge.net 
        08/08/2002 11:55 
       To <Volker.Aust at premiere.de>, <nagios-users at lists.sourceforge.net>  
              cc  
              bcc  
              Subject Re: [Nagios-users] sample service 

       



  Thanks so much for that, its exactly the information I was looking for...

  Now I have to figure this dependency thingy out... more fun and games...

  I now have 75 hosts and 105 services and its getting a little tricky to
  maintain information.

  Scott

  Thanks again people
  ----- Original Message -----
  From: <Volker.Aust at premiere.de>
  To: <nagios-users at lists.sourceforge.net>
  Cc: <lists.scott at themagicbox.net>
  Sent: Thursday, August 08, 2002 1:59 AM
  Subject: RE: [Nagios-users] sample service


  > Hi Scott,
  >
  > to disable active checks for a service you could set "check_period none"
  > (assuming you use the default timeperiods.cfg) or you can set
  > "active_checks_enabled 1" (then you have a red cross in all status-views
  and
  > you can change it with the web-interface).
  >
  > This is my template for passive service checks:
  >
  > # passive service definition template
  > define service{
  > use generic-service
  > name passive-service
  > check_command check-router-alive
  > max_check_attempts 1
  > active_checks_enabled 1
  > passive_checks_enabled 1
  > check_period none
  > notification_options c,r
  > register 0
  > }
  >
  > and this is a service:
  >
  > define service{
  > use passive-service
  > host_name cisco-as02
  > service_description Serial1/0
  > contact_groups router-admins,rz-leitstand,bk-wien
  > }
  >
  > Hope this helps.
  >
  > -vol
  >
  >
  > -----Original Message-----
  > From: Scott [mailto:lists.scott at themagicbox.net]
  > Sent: Wednesday, August 07, 2002 5:08 PM
  > To: nagios-users at lists.sourceforge.net
  > Subject: [Nagios-users] sample service
  >
  >
  > Hi every1,
  >
  > I have already asked this in the past and received no reply, this is what
  I
  > propose...
  >
  > could somebody please post a service define for a passive test for me to
  > use.. you may need the template to describe this correctly.
  >
  > I have set one up already but trying to completely disable active checks
  > seems to be impossible..
  >
  > Thanks in advance Nagios fans/friends and family
  >
  > Scott
  >
  >
  > -------------------------------------------------------
  > This sf.net email is sponsored by:ThinkGeek
  > Welcome to geek heaven.
  > http://thinkgeek.com/sf
  > _______________________________________________
  > Nagios-users mailing list
  > Nagios-users at lists.sourceforge.net
  > https://lists.sourceforge.net/lists/listinfo/nagios-users
  >



  -------------------------------------------------------
  This sf.net email is sponsored by:ThinkGeek
  Welcome to geek heaven.
  http://thinkgeek.com/sf
  _______________________________________________
  Nagios-users mailing list
  Nagios-users at lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/nagios-users

  _____________________________________________________________________
  This e-mail has been scanned for viruses by the uuNet Internet Managed Scanning Service - powered by MessageLabs.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20020814/2719c530/attachment.html>


More information about the Users mailing list