[rrd-users] Re: Trouble Installing RRDTool 1.2.10
On Thu, 7 Jul 2005, Sawan Gupta wrote: > But I receive the "sanity check failed for /lib/cpp" for freetype and > libgart_lgpl. > > I am using Fedora Core 3. Try: yum install rrdtool Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Re: make troubles
On Fri, 1 Jul 2005 [EMAIL PROTECTED] wrote: > I managed to successfully configure rrdtool. But now when I run make I > get the following error: > > strtod 0x23a8 > /tmp/rrdbuild/lb/lib/libpng.a(pngrutil.o) And just how are we to known even the most basic details like: - Which OS you are on? And which version? (Which distribution if you run Linux?) - What did ./configure do exactly? .. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Re: problems installing rrd ...
On Thu, 9 Jun 2005, Peter Ryall wrote: > i reckon i can field this ... (but feel free to correct me!) > > part of the beauty of rrdtool is that ANYONE can use/install it. > > thus the problem with a solaris package is twofold: > > a) it installs into a particular place (usually) system defaulty > kinds of places, which aren't changeable, except by editing the > (text part of the) package, which kind of defeats the purpose; I think you will find plenty of admins who would like to see a current rrdtool added to the free solaris packages (as one may find them on http://www.sunfreeware.com/ for example). > b) relies on certain non-open (closed?) source programs, which > parts of rrd have been designed arround. There is plenty of packaged freeware around as you may see on the site above. Come to think of it last time I needed a Solaris package it was build in something like 48 hours by Steve. Perhaps he will build a newer rrdtool version as well. (Based on 1.2.x) Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Re: problems installing rrd ...
On Wed, 8 Jun 2005, Tobias Oetiker wrote: > I am developing rrdtool on solaris ... compilation according to > rrdbuild works fine You wouldn't happen to have a solaris package for rrdtool? Mind you: I am not in need of one but it may be very usefull for those with very limited solaris experience. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Re: Creating RRD/RRA
On Wed, 11 May 2005, Mike M wrote: > > The heartbeat is set to 3600 so you need updates >at_most< 3600 > > seconds apart. > > This should be okay - I'm planning on writing a shell script that runs > from cron hourly to update the database. Is there any harm in making > this a little less, maybe 3300? If heartbeat < step then values = NaN At least that is what I have understood for all the time I have been on the list. So your heartbeat should be larger then your stepsize. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Re: rrdcgi - Please help
On Tue, 3 May 2005, Paulo Jorge Oliveira wrote: > Hi, > I'm using one of the examples of the rrdcgi manual (I'm trying to learn > something). Everything seems to work well. The graph is generated. But > I'm not able to see it on my browser (appears the red X icon). > Can anyone help me on this? If you tried it once before it worked you should clear out your browser cache. IE (is anyone else using these odd icons ;-) is a pain at is caches a lot of information in a odd way. Just for fun try another browser (firefox). Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdminhttp://lists.ee.ethz.ch/lsg2.cgi
[rrd-users] Re: not a simple integer error
On Tue, 29 Mar 2005, SWATTON, JEANINE wrote: > Why is it when I store this number in the database: 4.5, it returns an > error > ERROR: not a simple integer: '4.5' Because it is NOT an integer. So correct the value before you feed it. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Good Colours to use on graphs?
On Thu, 10 Mar 2005, Steve Wright wrote: > I have a total of 20 DS's, and sometimes will want all of these to be > displayed on a single graph, however, getting the definition between the > colours is quite akward, so I'm looking for recommendations of colours to be > used that are very different to each other so I can get a 'clear' graph! >From a practical point: Anything having over 4 or 5 lines in different colors twising around each other will be hard to read because some colors will be too close for comfort. It depends on the graph at hand to see how much colors one can stand. but 20 sounds like an unpractical number. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Problem with some values
On Tue, 8 Mar 2005, Raz Muhammad wrote: > I wonder what does this means > GPRINT:bounces:MAX:"%6.2lf %s mails max" `man 3 printf` should help you out here. (http://seth.positivism.org/man.cgi/3/printf) Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: [RRD] - MRTG Problem with WorkDir
On Wed, 29 Dec 2004, Jo Becaus wrote: > I agree it does work for the path where RRDTOOL itself is installed. > > The issue is that the WorkDir cannot handle Driveletters where the rrd > files will be stored, not in the PathAdd. > > WorkDir: /STORAGE/INETPUB/WWWROOT/MRTG/PRODUCTION/ > > It will work when using P:/ STORAGE/INETPUB/WWWROOT/MRTG/PRODUCTION/ but > then I am not able to generate graphs via CGI file and returns an error > related to the fact the drive letter is in the path. Why not use shares and use the full path name including server and share name? While not a windows expert this is the way I would attempt to do it if someone had a gun pointed at me and said I had to install MRTG and RRDtools on windows. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: rrd error
On Thu, 16 Dec 2004, John Nagro wrote: > I am getting an error along the lines of: > > ERROR: garbage found where STACK expected > > I would give you the command i used but its a tool i got somewhere > else thats actually using rrdtool. If you can point me at whats > breaking maybe i can hack the tool into working. So? Why can't show how you call rrd-tool? At present there is no way we can know what you are doing at all. If you expect help you should provide enough information so people know what you are talking about. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: resize question
On Fri, 10 Dec 2004, Robin Elfrink wrote: > Robin Elfrink wrote: > > > The overlap in data (ie. the last two weeks) shows the same (except it > > scales different), but the new one lacks data from before two weeks ago. > > And that is what I am looking for. To copy the 30 minute data from > > before two weeks ago, into the enlarged 5 minute data RRA. > > Another little extra info on why I want this: > > I want to be able to view, for example, week 8 of 2004. If I do that > now, I get a graph that looks like blokkendoos. I enlarged the 5 minute > RRA, so in a year I'll get a nice graph for week 8 of 2005. But I want > to be able to view week 8 of 2004 NOW. > > If I just do the resize, week 8 of 2004 will give me an empty graph, > where the blokkendoos is not nice but will do better than an empty graph. What you did not save you can not graph. Making graphs takes a good deal of planning before you implement it. But if you want to store graphs you might as well plan to take weekly snapshots. At present for some measurement environments I take daily snapshots of the graphs. Combined with some scripting this results in almost up-to-date monthly graphs. They make pretty pictures in quarterly reports. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: 'graph' command printing to stdout
On Thu, 9 Dec 2004 [EMAIL PROTECTED] wrote: > There must be ready-made scripts that gather data for used/free disk > space, network interface traffic, etc. I thought I found find those in > contrib/, but they aren't there. Is there a collection that I could > make use of somewhere, or do I need to reinvent the wheel? Thanks. The mailinglist archives should contain a number of links. I'ºl drop in just another copy of it just in case ;-) The tools http://hvdkooij.xs4all.nl/stats/ Details of the results shown on http://hvdkooij.xs4all.nl/stats-dag.cms (among others) Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Two independent Y-axis scales
On Thu, 28 Oct 2004, Robert Nelson wrote: > I am using RRDTool with Nagios and am tracking some info on radios. One > the values is RSSI, which can range from 0 to 2500. The other is jitter, > which has a range of 0 to 15. I'd like to make two Y-axis scales, Blue > from 0 to 2500 and Green from 0 to 15, with the appropriate colored > lines for the values. As it is, the jitter just shows as a solid green > line on the bottom of the chart, so it's really hard to tell if it's > varying at all. > > I can do this as multiple charts, but it would be really nice to view > all this stuff in one place. We've used other tools that do this in the > past and it works great, since both lines really should be a solid > horizontal line (should be...). I looked through the archive and saw a > September 2003 post suggesting someone might be working on this, but > there was no followup that I could find. The quick workaround is to multiply the Greens with 2500/15 = 167 for the graphs. Use the orginal value for the text values below the graph. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: where to find help
On Thu, 21 Oct 2004, ISP BNJCOMP COM wrote: > Okay maybe I am doing this wrong. > I have asked a couple times here questions. > I have asked on experts exchange the same questions. > neither place gets any response or answers to questions. > I have read and studied and am continuing to study rrdtool as it > seems to be just what I need. But in meantime while learning > I need to find out some answers. > So the question is Where do I ask that I can actually get a response and > is rrd-users@list.ee.ethz.ch the right place to post in first place? Some guidelines: - Make sure you do not ask questions which seem to indicate you have not taken some time to figure it out yourself. - Make sure questions are clear in itself. Nobody but you knows what you have seen and done and read unless you tell someone. Make no assumptions just because you did send some of the details last year. - If a question is not answered do not resend it. Rephrase your question and be more elaborate and more detailed in your information and more to the point in your questions. As I do not recall any of your questions I have no idea if any of these guidelines make you reconsidere to rephrase your question(s). This mailinglist is righ on the spot if the question is RRD tools related. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Solaris install problem
On Wed, 6 Oct 2004 [EMAIL PROTECTED] wrote: > I'm pretty weak on Unix, so I amy be missing the obvious here. > > I have a solaris 9 box > > It already had perl 5.005 on it > > I installed the GNU Make and GNU gcc per the instructions in them Get rid of that perl version. Combining the shipped perl with other tools is not a road to succes. I suggest you get a perl version that fits with the other tools and start to build from there. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Merging two RRDs
On Mon, 9 Aug 2004, Euan Buchanan wrote: > I have a Wellfleet router with two serial interfaces aggregated to one > logical interface. The hardware address against which OpenNMS collects > SNMP data changes from one to the other at seemingly random intervals. > > Whilst I'm not losing any data, it does make viewing the data a little > inconvenient. Is there a way I can populate one rrd with the values > from the other rrd? Filling in the gaps as it were. Shouldn't you be fixing the Wellfleet side? (Ask Bay Networks for a decent snmp interface. ;-) Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: help with GAUGE and RRAs
On Sun, 1 Aug 2004, M. Yu wrote: > I need to monitor, among other things, the Signal-to-Noise Ratio (SNR) > of several cable modems to get an accurate picture of the health of the > cable plant. Since I will be monitoring 100s of cable modems (CMs) and > each CM's SNR values will be stored for a period of 1 year max, I was > thinking of using RRD instead of mySQL to store these values. Frankly, I think a SQL database may be better suited for your application. You need to store information with a level of detail that does not fit well in RRD if my interpretation is right. It will surely not fit the detail level you did describe. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: sendmail stats package?
On Mon, 12 Jul 2004, Scot L. Harris wrote: > I have been working on scripts to collect stats from an email server > using sendmail. > > Before I get to far down that road is there an existing package that > parses the log file and produces stats using rrdtool? Like: http://hvdkooij.xs4all.nl/cgi-bin/mailgraph.cgi Try: http://people.ee.ethz.ch/~dws/software/mailgraph/ Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: sendmail stats package?
On Mon, 12 Jul 2004, Scot L. Harris wrote: > On Mon, 2004-07-12 at 17:17, Hugo van der Kooij wrote: > > On Mon, 12 Jul 2004, Scot L. Harris wrote: > > > > > I have been working on scripts to collect stats from an email server > > > using sendmail. > > > > > > Before I get to far down that road is there an existing package that > > > parses the log file and produces stats using rrdtool? > > > > Like: http://hvdkooij.xs4all.nl/cgi-bin/mailgraph.cgi > > > > Try: http://people.ee.ethz.ch/~dws/software/mailgraph/ > > Thanks. Yes that is the kind of thing I am trying to setup. This > utility appears to be geared toward postfix. Will have to see if it can > work with sendmail. I run it with sendmail. So it works! (Guess where the latest version got it's updates from ;-) Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: RRDTool::OO - Storing/Retrieving from DB
On Fri, 9 Jul 2004, Rafael Angarita wrote: > Thanks for your answer Mike, but I have just one more question, is > normal a rounding as big as this? (my program add the received > parameter). I 50, 50 and 40 and the 40 is added as 42 I think you need to do some more reading to know why the answer is 42. (http://en.wikipedia.org/wiki/The_Answer_to_Life,_the_Universe,_and_Everything) Hugo. (Who just couldn't resist.) -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: RRD::graph inconsistence
On Thu, 10 Jun 2004, Alejandro Galue wrote: > Both graph are generated with the same properties and same RRD file. The > only difference is the image size. > > The correct graph is the bigger (I validate that using RRD::Fetch). > > Why I get differents results with differents image sizes ? If you change the number of pixels on the time scale you may end up using another time reference (1sample/5min. versus 1sample/30min.) and so you get another graph. That is just based on your text as I haven't looked at your images (which is quite hard on a console). Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: DLSW OID
On Wed, 9 Jun 2004, Jose Calderon wrote: > Hi, I am looking for a Cisco DLSW OID. > I want to monitor active dlsw circuits in a cisco 7513. > Could you help me with my request Have you studied the output of snmpwalk of this device? It will tell you just about everything you need to know about SNMP capabilities of your device. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Online Reference Material
On Sun, 30 May 2004, Trev Thorpe wrote: > I am having some trouble finding a decent online reference site for using > rrdtool. I am looking for one that would have examples and some decent > detail on setting up various graphs etc... No document but some free to study sample scripts can be read on http://hvdkooij.xs4all.nl/stats/ There are dozens if not thousands more of these samples around on the internet. Basically start with the documentation on the RRDtool site and some other samples and start playing. RRDtools is not plug-and-play but code-and-play with trial-and-error. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: compile error
On Mon, 17 May 2004 [EMAIL PROTECTED] wrote: > I (a newbie) am trying to compile rrdtool on a solaris8 / GNU gcc. > Configure goes ok but make falls over > It seems to choke on using cc but I instructed configure that cc=gcc and > all those things ... > /usr/bin/perl -I/usr/perl5/5.00503/sun4-solaris -I/usr/perl5/5.00503 This sounds like perl as shipped with Solaris itself. (And to name it a bit old would be too gentle ;-) I suggest you find a more recent perl version and install it. Prefably from the same source that got you your GCC package and such. And I notice Toby has some kind memories of this perl version: "yet another file ... pod in perl 5.005 is a bitch ..." Anyway I think you get the general impression by now. ;-) Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: MRTG performance
On Wed, 12 May 2004, Tobias Oetiker wrote: > Today Pavel Ruzicka wrote: > > > I use MRTG for measuring about 150 routers and switches and about 7000 > > targets. When some device is dead, I have holes in graphs. > > I have some optimizations - 20 forks, shorter SNMP timeouts, but this is not > > enough. > > It's possible to have some deadhost detection? > > well mrtg does detect dead hosts, it sends only one request and > then disables th host until the next round ... Am I correct in assumeing this only applies if those 200 ports are listed in a single config file for that node? So if you split this in 4 config files of 50 ports you would have 1 timeout per config file. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Updated RPM spec file for CVS version
On Tue, 4 May 2004, Chris Adams wrote: > I have made an updated RPM spec file for the CVS snapshot version that > is working for me on Red Hat Enterprise Linux 3. It builds 3 RPMs: > rrdtool (with the documentation, command line programs, and shared > libraries), rrdtool-perl (the perl modules), and rrdtool-devel (include > files and static libraries). I've included the spec file below. > > How does this look? It works good enough for me (I've got Cricket up > and running), but does it seem "sane" enough? :-) Please use %{_tmpdir} instead of a hardcoded /tmp in your BuildRoot. Perhaps a minimum perl version might be defined. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: RPN Tutorial with logical operators (AND/OR)?
On Sun, 2 May 2004, Laurent LEVIER wrote: > When I read this: >"CDEF:C2=in,$L2,LT,in,$L1,GE,*,in,$L1,-,0,IF,in,$L2,GT,$L1,0,IF,+" \ > I understand there is some sort of AND in the first IF: in LT $L2 AND in GE > $L1. > But I dont understand how is managed the 2nd IF after the 1st one, as well > as I dont understand what's the use of the star '*' (is this the AND > operator?) and the plus '+' at the end of the line. Does it add the result > of the 2nd IF to the result of the 1st one? or it is another logical operator? All of them are maths. The first * does work as the AND operator but the + does not at all. I am not a RPN expert however. You need to play the stack game and rewrite it part by part to a more common notation to figure this one out. C2=in,$L2,LT,in,$L1,GE,*,in,$L1,-,0,IF,in,$L2,GT,$L1,0,IF,+ Compare L2: C2 = (in < $L2) ,in,$L1,GE,*,in,$L1,-,0,IF,in,$L2,GT,$L1,0,IF,+ Compare L1: C2 = (in < $L2) (in >= $L1) ,*,in,$L1,-,0,IF,in,$L2,GT,$L1,0,IF,+ Multiply these results (which equals to AND): C2 = ((in < $L2) * (in >= $L1)) ,in,$L1,-,0,IF,in,$L2,GT,$L1,0,IF,+ Lower with L1: C2 = ((in < $L2) * (in >= $L1)) (in - $L1) ,0,IF,in,$L2,GT,$L1,0,IF,+ Now rewrite in more common format: IF ((in < $L2) * (in >= $L1)) THEN C2a = (in - $L1) ELSE C2a = 0 So where did C2a come from? Well, I needed a place holder as we haven't finished yet. C2b = in,$L2,GT,$L1,0,IF C2b = (in > $L2) ,$L1,0,IF In more common format: IF (in > $L2) THEN C2b = $L1 ELSE C2b = 0 And finaly: C2 = C2a + C2b The problem here lies that it only works if you use even spaced color intervals. But if these intervals are not equaly divided you should not use $L1 but ($L2 - $L1). Which would in the end result in: CDEF:C2=in,$L2,LT,in,$L1,GE,*,in,$L1,-,0,IF,in,$L2,GT,$L2,$L1,-,0,IF,+ BTW: I assume here that $Lx stands for the color seperation levels. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: RPN Tutorial with logical operators (AND/OR)?
On Sun, 2 May 2004, Laurent LEVIER wrote: > At 00:41 02/05/2004, Arnold Nipper wrote: > >I guess you already did the RRD - RPN - Tutorial > >(http://www.rrdtool.com/tutorial/rpntutorial.html), didn't you? > >http://xout.free.fr/rpne/tutor/tut.html also looks promising ... > > Yes, and I also found the other one searching for some infos on the net. > > But none is speaking about how to use AND/OR operators and how RPN managed > when there are multiple 'IF' in the same line. :-/ Use it as maths. If TRUE = 1 and FALSE = 0 then you can use something like: A AND B becomes (A+B) == 2 A OR B becomes (A+B) > 0 A EXOR B becomes (A+B) == 1 Converting this to RPN is left as an exercise to the reader. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: expected 2 data source got <8>
On Mon, 26 Apr 2004, Smita Dutta wrote: > { > $in1=`snmpwalk -v 1 -c public addr 1.3.6.1.2.1.2.2.1.10.1`; > $out1=`snmpwalk -v 1 -c public addr 1.3.6.1.2.1.2.2.1.16.1`; > print $in1; > print $out1; > RRDs::update("$local_dir/myrouter.rrd","N:$in1:$out1"); > my $ERR=RRDs::error; > die "ERROR while updating mydemo.rrd: $ERR\n" if $ERR; > sleep(300 ); > } Wo what DO you see exactly if you run this script? From the error I think you get 4 parameters and not just 1 back from your snmpwalk command. You may want to take a look at: http://hvdkooij.xs4all.nl/traffic/snmp-poller.pl Which was build with assistence from this list. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Still struggling with RRD & RPN. where's the pb, all looks good to me.
On Mon, 26 Apr 2004, Laurent LEVIER wrote: > To build this, I defined the following: Which I would translate as ... > 'CDEF:Cnxs=input,300,LE,input,300,IF' \ IF (input < 300) THEN Cnxs = input ELSE Cnxs = 300 > 'CDEF:CnxsOrange=input,600,GE,300,input,IF' \ IF (input >= 600) THEN CnxsOrange = 300 ELSE CnxsOrange = input > 'AREA:Cnxs#00FF00' \ > 'STACK:CnxsOrange#FF9F00' \ > > With this, I was expecting to have > a green layer for values between 0 & 300 > A orange layer for values above 600 > Partial orange layer for values between 300 & 600. Not quit. It means Cnxs is cut short at 300. But Cnxsorange is cut if it exceeds 600 back to 300. Or else it will hold input which might be anywhere from 0 to 599. So if input is 450 you would get Cnxs=300 and Cnxsorange=450 which would stack for a nice value of 750 which I think should be quite red. You might want to do: CDEF:CnxsOrange=input,600,GE,300,input,300,-,IF IF (input >= 600) THEN CnxsOrange = 300 ELSE CnxsOrange = input-300 But my RPN is not perfect either so I might be utterly wrong here. I would advise to use variables instead of hardcoded values. It would make changing a perimeter an easy exercise instead of counting all occurrances and hoping you did not miss one. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Area on top of an other area
On Mon, 26 Apr 2004, Florian Schlums wrote: > What will happen, if one interface doesn't reply on a smtp request? Will > the whole graph be sero at that point? 1 + 0 = . 1 1 + nan = ? > Is it possible to draw areas on the top of a previous area? And if so, > how could I do that? Go to the docs, do not pass the mailinglist and do not receive karma points. See the rrdgraph manual page and look for STACK. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: RRD Tool multi-color layered graphic.
On Sat, 24 Apr 2004, Laurent LEVIER wrote: > Imagine I have a collection of data (whatever). > I would like to display the graph with multiple colors, from red to green > for example. > > For example: > From value 1 to 10, graph will be displayed in red > From 11 to 50, in orange > above 51 in green. Something like: BUSY=204800 CDEF:normal=octets,$BUSY,GT,0,octets,IF \ CDEF:border=octets,$BUSY,GT,$BUSY,0,IF \ CDEF:busy=octets,$BUSY,GT,octets,$BUSY,-,0,IF \ AREA:normal#7EE600:"Normal" \ AREA:border#7EE600:"" \ STACK:busy#EA8F00:"Busy"\ Which show light green on normal usage but starts to top it of with orange when the line usage is over 80% In conventional terms: IF (octects > $BUSY) THEN busy = octets - $BUSY ELSE busy = 0 If anyone knowns a tool to convert from a more tradional format to this notation I would be greatfull as I always have trouble getting this RPN stuff right untill my Nth try (where: 10 < N < kazillion). More samples: http://hvdkooij.xs4all.nl/stats/ Hugo. PS: Most of these samples have been created with assistance from this list. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: rrdtool core file
Andras Horvai zei: > Apr 8 08:06:06 traffic grsec: signal 11 sent to (rrdtool:8676) > UID(1002) EUID(1002), parent (php4:13932) UID(1002) EUID(1002) Signal 11 could be a software bug. But you MUST investigate your hardware as it also is a common indicator of faulty hardware. If any other application gives Signal 11 errors as well I think it will be quit safe to blame your hardware. (Start with your RAM!) Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: rrdcgi input checks
Koos van den Hout zei: > > I am playing with some rrd generated graphs, and I'd like to give the > period (day, week, month, year) as a parameter to the cgi. I'd also like > to > give targets as parameter, but that is secondary. > > But, I never trust input from the web to be what I want, or to be safe. > So, > I want to check whether it's day/week/month/year and if it isn't, not even > try to start rrdgraph. > > So, is there a way to check input values in rrdcgi? Or do I need to fall > back to a perl wrapper? You could peek on how it is done with tools like MRTS (http://apt-get.dk/mrts/) or MailGraph (http://people.ee.ethz.ch/~dws/software/mailgraph/) Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: paramters for graph
On Sun, 21 Mar 2004, Neil wrote: > I have a graph at http://restricted.dyndns.org/cpu_last_day.png. I would > like my graph to look similar to this one below: > http://restricted.dyndns.org/aragon.png > > What are the parameters I need to use for "rrdtool graph"? Ask the person who made the graph. But I guess it takes about a dozen CDEF lines and about as much STACK lines along with an equal number of GPRINT lines to get this done. To get another sample have a look at http://hvdkooij.xs4all.nl/stats/ If you check the diskspace part you will see some CDEF + STACK tricks to use different colours for different percentages. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: MRTG & CPU usage above 100
On Fri, 12 Mar 2004, O'Neill, Donald (US - Deerfield) wrote: > > I have MRTG polling 13 dual/qaud processor servers running Red Hat AS > 2.1. Each mrtg.config is exactly the same for each server but one DL380 > is reporting CPU usage above 100% (161%) to be exact. Each server is > using the same ucd-snmp & hp-agents.. Anyone experience this ? My config > file looks like this.. Poll manual with some SNMP tool and check the values. If it happens with another tool it is just not a MRTG issue. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Building an rrdtool rpm on RHEL3
On Mon, 16 Feb 2004, Tom Diehl wrote: > Making all in tcl > make[2]: Entering directory `/usr/src/redhat/BUILD/rrdtool-1.0.46/tcl' > gcc -O2 -g -march=i386 -mcpu=i686 -Wall -pedantic -Wshadow -Wpointer-arith > -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs > -Winline -fPIC -c tclrrd.c -DVERSION=\"1.0.46\" > tclrrd.c:16:22: rrd_tool.h: No such file or directory > tclrrd.c:17:24: rrd_format.h: No such file or directory There is your problem. Does the system allow building of packages? I know rrdtool builds wwell on Red Hat Linux 8 and Fedora Core 1 so I see no reason why it would not build on RHEL3. Just did an rpmbuild --rebuild on the source package. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Data acquisition for an RRD to store mail flow rates.
On Mon, 2 Feb 2004, Tobias Oetiker wrote: > you might want to look at david schweikerts mailgraph for > inspiration > > http://people.ee.ethz.ch/~dws/software/mailgraph/ If you happen to run sendmail instead of postfix you might want to add: elsif($prog eq 'sendmail') { if($text =~ /mailer=local/ ) { event($time, 'received'); } if($text =~ /stat=Sent/ ) { event($time, 'sent'); } if($text =~ /lost input channel/ ) { event($time, 'rejected'); } if($text =~ /ruleset=check_rcpt/ ) { event($time, 'bounced'); } if($text =~ /sender blocked/ ) { event($time, 'bounced'); } if($text =~ /sender denied/ ) { event($time, 'bounced'); } if($text =~ /recipient denied/ ) { event($time, 'bounced'); } } Somewhere along the list of programs and events. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Data acquisition for an RRD to store mail flow rates.
On Mon, 2 Feb 2004, Hugo van der Kooij wrote: > On Mon, 2 Feb 2004, Tobias Oetiker wrote: > > > you might want to look at david schweikerts mailgraph for > > inspiration > > > > http://people.ee.ethz.ch/~dws/software/mailgraph/ > > Did someone modify it for sendmail? > > It does get my MailScanner/SpamAssassin lines but seems to miss the rgular > traffic. It gave it a shot with adding: elsif($prog eq 'sendmail') { if($text =~ /mailer=local/ ) { event($time, 'received'); } if($text =~ /mailer=relay/ ) { event($time, 'sent'); } if($text =~ /reject=/ ) { event($time, 'rejected'); } } However I am not sure about the definitions of the events bounced and received. I think it means: rejected: I did not like the message and told the sending server to take a hike and keep the message. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Data acquisition for an RRD to store mail flow rates.
On Mon, 2 Feb 2004, Tobias Oetiker wrote: > you might want to look at david schweikerts mailgraph for > inspiration > > http://people.ee.ethz.ch/~dws/software/mailgraph/ Did someone modify it for sendmail? It does get my MailScanner/SpamAssassin lines but seems to miss the rgular traffic. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: CPU Utilization for Enterasys ELS 100
On Mon, 12 Jan 2004 [EMAIL PROTECTED] wrote: > We are using Enterasys (Cabletron) ELS 100 (24 port) switch in our ISP > setup. We would like to monitore its CPU Utilization.. > > Any one know about the OID/MIB or its configuration .. Try you favorite web search machine and you get hits like: http://www.somix.com/support/mrtg_repository.php?cmd=vendor&vendor=53&vendor_name=Enterasys+Networks+Inc. Learn all details available by querying the switch with tools like snmpwalk. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: cuting peaks ?
On Fri, 9 Jan 2004, Hugo van der Kooij wrote: > RRDtool 1.0.42 > > Perhaps I should try the 1.0.46 from the RPM stove. The issue could not be reproduced with v1.0.46. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: cuting peaks ?
On Thu, 8 Jan 2004, Alex van den Bogaerdt wrote: > On Thu, Jan 08, 2004 at 06:59:51PM +0100, Hugo van der Kooij wrote: > > > > LIMIT* > > > > > > replaces the value with /*UNKNOWN*/ if it is outside the limits > > > specified by the two values above it on the stack. > > > > > > CDEF:a=alpha,0,100,LIMIT > > > > It does not kill spikes. It will reduce them just to the maximum allowed. > > Actually, it shouldn't (according to the docs). Did you find a bug or > are you still suffering from the flu ? :) Propably both. Took me hours to do some simple tests. > > I tried both ways but found that with the limit option the graphs are > > still inaccurate as they show spikes where there weren't. > > 1: are you sure you looked at a, not alpha? > 2: the spikes are real in the OP case. He just doesn't want to see them My spikes are due to bad old Zyxel who could not get the firmware right on their 645 ADSL router. Current code: rrdtool graph $GRAPHS/ADSL-in.$PERIOD.gif --start -$LENGTH \ -t "ADSL inkomend verkeer $TITEL" \ --vertical-label bytes/second \ DEF:value=$STATS/isildur.adsl.rrd:ifInOctets:AVERAGE\ CDEF:octets=value,$FULL,GT,nan,value,IF \ CDEF:normal=octets,$BUSY,GT,0,octets,IF \ CDEF:border=octets,$BUSY,GT,$BUSY,0,IF \ CDEF:busy=octets,$BUSY,GT,octets,$BUSY,-,0,IF \ AREA:normal#7EE600:"Normal" \ AREA:border#7EE600:"" \ STACK:busy#EA8F00:"Busy"\ GPRINT:octets:AVERAGE:"Gem. \:%5.2lf%sB/s" \ GPRINT:octets:MAX:"Max. \:%5.2lf%sB/s\n"\ COMMENT:"$DATUM\r" Other test had: DEF:value=$STATS/isildur.adsl.rrd:ifInOctets:AVERAGE\ CDEF:octets=value,0,$FULL,LIMIT \ CDEF:normal=octets,$BUSY,GT,0,octets,IF \ RRDtool 1.0.42 Perhaps I should try the 1.0.46 from the RPM stove. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: cuting peaks ?
On Thu, 8 Jan 2004, Erik de Mare wrote: > Hugo van der Kooij wrote: > > >So if my CPU graphs shows a glitch into the MEGA %s I could reduce it > >with: > > > >CDEF:rawuser=cpurawuser,100,GT,nan,IF > > > or you can use LIMIT > * > LIMIT* > > replaces the value with /*UNKNOWN*/ if it is outside the limits > specified by the two values above it on the stack. > > CDEF:a=alpha,0,100,LIMIT It does not kill spikes. It will reduce them just to the maximum allowed. But it still should not exist at all and should therefor be eliminated alltogether from the graphs. I tried both ways but found that with the limit option the graphs are still inaccurate as they show spikes where there weren't. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: yet more questions :")
On Thu, 8 Jan 2004, raptor wrote: > > 1. my console is cyrilic locale, is there a way to tell rrdgraph to not use > the locale but English when generating the graph ? > 2. I use this at the moment to create .rrd's > > rrdgraph .. '--start' => $now, '--step' => 300, ... How about: LANG=C rrdgraph .. Which works well on shell prompts. Either call your perl script in this way or find the similar trick in perl itself. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: cuting peaks ?
On Thu, 8 Jan 2004, Hugo van der Kooij wrote: > > 2: use a CDEF to change large rates into unknown > > So if my CPU graphs shows a glitch into the MEGA %s I could reduce it > with: > > CDEF:rawuser=cpurawuser,100,GT,nan,IF Let this be a warning to everyone who thinks he can write sane things without testing them while have a flu. It should have been: CDEF:rawuser=cpurawuser,100,GT,nan,cpurawuser,IF Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: cuting peaks ?
On Thu, 8 Jan 2004, Alex van den Bogaerdt wrote: > On Thu, Jan 08, 2004 at 11:24:24AM +0200, raptor wrote: > > > > Is there a method/way to cut high peaks so that other values do not flatten > > on the graphic... > > I have no MAX value set during creation of the RRD i.e. "DS:x:COUNTER:0:U", > > i dont want to, but want to > > cut peaks if they show up.. > > Choose between these two: > > 1: specify a maximum (--upper-limit) and rigid (--rigid) > 2: use a CDEF to change large rates into unknown So if my CPU graphs shows a glitch into the MEGA %s I could reduce it with: CDEF:rawuser=cpurawuser,100,GT,nan,IF Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: question about rrd and network logging
On Tue, 30 Dec 2003, Peter Mees wrote: > Is it possible to use rrd/mrtg to log networktraffic of an network > interface in a computer running Red Hat 7.3 , it has only one > physical interface (eth0). I don't have access to the router to which > it's connected. Not an rrdtool/mrtg issue. Your task is to gather these statstics. You could try to use iptabels counters to gather the information. For examples: http://www.bgplus.com/software/ipt2mrtg.html Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: counter or absolute
On Thu, 25 Dec 2003, Chitman Kaur wrote: > I used DERIVE ds for CRCs since I wanted to see spikes when there is increase > in CRC... Now on the y axis I am getting valies like 1.2 m etc ... > Now as you said Change_in_CRC / Time interval = 1.2 . my time interval is > 5 minutes so how much is the change in CRC in the interval of 5 mins > As far as what I understansd it should be a numeric value.but > (5*1.2)/1000 = 0.006 > Alex van den Bogaerdt <[EMAIL PROTECTED]> wrote: If I am not mistaken the maths go: 1.2m average per 5 minutes ==> 0.0012 * 5 * 60 ==> 0.36 changed in 5 minutes. Wether or not calculating changes on a CRC errors is relevant is hard to say. On most networks anything other then 0 is something I would not find acceptable at all. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: How does Linux Upgrade affect MRTG?
On Mon, 15 Dec 2003, Davi de Paula Cabral - DATAPREVRJ wrote: > Hi people, > > I am thinking about upgrading my MRTG/RRD server from Red Hat 7.2 to Fedora, > but I`m afraid because of versions compatibility: Perl, libraries, and so > on. I got an rrdtool package working on Fedora Core 1 with all the perl dependencies covered. Anything not on the Fedora Core 1 packages is added to the repository. (Which isn't much in case of the rrdtools.) I don't think it should be a hard exercise. And if you want to peek at the packages: http://hvdkooij.xs4all.nl/software.rpm.en.cms Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Web server log (access_log)
On Tue, 2 Dec 2003, Felipe Piccirilo wrote: > > Anyone already try to feed a rrd database and create graphs getting the > data from apache's access_log? > > If yes, what kind of ds did you use? COUNTER? > Did anyone know some script to analyze the access_log that works > similar to webalizer(www.webalizer.org) or something like that? Look for the right tool. (rrdtools is not.) You want something like analog or awstats. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Cisco sub interfaces
On Tue, 2 Dec 2003, Hickey, Brian wrote: > I'm running frame relay on a Cisco 2611. I have a single PVC configured as > Serial 0/0.1 > > Is monitoring Serial 0/0 the same as monitoring Serial 0/0.1? No. It may look the same with just 1 PVC but there is a difference. (FrameRelay housekeeping frames for a start.) Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: rrdtool
On Tue, 25 Nov 2003, Michael Earls wrote: > Does this work with Mysql? Please consult the archives. The rrd-tools are a specific tool for a specific job. You just need another tool. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Using RRDTool & SNMP to graph CPU usage
On Wed, 12 Nov 2003, Graeme Donaldson wrote: > Thanks, that looks very promising. The mkrrd script at > http://hvdkooij.xs4all.nl/stats/mkrrd only shows one of your RRDs though. > Would it be possible to get the rest? I don not have them. I changed the script any time I had to create a new RRD file. (Which does not happen that often.) So what you see is the last RRD file I created. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Using RRDTool & SNMP to graph CPU usage
On Wed, 12 Nov 2003, Graeme Donaldson wrote: > I'm trying to figure out how to graph CPU usage percentages with RRDTool. > I'd like to separately graph User, Nice, System and Idle percentages. I > think I know which OIDs to monitor (ssCpuRawUser.0, ssCpuRawNice.0, etc), > but I'm not sure what they represent and how to calculate usage > percentages from them. Like the ones on: http://hvdkooij.xs4all.nl/stats-dag.cms The scripts and such are on: http://hvdkooij.xs4all.nl/stats/ Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Time issue with graphs
On Tue, 4 Nov 2003, Dirk Bulinckx wrote: > Meaning? > The timezone of the system/OS? > The system is set to > GMT+1 with daylight savings > This is the correct timezone for were I am And what time do you use in your program? What time do you use with rrdtool? That is where you must investigate. No one but you can tell how you handle time issues in your software. But getting the time wrong is a common problem in software so it must be made rather confusing. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Time issue with graphs
On Tue, 4 Nov 2003, Dirk Bulinckx wrote: > I'll start by introducing myself. I'm the author of an Win32 based > network monitoring tool called Servers Alive. We just started adding > RRDTool logging to Servers Alive and are seeing a problem with it. > > Servers Alive is logging to the RRDTool "database", however the graphs > only show a start of the logging one hour later then the time at which > we started. Sounds like a time offset issue. As your local timezone has an one hour offset from UTC (formerly known as GMT) it seems you have to check your timezone handling. I guess it will become worse if you move to an timezone with a larger offset. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Can't install rrdtool(failed dependencies--perl(Net::SNMP) is needed by rrdtool-1.0.41-1.8.0)
On Thu, 30 Oct 2003, [big5] milk layer wrote: > I have downloaded rrdtool-1.0.41-1.8.0.i386.rpm and > tried to install it by sudo rpm -ivh (file name). But > an error message prompted: Failed dependencies: > perl(Net::SNMP) is needed by rrdtool-1.0.41-1.8.0. > Then,I typed: > $sudo perl -MCPAN -e shell > $install Net::SNMP > The last message stated that "Net::SNMP is up to > date". But when i install the RPM again, it still > failed with the same error message. Could anyone > please suggest a solution to my problem?? And do i > need to install any essential subpackages before the > installation of rrdtool? While the software is there, the packaging database is unaware of it. You must install all depencies through the package manager or override it. I can recommend the cpan2rpm package to build your own Net::SNMP package or you can find a build package through rpmfind.net: http://rpmfind.net/linux/rpm2html/search.php?query=perl-net-snmp&submit=Search+... Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Rrd rool compilation error on Solaris 9
On Thu, 16 Oct 2003, Subin Shahul Hameed wrote: > I am using Solaris 9 and rrdtool 1.0.45 with gcc 2.95.3, Sun make and > GNU make 3.80. > cc -c -I../src -I../gd1.3 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -xO3 -xdepend-DVERSION=\"1.000451\" -DXS_VERSION=\"1.000451\" -KPIC > -I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -DPERLPATCHLEVEL=6 RRDs.c > /usr/ucb/cc: language optional software package not installed This is NOT gcc. I suggest you check you PATH settings and check general FAQ issues with compiling with GCC. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: HDD size
On Sun, 7 Sep 2003, yaka patiya wrote: > Does anyone know about monitoring the size of a hard drive both total size > against used. I get some numbers when I do a SNMP walk on the mib file. But > what do I need to do if I want to show how many gigs are the total size and > how much is used? Do I multiply the result by 4096 since 1 allocation unit > is 4096 bytes. Then divide by 1024 to get kilobytes and then divide again by > 1024 to get mega bytes. And then finally divide by 1024 to get the answer in > giga bytes. Can some please helpAnd aslo does this same kind of > calculation be done on any hard drive regardless of the OS ? I got a sample of code up at http://hvdkooij.xs4all.nl/stats/ which you may want to look into. You need to get 3 variables to get the actual size + usages. 1 being the unit size 2 being the number of units for the device (partition) 3 being the number of allocated units for the device Total size = 1 * 2 Used = 1 * 3 This is easily discovered by doing an snmpwalk over a device and dropping the results in a file. Studying this file has shown me al the nice options I can monitor. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Default community string and SNMP
On Wed, 3 Sep 2003, yaka patiya wrote: > Can someone tell me what's the best way to find out if SNMP is enabled. I > think I can do this through getif. But how will I know what the community > string is? How can I find that out ? Any help would be appreciated. Ask the owner/admin of the device. If you are allowed to use SNMP to the device they will give you the information. If you are not You shouldn't even bother to try. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Compile error code 64
On Thu, 24 Jul 2003, Jay Sern Liew wrote: > I am having trouble compiling rrdtool, anyone have any suggestions? I'm > brain-dead already. I searched the archives, couldnt find anything > appropriate. Doesn't appear to me that alot of people are having the same > problem? > > This is where it breaks, > > Making install in doc > /bin/sh ../config/mkinstalldirs /usr/local/rrdtool-1.0.41/doc > /usr/bin/install -c -m 644 ./rrdtool.pod > /usr/local/rrdtool-1.0.41/doc/rrdtool.pod > install: ./rrdtool.pod and /usr/local/rrdtool-1.0.41/doc/rrdtool.pod are > the same file > *** Error code 64 If you try to install the software to your current directory this error makes sense. I normally have local sources under /usr/local/src/. to keep it away from the binaries that it is supposed to install. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: gcc issue?
On Mon, 30 Jun 2003, Tobias Oetiker wrote: > Today Hugo van der Kooij wrote: > > > On Mon, 30 Jun 2003, Fitzgerald, David wrote: > > > > > >Did you install all the other requirements? like the libraries for ssl, > > > > > > >c++, > > > > > > > > > The other requirements? Where are they documented? > > > > In this case the error message is quite clear as far as SSL is > > concerned. I find that Solaris freeware packages miss the information but > > you could get some hints if you visit the original source websites and > > study the FAQ's and such. > > > > If you put part of the error in a google search you may find some usefull > > links. > > except that ssl is not required for rrdtool ... to me the erros > looked more as if you did not have either a working c compiler or a > copy of gnu make installed ... > > check the config.log for more enlightenment ... libstd is another known one to forget easily. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: gcc issue?
On Mon, 30 Jun 2003, Fitzgerald, David wrote: > >Did you install all the other requirements? like the libraries for ssl, > > >c++, > > > The other requirements? Where are they documented? In this case the error message is quite clear as far as SSL is concerned. I find that Solaris freeware packages miss the information but you could get some hints if you visit the original source websites and study the FAQ's and such. If you put part of the error in a google search you may find some usefull links. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: gcc issue?
On Mon, 30 Jun 2003, Fitzgerald, David wrote: > In attempting to install rrdtool 1.0.42 on a Solaris 8 box, I found I > did not have a C compiler installed, so I installed gcc 3.3 from > sunfreeware.com. Did you install all the other requirements? like the libraries for ssl, c++, This is a common error on just about any open source mailinglist and not rrd exclusive. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: RRD on Linux monitoring Windows Perfmon
On Wed, 28 May 2003, List Subscriber wrote: > Hi all, I've been using RRD for a couple of years to graph the output of > SNMP and rstad for our routers and Unix/Linux servers. However, we are > getting some Windows servers, and I would love to be able to monitor them > as well. Windows has a "perfmon", and I was wondering if any of the linux > users has been able to successfully request metrics from the windows > perfmon daemon? Take a shot at this: http://www.wtcs.org/snmp4tpc/default.htm Hugo -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Saving RRD Historical data into html
On Tue, 27 May 2003, Richard Barsanti wrote: > Does anyone what tool saves RRD Historical data into html? crontab + wget does it everytime. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: still not compiling
On Tue, 27 May 2003, Remy Bouba wrote: > i have a new error message : > can't load '/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/GD/GD.so' for > module GD :/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/GD/GD.so :undefined > symbol: PL_stack_max at > /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 229 at > graph-paths line 58 Red Hat Linux 8 comes with Perl 5.8 It seems you have added a package linked to another perl version. Make sure you only use packages build for Red Hat Linux 8 or rebuild them from source instead. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: newbie help please.... RRDTool 'DEF' statement parsing
On Tue, 20 May 2003, Matchan, Neil W wrote: > I'm trying to pass an array of 'defs, cdefs, area & line' definitions to > RRDTool but only the 1st 'def' statement seems to be accepted. > > The idea behind this is to have a Perl CGI script create graphs based upon > user selected 'devices' and 'intefaces'. As these are > user selectable, the number of 'DEF, CDEF, AREA and LINE1' statements used > will vary, so I can't pre-define them to the script. > > The CGI builds the necessary strings and stores them in various arrays, I > then use the array names in the RRDs::graph statement. > > eg. > @def0[0] = "DEF:router0in1=" . $path . "/router0_fa01.rrd:ds0:MAX"; > @def0[1] = "DEF:router0in2=" . $path . "/router0_fa02.rrd:ds0:MAX"; > @def0[2] = "DEF:router1in1=" . $path . "/router1_fa01.rrd:ds0:MAX"; > @def0[3] = "DEF:router1in2=" . $path . "/router1_fa02.rrd:ds0:MAX"; > @def0[4] = "DEF:router2in1=" . $path . "/router2_fa01.rrd:ds0:MAX"; > @def0[5] = "DEF:router2in2=" . $path . "/router2_fa02.rrd:ds0:MAX"; Pardon me but shouldn't this be : $def0[0], $def0[1], . Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: I can't install on RedHat Linux 9
On 13 May 2003, Iain Buchanan wrote: > On Tue, 2003-05-13 at 12:59, Ramiro Fabricio Pulgar M. wrote: > > Hi. I have a problem > > I updated my RedHat 7.3 to 9, but I tried to install rrdtool rpms but I got > > next message: > > For rrdtool I used: rpm -ivh rrdtool-1.0.41-1.8.0.i386.rpm > > rrdtool-devel-1.0.41-1.8.0.i386.rpm > > error: Failed dependencies: > > perl (Net::SNMP) is needed by rrdtool-1.0.41-1.8.0 > > Regards > The first and best thing you can do when using rpms, is to install the > rpm rpmdb-redhat-.rpm. From then on you will get meaningful > messages such as (I can't remember exactly): > > suggested resolutions: > perl-5.8.0-55 > > Then you can install the rpm's it suggests, instead of having to guess > what provides a particular dependancy. Unfortunatly Net::SNMP is not covered in any RPM package. Install the perl and perl-CPAN packages and install from CPAN. Hugo, -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] SNMP polling and graphing
Hi, A while ago I asked if anyone had a script to semiautomagically graph routers and switches. Erik de Mare helped me with some of his work but it did not work out to well on the wild bunch of switches, routers and firewalls I used to test the script. Based on this script I have now created two scripts that are able to handle most of the known devices I could test. Is consist of a SNMP poller and a seperate grapher script. They have locking to prevent duplicate runs that would tear down your system. Well. To put it short: http://hvdkooij.xs4all.nl/traffic/index.html If someone finds a device that can not handle all of the variables please let me know how to work around them. At present I have a workaround for Nokia IPSO as not all of the MIB variables are present. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: MRTG and RRDTOOL
On Fri, 9 May 2003, Jaime Gary wrote: > I have problem with integrate RRDTOOL with MRTG. When run mrtg with cfg file > get the follow error. > > Can't load '/usr/lib/perl5/5.00503/i386-linux//auto/RRDs/RRDs.so' for module > RRDs: /usr/lib/perl5/5.00503/i386-linux//auto/RRDs/RRDs.so: undefined symbol: > PL_sv_undef at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm > line 229. > at /usr/bin/mrtg line 159 > Compilation failed in require at /usr/bin/mrtg line 159 > > The server is RedHat 8.0 with RMP MRTG and RRDTOOL. Obviously you got some incorrect packages. Red Hat Linux 8.0 comes with perl 5.8 and you got a reference to perl 5.00503 which is rather old. I suggest you get fresh packages instead of ones build for Red Hat Linux 5.x (or 6.x at best). Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: formatting help
On Thu, 8 May 2003, Dan Barber wrote: > A couple simple questions... > > I would like to add a "Last Updated" date in the graph. how can I do > that? > > I would like to add line returns after each legend entry, so they are > stacked instead of across the bottom. How can I do that? See the sample code on http://hvdkooij.xs4all.nl/stats/ Gathered from tips here and cacti sources and other sources I have allready forgotten. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: RV: Re: rrd-users
On Wed, 30 Apr 2003, Andre Miller wrote: > Hi Jamie, > > I had a similar problem when trying to install the RPM - it seems that the > rpm dependency check doesn't work if you installed Net::SNMP via CPAN on > Redhat8. > > As a workaround, you can tell rpm to ignore the dependency check (since you > did install it via CPAN, right?): > > rpm --nodeps -i rrdtool-1.0.41-1.8.0.i386.rpm I had done it with Red Hat Linux 9 just this week and there was not an issue with that. I do not recall having seen an issue with Red Hat Linux 8.0 but I used anothe package. (It's on my homesite under software somewhere.) Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: rrd-users
On Wed, 30 Apr 2003, Jaime Gary wrote: > I?m new in the eviroment linux, and try to install rrdtool 1.0.41-1 in RedHat > 8.0 with rpm "rrdtool-1.0.41-1.8.0.i386.rpm". But failed with follow > messages the error. > > Failed dependencies: > perl(Net::SNMP) is needed by rrdtool-1.0.41-1.8.0 > > What is the eror? The error is there in front of you. A short description to a solution is below. You must install Net::SNMP Make sure you have perl-CPAN install as RPM and whatever other RPM packages you require to make PERL = CPAN work. Then install through CPAN this module. # perl -MCPAN -e shell install Net:: SNMP For more details see a CPAN document at your local work CPAN mirror site. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: RRDCGI and Apache Problem
On Thu, 24 Apr 2003, [iso-8859-1] Jose Orlando Mu�oz Bravo (HP) wrote: > Hi all, > > I'm trying to have a online graphs from a RRD database, I'm using the > tutorial example, and when I see from a browser get the following error. > The permissions of the file demo.cgi is 777 and I not understand who need the > write permission Ouch. I would not recommend this setting. Anyone can alter your script. BUT the issue at hand is that your CGI runs as the user that is configured in your apache configuration and needs to write out the GIF file somewhere. And it can not write it. So see if apache (the most likely user to run you httpd as) can write to the proper directory. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: newbie question
On Wed, 23 Apr 2003, Kenneth Lee wrote: > I'm new to rrdtool. My RRD database stores data in 5 min intervals. When I > use rrdtool to plot the graph for short time periods (say an hour), the > graph show up as zigzag lines (style = LINE). Is it possble to tell rrdtool > to draw a smooth curve, perhaps by guessing the data within the 5 min > interval? A zig-zag line is the only factual representation possible based on the data. You could try to 'lie' in your graphics with a smooth curve but it would not be based on actual data. If you make regular use of such images you could considere taking more measurements. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Strange result in using -X 0
On Tue, 22 Apr 2003, Tony wrote: > I have a number of graphs that display call minutes for different dial > platforms. > > It shows MAX, AVG and LAST values on the graph. > I noticed that the y-axis value was displaying in 'k' when I only wanted > to show the whole number with no measurement value next to it. > > According to the docs I need to use -X 0 when producing the graph to > prevent it from showing a measurement value. > Which seemed to have worked until the max value on one of the graphs > reached above 10, then all values from the y-axis disappeared and > the grid on the graph has no vertical lines just horizontal. > > I expect that the other graphs will go the same way when they, if they, > reach above 10. > > Am I using the wrong option when producing the graph? > What is the correct one if so? The question one would have to ask is wether a scale with a value of 600 makes a lot of sense. (If I did that my colleagues would call this a dirty number. Because you have to use your finger to actually count the number of zeros. And that would put fingerprints on your screen.) Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: STACK and LINEx using graph
On Mon, 21 Apr 2003, Hugo van der Kooij wrote: > rrdtool graph speed.gif --start -1day -t "Call Sessions" \ > --vertical-label Calls \ > DEF:async=call-stats.rrd:async:LAST \ > DEF:isdn=call-stats.rrd:isdn:LAST \ > CDEF:total=calls=isdn,async,+ \ > AREA:async=#FF:Async\ > GPRINT:async:LAST:async:LAST:"Last \:%4.0lf"\ Seems I have a bit of duplicate stuff here. It should read: GPRINT:async:LAST:"Last \:%4.0lf" \ And likewise for the other two gprint lines. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: STACK and LINEx using graph
On Mon, 21 Apr 2003, Tony wrote: > However getting the graph to display as I want is a pain. > I want to use the STACK option when drawing the graph but for some > reason it changes the value down the left hand side of the graph, from > correct whole numbers to decimal lower numbers. > > Let me explain. > I am logging call stats from a dialup box. > I am logging number of async calls, number of ISDN calls and the total > of the 2, so 3 data values. Hmm. If async+isdn=total then there is no need to store total. You can calculate it later. > rrrdtool graph speed.gif --start -1day -t "Call Sessions" \ > --vertical-label Calls > DEF:calls1=call-stats.rrd:async:LAST \ > DEF:calls2=call-stats.rrd:isdn:LAST \ > DEF:calls3=call-stats.rrd:total:LAST \ > AREA:calls1#FF:Async GPRINT:calls1:LAST:"LAST\\:%.0lf" \ > STACK:calls2#FF:ISDN GPRINT:calls2:LAST:"LAST\\:%.0lf" \ > STACK:calls3#00C000:Total GPRINT:calls3:LAST:"LAST\\:%.0lf" I would propose: rrdtool graph speed.gif --start -1day -t "Call Sessions" \ --vertical-label Calls \ DEF:async=call-stats.rrd:async:LAST \ DEF:isdn=call-stats.rrd:isdn:LAST \ CDEF:total=calls=isdn,async,+ \ AREA:async=#FF:Async\ GPRINT:async:LAST:async:LAST:"Last \:%4.0lf"\ AREA:isdn=#FF:ISDN \ GPRINT:isdn:LAST:isdn:LAST:"Last \:%4.0lf" \ LINE1:total=#00:Total \ GPRINT:total:LAST:total:LAST:"Last \:%4.0lf"\ Two area's stacked on top of one another and topped of by a line. Pretty much the way I do on my CPU graphs on http://hvdkooij.xs4all.nl/stats-dag.cms See the scripts on http://hvdkooij.xs4all.nl/stats/ Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Spikes?
Hi, I got some odd spikes in my graphs which I can not explain. You can view them on http://hvdkooij.xs4all.nl/stats-week.cms Oddly enough it does not occur on all the interfaces in all the cases it occurs. I found a script that would eliminate the spikes but it does seem to be able to find them. When I dump them I see some odd values like: 1.7465351003e+02 8.6018274795e-01 0.00e+00 7.4872062267e+02 1.0855673633e+00 0.00e+00 1.3459998633e+07 1.4029501409e+07 0.00e+00 1.3917249952e+07 1.4029623522e+07 0.00e+00 2.7482945766e+05 2.8631683346e+05 0.00e+00 2.8407013927e+05 2.8631935496e+05 0.00e+00 1.5435908584e+02 6.1984392419e-01 0.00e+00 1.4115735786e+02 6.6309921962e-01 0.00e+00 As this is a ADSL link it can not exceed 768 kb/s for downloads (4th field) and 128 kB/s for uploads (1st field). The 6 fields are: ifInOctets,ifInUCastPkts,ifInNUCastPkts,ifOutOctets,ifOutCastPkts The number of unicast packets almost equals the amount of bytes send. Which is nonsense on ethernet due to the ethernet and IP header header overhead. I suspect something odd in the Zyzel router (Prestige 650R-13) but I can not find the actual problem. Does some someone have a working script to clear out the odd entries? Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Graph problem when using a more complicated CDEF
On Tue, 15 Apr 2003, Bas Rijniersce wrote: > Hello, > > I want to plot total memory and used memory. I put 4 values in the rrd > > memtot > memfree > swaptot > swapfree > > I want to plot an area memtot and stack swaptot on it > Over that i draw a line2 of (swaptot-swapfree)+(memtot-memfree) > > As a test I used CDEF:memuse=memtot,memfree,- on the stacked areas, that > worked fine. But when I change the statement to: > CDEF:memuse=memfree,swapfree,memtot,swaptot,+,-,- This reads like: memuse = (memtot+swptot) - swapfree - memfree If I am not mistaken. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: switch/router/... autographer
On Sat, 12 Apr 2003, Hugo van der Kooij wrote: > On Sat, 12 Apr 2003, Hugo van der Kooij wrote: > > > Based on the original script from Erik de Mare I have added something > > more to it and I think this script is now usefull to debug issues in a > > switched environment where the switches are SNMP capable. > > > > Check out: http://hvdkooij.xs4all.nl/traffic/ > > > > I have started my intelligent but very noisy switch just to get some more > > nice graphs. It might be ready in about 45 minutes after this message was > > send ;-) > > Bummer. > > It does not yet poll all the ports. It only scans 10 of them. If anyone > can point out why I would be ever so pleased. This is becoming more of a perl excercise. And my perl skills are rather poor. But I guess I should fetch IF-MIB::ifNumber.0 (.1.3.6.1.2.1.2.1.0) first and then get ll the values I need to fetch. This may require some serious thinking. Anyone willing to land a hand to make sure it works on swiches is welcome. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: switch/router/... autographer
On Sat, 12 Apr 2003, Hugo van der Kooij wrote: > Based on the original script from Erik de Mare I have added something > more to it and I think this script is now usefull to debug issues in a > switched environment where the switches are SNMP capable. > > Check out: http://hvdkooij.xs4all.nl/traffic/ > > I have started my intelligent but very noisy switch just to get some more > nice graphs. It might be ready in about 45 minutes after this message was > send ;-) Bummer. It does not yet poll all the ports. It only scans 10 of them. If anyone can point out why I would be ever so pleased. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] switch/router/... autographer
Hi, Based on the original script from Erik de Mare I have added something more to it and I think this script is now usefull to debug issues in a switched environment where the switches are SNMP capable. Check out: http://hvdkooij.xs4all.nl/traffic/ I have started my intelligent but very noisy switch just to get some more nice graphs. It might be ready in about 45 minutes after this message was send ;-) Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: errors during installation on solaris 2.8
On Thu, 10 Apr 2003, Steinbrugger Ursula wrote: > I want to install rrdtool 1.0.41 on a Sun Solaris 2.8 machine, > perl 5.005_03 > gcc version 3.2 Old perl, new gcc. You may want to get a more recent perl version and check other issues in your development environment. Your PATH might be an issue as well. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Simple solution to a problem?
On Tue, 8 Apr 2003, j2 wrote: > > Is anyone working on such an animal? > > Have you looked at Cacti? It was specificly listed as left wanting in my original message. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Simple solution to a problem?
On Tue, 8 Apr 2003, Erik de Mare wrote: > Hugo van der Kooij wrote: > >I have been looking for a relative simple way to setup databases, > >data gathering and some webpages to build a custom overview. ... > I am working on something like that. I now have a script in perl that > gathers from a host incomming and outgoing traffic of the interfaces > that are "up"(OID .1.3.6.1.2.1.2.2.1.7). you can easy add an extra host > to be monitored, the script wil make an .rrd file and start monitoring. > It still needs a lot of work. for example wrong data is not checked. > > The same you can do with HardDisk(OID .1.3.6.1.2.1.25.2.3.1), Uptime(OID > .1.3.6.1.2.1.25.1.1.0) or Load(OID .1.3.6.1.4.1.2021.10.1.3) monitoring. In a switch environment I would like to get some of the other interface statistics as well. (like ifUCastPkts versus ifInNUCastPkts, ifInDiscards and ifInErrors) I'll study the script to see how much it matches our purposes and publish and additions to it. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Simple solution to a problem?
Hi, I have been looking for a relative simple way to setup databases, data gathering and some webpages to build a custom overview. In it's most simple form I want a simple form to ask for an IP address and a community name and have it gather all the information for me and setup a custom graphs and databases. As this will be a movable tool to help switching engineers to trouble shoot switching issues I need rather specific options I could not work out with tools like cricket and cacti. Is anyone working on such an animal? Building templates may be a bit harder as it will be done just once but getting the tool in place to monitor a switch or router should be relative simple. I may try to get some time allocated to build such a tool in company time as it will shorten troubleshooting with a significant amount of time. But if anyone is allready working on the exact issue It might be better to bundle our strengths. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Disk Usage per SNMP?
On Tue, 8 Apr 2003, Alex van den Bogaerdt wrote: > On Mon, Apr 07, 2003 at 09:27:47PM +0200, Hugo van der Kooij wrote: > > > Now the object is to make a CDEF string to return the following formula: > > > > if ( 0.8 < (used/size) <= 0.95 ) { > > used+units > > } else { > > 0 > > ) > > > > I settled for: > > > > CDEF:normal=used,size,/,$BUSY,LT,used,units,*,0,IF \ > > CDEF:temp=used,size,/,$BUSY,GT,used,0,IF\ > > CDEF:busy=used,size,/,$FULL,LT,temp,units,*,0,IF\ > > CDEF:full=used,size,/,$FULL,GT,used,units,*,0,IF\ > > > > Where: > > BUSY=0.8 > > FULL=0.95 > > This is one of many possible solutions. > > I prefer something like: > > value=used,size,/ s/value/fraction/ > normal=value,$BUSY,LE,value,$BUSY,IF > busy=value,$BUSY,GE,value,$FULL,LE,value,$FULL,IF,UN,IF > full=value,$FULL,GE,value,UN,IF Add ... value=used,units,* > and then > > AREA:normal#00CC00 > STACK:busy#FFCC00 > FULL:full#FF > > Unless I made a mistake while thinking or typing, this should do: > > if value <= $BUSY >then normal:=value >else normal:=$BUSY > if value >= $BUSY >then if value <= $FULL > then busy:=value > else busy:=$FULL >else busy=UNKNOWN > if value >= $FULL >then full:=value >else full:=UNKNOWN Should be: if fraction <= $BUSY then normal:=value else normal:=$BUSY if fraction >= $BUSY then if fraction <= $FULL then busy:=value else busy:=$FULL else busy=UNKNOWN if fraction >= $FULL then full:=value else full:=UNKNOWN The change is significant to make sure we do the right thing. if (fraction != value) { sleep Alex } else { sleep Hugo } Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Disk Usage per SNMP?
On Mon, 7 Apr 2003, Alex van den Bogaerdt wrote: > On Sun, Apr 06, 2003 at 10:01:44PM +0200, Hugo van der Kooij wrote: > > absolute: rate = (current_value)/(this_time - last_time) > gauge:rate = current_rate Got it covered. The data is now present and works fine. > > In the long run I would like to use a three color approach. (green for < > > 80%; orange for 80-95%; red for > 95%) > > Sure. But for now concentrate on the basis. Now the object is to make a CDEF string to return the following formula: if ( 0.8 < (used/size) <= 0.95 ) { used+units } else { 0 ) I settled for: CDEF:normal=used,size,/,$BUSY,LT,used,units,*,0,IF \ CDEF:temp=used,size,/,$BUSY,GT,used,0,IF\ CDEF:busy=used,size,/,$FULL,LT,temp,units,*,0,IF\ CDEF:full=used,size,/,$FULL,GT,used,units,*,0,IF\ Where: BUSY=0.8 FULL=0.95 Thanks for pointing out the oversight. (Can't be a guru in everything ;-) Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Question
On Mon, 7 Apr 2003, Bret Jordan wrote: > I have gone through the Tutorial (which was well written by the way) and > through the manual, but I am still confused about one point... > > When you make an RRD and setup the various RRAs, how do you graph the > individual RRAs? (Thinking in terms of MRTG with the daily, weekly, > monthly, and yearly graphs). I am working my way through the learining curve and am making some snapshots of my current scripts available on: http://hvdkooij.xs4all.nl/stats/ The resulting graphs are on http://hvdkooij.xs4all.nl/stats-dag.cms Hugo. PS: Have mercy on my humble 128 kb/s uplink ;-) -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Disk Usage per SNMP?
On Mon, 7 Apr 2003, Alex van den Bogaerdt wrote: > On Sun, Apr 06, 2003 at 10:01:44PM +0200, Hugo van der Kooij wrote: > > > rrdtool create /etc/stats/aragorn.disk.usr.rrd \ > > DS:units:GAUGE:600:U:U \ > > DS:size:ABSOLUTE:600:U:U\ > > DS:used:ABSOLUTE:600:U:U\ > > counter: rate = (this_value - last_value)/(this_time - last_time) > derive: rate = (this_value - last_value)/(this_time - last_time) (can > be negative) > absolute: rate = (current_value)/(this_time - last_time) > gauge:rate = current_rate Hmmm. I'll get back on that one after I reset the RDD databases. May take an hour or two. (I was obviously not paying attention here while reading.) Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Re: Disk Usage per SNMP?
On Sun, 6 Apr 2003, Erik de Mare wrote: > Hugo van der Kooij wrote: > >I am trying to graph diskusage with RRDtools. (Finally changing from MRTG) > >but it seems it does not work to well. > I tried that also, and wrote a script for that to monitor each drive on > the computers in my network. > It uses the Net::SNMP and the RRDs modules for perl, als stores the > "used" and "total" data in the rrd file. Plenty of perl to go around. however I am not a perl man nor do I expect to become one ever. Digging out the information will take some time. Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
[rrd-users] Disk Usage per SNMP?
Hi, I am trying to graph diskusage with RRDtools. (Finally changing from MRTG) but it seems it does not work to well. I initialized the database with: rrdtool create /etc/stats/aragorn.disk.usr.rrd \ DS:units:GAUGE:600:U:U \ DS:size:ABSOLUTE:600:U:U\ DS:used:ABSOLUTE:600:U:U\ RRA:AVERAGE:0.5:1:576 \ RRA:AVERAGE:0.5:6:672 \ RRA:AVERAGE:0.5:24:732 \ RRA:AVERAGE:0.5:288:732 \ RRA:MAX:0.5:1:576 \ RRA:MAX:0.5:6:672 \ RRA:MAX:0.5:24:732 \ RRA:MAX:0.5:288:732 I read the vaules in with: UNITS=`$SNMPGET -v1 -c mysnmpd aragorn 1.3.6.1.2.1.25.2.3.1.4.8|awk '{print $4}'` SIZE=`$SNMPGET -v1 -c mysnmpd aragorn 1.3.6.1.2.1.25.2.3.1.5.8|awk '{print $4}'` USED=`$SNMPGET -v1 -c mysnmpd aragorn 1.3.6.1.2.1.25.2.3.1.6.8|awk '{print $4}'` rrdtool update $STATDIR/aragorn.disk.usr.rrd N:$UNITS:$SIZE:$USED I checked the values with an additional echo command and the proper values are returned and fed to rrdtool. But graphing them seem to be a bit harder. I tried a simple version with: rrdtool graph $GRAPHS/aragorn-disk-home.$PERIOD.gif --start -$LENGTH\ -t "aragorn DISK /home $TITEL" \ DEF:units=$STATS/aragorn.disk.home.rrd:units:AVERAGE\ DEF:size=$STATS/aragorn.disk.home.rrd:size:AVERAGE \ DEF:used=$STATS/aragorn.disk.home.rrd:used:AVERAGE \ CDEF:disk=used,units,* \ AREA:normal#7EE600:"used" \ GPRINT:disk:AVERAGE:"Gemiddeld\:%14.0lf B" \ GPRINT:disk:MAX:"Maximum\:%14.0lf B\n" But the values shown are not what I would expect. The specific partition is rather large but I was under the impression the RRDtools could handle larger values (> 2^32). See also the df output: Filesystem 1K-blocks Used Available Use% Mounted on /dev/md7 111207864 103446296 2112320 98% /home In the long run I would like to use a three color approach. (green for < 80%; orange for 80-95%; red for > 95%) Hugo. -- All email sent to me is bound to the rules described on my homepage. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of sysadmins, for they are subtle and quick to anger. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi