|
|
| Author |
Message |
Voltron
Joined: 28 May 2004 Posts: 3 Location: Pisa - Italy
|
Posted: Tue Jun 15, 2004 10:39 am Post subject: Juniper Firewall Table Packets |
|
|
First script-query add-on experience.
| Description: |
|
 Download |
| Filename: |
JuniperFW.zip |
| Filesize: |
15.58 KB |
| Downloaded: |
1365 Time(s) |
|
|
| Back to top |
|
 |
alpha Guest
|
Posted: Thu Jun 17, 2004 7:53 pm Post subject: is this for netscreen? |
|
|
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
|
Posted: Mon Jun 28, 2004 3:30 pm Post subject: Tell me if you have any problem. |
|
|
| 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
|
Posted: Fri Nov 18, 2005 7:11 am Post subject: |
|
|
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
|
Posted: Tue Feb 12, 2008 1:16 pm Post subject: Updating for 0.8.7 |
|
|
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
|
Posted: Tue Feb 26, 2008 8:18 am Post subject: Updating for 0.8.7 |
|
|
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 |
|
 |
|