[FC] Mactrack & Juniper Netscreens?
Moderators: Developers, Moderators
[FC] Mactrack & Juniper Netscreens?
Has anybody been able to get mactrack working with a Netscreen firewall as the router?
- medievaldragon
- Posts: 1
- Joined: Thu Jul 12, 2007 3:50 pm
- Contact:
Yes......
I have it working with the following:
ISG-2000
NS5GT
I added a section called "get_netscreen_arp_table" to the bottom of the mactrack_functions.php file. The OID is different for these devices.
I also added several device types for them.
I have attached my modified version. Hope it helps.
Scott Hahn
ISG-2000
NS5GT
I added a section called "get_netscreen_arp_table" to the bottom of the mactrack_functions.php file. The OID is different for these devices.
I also added several device types for them.
I have attached my modified version. Hope it helps.
Scott Hahn
- Attachments
-
- mactrack_functions.php.txt
- (60.28 KiB) Downloaded 809 times
-
- cacti_device_type_xport.txt
- (330 Bytes) Downloaded 772 times
Got it working with Cacti 0.8.7 and Mactrack 1.1 by pasting in the "get_netscreen_arp_table" part into the bottom of mactrack_functions.php.
However I get:
Not sure what that means but it works anyway.
Any chance to get this support for Netscreen devices in the offical version?
However I get:
Code: Select all
PHP Warning: Missing argument 9 for cacti_snmp_walk() in /var/www/html/lib/snmp.php on line 225
Any chance to get this support for Netscreen devices in the offical version?
Grabs all the ips and populates it into the database but i cannot get it to reflect in Mactrack.
I do get 2 errors:
I attached the updated files for MacTrack v1.1/Cacti8.7b
Device type info for: 'SSG 550M', 'IS G2000', 'NS 5GT', 'NS 5GT 2'
I do get 2 errors:
Which are some local ips.. nothing special so im not sure about the error.Notice: Undefined index: 0.10.10.11.75 in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_functions.php on line 1707
Notice: Undefined index: 0.10.10.11.75 in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_functions.php on line 1708
I attached the updated files for MacTrack v1.1/Cacti8.7b
Device type info for: 'SSG 550M', 'IS G2000', 'NS 5GT', 'NS 5GT 2'
- Attachments
-
- mactrack_juniperfw.txt
- SQL code - Edit this to reflect your own device_type_id and it should work.
- (1.09 KiB) Downloaded 596 times
-
- mactrack_functions.php.txt
- Updated plugins/lib/mactrack_functions.php
- (62.73 KiB) Downloaded 399 times
[url=http://forums.cacti.net/viewtopic.php?t=4356]Template: Cisco CatOS[/url]
[url=http://forums.cacti.net/viewtopic.php?t=21785]Mactrack: Netscreen Fw[/url]
[b]_______________[/b]
[b]Cacti Version[/b] - 0.8.7e, [b]Plugin Architecture[/b] - 2.5, [b]Poller Type[/b] - Cact-Spine 0.8.7e
[b]Server Info[/b] - Ubuntu Server 8.10 (2.6.27-7-server), [b]Web Server[/b] - Apache/2.2.9 PHP/5.2.6-2ubuntu4.3 with Suhosin-Patch
[b]PHP[/b] - 5.2.6-2ubuntu4.3, [b]MySQL[/b] - 5.0.67-0ubuntu6-log, [b]RRDTool[/b] - 1.3.1, [b]SNMP[/b] - 5.4.1
[b]Plugins[/b] - Thresholds v0.4.1, Login Mod v1.0, Host Info v0.2
[url=http://forums.cacti.net/viewtopic.php?t=21785]Mactrack: Netscreen Fw[/url]
[b]_______________[/b]
[b]Cacti Version[/b] - 0.8.7e, [b]Plugin Architecture[/b] - 2.5, [b]Poller Type[/b] - Cact-Spine 0.8.7e
[b]Server Info[/b] - Ubuntu Server 8.10 (2.6.27-7-server), [b]Web Server[/b] - Apache/2.2.9 PHP/5.2.6-2ubuntu4.3 with Suhosin-Patch
[b]PHP[/b] - 5.2.6-2ubuntu4.3, [b]MySQL[/b] - 5.0.67-0ubuntu6-log, [b]RRDTool[/b] - 1.3.1, [b]SNMP[/b] - 5.4.1
[b]Plugins[/b] - Thresholds v0.4.1, Login Mod v1.0, Host Info v0.2
In netscreen arp function I relplace insert table.
Its work for me..
replace
Its work for me..
Code: Select all
$insert_string = "REPLACE INTO mac_track_ips"
Code: Select all
$insert_string = "REPLACE INTO mac_track_temp_ports"
[/code]disH wrote:Grabs all the ips and populates it into the database but i cannot get it to reflect in Mactrack.
I do get 2 errors:Which are some local ips.. nothing special so im not sure about the error.Notice: Undefined index: 0.10.10.11.75 in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_functions.php on line 1707
Notice: Undefined index: 0.10.10.11.75 in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_functions.php on line 1708
I attached the updated files for MacTrack v1.1/Cacti8.7b
Device type info for: 'SSG 550M', 'IS G2000', 'NS 5GT', 'NS 5GT 2'
- TheWitness
- Developer
- Posts: 17080
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
This new IP scanning function should be in the MacTrack 2.0 trunk SVN. Thanks for the feature feedback.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17080
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
disH,
I just noted that the Juniper FW code is not merged in the 2.1. Can you update me on this. Send me a PM if you want this merged into the 2.1 code with the full files.
Larry
I just noted that the Juniper FW code is not merged in the 2.1. Can you update me on this. Send me a PM if you want this merged into the 2.1 code with the full files.
Larry
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 1 guest