Translations of this page:

Osmius

Osmius agent for NetApp www.majentaonline.co.uk_media_gbu0_prodsm_network_appliance_netapp_fas2050.jpg
Agent name: osm_ag_NETAPP01 Agent code: NETAPP01
Subject: User manual for the Osmius NetApp file server agent
Date: 14/04/2010 Revision date: 16/04/2010

General Information

This agent can monitor several parameters of networked file server from NetApp such as hardware elements (disks, fans, power supplies, RAM batteries, CPU Load or temperature problems) and storage capacity and behaviour (RAID volumes, used level in filesystems). It is recommended to test this agente before using it in production environments.

The NetApp Osmius Agent has been developed using functionalities and enhancements of the Osmius framework and ACE libraries, so it is necessary to install the ACE libraries for the proper deployment and operation of agente. See chapter: installation.

NETAPP01 agent provides up to 35 basic events and 23 “trap events ” with customizable parameters to allow better level of scalability and configuration.

In this agent all the provided events are non-intrusive events, remote events, so they can be retrieved from the network outside of the Instance being monitored. Events are build upon SNMP protocol version 1.

Instance NetApp

As a general rule each Osmius agent can monitor one instance type. If you are not familiar with these concepts check out the glossary. Each instance is individually defined in the configuration file (if you want further information go to agents and instances); depending on agent type is the instance type and depending on instance is the connection info.

CONNECTION_INFO

The connection information or connection_info is data that the agent needs to know to connect to the instance. (See more about the connection_info)

In the particular case of NetApp agent the CONNECTION_INFO field has no information needs as it uses the generic SNMP fields like Nodename, read community and snmp port.

CONNECTION_INFO= 

TYPE

The type defines the instance type to be monitored. Every declared instance must be associated with a type as you can see here

For NetApp devices:

TYPE = NETAPP01

Event Summary Table

Here is briefly the capabilities of this agent, further down on this page each event is described in more detail.

EVENT DESCRIPTION c w a tseconds Extra parameters / Remarks
NASYSDES System Description (SNMP) 1 0 0 86400 Silent mode ( -s) recommmended
NASYSCON Contact Info 1 0 0 3600 Silent mode ( -s) recommmended
NASYSLOC System Location 1 0 0 3600 Silent mode ( -s) recommmended
NASYSNAM System Name (SNMP) 1 0 0 3600 Silent mode ( -s) recommmended
NASYSUPT System Uptime in timeticks 1 600 300 300
NAPMODEL Product Model 1 0 0 86400 Informational event
NAVERSIN Product Version 1 0 0 86400 Informational event
NAPFIRMW Firmware Version 1 0 0 86400 Informational event
NASYSTID System Id 1 0 0 86400 Informational event
NAGUIURL GUI Url for admin purposes 1 0 0 86400 Informational event
NASERNUM Serial Number 1 0 0 86400 Informational event
NAMACTYP Machine Type1 0 0 86400 Informational event
NANUMCPU CPU count 1 0 0 86400 Informational event
NANUMNIF Total NetWork interfaces1 0 0 86400 Informational event
NAENCLOS Enclosure 1 0 0 86400 Informational event
NANUMVOL Number of vRAID volumes 0 999 999 86400 Parámetro interesante para previsión de capacidad o “capacity planning”
NANUMDSK Total number of Disks 1 2 1 86400 Informational event
NAPREDSK Number of Disks in prefailed state 0 1 2 600 Silent mode ( -s) recommmended
NAFAIDSK Number of broken Disks 0 1 1 300 Silent mode ( -s) recommmended
NAUPTIME Uptime in 1/100 seconds 1 12000 6000 600 Silent mode ( -s) recommmended
NAPRCCPU CPU load percentage 0 80 90 600 Parámetro interesante para previsión de capacidad o “capacity planning”
NAPRCCPU Global Staus 1-Other 2-Unknown 3-Ok 4-Not Critical 5-Critican 6-Non Recoverable0 4 5 600 Silent mode ( -s) recommmended
NAKBSREC Received Kbytes 0 99999 99999 600 Parámetro interesante para previsión de capacidad o “capacity planning”
NAKBSSNT Sent Kbytes 0 99999 99999 600 Parámetro interesante para previsión de capacidad o “capacity planning”
NAOVRTMP Over Temperature 0 2 2 300 Silent mode ( -s) recommmended
NAFAIFAN Number of failed fans 0 1 2 600 Silent mode ( -s) recommmended
NAFAIPWR Number of failed power supplies 0 1 2 300 Silent mode ( -s) recommmended
NARAMBAT Problems in the vRAM battery 0 2 2 600 Silent mode ( -s) recommmended
NANFSCAL NFS calls 0 99999 99999 3600 Parámetro interesante para previsión de capacidad o “capacity planning”
NANFSREJ Fejected NFS calls 0 99 999 600 Parámetro interesante para previsión de capacidad o “capacity planning”
NAFSSTAT Filesystem status 1-Ok 2-Nearly full 3-Full0 2 3 300 Silent mode ( -s) recommmended
NAFSPFUL Most full FS used percentage0 85 90 600 Parámetro interesante para previsión de capacidad o “capacity planning”
NAFSPTXT Most full FS name 1 0 0 300 Informational event
NAFSPFUL Most full inodes FS used percentage0 85 90 600 Parámetro interesante para previsión de capacidad o “capacity planning”
NAUSER01 a NAUSER10 Get the SNMP values for the proposed parameters 1 0 0 600 Silent mode ( -s) recommmended
You can define from ANUSER01 hasta ANUSER10 (10 events)
-O oid -N override_nodename -K ovr_community -P ovr_port -V 2

