|
|
| Author |
Message |
zomps
Joined: 10 Feb 2006 Posts: 11
|
Posted: Wed Jan 16, 2008 8:35 pm Post subject: Netscreen Policy Total Traffic |
|
|
Because the netscreen doesn't provide over SNMP In/Out traffic details, the graph contains only total traffic.
Installation:
copy netscreen_policy_traffic.php to /scripts/
copy netscreen_policy_traffic.xml to /resources/script_queries
import cacti_data_query_netscreen_-_policy_total_traffic.xml
Edit:
Small php bugfix
| Description: |
|
 Download |
| Filename: |
netscreen_policy_traffic.zip |
| Filesize: |
4.79 KB |
| Downloaded: |
279 Time(s) |
|
|
| Back to top |
|
 |
cspenpen
Joined: 05 Dec 2006 Posts: 12
|
Posted: Fri Jan 18, 2008 3:10 am Post subject: Re: Netscreen Policy Total Traffic |
|
|
| zomps wrote: | Because the netscreen doesn't provide over SNMP In/Out traffic details, the graph contains only total traffic.
Installation:
copy netscreen_policy_traffic.php to /scripts/
copy netscreen_policy_traffic.xml to /resources/script_queries
import cacti_data_query_netscreen_-_policy_total_traffic.xml
Edit:
Small php bugfix |
I import xml,but there's error said "Error: XML: Hash version does not exist."
how to fix it?
|
|
| Back to top |
|
 |
zomps
Joined: 10 Feb 2006 Posts: 11
|
|
| Back to top |
|
 |
xp1862
Joined: 20 Feb 2008 Posts: 2
|
Posted: Wed Feb 20, 2008 3:22 am Post subject: |
|
|
Dear Sir :
I use your template and get some error ~~~
why output : U ??
SCRIPT: /usr/bin/php -q /var/www/html/cacti/scripts/netscreen_policy_traffic.php 192.168.5.110 public 1 get bytes 16, output: U
Server Info :
====================
Cacti Version 0.8.7a
Plugin Architecture 1.4
Poller Type Cactid v
Server Info Linux 2.6.9-42.EL
Web Server Apache/2.0.52 (CentOS)
PHP Version 4.3.9
PHP Extensions yp, xml, wddx, tokenizer, sysvshm, sysvsem, standard, sockets, shmop, session, pspell, posix, pcre, overload, mime_magic, iconv, gmp, gettext, ftp, exif, dio, dbx, dba, curl, ctype, calendar, bz2, bcmath, zlib, openssl, apache2handler, gd, ldap, mysql, odbc, pgsql, snmp
MySQL Version 4.1.20
RRDTool Version 1.0.50
SNMP Version 5.1.2
Plugins Host Info (hostinfo - v0.2)
Device Monitoring (monitor - v0.8.2)
Update Checker (update - v0.4)
Network Tools (tools - v0.2)
Global Plugin Settings (settings - v0.3)
Thresholds (thold - v0.3.9)
PHP Network Managing (manage - v0.5.1)
PHP Network Weathermap (weathermap - v0.941)
RRD File Cleaner (RRD Cleaner - v0.32)
|
|
| Back to top |
|
 |
zomps
Joined: 10 Feb 2006 Posts: 11
|
Posted: Wed Feb 20, 2008 4:00 am Post subject: |
|
|
| I think you have to enable counting on netscreen configuration each policy
|
|
| Back to top |
|
 |
empoweri
Joined: 09 May 2005 Posts: 3
|
Posted: Fri Mar 07, 2008 9:53 am Post subject: |
|
|
I enabled counting on the policies I want to watch and they show no results via snmpbulkwalk. They are being hit based upon logging to syslog
[root@monitor tmp]# snmpbulkwalk firewall -c PRIVATE -v 2c .1.3.6.1.4.1.3224.10.2.1.3
SNMPv2-SMI::enterprises.3224.10.2.1.3.1.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3224.10.2.1.3.2.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3224.10.2.1.3.3.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3224.10.2.1.3.4.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3224.10.2.1.3.5.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3224.10.2.1.3.8.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3224.10.2.1.3.10.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3224.10.2.1.3.15.0 = INTEGER: 0
[root@monitor tmp]# snmpbulkwalk firewall -c PRIVATE -v 2c .1.3.6.1.4.1.3224.10.2.1.6
SNMPv2-SMI::enterprises.3224.10.2.1.6.1.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3224.10.2.1.6.2.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3224.10.2.1.6.3.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3224.10.2.1.6.4.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3224.10.2.1.6.5.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3224.10.2.1.6.8.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3224.10.2.1.6.10.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3224.10.2.1.6.15.0 = INTEGER: 0
What am I doing wrong in the netscreen?
|
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|