Showing posts with label snmp. Show all posts
Showing posts with label snmp. Show all posts

Thursday, March 26, 2009

APC UPS Monitoring using SNMP

I just finished configuring IPSentry to monitor our APC UPS (via SNMP).

Currently, IPSentry will send email alerts to us when the UPS batteries need replacing, etc. But if the main power is out and the battery run time remaining is under certain threshold, it will send us alerts to our cell phones instead. We also tested using it to call a script which automate the shutdown of our servers and it works. We may decide to implement it eventually, but I feel we need more observations to verify the reliability of the monitoring before doing so (since that script is so powerful and any false alarm can cause our entire shop to be shutdown).

Anyway, here are the OIDs we are now monitoring:

OIDDescription
Date Type
.1.3.6.1.4.1.318.1.1.1.2.1.2
The elapsed time since the UPS has switched to battery power.timeticks
n mins = n*6000 timeticks
.1.3.6.1.4.1.318.1.1.1.2.2.1The remaining battery capacity expressed in percent of full capacity.gauge
.1.3.6.1.4.1.318.1.1.1.2.2.2The current internal UPS temperature expressed in Celsius.gauge
.1.3.6.1.4.1.318.1.1.1.2.2.3
The UPS battery run time remaining before battery exhaustion.
timeticks
n mins = n*6000 timeticks
.1.3.6.1.4.1.318.1.1.1.2.2.4
Indicates whether the UPS batteries need replacing.
integer
noBatteryNeedsReplacing (1)
batteryNeedsReplacing (2)


Thursday, April 17, 2008

Juniper NetScreen Firewalls Monitoring using SNMP

I just finished configuring MRTG to generate graphs of the CPU usage and the number of active sessions of our Juniper NetScreen Firewalls (via SNMP). Here are the OIDs I find useful:

OIDDescription
Date Type
.1.3.6.1.4.1.3224.16.1.1
Average System CPU utilization in percentage.integer
.1.3.6.1.4.1.3224.16.1.2Last one minute CPU utilization in percentage.integer
.1.3.6.1.4.1.3224.16.1.3Last five minutes CPU utilization in percentage.integer
.1.3.6.1.4.1.3224.16.1.4
Last fifteen minutes CPU utilization in percentage.
integer
.1.3.6.1.4.1.3224.16.2.1
Memory allocated.
integer
.1.3.6.1.4.1.3224.16.2.2
Memory left.
integer
.1.3.6.1.4.1.3224.16.3.2
Allocate session number.
integer