NetApp Events

NASYSDES

NASYSDES eturns system description in the event associated text.

Return values:

VALUE MEANING
1 Error
0 Ok

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval Once a day
Warning threshold 0
Alert threshold 0

Parameter setting example:

NASYSDES = -t 86400 -c 1 -w 0 -a 0 -T "System Description"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NASYSCON

NASYSCOM returns the system contact info in the event associated text.

Return values:

VALUE MEANING
1 Error
0 Ok

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval Once a day
Warning threshold 0
Alert threshold 0

Parameter setting example:

NASYSCON = -t 86400 -c 1 -w 0 -a 0 -T "Contact"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NASYSLOC

NASYSLOC returns the system location info in the event associated text.

Return values:

VALUE MEANING
1 Error
0 Ok

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval Once a day
Warning threshold 0
Alert threshold 0

Parameter setting example:

NASYSLOC = -t 86400 -c 1 -w 0 -a 0 -T "System Location"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NASYSNAM

NASYSNAM returns the system name in the event associated text.

Return values:

VALUE MEANING
1 Error
0 Ok

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval Once a day
Warning threshold 0
Alert threshold 0

Parameter setting example:

NASYSDES = -t 86400 -c 1 -w 0 -a 0 -T "System Description"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NASYSUPT

NASYSUPT event returns the number of ticks since the system was last time started up. See also NAUPTIME.

Return values:

VALUE MEANING
-1 Error
X Timeticks

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval 300 seconds – 1 hour –> depends on instance importance
Warning threshold 600 seconds. Consult on administrator
Alert threshold 300 seconds. Consult on administrator

Parameter setting example:

NASYSUPT = -t 3600 -c 1 -w 600 -a 300 -T "System Uptime"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAPMODEL

NAPMODEL returns the system model in the associated text.

Return values:

VALUE MEANING
-1 Error
0 Ok

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval Once a day
Warning threshold 0
Alert threshold 0

Parameter setting example:

NAPMODEL = -t 86400 -c 1 -w 0 -a 0 -T "Product Model"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAVERSIN

NAVERSIN returns the product version in the associated text.

Return values:

VALUE MEANING
-1 Error
0 Ok

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval Once a day
Warning threshold 0
Alert threshold 0

Parameter setting example:

NAVERSIN = -t 86400 -c 1 -w 0 -a 0 -T "Product Version"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAPFIRMW

NAPFIRMW returns the firmware version in the associated text.

Return values:

VALUE MEANING
-1 Error
0 Ok

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval Once a day
Warning threshold 0
Alert threshold 0

