Re: Monitoring Microsoft Clusters
Posted: Mon Nov 23, 2015 3:22 pm
I'll leave this thread open for now then, please respond to it once we've finished working through NRPE and we will proceed at that point.
Support for Nagios products and services
https://support.nagios.com/forum/
Hello againrkennedy wrote:I'll leave this thread open for now then, please respond to it once we've finished working through NRPE and we will proceed at that point.
It is all pretty situational. Have you tried using the Windows Server Configuration Wizard? It can set up a lot of this for you with minimal complexity.dlukinski wrote:What is the best practice for configuring services to be monitored? (Resources like DISK, CPU, RAM and windows services)?
I rushed to conclusions a bithsmith wrote:It is all pretty situational. Have you tried using the Windows Server Configuration Wizard? It can set up a lot of this for you with minimal complexity.dlukinski wrote:What is the best practice for configuring services to be monitored? (Resources like DISK, CPU, RAM and windows services)?
rkennedy wrote:What is the check_command being used for that? Can you provide a screenshot?
You are passing two args. Can you try modifying your command according to the documentation (use one arg), run your check from the command line and show the output?VBScript to check MSCS ressources via NRPE (NSClient++ with NRPE Listener)
##########################################################################
Usage:
+++++
For use with NSClient++ please add the following line to your NSC.INI [NRPE Handlers]:
check_mscs=cscript.exe //T:30 //NoLogo scripts\check_mscs.vbs $ARG1$
and copy "check_mscs.vbs" into "scripts\" folder at each node. Refer to NSClient++ Documentation for using remote checks via NRPE.
###command definition###
define command {
command_name check_mscs
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -t 30 -c check_mscs -a $ARG1$
}
###service definition###
define service{
use generic-service
host_name MSCSSVC01
service_description MSCS Ressources
process_perf_data 0
check_command check_mscs!"RES Disk R:,Disk S:"
}
Please remember to point this check to the corresponding clustered ressource (type "network name" & "ip address") - not to a single node. (Of course you can use other methods, i.e. check_cluster)
What it does:
+++++++++++++
The plugin will accept the following parameters:
check_mscs.vbs RES [ressource list]
check_mscs.vbs NODE [node list]
...
Thank you, Looks like I misunderstood the entire concept.lmiltchev wrote:This is a 3rd party plugin, and I am not familiar with it, but according to the usage, you need to pass only one argument:
You are passing two args. Can you try modifying your command according to the documentation (use one arg), run your check from the command line and show the output?VBScript to check MSCS ressources via NRPE (NSClient++ with NRPE Listener)
##########################################################################
Usage:
+++++
For use with NSClient++ please add the following line to your NSC.INI [NRPE Handlers]:
check_mscs=cscript.exe //T:30 //NoLogo scripts\check_mscs.vbs $ARG1$
and copy "check_mscs.vbs" into "scripts\" folder at each node. Refer to NSClient++ Documentation for using remote checks via NRPE.
###command definition###
define command {
command_name check_mscs
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -t 30 -c check_mscs -a $ARG1$
}
###service definition###
define service{
use generic-service
host_name MSCSSVC01
service_description MSCS Ressources
process_perf_data 0
check_command check_mscs!"RES Disk R:,Disk S:"
}
Please remember to point this check to the corresponding clustered ressource (type "network name" & "ip address") - not to a single node. (Of course you can use other methods, i.e. check_cluster)
What it does:
+++++++++++++
The plugin will accept the following parameters:
check_mscs.vbs RES [ressource list]
check_mscs.vbs NODE [node list]
...