-
Linux Agent intermittently connecting to Linux Pandora server
Hi there
I have an agent on a Centos (RedHat) machine which is sending data to Pandora on Centos. So this is all Linux.
SSH keys appear to be configured correctly.
But I have a weird problem. Leaving the agent machine alone… I find that after a period, it stops connecting. Pandora reports the Agent Down message.
However – if I connect to the agent machine, using WinSCP, then the agent will start connecting to the server again. After disconnecting, it then stops communicating with the server.
Looking in the audit log (/var/log/audit/audit.log) on the Pandora server, I see thess failure message:
type=USER_LOGIN msg=audit(1216230923.905:118691): user pid=32443 uid=0 auid=4294967295 msg=’acct=”pandora”: exe=”/usr/sbin/sshd” (hostname=?, addr=169.254.1.20, terminal=sshd res=failed)’
type=USER_ERR msg=audit(1216230923.926:118695): user pid=32443 uid=0 auid=4294967295 msg=’PAM: bad_ident acct=”?” : exe=”/usr/sbin/sshd” (hostname=xxx.xxx.co.uk, addr=169.254.1.20, terminal=ssh res=failed)’
Yet, a few minutes later, I might see this success message:
type=USER_START msg=audit(1216231407.280:118767): user pid=2089 uid=0 auid=501 msg=’PAM: session open acct=”pandora” : exe=”/usr/sbin/sshd” (hostname=xxx.xxx.co.uk, addr=169.254.1.20, terminal=ssh res=success)’
There seems to be something in the hostname resolution.
I realize this is more a Linux problem than a Pandora problem… but can anybody suggest where the problem might lie?
I am successfully monitoring other Linux and Windows servers, with no such issues.
Thanks – Technoid