Monitoring applications in Program Files?
-
mike.wezesa
- Posts: 9
- Joined: Wed May 02, 2012 2:50 pm
Monitoring applications in Program Files?
I can't seem to get the syntax right when using either the configuration wizard or by creating a new service from core config manager. Can someone help me out real quick?
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitoring applications in Program Files?
Can you explain a little more detailed what you want to accomplish and what you have tried so far.
Thanks
Thanks
-
mike.wezesa
- Posts: 9
- Joined: Wed May 02, 2012 2:50 pm
Re: Monitoring applications in Program Files?
For example we use a source control software called Perforce and I want to monitor it's service to ensure it is running. This service is located in: C:\Program Files (x86)\Perforce\p4s.exe, how would I enter that into the argument in the service configuration/when I am running the configuration wizard? I've tried specifying the full path but it does not work.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Monitoring applications in Program Files?
You should be able to just enter p4s.exe
Re: Monitoring applications in Program Files?
What is the wizard that you are using?
I ran the Windows WMI Monitoring Wizard. In the "Processes" section I entered:
Windows Process = p4v.exe
Display Name = Perfor Visual Client
I selected the check-box...
The end result:
Are you doing something else?
I ran the Windows WMI Monitoring Wizard. In the "Processes" section I entered:
Windows Process = p4v.exe
Display Name = Perfor Visual Client
I selected the check-box...
The end result:
Are you doing something else?
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
mike.wezesa
- Posts: 9
- Joined: Wed May 02, 2012 2:50 pm
Re: Monitoring applications in Program Files?
I was using the "Windows Server" selection under the configuration wizards and attempting to put p4s in either the "services" or "processes" boxes within that wizard, it was unable to find any details on the service using that method.
I've now tried using the Windows WMI wizard and am getting the following status for all services "A valid MODE and/or SUBMODE must be specified ", here is what the syntax of the monitoring command looks like: check_xi_service_wmiplus!'domain\user'!'password'!checkcpu!-w '80' -c '90' Does it not like how I am presenting the credentials?
I've now tried using the Windows WMI wizard and am getting the following status for all services "A valid MODE and/or SUBMODE must be specified ", here is what the syntax of the monitoring command looks like: check_xi_service_wmiplus!'domain\user'!'password'!checkcpu!-w '80' -c '90' Does it not like how I am presenting the credentials?
Re: Monitoring applications in Program Files?
Did you follow our documentation on WMI? Please, review these two links and make sure that you follow the docs.
http://assets.nagios.com/downloads/nagi ... For_XI.pdf
http://assets.nagios.com/downloads/nagi ... ng_WMI.pdf
The check that you are showing has nothing to do with p4v.exe. Are you having issues with installing/using the WMI wizard?
http://assets.nagios.com/downloads/nagi ... For_XI.pdf
http://assets.nagios.com/downloads/nagi ... ng_WMI.pdf
The check that you are showing has nothing to do with p4v.exe. Are you having issues with installing/using the WMI wizard?
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
mike.wezesa
- Posts: 9
- Joined: Wed May 02, 2012 2:50 pm
Re: Monitoring applications in Program Files?
Thanks for the links, I didn't realize I had extra work to do on the client other than just running the wizard, it is now returning valid data back to the XI server!
Re: Monitoring applications in Program Files?
Thats great! I'm gonna mark this topic and resolved, please feel free to ask anymore questions if you have them.
Nicholas Scott
Former Nagios employee
Former Nagios employee