Hi all: I am trying to create a passive nagios event. To do this I am using:
action= pipe '[%u] PROCESS_SERVICE_CHECK_RESULT;myhost;SyslogInfo;1;message %s' \ ssh nagios use_forced_command This fails to pass syntax check (sec -testonly). I also tried: action= pipe ('[%u] PROCESS_SERVICE_CHECK_RESULT;myhost;SyslogInfo;1;message %s') \ ssh nagios use_forced_command and this failed as well. This seems to work: action= pipe '([%u] PROCESS_SERVICE_CHECK_RESULT;myhost;SyslogInfo;1;message %s)' \ ssh nagios use_forced_command I think it would be worth mentioning this in the pipe action documentation since the normal rule of wrapping the argument in ()'s doesn't seem to hold. -- -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ Simple-evcorr-users mailing list Simple-evcorr-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users