Page 1 of 1

Monitoring status of windows print queue?

Posted: Thu Sep 05, 2013 8:59 am
by Winston Smith
I've been trying to find a way to monitor a Windows (2K8) Print Queue with Nagios, but can't find what I'm looking for in pre-defined terms, and can't find a comprehensive list of check_nt command variables or canned generic service checks. Can anyone point me in the right direction, or tell me if this is even possible?

I want an alert if the Print Queue is inactive for 8 hours.

Seems pretty straight forward, but so far the solution is eluding me.

Thanks

Re: Monitoring status of windows print queue?

Posted: Thu Sep 05, 2013 9:31 am
by sreinhardt
This is not something that check_nt has by default, however you may be able to find this in a performance monitor. By idle, do you mean no jobs have been submitted, or that a job has been stuck for 8 hours? I you mean the former, I think this would be very hard to define unless you can pull the time last job was printed and compare with the current time. I do not know if this data is stored though.

edit: Using this link to find the print queue performance counters, there is nothing of date\time stamps. Only numeric values for number of jobs, problems, and such. Maybe with a bit more explanation I can find something else that would work for you.

Re: Monitoring status of windows print queue?

Posted: Thu Sep 05, 2013 10:17 am
by Winston Smith
You are correct: if no jobs have been submitted for 8 hours, I want to be notified.

Re: Monitoring status of windows print queue?

Posted: Tue Sep 10, 2013 3:34 pm
by slansing
Were you able to find a performance counter that would work for you?

Re: Monitoring status of windows print queue?

Posted: Wed Oct 09, 2013 10:11 am
by Winston Smith
No. still not resolved