[root@keno-ngos-01-pv ~]# /usr/local/nagios/libexec/check_ncpa.py -H <HOST> -t '<TOKEN>' -P 5693 -M 'plugins/check_process.pl' -q 'args=-C CPU,RAM'
UNKNOWN: Error occurred while running the plugin. Use the verbose flag for more details.
Hi,
You should use option "-a", if you want to pass in argument for your "check_process.pl" plugin.
You might need a proper perl modules installed on your WIndows as well.
I believe you must have picked up "check_process.pl" from Nagios Exchange.
Alright, I'm going to try having our server team look into installing the proper perl module. In the meantime, yes I did find this on the exchange, but I was wondering if there might be another plugin you'd recommend that monitors which windows processes are causing high CPU and/or RAM usage or if there's an easy way to do that built into NCPA?
Hi,
The check_ncpa.py can check if CPU or memory for the windows VM is normal or high based on the "-w" and "-c" values.
However, based on the URL below, the check_processes takes a list of allowed processes and returns warning and critical based on thresholds if processes NOT on the list are running. I'm not sure this is what you want. https://exchange.nagios.org/directory/P ... s)/details