BXadmin:FMD over SNMP

From CCGB
Revision as of 17:30, 2 March 2011 by Phalenor (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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
}