Hi all, I want to monitor our Flash socket policy file server. The server expects a string terminated in a null byte, but I can't get check_tcp to send a null byte.
Using netcat does work, however: perl -e 'printf "<policy-file-request/>%c",0' | nc -v <my server> 843 Here is my check_tcp call: ./check_tcp -H <my server> -p 843 -s "`perl -e 'printf "<policy-file-request/>%c",0'`" -r crit -M crit -w 1 -c 3 -v -d 2 -e "xml" The check_tcp doesn't print out any response from the server, which is consistent with server behavior when it doesn't receive a null byte (if I remove the 0 in the perl printf). Any thoughts or ideas would be greatly appreciated. Cheers, Karthik -- *Karthik Kailash** **| **Product SocialVision, Online Television Becomes a Social Experience CELL • 408.768.7704 | WEB • www.socialvisioninc.com | FACEBOOK • facebook.com/socialvision <http://www.facebook.com/socialvision> | TWITTER • twitter.com/socialvision*
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ Nagios-users mailing list [email protected] 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
