monitoring workstations

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
brose
Posts: 1
Joined: Mon Aug 25, 2014 6:08 am

monitoring workstations

Post by brose »

Hi all,

This is my first time with nagios, and I have installed nagios + nagiosql.

I'd like monitorize servers and workstations, but I have a problem with workstations...

Servers are 24x7 up, so there is no problem, but workstations, in the same time (depend each user), can be UP or DOWN..., so how can I say to nagios than monitorizes a workstation ONLY is if UP???

I try with "Check command" in blank for each workstation, but doesn' work...

Thanks in advance.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: monitoring workstations

Post by tmcdonald »

Passive checks would be a great solution in this case:

http://nagios.sourceforge.net/docs/3_0/ ... hecks.html

Essentially instead of Nagios performing an active check against the workstation, the workstation sends results to Nagios passively. That way if it is not powered on, Nagios will not receive updates.
Former Nagios employee
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: monitoring workstations

Post by JohnFLi »

You could also just set the check_period to represent work hours, or any other time frame.
Everybody is somebody else’s weirdo
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: monitoring workstations

Post by tmcdonald »

That would only work if people powered on/off their workstations *exactly* within that time frame. And then you have differing shifts, vacations, coming in early or staying late.
Former Nagios employee
User avatar
JohnFLi
Posts: 559
Joined: Mon Jun 17, 2013 3:11 pm

Re: monitoring workstations

Post by JohnFLi »

true.

I'll go wander off to my corner now. :?
Everybody is somebody else’s weirdo
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: monitoring workstations

Post by eloyd »

If you're really attached to active checks, you could put a dependency on all your services to be dependent upon a service check like check_ping or check_ssh or something that will prove that the machine is up/down. Turn off notifications for that check and you can also use it as a tracker for when your workstations were up or down.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: monitoring workstations

Post by tmcdonald »

@brose, did any of these solutions work for you?
Former Nagios employee
Locked