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    


Juniper Firewall Table Packets

 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
Voltron



Joined: 28 May 2004
Posts: 3
Location: Pisa - Italy

PostPosted: Tue Jun 15, 2004 10:39 am    Post subject: Juniper Firewall Table Packets Reply with quote

First script-query add-on experience.


JuniperFW.zip
 Description:

Download
 Filename:  JuniperFW.zip
 Filesize:  15.58 KB
 Downloaded:  1367 Time(s)

Back to top
alpha
Guest





PostPosted: Thu Jun 17, 2004 7:53 pm    Post subject: is this for netscreen? Reply with quote

Dear sir.

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



Joined: 28 May 2004
Posts: 3
Location: Pisa - Italy

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

Tell me if you have any problem. You can find me in msn messenger too.
Back to top
Spark



Joined: 26 Jan 2005
Posts: 15

PostPosted: Fri Nov 18, 2005 7:11 am    Post subject: Reply with quote

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
Back to top
vinzclortho35



Joined: 14 Jan 2008
Posts: 1

PostPosted: Tue Feb 12, 2008 1:16 pm    Post subject: Updating for 0.8.7 Reply with quote

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
Back to top
juni-graffer



Joined: 27 Feb 2007
Posts: 8
Location: Atlanta

PostPosted: Tue Feb 26, 2008 8:18 am    Post subject: Updating for 0.8.7 Reply with quote

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 .......
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group