Xymon Mailing List Archive search

ldap test without binary output

5 messages in this thread

list Torben Aagaard · Mon, 24 Oct 2005 14:16:01 +0200 ·
Hi List
 Is it possible to do a ldap test and NOT display the (binary) output from
the ldap query ?

I'm monitoring a Certificate Revokation List, which is in binary format.
Hobbit displays the output on the web page, and it sure is ugly :)
 Thanks
 /Torben
list Torben Aagaard · Mon, 24 Oct 2005 14:51:25 +0200 ·
Hi List

Is it possible to do a ldap test and NOT display the (binary) output from
the ldap query ?

I'm monitoring a Certificate Revokation List, which is in binary format.
Hobbit displays the output on the web page, and it sure is ugly :)

Thanks

/Torben
list Michael Nemeth · Mon, 24 Oct 2005 09:09:03 -0400 ·
Geting ready to do this maybe.  Ive a couple of question.

How do network test work.  I mean I can't ping though the firewall right.
What goes in the clients hobit host file ?  Would it look just like a client on the other side?
Im guessing yes.


-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|     _p_       Mike Nemeth
|  ___| |_____  email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX          |><___________)          |               Home Page:http://www.geocities.com/mjnemeth/
|               Work Page:http://faraday.motown.lmco.com:3000/~nemethm/ |               Work Page:http://ortsweb/~mnemeth/ |++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
list Henrik Størner · Mon, 24 Oct 2005 15:37:01 +0200 ·
quoted from Torben Aagaard
On Mon, Oct 24, 2005 at 02:51:25PM +0200, Torben Aagaard wrote:
Is it possible to do a ldap test and NOT display the (binary) output from
the ldap query ?

I'm monitoring a Certificate Revokation List, which is in binary format.
Hobbit displays the output on the web page, and it sure is ugly :)
I guess it is...

It should be possible to display just a single printable attribute, 
e.g. the "cn" attribute. The syntax for the ldap requests is

       ldap://hostport/dn[?attrs[?scope[?filter[?exts]]]]

So if you put "cn" for the "attrs" section of the URL, it should
report only the common-name attribute, which normally is printable 
characters only.

Regards,
Henrik
list Torben Aagaard · Tue, 25 Oct 2005 10:17:52 +0200 ·
Hi Henrik
 Trivial :)
 My old script fetched the whole CRL and ran some tests on it - but this is
sufficient for the time being.
 Thanks a lot !
 /Torben
quoted from Henrik Størner
 On 10/24/05, Henrik Stoerner <user-ce4a2c883f75@xymon.invalid> wrote:

It should be possible to display just a single printable attribute,
e.g. the "cn" attribute. The syntax for the ldap requests is

ldap://hostport/dn[?attrs[?scope[?filter[?exts]]]]

So if you put "cn" for the "attrs" section of the URL, it should
report only the common-name attribute, which normally is printable
characters only.