Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


RRD File not created only with Cisco PIX

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions
Author Message
jshanley



Joined: 30 Jul 2004
Posts: 11

PostPosted: Mon Oct 25, 2004 11:22 am    Post subject: RRD File not created only with Cisco PIX Reply with quote

Cacti CVS, downloaded today.
FreeBSD 5.3 / Sparc64.
PHP 4.3.9
MySQL 4.0.21
Pix OS 6.2(2)

All my other graphs are working, and were created correctly.

I have tried using both the "Cisco Router" template, and the "Generic SNMP-enabled host" template, removing the device and all graphs and data sources between attempts.

The addition of the PIX device seemed to go correctly.
The creation of the graph seemed to go correctly (standard message):

+ Created graph: Company-pix-ran-P - Traffic
+ Created graph: Company-pix-ran-P - Traffic - x.x.x.x (PIX Firewall ou)
+ Created graph: Company-pix-ran-P - Traffic - 10.0.0.1 (PIX Firewall in)
+ Created graph: Company-pix-ran-P - Traffic - PIX Firewall FA/3

After creating the device, creating the graphs seemed to go correctly as well. But, this is not the case - the RRD file was never created.

Graph debugging shows:

ERROR: opening '/usr/share/cacti/rra/companynamepixranp_traffic_in_143.rrd': No such file or directory


/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Company-pix-ran-P - Traffic - 10.0.0.1 (PIX Firewall in)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="/usr/share/cacti/rra/companypixranp_traffic_in_143.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/rra/companypixranp_traffic_in_143.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf%s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf%s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf%s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf%s"


Data source debug shows:

Data Source Debug

/usr/local/bin/rrdtool create \
/usr/share/cacti/rra/companypixranp_traffic_in_146.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
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:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \

IF I run this command manually, it creates the RRD file. I'll watch it to see if it starts populating the manually created RRD file.

What I don't understand is why Cacti is not creating the RRD file, even though it is not displaying any error messages during creation.
Back to top
jshanley



Joined: 30 Jul 2004
Posts: 11

PostPosted: Mon Dec 06, 2004 9:51 pm    Post subject: Reply with quote

This happens on a Cisco PIX when you are using both "SNMP & Ping" checks to ensure the host is up (at least in my case). Works fine now that I've switched back to just SNMP checks.

(console -> settings -> poller -> Downed Host Detection)
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9736
Location: MI, USA

PostPosted: Mon Dec 06, 2004 9:56 pm    Post subject: Reply with quote

CVS not too stable. I am working on getting the host specific up/down completely working but not as of today. More work to do. The code is VERY alpha.

Here is where I am:
1) snmpv3 is not complete
2) host specific polling does not work
3) themes are not complete
4) multiple pollers are not complete - more database changes coming, be warned.

TheWitness
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9736
Location: MI, USA

PostPosted: Mon Dec 06, 2004 9:59 pm    Post subject: Reply with quote

I may have the host specific stuff ready to test by the weekend. Need to implement in Cactid and cmd.php. Not too much work.

Enjoy the view.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group