Creating a custom Nagios/Centreon passive alerter

Scenario: This is very probably a familiar problem that any sysadmin must solve: Using your monitoring setup to receive alerts from other servers. Note the highlighted "receive". This is different from the standard poll / check that come out of the box with Nagios. Say for example, you would like to receive an alert whenever … Continue reading Creating a custom Nagios/Centreon passive alerter

Linux script for automatic notification of failed download

Scenario: We need a CentOS machine to periodically automatically download a file from a remote server on the internet. If this download fails for any reason, the network admin should be emailed to investigate further. Resolution: A simple cron job can be used which executes a download script. The following script was used: #!/bin/bash wget … Continue reading Linux script for automatic notification of failed download