Nagios User Crontab and pwd expiration issue
Posted: Tue Jan 22, 2013 6:51 pm
Hi Everyone.
I have been scratching my head a bit on a problem with my Nagios Server.
Server details
Rhel 5.8
Installed Version: 2012R1.4
I have two. One is our Main production server and that one is working fine. The other is our secondary server and it only monitors the primary monitoring server from offsite.
The secondary server was having all kinds of issues where it wasn't running any of the subsystem commands. I then discovered that the Nagios users' PWD had expired and this stopped cron from working.
After un-expiring the pwd cron started to fire up again and the sub-system started working. I then started seeing huge load on the system and notice that it was the /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php processes running from cron.
Upon looking at the main production I noticed that the nagios user doesn't have anything in its crontab. Which one is correct? As the production one is running smoothly without huge amounts of load, i'm starting to think that the secondary system shouldn't have anything in its crontab.
*Update -
I have commented out the nagios user's crontab and load appears to be reducing. The Subsystem processes are also running so I am going to assume that these are executed outside of the cron daemon.
Any advice would be greatly appreciated.
I have been scratching my head a bit on a problem with my Nagios Server.
Server details
Rhel 5.8
Installed Version: 2012R1.4
I have two. One is our Main production server and that one is working fine. The other is our secondary server and it only monitors the primary monitoring server from offsite.
The secondary server was having all kinds of issues where it wasn't running any of the subsystem commands. I then discovered that the Nagios users' PWD had expired and this stopped cron from working.
After un-expiring the pwd cron started to fire up again and the sub-system started working. I then started seeing huge load on the system and notice that it was the /usr/bin/php -q /usr/local/nagiosxi/cron/perfdataproc.php processes running from cron.
Upon looking at the main production I noticed that the nagios user doesn't have anything in its crontab. Which one is correct? As the production one is running smoothly without huge amounts of load, i'm starting to think that the secondary system shouldn't have anything in its crontab.
*Update -
I have commented out the nagios user's crontab and load appears to be reducing. The Subsystem processes are also running so I am going to assume that these are executed outside of the cron daemon.
Any advice would be greatly appreciated.