Difference between revisions of "BXadmin:FMD over SNMP"

From CCGB
Jump to: navigation, search
 
(One intermediate revision 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
Line 5: Line 7:
 
<pre>svcadm enable sma</pre>
 
<pre>svcadm enable sma</pre>
  
Then use kaylee:/opt/csw/nagios/etc/checks.d/check_fmd_snmp.sh
+
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 18: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
}