determine state (hard or soft) before submitting OCSP command
Jason Lancaster
jlancaster at affinity.com
Wed Aug 20 20:26:08 CEST 2003
I never saw the $STATETYPE$ variable in the docs but it's right there in the
State Types doc. Woops. This solves all my problems.
Thanks!
Jason
----- Original Message -----
From: "Marc Powell" <mpowell at ena.com>
To: "Jason Lancaster" <jlancaster at affinity.com>;
<nagios-users at lists.sourceforge.net>
Sent: Wednesday, August 20, 2003 13:38
Subject: RE: [Nagios-users] determine state (hard or soft) before submitting
OCSP command
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_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
More information about the Users
mailing list