When trying to get the custom time range for PNP4Nagios graphs, it might result in an error "application/models/data.php [664]:". It can easily resolved by editing "system.php"  in PNP4Nagios controllers folder. To start with first make a backup of the file.

# cp -a /usr/local/pnp4nagios/share/application/controllers/system.php /usr/local/pnp4nagios/share/application/controllers/system.php.bkp

Add a comment

This script is to monitor a failure when Nagios daemons fails to start or sometimes Nagios stops sending alerts. When you check the logs at "/usr/local/nagios/var/log/nagios.log" you might come across messages like "Caught SIGSEGV, shutting down". These messages need to be monitored and then fixed so that Nagios works in a proper fashion. This would be monitored via Cronjob on the host as Nagios itself won't be able to detect the failure.

Add a comment

Its possible to upgrade Nagios CORE to the latest version by just following these simple steps. This article covers upgrade, backup and restore in case of a failure.The Latest Version of Nagios CORE is 4.2.4 as of January,2017 for which you can download the Source files from Nagios Website. The process would involve stopping of Nagios and Apache service, compiling Nagios from source and then restart both the services. You need to be admin/Root user to implement the upgrade.

Add a comment

This is a easy-to-follow setup and config guide for of Cacti (Source install) on CentOS and Red Hat flavour OS. The setup is straightforward as it does not evolve any source code compiling but instead just a MySQL db setup and configuring users and permissions. The setup requires a user to have Root access to a Linux host.

Add a comment

Page 1 of 2

Most Read Articles

Add/Detect a new disk in ...

Written By Farooq Mohammed Ahmed on Sunday, 11 January 2015 19:22
Add/Detect a new disk in ...

Replace SSL Certificates ...

Written By Farooq Mohammed Ahmed on Friday, 16 December 2016 08:05
Replace SSL Certificates ...

Using awk in Alias Comman...

Written By Farooq Mohammed Ahmed on Friday, 19 February 2016 14:22
Using awk in Alias Comman...

Sed - Insert Text before ...

Written By Farooq Mohammed Ahmed on Monday, 20 November 2017 00:58
Sed - Insert Text before ...

Script to Monitor Nagios ...

Written By Farooq Mohammed Ahmed on Monday, 18 July 2016 22:48
Script to Monitor Nagios ...