when i add a ssh script sensor in aix 5.3 system?
the first time i can got the right value? but only the first time is ok? then prtg can't get any date from the sensor?
so i login in my aix system to check what happend?
i got this
1step:i run tcpdump for catching the communication packet? but nothing i can get! (the tcp is established from prtg---to--aix when check in netstat -an )
2step:i run who -u in aix ? it show a lot of account already login in the same user? (this will take a long time then you can find a lot of same user)
3step:i run ps -ef to check the login process about the login user, it show the process were “Zombie process”
4step:when i killd the Zombie process all , the prtg can get the right value for ssh sensor again? then the next time also can't get the value?
how can i solve this problem? thanks
Article Comments
Thanks for u help.
But I still confused how to avoid the problem. And don't know what should I do .
First I'm pretty sure I have no problem with my sash script . It's ok when I add the same ssh script sensor in Linux ( redhat). It's just not work good in aix .
Sencond even I don't use the ssh advanced ssh script sensor . But use the ssh disk free sensor instead . It's still not work good in aix 5.3 . And it show the same situation I have described before (only first time can get the value , then the login user don't auto exit, and the login process became defunct )
Aug, 2013 - Permalink
Hi,
unfortunately this issue is related with the version of the ssh-daemon running on the target system. If there is no updated version for AIX 5.3 you can't use the ssh-scripts.
Maybe it is a valuable way for you to use 'SNMP extensions' (see Net-SNMP tutorials for examples) to retrieve the information from the target server? Keep in mind that the snmp-sensors are only capable of processing a single value!
Kind regards
Aug, 2013 - Permalink
Hi,
unfortunately there may be a hanging ssh-connection when your handles to files opened in your script are not completely closed.
Please refer to www.snailbook.com for further information.
Kind regards
Aug, 2013 - Permalink