Netscreen Template to monitor traffic for sub-interfaces

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Author
Message
jay
Cacti User
Posts: 390
Joined: Wed Aug 31, 2005 8:55 am
Location: Bristol, England

Netscreen Template to monitor traffic for sub-interfaces

#1 Post by jay » Wed Dec 21, 2005 6:26 am

Hi

I have created a template which allows you to monitor traffic for sub-interfaces for Netscreen firewalls as the default traffic templates won't do this.

The template monitors in and outbound traffic and also errors and discards.

This is my first post to the forum so go easy on me. I won't have a lot of time to answer any queries so i apologise if i don't get back to you very quickly.

I have added an attachment which shows a sub-interface being monitored.

I also have templates which monitor IDS counters such as ping of death and also interface monitoring counters such as authfail. I will post these if anyone is interested and people don't have too many issues with the attached template.

Jay
Attachments
cacti_data_template_netscreen_interface_stats.zip
(12.5 KiB) Downloaded 8192 times
graph_image.php.png
graph_image.php.png (28.9 KiB) Viewed 54649 times
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75

SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384

ttl
Posts: 2
Joined: Fri Dec 30, 2005 4:38 am
Location: FI

#2 Post by ttl » Fri Dec 30, 2005 4:57 am

Hi,

Package does not contain the snmp_query file 'Netscreen_Interface_Counters.xml' or did i miss something?

<clip>
+ Running data query [12].
+ Found type = '3' [snmp query].
+ Could not find data query XML file at '/var/www/cacti/resource/snmp_queries/Netscreen_Interface_Counters.xml'
+ Error parsing XML file into an array.
+ Could not find data query XML file at '/var/www/cacti/resource/snmp_queries/Netscreen_Interface_Counters.xml'
+ Could not find data query XML file at '/var/www/cacti/resource/snmp_queries/Netscreen_Interface_Counters.xml'
+ Could not find data query XML file at '/var/www/cacti/resource/snmp_queries/Netscreen_Interface_Counters.xml'
</clip>

jay
Cacti User
Posts: 390
Joined: Wed Aug 31, 2005 8:55 am
Location: Bristol, England

#3 Post by jay » Fri Dec 30, 2005 5:32 am

Hi

I have checked the the data query is included in the package.

Can you check in your the directory (/var/www/cacti/resource/snmp_queries) and see if the xml template is in there.

What version of Cacti are you using? I take it from the path that its a unix server you are using.

Jay
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75

SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384

ttl
Posts: 2
Joined: Fri Dec 30, 2005 4:38 am
Location: FI

#4 Post by ttl » Fri Dec 30, 2005 8:39 am

Hi

There's no any netscreen xml files in /var/www/cacti/resource/snmp_queries and i'm using Cacti 0.86g in Linux Debian 3.1.

I have downloaded cacti_data_template_netscreen_interface_stats.zip and imported all files in to Cacti.

cacti_data_template_netscreen_interface_stats.zip contains files:

cacti_data_query_netscreen_interface_statistics.xml
cacti_data_template_netscreen_interface_stats.xml
cacti_graph_template_netscreen_interface_traffic_bitssec.xml
cacti_graph_template_netscreen_interface_traffic_bytessec.xml

How this 'Netscreen_Interface_Counters.xml' data query XML file is created in snmp_queries directory? I have assumed that file must manually copied from cacti_data_template_netscreen_interface_stats.zip to /var/www/cacti/resource/snmp_queries directory, but there's no that file.

jay
Cacti User
Posts: 390
Joined: Wed Aug 31, 2005 8:55 am
Location: Bristol, England

#5 Post by jay » Fri Dec 30, 2005 12:15 pm

Hi

The 4 files are correct. I'm not sure what happens when you export. I haven't exported any templates myself. I have been creating them myself.

I have attached a screen shot of what you should see for the data query.

I have also attached the .txt data query which you can add to your resource directory. You will need to change the extension to .xml .You will then need to add your graph templates to the data query as shown in the screenshot.

The screenshot is in word format..not sure if you will be able to open this as you are using Debian. Maybe you can open it in a windown machine so you can see the screen shot.

I will not be logged in from now until tuesday so won't be able to answer any of your queries until then.

Have a good new year.

Jay
Attachments
NS-Int-Screenshot.doc
(129.5 KiB) Downloaded 3506 times
Netscreen_Interface_Counters.txt
(2.22 KiB) Downloaded 4248 times
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75

SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384

muraping
Posts: 12
Joined: Wed Dec 14, 2005 3:45 am

#6 Post by muraping » Sat Dec 31, 2005 2:17 am

thank jay. i import your xml files in my cacti system.
but no data soure

Code: Select all

Data Query Debug Information 
 
+ Running data query [11].
+ Found type = '3' [snmp query].
+ Could not find data query XML file at '/www/htdocs/cacti/resource/snmp_queries/Netscreen_Interface_Counters.xml'
+ Error parsing XML file into an array.
+ Could not find data query XML file at '/www/htdocs/cacti/resource/snmp_queries/Netscreen_Interface_Counters.xml'
+ Could not find data query XML file at '/www/htdocs/cacti/resource/snmp_queries/Netscreen_Interface_Counters.xml'
+ Could not find data query XML file at '/www/htdocs/cacti/resource/snmp_queries/Netscreen_Interface_Counters.xml'
 

muraping
Posts: 12
Joined: Wed Dec 14, 2005 3:45 am

#7 Post by muraping » Sat Dec 31, 2005 4:51 am

jay
can you got us this xml file?i import your zip files,but no this xml also.
i copy interface.xml to Netscreen_Interface_Counters.xml,

Code: Select all

Data Query Debug Information + Running data query [11].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/www/htdocs/cacti/resource/snmp_queries/Netscreen_Interface_Counters.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ Located input field 'ifIndex' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.1'
+ Found item [ifIndex='1'] index: 1 [from value]
+ Found item [ifIndex='2'] index: 2 [from value]
+ Found item [ifIndex='3'] index: 3 [from value]
+ Found item [ifIndex='4'] index: 4 [from value]
+ Found item [ifIndex='5'] index: 5 [from value]
+ Located input field 'ifOperStatus' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.8'
+ Found item [ifOperStatus='1'] index: 1 [from value]
+ Found item [ifOperStatus='1'] index: 2 [from value]
+ Found item [ifOperStatus='2'] index: 3 [from value]
+ Found item [ifOperStatus='2'] index: 4 [from value]
+ Found item [ifOperStatus='1'] index: 5 [from value]
+ Located input field 'ifDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.2'
+ Found item [ifDescr='ethernet1'] index: 1 [from value]
+ Found item [ifDescr='ethernet2'] index: 2 [from value]
+ Found item [ifDescr='ethernet3'] index: 3 [from value]
+ Found item [ifDescr='ethernet4'] index: 4 [from value]
+ Found item [ifDescr='vlan1'] index: 5 [from value]
+ Located input field 'ifName' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.1'
+ Located input field 'ifAlias' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.31.1.1.1.18'
+ Located input field 'ifType' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.3'
+ Found item [ifType='6'] index: 1 [from value]
+ Found item [ifType='6'] index: 2 [from value]
+ Found item [ifType='6'] index: 3 [from value]
+ Found item [ifType='6'] index: 4 [from value]
+ Found item [ifType='6'] index: 5 [from value]
+ Located input field 'ifSpeed' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.5'
+ Found item [ifSpeed='100000000'] index: 1 [from value]
+ Found item [ifSpeed='10000000'] index: 2 [from value]
+ Found item [ifSpeed='10000000'] index: 3 [from value]
+ Found item [ifSpeed='10000000'] index: 4 [from value]
+ Found item [ifSpeed='0'] index: 5 [from value]
+ Located input field 'ifHwAddr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.2.2.1.6'
+ Found item [ifHwAddr='00:10:DB:90:44:30'] index: 1 [from value]
+ Found item [ifHwAddr='00:10:DB:90:44:35'] index: 2 [from value]
+ Found item [ifHwAddr='00:10:DB:90:44:36'] index: 3 [from value]
+ Found item [ifHwAddr='00:10:DB:90:44:37'] index: 4 [from value]
+ Found item [ifHwAddr='00:10:DB:90:44:3F'] index: 5 [from value]
+ Located input field 'ifIP' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.2.1.4.20.1.2'
+ Found item [ifIP='219.235.226.35'] index: 5 [from regexp oid parse]
+ Found data query XML file at '/www/htdocs/cacti/resource/snmp_queries/Netscreen_Interface_Counters.xml'
+ Found data query XML file at '/www/htdocs/cacti/resource/snmp_queries/Netscreen_Interface_Counters.xml'
+ Found data query XML file at '/www/htdocs/cacti/resource/snmp_queries/Netscreen_Interface_Counters.xml'
+ Found data query XML file at '/www/htdocs/cacti/resource/snmp_queries/Netscreen_Interface_Counters.xml'
+ Found data query XML file at '/www/htdocs/cacti/resource/snmp_queries/Netscreen_Interface_Counters.xml'
+ Found data query XML file at '/www/htdocs/cacti/resource/snmp_queries/Netscreen_Interface_Counters.xml'
+ Found data query XML file at '/www/htdocs/cacti/resource/snmp_queries/Netscreen_Interface_Counters.xml'
but this files is not netscreen need file,i make Data Sources&graph,but no drawing:( please get us Netscreen_Interface_Counters.xml
thank again :oops:

jay
Cacti User
Posts: 390
Joined: Wed Aug 31, 2005 8:55 am
Location: Bristol, England

#8 Post by jay » Tue Jan 03, 2006 8:56 am

Hi

Here is what i want you to do. Check your Cacti configuration.

You should have the following.

Data Template - netscreen - interface stats
2 Graph Templates - Netscreen - Interface Traffic (bits/sec) and Netscreen - Interface Traffic (bytes/sec)

You should also have a data query - Netscreen - Interface Statistics

Is this correct??

If so i want you to delete the data query. Do NOT delete the data and graph templates.

Add the following Netscreen_Interface_Counters.txt into your resource directory for snmp_queries. Change the .txt to .xml. The file is attached with this reply.

Then create a new data query. Look at the screen shots i sent in a previous post to see how to do this.

Your xml path will look something like this.

<path_cacti>/resource/snmp_queries/Netscreen_Interface_Counters.xml

I have removed the discards and errors from the data query as i'm seeing issues on my Cacti server with this query. The interface stats are ok though.

Let me know how you get on with the above.

Jay
Attachments
Netscreen_Interface_Counters.txt
(1.44 KiB) Downloaded 3293 times
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75

SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384

muraping
Posts: 12
Joined: Wed Dec 14, 2005 3:45 am

#9 Post by muraping » Tue Jan 03, 2006 8:27 pm

thank for jay
i used you files that is OK,thank very much! :D

aboyz

Session graphing?

#10 Post by aboyz » Mon Jan 30, 2006 8:02 pm

Hi,

Anyone got session to graph on the netscreen? I can't seem to get it working. I'm using the netscreen 2000. Anyone know what OID to use?

jay
Cacti User
Posts: 390
Joined: Wed Aug 31, 2005 8:55 am
Location: Bristol, England

#11 Post by jay » Tue Jan 31, 2006 5:06 am

Hi

Check out this forum

http://forums.cacti.net/viewtopic.php?t ... =netscreen

There is a script which allows you to monitor CPU, Memory and Sessions. The script was written for a Unix enviroment but i made a few changes to get it to work in Windows.

Here is a link with Netscreen MIB table.

http://200.support.juniper.safeharbor.c ... skb718.htm

1.3.6.1.4.1.3224.16.3 --- nsResSession
1.3.6.1.4.1.3224.16.3.1 --- nsResSessActive (INTEGER)
1.3.6.1.4.1.3224.16.3.2 --- nsResSessAllocate (INTEGER)
1.3.6.1.4.1.3224.16.3.3 --- nsResSessMaxium (INTEGER)
1.3.6.1.4.1.3224.16.3.4 --- nsResSessFailed (INTEGER)

Jay
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75

SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384

abdulcc
Cacti User
Posts: 52
Joined: Fri Jul 14, 2006 7:06 am

Hello ALL

#12 Post by abdulcc » Thu Jan 11, 2007 4:10 am

I have a netscreen ns208 and the firewall does not return subinterfaces on my snmp query. How would I enable that?

jay
Cacti User
Posts: 390
Joined: Wed Aug 31, 2005 8:55 am
Location: Bristol, England

#13 Post by jay » Thu Jan 11, 2007 12:39 pm

What information do you get when you do an snmpwalk to the firewall?? Change public to your community and x.x.x.x to your IP address.


C:\net-snmp\bin>snmpwalk.exe -v2c -c public x.x.x.x 1.3.6.1.4.1.3224.9.3. 1.1
SNMPv2-SMI::enterprises.3224.9.3.1.1.0 = INTEGER: 0
SNMPv2-SMI::enterprises.3224.9.3.1.1.1 = INTEGER: 1
SNMPv2-SMI::enterprises.3224.9.3.1.1.2 = INTEGER: 2
SNMPv2-SMI::enterprises.3224.9.3.1.1.3 = INTEGER: 3
SNMPv2-SMI::enterprises.3224.9.3.1.1.4 = INTEGER: 4
SNMPv2-SMI::enterprises.3224.9.3.1.1.5 = INTEGER: 5
SNMPv2-SMI::enterprises.3224.9.3.1.1.6 = INTEGER: 6


Check this correlates to the amount of interfaces that you have on the firewall.

Also when you add the template to a device if you do a verbose query what information do you see..please add this to the post.

Jay
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75

SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384

abdulcc
Cacti User
Posts: 52
Joined: Fri Jul 14, 2006 7:06 am

Here is the snmp query response

#14 Post by abdulcc » Fri Jan 12, 2007 3:37 am

It also does not show sub interfaces



-bash-2.05b# snmpwalk -v 2c -c public 10.28.2.34
SNMPv2-MIB::sysDescr.0 = STRING: NetScreen-208 version 5.3.0r3.0 (SN: 0099032006000095, Firewall+VPN)
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.3224.1.10
SNMPv2-MIB::sysUpTime.0 = Timeticks: (549295600) 63 days, 13:49:16.00
SNMPv2-MIB::sysContact.0 = STRING: noc
SNMPv2-MIB::sysName.0 = STRING: netscreenfw
SNMPv2-MIB::sysLocation.0 = STRING:
SNMPv2-MIB::sysServices.0 = INTEGER: 72
IF-MIB::ifNumber.0 = INTEGER: 9
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifIndex.2 = INTEGER: 2
IF-MIB::ifIndex.3 = INTEGER: 3
IF-MIB::ifIndex.4 = INTEGER: 4
IF-MIB::ifIndex.5 = INTEGER: 5
IF-MIB::ifIndex.6 = INTEGER: 6
IF-MIB::ifIndex.7 = INTEGER: 7
IF-MIB::ifIndex.8 = INTEGER: 8
IF-MIB::ifIndex.9 = INTEGER: 9
IF-MIB::ifDescr.1 = STRING: ethernet1
IF-MIB::ifDescr.2 = STRING: ethernet2
IF-MIB::ifDescr.3 = STRING: ethernet3
IF-MIB::ifDescr.4 = STRING: ethernet4
IF-MIB::ifDescr.5 = STRING: ethernet5
IF-MIB::ifDescr.6 = STRING: ethernet6
IF-MIB::ifDescr.7 = STRING: ethernet7
IF-MIB::ifDescr.8 = STRING: ethernet8
IF-MIB::ifDescr.9 = STRING: vlan1
IF-MIB::ifType.1 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.3 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.4 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.5 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.6 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.7 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.8 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifType.9 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifMtu.1 = INTEGER: 1500
IF-MIB::ifMtu.2 = INTEGER: 1500
IF-MIB::ifMtu.3 = INTEGER: 1500
IF-MIB::ifMtu.4 = INTEGER: 1500
IF-MIB::ifMtu.5 = INTEGER: 1500
IF-MIB::ifMtu.6 = INTEGER: 1500
IF-MIB::ifMtu.7 = INTEGER: 1500
IF-MIB::ifMtu.8 = INTEGER: 1500
IF-MIB::ifMtu.9 = INTEGER: 1500
IF-MIB::ifSpeed.1 = Gauge32: 100000000
IF-MIB::ifSpeed.2 = Gauge32: 100000000
IF-MIB::ifSpeed.3 = Gauge32: 100000000
IF-MIB::ifSpeed.4 = Gauge32: 100000000
IF-MIB::ifSpeed.5 = Gauge32: 100000000
IF-MIB::ifSpeed.6 = Gauge32: 100000000
IF-MIB::ifSpeed.7 = Gauge32: 100000000
IF-MIB::ifSpeed.8 = Gauge32: 100000000
IF-MIB::ifSpeed.9 = Gauge32: 0
IF-MIB::ifPhysAddress.1 = STRING: 0:10:db:ff:20:0
IF-MIB::ifPhysAddress.2 = STRING: 0:10:db:ff:20:50
IF-MIB::ifPhysAddress.3 = STRING: 0:10:db:ff:20:60
IF-MIB::ifPhysAddress.4 = STRING: 0:10:db:ff:20:70
IF-MIB::ifPhysAddress.5 = STRING: 0:10:db:ff:20:80
IF-MIB::ifPhysAddress.6 = STRING: 0:10:db:ff:20:90
IF-MIB::ifPhysAddress.7 = STRING: 0:14:f6:41:93:ca
IF-MIB::ifPhysAddress.8 = STRING: 0:14:f6:41:93:cb
IF-MIB::ifPhysAddress.9 = STRING: 0:10:db:ff:20:f0
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifAdminStatus.2 = INTEGER: up(1)
IF-MIB::ifAdminStatus.3 = INTEGER: up(1)
IF-MIB::ifAdminStatus.4 = INTEGER: up(1)
IF-MIB::ifAdminStatus.5 = INTEGER: up(1)
IF-MIB::ifAdminStatus.6 = INTEGER: up(1)
IF-MIB::ifAdminStatus.7 = INTEGER: up(1)
IF-MIB::ifAdminStatus.8 = INTEGER: up(1)
IF-MIB::ifAdminStatus.9 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.2 = INTEGER: up(1)
IF-MIB::ifOperStatus.3 = INTEGER: up(1)
IF-MIB::ifOperStatus.4 = INTEGER: up(1)
IF-MIB::ifOperStatus.5 = INTEGER: up(1)
IF-MIB::ifOperStatus.6 = INTEGER: up(1)
IF-MIB::ifOperStatus.7 = INTEGER: up(1)
IF-MIB::ifOperStatus.8 = INTEGER: up(1)
IF-MIB::ifOperStatus.9 = INTEGER: down(2)
IF-MIB::ifLastChange.1 = Timeticks: (53020100) 6 days, 3:16:41.00
IF-MIB::ifLastChange.2 = Timeticks: (53020100) 6 days, 3:16:41.00
IF-MIB::ifLastChange.3 = Timeticks: (53020200) 6 days, 3:16:42.00
IF-MIB::ifLastChange.4 = Timeticks: (900) 0:00:09.00
IF-MIB::ifLastChange.5 = Timeticks: (900) 0:00:09.00
IF-MIB::ifLastChange.6 = Timeticks: (53020200) 6 days, 3:16:42.00
IF-MIB::ifLastChange.7 = Timeticks: (900) 0:00:09.00
IF-MIB::ifLastChange.8 = Timeticks: (900) 0:00:09.00
IF-MIB::ifLastChange.9 = Timeticks: (0) 0:00:00.00
IF-MIB::ifInOctets.1 = Counter32: 2501321180
IF-MIB::ifInOctets.2 = Counter32: 2783533063
IF-MIB::ifInOctets.3 = Counter32: 2458314484
IF-MIB::ifInOctets.4 = Counter32: 1002220517
IF-MIB::ifInOctets.5 = Counter32: 1607903244
IF-MIB::ifInOctets.6 = Counter32: 1070927344
IF-MIB::ifInOctets.7 = Counter32: 717766365
IF-MIB::ifInOctets.8 = Counter32: 329937560
IF-MIB::ifInOctets.9 = Counter32: 0
IF-MIB::ifInUcastPkts.1 = Counter32: 272929349
IF-MIB::ifInUcastPkts.2 = Counter32: 2646558496
IF-MIB::ifInUcastPkts.3 = Counter32: 540699829
IF-MIB::ifInUcastPkts.4 = Counter32: 75443531
IF-MIB::ifInUcastPkts.5 = Counter32: 15982362
IF-MIB::ifInUcastPkts.6 = Counter32: 7340475
IF-MIB::ifInUcastPkts.7 = Counter32: 11019823
IF-MIB::ifInUcastPkts.8 = Counter32: 5498959
IF-MIB::ifInUcastPkts.9 = Counter32: 0

jay
Cacti User
Posts: 390
Joined: Wed Aug 31, 2005 8:55 am
Location: Bristol, England

#15 Post by jay » Fri Jan 12, 2007 4:58 am

Hi

You are walking the Interface MIB and not the netscreen specific MIB. Try walking this OID - 1.3.6.1.4.1.3224.9.3. 1.1 as i did on the previous post. You should see your sub interfaces. The template i posted uses this MIB which then allows you to monitor each sub interface. The standard interface MIB does not.

Jay
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75

SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384

Post Reply