Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_snmp_sunfm

Rating
2 votes
Favoured:
0
Current Version
1.1
Last Release Date
2010-09-29
Compatible With
  • Nagios 2.x
Owner
Hits
91100
Files:
FileDescription
check_snmp_sunfmcheck_snmp_sunfm
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Check solaris Fault Manager data via snmp.

Particularly useful for indicating ZFS filesystem problems. Reports all errors that 'fmadm' command line tool reports, but via snmp.
usage: check_snmp_sunfm -H hostname -C community

Reports number of errors, and event IDs if any exist.

# credit to Nico for script check_snmp_fmdpl.gz
#
# Changes by Scott:
# -use Nagios::Plugin instead of deprecated utils.pm
# -add community string as option
# -use ResourceCount oid to signal there are errors,
# add various failure to get data checks. This
# avoids false "OK" reports on errors
#

Be aware, if you have not run fault manager old errors that have been cleared may be reported.

On host to monitor configure and enable sma:

1) configure sma (for snmp)

/etc/sma/snmp/snmpd.conf -change public to your community string

ASSUMING amd64 (change if not!) - add this to end of file:
dlmod sunFM /usr/lib/fm/amd64/libfmd_snmp.so.1

2) svcadm enable sma
Reviews (1)
Seems to report fmadm problems, but more details of the problem would be nice.

For Sparc Solaris 10 add the following to snmpd.conf
dlmod sunFM /usr/lib/fm/sparcv9/libfmd_snmp.so