since upgrading to PRTG version 9, SSH sensors leave behind a line in server's bash history file:
echo PAESSHSTART;df -TP;echo PAESSHEND
since sensor is checked every 1-5 minutes, this fills the server's history with these lines:
967 echo PAESSHSTART;df -TP;echo PAESSHEND 968 echo PAESSHSTART;df -TP;echo PAESSHEND 969 echo PAESSHSTART;df -TP;echo PAESSHEND 970 echo PAESSHSTART;df -TP;echo PAESSHEND 971 echo PAESSHSTART;df -TP;echo PAESSHEND 972 echo PAESSHSTART;df -TP;echo PAESSHEND 973 echo PAESSHSTART;df -TP;echo PAESSHEND 974 echo PAESSHSTART;df -TP;echo PAESSHEND 975 echo PAESSHSTART;df -TP;echo PAESSHEND 976 echo PAESSHSTART;df -TP;echo PAESSHEND 977 echo PAESSHSTART;df -TP;echo PAESSHEND 978 echo PAESSHSTART;df -TP;echo PAESSHEND 979 echo PAESSHSTART;df -TP;echo PAESSHEND 980 echo PAESSHSTART;df -TP;echo PAESSHEND 981 echo PAESSHSTART;df -TP;echo PAESSHEND 982 echo PAESSHSTART;df -TP;echo PAESSHEND 983 echo PAESSHSTART;df -TP;echo PAESSHEND 984 echo PAESSHSTART;df -TP;echo PAESSHEND 985 echo PAESSHSTART;df -TP;echo PAESSHEND 986 echo PAESSHSTART;df -TP;echo PAESSHEND 987 echo PAESSHSTART;df -TP;echo PAESSHEND 988 echo PAESSHSTART;df -TP;echo PAESSHEND 989 echo PAESSHSTART;df -TP;echo PAESSHEND 990 echo PAESSHSTART;df -TP;echo PAESSHEND 991 echo PAESSHSTART;df -TP;echo PAESSHEND 992 echo PAESSHSTART;df -TP;echo PAESSHEND 993 echo PAESSHSTART;df -TP;echo PAESSHEND 994 echo PAESSHSTART;df -TP;echo PAESSHEND 995 echo PAESSHSTART;df -TP;echo PAESSHEND 996 echo PAESSHSTART;df -TP;echo PAESSHEND 997 echo PAESSHSTART;df -TP;echo PAESSHEND 998 echo PAESSHSTART;df -TP;echo PAESSHEND 999 echo PAESSHSTART;df -TP;echo PAESSHEND 1000 echo PAESSHSTART;df -TP;echo PAESSHEND 1001 history
this renders bash history unusable and is not accepted as normal program behavior. is there a way of preventing these lines from being added?
Amir.
Add comment