Unhandled hosts down

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
litsupport.box
Posts: 80
Joined: Wed Apr 02, 2014 7:24 am

Unhandled hosts down

Post by litsupport.box »

Hello again,

I wan't to know if i can let nagios ignore hosts that are up but seem to be down because the mod gearman worker is off.

This is the view i get when my worker is down:
Image
I only want to see the nagios worker

this is what my host says:

Code: Select all

host check orphaned, is the mod-gearman worker on queue 'hostgroup_za_hosts' running?
I only like to know if its possible to only show the worker when it's down and not it's tree of hosts under the parent host.

kind regards,

farid
Nagios XI Version : 2014R2.6
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Unhandled hosts down

Post by jdalrymple »

Right out of the gate I can say it's likely possible to suppress notifications and check executions with host and service dependencies. Suppressing viewing them in your XI console is going to be more tricky (less possible).

To achieve what I did mention define a host something like gearman_dummy and make it's check_command check_gearman, then of course narrow the scope of check_gearman to the appropriate worker. All of the proper hosts (that gearman's hostgroup presumably) could have a dependency on that fake host you made.

Something similar with services if you want, but no need to make a "dummy" service per-se since gearman is already a useful service to check.

I don't expect that answers your question fully, but it's some starter information to chew on...
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Unhandled hosts down

Post by BanditBBS »

Dependencies are one way to go, but you could also set that worker as the parent to those other devices. Then if it ever goes down they'd be marked as unreachable instead of down and you'd also have a network blocking outage listed on the tactical overview.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Unhandled hosts down

Post by ssax »

litsupport.box, will jdalrymple's or BanditBBS's solutions work for you?
litsupport.box
Posts: 80
Joined: Wed Apr 02, 2014 7:24 am

Re: Unhandled hosts down

Post by litsupport.box »

BanditBBS wrote:Dependencies are one way to go, but you could also set that worker as the parent to those other devices. Then if it ever goes down they'd be marked as unreachable instead of down and you'd also have a network blocking outage listed on the tactical overview.
What do you mean exactly? I already have my worker setup as Parent of all devices on that location. It does it's job but it reports all hosts that are down, if the parent is down i want nagios to only report the parent instead of all hosts.
Nagios XI Version : 2014R2.6
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Unhandled hosts down

Post by jdalrymple »

If it's a parent - proper it should report them as UNREACHABLE instead of DOWN. Is that not the behavior you're seeing?

If it's working right - just disable notifications for U.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Unhandled hosts down

Post by BanditBBS »

jdalrymple wrote:If it's a parent - proper it should report them as UNREACHABLE instead of DOWN. Is that not the behavior you're seeing?

If it's working right - just disable notifications for U.
On top of that, I think(can't verify at the moment) that because they are UNREACHABLE instead of down that the do not show up on unhandled lists.

But yeah, what JD said, if it is set as parent then they should not be listed as down, if you aren't seeing that, then something else is wrong.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
litsupport.box
Posts: 80
Joined: Wed Apr 02, 2014 7:24 am

Re: Unhandled hosts down

Post by litsupport.box »

I'll test this again. i will update this post later today.
Nagios XI Version : 2014R2.6
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Unhandled hosts down

Post by tmcdonald »

Anything new to share?
Former Nagios employee
litsupport.box
Posts: 80
Joined: Wed Apr 02, 2014 7:24 am

Re: Unhandled hosts down

Post by litsupport.box »

I'm cleaning up nagios a little bit, when i'm done im going to configure nagios again to have its structure back with the parents etc. I hope this fixes my problem. I'll update as soon as possible.
Nagios XI Version : 2014R2.6
fqdn 2.6.32-431.17.1.el6.x86_64 x86_64
CentOS release 6.5 (Final)
Gnome is not installed
Proxy appears to be in use
VMware Image
Mod Gearman
Locked