Parameter setting example:

NAPFIRMW = -t 86400 -c 1 -w 0 -a 0 -T "Firmware Version"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NASYSTID

NASYSTID returns the system Id in the associated text.

Return values:

VALUE MEANING
-1 Error
0 Ok

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval Once a day
Warning threshold 0
Alert threshold 0

Parameter setting example:

NASYSTID = -t 86400 -c 1 -w 0 -a 0 -T "System Id"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAGUIURL

NAGUIURL returns the url wit the NetApp device administration GUI in the associated text.

Return values:

VALUE MEANING
-1 Error
0 Ok

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval Once a day
Warning threshold 0
Alert threshold 0

Parameter setting example:

NAGUIURL = -t 86400 -c 1 -w 0 -a 0 -T "GUI url"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NASERNUM

NASERNUM returns the system serial number in the associated text.

Return values:

VALUE MEANING
-1 Error
0 Ok

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval Once a day
Warning threshold 0
Alert threshold 0

Parameter setting example:

NASERNUM = -t 86400 -c 1 -w 0 -a 0 -T "Serial Number"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAMACTYP

NAMACTYP returns the machine type in the associated text.

Return values:

VALUE MEANING
-1 Error
0 Ok

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval Once a day
Warning threshold 0
Alert threshold 0

Parameter setting example:

NAMACTYP = -t 86400 -c 1 -w 0 -a 0 -T "Machine Type"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NANUMCPU

NANUMCPU returns the total number of cpus in the NetApp server.

Return values:

VALUE MEANING
-1 Error
N CPUs

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval Once a day
Warning threshold 0
Alert threshold 0

Parameter setting example:

NANUMCPU = -t 86400 -c 1 -w 0 -a 0 -T "CPU Count"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NANUMNIF

NANUMNIF returns the total number of network interfaces in the NetApp Server.

Return values:

VALUE MEANING
-1 Error
N Interfaces

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval Once a day
Warning threshold 0
Alert threshold 0

Parameter setting example:

NANUMNIF = -t 86400 -c 1 -w 0 -a 0 -T "Network Interfaces count"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAENCLOSE

NAENCLOSE returns the enclosure name of the system in the associated text.

Return values:

VALUE MEANING
-1 Error
0 Ok

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval Once a day
Warning threshold 0
Alert threshold 0

Parameter setting example:

NAENCLOSE = -t 86400 -c 1 -w 0 -a 0 -T "Encloser"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NANUMVOL

NANUMVOL returns the total number of vRAID volumes created into the NetApp Server.

Return values:

VALUE MEANING
-1 Error
X Vols

Recommended parameters:

Comparison type Direct. The higher value the higher severity (-c 0)
Monitoring interval Once a day
Warning threshold 999
Alert threshold 999

Parameter setting example:

NANUMVOL = -t 86400 -c 0 -w 999 -a 999 -T "Number of Raid Volumes"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NANUMSPA

NANUMSPA returns the number os spare disks in the NetApp Server.

Return values:

VALUE MEANING
-1 Error
N Disks

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval Once a day
Warning threshold 0
Alert threshold 0

Parameter setting example:

NANUMSPA = -t 86400 -c 1 -w 0 -a 0 -T "Number of Spare Disks"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NANUMDSK

NANUMDSK returns the total number of disks installed in the NetApp Server.

Return values:

VALUE MEANING
-1 Error
N Disks

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval Once a day
Warning threshold 2
Alert threshold 1

Parameter setting example:

NANUMDSK = -t 86400 -c 1 -w 2 -a 01 -T "Total Disks"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAPREDSK

NAPREDSK returns the number of disk in the pre-failed status and in the restore process using “fast RAID recovery”.

Return values:

VALUE MEANING
-1 Error
N Disks

Recommended parameters:

Comparison type Direct. The higher value the higher severity (-c 0)
Monitoring interval 300 seconds - 1 hour –> depends on instance importance
Warning threshold 1
Alert threshold 2

Parameter setting example:

NAPREDSK = -t 300 -c 0 -w 1 -a 2 -T "Number of Prefailed disks"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAFAIDSK

NAFAIDSK returns the number of broken disks in the NetApp Server.

Return values:

VALUE MEANING
-1 Error
N Disks

Recommended parameters:

Comparison type Direct. The higher value the higher severity (-c 0)
Monitoring interval 300 seconds - 1 hour –> depends on instance importance
Warning threshold 1
Alert threshold 1

Parameter setting example:

NAFAIDSK = -t 300 -c 0 -w 1 -a 1 -T "Number of Prefailed disks"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAUPTIME

NAUPTIME returns the uptime since last start up in 1/100 of seconds.

Return values:

VALUE MEANING
-1 Error
X 1/100 secs

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval 60 seconds – 1 hour –> depends on instance importance
Warning threshold 12000. Consult on administrator
Alert threshold 6000. Consult on administrator

Parameter setting example:

NAUPTIME = -t 60 -c 1 -w 12000 -a 6000 -T "Uptime in 1/100 secs"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAPRCCPU

NAPRCCPU returns the overall CPU load percentage.

Return values:

VALUE MEANING
-1 Error
N % CPU

Recommended parameters:

Comparison type Direct. The higher value the higher severity (-c 0)
Monitoring interval 300 seconds - 1 hour –> depends on instance importance
Warning threshold 80
Alert threshold 90

Parameter setting example:

NAPRCCPU = -t 600 -c 0 -w 80 -a 90 -T "CPU Load"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NASTATUS

NASTATUS returns the NetApp server global status according to these values: other(1), unknown(2), ok(3), nonCritical(4), critical(5), nonRecoverable(6)

Return values:

VALUE MEANING
-1 Error
N status

Recommended parameters:

Comparison type Direct. The higher value the higher severity (-c 0)
Monitoring interval 300 seconds - 1 hour –> depends on instance importance
Warning threshold 4
Alert threshold 5

Parameter setting example:

NASTATUS = -t 600 -c 0 -w 80 -a 90 -T "Global Status"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAKBSREC

NAKBSREC returns received KBytes since last system start up.

Return values:

VALUE MEANING
-1 Error
N KBytes

Recommended parameters:

Comparison type Direct. The higher value the higher severity (-c 0)
Monitoring interval 300 seconds - 1 hour –> depends on instance importance
Warning threshold 99999
Alert threshold 99999

Parameter setting example:

NAKBSREC = -t 600 -c 0 -w 99999 -a 99999 -T "Received KBytes"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAKBSSNT

NAKBSSNT returns sent KBytes since last system start up.

Return values:

VALUE MEANING
-1 Error
N KBytes

Recommended parameters:

Comparison type Direct. The higher value the higher severity (-c 0)
Monitoring interval 300 seconds - 1 hour –> depends on instance importance
Warning threshold 99999
Alert threshold 99999

Parameter setting example:

NAKBSSNT = -t 600 -c 0 -w 99999 -a 99999 -T "Sent KBytes"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAOVRTMP

NAOVRTMP returns the presence of overheated problems according to the following values: 1-No 2-Yes

Return values:

VALUE MEANING
-1 Error
N Value

Recommended parameters:

Comparison type Direct. The higher value the higher severity (-c 0)
Monitoring interval 300 seconds - 1 hour –> depends on instance importance
Warning threshold 2
Alert threshold 2

Parameter setting example:

NAOVRTMP = -t 300 -c 0 -w 2 -a 2 -T "Over Temperature"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAFAIFAN

NAFAIFAN returns the number of failed fans in the NetApp server.

Return values:

VALUE MEANING
-1 Error
N Number

Recommended parameters:

Comparison type Direct. The higher value the higher severity (-c 0)
Monitoring interval 300 seconds - 1 hour –> depends on instance importance
Warning threshold 1
Alert threshold 2

Parameter setting example:

NAFAIFAN = -t 300 -c 0 -w 2 -a 2 -T "Failed Fans"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAFAIPWR

NAFAIPWR returns the number of failed power supplies in the NetApp server.

Return values:

VALUE MEANING
-1 Error
N Number

Recommended parameters:

