Hitachi Energy
Smtool Configuration
Several parameters defining the operation of smtool can be configured in the file “/opt/nem/etc/smtool.cfg”:
The configuration file contains the necessary help information.
#!/bin/bash
#
# This is the configuration file for the System Monitoring tool
#
# Change history :
#
# 05.06.2014 NEM R9C version
 
# These are the severity options for alarms
#
# LEVEL Severity           CHECK
# 0 Critical 0 OFF
# 1 Major 1 ON
# 2 Minor
# 3 Warning
# 4 Indeterminate
#
 
# Enable/disable checks
# SNMP
CHECK_SNMP=0
LEVEL_SNMP=3
 
# Exclude given ip addresses from check
# <ip1>,<ip2>,<ip3>
PPP_EXCLUDE="10.2.2.3,10.3.2.1"
 
# Filesystems to check
# <mountpoint_of_filesystem_1>:<percentage_1>,<mountpoint_of_filesystem_2>:<percentage_2>
# e.g. "/var:90,/opt:85"
 
# In the example above, a system alarm is raised,
# when /var exceeds 90% and/or /opt exceeds 85%
#
# There will be a notification if the filesystem does not exist
CHECK_DISKS="/:90"
LEVEL_DISKS=2
 
Default settings in smtool.cfg are
No SNMP check
Disk check
90 % for / (root)
80 % for /opt partition