Unable to Pull Metrics from Windows Server using NRPE
Posted: Tue Jan 26, 2021 12:16 pm
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.
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.