lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

Compile MIB?

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> General
Author Message
jtran
Beginner


Joined: 06 Oct 2005
Posts: 3

PostPosted: Thu Oct 06, 2005 11:14 pm    Post subject: Compile MIB? Reply with quote

Hey all.. I'm trying to use NetMRG to graph some snmp info related to our Dynamo APP server. Doesn't seem like NetMRG understands the Dynamo MIB. Anyone know how I can compile the Dynamo mib and configure NetMRG to understand that mib?
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Fri Oct 07, 2005 1:25 am    Post subject: Reply with quote

As netmrg uses net-snmp's libraries, you should just have to make it so that the net-snmp utilities on the server netmrg is running on can use the mib (that means installing it wherever it is you install mibs, and modifying your snmp.conf file). If you need more help on how to do this, let us know what OS you have and where your net-snmp is installed.
Otherwise, you can just figure out what the full OIDs are and just enter those in.
Either way, you just add the stuff to the "SNMP Tests" section, then you can add monitors to your device (and eventually graphs).

-Doug
Back to top
jtran
Beginner


Joined: 06 Oct 2005
Posts: 3

PostPosted: Fri Oct 07, 2005 8:46 pm    Post subject: Reply with quote

Thanks for the advice!

I've tried putting the Dynamo3Mib.mib into my NetMRG host's /usr/share/snmp/mibs dir. That doesn't seem to help. I'm not too sure what else I should do.. I appreciate any further advice you can provide.

I'm using RedHat Enterprise 2.1

My net-snmp is installed via package so the binaries are in /usr/bin ; the conf files are /etc/snmp/snmpd.conf and /usr/local/share/snmp/snmp*.conf/*
Back to top
silfreed
Site Admin


Joined: 19 Jan 2003
Posts: 394
Location: Shippensburg, PA, USA

PostPosted: Sat Oct 08, 2005 1:44 pm    Post subject: Reply with quote

Additionally, you'll need to create a /etc/snmp/snmp.conf file with a line similar to:
mib +Dynamo3Mib

The actual contents of whats after the '+' are going to be near the beginning of your .mib file - it's usually named similar to what the file is named, but the case might be different.
After this, you can try running 'snmpwalk's from the box using the mib and seeing if they will resolve the correct OID.

-Doug
Back to top
jtran
Beginner


Joined: 06 Oct 2005
Posts: 3

PostPosted: Sun Oct 09, 2005 4:00 am    Post subject: Reply with quote

Hey Doug! That definitely did the trick..

*** triton is the netmrg server; 192.168.1.120 is the Dynamo server.

jtran@triton /usr/share/snmp/mibs # snmpwalk -v 1 -c public 192.168.1.120:8870 1.3.6.1.4.1.2725.1.5.1.1.4.1
SNMPv2-SMI::enterprises.2725.1.5.1.1.4.1 = INTEGER: 20

The OID -- 1.3.6.1.4.1.2725.1.5.1.1.4 dbMaxConn Integer32

So it's looking fine onthe Net-SNMP side.

I created the Test device (Database MaxConn), assign it to a group (DYNAMO), and then a monitored device (SERVERNAME DYNAMO), and then a sub-device (db check).

When I check on the monitored device for 'Availability', it says "SNMP Failed".

I ensured the monitored device has the correct settings:

IP: 192.168.1.120
Device Type: Dynamo
SNMPv1
read community: public
UDP Port: 8870

Here is the lastrun.log:

NetMRG starting.
[Dev: 0004] Starting device thread at 2005-10-08 20:55:00.
[Dev: 0011] Starting device thread at 2005-10-08 20:55:00.
[Dev: 0011] Device is SNMP-dead. Avoiding SNMP tests.
[Dev: 0011] Ending device thread at 2005-10-08 20:55:00, after a duration of 0 seconds.
Thread Ended.
[Dev: 0004] Ending device thread at 2005-10-08 20:55:00, after a duration of 0 seconds.
Thread Ended.

I have another group named "network devices", and a monitored device named "router name" that monitors a Cisco 2500 and looks like is working fine. Its SNMP availability is "SNMP Uptime: 427 days, 23:40:40". So this leads me to believe the net-snmp interface to netmrg is working properly. What do you think I'm configuring wrong for the Dynamo monitor?
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Sun Oct 09, 2005 6:45 pm    Post subject: Reply with quote

Try selecting the "Disable SNMP Uptime Check" when editing the device in question. It is possible it doesn't support the MIB NetMRG uses to determine if the device is reachable.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> General All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group