Bob I believe when you are entering an exception you need to provide all the options not just the ones that are different for you.
So you would need to enter something like "-H localhost -l promptu -C atv-nagios-alerts -p 6991" but of course changing the option you want to be different. MArk > -----Original Message----- > From: [email protected] [mailto:opsview-users- > [email protected]] On Behalf Of Bob Hepple > Sent: 07 July 2009 04:13 > To: [email protected] > Subject: [opsview-users] Exceptions > > Hi folks, > > I've gone a bit mumble headed with this one - trying to use host > exceptions to service checks. I can't find the docs on it nor something > really specific enough in this list despite a fair bit of googling etc. > > Here's what I need to do: > > I have a service that is working fine as a hard-coded check: > > plugin: check_by_ssh > arguments: -H localhost -l promptu -C atv-nagios-alerts -p 6991 > > ... but I want to be able to parameterise the '-p 6991' bit for every > host. So in the host definition under 'monitors' I check that service > and > open up the 'exceptions' entry-box. Faced with a nice blank field I > tried > a few variations but from my reading, the most likely one would be to > put > '-p 6991' in there. > > Sadly, when it runs I get an error - something about I have to provide > a > hostname - which is kinda odd since I'm not fritzing with the hostname. > > So I tried putting '-p 0' into the service definition - same result. I > tried blanking out the '-p xxxx' in the service definition. No joy. > > No doubt it's right under my nose, but I just can't see it. > > Anyone? > > > > Thanks > > > Bob > > -- > Bob Hepple <[email protected]> > ph: 07-5584-5908 Fx: 07-5575-9550 > _______________________________________________ > Opsview-users mailing list > [email protected] > http://lists.opsview.org/listinfo/opsview-users *********************************************************************************** Renaissance Services of Europe Limited Company Reg. No. 393163 Registered Office: 1st Floor, Hardwicke House, Hatch Street, Dublin 2, Ireland. *********************************************************************************** Employees of Renaissance Services of Europe Limited do not have the authority to bind contracts on behalf of Renaissance Reinsurance Limited (Bermuda), Renaissance Reinsurance of Europe, Davinci Re or Top Layer Re. This e-mail, including attachments, may contain information that is privileged, proprietary, non-public, confidential or exempt from disclosure and is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient, please delete this email, including attachments, and do not disseminate, distribute or copy this communication, by email or otherwise. The unauthorized use, dissemination, distribution or reproduction of this email, including attachments, is prohibited and may be unlawful. We reserve the right to monitor and review the content of all messages sent to or from this e-mail address. ********************************************************************************* _______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/listinfo/opsview-users
