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

Nagios XI: CHECK_NRPE: Socket timeout after 30 seconds.

I recently had an issue with an external script within Nagios which used the check_npre command to run a number of performance tests from Apache JMeter. On running the scheduled check for the first time, this would fail with the following: CHECK_NRPE: Socket timeout after 30 seconds. The initial service check exceeded the configured NRPE … More Nagios XI: CHECK_NRPE: Socket timeout after 30 seconds.

Modifying incorrect timezone in Nagios XI web console

I was recently looking at the last check times within Nagios XI web console, I noticed that the timestamp was incorrect in comparison to the system time on the Nagios XI system (CentOS). On browsing to Admin > System Config > System Profile, the PHP timezone was incorrect and set to be ‘America/Chicago’. In order … More Modifying incorrect timezone in Nagios XI web console