Page 1 of 1

CHECKSENSORS monitoring ...

Posted: Thu May 18, 2017 12:14 pm
by PhilG
Hello:
I have read the following post: https://support.nagios.com/forum/viewto ... 50&p=29348
but it is a little outdated since the specific plug-in doesn't exist - we are using Nagios XI 5.2.7.

So, do I need to add a plug-in on the Nagio XI server and then use the Wizard?

According to the "SNMP Wizard", the SNMP Services that appear are provided in the attachment
Capture.JPG
Is there a way to associate/correlate the numeric-value "OID" name to something more human-readable, like "Humidity", etc.?

Thank you in advance for your assistance.

Re: CHECKSENSORS monitoring ...

Posted: Thu May 18, 2017 4:25 pm
by tgriep
If you upload the MIB file for that device and it has the OID and the description in it, it should show up using the description instead of the OID number.
To upload the MIB file, go to the Admin > Manage MIBs menu, upload it to the XI server.
You would also have to do the following.
Create the file /etc/snmp/snmp.conf on the XI server, and put into it:
mibs +ALL
This tells the snmp commands that they should load ALL of the mib files when they are executed.
Save the file and see if it works for you.

Re: CHECKSENSORS monitoring ...

Posted: Fri May 19, 2017 9:35 am
by PhilG
Thank you for the response. I'll give it a try and reply back with results.
tgriep wrote:If you upload the MIB file for that device and it has the OID and the description in it, it should show up using the description instead of the OID number.
To upload the MIB file, go to the Admin > Manage MIBs menu, upload it to the XI server.
You would also have to do the following.
Create the file /etc/snmp/snmp.conf on the XI server, and put into it:
mibs +ALL
This tells the snmp commands that they should load ALL of the mib files when they are executed.
Save the file and see if it works for you.

Re: CHECKSENSORS monitoring ...

Posted: Fri May 19, 2017 9:38 am
by tgriep
Your welcome, let us know if you have any more questions.

Re: CHECKSENSORS monitoring ...

Posted: Fri May 19, 2017 11:59 am
by PhilG
Okay, we figured it out. Here's the logic steps.

1). D/l MIB from vendor.
2). Upload MIB into Nagios XI (as per your instructions earlier).
3). Possibly optional, but I did this anyway: Change MIB file ownership from Apache:Apache to root:Nagios to keep permissions consistent in directory.
4). Created the SNMP.conf file, added "mibs +ALL" parameter, restarted SNMP and made SNMP to load on reboot/start.
5). Identify the vendor's OID for the needed checks, ex. Temperature and Humidity, then cross-reference those when adding the SNMP check. Configure/specify check variables, like "Deg. F" and range checks, then provide the MIB file name (without the filename extension).
6). Configure the rest of the checks, ex. who should get alerts, Parent Host, etc.
7). Save as a template, Finish, and Apply Configuration.
8). Verify Host and Services, force a test check, fix if needed.

Working great!

Thank you for your assistance. You may close this post.
tgriep wrote:Your welcome, let us know if you have any more questions.