Hosts with no services?

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Fri Jun 27 23:16:19 CEST 2003


Doh... excellent point.  Perhaps check_dummy could be implemented
as an alternate host check, and then use check_ping for the service?

jc

> -----Original Message-----
> From: Dean Bishop [mailto:dbishop at ehvert.com]
> Sent: Friday, June 27, 2003 2:59 PM
> To: 'Rivanor P. Soares'; John Senior; 
> nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Hosts with no services?
> 
> 
> Hey,
> 	Just a thought...  Using check_dummy will not check the 
> host.  In
> fact, the host will never get checked because the host check 
> (as defined in
> hosts.cfg) is only run if a service check fails.  You would 
> probably be best
> off to use check-host-alive as your service check.  This 
> would be fairly
> efficient and it would actually check your device's state.
> 
> 
> This being said, check-host-alive uses 4 icmp packets as its 
> test.  Defining
> another checkcommand that uses check_ping -H blah -c 1 would 
> be faster.
> 
> Using something like check_tcp -H blah -p ## on one of the 
> services that you
> don't care about would be fast too and potentially more reliable.
> 
> My 2 cents...keep the change.
> 
> Regards,
> dean
> 
> -----Original Message-----
> From: Rivanor P. Soares [mailto:rivanor at linuxmail.org] 
> Sent: June 27, 2003 3:01 PM
> To: John Senior; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Hosts with no services?
> 
> John,
> 
> I agree with you. It happens with me too. Many network 
> devices (switches,
> routers...) don't run any service, just telnet.
> The solution I am using, but I think it is not the best one, 
> is doing a ping
> in all hosts.
> But, what about this this check_dummy? How does it work? I 
> realized that it
> returns a certain status by a string passed to it (0, OK 
> status; 1, warning
> level; 2, critical; 3, unknow). How to check remote hosts?
> 
> Thaks and regards,
> 
> ----- Original Message -----
> From: "John Senior" <js at irishbroadband.ie>
> Date: Thu, 26 Jun 2003 13:15:43 +0100 
> To: <nagios-users at lists.sourceforge.net>
> Subject: RE: [Nagios-users] Hosts with no services?
> 
> > I disagree - I have many many devices on my network that I just need
> > to
> > know are alive with a ping - these devices just provide 
> connectivity,
> > things
> > like switches, customer routers etc.  A simple ping is all that's
> > required,
> > no more.  I have plenty of hosts with more complex services (web,
> > mail, dns
> > etc.) that Nagios fits fine - but sometimes a ping is enough.  I too
> > am using
> > fping to provide the kind of info that I would rather integrate into
> > Nagios.
> > 
> > Regards,
> > 
> > John.
> > 
> > --
> > John Senior <js at irishbroadband.ie>
> > 
> > > -----Original Message-----
> > > From: nagios-users-admin at lists.sourceforge.net
> > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Dr.
> > Dave
> > > Blunt
> > > Sent: 26 June 2003 04:54
> > > To: 'Carroll, Jim P [Contractor]'; 'Furnish, Trever G'
> > > Cc: 'Nagios-Users List (E-mail)'
> > > Subject: RE: [Nagios-users] Hosts with no services?
> > >
> > >
> > > Hi,
> > >
> > > I think I agree with Jim.  I guess I don't see why you 
> would care if
> > a
> > > system was up if you didn't care about [...]
> > >
> > >
> > > Dr. Dave Blunt
> > > Manager of Information Technology, Virage, Inc.
> > > 411 Borel Ave., Suite 100S
> > > San Mateo, CA 94402
> > >
> > > -----Original Message-----
> > > From: nagios-users-admin at lists.sourceforge.net
> > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf
> > > Of Carroll,
> > > Jim P [Contractor]
> > > Sent: Wednesday, June 25, 2003 5:54 PM
> > > To: Furnish, Trever G
> > > Cc: Nagios-Users List (E-mail)
> > > Subject: RE: [Nagios-users] Hosts with no services?
> > >
> > >
> > > I suppose you could use check_dummy for your service 
> check.  Caveat:
> > > I've experienced hosts which are pingable but are otherwise
> > > worthless/dead.  You've stated yourself that you need to know that
> > the
> > > box is alive.  So what constitutes 'alive'?   [...]
> > > jc
> > >
> > >
> > > > -----Original Message-----
> > > > From: Furnish, Trever G [mailto:TGFurnish at herff-jones.com]
> > > > Sent: Wednesday, June 25, 2003 2:16 PM
> > > > To: Carroll, Jim P [Contractor]
> > > > Cc: Nagios-Users List (E-mail)
> > > > Subject: RE: [Nagios-users] Hosts with no services?
> > > >
> > > >
> > > > But why should you monitor something you don't care about,
> > > generating
> > > > needless traffic and cpu overhead?
> > > >
> > > > I too do a ping in the host check and a redundant ping
> > > > service check - but
> > > > it's still a waste.  Sure there are other services on the
> > > > box, but I don't
> > > > need to monitor them --  [...]
> > > >
> > > > -t.
> 
> --
> Rivanor P. Soares [w3b_kn0ws]
> LPIC-1, CCNA
> Sao Paulo - SP
> Brazil
> 
> -- 
> ______________________________________________
> http://www.linuxmail.org/
> Now with e-mail forwarding for only US$5.95/yr
> 
> Powered by Outblaze
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_06
1203_01/01
_______________________________________________
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


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
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


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
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