riverstone

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

Moderators: Developers, Moderators

Post Reply
Xstream62
Posts: 9
Joined: Mon Jan 12, 2004 3:57 pm

riverstone

Post by Xstream62 »

i selected generic snmp - enabled however my interfaces for traffic do not show.

has anyone made a date template to collect riverstone stats. or how do you make a data template to collect all traffic.

thanks

mike
BWare
Posts: 33
Joined: Thu Jun 12, 2003 4:57 am
Location: Amsterdam
Contact:

Post by BWare »

We monitor several Riverstone routers with cacti and never had any problems using the generic SNMP template.

Did you enable snmp on the riverstone and did you create a community ?

For example:
! *** ACL snmp service
acl a-snmp permit ip 192.168.0.0/24
acl a-snmp apply service snmp
!
! *** Create read community
snmp set community public privilege read
! *** Create read-write community (for config push)
snmp set community private privilege read-write
! *** Set SNMP chassis
snmp set chassis-id MyRouter
! *** Enable the config MIB - for pushing config to tftp
snmp set mib name conFIG-MIB status enable

Good luck :)
--
Regardz,
BWare
Xstream62
Posts: 9
Joined: Mon Jan 12, 2004 3:57 pm

Post by Xstream62 »

Thanks for the reply.

For 'Associated Data Queries' I have 'Interface Statistics' listed. It reognizes [824 Items, 101 Rows]

'Associated Graph Templates' I tried 'Interface - Traffic (bytes/sec)' and 'SNMP - Generic OID Template'

It gives me a list of interfaces to graph when I click on "Create Graphs for this Host ", however, the graphs do not show because there is nothing in the data template. Do I need to manually do anything because something is broke?

Thanks

Mike Griffin
BWare
Posts: 33
Joined: Thu Jun 12, 2003 4:57 am
Location: Amsterdam
Contact:

Post by BWare »

What version of cacti do you use ?

I have been getting data from the Riverstone routers since cacti 0.6.8, but I understand there have been some problems with the latest version... I'll check my current settings
--
Regardz,
BWare
Xstream62
Posts: 9
Joined: Mon Jan 12, 2004 3:57 pm

Post by Xstream62 »

the newest. 0.8.6a.

i get the data and can select which interface i want to graph. but after i click create graphs it doesnt collect the data but it sees its there.

is there one OID that can be used in a template that will retrieve all of the values or hows it done to collect from oid easisly.


Thanks

Mike Griffin
Guest

Post by Guest »

Anyone else having problems with the newer version released? I re added riverstone many times and it wont graph.

I added a subscriber unit device. Never graph either. It found 20 things to track but I only got 3 interfaces. I;m trying to get the signal strength of wave rider and wi-lan.

Should I use cactid and not cmd?

Thank you

Mike
Guest

Post by Guest »

The Traffic Summary is working fine for me. You have to "Create New Graphs" in order to display some graphs.

Does anybody else know how to display the CPU Usage of Riverstone Routers. Their OID is 1.3.6.1.4.1.52.2501.1.270.2.1.1.2.1 ? But when I choose 'SNMP - Generic OID Template', it doesn't display any graph.
BWare
Posts: 33
Joined: Thu Jun 12, 2003 4:57 am
Location: Amsterdam
Contact:

Post by BWare »

Getting CPU info from a riverstone is a bit difficult to say the least - I gave it up a long time ago ;)

AFAICT Riverstone uses a different approach for the CPU info in their MIB...

For more information try:
http://newalcatraz.riverstonenet.com/ma ... 00952.html

and

http://newalcatraz.riverstonenet.com/ma ... 00634.html

Good luck
--
Regardz,
BWare
PC

Yes this can be done !

Post by PC »

Hi,

