Hello,
I'm trying to find a way to check http and smtp status remotely.
I prefer not to install agent on this machines and I would like to use a linux agent that already exists on other machine.
Have you any idea how that can be done?
Regards,
Vagelis.
You can use remote_tcp module, using only a "port" open check or using the challenge / response to check protocol.
^M is a macro used in challenge/response to send a carriage return (this is documented in Pandora docs).
For example, to check http
port 80
send GET / HTTP/1.0^M^M
expect OK
to check SMTP, first make a telnet to server on port 25, and check string returned, for example in my server it says:
220 endor ESMTP Postfix (GNU/Linux)
So configure a tcp check in Pandora console similar to
port 25
send ^M
receive 220 endor ESMTP Postfix
Making this you dont need to use agents, only remote monitoring.
Wish this helps :-)