[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] documentation links



Reif Jeffery M a écrit :
Is there a way to link the monitored server name to external
documentation, like BB did with the "notes" directory? Thank you.

Hi

you can use the "--docurl" option :

--docurl=URL
   Make hostnames be hyperlinks to documentation, accessed via a common
   web page (typically a CGI script or a PHP-driven dynamic page). The
   URL parameter is a formatting string with the name of the web page -
   you can put a "%s" in it which will be replaced by the hostname
   being accessed. E.g. if you use the bb-notes extension from
   www.deadcat.net <http://www.deadcat.net>, you would enable this with
   "--docurl=/hobbit/admin/notes.php?host=%s". For the host
   www.storner.dk <http://www.storner.dk> this will result in a link to
   "/hobbit/admin/notes.php?host=www.storner.dk <http://www.storner.dk>".



--

Frédéric Mangeant

Steria EDC Sophia-Antipolis