I have Enterasys routers which are basically the same as a Riverstone. They use the same OID for collecting CPU. These will work. I have included the graph and data template. Just change the names of the data and graph templates to Riverstone which you can do before importing. Exported from 0.8.5a
Attachments
cacti_data_template_enterasys_router_1_minute_cpu.xml
(5.54 KiB) Downloaded 391 times
cacti_graph_template_enterasys_cpu_usage.xml
(9.82 KiB) Downloaded 442 times
tora
Posts: 1
Joined: Fri Mar 18, 2005 6:56 am

OID must begin .1.3.....

Post by tora »

[quote="Anonymous"]The Traffic Summary is working fine for me. You have to "Create New Graphs" in order to display some graphs.

Does anybody else know how to display the CPU Usage of Riverstone Routers. Their OID is 1.3.6.1.4.1.52.2501.1.270.2.1.1.2.1 ? But when I choose 'SNMP - Generic OID Template', it doesn't display any graph.[/quote]
edmcguigan
Posts: 8
Joined: Thu Jan 23, 2003 12:18 pm

Riverstone - 5min CPU More Useful

Post by edmcguigan »

I found this thread and was dissatisfied with the fact that the OID people were providing was the 5sec or 60sec CPU figure. This fluctuates widely over a period of a few seconds and so does not seem an appropriate figure to sample at 5 minute intervals.

I downloaded the Riverstone MIBs from their web site and used the net-snmp tools to get the OID. I am going to give some details below so that those interested can see how to generically search for an OID.

Key point:

The OID for a 5 minute CPU load on Riverstone is .1.3.6.1.4.1.5567.2.270.5.1.1.4.0

#-----------------------------------------------------------------------#

Details:

I downloaded the Riverstone 9.4 ROS MIBs to
/usr/local/share/snmp/mibs/ros-9.4.0.0-mibs ( extracted tarball ).

I then created a general snmp.conf file in the /usr/local/share/snmp
directory with contents specifying the riverstone mib directory to be
searched after the general mib directory:

#---------------------------------START---------------------------------#
[root@endpnt1 snmp]# cat snmp.conf
mibdirs /usr/local/share/snmp/mibs:/usr/local/share/snmp/mibs/ros-9.4.0.0-mibs
#----------------------------------END----------------------------------#

After some fiddling with the command line options I came up with:

#---------------------------------START---------------------------------#
[emcg@endpnt1 .snmp]$ snmptranslate -m RIVERSTONE-CAPACITY-MIB -IR -On
rsCapCPUCurrentUtilization5Min
.1.3.6.1.4.1.5567.2.270.5.1.1.4
#----------------------------------END----------------------------------#

***NOTE***
To load a specific MIB on the command line, DO NOT use the MIB file
name. Look inside the file for the MIB name at the top of the file.

E.g.
#---------------------------------START---------------------------------#
[root@endpnt1 ros-9.4.0.0-mibs]# head rstone-capacity-mib.txt
RIVERSTONE-CAPACITY-MIB DEFINITIONS ::= BEGIN
#----------------------------------END----------------------------------#

I wasted quite a bit of time trying a command like:

snmptranslate -IR -On -m rstone-capacity-mib.txt
rsCapCPUCurrentUtilization5Min
No log handling enabled - turning on stderr logging
Cannot find module (rstone-capacity-mib.txt): At line 1 in (none)
Unknown object identifier: rsCapCPUCurrentUtilization5Min

The files in a directory are searched for the MIB. You don't tell it
which file. In the snmp.conf you can specify mibs to load based on the
MIB name ( mib directive ) or the file name ( mibfile directive ).

#-----------------------------------------------------------------------#

I was now able to retrieve the 5min CPU load value for Riverstone routers:

snmpget -c kingston -v 2c 65.183.0.251 .1.3.6.1.4.1.5567.2.270.5.1.1.4.0
SNMPv2-SMI::enterprises.5567.2.270.5.1.1.4.1 = Gauge32: 25

As I expected this value is more stable over time than the 5sec value.
Ed McGuigan
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest