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.
Core 4.0.7 Service result are stale
Re: Core 4.0.7 Service result are stale
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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
tariqondego
- Posts: 85
- Joined: Fri Mar 28, 2014 6:18 am
Re: Core 4.0.7 Service result are stale
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.
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
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.tariqondego wrote:But when i added ndomod2.0.0,this caused nagios to crash immediately.
Additionally, did you download ndo2 from sourceforge or github?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
tariqondego
- Posts: 85
- Joined: Fri Mar 28, 2014 6:18 am
Re: Core 4.0.7 Service result are stale
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.
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
Can you post your ndo2db.cfg and ndomod.cfg.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
tariqondego
- Posts: 85
- Joined: Fri Mar 28, 2014 6:18 am
Re: Core 4.0.7 Service result are stale
See attached.
- Attachments
-
ndomod.cfg- (5.25 KiB) Downloaded 170 times
-
ndo2db.cfg- (5.01 KiB) Downloaded 180 times
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Core 4.0.7 Service result are stale
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?