Hi, It seems that the "badtest" option is not working for all the network tests, it works fine for the http but not for ldap.I'm using xymon 4.2.3Did any one manage to get it work for ldap ? Sincerely,
On Jan 19, 2011, at 5:53 AM, simo hmami wrote:
It seems that the "badtest" option is not working for all the network tests, it works fine for the http but not for ldap. I'm using xymon 4.2.3 Did any one manage to get it work for ldap ?
I've had it enabled for a while. I'm using “badldaps:1:2:5” and I'm pretty sure it's working. I see some alerts on the “ol” test (which monitors regular LDAP on 389) and then some alerts on “ldaps” that come a few minutes later. However, I mainly just didn't want to be alerted during daily log rotation, which is predictable, so I've been using DOWNTIME to silence the alerts. I'm not really depending on badldaps at this point.
By the way, I highly recommend Buchan Milne's script for monitoring LDAP…
http://staff.telkomsa.net/~bgmilne/xymon/ol/
-- Rob McBroom <http://www.skurfer.com/>
Thank you for your answer you are right0.0.0.0 hostname # ldap badldap:1,2,5 works fine but 0.0.0.0 hostname # ldap://somehost:someprot/dn ldaplogin=login:pwd badldap:1,2,5doesn't work, it goes red immediately when there is an error. Do you have any idea about this !? Regards,
From: mailinglist0 at skurfer.com Date: Wed, 19 Jan 2011 09:10:18 -0500 To: xymon at xymon.com Subject: Re: [xymon] badtest option for ldap
On Jan 19, 2011, at 5:53 AM, simo hmami wrote:It seems that the "badtest" option is not working for all the network tests, it works fine for the http but not for ldap.I'm using xymon 4.2.3Did any one manage to get it work for ldap ? I've had it enabled for a while. I'm using “badldaps:1:2:5” and I'm pretty sure it's working. I see some alerts on the “ol” test (which monitors regular LDAP on 389) and then some alerts on “ldaps” that come a few minutes later. However, I mainly just didn't want to be alerted during daily log rotation, which is predictable, so I've been using DOWNTIME to silence the alerts. I'm not really depending on badldaps at this point. By the way, I highly recommend Buchan Milne's script for monitoring LDAP… http://staff.telkomsa.net/~bgmilne/xymon/ol/
-- Rob McBroom <http://www.skurfer.com/>
You should be using colons instead of commas: badldap:1:2:5 .
Thanks, Larry Barber
On Thu, Jan 20, 2011 at 4:51 AM, simo hmami <simobimou at hotmail.com> wrote:
Thank you for your answer
you are right 0.0.0.0 hostname # ldap badldap:1,2,5 works fine
but 0.0.0.0 hostname # ldap://somehost:someprot/dn ldaplogin=login:pwd badldap:1,2,5 doesn't work, it goes red immediately when there is an error.
Do you have any idea about this !?
Regards,
From: mailinglist0 at skurfer.com Date: Wed, 19 Jan 2011 09:10:18 -0500 To: xymon at xymon.com Subject: Re: [xymon] badtest option for ldap
On Jan 19, 2011, at 5:53 AM, simo hmami wrote:
It seems that the "badtest" option is not working for all the network tests, it works fine for the http but not for ldap. I'm using xymon 4.2.3 Did any one manage to get it work for ldap ?
I've had it enabled for a while. I'm using “badldaps:1:2:5” and I'm pretty sure it's working. I see some alerts on the “ol” test (which monitors regular LDAP on 389) and then some alerts on “ldaps” that come a few minutes later. However, I mainly just didn't want to be alerted during daily log rotation, which is predictable, so I've been using DOWNTIME to silence the alerts. I'm not really depending on badldaps at this point.
By the way, I highly recommend Buchan Milne's script for monitoring LDAP…
http://staff.telkomsa.net/~bgmilne/xymon/ol/<http://staff.telkomsa.net/%7Ebgmilne/xymon/ol/>
-- Rob McBroom <http://www.skurfer.com/>
Yes of course im using a colons , it was just a mistake the conf im using is : 0.0.0.0 hostname # ldap://somehost:someprot/dn ldaplogin=login:pwd badldap:1:2:5but unfortunatly it doesn't seem to be working!! Regards,
Date: Thu, 20 Jan 2011 09:41:14 -0600 From: lebarber at gmail.com To: xymon at xymon.com Subject: Re: [xymon] badtest option for ldap
You should be using colons instead of commas: badldap:1:2:5 .
Thanks, Larry Barber
On Thu, Jan 20, 2011 at 4:51 AM, simo hmami <simobimou at hotmail.com> wrote:
Thank you for your answer you are right0.0.0.0 hostname # ldap badldap:1,2,5 works fine but 0.0.0.0 hostname # ldap://somehost:someprot/dn ldaplogin=login:pwd badldap:1,2,5 doesn't work, it goes red immediately when there is an error. Do you have any idea about this !? Regards,
From: mailinglist0 at skurfer.com Date: Wed, 19 Jan 2011 09:10:18 -0500 To: xymon at xymon.com
Subject: Re: [xymon] badtest option for ldap
On Jan 19, 2011, at 5:53 AM, simo hmami wrote: It seems that the "badtest" option is not working for all the network tests, it works fine for the http but not for ldap. I'm using xymon 4.2.3Did any one manage to get it work for ldap ? I've had it enabled for a while. I'm using “badldaps:1:2:5” and I'm pretty sure it's working. I see some alerts on the “ol” test (which monitors regular LDAP on 389) and then some alerts on “ldaps” that come a few minutes later. However, I mainly just didn't want to be alerted during daily log rotation, which is predictable, so I've been using DOWNTIME to silence the alerts. I'm not really depending on badldaps at this point.
By the way, I highly recommend Buchan Milne's script for monitoring LDAP… http://staff.telkomsa.net/~bgmilne/xymon/ol/
-- Rob McBroom <http://www.skurfer.com/>
On Thu, January 20, 2011 11:44, simo hmami wrote:
Yes of course im using a colons , it was just a mistake the conf im using is : 0.0.0.0 hostname # ldap://somehost:someprot/dn ldaplogin=login:pwd badldap:1:2:5but unfortunatly it doesn't seem to be working!! Regards,
It's not clear to me from the manpage whether ldaplogin might be treated as a separate test. Have you tried "badldaplogin"?
Hi Simo,
In <BLU162-w8844DF7E4C6423E132F11ABF90 at phx.gbl> simo hmami <simobimou at hotmail.com> writes:
0.0.0.0 hostname # ldap badldap:1:2:5works fine but 0.0.0.0 hostname # ldap://somehost:someprot/dn badldap:1:2:5 doesn't work
I couldn't get it to work myself, until I had a close look at the code.
Turns out that for LDAP URL's you have to use "badldapurl:1:2:5" instead. And no, this isn't documented anywhere - it will be now.
Regards, Henrik
Hi, Great it works fine, Thank you very much Henrik Regards,
To: xymon at xymon.com From: henrik at hswn.dk Date: Sun, 23 Jan 2011 11:25:31 +0000 Subject: Re: [xymon] badtest option for ldap
Hi Simo,
In <BLU162-w8844DF7E4C6423E132F11ABF90 at phx.gbl> simo hmami <simobimou at hotmail.com> writes:
0.0.0.0 hostname # ldap badldap:1:2:5works fine but 0.0.0.0 hostname # ldap://somehost:someprot/dn badldap:1:2:5 doesn't work
I couldn't get it to work myself, until I had a close look at the code.
Turns out that for LDAP URL's you have to use "badldapurl:1:2:5" instead. And no, this isn't documented anywhere - it will be now.
Regards, Henrik
To unsubscribe from the xymon list, send an e-mail to xymon-unsubscribe at xymon.com
participants (5)
-
henrik@hswn.dk
-
hobbit@epperson.homelinux.net
-
lebarber@gmail.com
-
mailinglist0@skurfer.com
-
simobimou@hotmail.com