jlosgar
Joined: 18 Jul 2007 Posts: 347
|
Posted: Wed Sep 10, 2008 2:31 pm Post subject: Retrieving Windows WMI information on Debian. |
|
|
Q. Is there a way to monitor Windows services from an InterMapper server installed on Debian?
A. There is a client called wmi-client for Debian that can connect to Windows WMI and run SQL-like queries to retrieve WMI information.
You can download the client from this website:
http://felimwhiteley.wordpress.com/2008/08/15/wmi-calls-from-linux/
Below is an example query and the output:
nm1:~# wmic -U domain/administrator%password //server-name "Select Name,State from Win32_Service where name='MSExchangeMTA'"
CLASS: Win32_Service
Name|State
MSExchangeMTA|Running
nm1:~#
You would need to create a command-line probe to launch the wmi-client. A user-contributed command-line probe (WMI Service Probe) can be downloaded from this link:
http://dartware.com/support/users/probes.html |
|