Juniper Firewall Table Packets

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
Voltron
Posts: 3
Joined: Fri May 28, 2004 6:00 pm
Location: Pisa - Italy

Juniper Firewall Table Packets

Post by Voltron »

First script-query add-on experience.
Attachments
JuniperFW.zip
(15.58 KiB) Downloaded 4772 times
alpha

is this for netscreen?

Post by alpha »

Dear sir.

is this add-on can support? i will download it and try then tell you.
thank you a lot.
Voltron
Posts: 3
Joined: Fri May 28, 2004 6:00 pm
Location: Pisa - Italy

Tell me if you have any problem.

Post by Voltron »

Tell me if you have any problem. You can find me in msn messenger too.
Spark
Posts: 15
Joined: Wed Jan 26, 2005 6:48 am

Post by Spark »

Hi,

I try to import the template and the error is:
Error: XML: Cacti version does not exist.

I have a cacti Version 0.8.6e

Edit: Works in the cacti Version 0.8.6g

Thanks
vinzclortho35
Posts: 1
Joined: Mon Jan 14, 2008 3:18 pm

Updating for 0.8.7

Post by vinzclortho35 »

To make this template work for 0.8.7, I had to add the following lines to the beginning of the .php script, after removing the 2 include statements that were there :


$pth = str_replace("/scripts","",dirname(__FILE__));

if (file_exists("$pth/include/global.php"))
include("$pth/include/global.php");
else
include("$pth/include/config.php");

include("$pth/lib/snmp.php");


otherwise, the script wont read your config from global.php. The script is now working on my Juniper M7i routers using Cacti 0.8.7a
juni-graffer
Posts: 8
Joined: Tue Feb 27, 2007 6:46 pm
Location: Atlanta

Updating for 0.8.7

Post by juni-graffer »

vinzclortho35,

I have implemented the changes you indicate below in the query_firewall_counters.php script and am still having issues. When I snmpwalk a juniper router, I get the expected result. When I run the command:

/usr/bin/php -q /var/www/cacti/scripts/query_firewall_counters.php 172.17.249.48 <string> 2 query index

I get this result:

Timeout: No Response from 172.17.249.48:161

Any ideas??

Thanks .......
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests