Environmental Monitoring
Environmental Monitoring
My company has some Environmental Monitoring devices (Room Alert) and to have Nagios monitor it i would need snmp. To be honest, I have no idea what I am doing concerning SNMP.
Are there other solutions, divices, other than Room Alert that would be easier to have Nagios monitor and alert on?
Are there other solutions, divices, other than Room Alert that would be easier to have Nagios monitor and alert on?
Last edited by dwhitfield on Tue Sep 19, 2017 12:02 pm, edited 1 time in total.
Reason: marking with green check mark
Reason: marking with green check mark
Everybody is somebody else’s weirdo
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Environmental Monitoring
I suspect a lot of these are going to use SNMP: https://exchange.nagios.org//directory/ ... ironmental
This is Linux, but perhaps it will shed some light on setting up SNMP for Room Alert: https://assets.nagios.com/downloads/nag ... g_SNMP.pdf
Are you having a specific problem with Room Alert?
This is Linux, but perhaps it will shed some light on setting up SNMP for Room Alert: https://assets.nagios.com/downloads/nag ... g_SNMP.pdf
Are you having a specific problem with Room Alert?
Re: Environmental Monitoring
the biggest issue I have with room Alert, is when I do a snmp walk on it...... I have no idea what the result are telling me.
We do have a system with software on it that gives a gui type interface that allows us to set various thresholds and alerts, but I would like to get Nagios to monitor it so that everythign is configured etc in one place.
for example I used solarwinds snmp walk program and it returned this info:
I have no idea what any of that it. The gui interface looks like:
We do have a system with software on it that gives a gui type interface that allows us to set various thresholds and alerts, but I would like to get Nagios to monitor it so that everythign is configured etc in one place.
for example I used solarwinds snmp walk program and it returned this info:
Code: Select all
.1.3.6.1.2.1.1.1.0 = STRING: "RA24 GE Room"
.1.3.6.1.2.1.1.2.0 = OID: 0.10.43.6.1.4.1
.1.3.6.1.2.1.1.3.0 = TIMETICKS: 269173449
.1.3.6.1.2.1.1.4.0 = STRING: ""
.1.3.6.1.2.1.1.5.0 = STRING: "A24 GE Room"
.1.3.6.1.2.1.1.6.0 = STRING: ""
.1.3.6.1.2.1.1.7.0 = INTEGER: 12
.1.3.6.1.2.1.2.1.0 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.2.1 = STRING: "Network"
.1.3.6.1.2.1.2.2.1.3.1 = INTEGER: 6
.1.3.6.1.2.1.2.2.1.4.1 = INTEGER: 1500
.1.3.6.1.2.1.2.2.1.5.1 = GAUGE32: 10000000
.1.3.6.1.2.1.2.2.1.6.1 = HEX-STRING: 00204ACEF696
.1.3.6.1.2.1.2.2.1.7.1 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.8.1 = INTEGER: 1
.1.3.6.1.2.1.2.2.1.9.1 = TIMETICKS: 0
.1.3.6.1.2.1.2.2.1.10.1 = COUNTER32: 412292738
.1.3.6.1.2.1.2.2.1.11.1 = COUNTER32: 5767435
.1.3.6.1.2.1.2.2.1.12.1 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.13.1 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.14.1 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.15.1 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.16.1 = COUNTER32: 978005887
.1.3.6.1.2.1.2.2.1.17.1 = COUNTER32: 3888209
.1.3.6.1.2.1.2.2.1.18.1 = COUNTER32: 19364
.1.3.6.1.2.1.2.2.1.19.1 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.20.1 = COUNTER32: 0
.1.3.6.1.2.1.2.2.1.21.1 = GAUGE32: 2
.1.3.6.1.2.1.2.2.1.22.1 = NULL:
.1.3.6.1.2.1.4.1.0 = INTEGER: 2
.1.3.6.1.2.1.4.2.0 = INTEGER: 31
.1.3.6.1.2.1.4.3.0 = COUNTER32: 5053826
.1.3.6.1.2.1.4.4.0 = INTEGER: 0
.1.3.6.1.2.1.4.5.0 = INTEGER: 0
.1.3.6.1.2.1.4.6.0 = COUNTER32: 0
.1.3.6.1.2.1.4.7.0 = COUNTER32: 0
.1.3.6.1.2.1.4.8.0 = INTEGER: 0
.1.3.6.1.2.1.4.9.0 = COUNTER32: 5053832
.1.3.6.1.2.1.4.10.0 = COUNTER32: 0
.1.3.6.1.2.1.4.11.0 = INTEGER: 0
.1.3.6.1.2.1.4.12.0 = INTEGER: 0
.1.3.6.1.2.1.4.13.0 = INTEGER: 0
.1.3.6.1.2.1.4.14.0 = INTEGER: 0
.1.3.6.1.2.1.4.15.0 = INTEGER: 0
.1.3.6.1.2.1.4.16.0 = INTEGER: 0
.1.3.6.1.2.1.4.17.0 = INTEGER: 0
.1.3.6.1.2.1.4.18.0 = INTEGER: 0
.1.3.6.1.2.1.4.19.0 = INTEGER: 0
.1.3.6.1.2.1.4.20.1.1.10.100.3.51 = IPADDRESS: 10.100.3.51
.1.3.6.1.2.1.4.20.1.2.10.100.3.51 = INTEGER: 1
.1.3.6.1.2.1.4.20.1.3.10.100.3.51 = IPADDRESS: 255.255.255.0
.1.3.6.1.2.1.4.20.1.4.10.100.3.51 = INTEGER: 1
.1.3.6.1.2.1.4.20.1.5.10.100.3.51 = INTEGER: 0
.1.3.6.1.2.1.5.1.0 = COUNTER32: 36
.1.3.6.1.2.1.5.2.0 = INTEGER: 0
.1.3.6.1.2.1.5.3.0 = COUNTER32: 0
.1.3.6.1.2.1.5.4.0 = COUNTER32: 0
.1.3.6.1.2.1.5.5.0 = COUNTER32: 0
.1.3.6.1.2.1.5.6.0 = COUNTER32: 0
.1.3.6.1.2.1.5.7.0 = COUNTER32: 0
.1.3.6.1.2.1.5.8.0 = COUNTER32: 36
.1.3.6.1.2.1.5.9.0 = COUNTER32: 0
.1.3.6.1.2.1.5.10.0 = COUNTER32: 0
.1.3.6.1.2.1.5.11.0 = INTEGER: 0
.1.3.6.1.2.1.5.12.0 = INTEGER: 0
.1.3.6.1.2.1.5.13.0 = INTEGER: 0
.1.3.6.1.2.1.5.14.0 = COUNTER32: 36
.1.3.6.1.2.1.5.15.0 = INTEGER: 0
.1.3.6.1.2.1.5.16.0 = COUNTER32: 0
.1.3.6.1.2.1.5.17.0 = INTEGER: 0
.1.3.6.1.2.1.5.18.0 = INTEGER: 0
.1.3.6.1.2.1.5.19.0 = INTEGER: 0
.1.3.6.1.2.1.5.20.0 = INTEGER: 0
.1.3.6.1.2.1.5.21.0 = INTEGER: 0
.1.3.6.1.2.1.5.22.0 = COUNTER32: 36
.1.3.6.1.2.1.5.23.0 = INTEGER: 0
.1.3.6.1.2.1.5.24.0 = INTEGER: 0
.1.3.6.1.2.1.5.25.0 = INTEGER: 0
.1.3.6.1.2.1.5.26.0 = INTEGER: 0
.1.3.6.1.2.1.7.1.0 = COUNTER32: 321
.1.3.6.1.2.1.7.2.0 = COUNTER32: 137585
.1.3.6.1.2.1.7.3.0 = COUNTER32: 769
.1.3.6.1.2.1.7.4.0 = COUNTER32: 481
.1.3.6.1.4.1.20916.1.5.1.1.1.1.0 = INTEGER: 68
.1.3.6.1.4.1.20916.1.5.1.1.1.2.0 = INTEGER: 20
.1.3.6.1.4.1.20916.1.5.1.1.2.1.0 = INTEGER: 24
.1.3.6.1.4.1.20916.1.5.1.1.3.1.0 = INTEGER: 68
.1.3.6.1.4.1.20916.1.5.1.1.3.2.0 = INTEGER: 20
.1.3.6.1.4.1.20916.1.5.1.2.5.1.0 = INTEGER: 21
.1.3.6.1.4.1.20916.1.5.1.2.5.2.0 = INTEGER: 70
.1.3.6.1.4.1.20916.1.5.1.3.1.0 = INTEGER: 1
.1.3.6.1.4.1.20916.1.5.1.3.2.0 = INTEGER: 0
.1.3.6.1.4.1.20916.1.5.1.3.3.0 = INTEGER: 0
.1.3.6.1.4.1.20916.1.5.1.3.4.0 = INTEGER: 0
.1.3.6.1.4.1.20916.1.5.1.3.5.0 = INTEGER: 0
.1.3.6.1.4.1.20916.1.5.1.3.6.0 = INTEGER: 0
.1.3.6.1.4.1.20916.1.5.1.3.7.0 = INTEGER: 0
.1.3.6.1.4.1.20916.1.5.1.3.8.0 = INTEGER: 0
.1.3.6.1.4.1.20916.1.5.1.3.9.0 = INTEGER: 0
.1.3.6.1.4.1.20916.1.5.1.3.10.0 = INTEGER: 0
.1.3.6.1.4.1.20916.1.5.1.3.11.0 = INTEGER: 0
.1.3.6.1.4.1.20916.1.5.1.3.12.0 = INTEGER: 0
.1.3.6.1.4.1.20916.1.5.1.3.13.0 = INTEGER: 1
.1.3.6.1.4.1.20916.1.5.1.3.14.0 = INTEGER: 0
.1.3.6.1.4.1.20916.1.5.1.3.15.0 = INTEGER: 0
.1.3.6.1.4.1.20916.1.5.1.3.16.0 = INTEGER: 0
.1.3.6.1.4.1.20916.1.5.2.1.0 = STRING: "High Temp Alarm Cleared On Sensor 'Room Temp'"
.1.3.6.1.4.1.20916.1.5.2.1.0 = NULL:
Code: Select all
[attachment=0]roomalert.jpg[/attachment]You do not have the required permissions to view the files attached to this post.
Everybody is somebody else’s weirdo
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Environmental Monitoring
I think you'll need to download the mib files. Brief instructions at https://avtech.com/articles/6724/find-r ... mib-files/
Re: Environmental Monitoring
I tried there, but they want money to give them. You would think that buying their product would be good enough.
But anyway, I did find the mibs elsewhere I have them uploaded into Nagios (ADmin/manage mibs/uploaded with the process trap box checked)
but that's it so far. what do I do next? I tried teh SNMP Trap part in teh config wizard, but it really doesn't give me any options to check anything.
But anyway, I did find the mibs elsewhere I have them uploaded into Nagios (ADmin/manage mibs/uploaded with the process trap box checked)
but that's it so far. what do I do next? I tried teh SNMP Trap part in teh config wizard, but it really doesn't give me any options to check anything.
Everybody is somebody else’s weirdo
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Environmental Monitoring
Does the snmpwalk give you anything new? You can also just run the walk from the XI command line (which we may need to do anyway if you start getting permissions errors, but we aren't there yet).
If SNMP doesn't work, you could try https://assets.nagios.com/downloads/nag ... ios-XI.pdf, but since you were able to get mibs, I bet we can get SNMP working.
If SNMP doesn't work, you could try https://assets.nagios.com/downloads/nag ... ios-XI.pdf, but since you were able to get mibs, I bet we can get SNMP working.
Re: Environmental Monitoring
snmp walk loots the same.
How does it know what mib to use when doing a walk?
In the mib to use column, it says IF-MIB
How does it know what mib to use when doing a walk?
In the mib to use column, it says IF-MIB
Everybody is somebody else’s weirdo
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Environmental Monitoring
You may need to change the version or the string (and you'll almost certainly need to change the RoomAlertHost to the actual host name), but can you run the following from the XI command line and put the output in a code block? If it's too large for a code block, or you can't scroll back enough to get the output, just pipe the output to a file and attach the file.
snmpwalk -mALL -v1 -cpublic RoomAlertHost
snmpwalk -mALL -v1 -cpublic RoomAlertHost
Re: Environmental Monitoring
output
Code: Select all
[root@G1VPNAG03 tmp]# snmpwalk -mALL -v1 -c public 10.100.3.51
SNMPv2-MIB::sysDescr.0 = STRING: RA24 GE Room
SNMPv2-MIB::sysObjectID.0 = OID: ccitt.10.43.6.1.4.1
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (276926612) 32 days, 1:14:26.12
SNMPv2-MIB::sysContact.0 = STRING:
SNMPv2-MIB::sysName.0 = STRING: A24 GE Room
SNMPv2-MIB::sysLocation.0 = STRING:
SNMPv2-MIB::sysServices.0 = INTEGER: 12
IF-MIB::ifNumber.0 = INTEGER: 1
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifDescr.1 = STRING: Network
IF-MIB::ifType.1 = INTEGER: ethernetCsmacd(6)
IF-MIB::ifMtu.1 = INTEGER: 1500
IF-MIB::ifSpeed.1 = Gauge32: 10000000
IF-MIB::ifPhysAddress.1 = STRING: 0:20:4a:ce:f6:96
IF-MIB::ifAdminStatus.1 = INTEGER: up(1)
IF-MIB::ifOperStatus.1 = INTEGER: up(1)
IF-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00
IF-MIB::ifInOctets.1 = Counter32: 424902440
IF-MIB::ifInUcastPkts.1 = Counter32: 5942767
IF-MIB::ifInNUcastPkts.1 = Counter32: 0
IF-MIB::ifInDiscards.1 = Counter32: 0
IF-MIB::ifInErrors.1 = Counter32: 0
IF-MIB::ifInUnknownProtos.1 = Counter32: 0
IF-MIB::ifOutOctets.1 = Counter32: 1007975239
IF-MIB::ifOutUcastPkts.1 = Counter32: 4008104
IF-MIB::ifOutNUcastPkts.1 = Counter32: 19921
IF-MIB::ifOutDiscards.1 = Counter32: 0
IF-MIB::ifOutErrors.1 = Counter32: 0
IF-MIB::ifOutQLen.1 = Gauge32: 2
IF-MIB::ifSpecific.1 = Wrong Type (should be OBJECT IDENTIFIER): NULL
IP-MIB::ipForwarding.0 = INTEGER: notForwarding(2)
IP-MIB::ipDefaultTTL.0 = INTEGER: 31
IP-MIB::ipInReceives.0 = Counter32: 5209041
IP-MIB::ipInHdrErrors.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::ipInAddrErrors.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::ipForwDatagrams.0 = Counter32: 0
IP-MIB::ipInUnknownProtos.0 = Counter32: 0
IP-MIB::ipInDiscards.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::ipInDelivers.0 = Counter32: 5209047
IP-MIB::ipOutRequests.0 = Counter32: 0
IP-MIB::ipOutDiscards.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::ipOutNoRoutes.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::ipReasmTimeout.0 = INTEGER: 0 seconds
IP-MIB::ipReasmReqds.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::ipReasmOKs.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::ipReasmFails.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::ipFragOKs.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::ipFragFails.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::ipFragCreates.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::ipAdEntAddr.10.100.3.51 = IpAddress: 10.100.3.51
IP-MIB::ipAdEntIfIndex.10.100.3.51 = INTEGER: 1
IP-MIB::ipAdEntNetMask.10.100.3.51 = IpAddress: 255.255.255.0
IP-MIB::ipAdEntBcastAddr.10.100.3.51 = INTEGER: 1
IP-MIB::ipAdEntReasmMaxSize.10.100.3.51 = INTEGER: 0
IP-MIB::icmpInMsgs.0 = Counter32: 1286
IP-MIB::icmpInErrors.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::icmpInDestUnreachs.0 = Counter32: 0
IP-MIB::icmpInTimeExcds.0 = Counter32: 0
IP-MIB::icmpInParmProbs.0 = Counter32: 0
IP-MIB::icmpInSrcQuenchs.0 = Counter32: 0
IP-MIB::icmpInRedirects.0 = Counter32: 0
IP-MIB::icmpInEchos.0 = Counter32: 1286
IP-MIB::icmpInEchoReps.0 = Counter32: 0
IP-MIB::icmpInTimestamps.0 = Counter32: 0
IP-MIB::icmpInTimestampReps.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::icmpInAddrMasks.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::icmpInAddrMaskReps.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::icmpOutMsgs.0 = Counter32: 1286
IP-MIB::icmpOutErrors.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::icmpOutDestUnreachs.0 = Counter32: 0
IP-MIB::icmpOutTimeExcds.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::icmpOutParmProbs.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::icmpOutSrcQuenchs.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::icmpOutRedirects.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::icmpOutEchos.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::icmpOutEchoReps.0 = Counter32: 1286
IP-MIB::icmpOutTimestamps.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::icmpOutTimestampReps.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::icmpOutAddrMasks.0 = Wrong Type (should be Counter32): INTEGER: 0
IP-MIB::icmpOutAddrMaskReps.0 = Wrong Type (should be Counter32): INTEGER: 0
UDP-MIB::udpInDatagrams.0 = Counter32: 876
UDP-MIB::udpNoPorts.0 = Counter32: 141511
UDP-MIB::udpInErrors.0 = Counter32: 769
UDP-MIB::udpOutDatagrams.0 = Counter32: 1034
Everybody is somebody else’s weirdo
Re: Environmental Monitoring
Here you go, I found the MIB for the 24E model but you may need to download others if they are different, please do this:
That's will list what is available but you could also run this one after running the commands above (the MIB file needs to be in /usr/share/snmp/mibs for this to work, it should translate them):
You can find others here, please search for ROOMALERT on the page:
Code: Select all
cd /usr/share/snmp/mibs
wget http://www.circitor.fr/Mibs/Mib/R/ROOMALERT24E-MIB.mib
snmptranslate -Tz -m /usr/share/snmp/mibs/ROOMALERT24E-MIBCode: Select all
snmpwalk -v 2c -c snmpcommunity X.X.X.X:161Code: Select all
http://www.circitor.fr/Mibs/Mibs.php