Using ! in check_command
Chris Hammond
chris at bluecobras.com
Wed Jun 16 14:51:45 CEST 2004
I had a somewhat similar issue with a check_nt command to monitor
services. The service is MSSQL$BKUPEXEC. To get a proper response from
the check on the command line I had to do MSSQL/$BKUPEXEC. On the
command line, this works fine. However, Nagios shows me
MSSQL$BKUPEXEC$: Unknown. Not sure how to remove that last "$".
Chris
On Wed, 2004-06-16 at 08:32, Michael Eck wrote:
> I did try escaping it. Is that supposed to work? I didin't see that
> documented and still had a problem when it was escaped
>
> .
> On Jun 15, 2004, at 6:32 PM, Chris Hammond wrote:
>
> > Very popular answer isn't it Jeff. :)
> >
> > Chris
> >
> > On Tue, 2004-06-15 at 18:16, jeff vier wrote:
> >> On Tue, 2004-06-15 at 15:24 -0500, Michael Eck wrote:
> >>> Greetings,
> >>> Is there a trick than anybody knows of the use a ! as a character in
> >>> a
> >>> password for a check_command?
> >>> The obvious problem is that it's also the field delimiter.
> >>
> >> Have you tried escaping it?
> >>
> >>
> >>
> >> -------------------------------------------------------
> >> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> >> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> >> Conference, June 28 - July 1 at the Moscone Center in San Francisco,
> >> CA
> >> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code
> >> NWMGYKND
> >> _______________________________________________
> >> 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 The 2004 JavaOne(SM) Conference
> > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code
> > NWMGYKND
> > _______________________________________________
> > 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
> >
> ----
> Michael Eck
> Chilitech Internet Solutions
> Network Operations Center
> 570-323-2166
> http://www.chilitech.net
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
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