Xymon Mailing List Archive search

two sshd monitor

2 messages in this thread

list Rodolfo Pilas · Thu, 03 Jul 2014 15:25:15 -0300 ·
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hello:

I monitor sshd port with bb-hosts test.

Now I have two sshd running, one at standard 22 port (test 'ssh') and
one at non-standard 88 port (test 'ssh:88')

But the web shows just only one ssh status.

What you suggest as a solution to see both tests status?

Perhaps create another service definition at bb-service, [ssh-custom] ??

Regards,

- -- 
Rodolfo Pilas
@pilasguru
http://www.pilas.guru
gpg: 1024D/57153363 DAAE 3246 3F7D A420 B7A0  48A5 D120 C773 5715 3363

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iD8DBQFTtaAL0SDHc1cVM2MRAsOzAKCgAknTrH29Pn7Wyrrjl+EJB3ycHgCfR/gs
hrWbGUdp6zCKBnqkygm10+s=
=cXTW
-----END PGP SIGNATURE-----
list Oliver · Fri, 25 Jul 2014 10:14:10 +0200 ·
Dear Rodolfo,

I have done this exactly the way you mentioned, see this part of 
bb-services:

[ssh80]
    send "SSH-2.0-OpenSSH_4.1\r\n"
    expect "SSH"
    options banner
    port 80

After that you can configure your bb-hosts file with this test like this:

0.0.0.0	host.domain.com	# ssh80

Or if you have two sshd's running:

0.0.0.0	host.domain.com	# ssh ssh80

Hope that helps!

Regards