Juniper Firewall Table Packets
Moderators: Developers, Moderators
Juniper Firewall Table Packets
First script-query add-on experience.
- Attachments
-
- JuniperFW.zip
- (15.58 KiB) Downloaded 4772 times
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.
is this add-on can support? i will download it and try then tell you.
thank you a lot.
Tell me if you have any problem.
Tell me if you have any problem. You can find me in msn messenger too.
-
- Posts: 1
- Joined: Mon Jan 14, 2008 3:18 pm
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
$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
-
- Posts: 8
- Joined: Tue Feb 27, 2007 6:46 pm
- Location: Atlanta
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 .......
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 .......
Who is online
Users browsing this forum: No registered users and 5 guests