From af2159474abaac5fe7a5c758a3daddccf0269c28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kamil=20Porembi=C5=84ski?= <kamil@thecamels.org>
Date: Sat, 22 Nov 2014 22:18:54 +0100
Subject: [PATCH] Added missing Value Mapping for OMSA and NetApp

---
 README.md | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 113 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index f31bdc2..ac77943 100644
--- a/README.md
+++ b/README.md
@@ -48,7 +48,107 @@ network interfaces.
 
 Template Device NetApp
 ======
-Monitoring of NetApp dedicated NAS disk arrays. It uses SNMP items to monitor basic device parameters (CPU/RAM usage, disk status, hardware failure, global traffic) and also it discovers snap mirrors volumens (more discovery rules in the future)
+Monitoring of NetApp dedicated NAS disk arrays. It uses SNMP items to monitor basic device parameters (CPU/RAM usage, disk status, hardware failure, global traffic) and also it discovers snap mirrors volumens (more discovery rules in the future). It requires manual addition of value mappings (Administration -> General -> Value Mapping)
+
+```
+NetAppcfInterconnectStatus
+1 - not present
+2 - down
+3 - not present
+4 - up
+
+NetAppcfPartnerStatus
+1 - maybe down
+2 - ok
+3 - dead
+
+NetAppCfSetting
+1 - not configured
+2 - enabled
+3 - disabled
+4 - takeover by partner disabled
+5 - dead
+
+NetAppCfState
+1 - dead
+2 - can takeover
+3 - cannot takeover
+4 - takeover
+
+NetAppFcpTgtStatus
+1 - startup
+2 - uninitialized
+3 - initializingFW
+4 - linkNotConnected
+5 - waitingForLinkUp
+6 - online
+7 - linkDisconnected
+8 - resetting
+9 - offline
+10 - offlinedByUserSystem
+11 - unknown
+
+NetAppFsStatus
+1 - ok
+2 - nearlyFull
+3 - full
+
+NetAppGlobalStatus
+1 - other
+2 - unknown
+3 - ok
+4 - non critical
+5 - critical
+6 - non recoverable
+
+NetAppLunOnline
+1 - false
+2 - true
+
+NetAppNvramBatteryStatus
+1 - ok
+2 - partially discharged
+3 - fully discharged
+4 - not present
+5 - near end of life
+6 - at end of life
+7 - unknown
+8 - overcharged
+
+NetAppOverTemp
+1 - no
+2 - yes
+
+NetAppRaidStatus
+1 - active
+2 - reconstructionInProgress
+3 - parityReconstructionInProgress
+4 - parityVerificationInProgress
+5 - scrubbingInProgress
+6 - failed
+7 - addingSpare
+8 - spare
+9 - prefailed
+10 - offline
+
+NetAppSpareStatus
+1 - spare
+2 - addingspare
+3 - bypassed
+4 - unknown
+5 - offline
+
+NetAppVolStatus
+1 - unmounted
+2 - mounted
+3 - frozen
+4 - destroying
+5 - creating
+6 - mounting
+7 - unmounting
+8 - nofsinfo
+9 - replaying
+```
 
 Template Device SNMP Generic
 ======
@@ -60,8 +160,18 @@ This template is used to collect data for automatic host inventory (architecture
 
 Template OMSA
 ======
-Collects data from OpenManage Server Administrator (OMSA) tool for Dell Servers. It monitors hardware components such as chassis, disks, power supplies, fans and other
+Collects data from OpenManage Server Administrator (OMSA) tool for Dell Servers. It monitors hardware components such as chassis, disks, power supplies, fans and other. It requires manual addition of value mappings (Administration -> General -> Value Mapping)
+
+```
+Dell Open Manage System Status
+1 - Other
+2 - Unknown
+3 - OK
+4 - NonCritical
+5 - Critical
+6 - NonRecoverable
+```
 
 Template Security
 ======
-Contains items related with basic linux security (iptables status, selinux status) and Fail2ban application
\ No newline at end of file
+Contains items related with basic linux security (iptables status, selinux status) and Fail2ban application
-- 
GitLab