|
From: Doug M. <do...@hy...> - 2007-03-09 21:34:23
|
On Mar 9, 2007, at 9:33 AM, Alexander M=FCller wrote: > That's the output of the script i run: > > drssm102:/home/hyperic/agent-2.7.6-EE/pdk/scripts# ./=20 > cl_test_wrapper_4.pl > ... > > [DEBUG] Collector - Fri Mar 09 18:26:12 CET 2007 [Info] (/root/=20 > cl_test_wrapper_4.pl) right before loop! Looks like the script you're running manually (in pdk/scripts) might =20 be different from the one in /root? Since your config option has the default of /root/=20 cl_test_wrapper_4.pl, it is using that rather than the one in pdk/=20 scripts/ The script will only be called once when invoked from the command =20 line. When invoked by the agent, it will be run once per scheduled =20 interval of the metrics being collected by the script. As for the =20 other numbers you see with the debug output, these are added by the =20 script collector: Availability - Availability based on process exit code (see table at =20 http://support.hyperic.com/confluence/display/DOCSHQ30/Script+Plugin) ResponseTime - Time (in ms) taken to execute the script ResponseCode - Process exit code= |