Hi All

we are using PRTG version 14.3.11.

I have created SSH script to monitor memory for SunOS server.

Configuration: scanning interval:5 mins, connection time out: 3 mins and shell time out: 59 seconds.

Error : " Timeout During execution"

when I tried to run from PRTG manually,it returned right output.I would need your help to fix this issue.

$ echo  PAESSHSTART;/var/prtg/scriptsxml/mem_test.sh ;echo;echo PAESSHEND;
PAESSHSTART
<prtg>
   <result>
                <channel>Memory:Physical_Total</channel>
                <value>131072</value>
                <warning>0</warning>
                <showChart>1</showChart>
                <showTable>1</showTable>
                <float>1</float>
                <ValueLookup>Memory.solaris.ssh</ValueLookup>
   </result>
<Text>Memory OK 35%</Text>
</prtg>

PAESSHEND

Thank you.


Article Comments

Hey Raja,

first, please Update to the newest version of PRTG. It should be the 14.4.13.3742 in stable stream. There are some fixes included the Advanced sensors ;).

Than the time what cares about your error is the "Shell Timeout". That's mostly the problem to ssh sensors for myself. I tried to set up the interval to 2 minutes, sometimes there are problems while trying to get the result. This could be a heavy load to your system.

How long does it take to get the result in your console? Sometimes this is a good indicator.

Best

Sascha


Dec, 2014 - Permalink