Server name hyperlinks and oracle
list Kapildev Khemraj
Greetings all, I was wondering if there is a way in Hobbit to make the server name hyperlinks (once clicked) connect to oracle database, run a query using the servername as the key and return the results back to the hobbit webpage? I know the bbgen can be passed -docurl=/bb-csvinfo.sh/ to grab info from a csv file, I was wondering if the same thing can be used to run a query on a database? Thanks in advance for the help, Dev Khemraj
list Rolf Schrittenlocher
Hi, as far as I know no, not directly. But you may put a html in the hobbit/server/www/notes directory using the service (machine) name as filename. This html might have a link/form for a cgi doing what you want. So it is just one click more. Rolf
▸
Greetings all, I was wondering if there is a way in Hobbit to make the server name hyperlinks (once clicked) connect to oracle database, run a query using the servername as the key and return the results back to the hobbit webpage? I know the bbgen can be passed –docurl=/bb-csvinfo.sh/ to grab info from a csv file, I was wondering if the same thing can be used to run a query on a database? Thanks in advance for the help, Dev Khemraj
--
Mit freundlichen Gruessen
Rolf Schrittenlocher
Bitte beachten Sie die neue Emailadresse!
HeBIS-IT, Senckenberganlage 31, 60054 Frankfurt
Tel: (XX) XX - XXX XXXXX Fax: (XX) XX XXX XXXXX
LBS: user-1e39a1813094@xymon.invalid
Persoenlich: user-ea9d95bffcf0@xymon.invalid
list Kapildev Khemraj
Thanks! I will try to get the info from an csv file: Is this syntax correct, because I keep getting invalid request. ./bbgen --docurl=/hobbit-cgi/bb-csvinfo.sh/"db=hostinfo.csv&key=%s&delimiter=," Dev Khemraj
▸
-----Original Message-----
From: Rolf Schrittenlocher [mailto:user-ea9d95bffcf0@xymon.invalid] Sent: Friday, October 31, 2008 10:06 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Server name hyperlinks and oracle
Hi,
as far as I know no, not directly. But you may put a html in the hobbit/server/www/notes directory using the service (machine) name as filename. This html might have a link/form for a cgi doing what you want. So it is just one click more.
RolfGreetings all, I was wondering if there is a way in Hobbit to make the server name hyperlinks (once clicked) connect to oracle database, run a query using the servername as the key and return the results back to the hobbit webpage? I know the bbgen can be passed -docurl=/bb-csvinfo.sh/ to grab info from a csv file, I was wondering if the same thing can be used to run a query on a database? Thanks in advance for the help, Dev Khemraj
-- Mit freundlichen Gruessen Rolf Schrittenlocher Bitte beachten Sie die neue Emailadresse! HeBIS-IT, Senckenberganlage 31, 60054 Frankfurt Tel: (XX) XX - XXX XXXXX Fax: (XX) XX XXX XXXXX LBS: user-1e39a1813094@xymon.invalid Persoenlich: user-ea9d95bffcf0@xymon.invalid