NSClient reports “Request string contained illegal metachars!”

I as recently compiling an external script within Nagios XI to run using the NSClient where upon execution I was receiving the following message in the nsclient.log: 2013-11-21 17:02:10: error:modules\CheckExternalScripts\CheckExternalScripts.cpp:202: Request string contained illegal metachars! This is due to the NRPE daemon by default not accepting the use of the the characters `&><‘”\[]{} in arguments. … More NSClient reports “Request string contained illegal metachars!”

Nagios XI and Ubuntu returns ‘CHECK_NRPE: Received 0 bytes from daemon’.

When monitoring a remote Ubuntu server which Nagios XI I was receiving the below unknown message for the service status: CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. Following investigation , I noticed the following entry in /var/log/syslog: Nov 11 15:24:58 nrpe[7768]: Error: Request contained command arguments, but argument … More Nagios XI and Ubuntu returns ‘CHECK_NRPE: Received 0 bytes from daemon’.

Reporting Scheduled Task status in Nagios

I was recently looking at reporting the status of scheduled tasks to Nagios, where the requirements were as follows: Return scheduled tasks that have run successfully in the previous day with status ‘OK’ Return scheduled tasks that have not run succesfully or tasks where the last run time was before the previous day with the … More Reporting Scheduled Task status in Nagios

Return AWS Service Health Dashboard details to Nagios

I was recently looking into returning service details from the AWS Service Health Dashboard to Nagios where any service issues would be reported as a critical state and remain with this status for the duration of the publication date. I was able to do this by using the Invoke-RestMethod in Windows Powershell by querying a … More Return AWS Service Health Dashboard details to Nagios