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

Monitoring status of AWS EC2 Snapshots within Nagios

I recently wrote a script to automate the creation of snapshots for EBS volumes for Amazon EC2 instances (https://deangrant.wordpress.com/2013/08/06/aws-create-ec2-snapshot-based-on-metadata-tag-value/). Following on from this I wanted to report the status of snapshots completed and return this status to Nagios. This was to be achieved by comparing the number of EBS volumes that contained a specific metadata tag … More Monitoring status of AWS EC2 Snapshots within Nagios

Checking Free Disk Space on NTFS Volume Mount Points in Nagios

As part of creating external scripts within Nagios I was required to create a script which would monitor NTFS volume mount points which is not available in the default monitoring wizard. As the script was to be run against a number of different volume mount points, I did not want to create multiple scripts as … More Checking Free Disk Space on NTFS Volume Mount Points in Nagios

Creating and Running External Scripts within Nagios XI

As part of the Nagios XI Infrastructure Monitoring solution there is the ability to compile external scripts outside of the monitoring wizard defaults. In order to run the external scripts, there a number of changes required to be made to the configuration file (C:\Program Files\NSClient++\NSC.ini). Firstly, we need to enable the NPRE Listener and Check … More Creating and Running External Scripts within Nagios XI