Monitor Third Party Software from Windows

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
piktoy
Posts: 24
Joined: Fri Jul 06, 2012 10:13 am

Monitor Third Party Software from Windows

Post by piktoy »

Hi,

Is there any solutions you can provide from my querries.

I need to monitor the status of the third party software service that are currently installed from windows machine.

Scenario:
Windows installed with 3rd party software, and inside the software there is a application service that we need to check whether this particular status change from active to inactive( vice versa) so it will reflect on our monitoring screen when it turns inactive.

Is this possible, i know the nsclient and windows snmp monitoring can check all the windows services, not sure if another application is concerned.

Please revert thanks.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Monitor Third Party Software from Windows

Post by sreinhardt »

Yes either of the mentioned above would be able to monitor if a process is running, WMI would also be an option. Are you just looking to see if the application is running, query the application somehow, or what exactly are you looking to verify and ideally how would you check this?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
piktoy
Posts: 24
Joined: Fri Jul 06, 2012 10:13 am

Re: Monitor Third Party Software from Windows

Post by piktoy »

sreinhardt wrote:Yes either of the mentioned above would be able to monitor if a process is running, WMI would also be an option. Are you just looking to see if the application is running, query the application somehow, or what exactly are you looking to verify and ideally how would you check this?

the third party application has a services like in windows, that will show the status whether active or inactive. require to monitor is the service of the applications, if the status change to active or inactive? possible? how the WMI works and where can i start is there any guides?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Monitor Third Party Software from Windows

Post by lmiltchev »

Here is our documentation on monitoring Windows via WMI:

http://assets.nagios.com/downloads/nagi ... ng_WMI.pdf

You can view the plugin's usage by typing in the command line:

Code: Select all

/usr/local/nagios/libexec/check_wmi_plus.pl -h
A sample check from the command line would be:

Code: Select all

/usr/local/nagios/libexec/check_wmi_plus.pl -H <ip address> -u '<username>' -p '<password>' -m checkservice -s Commandline -a 'Spooler.exe'
OK - Found 0 Services(s), 0 OK and 0 with problems (0 excluded). |'Total Service Count'=0; 'Service Count OK State'=0; 'Service Count Problem State'=0; 'Excluded Service Count'=0;
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked