Monitoring using SNMP polling
Posted: Fri May 31, 2019 9:30 am
We have installed SNMPv3 on an AIX server. I was able to use the SNMP Wizard to code a host and a CPU service. Here are the configs with proprietary info redacted...
Hosts configuration
define host {
host_name REMOTESERVER
use xiwizard_genericnetdevice_host
address REMOTESVRIP
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
contacts NAGIOSADMIN
notification_interval 60
notification_period xi_timeperiod_24x7
icon_image snmp.png
statusmap_image snmp.png
_xiwizard snmp
register 1
}
Services configuration
define service {
host_name REMOTESERVER
service_description CPU Utilization
use xiwizard_snmp_service
check_command check_xi_service_snmp! -o 1.3.6.1.4.1.2.6.191.1.2.1.0 -P 3 --seclevel=authPriv --secname=USER --authproto=md5 --authpasswd='AUTHPASSWORD' --privpasswd='PRIVPASSWORD' --privproto=des -l "CPU"!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts NAGIOSADMIN
_xiwizard snmp
register 1
}
However, we now want to add numerous other services: disk utilization for about 10 different file systems, page usage, etc.
I can get the OID's but would prefer using a MIB. Not sure how to do this.
But, I can't find any decent step-by-step instructions on how to code a new service using SNMP.
Can you point me to a youtube or PDF that has such information for customized monitoring using SNMP?
Hosts configuration
define host {
host_name REMOTESERVER
use xiwizard_genericnetdevice_host
address REMOTESVRIP
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
contacts NAGIOSADMIN
notification_interval 60
notification_period xi_timeperiod_24x7
icon_image snmp.png
statusmap_image snmp.png
_xiwizard snmp
register 1
}
Services configuration
define service {
host_name REMOTESERVER
service_description CPU Utilization
use xiwizard_snmp_service
check_command check_xi_service_snmp! -o 1.3.6.1.4.1.2.6.191.1.2.1.0 -P 3 --seclevel=authPriv --secname=USER --authproto=md5 --authpasswd='AUTHPASSWORD' --privpasswd='PRIVPASSWORD' --privproto=des -l "CPU"!!!!!!!
max_check_attempts 5
check_interval 5
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
notification_period xi_timeperiod_24x7
contacts NAGIOSADMIN
_xiwizard snmp
register 1
}
However, we now want to add numerous other services: disk utilization for about 10 different file systems, page usage, etc.
I can get the OID's but would prefer using a MIB. Not sure how to do this.
But, I can't find any decent step-by-step instructions on how to code a new service using SNMP.
Can you point me to a youtube or PDF that has such information for customized monitoring using SNMP?