Infinite loop warning notification to be changed to critical

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mechtateliat
Posts: 2
Joined: Mon Aug 26, 2013 10:15 am

Infinite loop warning notification to be changed to critical

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Infinite loop warning notification to be changed to crit

Post 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."
mechtateliat
Posts: 2
Joined: Mon Aug 26, 2013 10:15 am

Re: Infinite loop warning notification to be changed to crit

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Infinite loop warning notification to be changed to crit

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked