I recently upgraded to 0.8.7b per the instructions on the upgrade page and worked through a few issues in the process. I have some remaining issues that I need some assistance with.
A few notes on where I am so far:
1. I am trying to graph firewall counters for 40 or so juniper routers. All IP and community string info has been verified correct.
2. In the device menu, all devices are seen as up and I am using SNMP only for 'downed host detection'.
3. I am successfully graphing stats on the localhost.
4. I have successfully loaded the Juniper templates from the post, http://forums.cacti.net/about4189.html, and made modifications as indicated at the bottom of this post.
5. Upon debugging graphs from the GUI, I get the infamous message indicating that rrdtool can not create files inthe rra directory. For now, I am running everything as root, yet still get the below ourput:
RRDTool Command:
/usr/local/rrdtool-1.2.15/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="bpr1.at - Packets" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Packets" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/cacti/rra/bpr1_at_packets_22.rrd":Packets:AVERAGE \
AREA:a#00CF00FF:"N. of packets" \
GPRINTLAST:"Current%8.2lf %s" \
GPRINTAVERAGE:"Average\:%8.2lf %s" \
GPRINTMAX:"Maximun\:%8.2lf %s\n"
RRDTool Says:
ERROR: opening '/var/www/cacti/rra/bpr1_at_packets_22.rrd': No such file or directory
6. When running a query manually, I get the following:
/usr/bin/php -q /var/www/cacti/scripts/query_firewall_counters.php 172.17.249.48 <snmp string> 2 index
PHP Warning: Missing argument 9 for cacti_snmp_walk() in /var/www/cacti/lib/snmp.php on line 225
PHP Warning: Missing argument 10 for cacti_snmp_walk() in /var/www/cacti/lib/snmp.php on line 225
sh: /usr/bin/snmpbulkwalk-m: No such file or directory
Attached is the 'query_firewall_counters.php file I am using.
Can someone please assist?? I suspect something incompatible with snmp.php and the query script.
Thanks.....
Juniper graphing issues after latest upgrade
Moderators: Developers, Moderators
-
- Posts: 8
- Joined: Tue Feb 27, 2007 6:46 pm
- Location: Atlanta
-
- Posts: 8
- Joined: Tue Feb 27, 2007 6:46 pm
- Location: Atlanta
- TheWitness
- Developer
- Posts: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You never attached the file. Gzip it first. Then I can make a quick fix.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 8
- Joined: Tue Feb 27, 2007 6:46 pm
- Location: Atlanta
Thanks for taking time to review this issue. The juniper firewall query files have been zipped and atached. The modified php and the original file have been inluded.
I did fix the 'error in line 225' by adding """" in the fields not supported, but am still unable to get data queries to return data. I can snmpwalk my devices from my cacti server.
I did fix the 'error in line 225' by adding """" in the fields not supported, but am still unable to get data queries to return data. I can snmpwalk my devices from my cacti server.
- Attachments
-
- JuniperFW-all-files.zip_FILES.tar.gz
- (4.71 KiB) Downloaded 148 times
Who is online
Users browsing this forum: No registered users and 4 guests