Host template for Intel Modular Server?

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

Moderators: Developers, Moderators

dgealt
Posts: 21
Joined: Wed Apr 28, 2010 8:09 am
Location: Queensbury, NY

Host template for Intel Modular Server?

Post by dgealt »

I have been searching all over for a host template for the Intel Modular Server. At the bare minimum I would like to watch the switch modules, but anything else would be excellent. Has anyone seen or created a host template for this device? I have used a MIB walker and found a TON of information available to SNMP, but unfortunately I do not know enough about it to use this information to create my own host template. Could someone help me out? I have included the results of the MIB walk in case it helps.
Attachments
OWMSMM MIB Walk.txt
MIB Walk Results
(321.51 KiB) Downloaded 351 times
dgealt
Posts: 21
Joined: Wed Apr 28, 2010 8:09 am
Location: Queensbury, NY

Post by dgealt »

When attempting to connect cacti to the Modular Server using only the built-in SNMP Interface - Traffic data source the only things returned are
dummy 0/2 (no data)
lo (loopback does have some traffic)
ixp1 (management module ethernet interface)
ixp0 (I believe this is the interface between the management module and the midplane)

All of these interfaces are on the management module, I can't seem to get any of the switch module interfaces through SNMP
dgealt
Posts: 21
Joined: Wed Apr 28, 2010 8:09 am
Location: Queensbury, NY

Post by dgealt »

Thank you for the link. I had actually looked at this and the cacti documentation, but I'm still lost. My problem is that I don't know which MIBs pertain to the data I want to collect.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You need to contact the vendor and get the MIB files. Then all of those OIDs will get translated to something useful. Once thats accomplished, then the link given can be used to create the snmp xml scripts.
mrgabinator
Posts: 2
Joined: Wed Apr 28, 2010 1:50 pm

Post by mrgabinator »

HOW TO GET THE MIBS:

If you download the following package:

http://downloadcenter.intel.com/Detail_ ... 5&lang=eng

The zip file will contain another zip file called MIB_Files.zip. Just unzip these mibfiles to /usr/share/snmp/mibs on linux.

Attached is the output from the following command:
snmpwalk -v2c -c public <ip address> intel

It has the total kitchen sink!

The other (standard MIB2) things mentioned earlier (like ixp0, ixp1, etc) in this post reflect the Chassis Management Module itself.

You'll notice in the attached output, that it includes the switch counters.

Example:
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfOutOctets.1.13 = Counter32: 964514329

Also, notice there there's a description table that gives labels for each of the switch ports (1-26)

Example:
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfName.1.13 = STRING: Server.1.1

(That would be Server 1, Nic 1). The external ports are labeled Ext.x

Hope this helps!

Gabriel.
Attachments
ims_snmp_out.txt
Intel Modular Server SNMP WALK output
(393.15 KiB) Downloaded 274 times
Last edited by mrgabinator on Wed Apr 28, 2010 6:19 pm, edited 1 time in total.
dgealt
Posts: 21
Joined: Wed Apr 28, 2010 8:09 am
Location: Queensbury, NY

Post by dgealt »

Is this what I need?
Attachments
MIB_Files.zip
(67.82 KiB) Downloaded 211 times
dgealt
Posts: 21
Joined: Wed Apr 28, 2010 8:09 am
Location: Queensbury, NY

Post by dgealt »

Oh cool, thanks
I will see what I can do with this tomorrow and let you know how it works out
mrgabinator
Posts: 2
Joined: Wed Apr 28, 2010 1:50 pm

Post by mrgabinator »

Yes, that the file you want.

Just extract those individual mib files to /usr/share/snmp/mibs, then type
# export MIBS=all

then try the walk, and you will get everything (storage, servers, switch, etc).

I'm assuming you're using Linux with net-snmp?

Also keep in mind, that NIC 1,2 (on server baseboard) both go to switch 1. The mezz card NICs (3,4?) both go to switch 2.

Gabriel.
dgealt
Posts: 21
Joined: Wed Apr 28, 2010 8:09 am
Location: Queensbury, NY

Post by dgealt »

yes I'm actually using the rpath cacti virtual appliance so it is linux. thank you again.
dgealt
Posts: 21
Joined: Wed Apr 28, 2010 8:09 am
Location: Queensbury, NY

Post by dgealt »

Ok so I'm still having trouble with this
I exported the MIBs and did the snmp walk, created the xml file and placed it where it needs to be.
Then I went through every step listed at
http://docs.cacti.net/manual:087:3a_adv ... ta_queries
I now have a host template... but it's not graphing anything.
Can I get someone to go over the xml file and maybe the host template to see if I missed anything (or just really screwed something up)?
I've only created graphs for the 4 external interfaces and the 6 internal interfaces that are active on the switch module (I know there is quite a bit of traffic going through these ports)... still nothing.
Attachments
Intel_Modular_Server_Switch_Module.xml
(3.31 KiB) Downloaded 231 times
cacti_host_template_intel_modular_server.xml
(20.74 KiB) Downloaded 223 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Time to go through http://docs.cacti.net/manual:087:4_help ... #debugging to find out where its breaking.
dgealt
Posts: 21
Joined: Wed Apr 28, 2010 8:09 am
Location: Queensbury, NY

Post by dgealt »

in cacti.log I find this
04/29/2010 07:42:11 PM - CMDPHP: Poller[0] Host[48] DS[2315] WARNING: Result from SNMP not valid. Partial Result: No Such Instance cur

but when I edit the device and click on verbose query I get (I think) good results (I attached a txt file)

All of my cisco devices are still graphing correctly
Attachments
verbose query result.txt
(10.79 KiB) Downloaded 206 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You need to look in the poller cache what OID DS[2315] refers to. Then snmpwalk it and compare results.
dgealt
Posts: 21
Joined: Wed Apr 28, 2010 8:09 am
Location: Queensbury, NY

Post by dgealt »

when I snmpwalk that OID I get this result
[root@ms-cacti]# snmpwalk -v2c -c public 10.2.10.251 1.3.6.1.4.1.343.2.19.1.2.10.203.3.1.10.14
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.14 = No Such Instance currently exists at this OID

When I snmpwalk the OID without the .14 on the end I get this result
[root@ms-cacti]# snmpwalk -v2c -c public 10.2.10.251 1.3.6.1.4.1.343.2.19.1.2.10.203.3.1.10
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.1 = Counter32: 3862785212
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.2 = Counter32: 1734902645
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.3 = Counter32: 1961216786
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.4 = Counter32: 2841642120
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.5 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.6 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.7 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.8 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.9 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.10 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.13 = Counter32: 2512115666
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.14 = Counter32: 1805834664
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.15 = Counter32: 276367133
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.16 = Counter32: 1332982391
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.17 = Counter32: 3287244552
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.18 = Counter32: 124707822
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.19 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.20 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.21 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.22 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.23 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.24 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.25 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.26 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.1000 = Counter32: 1818845889
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.1001 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.1002 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.1003 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.1004 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.1005 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.1006 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.1007 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.1008 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.1009 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.100000 = Counter32: 0
INTELCORPORATION-MULTI-FLEX-SERVER-SWITCH-MIB::switchIfInOctets.1.104079 = Counter32: 0
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests