RMON Group 1 Etherstats - Templates

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

Moderators: Developers, Moderators

monkranter
Posts: 4
Joined: Wed Sep 07, 2005 11:47 am

Post by monkranter »

I am running cacti-0.8.6f.
chewbacca156
Posts: 24
Joined: Tue Apr 04, 2006 7:17 am

Post by chewbacca156 »

Hi

I've just installed the scripts by "Import Template" and copied the mon-grp1-etherstats.xml in resource/snmp_queries/.
When adding the data query to my device, it succeeded and found rows, and i created a graph for Broadcast and Multicast.
But no rrd file is created under rra/ and no graph is displayed...

Is there something i missed ?

Running under Cacti 0.8.6h on linux redhat 9.
Cacti is well functioning, except the scripts added...
davs
Posts: 28
Joined: Fri Mar 31, 2006 9:47 am
Location: paris

Post by davs »

I've just installed the scripts by "Import Template" and copied the mon-grp1-etherstats.xml in resource/snmp_queries/.
When adding the data query to my device, it succeeded and found rows, and i created a graph for Broadcast and Multicast.
But no rrd file is created under rra/ and no graph is displayed...

I'm in the same case than Chewbacca156... No rrd file is created??????

Could someone help us please????

Thanks...
User avatar
Pumpi
Cacti User
Posts: 259
Joined: Wed Jan 14, 2004 3:23 am
Location: Germany

Post by Pumpi »

davs,

check the data queries of RMON - Interface Statistics if Data Sources are activated under Associated Data Templates.
Check the RMON data sources if you have the OID value set - if not you can add the OID from the XML file.

Pumpi
davs
Posts: 28
Joined: Fri Mar 31, 2006 9:47 am
Location: paris

Post by davs »

check the data queries of RMON - Interface Statistics if Data Sources are activated under Associated Data Templates.
Check the RMON data sources if you have the OID value set - if not you can add the OID from the XML file.

Pumpi
Pumpi,

Thanks for your answer...
I can not add the OID value in my RMON data sources configuration...
However, I have been trying by creating manually the rrd files. I took the code generated automatically by cacti.

Thanks..
chewbacca156
Posts: 24
Joined: Tue Apr 04, 2006 7:17 am

Post by chewbacca156 »

OK its working !

The data queries were not correct :
Data Queries / RMON - Interface Statistics / Multicast, Broadcast and All Packets ... :
-> rmon_broadcast_in : etherStatsBroadcastPkts
-> rmon_multicast_in : etherStatsMulticastPkts
-> rmon_allcast_in : etherStatsPkts (Packets)
All values were etherStatsOctets...

Do the same thing for all RMON data queries.

And now the rrd's are in rra/ and the graphs are displayed ;)
Thanks a lot Pumpi !



Now my pb is that these OIDs do not exist on my linux box (maybe a snmpd problem ?) and on my w2kserver box.
Its working on my switches, but the multicast value is quite the same as broadcasts, which is not possible.

I have 3.3 broadcast/sec (this is correct) and 3.4 multicast/sec (this is not correct ! The real value should be 0.1 or 0.2...).
If someone has an idea on this point... ;)
User avatar
Pumpi
Cacti User
Posts: 259
Joined: Wed Jan 14, 2004 3:23 am
Location: Germany

Post by Pumpi »

chewbacca156,

your devices must support RFC 2819 RMON groups.

Most of LAN switches are supporting RMON.
I did not believe that you get values from Windows or Linux servers likewise most routers did not support RMON.

Good to hear that this nice template is working for you too. :wink:
chewbacca156
Posts: 24
Joined: Tue Apr 04, 2006 7:17 am

Post by chewbacca156 »

Is the multicast value correct in your graphs ?

Mine is not...

If I make a capture on my network with a sniffer like Observer or Ethereal, the multicast value is about 0.1 or 0.3 pkts/sec, and broadcast is 3.2 or 3.3 pkts/sec.

Now in Cacti, the values on my switches ports are 3.4 multicast/sec and 3.3 broadcast/sec...

And if you make a simple math : multicast - broadcast = real multicast value !
Is there a way to correct this value ?

I'll try to graph different devices to see if the value is the same.
chewbacca156
Posts: 24
Joined: Tue Apr 04, 2006 7:17 am

Post by chewbacca156 »

I'm getting correctly the broadcast and multicast from several devices.

But I tried to get the multicast and broadcast from another device, and the script is requesting the wrong OID

The correct OID for multicasts of port number 5 is :
.1.3.6.1.2.1.16.1.1.1.7.5
But it is requesting the OID :
.1.3.6.1.2.1.16.1.1.1.7.405

Is there a way to correct this ?

Logfile :

Code: Select all

04/13/2006 12:40:02 PM - CACTID: Poller[0] Host[7] DS[1898] SNMP: v1: my_switch_name, dsname: rmon_multicast_in, oid: .1.3.6.1.2.1.16.1.1.1.7.405, value: U
04/13/2006 12:40:02 PM - CACTID: Poller[0] Host[7] DS[1898] WARNING: Result from SNMP not valid. Partial Result: ...
04/13/2006 12:40:02 PM - CACTID: Poller[0] Host[7] DS[1897] SNMP: v1: my_switch_name, dsname: rmon_broadcast_in, oid: .1.3.6.1.2.1.16.1.1.1.6.405, value: U
04/13/2006 12:40:02 PM - CACTID: Poller[0] Host[7] DS[1897] WARNING: Result from SNMP not valid. Partial Result: ...
04/13/2006 12:40:02 PM - CACTID: Poller[0] Host[7] DS[1899] SNMP: v1: my_switch_name, dsname: rmon_allcast_in, oid: .1.3.6.1.2.1.16.1.1.1.5.405, value: U
04/13/2006 12:40:02 PM - CACTID: Poller[0] Host[7] DS[1899] WARNING: Result from SNMP not valid. Partial Result: ...
Last edited by chewbacca156 on Fri Apr 14, 2006 4:01 am, edited 1 time in total.
knobdy
Cacti User
Posts: 495
Joined: Wed Sep 28, 2005 1:39 pm

Post by knobdy »

Can someone give a quick primer on rmon (or point to one) - and specifically the commands associated with it on Cisco devices? These look really interesting...
davs
Posts: 28
Joined: Fri Mar 31, 2006 9:47 am
Location: paris

Post by davs »

Hi,

Something is not very clear for me with this mib.
I use a windows box and the think that I would like to know is if I need to import the rmon mib into windows?
I got 2 cisco switch/router :
- WS-C3550-24-DC-SMI
- WS-C2950-24-EI
I looked in cisco website and it says that my IOS software supported the rmon mib and the rmon2 mib.
But it always returns U (unknow).

Maybe someone can help me?

Thank you very much for your help...
fozzy
Cacti User
Posts: 54
Joined: Mon Jan 09, 2006 11:33 am
Location: SE of LIML
Contact:

Post by fozzy »

trying this on a C3500XL but i can't find the OIDs....

i only have rmon.19 which gives some info about the loaded IOS image...
am i missing something?

Thanks, Luca
fozzy
Cacti User
Posts: 54
Joined: Mon Jan 09, 2006 11:33 am
Location: SE of LIML
Contact:

Post by fozzy »

ok got RMON info enabled (rmon collection stats <1-65535> at the interface context)

graphics still blank but snmpwalk returns the values.. looking into it :)

Luca
fozzy
Cacti User
Posts: 54
Joined: Mon Jan 09, 2006 11:33 am
Location: SE of LIML
Contact:

Post by fozzy »

so graphs are working too... problems is VLAN1 has index 1 so the interfaces start at index 2, i suppose the indexing is hardcoded and so it looks for interface 0/1 at index 1... but index 1 in this case is vlan 1 thus all interfaces have the wrong name...

could this be the problem?

Thank you, Luca

EDIT: my fault, i told the switch to use index 1 for FE0/1... would be nice if the RMON packag could index the interfaces based on the etherStats data and not on the ifTable. :)
c7borg
Posts: 11
Joined: Mon Mar 13, 2006 9:39 am

Post by c7borg »

just thought I would add my 2 pence..

I set this up for the first time today on a fairly fresh install of cacti.. I did the fixes as mention (many thanks)

but for some reason my graphs were not being created or .rrd files after scratching my head little I found that if I ran a normal snmp query on the interface for say in/out bytes the rmon graphs kick into action.. not sure how to explain it but it works and may help someone else in the same situation..

cacti version 0.8.6h
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests