You could configure something easily with check_wmi_plus.  Quickly looking over 
the files, there is a similar query configured out of the box — you would just 
need to modify the wmic query that’s being used.  You could modify the 
`checkprintjob` or `checkprint` queries as needed.


On 1/11/16, 1:43 PM, "icinga-users on behalf of Michael Friedrich" 
<icinga-users-boun...@lists.icinga.org on behalf of 
michael.friedr...@netways.de> wrote:

>
>> On 10 Jan 2016, at 16:56, felix1761 <felix1...@gmail.com> wrote:
>>
>> Hi
>>
>> Is anyone familiar with checking Windows print queues?
>
>No, but if it provides an interface to query one could write a plugin, or look 
>for one someone else already implemented :)
>
>> We need a generic check that will tell us if any print queue is not in an 
>> online state (any offline status).  Don't need to know particular queue nor 
>> the exact issue, just something to provide an alert that we should check all 
>> the queues on a host.
>>
>> Is there an check_nt that will do this?  I found a WMI script that may do 
>> this with a mod.  Would the script have to exist on every print server or 
>> can Icinga remote execute a WMI script local to the monitoring server?
>
>If WMI is exposed via network you might just execute the script on the Icinga 
>2 Linux host.
>
>>
>> I'm not the Icinga admin, using the forums to learn more and discuss/help an 
>> overloaded admin.
>>  Thanks for any ideas
>
>Try to manually test the plugin as Icinga user, and find one for your likings. 
>After that create a CheckCommand definition and integrate it into your 
>monitoring system :)
>
>Kind regards,
>Michael
>
>>
>> Sent from my iPad
>> _______________________________________________
>> icinga-users mailing list
>> icinga-users@lists.icinga.org
>> https://lists.icinga.org/mailman/listinfo/icinga-users
>
>
>-- 
>Michael Friedrich, DI (FH)
>Senior Developer
>
>NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
>Tel: +49 911 92885-0 | Fax: +49 911 92885-77
>CEO: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
>http://www.netways.de | michael.friedr...@netways.de
>
>** OSDC 2016 - April - netways.de/osdc **
>** OSBConf 2016 - September - osbconf.org **
>_______________________________________________
>icinga-users mailing list
>icinga-users@lists.icinga.org
>https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to