We are currently using the NSClient++ with NRPE on our Windows Servers, and monitoring works fine.
However, we are currently attempting to build a monthly status report using the metrics in Nagios XI.
This works fine for our Linux Environment, but we get no data for our Windows Servers.
I am certain this is due to the configuration of our NRPE commands not being interpretable by the Metrics configuration, and I am trying to discern how I could rectify this, either by changing our commands so they match the expected formatting for metrics, or by any other method.
I am currently working on disk usage, our current command is like so:
check_nrpe -2 -H $HOSTADDRESS$ -t 30 -c check_drivesize -a drive=C warn="used gt 80%" crit="used gt 90%" detail-syntax="%(used)/%(size) used" show-all
Any ideas on how this could be accomplished.
Unable to Pull Metrics from Windows Server using NRPE
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Unable to Pull Metrics from Windows Server using NRPE
Hi @jwest34,
The Metrics component has to grab the performance data and match this up to the categories, CPU, Disk Usage, Load, and Swap based on check commands. It will work with check results coming back from the NCPA agent, but it looks like it's not catching this particular check command ( see utils-metrics.inc.php).
I'd have to put in a feature request on this one or you could try to modify it ( keep in mind any upgrades would overwrite the changes).
Let us know if you have further questions.
Regards.
Benjamin
The Metrics component has to grab the performance data and match this up to the categories, CPU, Disk Usage, Load, and Swap based on check commands. It will work with check results coming back from the NCPA agent, but it looks like it's not catching this particular check command ( see utils-metrics.inc.php).
I'd have to put in a feature request on this one or you could try to modify it ( keep in mind any upgrades would overwrite the changes).
Let us know if you have further questions.
Regards.
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!