FW: "Host
James
jwhittington at excelorant.com
Mon Mar 29 21:08:41 CEST 2004
If he's using the dag rpm builds etc may be elsewhere (like
/etc/nagios)..
James
On Mon, 2004-03-29 at 12:59, Marc Powell wrote:
> I haven't installed any of the sample configs recently and the full path
> can vary depending on your method and location of installation but it's
> usually found in /usr/local/nagios/etc/commands.cfg. You could always
> grep for it:
>
> cd /usr/local/nagios/etc/; grep -iRle
> "command_name.*host-notify-by-email" *
>
> --
> Marc
>
> On Monday, March 29, 2004 11:19 AM, Daniel.Mesimer at med.va.gov shared
> with us:
>
> > Marc/All,
> >
> > Where would I look for that information? I can't seems to find a
> > "notify-by-email" command to check its inputs, etc.
> >
> > Dan Mesimer
> > Kansas City VA Medical Center
> > Network Support
> >
> >
> > -----Original Message-----
> > From: Marc Powell [mailto:marc at ena.com]
> > Sent: Monday, March 29, 2004 9:34 AM
> > To: Daniel.Mesimer at med.va.gov; nagios-users at lists.sourceforge.net
> > Subject: RE: [Nagios-users] FW: "Host
> >
> >
> > On Monday, March 29, 2004 8:13 AM, Daniel.Mesimer at med.va.gov shared
> > with
> > us:
> >
> > > All,
> > >
> > > I am using Nagios 1.2 am the forwarded message here is what Nagios
> > > is sending as its status update email. It is obviously not formatted
> > > correctly (or at least not the way I expected it to be formatted).
> > > Is there something I can change to make this behave more the way I
> > > expect it to?
> > >
> > > Thanks
> > >
> > > Dan Mesimer
> > > Kansas City VA Medical Center
> > > Network Support
> > >
> > >
> > > -----Original Message-----
> > > From: nagios at vhakannms.kansas-city.med.va.gov
> > > [mailto:nagios at vhakannms.kansas-city.med.va.gov]
> > > Sent: Sunday, March 28, 2004 8:23 AM
> > > To: alert at vhakannms.kansas-city.med.va.gov; ",
> > > daniel.mesimer at med.va.gov, DOWN, for"@b15f7.kansas-city.med.va.gov
> > > Subject: "Host
> > >
> > >
> > >
> >
> ""*****""Nagios""*****nnNotification""Type:""PROBLEMnHost:""b15f7nState:
> > ""DO
> > >
> >
> WNnAddress:""10.120.128.46nInfo:""/bin/ping""-n""-U""-c""1""10.120.128.4
> > 6nnD
> > > ate/Time:""Sun""Mar""28""08:22:40""CST""2004n""
> >
> >
> > Take a look at your host/service notify-by-email commands and make
> > sure that
> > they are using whatever flags are necessary to enable interpretation
> > of
> > escape sequences for your OS. If the commands are using echo, you'll
> > probably need to add a -e argument to it (i.e. echo -e "***** Nagios
> > *****\n..."). I believe printf interprets escape sequences properly by
> > default so you could use that instead of echo -e but you should
> > consult the
> > man pages as both options vary by OS and release.
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
> _______________________________________________
> 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
--
_______________________________________________
James Whittington
Systems Administrator
Excelorant, LLC
A TM Floyd Affiliate Company
1800 St. Julian Place
P.O. Box 8263
Columbia, SC 29202
803.765.1310 | Phone
800.780.1170 | Toll Free
803.765.1431 | Fax
jwhittington at excelorant.com
_______________________________________________
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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