[rrd-users] What's wrong on this
Hi all. I'm newbie in rrdtool, but I almost understand this tool. I'm geting info thought my snmp command based in Linux RedHat 7.2 using: snmpget 1.1.0.0 public .1.1.2.1.5.5.1.2 (example) each snmp value is saved in a perl script called value1, value 2 or value3. I made my rrd database like: --Begin-- # rrdtool create dbase1.rrd -s300 \ DS:valuea:GAUGE:600:U:U \ DS:valueb:GAUGE:600:U:U \ DS:valuec:GAUGE:600:U:U \ RRA:AVERAGE:0.5:1:288 \ RRA:AVERAGE:0.5:1:288 \ RRA:AVERAGE:0.5:1:288 \ RRA:AVERAGE:0.5:1:288 \ RRA:AVERAGE:0.5:1:288 \ RRA:AVERAGE:0.5:1:288 --end-- I'm running my perl script wich contains the updates for each value. Every command called by snmpget is pasted into valuea, valueb and valuec, that's the way I fill this dbase1.rrd. When I want to see what is contained in this rrd file, I get this values: --begin-- # rrdtool fetch dbase1.rrd AVERAGE --start 1030986900 valueavaluebvaluec 1030986900: nan nan nan 1030987200: 6.751560e+07 2.217272e+06 0.00e+00 1030987500: 6.7524198907e+07 2.2186045333e+06 0.00e+00 1030987800: 6.7543318293e+07 2.2196783467e+06 0.00e+00 1030988100: 6.7605689333e+07 2.2237776000e+06 0.00e+00 1030988400: 6.7604218227e+07 2.2234064000e+06 0.00e+00 1030988700: 6.757610e+07 2.36e+06 0.00e+00 1030989000: 6.757610e+07 2.36e+06 0.00e+00 1030989300: 6.7431112000e+07 2.232608e+06 0.00e+00 1030989600: nan nan nan --end-- In my graph I can see graphed valuea, valueb, but not value c. Each value is reciving information by memory usage from a Cisco 2500 Router so, each value is the same and not as different as it doesn't graph. Can anyone help? Please apologise my poor english. -- Regards. Giovanni Enriquez ICQ: 8266266 --- recuerda que, la información no es conocimiento, el conocimiento no es sabiduria, la sabiduria no es verdad, la verdad no es belleza, la belleza no es amor, el amor no es música, la música es lo mejor... +++ erinnern Sie sich, Informationen ist nicht Wissen, Wissen ist nicht Klugheit, Klugheit ist nicht Wahrheit, Wahrheit ist nicht Schönheit, Schönheit ist nicht Liebe, Liebe ist nicht Musik, Musik ist das beste... *** remember, information is not knowledge, knowledge is not wisdom, wisdom is not truth, truth is not beauty, beauty is not love, love is not music, music is the best... --- Yo. * GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net -- 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 building a particular mrtg.cfg
Anup Ray wrote: > > Hi, > I am getting a problem while making mrtg.cfg file for a solaris box. > Following is the error output: > > --base: Get Device Info on [EMAIL PROTECTED]: > SNMP Error: > Received SNMP response with error code > error status: noSuchName > index 1 (OID: 1.3.6.1.2.1.1.1.0) > SNMPv1_Session (remote host: "u10-1.safe-prop.com" [10.10.1.100].161) > community: "public" > request ID: -1281356335 > PDU bufsize: 8000 bytes > timeout: 2s > retries: 5 > backoff: 1) > But when I use it for other systems (solaris) it works. I am using command > from a single system(ultra30). So same source programs are being used. Try to run the SNMP query (for instance with UCD-SNMP with "snmpwalk") from the commandline. You should see the following string. If not, snmpdx doesnot run, the firewall rules do not pass querys on Port 161, the community string is wrong, the snmpd is not configured. host:admin,94% ./snmpwalk -p 161 host public .1.3.6.1.2.1.1.1.0 system.sysDescr.0 = Sun SNMP Agent, UltraSPARC-IIi-cEngine Bye, Ecaroh -- Gerhard Ecaroh Froehlich, Systemadministrator -- 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 building a particular mrtg.cfg
Anup Ray wrote: > > Thank you Dom for your suggestion. Configuration was pkay. I just restarted > snmpd daemon and it started working okay. > Anup And just to add a hint for later production: Solaris snmpdx *likes* to hang sometimes. And on Solaris 2.6 network speed is reported wrong. If you get stopping graphs on your machine, try the following: [EMAIL PROTECTED]> /etc/init.d/init.dmi stop [EMAIL PROTECTED]> /etc/init.d/init.snmpdx stop [EMAIL PROTECTED]> /etc/init.d/init.snmpd start [EMAIL PROTECTED]> /etc/init.d/init.dmi start This helps. Or if you paranoid make an script to run it from cron in the night. I have to restart it from while to while on my solaris hosts. Ecaroh -- 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-1.0.39 on Solaris 6 : configure error
Hi Jerome, "Boismartel, Jerome" wrote: > > Hello, > > When I run sh configure on my system I have the following error : > checking for the C compiler perl wants to use to build its modules... > ./configure: test: unknown operator -B/usr/ccs/bin/ > > I run Solaris 6 and perl 5.8.0 > > Does anyone run into this issue ? What was the solution ? One solution is to read the archives. The question was asked multiple only weeks ago. In short: Install all GNU Tools and GCC, including correct settings of $PATH. This should help, cause Solaris don't compile that good. > == > Jerome Boismartel Ecaroh -- 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] 1.0.39 ported to FreeBSD.
Dear Ladies and Gentlemen, Mr Dmitry Sivachenko has ported 1.0.39 to FreeBSD. The updated port appears to be on at least some of the FreeBSD cvsup mirrors (could be all of them). Yours sincerely. Stanley Hopcroft '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. -- Unsubscribe mailto:[EMAIL PROTECTED] Helpmailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi