How to graph RRD data from DEVMON
I would like to create graphs from the devmon output of cisco switches. For this, I found a document "How to if_* grpah from Devmon to Hobbit". However I can't find the extra-rrd.pl program
Is there anyone outthere who is able to tell me how to use the data from devmon to create a rrd graph ?
Regards,
Bert Klomp NLR
Not sure what the extra-rrd.pl script is but on The Shire, Eric Meddaugh has a couple of monitors (zonestat, for instance) that includes a perl script that probably can be used either as is or at least as a baseline.
=G=
From: Klomp, H. [mailto:klomph at nlr.nl] Sent: Tuesday, September 11, 2007 5:38 AM To: hobbit at hswn.dk Subject: [hobbit] How to graph RRD data from DEVMON
I would like to create graphs from the devmon output of cisco switches. For this, I found a document "How to if_* grpah from Devmon to Hobbit".
However I can't find the extra-rrd.pl program
Is there anyone outthere who is able to tell me how to use the data from devmon to create a rrd graph ?
Regards,
Bert Klomp NLR
Thanks for your answer, but I know that there are some scripts what I can use to monitor network interfaces of routers and switches. I would like to use devmon instead, because with devmon I don't have to know which interfaces I must monitor, devmon will do if for me. But How to get this information into a rrd graph ?
There is a document from xbgmsharp on the mailing list (http://permalink.gmane.org/gmane.comp.monitoring.hobbit/10245) which describes how to if_* grpah from devmon to hobbit. In this document he mentions the extra-rrd.pl file. But I can't get it working.
Is there anyone who knows of this file, of knows how to get it working ?
regards,
Bert
From: Galen Johnson [mailto:Galen.Johnson at sas.com]
Sent: dinsdag 11 september 2007 14:41
To: hobbit at hswn.dk
Subject: RE: [hobbit] How to graph RRD data from DEVMON
Not sure what the extra-rrd.pl script is but on The Shire, Eric Meddaugh has a couple of monitors (zonestat, for
instance) that includes a perl script that probably can be used either as is or at least as a baseline.
=G=
From: Klomp, H. [mailto:klomph at nlr.nl]
Sent: Tuesday, September 11, 2007 5:38 AM
To: hobbit at hswn.dk
Subject: [hobbit] How to graph RRD data from DEVMON
I would like to create graphs from the devmon output of cisco switches. For this, I found a document "How to
if_* grpah from Devmon to Hobbit".
However I can't find the extra-rrd.pl program
Is there anyone outthere who is able to tell me how to use the data from devmon to create a rrd graph ?
Regards,
Bert Klomp
NLR
That's not what I was saying...I was pointing out that Eric has included a perl script with a couple of his monitors that does what you are looking for.
=G=
From: Klomp, H. [mailto:klomph at nlr.nl] Sent: Tuesday, September 11, 2007 9:13 AM To: hobbit at hswn.dk Subject: RE: [hobbit] How to graph RRD data from DEVMON
Thanks for your answer, but I know that there are some scripts what I can use to monitor network interfaces of routers and switches.
I would like to use devmon instead, because with devmon I don't have to know which interfaces I must monitor, devmon will do if for me.
But How to get this information into a rrd graph ?
There is a document from xbgmsharp on the mailing list (http://permalink.gmane.org/gmane.comp.monitoring.hobbit/10245) which describes how to if_* grpah from devmon to hobbit. In this document he mentions the extra-rrd.pl file. But I can't get it working.
Is there anyone who knows of this file, of knows how to get it working ?
regards,
Bert
From: Galen Johnson [mailto:Galen.Johnson at sas.com]
Sent: dinsdag 11 september 2007 14:41
To: hobbit at hswn.dk
Subject: RE: [hobbit] How to graph RRD data from DEVMON
Not sure what the extra-rrd.pl script is but on The Shire, Eric
Meddaugh has a couple of monitors (zonestat, for instance) that includes a perl script that probably can be used either as is or at least as a baseline.
=G=
From: Klomp, H. [mailto:klomph at nlr.nl]
Sent: Tuesday, September 11, 2007 5:38 AM
To: hobbit at hswn.dk
Subject: [hobbit] How to graph RRD data from DEVMON
I would like to create graphs from the devmon output of cisco
switches. For this, I found a document "How to if_* grpah from Devmon to Hobbit".
However I can't find the extra-rrd.pl program
Is there anyone outthere who is able to tell me how to use the
data from devmon to create a rrd graph ?
Regards,
Bert Klomp
NLR
Here is the extra-rrd.pl script, give Thanks to KaYa (xbgmsharp at gmail.com) for sending this to me originally. I put just the if_load test in the script however you can add more for other graphs, I have about 15 other stats that I graph this way now. Mostly for our oracle databases.
------------cut------------------ #!/usr/bin/perl
Input parameters: Hostname, testname (column), and messagefile
#$HOSTNAME=$ARGV[0]; ; $TESTNAME=$ARGV[1]; ; $FNAME=$ARGV[2]; ; $filename="/tmp/if_log";
Read the entire files
open (FILEHANDLE,$FNAME) || die ("cant read file\n"); @input = <FILEHANDLE>; close (FILEHANDLE);
if ( $TESTNAME eq "if_load") {
# Analyze the message we got
open(OUT, ">", $filename);
foreach $line (@input) {
if ($line =~ /(^[A-Z].*) (\d+):(\d+)$/ ) {
# The RRD dataset definitions
print "DS:in:DERIVE:600:0:U\n";
print "DS:out:DERIVE:600:0:U\n";
# The filename
print "if_load_$1.rrd\n";
# The data
print "$2:$3\n";
}
}
close (OUT);
} ------------cut------------------
HTH
Trent
On Tue, 2007-09-11 at 15:12 +0200, Klomp, H. wrote:
Thanks for your answer, but I know that there are some scripts what I can use to monitor network interfaces of routers and switches. I would like to use devmon instead, because with devmon I don't have to know which interfaces I must monitor, devmon will do if for me. But How to get this information into a rrd graph ?
There is a document from xbgmsharp on the mailing list (http://permalink.gmane.org/gmane.comp.monitoring.hobbit/10245) which describes how to if_* grpah from devmon to hobbit. In this document he mentions the extra-rrd.pl file. But I can't get it working.
Is there anyone who knows of this file, of knows how to get it working ?
regards,
Bert
______________________________________________________________ From: Galen Johnson [mailto:Galen.Johnson at sas.com] Sent: dinsdag 11 september 2007 14:41 To: hobbit at hswn.dk Subject: RE: [hobbit] How to graph RRD data from DEVMON Not sure what the extra-rrd.pl script is but on The Shire, Eric Meddaugh has a couple of monitors (zonestat, for instance) that includes a perl script that probably can be used either as is or at least as a baseline. =G= From: Klomp, H. [mailto:klomph at nlr.nl] Sent: Tuesday, September 11, 2007 5:38 AM To: hobbit at hswn.dk Subject: [hobbit] How to graph RRD data from DEVMON I would like to create graphs from the devmon output of cisco switches. For this, I found a document "How to if_* grpah from Devmon to Hobbit". However I can't find the extra-rrd.pl program Is there anyone outthere who is able to tell me how to use the data from devmon to create a rrd graph ? Regards, Bert Klomp NLR
Thank's to all for your help.
Galen, you are right, Eric has some simaler scripts at the shire.
I wil try to setup the rrd graphs with this script and inform you on my progress.
Regards,
Bert
-----Original Message----- From: Trent Melcher [mailto:trent.melcher at sitel.com] Sent: dinsdag 11 september 2007 15:34 To: hobbit at hswn.dk Subject: RE: [hobbit] How to graph RRD data from DEVMON
Here is the extra-rrd.pl script, give Thanks to KaYa (xbgmsharp at gmail.com) for sending this to me originally. I put just the if_load test in the script however you can add more for other graphs, I have about 15 other stats that I graph this way now. Mostly for our oracle databases.
------------cut------------------ #!/usr/bin/perl
Input parameters: Hostname, testname (column), and messagefile
#$HOSTNAME=$ARGV[0]; ; $TESTNAME=$ARGV[1]; ; $FNAME=$ARGV[2]; ; $filename="/tmp/if_log";
Read the entire files
open (FILEHANDLE,$FNAME) || die ("cant read file\n"); @input = <FILEHANDLE>; close (FILEHANDLE);
if ( $TESTNAME eq "if_load") {
# Analyze the message we got
open(OUT, ">", $filename);
foreach $line (@input) {
if ($line =~ /(^[A-Z].*) (\d+):(\d+)$/ ) {
# The RRD dataset definitions
print "DS:in:DERIVE:600:0:U\n";
print "DS:out:DERIVE:600:0:U\n";
# The filename
print "if_load_$1.rrd\n";
# The data
print "$2:$3\n";
}
}
close (OUT);
} ------------cut------------------
HTH
Trent
On Tue, 2007-09-11 at 15:12 +0200, Klomp, H. wrote:
Thanks for your answer, but I know that there are some scripts what I can use to monitor network interfaces of routers and switches. I would like to use devmon instead, because with devmon I don't have to know which interfaces I must monitor, devmon will do if for me. But How to get this information into a rrd graph ?
There is a document from xbgmsharp on the mailing list (http://permalink.gmane.org/gmane.comp.monitoring.hobbit/10245) which describes how to if_* grpah from devmon to hobbit. In this document he mentions the extra-rrd.pl file. But I can't get it working.
Is there anyone who knows of this file, of knows how to get it working ?
regards,
Bert
______________________________________________________________ From: Galen Johnson [mailto:Galen.Johnson at sas.com] Sent: dinsdag 11 september 2007 14:41 To: hobbit at hswn.dk Subject: RE: [hobbit] How to graph RRD data from DEVMON Not sure what the extra-rrd.pl script is but on The Shire, Eric Meddaugh has a couple of monitors (zonestat, for instance) that includes a perl script that probably can be used either as is or at least as a baseline. =G= From: Klomp, H. [mailto:klomph at nlr.nl] Sent: Tuesday, September 11, 2007 5:38 AM To: hobbit at hswn.dk Subject: [hobbit] How to graph RRD data from DEVMON I would like to create graphs from the devmon output of cisco switches. For this, I found a document "How to if_* grpah from Devmon to Hobbit". However I can't find the extra-rrd.pl program Is there anyone outthere who is able to tell me how to use the data from devmon to create a rrd graph ? Regards, Bert Klomp NLR
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
I made the perl script to handle multiple inputs from other "data" providers. It'd flexible enough that should be able to handle most data sent to it. There is a certain "format" you'd need to follow to use it, but it can be modified to fit most everything.
I wrote it since only one data reader is allowed to be defined and must be able to handle all the different data types sent to it.
---Eric
-----Original Message----- From: Klomp, H. [mailto:klomph at nlr.nl] Sent: Tuesday, September 11, 2007 09:38 To: hobbit at hswn.dk Subject: RE: [hobbit] How to graph RRD data from DEVMON
Thank's to all for your help.
Galen, you are right, Eric has some simaler scripts at the shire.
I wil try to setup the rrd graphs with this script and inform you on my progress.
Regards,
Bert
-----Original Message----- From: Trent Melcher [mailto:trent.melcher at sitel.com] Sent: dinsdag 11 september 2007 15:34 To: hobbit at hswn.dk Subject: RE: [hobbit] How to graph RRD data from DEVMON
Here is the extra-rrd.pl script, give Thanks to KaYa (xbgmsharp at gmail.com) for sending this to me originally. I put just the if_load test in the script however you can add more for other graphs, I have about 15 other stats that I graph this way now. Mostly for our oracle databases.
------------cut------------------ #!/usr/bin/perl
Input parameters: Hostname, testname (column), and messagefile
#$HOSTNAME=$ARGV[0]; ; $TESTNAME=$ARGV[1]; ; $FNAME=$ARGV[2]; ; $filename="/tmp/if_log";
Read the entire files
open (FILEHANDLE,$FNAME) || die ("cant read file\n"); @input = <FILEHANDLE>; close (FILEHANDLE);
if ( $TESTNAME eq "if_load") {
# Analyze the message we got
open(OUT, ">", $filename);
foreach $line (@input) {
if ($line =~ /(^[A-Z].*) (\d+):(\d+)$/ ) {
# The RRD dataset definitions
print "DS:in:DERIVE:600:0:U\n";
print "DS:out:DERIVE:600:0:U\n";
# The filename
print "if_load_$1.rrd\n";
# The data
print "$2:$3\n";
}
}
close (OUT);
} ------------cut------------------
HTH
Trent
On Tue, 2007-09-11 at 15:12 +0200, Klomp, H. wrote:
Thanks for your answer, but I know that there are some scripts what I can use to monitor network interfaces of routers and switches. I would like to use devmon instead, because with devmon I don't have to know which interfaces I must monitor, devmon will do if for me. But How to get this information into a rrd graph ?
There is a document from xbgmsharp on the mailing list (http://permalink.gmane.org/gmane.comp.monitoring.hobbit/10245) which describes how to if_* grpah from devmon to hobbit. In this document he mentions the extra-rrd.pl file. But I can't get it working.
Is there anyone who knows of this file, of knows how to get it working ?
regards,
Bert
______________________________________________________________ From: Galen Johnson [mailto:Galen.Johnson at sas.com] Sent: dinsdag 11 september 2007 14:41 To: hobbit at hswn.dk Subject: RE: [hobbit] How to graph RRD data from DEVMON Not sure what the extra-rrd.pl script is but on The Shire, Eric Meddaugh has a couple of monitors (zonestat, for instance) that includes a perl script that probably can be used either as is or at least as a baseline. =G= From: Klomp, H. [mailto:klomph at nlr.nl] Sent: Tuesday, September 11, 2007 5:38 AM To: hobbit at hswn.dk Subject: [hobbit] How to graph RRD data from DEVMON I would like to create graphs from the devmon output of cisco switches. For this, I found a document "How to if_* grpah from Devmon to Hobbit". However I can't find the extra-rrd.pl program Is there anyone outthere who is able to tell me how to use the data from devmon to create a rrd graph ? Regards, Bert Klomp NLR
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Again, thank you all for your help. I have the graphs I wanted.
Regards,
Bert
-----Original Message----- From: Eric Meddaugh [mailto:etmsys at rit.edu] Sent: dinsdag 11 september 2007 15:44 To: hobbit at hswn.dk Subject: RE: [hobbit] How to graph RRD data from DEVMON
I made the perl script to handle multiple inputs from other "data" providers. It'd flexible enough that should be able to handle most data sent to it. There is a certain "format" you'd need to follow to use it, but it can be modified to fit most everything.
I wrote it since only one data reader is allowed to be defined and must be able to handle all the different data types sent to it.
---Eric
-----Original Message----- From: Klomp, H. [mailto:klomph at nlr.nl] Sent: Tuesday, September 11, 2007 09:38 To: hobbit at hswn.dk Subject: RE: [hobbit] How to graph RRD data from DEVMON
Thank's to all for your help.
Galen, you are right, Eric has some simaler scripts at the shire.
I wil try to setup the rrd graphs with this script and inform you on my progress.
Regards,
Bert
-----Original Message----- From: Trent Melcher [mailto:trent.melcher at sitel.com] Sent: dinsdag 11 september 2007 15:34 To: hobbit at hswn.dk Subject: RE: [hobbit] How to graph RRD data from DEVMON
Here is the extra-rrd.pl script, give Thanks to KaYa (xbgmsharp at gmail.com) for sending this to me originally. I put just the if_load test in the script however you can add more for other graphs, I have about 15 other stats that I graph this way now. Mostly for our oracle databases.
------------cut------------------ #!/usr/bin/perl
Input parameters: Hostname, testname (column), and messagefile
#$HOSTNAME=$ARGV[0]; ; $TESTNAME=$ARGV[1]; ; $FNAME=$ARGV[2]; ; $filename="/tmp/if_log";
Read the entire files
open (FILEHANDLE,$FNAME) || die ("cant read file\n"); @input = <FILEHANDLE>; close (FILEHANDLE);
if ( $TESTNAME eq "if_load") {
# Analyze the message we got
open(OUT, ">", $filename);
foreach $line (@input) {
if ($line =~ /(^[A-Z].*) (\d+):(\d+)$/ ) {
# The RRD dataset definitions
print "DS:in:DERIVE:600:0:U\n";
print "DS:out:DERIVE:600:0:U\n";
# The filename
print "if_load_$1.rrd\n";
# The data
print "$2:$3\n";
}
}
close (OUT);
} ------------cut------------------
HTH
Trent
On Tue, 2007-09-11 at 15:12 +0200, Klomp, H. wrote:
Thanks for your answer, but I know that there are some scripts what I can use to monitor network interfaces of routers and switches. I would like to use devmon instead, because with devmon I don't have to know which interfaces I must monitor, devmon will do if for me. But How to get this information into a rrd graph ?
There is a document from xbgmsharp on the mailing list (http://permalink.gmane.org/gmane.comp.monitoring.hobbit/10245) which describes how to if_* grpah from devmon to hobbit. In this document he mentions the extra-rrd.pl file. But I can't get it working.
Is there anyone who knows of this file, of knows how to get it working ?
regards,
Bert
______________________________________________________________ From: Galen Johnson [mailto:Galen.Johnson at sas.com] Sent: dinsdag 11 september 2007 14:41 To: hobbit at hswn.dk Subject: RE: [hobbit] How to graph RRD data from DEVMON Not sure what the extra-rrd.pl script is but on The Shire, Eric Meddaugh has a couple of monitors (zonestat, for instance) that includes a perl script that probably can be used either as is or at least as a baseline. =G= From: Klomp, H. [mailto:klomph at nlr.nl] Sent: Tuesday, September 11, 2007 5:38 AM To: hobbit at hswn.dk Subject: [hobbit] How to graph RRD data from DEVMON I would like to create graphs from the devmon output of cisco switches. For this, I found a document "How to if_* grpah from Devmon to Hobbit". However I can't find the extra-rrd.pl program Is there anyone outthere who is able to tell me how to use the data from devmon to create a rrd graph ? Regards, Bert Klomp NLR
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hello there,
I'm just asking if some of you are using 'jstat' to monitor and graph datas about heap/gc. I'm using Tomcat 6 with jdk1.6 under debian linux. Thanks for your help. Bye !
Thomas
Hi Thomas,
Thomas Séglard wrote :
I'm just asking if some of you are using 'jstat' to monitor and graph datas about heap/gc. I'm using Tomcat 6 with jdk1.6 under debian linux. Thanks for your help.
I do, with tomcat 4/5, but it's mostly useless. I can send you the scripts privately if you wish.
-- Charles Goyard - charles.goyard at orange-ftgroup.com - (+33) 1 45 38 01 31 Orange Business Services - online multimedia // ingénierie
Please pass those my way as well :-)
-Charles
Charles Goyard wrote:
Hi Thomas,
Thomas Séglard wrote :
I'm just asking if some of you are using 'jstat' to monitor and graph datas about heap/gc. I'm using Tomcat 6 with jdk1.6 under debian linux. Thanks for your help.
I do, with tomcat 4/5, but it's mostly useless. I can send you the scripts privately if you wish.
On 9/11/07, Charles Goyard <charles.goyard at orange-ftgroup.com> wrote:
Hi Thomas,
Thomas Séglard wrote :
I'm just asking if some of you are using 'jstat' to monitor and graph datas about heap/gc. I'm using Tomcat 6 with jdk1.6 under debian linux. Thanks for your help.
I do, with tomcat 4/5, but it's mostly useless. I can send you the scripts privately if you wish.
I am interested to look at it as well
-- Charles Goyard - charles.goyard at orange-ftgroup.com - (+33) 1 45 38 01 31 Orange Business Services - online multimedia // ingénierie
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
Hi,
Asif Iqbal wrote :
On 9/11/07, Charles Goyard <charles.goyard at orange-ftgroup.com> wrote:
Hi Thomas,
Thomas Séglard wrote :
I'm just asking if some of you are using 'jstat' to monitor and graph datas about heap/gc. I'm using Tomcat 6 with jdk1.6 under debian linux. Thanks for your help.
I do, with tomcat 4/5, but it's mostly useless. I can send you the scripts privately if you wish.
I am interested to look at it as well
Ok, I'll make the code a little cleaner and will post it (in a few days).
-- Charles Goyard - charles.goyard at orange-ftgroup.com - (+33) 1 45 38 01 31 Orange Business Services - online multimedia // ingénierie
participants (8)
-
charles.goyard@orange-ftgroup.com
-
etmsys@rit.edu
-
Galen.Johnson@sas.com
-
jonescr@cisco.com
-
klomph@nlr.nl
-
thomas.seglard@mxp4.com
-
trent.melcher@sitel.com
-
vadud3@gmail.com