Monitoring hosts with unstable connection

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Monitoring hosts with unstable connection

Post by WillemDH »

Hello,

What would be the best way to monitor hosts that have an unstable connection. For example I have to monitor 40 traffic boards, which are connected to the network through gprs, which is very unstable. A board might have 30 - 90 % pl.

I would really need to avoid these boards showing up in open service problems : open host problems all the time. In fact I do not want any of these traffic boards to show up in open service problems. I will have to create a bpi group that says if 3 or more traffic board are having connection problems, I do need an alert.

Thanks for any advice about this setup.

Grtz

Willem
Nagios XI 5.8.1
https://outsideit.net
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Monitoring hosts with unstable connection

Post by tmcdonald »

Passive checks probably will be the best course to take. If they try to send and fail due to packet loss, Nagios won't know and won't mark them as Critical. The BPI part will be tricky because they need to be Critical in order for BPI to do its thing, and if they are Critical they will appear as problems. Somewhat of a Catch 22.
Former Nagios employee
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Monitoring hosts with unstable connection

Post by WillemDH »

Hey Trevor,

Thanks for the input, but passive checks are not enough, as the traffic boards are not able to send passive traps. I also need to check connection on a non usual port.

So would there be any other solution to prevent unstable hosts polluting the open service problems view?

Grtz

Willem
Nagios XI 5.8.1
https://outsideit.net
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Monitoring hosts with unstable connection

Post by lmiltchev »

Creating a BPI group and playing with the health thresholds would be probably a way to go.

http://assets.nagios.com/downloads/nagi ... _Addon.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Monitoring hosts with unstable connection

Post by WillemDH »

Ludmill,

Yes, that was the plan. But how do I prevent single traffic boards from showing up in open service problems?

Grtz
Nagios XI 5.8.1
https://outsideit.net
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Monitoring hosts with unstable connection

Post by tmcdonald »

I don't think that will be possible. BPI has no mechanism to overwrite what counts as a "real" problem and prevent it from showing as such.
Former Nagios employee
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Monitoring hosts with unstable connection

Post by WillemDH »

So there is no way to prevent hosts from showing up in the open service problems? I can't be the only person using Nagios who needs to monitor hosts with unstable connection?

I really like to keep the open service and hosts problems as clean as possible. I'm monitoring two traffic boards now that keep popping up in the open host problems, but I will have to add 45 more, which will be a nightmare for me...
We only need to be alerted when 3 or more traffic boards are having issues. Do you think my question is worth a feature request? A small checkbox to prevent hosts or services from showing up in open service / host problems would be enough.

Grtz

Willem
Nagios XI 5.8.1
https://outsideit.net
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Monitoring hosts with unstable connection

Post by tmcdonald »

WillemDH wrote:So there is no way to prevent hosts from showing up in the open service problems?
Not currently, no.
WillemDH wrote:I can't be the only person using Nagios who needs to monitor hosts with unstable connection?
Most people would mitigate this with an appropriate max check attempts value. It's a bit of a special situation though (90% pl is pretty high) so a perfect solution might not exist right now.
WillemDH wrote:Do you think my question is worth a feature request? A small checkbox to prevent hosts or services from showing up in open service / host problems would be enough.
Honestly I can see this being pretty useful, so I'd say so.
Former Nagios employee
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Monitoring hosts with unstable connection

Post by rajasegar »

WillemDH wrote:Hello,

What would be the best way to monitor hosts that have an unstable connection. For example I have to monitor 40 traffic boards, which are connected to the network through gprs, which is very unstable. A board might have 30 - 90 % pl.

I would really need to avoid these boards showing up in open service problems : open host problems all the time. In fact I do not want any of these traffic boards to show up in open service problems. I will have to create a bpi group that says if 3 or more traffic board are having connection problems, I do need an alert.

Thanks for any advice about this setup.

Grtz

Willem
Create a wrapper script to hold all the individual checks.
Capture how many groups are having connectivity problem.
If more than 3 then exit with error code 2.

You will only have a single check for all the groups.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Monitoring hosts with unstable connection

Post by WillemDH »

Thanks Rajasegar. Your suggestion seems like the best option at the moment.

Grtz.

Willem
Nagios XI 5.8.1
https://outsideit.net
Locked