Page 1 of 1
Core 4.0.7 Service result are stale
Posted: Sat Aug 23, 2014 4:19 am
by tariqondego
I upgraded to core 4.0.7 a week ago and it has been getting status information ok.
But yesterday it started giving error 'Warning service results are stale'.When i restart nagios the problem disappears.
When I look at syslog i see error 'Cannot find rw/nagios.cmd'.But again all this disappears after reset.
I have read similar topics in this forum concerning freshness setting and I have confirmed mine to be ok.
Please advise,of anything else that might be causing this.Maybe a bug in 4.0.7? And probably a bugfix?
Thanks in advance.
Re: Core 4.0.7 Service result are stale
Posted: Mon Aug 25, 2014 10:56 am
by abrist
Potentially. Nagios might be getting behind in the checks. If your system load average is high, you may want to upgrade to 4.0.8 to see if that fixes your current issues.
Re: Core 4.0.7 Service result are stale
Posted: Tue Aug 26, 2014 12:57 am
by tariqondego
Thanks,that is what i thought too and so i upgraded.4.0.8 seemed more stable.
But when i added ndomod2.0.0,this caused nagios to crash immediately.
I had no option to downgrade to 3.5.1.Seems stable,but still monitoring it.
Again,thanks.
Re: Core 4.0.7 Service result are stale
Posted: Tue Aug 26, 2014 10:57 am
by abrist
tariqondego wrote:But when i added ndomod2.0.0,this caused nagios to crash immediately.
Did you upgrade the DB tables as well? There are some new object fields in 4.x that require new columns in the DB. The sql upgarde script should be bundled with ndo2.
Additionally, did you download ndo2 from sourceforge or github?
Re: Core 4.0.7 Service result are stale
Posted: Wed Aug 27, 2014 2:00 am
by tariqondego
yes i ran the script to upgrade the sql db.Tried both from sourceforge and github.
Still failed.
Thing is,both ndo2db and db is ok after upgrade,but ndomod just isnt working.
Re: Core 4.0.7 Service result are stale
Posted: Wed Aug 27, 2014 3:17 pm
by abrist
Can you post your ndo2db.cfg and ndomod.cfg.
Re: Core 4.0.7 Service result are stale
Posted: Thu Aug 28, 2014 2:01 am
by tariqondego
See attached.
Re: Core 4.0.7 Service result are stale
Posted: Fri Aug 29, 2014 1:17 pm
by slansing
What privileges does the "paynet" user have on your sql db? I have no idea why it would be telling you it can't find nagios.cmd, that would definitely be an issue though. Do you have a cron or something that goes through and removes old files of a certain type? Something strange like that?