Difference between revisions of "BXadmin:FMD over SNMP"
From CCGB
(Created page with 'Add this to /etc/sma/snmp/snmpd.conf : <pre>dlmod sunFM /usr/lib/fm/libfmd_snmp.so.1 dlmod sunFM /usr/lib/fm/amd64/libfmd_snmp.so.1</pre> Then use kaylee:/opt/csw/nagios/etc/che…') |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | '''NOTE:''' This has been added to the cfengine app_snmp config. | ||
+ | |||
Add this to /etc/sma/snmp/snmpd.conf : | Add this to /etc/sma/snmp/snmpd.conf : | ||
<pre>dlmod sunFM /usr/lib/fm/libfmd_snmp.so.1 | <pre>dlmod sunFM /usr/lib/fm/libfmd_snmp.so.1 | ||
dlmod sunFM /usr/lib/fm/amd64/libfmd_snmp.so.1</pre> | dlmod sunFM /usr/lib/fm/amd64/libfmd_snmp.so.1</pre> | ||
− | + | <pre>svcadm enable sma</pre> | |
+ | |||
+ | To add it to nagios, use a definition like this: | ||
+ | <pre>define service{ | ||
+ | use generic-service | ||
+ | host_name <host_name> | ||
+ | service_description fmd | ||
+ | check_command check_fmd_snmp | ||
+ | }</pre> |
Latest revision as of 17:30, 2 March 2011
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 }