Page 1 of 1

Infinite loop warning notification to be changed to critical

Posted: Tue Aug 27, 2013 10:19 am
by mechtateliat
Hi guys,

I have a question about the "http warning - redirection creates an infinite loop" for a website. We use NagiosĀ® Coreā„¢ 3.4.1

Can I make the "warning" string to be "critical"?

Is this configurable?

Thanks.

Re: Infinite loop warning notification to be changed to crit

Posted: Tue Aug 27, 2013 10:23 am
by slansing
Can you show us what you mean by this? And yes, you could alter the service configuration file to only alert you on critical, or you can change the thresholds so that it will only alert when it is in a critical state by removing the warning threshold "some plugins will not allow this."

Re: Infinite loop warning notification to be changed to crit

Posted: Wed Aug 28, 2013 6:16 am
by mechtateliat
I mean the following thing - this is an alert for the site:

Service: MainWebSite
Host: someHost
Address: 100.10.10.1
State: WARNING

Date/Time: Mon Aug 26 01:07:04 EEST 2013

Additional Info:

HTTP WARNING - redirection creates an infinite loop - http://mainWebSite.com/
________

Can I make the Warning for infinite loop alert to be not Warning but Critical.

Re: Infinite loop warning notification to be changed to crit

Posted: Wed Aug 28, 2013 12:23 pm
by lmiltchev
You can probably try using the negate plugin. From the plugins directory, run the following command to view the usage:

Code: Select all

./negate -h