BXadmin:FMD over SNMP

From CCGB
Jump to: navigation, search

NOTE: This has been added to the cfengine app_snmp config.

Add this to /etc/sma/snmp/snmpd.conf :

dlmod sunFM /usr/lib/fm/libfmd_snmp.so.1
dlmod sunFM /usr/lib/fm/amd64/libfmd_snmp.so.1
svcadm enable sma

To add it to nagios, use a definition like this:

define service{
        use                             generic-service
        host_name                       <host_name>
        service_description             fmd
        check_command                   check_fmd_snmp
}