Installing a mib

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
RonaldVeldhuizen
Posts: 9
Joined: Mon Nov 19, 2012 6:48 am

Installing a mib

Post by RonaldVeldhuizen »

Hi,

I'm asked to implement in nagios a mib for monitoring BES 10.
To be honest, I don't have any clue on how to do that.
Does anybody have a 'how to' for me?

Best regards, Ronald
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Installing a mib

Post by lmiltchev »

You can probably get your MIBs from these two websites:

http://www.mibdepot.com/
http://www.oidview.com/mibs/detail.html

and place them in "/usr/share/snmp/mibs/".
Be sure to check out our Knowledgebase for helpful articles and solutions!
RonaldVeldhuizen
Posts: 9
Joined: Mon Nov 19, 2012 6:48 am

Re: Installing a mib

Post by RonaldVeldhuizen »

Placing the mib wasn't that difficult, Google helped me out on that :)

But how to go further and make this checks available for nagios?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Installing a mib

Post by sreinhardt »

Is this something where the BES server will be sending traps to nagios, or will you be performing gets\walks against an snmp agent on the remote windows\BES box?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
RonaldVeldhuizen
Posts: 9
Joined: Mon Nov 19, 2012 6:48 am

Re: Installing a mib

Post by RonaldVeldhuizen »

I want the nagios slave gets info from the windows/bes server
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Installing a mib

Post by sreinhardt »

Can you send us the mibs, or give us a few of the oids that you would like to be checking? At this point since you have the mibs installed and available to the snmp and nagios processes, we just need to craft commands to execute that will return the results that you want!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
RonaldVeldhuizen
Posts: 9
Joined: Mon Nov 19, 2012 6:48 am

Re: Installing a mib

Post by RonaldVeldhuizen »

I don't know at the moment which one we are going to use,
but if you can point me out on how to use them I would be more then glad.
Attachments
BLACKBERRYENTERPRISESERVICEMIB-SMIV2.zip
(9.99 KiB) Downloaded 209 times
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Installing a mib

Post by sreinhardt »

That's great, lets verify that the blackberry oids are available. Run the command below and PM me the results. I wouldn't want any potentially sensative information being publicly available, although it really shouldn't contain much.

Code: Select all

snmpwalk -v 2c -c [communitystring] [hostname\IP] > /tmp/snmpwalk
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
RonaldVeldhuizen
Posts: 9
Joined: Mon Nov 19, 2012 6:48 am

Re: Installing a mib

Post by RonaldVeldhuizen »

Hi I used Ireasoning Mib browser in which I loaded the BB mib.
The result I'll send you via pm.
Best regards, Ronald
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Installing a mib

Post by sreinhardt »

This is just the mib, not a walk of the remote server. I want to be sure that the bes data is actually available via snmp. Since you sent that though, I can give a little more specific command that you can run opposed to the one before. Again please pm, but this needs to be run via the nagios server and anything within [] filled with your own information.

Code: Select all

snmpwalk -v 2c -c [communitystring] .1.3.6.1.4.1.3530.7.7 [hostname\IP] > /tmp/snmpwalk
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked