Database Maintenance

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Database Maintenance

Post by Box293 »

Looks like you've identified a bug in the return codes being defined.

Change the following in your script:
Line 209:

Code: Select all

$returncode=1;
Line 217:

Code: Select all

$returncode=2;
This will now correctly report the warning and critical status.

I'll file a bug report internally.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: Database Maintenance

Post by btemple »

I just made the change, will repost if issue persists
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Database Maintenance

Post by sreinhardt »

Sounds great, let us know how that works!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: Database Maintenance

Post by btemple »

So far so good we can close the thread please
Locked