Larrd graphs not working
I'm trying to help a coworker debug/fix Hobbit running on Linux 7.2. I know BB pretty well, but I'm just learning Hobbit. Everything on the Hobbit install works fine, except the larrd historical graphs. For example at the bottom of machine X's disk page the icon for the larrd is grayed out. I can click on it and see the next three grayed out icons which should be larrd graphs. I have looked at things like permissions, read some documentation, etc. This is new territory and we need to get the data there. This was working at one time, a change was made and now it does not work. We are not sure what change was made.
Thanks in advance, Jim
This message, and any attachments to it, may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are notified that any use, dissemination, distribution, copying, or communication of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and delete the message and any attachments. Thank you.
On Wed, Dec 28, 2005 at 05:06:16PM -0500, James B Horwath wrote:
I'm trying to help a coworker debug/fix Hobbit running on Linux 7.2. I know BB pretty well, but I'm just learning Hobbit. Everything on the Hobbit install works fine, except the larrd historical graphs. For example at the bottom of machine X's disk page the icon for the larrd is grayed out. I can click on it and see the next three grayed out icons which should be larrd graphs.
Since the graph links show up, it sounds like the RRD files are being created (meaning that the data is being picked up and archived); you can check if there are any rrd-files in the data/rrd/HOSTNAME/ directories.
So I think it's a problem with the CGI that generates the actual graph images. Debugging CGI's are a bit tricky, but:
- setup the environment variable QUERY_STRING, this is the part of the URL for the graph image that follows the '?'. It's done with export QUERY_STRING="host=voodoo.hswn.dk&service=conn&graph=hourly&action=view" (replace the hostname with what your host is called).
- also setup export REQUEST_METHOD=GET export REQUEST_URI=""
- run "~hobbit/cgi-bin/hobbitgraph.sh >/tmp/file.png"
Look at the output in /tmp/file.png. Any errors there ?
A common problem is that the rrdtool run-time library or some of the graph libraries are not included in the default library search path. You probably need to put the directory where these libraries are installed into /etc/ld.so.conf and run "ldconfig" after that.
Regards, Henrik
After running the commands as you outlined below, the output in file.png is: Content-type: image/png Expires: Thu, 29 Dec 2005 19:26:06 GMT
If I view the file.png file with a png viewer, it is only a black screen.
Michael Frey Intel Senior Systems Engineer The Guardian Life Insurance Company of America 3900 Burgess Place, 2-West Bethlehem, PA 18017 E-Mail: Michael_frey at glic.com Phone: 610-807-7889 Fax: 610-807-6003
henrik at hswn.dk (Henrik Stoerner) 12/28/2005 06:06 PM Please respond to hobbit at hswn.dk
To hobbit at hswn.dk cc
Subject Re: [hobbit] Larrd graphs not working
On Wed, Dec 28, 2005 at 05:06:16PM -0500, James B Horwath wrote:
I'm trying to help a coworker debug/fix Hobbit running on Linux 7.2. I know BB pretty well, but I'm just learning Hobbit. Everything on the Hobbit install works fine, except the larrd historical graphs. For example at the bottom of machine X's disk page the icon for the larrd is
grayed out. I can click on it and see the next three grayed out icons which should be larrd graphs.
Since the graph links show up, it sounds like the RRD files are being created (meaning that the data is being picked up and archived); you can check if there are any rrd-files in the data/rrd/HOSTNAME/ directories.
So I think it's a problem with the CGI that generates the actual graph images. Debugging CGI's are a bit tricky, but:
- setup the environment variable QUERY_STRING, this is the part of the URL for the graph image that follows the '?'. It's done with export QUERY_STRING="host=voodoo.hswn.dk&service=conn&graph=hourly&action=view" (replace the hostname with what your host is called).
- also setup export REQUEST_METHOD=GET export REQUEST_URI=""
- run "~hobbit/cgi-bin/hobbitgraph.sh >/tmp/file.png"
Look at the output in /tmp/file.png. Any errors there ?
A common problem is that the rrdtool run-time library or some of the graph libraries are not included in the default library search path. You probably need to put the directory where these libraries are installed into /etc/ld.so.conf and run "ldconfig" after that.
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
This message, and any attachments to it, may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are notified that any use, dissemination, distribution, copying, or communication of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and delete the message and any attachments. Thank you.
On Thu, Dec 29, 2005 at 03:06:02PM -0500, Michael Frey wrote:
After running the commands as you outlined below, the output in file.png is: Content-type: image/png Expires: Thu, 29 Dec 2005 19:26:06 GMT
If I view the file.png file with a png viewer, it is only a black screen.
You must delete the "Content-type: image/png", the "Expires:..." line, and the blank line. Those lines are headers for the web browser, because the output is supposed to be a web response, and not simply a PNG file.
For the file to be a valid PNG file, it must begin with
<89>PNG
Regards, Henrik
After deleting the lines as suggested, and adding the <89>PNG, the image in the viewer is still a black screen.
If I delete the <89>PNG, the file size is zero bytes.
Thanks for your help.
Michael Frey Intel Senior Systems Engineer The Guardian Life Insurance Company of America 3900 Burgess Place, 2-West Bethlehem, PA 18017 E-Mail: Michael_frey at glic.com Phone: 610-807-7889 Fax: 610-807-6003
henrik at hswn.dk (Henrik Stoerner) 12/29/2005 03:20 PM Please respond to hobbit at hswn.dk
To hobbit at hswn.dk cc
Subject Re: [hobbit] Larrd graphs not working
On Thu, Dec 29, 2005 at 03:06:02PM -0500, Michael Frey wrote:
After running the commands as you outlined below, the output in file.png
is: Content-type: image/png Expires: Thu, 29 Dec 2005 19:26:06 GMT
If I view the file.png file with a png viewer, it is only a black screen.
You must delete the "Content-type: image/png", the "Expires:..." line, and the blank line. Those lines are headers for the web browser, because the output is supposed to be a web response, and not simply a PNG file.
For the file to be a valid PNG file, it must begin with
<89>PNG
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
This message, and any attachments to it, may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are notified that any use, dissemination, distribution, copying, or communication of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and delete the message and any attachments. Thank you.
On Thu, Dec 29, 2005 at 03:46:37PM -0500, Michael Frey wrote:
After deleting the lines as suggested, and adding the <89>PNG, the image in the viewer is still a black screen.
If I delete the <89>PNG, the file size is zero bytes.
OK, that *is* very small.
What does the RRD files look like ? Those in the ~hobbit/data/rrd/HOSTNAME/ directory - they should be at least some 18-19 KB in size or larger.
If you run "rrdtool dump ~hobbit/data/rrd/HOSTNAME/tcp.conn.rrd", the beginning of the output should look like this:
-------- start rrdtool dump output -------- <!-- Round Robin Database Dump --> <rrd> <version> 0003 </version> <step> 300 </step> <!-- Seconds --> <lastupdate> 1135891575 </lastupdate> <!-- 2005-12-29 22:26:15 CET -->
<ds>
<name> sec </name>
<type> GAUGE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> UNKN </last_ds>
<value> 2.2500000000e-03 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
<!-- Round Robin Archives --> <rra> -------- end of rrdtool dump output --------
You can try generating the graph image for one of the TCP "conn" graphs by running
rrdtool graph x.png
--title "localhost TCP Connection Times Last 48 Hours"
-w576 -h120 -v Seconds -a PNG -s "e-48h"
"DEF:p0=/home/hobbit/data/rrd/localhost/tcp.conn.rrd:sec:AVERAGE"
"LINE2:p0#0000FF:conn"
(replace the "/home/hobbit..." filename with the filename of your tcp.conn.rrd file).
If you run this, what happens ? The output should be "673x199" (which is the size of the generated PNG image), and the PNG image is in the x.png file.
Henrik
File sixe = 35,000 kb.
Beginning of the outpout looks just like your example.
After running rrdtool...: libpng warning: Application was compiled with png.h from libpng-1.2.8 libpng warning: Application is running with png.c from libpng-1.0.12 libpng error: Incompatible libpng version in application and library 673x199
Thanks,
Michael Frey Intel Senior Systems Engineer The Guardian Life Insurance Company of America 3900 Burgess Place, 2-West Bethlehem, PA 18017 E-Mail: Michael_frey at glic.com Phone: 610-807-7889 Fax: 610-807-6003
henrik at hswn.dk (Henrik Stoerner) 12/29/2005 04:30 PM Please respond to hobbit at hswn.dk
To hobbit at hswn.dk cc
Subject Re: [hobbit] Larrd graphs not working
On Thu, Dec 29, 2005 at 03:46:37PM -0500, Michael Frey wrote:
After deleting the lines as suggested, and adding the <89>PNG, the image
in the viewer is still a black screen.
If I delete the <89>PNG, the file size is zero bytes.
OK, that *is* very small.
What does the RRD files look like ? Those in the ~hobbit/data/rrd/HOSTNAME/ directory - they should be at least some 18-19 KB in size or larger.
If you run "rrdtool dump ~hobbit/data/rrd/HOSTNAME/tcp.conn.rrd", the beginning of the output should look like this:
-------- start rrdtool dump output -------- <!-- Round Robin Database Dump --> <rrd> <version> 0003 </version> <step> 300 </step> <!-- Seconds --> <lastupdate> 1135891575 </lastupdate> <!-- 2005-12-29 22:26:15 CET -->
<ds>
<name> sec </name>
<type> GAUGE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> UNKN </last_ds>
<value> 2.2500000000e-03 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
<!-- Round Robin Archives --> <rra> -------- end of rrdtool dump output --------
You can try generating the graph image for one of the TCP "conn" graphs by running
rrdtool graph x.png
--title "localhost TCP Connection Times Last 48 Hours"
-w576 -h120 -v Seconds -a PNG -s "e-48h" \
"DEF:p0=/usr/local/hobbit/data/rrd/adminfunct.nro.glic.com/tcp.conn.rrd:sec:AVERAGE"
"LINE2:p0#0000FF:conn"
(replace the "/home/hobbit..." filename with the filename of your tcp.conn.rrd file).
If you run this, what happens ? The output should be "673x199" (which is the size of the generated PNG image), and the PNG image is in the x.png file.
Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
This message, and any attachments to it, may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are notified that any use, dissemination, distribution, copying, or communication of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and delete the message and any attachments. Thank you.
On Thu, Dec 29, 2005 at 04:50:44PM -0500, Michael Frey wrote:
After running rrdtool...: libpng warning: Application was compiled with png.h from libpng-1.2.8 libpng warning: Application is running with png.c from libpng-1.0.12 libpng error: Incompatible libpng version in application and library
OK, so hobbitgraph.cgi picks up the wrong libpng*.so file.
You can probably make it work by explicitly setting LD_LIBRARY_PATH in the ~hobbit/cgi-bin/hobbitgraph.sh file, so it points to the directory where you have the 1.2.8 version of libpng*.so installed. E.g. if you have the library in /usr/local/lib/libpng.so.1.2.8, then add this to hobbitgraph.sh before the call to hobbitgraph.cgi:
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH
Regards, Henrik
hobbit graph.sh:
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH
. /usr/local/hobbit/server/etc/hobbitcgi.cfg exec /usr/local/hobbit/server/bin/hobbitgraph.cgi $CGI_HOBBITGRAPH_OPTS
I did a make clean, and make install on libpng-1.2.8.
Restarted httpd and hobbit.
Still getting: libpng warning: Application was compiled with png.h from libpng-1.2.8 libpng warning: Application is running with png.c from libpng-1.0.12 libpng error: Incompatible libpng version in application and library 673x199
Thanks,
Michael Frey Intel Senior Systems Engineer The Guardian Life Insurance Company of America 3900 Burgess Place, 2-West Bethlehem, PA 18017 E-Mail: Michael_frey at glic.com Phone: 610-807-7889 Fax: 610-807-6003
henrik at hswn.dk (Henrik Stoerner) 12/29/2005 04:58 PM Please respond to hobbit at hswn.dk
To hobbit at hswn.dk cc
Subject Re: [hobbit] Larrd graphs not working
On Thu, Dec 29, 2005 at 04:50:44PM -0500, Michael Frey wrote:
After running rrdtool...: libpng warning: Application was compiled with png.h from libpng-1.2.8 libpng warning: Application is running with png.c from libpng-1.0.12 libpng error: Incompatible libpng version in application and library
OK, so hobbitgraph.cgi picks up the wrong libpng*.so file.
You can probably make it work by explicitly setting LD_LIBRARY_PATH in the ~hobbit/cgi-bin/hobbitgraph.sh file, so it points to the directory where you have the 1.2.8 version of libpng*.so installed. E.g. if you have the library in /usr/local/lib/libpng.so.1.2.8, then add this to hobbitgraph.sh before the call to hobbitgraph.cgi:
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH
Regards, Henrik
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
This message, and any attachments to it, may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are notified that any use, dissemination, distribution, copying, or communication of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and delete the message and any attachments. Thank you.
Anyone have integrated hobbit with trouble system ?
I'm tryng Request Tracker, it seems a good tool
http://www.bestpractical.com/products.html
Marco
I know Charles Jones--member of this community--integrated Bigbrother with RT. He may explain you more. Also there was another person who integrated nagios with RT.
You may be able to search the RT mail archive through google to get specifics
On Fri, Dec 30, 2005 at 10:20:07AM, Marco Avvisano wrote:
Anyone have integrated hobbit with trouble system ?
I'm tryng Request Tracker, it seems a good tool
http://www.bestpractical.com/products.html
Marco
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu "..there are two kinds of people: those who work and those who take the credit...try to be in the first group;...less competition there." - Indira Gandhi
Asif Iqbal wrote:
I know Charles Jones--member of this community--integrated Bigbrother with RT. He may explain you more. Also there was another person who integrated nagios with RT.
You may be able to search the RT mail archive through google to get specifics
On Fri, Dec 30, 2005 at 10:20:07AM, Marco Avvisano wrote:
Anyone have integrated hobbit with trouble system ?
I'm tryng Request Tracker, it seems a good tool
Greetings Asif :-)
Marco,
Yes I wrote a "scrip" (what RT calls filters or plugins) that would
parse emails from bigbrother and automatically open a ticket in RT.
When BigBrother sent a recovery message, the scrip would auto-resolve
the ticket as well. This allows a tech to claim a ticket and comment on
it etc. This also enabled us to automatically trend how many BB tickets
were created and resolved over time, using RT and in-house tools.
If you are interested in the scrip I can dig it up and post it. It's written in Perl using the RT API, it shouldn't be too difficult to modify it for use with hobbit.
-Charles
Hi Charles,
I would be interested too in such a script !
-- Olivier
Le 31 déc. 05 à 04:18, Charles Jones a écrit :
Marco,
Yes I wrote a "scrip" (what RT calls filters or plugins) that would
parse emails from bigbrother and automatically open a ticket in
RT. When BigBrother sent a recovery message, the scrip would auto- resolve the ticket as well. This allows a tech to claim a ticket
and comment on it etc. This also enabled us to automatically trend
how many BB tickets were created and resolved over time, using RT
and in-house tools.If you are interested in the scrip I can dig it up and post it.
It's written in Perl using the RT API, it shouldn't be too
difficult to modify it for use with hobbit.-Charles
Hi Charles,
Yes i would be interested.
thanks
M.
----- Original Message ----- From: "Olivier Beau" <olivier at qalpit.com> To: <hobbit at hswn.dk> Sent: Saturday, December 31, 2005 9:34 AM Subject: Re: [hobbit] integrate hobbit with trouble ticket system?
Hi Charles,
I would be interested too in such a script !
-- Olivier
Le 31 déc. 05 à 04:18, Charles Jones a écrit :
Marco,
Yes I wrote a "scrip" (what RT calls filters or plugins) that would parse emails from bigbrother and automatically open a ticket in RT. When BigBrother sent a recovery message, the scrip would auto- resolve the ticket as well. This allows a tech to claim a ticket and comment on it etc. This also enabled us to automatically trend how many BB tickets were created and resolved over time, using RT and in-house tools.
If you are interested in the scrip I can dig it up and post it. It's written in Perl using the RT API, it shouldn't be too difficult to modify it for use with hobbit.
-Charles
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Here is the "scrip" I made for BigBro->RT. Basically I sent a copy of all BigBrother alerts to RT via the normal email gateway method, which creates a ticket in the RT system.
The following RT Scrip basically does the following:
- Recognizing a resolved message via the resolved numeric code (0000000) in the subject*
- Parsing the BB event ID from the subject of the resolved message.
- Search out the initial alert ticket that has the same ID
- If nobody has claimed the ticket, set its status to resolved, and add a note to the ticket indicating it was auto-resolved (This is by design as I didn't want to auto-resolve tickets that a tech had claimed and was working on).
- Delete the ticket created by the recovery message (otherwise these accumulate).
*Note: Big Brother puts the alert ID in the resolved page, by default Hobbit does not, so this will NOT work for Hobbit out of the box.. This can perhaps be accomodated by either using a custom paging script, or modifying the way Hobbit creates the subject line of recovery pages.
The scrip uses the RT API, which looks a bit confusing if you don't know the object names (Jesse helped me there), but the only thing that should need tweaking is the regular expression in the first line, which matches the standard BB recovery subject and parses out the event ID.
I havn't used RT in some time, so I cannot guarantee this will work on the latest version. If you are new to RT, please read up on RTs use of "Scrips" before you try to implement this.
--- start paste --- [cjones at crimson misc]$ cat RT-AutoResolveScrip.pl if ($self->TicketObj->Subject =~ /\!BB - 0000000\!.+(\d+)/) { # Detect BB recovery page and parse ID $RT::Logger->debug('############# AUTORESOLVING TICKET ################'); my $id = $1; my $tickets = new RT::Tickets($RT::SystemUser); # Open a new ticket $tickets->LimitQueue(VALUE => ($self->TicketObj->QueueObj->Id)); $tickets->LimitStatus(VALUE => 'new'); $tickets->LimitStatus(VALUE => 'open'); while (my $ticket = $tickets->Next) { #Loop through all the new and open tickets. next if ($ticket->Subject!~/$id/); #Ignoring ones that do not have the same event id. $self->TicketObj->AddLink( Type => 'MemberOf', Target =>$ticket->Id); #Link it to the alert ticket. $ticket->SetStatus('resolved') if ($ticket->OwnerObj->Name =~/Nobody/); #Resolve if nobody claimed it. my $mimeobj = MIME::Entity->new(); $mimeobj->build(Type => 'text/plain', Data => 'Auto Resolved by Big Brother'); #Add a comment. $ticket->_NewTransaction( Type => 'Comment', MIMEObj => $mimeobj, ); }
Delete the BB recovery generated ticket.
$self->TicketObj->SetStatus('deleted') ; } return 1; ---- end paste ----
-Charles
Asif Iqbal wrote:
I know Charles Jones--member of this community--integrated Bigbrother with RT. He may explain you more. Also there was another person who integrated nagios with RT.
You may be able to search the RT mail archive through google to get specifics
On Fri, Dec 30, 2005 at 10:20:07AM, Marco Avvisano wrote:
Anyone have integrated hobbit with trouble system ?
I'm tryng Request Tracker, it seems a good tool
http://www.bestpractical.com/products.html
Marco
Thanks Charles, i'll try it
M.
"If you run UNIX and you don't have a UPS, you should see a psychiatrist...." --Byte Magazine (years ago)
----- Original Message ----- From: "Charles Jones" <jonescr at cisco.com> To: <hobbit at hswn.dk> Sent: Tuesday, January 03, 2006 7:42 PM Subject: Re: [hobbit] integrate hobbit with trouble ticket system?
Here is the "scrip" I made for BigBro->RT. Basically I sent a copy of all BigBrother alerts to RT via the normal email gateway method, which creates a ticket in the RT system.
The following RT Scrip basically does the following:
- Recognizing a resolved message via the resolved numeric code (0000000) in the subject*
- Parsing the BB event ID from the subject of the resolved message.
- Search out the initial alert ticket that has the same ID
- If nobody has claimed the ticket, set its status to resolved, and add a note to the ticket indicating it was auto-resolved (This is by design as I didn't want to auto-resolve tickets that a tech had claimed and was working on).
- Delete the ticket created by the recovery message (otherwise these accumulate).
*Note: Big Brother puts the alert ID in the resolved page, by default Hobbit does not, so this will NOT work for Hobbit out of the box.. This can perhaps be accomodated by either using a custom paging script, or modifying the way Hobbit creates the subject line of recovery pages.
The scrip uses the RT API, which looks a bit confusing if you don't know the object names (Jesse helped me there), but the only thing that should need tweaking is the regular expression in the first line, which matches the standard BB recovery subject and parses out the event ID.
I havn't used RT in some time, so I cannot guarantee this will work on the latest version. If you are new to RT, please read up on RTs use of "Scrips" before you try to implement this.
--- start paste --- [cjones at crimson misc]$ cat RT-AutoResolveScrip.pl if ($self->TicketObj->Subject =~ /\!BB - 0000000\!.+(\d+)/) { # Detect BB recovery page and parse ID $RT::Logger->debug('############# AUTORESOLVING TICKET ################'); my $id = $1; my $tickets = new RT::Tickets($RT::SystemUser); # Open a new ticket $tickets->LimitQueue(VALUE => ($self->TicketObj->QueueObj->Id)); $tickets->LimitStatus(VALUE => 'new'); $tickets->LimitStatus(VALUE => 'open'); while (my $ticket = $tickets->Next) { #Loop through all the new and open tickets. next if ($ticket->Subject!~/$id/); #Ignoring ones that do not have the same event id. $self->TicketObj->AddLink( Type => 'MemberOf', Target =>$ticket->Id); #Link it to the alert ticket. $ticket->SetStatus('resolved') if ($ticket->OwnerObj->Name =~/Nobody/); #Resolve if nobody claimed it. my $mimeobj = MIME::Entity->new(); $mimeobj->build(Type => 'text/plain', Data => 'Auto Resolved by Big Brother'); #Add a comment. $ticket->_NewTransaction( Type => 'Comment', MIMEObj => $mimeobj, ); }
Delete the BB recovery generated ticket.
$self->TicketObj->SetStatus('deleted') ; } return 1; ---- end paste ----
-Charles
Asif Iqbal wrote:
I know Charles Jones--member of this community--integrated Bigbrother with RT. He may explain you more. Also there was another person who integrated nagios with RT. You may be able to search the RT mail archive through google to get specifics
On Fri, Dec 30, 2005 at 10:20:07AM, Marco Avvisano wrote:
Anyone have integrated hobbit with trouble system ?
I'm tryng Request Tracker, it seems a good tool http://www.bestpractical.com/products.html
Marco
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Marco Avvisano a écrit :
Anyone have integrated hobbit with trouble system ?
I'm tryng Request Tracker, it seems a good tool
Hi all
I've integrated Hobbit with Computer Associates's Unicenter ServicePlus Service Desk (USPSD), if someone is interested.
--
Frédéric Mangeant
Steria EDC Sophia-Antipolis
Michael Frey wrote:
hobbit graph.sh:
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH
. /usr/local/hobbit/server/etc/hobbitcgi.cfg exec /usr/local/hobbit/server/bin/hobbitgraph.cgi $CGI_HOBBITGRAPH_OPTS
I did a make clean, and make install on libpng-1.2.8.
Restarted httpd and hobbit.
Still getting: libpng warning: Application was compiled with png.h from libpng-1.2.8 libpng warning: Application is running with png.c from libpng-1.0.12 libpng error: Incompatible libpng version in application and library 673x199
Thanks,
Michael Frey Intel Senior Systems Engineer The Guardian Life Insurance Company of America 3900 Burgess Place, 2-West Bethlehem, PA 18017 E-Mail: Michael_frey at glic.com Phone: 610-807-7889 Fax: 610-807-6003
*henrik at hswn.dk (Henrik Stoerner)*
12/29/2005 04:58 PM Please respond to hobbit at hswn.dk
To hobbit at hswn.dk cc
Subject Re: [hobbit] Larrd graphs not working
On Thu, Dec 29, 2005 at 04:50:44PM -0500, Michael Frey wrote:
After running rrdtool...: libpng warning: Application was compiled with png.h from libpng-1.2.8 libpng warning: Application is running with png.c from libpng-1.0.12 libpng error: Incompatible libpng version in application and library
OK, so hobbitgraph.cgi picks up the wrong libpng*.so file.
You can probably make it work by explicitly setting LD_LIBRARY_PATH in the ~hobbit/cgi-bin/hobbitgraph.sh file, so it points to the directory where you have the 1.2.8 version of libpng*.so installed. E.g. if you have the library in /usr/local/lib/libpng.so.1.2.8, then add this to hobbitgraph.sh before the call to hobbitgraph.cgi:
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH
What OS is this on? I don't see it in the thread.
=G=
participants (9)
-
frederic.mangeant@steria.com
-
henrik@hswn.dk
-
iqbala-hobbit@qwestip.net
-
JamesHorwath@glic.com
-
jonescr@cisco.com
-
marco.avvisano@regione.toscana.it
-
michael_frey@glic.com
-
olivier@qalpit.com
-
solitaryr@trantor.org