Page 1 of 1

monitoring workstations

Posted: Mon Aug 25, 2014 6:17 am
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.

Re: monitoring workstations

Posted: Mon Aug 25, 2014 9:31 am
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.

Re: monitoring workstations

Posted: Tue Aug 26, 2014 11:48 am
by JohnFLi
You could also just set the check_period to represent work hours, or any other time frame.

Re: monitoring workstations

Posted: Tue Aug 26, 2014 11:54 am
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.

Re: monitoring workstations

Posted: Tue Aug 26, 2014 3:57 pm
by JohnFLi
true.

I'll go wander off to my corner now. :?

Re: monitoring workstations

Posted: Tue Aug 26, 2014 4:01 pm
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.

Re: monitoring workstations

Posted: Tue Sep 02, 2014 3:19 pm
by tmcdonald
@brose, did any of these solutions work for you?