Event Log empty.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mccollege
Posts: 45
Joined: Fri Jan 14, 2011 10:06 am

Event Log empty.

Post by mccollege »

Hi,

Since upgrading from 2011R1.8 to 2012R1.3 the Event Log is empty or not displaying anything.

Thanks,
Mark
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Event Log empty.

Post by slansing »

The Event log is populated by a parsed form of nagios.log, lets start at the ground level..can you run the following and let me know what it outputs?

Code: Select all

ls -l /usr/local/nagios/var/nagios.log

tail /usr/local/nagios/var/nagios.log
mccollege
Posts: 45
Joined: Fri Jan 14, 2011 10:06 am

Re: Event Log empty.

Post by mccollege »

So, it looks like the event log is logging correctly from the output below, but it's not being displayed in when I click on event log in nagiosxi.

ls -l /usr/local/nagios/var/nagios.log

-rw-r--r-- 1 nagios nagios 952378 Jan 4 13:20 /usr/local/nagios/var/nagios.log

tail /usr/local/nagios/var/nagios.log

[1357326293] SERVICE NOTIFICATION: billyho29a;mc-38-core-a;B42 DATACENTER WEST Bandwidth;CRITICAL;xi_service_notification_handler;CRITICAL - Current BW in: 917.99Mbps Out: 40.13Mbps
[1357326593] SERVICE ALERT: mc-38-core-a;B42 DATACENTER WEST Bandwidth;OK;HARD;5;OK - Current BW in: 473.15Mbps Out: 14.72Mbps
[1357326593] SERVICE NOTIFICATION: sisung_d;mc-38-core-a;B42 DATACENTER WEST Bandwidth;OK;xi_service_notification_handler;OK - Current BW in: 473.15Mbps Out: 14.72Mbps
[1357326593] SERVICE NOTIFICATION: harwell_j;mc-38-core-a;B42 DATACENTER WEST Bandwidth;OK;xi_service_notification_handler;OK - Current BW in: 473.15Mbps Out: 14.72Mbps
[1357326593] SERVICE NOTIFICATION: billyho29a;mc-38-core-a;B42 DATACENTER WEST Bandwidth;OK;xi_service_notification_handler;OK - Current BW in: 473.15Mbps Out: 14.72Mbps
[1357326903] Auto-save of retention data completed successfully.
[1357327213] SERVICE ALERT: localhost;Current Load;WARNING;HARD;4;WARNING - load average: 4.55, 8.76, 9.99
[1357327213] SERVICE NOTIFICATION: wh;localhost;Current Load;WARNING;xi_service_notification_handler;WARNING - load average: 4.55, 8.76, 9.99
[1357327214] SERVICE NOTIFICATION: ph;localhost;Current Load;WARNING;xi_service_notification_handler;WARNING - load average: 4.55, 8.76, 9.99
[1357327215] SERVICE NOTIFICATION: eelman;localhost;Current Load;WARNING;xi_service_notification_handler;WARNING - load average: 4.55, 8.76, 9.99
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: Event Log empty.

Post by yancy »

mccollege,

The Event log pulls from NDOUtils, which uses mysql.

Try running a database repair on mysql as described here:

http://assets.nagios.com/downloads/nagi ... tabase.pdf

Regards,

-Yancy
Locked