Page 1 of 4

BENNING UPS ( monitor temp, output, load,voltage) with snmp

Posted: Mon Sep 06, 2021 12:58 pm
by mwaqas49
We have a UPS and it is added on the Nagios XI. I want to monitor ambient temperature, Number of Input Lines, Power Load and Voltage status with the SNMP on Nagios XI.

How i can accomplish this task as i am new to Nagios XI.

Is it possible with Core Config Manager (CCM) or what i need to do to monitor the above parameters of the BENNING UPS with the NAGIOS XI.

Thanks

BR,
Muhammad Waqas

Re: BENNING UPS ( monitor temp, output, load,voltage) with s

Posted: Tue Sep 07, 2021 3:44 pm
by gsmith
Hi,

You are probably better off using one of the Configuration Wizards.
Image3.jpg
You can use the SNMP Walk wizard to find out all of the things you can monitor, so if you run
this wizard you can see if the results contain: ambient temperature, Number of Input Lines, Power Load
and Voltage status.

Once you know the OID of what you want to monitor you can use the SNMP Wizard.
OID = Object Identifier and is a numeric representation of a tree structure.
MIB = Management Information Base, this maps the OID to a description:
Image3.jpg
Please let me know if you have any questions or need any clarification.

Thanks

Re: BENNING UPS ( monitor temp, output, load,voltage) with s

Posted: Tue Sep 07, 2021 4:20 pm
by mwaqas49
Hi Sir,

I tried to run the SNMP Walk command that got the stats from the CLI of the Nagios XI server and i will put it here so that you can give me better idea about the issue but when i run then SNMP Walk wizard it is not running and dont able to get the desired output.

[email protected]:~$ snmpwalk -v2c -c H*******PkSNL 192.168.35.99:161 1.3.6.1.2.1.1
iso.3.6.1.2.1.1.1.0 = STRING: "CS121 v 5.70.19"
iso.3.6.1.2.1.1.2.0 = OID: iso.3.6.1.2.1.33
iso.3.6.1.2.1.1.3.0 = Timeticks: (101910200) 11 days, 19:05:02.00
iso.3.6.1.2.1.1.4.0 = ""
iso.3.6.1.2.1.1.5.0 = STRING: "CS-121"
iso.3.6.1.2.1.1.6.0 = ""
iso.3.6.1.2.1.1.7.0 = INTEGER: 72
[email protected]:~$

From the GUI I am getting this error.

Configuration Wizard: SNMP Walk - Step 2
No results were returned from a scan of the device. This may be due to the fact that SNMP is not enabled, or you specified incorrect scan settings.

You may either change your settings or try the same scan again.


So how i can use these values of OIDS from the CLI to get the Output , Temperature, load and voltage monitoring from the Nagios XI.

I also installed the plugin of check_ups_snmp but i need to sort out how it work because i am new here on Nagios XI.

Re: BENNING UPS ( monitor temp, output, load,voltage) with s

Posted: Tue Sep 07, 2021 4:26 pm
by gsmith
Hi,

That looks good so far. Do you have a MIB file from Benning?

If not you can use this default UPS-MIB file to identify what OIDs you need to monitor.

Code: Select all

http://www.oidview.com/mibs/0/UPS-MIB.html
Please let me know how it works out.

Thanks!

Re: BENNING UPS ( monitor temp, output, load,voltage) with s

Posted: Tue Sep 07, 2021 4:36 pm
by mwaqas49
Hi Sir,

Thanks for the reply i will surely use these generic OIDs for the UPS from the shared link but i don't know how i can use these OIDs ON GUI of Nagios XI so that then i can monitor the temp, output, load,voltage).

What will be the process are these OIDs can be used in the command side ? or can i directly use them in services tab ?

Re: BENNING UPS ( monitor temp, output, load,voltage) with s

Posted: Wed Sep 08, 2021 11:49 am
by gsmith
Hi

I created a 4 1/2 minute video showing you how it's done. It's attached as ups_config.txt,
you'll need to rename it as ups_config.mp4 to view it.

I am sure it will generate more questions - that's perfectly fine! :)

Take a look and give it a try, please let me know what you think.

Thanks

Re: BENNING UPS ( monitor temp, output, load,voltage) with s

Posted: Wed Sep 08, 2021 11:53 am
by mwaqas49
Hi sir,

I will surely download your txt file and will watch the video you made for me thanks for you in advance for so much effort of creating a video.

And i will let you know shortly.


Thanks again

Re: BENNING UPS ( monitor temp, output, load,voltage) with s

Posted: Wed Sep 08, 2021 11:59 am
by mwaqas49
Hi Sir,

The attached txt file i saved it with .mp4 on my desktop but its not opening with Video Player .Do you mind if you can send me on my email id [email protected].

Thanks

Re: BENNING UPS ( monitor temp, output, load,voltage) with s

Posted: Wed Sep 08, 2021 12:48 pm
by mwaqas49
Hi sir,

The video seems very helpful.But the upload file of 66kb in the video in Manage Mib section where do you get that file ?

I want to download that file so that i can use these OIDs mentioned in the video.

Can you attach this 66KB MIB file of the UPS.

Thanks

Re: BENNING UPS ( monitor temp, output, load,voltage) with s

Posted: Wed Sep 08, 2021 2:41 pm
by gsmith
Hi,

Please call me Greg, not sir - that's way too formal :D

Most MIBs are available on the internet. There are some default (non vendor specific) ones,
and some provided by vendors. The vendor MIBs "extend" the generic MIBs.

I found the UPS-MIB here: https://bestmonitoringtools.com/mibdb/mibdb_search.php
and have attached it.

For the vendor specific MIBs, you usually have to go to the vendor's website and look under downloads or under
support, or do a Search of their website for "MIB". Sometimes you'll need a login to access the information, but if
you own the device you should have enough support access to download the MIB file.

I am assuming you figured out the video file, but if you can't view it let me know and I'll send
it to your personal email.

Thanks