Comparison type Direct. The higher value the higher severity (-c 0)
Monitoring interval 300 seconds - 1 hour –> depends on instance importance
Warning threshold 1
Alert threshold 2

Parameter setting example:

NAFAIPWR = -t 300 -c 0 -w 2 -a 2 -T "Failed Power Supplies"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NARAMBAT

NARAMBAT returns the vRAM battery status according to the following values: 1-ok 2-Nearlly Discharge 3-Discharged

Return values:

VALUE MEANING
-1 Error
N Value

Recommended parameters:

Comparison type Direct. The higher value the higher severity (-c 0)
Monitoring interval 300 seconds - 1 hour –> depends on instance importance
Warning threshold 2
Alert threshold 3

Parameter setting example:

NARAMBAT = -t 300 -c 0 -w 2 -a 3 -T "vRAM battery status"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NANFSCAL

NANFSCAL returns the total number of NFS calls since last system start up.

Return values:

VALUE MEANING
-1 Error
N Calls

Recommended parameters:

Comparison type Direct. The higher value the higher severity (-c 0)
Monitoring interval 300 seconds - 1 hour –> depends on instance importance
Warning threshold 99999
Alert threshold 99999

Parameter setting example:

NANFSCAL = -t 300 -c 0 -w 99999 -a 99999 -T "NFS Calls"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NANFSREJ

NANFSREJ returns the total number of REJECTED NFS calls since last system start up.

Return values:

VALUE MEANING
-1 Error
N Calls

Recommended parameters:

Comparison type Direct. The higher value the higher severity (-c 0)
Monitoring interval 300 seconds - 1 hour –> depends on instance importance
Warning threshold 99
Alert threshold 999

Parameter setting example:

NANFSREJ = -t 300 -c 0 -w 99 -a 999 -T "Rejected NFS Calls"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAFSSTAT

NAFSSTAT returns the state of the file systems (most full filesystem) using the following values: 1-ok 2-nearlyFull 3-full

Return values:

VALUE MEANING
-1 Error
N Value

Recommended parameters:

Comparison type Direct. The higher value the higher severity (-c 0)
Monitoring interval 300 seconds - 1 hour –> depends on instance importance
Warning threshold 2
Alert threshold 3

Parameter setting example:

NAFSSTAT = -t 300 -c 0 -w 2 -a 3 -T "Rejected NFS Calls"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAFSPFUL

NAFSPFUL returns the used percentage of most full filesystem in the NetApp server.

Return values:

VALUE MEANING
-1 Error
N Value

Recommended parameters:

Comparison type Direct. The higher value the higher severity (-c 0)
Monitoring interval 300 seconds - 1 hour –> depends on instance importance
Warning threshold 85
Alert threshold 90

Parameter setting example:

NAFSPFUL = -t 300 -c 0 -w 85 -a 90 -T "Used percentage most full FS"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAFSPTXT

NAFSPTXT returns the name of the most used filesystem in the event associated text.

Return values:

VALUE MEANING
-1 Error
0 Ok

Recommended parameters:

Comparison type Inverted. The higher the value the lesser the severity. (-c 1)
Monitoring interval 300 seconds - 1 hour –> depends on instance importance
Warning threshold 0
Alert threshold 0

Parameter setting example:

NAFSPTXT = -t 600 -c 1 -w 0 -a 0 -T "Most used FileSystem"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAINPFUL

NAINPFUL returns the used INODES percentage of most full filesystem in the NetApp server

Return values:

VALUE MEANING
-1 Error
N Value

Recommended parameters:

Comparison type Direct. The higher value the higher severity (-c 0)
Monitoring interval 300 seconds - 1 hour –> depends on instance importance
Warning threshold 85
Alert threshold 90

Parameter setting example:

NAINPFUL = -t 300 -c 0 -w 85 -a 90 -T "Inodes Used percentage most full FS"

Remarks: This event uses the Osmius SNMP interface which in turn uses Net-SNMP libraries.

NAUSER01

NAUSER01 launches a SNMP get using the provided parameters. If the oid result is numeric this event returns a numeric value. If the oid result is a string this event returns 1 when everything is ok and the string within the event text. If something fails the returned value is 0.

Extra parameters:

