Juniper Firewall Table Packets

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

Moderators: Moderators, Developers

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

Juniper Firewall Table Packets

#1 Post by Voltron » Tue Jun 15, 2004 10:39 am

First script-query add-on experience.
(15.58 KiB) Downloaded 4645 times


is this for netscreen?

#2 Post by alpha » Thu Jun 17, 2004 7:53 pm

Dear sir.

is this add-on can support? i will download it and try then tell you.
thank you a lot.

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

Tell me if you have any problem.

#3 Post by Voltron » Mon Jun 28, 2004 3:30 pm

Tell me if you have any problem. You can find me in msn messenger too.

Posts: 15
Joined: Wed Jan 26, 2005 6:48 am

#4 Post by Spark » Fri Nov 18, 2005 7:11 am


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


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

Updating for 0.8.7

#5 Post by vinzclortho35 » Tue Feb 12, 2008 1:16 pm

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"))


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

Posts: 8
Joined: Tue Feb 27, 2007 6:46 pm
Location: Atlanta

Updating for 0.8.7

#6 Post by juni-graffer » Tue Feb 26, 2008 8:18 am


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 <string> 2 query index

I get this result:

Timeout: No Response from

Any ideas??

Thanks .......

Post Reply