output of script in nagios interface

Marc Powell marc at ena.com
Wed Jun 22 19:01:43 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of bmathieu
> Sent: Wednesday, June 22, 2005 11:26 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] output of script in nagios interface
> 
> i  have all the lines ( i change \b for  \c ) but still have br
> and
> 1 : vlan 10 br 2 : vlan 11 br ... etc
> basile
> 
> 
> Le mercredi 22 juin 2005 à 18:05 +0200, bmathieu a écrit :
> > i ve got personnal script which give vlan of switch ports
> >
> > in nagios 1.2 all works fine with that
> >
> > for ( each port )
> > do
> > echo " $port :  $vlan <br> /c "
> > done
> >
> > and i have in the interface
> >
> > 1 : vlan 10
> > 2 : vlan 11
> > etc ....
> >
> > and now ( nagios 2.0b ) i just have the first line and i see
> >
> > 1 : vlan 10 br
> >
> > if someone can help for this problem


In nagios.cfg you probably have something like --

illegal_macro_output_chars=`~$^&"|'<>

http://nagios.sourceforge.net/docs/1_0/configmain.html#illegal_macro_output_chars

--
Marc


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&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