How to graph RRD data from DEVMON
list H. Klomp
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
list Galen Johnson
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:user-b644cde19b47@xymon.invalid] Sent: Tuesday, September 11, 2007 5:38 AM
To: user-ae9b8668bcde@xymon.invalid
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
list H. Klomp
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:user-87f955643e3d@xymon.invalid] Sent: dinsdag 11 september 2007 14:41
To: user-ae9b8668bcde@xymon.invalid
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:user-b644cde19b47@xymon.invalid] Sent: Tuesday, September 11, 2007 5:38 AM
To: user-ae9b8668bcde@xymon.invalid
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
list Galen Johnson
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:user-b644cde19b47@xymon.invalid] Sent: Tuesday, September 11, 2007 9:13 AM To: user-ae9b8668bcde@xymon.invalid 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:user-87f955643e3d@xymon.invalid] Sent: dinsdag 11 september 2007 14:41 To: user-ae9b8668bcde@xymon.invalid 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:user-b644cde19b47@xymon.invalid] Sent: Tuesday, September 11, 2007 5:38 AM To: user-ae9b8668bcde@xymon.invalid 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
list Trent Melcher
Here is the extra-rrd.pl script, give Thanks to KaYa
(user-b84b7d8ff428@xymon.invalid) 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:user-87f955643e3d@xymon.invalid] Sent: dinsdag 11 september 2007 14:41 To: user-ae9b8668bcde@xymon.invalid 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:user-b644cde19b47@xymon.invalid] Sent: Tuesday, September 11, 2007 5:38 AM To: user-ae9b8668bcde@xymon.invalid 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
list H. Klomp
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:user-c65e78735b17@xymon.invalid] Sent: dinsdag 11 september 2007 15:34
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] How to graph RRD data from DEVMON
Here is the extra-rrd.pl script, give Thanks to KaYa
(user-b84b7d8ff428@xymon.invalid) 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:user-87f955643e3d@xymon.invalid] Sent: dinsdag 11 september 2007 14:41 To: user-ae9b8668bcde@xymon.invalid 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:user-b644cde19b47@xymon.invalid] Sent: Tuesday, September 11, 2007 5:38 AM To: user-ae9b8668bcde@xymon.invalid 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
list Eric Meddaugh
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:user-b644cde19b47@xymon.invalid] Sent: Tuesday, September 11, 2007 09:38
To: user-ae9b8668bcde@xymon.invalid
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:user-c65e78735b17@xymon.invalid] Sent: dinsdag 11 september 2007 15:34
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] How to graph RRD data from DEVMON
Here is the extra-rrd.pl script, give Thanks to KaYa
(user-b84b7d8ff428@xymon.invalid) 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:user-87f955643e3d@xymon.invalid] Sent: dinsdag 11 september 2007 14:41 To: user-ae9b8668bcde@xymon.invalid 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:user-b644cde19b47@xymon.invalid] Sent: Tuesday, September 11, 2007 5:38 AM To: user-ae9b8668bcde@xymon.invalid 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
list Thomas Séglard
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
list H. Klomp
Again, thank you all for your help. I have the graphs I wanted. Regards, Bert
▸
-----Original Message-----
From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid] Sent: dinsdag 11 september 2007 15:44
To: user-ae9b8668bcde@xymon.invalid
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:user-b644cde19b47@xymon.invalid] Sent: Tuesday, September 11, 2007 09:38
To: user-ae9b8668bcde@xymon.invalid
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:user-c65e78735b17@xymon.invalid] Sent: dinsdag 11 september 2007 15:34
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] How to graph RRD data from DEVMON
Here is the extra-rrd.pl script, give Thanks to KaYa
(user-b84b7d8ff428@xymon.invalid) 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:user-87f955643e3d@xymon.invalid] Sent: dinsdag 11 september 2007 14:41 To: user-ae9b8668bcde@xymon.invalid 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:user-b644cde19b47@xymon.invalid] Sent: Tuesday, September 11, 2007 5:38 AM To: user-ae9b8668bcde@xymon.invalid 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
list Charles Goyard
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 - user-a6cdca7046e2@xymon.invalid - (+33) 1 45 38 01 31 Orange Business Services - online multimedia // ingénierie
list Charles Jones
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.
list Asif Iqbal
▸
On 9/11/07, Charles Goyard <user-a6cdca7046e2@xymon.invalid> 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 - user-a6cdca7046e2@xymon.invalid - (+33) 1 45 38 01 31 Orange Business Services - online multimedia // ingénierie
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
list Charles Goyard
Hi,
▸
Asif Iqbal wrote :On 9/11/07, Charles Goyard <user-a6cdca7046e2@xymon.invalid> 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 - user-a6cdca7046e2@xymon.invalid - (+33) 1 45 38 01 31
Orange Business Services - online multimedia // ingénierie