Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Apr 19, 2019 1:43 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Juniper Firewall Table Packets
PostPosted: Tue Jun 15, 2004 10:39 am 
Offline

Joined: Fri May 28, 2004 6:00 pm
Posts: 3
Location: Pisa - Italy
First script-query add-on experience.


Attachments:
JuniperFW.zip [15.58 KiB]
Downloaded 4620 times
Top
 Profile  
 
 Post subject: is this for netscreen?
PostPosted: 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.


Top
  
 
 Post subject: Tell me if you have any problem.
PostPosted: Mon Jun 28, 2004 3:30 pm 
Offline

Joined: Fri May 28, 2004 6:00 pm
Posts: 3
Location: Pisa - Italy
Tell me if you have any problem. You can find me in msn messenger too.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 18, 2005 7:11 am 
Offline

Joined: Wed Jan 26, 2005 6:48 am
Posts: 15
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


Top
 Profile  
 
 Post subject: Updating for 0.8.7
PostPosted: Tue Feb 12, 2008 1:16 pm 
Offline

Joined: Mon Jan 14, 2008 3:18 pm
Posts: 1
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


Top
 Profile  
 
 Post subject: Updating for 0.8.7
PostPosted: Tue Feb 26, 2008 8:18 am 
Offline

Joined: Tue Feb 27, 2007 6:46 pm
Posts: 8
Location: Atlanta
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 .......


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Bing [Bot] and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group