PARAMETER MEANING Mandatory
-O -O “oid”- oid to recover. Try first one of these commands “snmpwalk -v2 -O f -c community target_IP” or “snmpget -v2c -c community -o oid target_IP. Yes
-N -L “nodename” - This node name overrides the one in the Instance CONNECTION_INFO and the default one (agent hostname). No
-K -K “community” - This “community name” overrides the one in the instance CONNECTION_INFO and the default one (“public”). No
-P -P “port” - This “port” overrides the one in the instance CONNECTION_INFO and the default one (161). No
-Q -Q “timeout” - timeout in seconds for the snmpget operations. Defaults to 0, no timeout. No
-V -V “version” - SNMP protocol version. Allowed values are [1, 2]. Defaults 2 (v2c). No

Return Values:

VALUE MEANING
-1 Error
0 Failed to retrieve
1 String value correctly retrieved
N Numeric value correctly retrieved

Recommended Parameters:

Comparison Type Inverted or Direct. Depending on the oid parameter.
monitoring interval 300 seconds – 1 hour –> depends on the instance classification
warning threshold 0 or N depending on the oid type
critical threshold or N depending on the oid type

Parameter setting example:

ANUSER01 = -t 300 -c 1 -w 0 -a 0 -T "Snmp system description" -O ".iso.org.dod.internet.mgmt.mib-2.system.sysDescr.0" -K secret_community -P 177 -Q 3 -V 1

Remarks: The associated SNMP text will be into the event text.
This event uses the Net-SNMP libraries

prerequisites NetApp

In order to compile, this agent requires a set of prerequisites, which are generic to compile any Osmius agent, you can see these prerequisites.

In this particular agent you must also install Net-SNMP librares (Ubuntu “libsnmp”) that can be found here: http://net-snmp.sourceforge.net/ and in you OS repositories.

Makefiles and Compiling

  • Make Project Creator (MPC) is used by Osmius, so creating Makefiles is a trivial task. If you want to learn more about MPC and Osmius check out the section of Makefiles on Osmius.
  • In order to compile this agent we need include files and libraries provided by Net-SNMP (Ubuntu “libsnmp-dev”).
  • You can generate Makefile in this way:

From the agent directory using console or terminal.

$ACE_ROOT/bin/mpc.pl -type gnuace osm_ag_netapp.mpc
  • Now that you have created the Makefile, agent compiling is extremely simple.
gmake -f Makefile.Osm_Ag_Netapp_Osmius

Binaries are automatically installed in the bin directory of OSM_ROOT base directory.

Running the Agent

El agente NetApp have the same running features of the other Osmius agents. You can check it out int he section Start and Stop Agents.

Without Osmius web console:

osm_ag_NETAPP01 -c osm_ag_NETAPP01.ini -m MASTERAG -p 1950 -d [>> osm_ag_solaris.log]1)

Running in standalone mode

The Osmius NetApp agent, like the others Osmius agents, allows the execution in standalone mode. This option may be particularly useful when developing a new agent or to perform specific agent tests.

Basically you have to add a new value, called SNDCMD, to Osmius agent configuration file agente de Osmius (osm_ag_NETAPP01.ini) as shown here.

Setting Master Agent communications port to zero, for example:

osm_ag_NETAPP01 -c osm_ag_NETAPP01.ini -m 00000000 -p 0 -d

Tests list

Test performed to agent.

Date: 01/03/2010
Test Result Remarks
Creating an instance with all its events in silent mode OK N/A
Creating an instance with all its events with custom text OK N/A
Creating an instance with all its events but no custom text OK N/A
Declaración de 1 instancia con todos sus eventos a 60 seconds y mantenerlo
running for 48 hours
OK no se detectan pérdidas de memoria
Declare 2 instances, cause a disconnect and then reconnectNA N/A
Declare 1 instance and test each event OK NA
Elimination of general parameter and check unbootable OK N/A
Elimination of instance CONN_INFO and check unbootable NA No mandatory connect info
1) Optional, to store agent messages in a file
 
en/agentes/netapp01.txt · Last modified: 2012/12/12 08:04 by osmius
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki