NSCA Confusing host check results as service checks

Sloane, Robert Raymond sloane at ku.edu
Wed Nov 28 17:47:32 CET 2007


Hmm.  A glance at the source indicates that (for version 2.7.2) the
delimeter must be a single character.  What do you have against TAB as
the delimiter?  


/bin/echo -e "$1\t$2\t$3" | /usr/local/sbin/send_nsca -H master \
         -c /usr/local/etc/nagios/send_nsca.cfg

If you want to be even safer, run $3 through `tr "\t" " "` to eliminate
any tabs.
-- 
Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045
Email:sloane at ku.edu http://www.ku.edu/home/sloane Phone:(785)864-0444

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
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