(Urgent HELP)Third Party Tools That Can Monitor Any Win Serv

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mohsin2011
Posts: 63
Joined: Fri Sep 09, 2011 1:14 am

(Urgent HELP)Third Party Tools That Can Monitor Any Win Serv

Post by mohsin2011 »

hi,

please let me know about any third party tool or web apps that can monitor any Windows apps that we want in Nagios ?? Remember i have used nsclient for windows monitoring but it monitors particular services but i want to monitor any windows service that i want ..

Hopes for your suggestions !

Thanks in Advance!
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: (Urgent HELP)Third Party Tools That Can Monitor Any Win

Post by jsmurphy »

NSClient++ will monitor any service. It's not particularly straight forward though when you first read the doco though, these are some config examples

Monitor all automatic services (excluding MSI and Sysmon):
define command {
command_name check_auto_services_nrpe
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -u -c CheckServiceState -p 5666 -a CheckAll exclude=MSIServer exclude=SysmonLog
}

Monitor exchange 2k7 services:
command_name check_exchange_svcs
command_line $USER1$/check_nt -H $HOSTADDRESS$ -u -s nagios -p 12489 -v SERVICESTATE -d SHOWALL -l MSExchangeADTopology,MSExchangeFDS,MSExchangeIS,MSExchangeMailSubmission,MSExchangeMailboxAssistants,MSExchangeRepl,MSExchangeServiceHost,MSExchangeSA,MSExchangeTransport,MSExchangeTransportLogSearch,MSDTC
}

Now you will notice that one uses CHECK_NT and one uses CHECK_NRPE... there are different toolsets available in NSClient++ depending which you use. The NSClient doco isn't the most clear, but the information is there.
mohsin2011
Posts: 63
Joined: Fri Sep 09, 2011 1:14 am

Re: (Urgent HELP)Third Party Tools That Can Monitor Any Win

Post by mohsin2011 »

Hi,

i am trying to monitor VNC service via NSclient but getting error i have used this link for configuration,

http://www.kernelhardware.org/nagios-ns ... -services/

but i am getting error ..

[root@localhost ~]# service nagios restartRunning configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration.


[root@localhost ~]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Nagios Core 3.3.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 07-25-2011
License: GPL

Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config file '/usr/local/nagios/etc/objects/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/templates.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/localhost.cfg'...
Processing object config file '/usr/local/nagios/etc/objects/windows.cfg'...
Error: Could not find any hostgroup matching 'musewerx-72c7b0' (config file '/usr/local/nagios/etc/objects/windows.cfg', starting on line 156)
Error processing object config files!


***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data defintions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.

hopes for your suggestions ...

Thanks in Advance,
Locked