RRD files doesn't create
Moderators: Developers, Moderators
-
- Posts: 9
- Joined: Mon Jan 28, 2008 12:26 pm
RRD files doesn't create
Hi to all
We are trying to monitor some w2003 servers, We create 2 graphs, one for cpu and another for memory. The first work perfect but for the second we saw that the rrd file is not created. We read many post in the forum but we don't find any solution.
Thnaks.
We are trying to monitor some w2003 servers, We create 2 graphs, one for cpu and another for memory. The first work perfect but for the second we saw that the rrd file is not created. We read many post in the forum but we don't find any solution.
Thnaks.
-
- Posts: 9
- Joined: Mon Jan 28, 2008 12:26 pm
hi gandalf
the device is working fine, and when i made a snmp get i receive the correct value. When i go to the log file i can see that it is working fine, but the problem it is that the rrd file doesn't create. I'm desesperated because i read many post and of course i read the second link but i can't find any answer.
Any help???
Thanks
the device is working fine, and when i made a snmp get i receive the correct value. When i go to the log file i can see that it is working fine, but the problem it is that the rrd file doesn't create. I'm desesperated because i read many post and of course i read the second link but i can't find any answer.
Any help???
Thanks
-
- Posts: 24
- Joined: Wed Mar 05, 2008 10:46 pm
- Location: Fort Worth, TX
i am having the same problem as this, actually, in case you havnt noticed, I am having the same problem in about 3 or 4 different topics here.
I ran the snmpget manuall against an OID as you had mentioned to the previous user and got this ...
-=(( cactiuser = Samba ))=-
( /var/www/html/cacti/scripts )
$ snmpget -c 192.168.15.2 -v 2c 192.168.15.2 .1.3.6.1.4.1.2021.11.51.0
UCD-SNMP-MIB::ssCpuRawNice.0 1043005
I'm not totally sure if that is a desired return. I also read the instructions per the 2nd link on your sig and failed at the php test. i get this ....
-=(( cactiuser = Samba ))=-
( /var/www/html/cacti )
$ php -q cmd.php 14 14
-=(( cactiuser = Samba ))=-
( /var/www/html/cacti )
$
Nothin....
if i run the cmd.php alone i get this ...
-=(( cactiuser = Samba ))=-
( /var/www/html/cacti )
$ php cmd.php
X-Powered-By: PHP/5.2.1
Content-type: text/html
-=(( cactiuser = Samba ))=-
( /var/www/html/cacti )
$
and poller.php as crontab would run...
-=(( cactiuser = Samba ))=-
( /var/www/html/cacti )
$ php poller.php
X-Powered-By: PHP/5.2.1
Content-type: text/html
-=(( cactiuser = Samba ))=-
( /var/www/html/cacti )
$
Any clues on what I can do to get past this. I think the whole cmd.php not running properly with the poll is what is preventing me from getting graphs to produce properly.
Thanks
I ran the snmpget manuall against an OID as you had mentioned to the previous user and got this ...
-=(( cactiuser = Samba ))=-
( /var/www/html/cacti/scripts )
$ snmpget -c 192.168.15.2 -v 2c 192.168.15.2 .1.3.6.1.4.1.2021.11.51.0
UCD-SNMP-MIB::ssCpuRawNice.0 1043005
I'm not totally sure if that is a desired return. I also read the instructions per the 2nd link on your sig and failed at the php test. i get this ....
-=(( cactiuser = Samba ))=-
( /var/www/html/cacti )
$ php -q cmd.php 14 14
-=(( cactiuser = Samba ))=-
( /var/www/html/cacti )
$
Nothin....
if i run the cmd.php alone i get this ...
-=(( cactiuser = Samba ))=-
( /var/www/html/cacti )
$ php cmd.php
X-Powered-By: PHP/5.2.1
Content-type: text/html
-=(( cactiuser = Samba ))=-
( /var/www/html/cacti )
$
and poller.php as crontab would run...
-=(( cactiuser = Samba ))=-
( /var/www/html/cacti )
$ php poller.php
X-Powered-By: PHP/5.2.1
Content-type: text/html
-=(( cactiuser = Samba ))=-
( /var/www/html/cacti )
$
Any clues on what I can do to get past this. I think the whole cmd.php not running properly with the poll is what is preventing me from getting graphs to produce properly.
Thanks
-
- Posts: 9
- Joined: Mon Jan 28, 2008 12:26 pm
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please post the result of the snmpwalk and results of every step as given by the second link of my sighinojosa89 wrote:In my case all is working fine, because now i graph more or less about 50 or 60 graphs, and it is creating rrd files ok, but with this not, and i can't find anything wrong.
Reinhard
-
- Posts: 9
- Joined: Mon Jan 28, 2008 12:26 pm
hi gandalf
in my case i probe the perl script and it is workin fine. The problem it is that the rrd file is not created.
this is the result of the perl script from the vcacti log file
"03/17/2008 05:35:34 PM - CMDPHP: Poller[0] Host[133] DS[2363] CMD: perl /var/www/cacti/scripts/nt_memuse.pl 192.168.1.200, output: total:2451,75 used:259,12 " The script is working fine
i turned on the debug mode in the cactigraph managment and the result is this
"/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="s2003 - Memory - Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="megabytes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/cacti/rra/s2003_mem_used_2363.rrd":mem_total:AVERAGE \
DEF:b="/var/www/cacti/rra/s2003_mem_used_2363.rrd":mem_used:AVERAGE \
CDEF:cdefa=a,1048576,* \
CDEF:cdefc=b,1048576,* \
AREA:cdefa#002A97FF:"Total" \
GPRINT:cdefa:LAST:"Amount\:%8.2lf%s\n" \
AREA:cdefc#EA8F00FF:"Used\:" \
GPRINT:cdefc:LAST:"Current\:%8.2lf%s" \
GPRINT:cdefc:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefc:MAX:"Maximum\:%8.2lf%s\n"
RRDTool Says:
ERROR: opening '/var/www/cacti/rra/s2003_mem_used_2363.rrd': No such file or directory"
Thanks
in my case i probe the perl script and it is workin fine. The problem it is that the rrd file is not created.
this is the result of the perl script from the vcacti log file
"03/17/2008 05:35:34 PM - CMDPHP: Poller[0] Host[133] DS[2363] CMD: perl /var/www/cacti/scripts/nt_memuse.pl 192.168.1.200, output: total:2451,75 used:259,12 " The script is working fine
i turned on the debug mode in the cactigraph managment and the result is this
"/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="s2003 - Memory - Usage" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="megabytes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/cacti/rra/s2003_mem_used_2363.rrd":mem_total:AVERAGE \
DEF:b="/var/www/cacti/rra/s2003_mem_used_2363.rrd":mem_used:AVERAGE \
CDEF:cdefa=a,1048576,* \
CDEF:cdefc=b,1048576,* \
AREA:cdefa#002A97FF:"Total" \
GPRINT:cdefa:LAST:"Amount\:%8.2lf%s\n" \
AREA:cdefc#EA8F00FF:"Used\:" \
GPRINT:cdefc:LAST:"Current\:%8.2lf%s" \
GPRINT:cdefc:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefc:MAX:"Maximum\:%8.2lf%s\n"
RRDTool Says:
ERROR: opening '/var/www/cacti/rra/s2003_mem_used_2363.rrd': No such file or directory"
Thanks
-
- Posts: 9
- Joined: Mon Jan 28, 2008 12:26 pm
I'm having the same problem.
I got correct values from snmp queries but graphs are not created.
Debugging i got this statement creating the rrd file:
But executing it from command line got a "ERROR: Duplicate DS name: traffic_out".
How can i fix this error?
Thanks in advance:)
I got correct values from snmp queries but graphs are not created.
Debugging i got this statement creating the rrd file:
Code: Select all
c:/rrdtool/rrdtool.exe create C:/cacti/rra/sw_inet_dmzext_1_traffic_in_57.rrd --step 60 DS:traffic_in:COUNTER:120:0:100000000 DS:traffic_out:COUNTER:120:0:100000000 DS:traffic_out:COUNTER:120:0:100000000 DS:traffic_in:COUNTER:120:0:100000000 RRA:AVERAGE:0.5:1:500 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MAX:0.5:1:500 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797
How can i fix this error?
Thanks in advance:)
Who is online
Users browsing this forum: No registered users and 0 guests