Page 2 of 2

Re: Trying to monitor Eaton 9355 UPS

Posted: Tue Sep 10, 2019 3:46 pm
by cdienger
I'm not sure why it wouldn't show the name of the OID, but you can use a mib browser to find out what they're for. See attached. Are names returned when you try running the walk from the command line:

Code: Select all

snmpwalk -v2c -c public -m /usr/share/snmp/mibs/<MIB-NAME> <Eaton_IP>
or

Code: Select all

snmpwalk -m +ALL -v 2c -c public <EATON_IP> .1.3.6.1.2.1.33
?

Re: Trying to monitor Eaton 9355 UPS

Posted: Wed Sep 11, 2019 2:51 pm
by snapon_admin
Running the walk from CLI gives me the attached results (saved as notepad doc as it was too many characters).
snmpwalk.txt

Re: Trying to monitor Eaton 9355 UPS

Posted: Thu Sep 12, 2019 2:20 pm
by cdienger
The output seems cut off and different from what is in the gui. Was that the complete output?

That said, the command should be the same or close enough to what the wizard produces. The wizard creates a temp file under /usr/local/nagiosxi/tmp/snmpwalk--<IP>. Make sure the SNMP Walk wizard is up today(2.0) under Admin > System Extensions > Manage Config Wizards, run it again, and check the file. If it is a large file, it may be too large for the php limits and need to be increased per https://support.nagios.com/kb/article/n ... e-611.html

Re: Trying to monitor Eaton 9355 UPS

Posted: Fri Sep 13, 2019 2:11 pm
by Envera IT
Below is what we use for out Eaton 9390. I'm pretty sure they all take the same cards. Notice I'm not specifying the actual eaton MIB correctly so you could play with that to get a better output but this does work well for us overall.

Code: Select all

define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      AlarmsPresent
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.6.1.0 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -m SNMPv2-SMI
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      BatteryCurrent
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.2.6.0 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -l "Current" -u "current" -m SNMPv2-SMI
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      BatteryVoltage
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.2.5.0 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -l "Voltage" -u "volts" -m SNMPv2-SMI
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      BypassFrequency
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.5.1.0 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -m SNMPv2-SMI
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      BypassVoltage1
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.5.3.1.2.1 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -m SNMPv2-SMI
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      BypassVoltage2
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.5.3.1.2.2 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -m SNMPv2-SMI
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      BypassVoltage3
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.5.3.1.2.3 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -m SNMPv2-SMI
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      EstimatedChargeRemaining
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.2.4.0 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -l "Charge Rem" -m SNMPv2-SMI!!!!!!!
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      EstimatedMinutesRemaining
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.2.3.0 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -l "Minutes" -m SNMPv2-SMI!!!!!!!
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      InputFrequency1
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.3.3.1.2.1 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -l "in-frequency1" -m SNMPv2-SMI!!!!!!!
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      InputFrequency2
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.3.3.1.2.2 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -l "in-frequency2" -m SNMPv2-SMI!!!!!!!
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      InputFrequency3
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.3.3.1.2.3 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -l "in-frequency3" -m SNMPv2-SMI!!!!!!!
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      InputVoltage1
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.3.3.1.3.1 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -l "in-voltage1" -m SNMPv2-SMI!!!!!!!
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      InputVoltage2
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.3.3.1.3.2 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -l "in-voltage1" -m SNMPv2-SMI!!!!!!!
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      InputVoltage3
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.3.3.1.3.3 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -l "in-voltage1" -m SNMPv2-SMI!!!!!!!
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      OutputCurrent1
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.4.4.1.3.1 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -m SNMPv2-SMI
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      OutputCurrent2
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.4.4.1.3.2 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -m SNMPv2-SMI
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      OutputCurrent3
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.4.4.1.3.3 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -m SNMPv2-SMI
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      OutputPercentLoad
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.4.4.1.5.1 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -m SNMPv2-SMI
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      OutputPower1
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.4.4.1.4.1 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -m SNMPv2-SMI
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      OutputPower2
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.4.4.1.4.2 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -m SNMPv2-SMI
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      OutputPower3
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.4.4.1.4.3 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -m SNMPv2-SMI
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      OutputVoltage1
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.4.4.1.2.1 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -m SNMPv2-SMI
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      OutputVoltage2
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.4.4.1.2.2 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -m SNMPv2-SMI
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      OutputVoltage3
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.4.4.1.2.3 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -m SNMPv2-SMI
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}
 
define service {
    host_name                redacted-Eaton-9390-UPS
    service_description      SecondsOnBattery
    use                      xiwizard_snmp_service
    check_command            check_xi_service_snmp! -p 161 -o mib-2.33.1.2.2.0 -P 3 --seclevel=authNoPriv --secname=user --authproto=SHA --authpasswd='redacted' -x aes -l "Seconds" -u "sec" -m SNMPv2-SMI -w 30 -c 300
    max_check_attempts       5
    check_interval           1
    retry_interval           1
    check_period             xi_timeperiod_24x7
    notification_interval    60
    notification_period      xi_timeperiod_24x7
    notifications_enabled    0
    contacts                 redacted
    _xiwizard                snmpwalk
    register                 1
}

Re: Trying to monitor Eaton 9355 UPS

Posted: Fri Sep 13, 2019 3:54 pm
by cdienger
Thanks for the input, @Ehamby!