determine state (hard or soft) before submitting OCSP command

Marc Powell mpowell at ena.com
Wed Aug 20 19:38:09 CEST 2003


If you use the example OSCP script, you're exactly right. All states are
submitted no matter what. Nagios already knows about the different state
types so why don't you just build in some intelligence into your OCSP
script that suits your particular needs by passing it the $STATETYPE$
variable and only do something when the statetype is HARD?

--
Marc

> -----Original Message-----
> From: Jason Lancaster [mailto:jlancaster at affinity.com]
> Sent: Wednesday, August 20, 2003 12:04 PM
> To: nagios-users at lists.sourceforge.net
> 
> Hi everyone,
> My understanding is that Nagios is meant to perform service retries if
a
> service is found to be down until that service has been determined to
be
> in
> a hard state. The problem I'm running into is that it appears OCSP
> commands
> are submitted when a host is in soft state, therefore results that may
be
> tried again and should not be submitted are. I've had trouble
duplicating
> or
> testing this but I was hoping someone could either confirm or deny my
> findings.
> 
> If I am indeed correct, is there an easy way to modify the existing
Nagios
> to ignore soft states when submitting OCSP commands or future plans to
> incorporate additional state calculation into 2.0?
> 
> Thanks,
> Jason Lancaster
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by Dice.com.
> Did you know that Dice has over 25,000 tech jobs available today? From
> careers in IT to Engineering to Tech Sales, Dice has tech jobs from
the
> best hiring companies. http://www.dice.com/index.epl?rel_code=104
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null


-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code4
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list