Check | Description | |
---|---|---|
Memory Usage | Checks for memory usage. | |
Storage pool | Storage pool check. | |
File system | Checks for filesystem usage. | |
DataMover | Checks for datamover status. | |
Checkpoint | Checks for checkpoint status. | |
TreeQuota | Checks for treequota check. | |
VDMStatus | Checks for virtual data mover status. | |
Volume Integrity | Checks for volume integrity check. | |
DataMover Hardware | Checks for datamover hardware status. | |
Celerra Status | Checks for Celerra status. | |
Checkpoint Storage | Checks for checkpoint usage. | |
Control station | Control station check. | |
SAVVolume | Checks for savvolume usage. | |
CPU Usage | Checks for cpu usage. |
VNX File Systems
- 8.1
Platforms
- EL 6/7
- Supported OP5 release
Software
- nagios version 3.5.1 and version 4.0.8 or newer
- python2.6/2.7
Python libraries
- Sys
- Re
- argparse
- Lxml
- Time
- cookielib
- Imp
- Os
- importlib
- urllib
- urllib2
VNX Access
- To allow access for Nagios to the VNX for file system, you must make sure that the XML API is enabled. The user must have reading permission on the VNX.
Release 1.0.2
- VNX API clientHandle function added
Release 1.0.0
- First release
Details about: Memory Usage
Parameter
usage: check_vnx.py filememory -[-h]m DATAMOVER
[-w WARNING] [-c CRITICAL]
-H --host <HOST>hostname/hostaddress of the VNX system
-U --username <USERNAME>username for the VNX system
-P --password <PASSWORD>password for the VNX system
-m --mover <DATAMOVER>Data Mover Id +
[0-9]o
ptional arguments:
-w -
-warning WARNING warning threshold (in percentage)
-c --cri[default: 80%]
tical CRITICAL critical threshold (in percentage)
-v --verbose[default: 90%]
set verbosity level
-V --version sh[default: None]
ow program's version number and exit
-h --help show this
help message and exit</DATAMOVER> </PASSWORD> </USERNAME> </HOST>
Function
Connects via API to the VNX system and querying for status information.
Details about: Storagepool
Parameter
usage: check_vnx.py filestoragepool -p[-h] STORAGEPOOL
[-w WARNING] [-c CRITICAL]
-H --host <HOST>hostname/hostaddress of the VNX system
-U --username <USERNAME>username for the VNX system
-P --password <PASSWORD>password for the VNX system
-p --pool <STORAGEPOOL>Storage Pool Id +
op[0-9]t
ional arguments:
-w --
warning WARNING warning threshold (in percentage)
-c --crit[default: 80%]
ical CRITICAL critical threshold (in percentage)
-v --verbose s[default: 90%]
et verbosity level
-V --version show[default: None]
program's version number and exit
-h --help show this h
elp message and exit</STORAGEPOOL> </PASSWORD> </USERNAME> </HOST>
Function
Connects via API to the VNX system and querying for status information.
Details about: Filesystem
Parameter
usage: check_vnx.py filesystem (-[-h]i FILESYSTEMID | -n FILESYSTEMNAME)
[-w WARNING] [-c CRITICAL]
-H --host <HOST>hostname/hostaddress of the VNX system
-U --username <USERNAME>username for the VNX system
-P --password <PASSWORD>password for the VNX system
-i <
FILESYSTEMID>--id filesystem id
-n --name
<FILESYSTEMNAME>filesystem name
optional argume
nts:
-w --warning WARNI
NG warning threshold (in percentage)
-c --critical CRITICAL c[default: 80%]
ritical threshold (in percentage)
-v --verbose set verbosity lev[default: 90%]
el
-V --version show program's versio[default: None]
n number and exit
-h --help show this help message and ex
it</FILESYSTEMNAME> </FILESYSTEMID> </PASSWORD> </USERNAME> </HOST>
Function
Connects via API to the VNX system and querying for status information.
Details about: DataMover
Parameter
usage: check_vnx.py datamover -m[-h] DATAMOVER
-H --host <HOST>hostname/hostaddress of the VNX system
-U --username <USERNAME>username for the VNX system
-P --password <PASSWORD>password for the VNX system
-
m --mover <DATAMOVER>Data Mover Id +
optio[0-9]n
al arguments:
-v --verb
ose set verbosity level
-V --version [default: None]
show program's version number and exit
-h --help show thi
s help message and exit</DATAMOVER> </PASSWORD> </USERNAME> </HOST>
Function
Connects via API to the VNX system and querying for status information.
Details about: Checkpoint
Parameter
usage: check_vnx.py checkpoint -n[-h] CHECKPOINTNAME
-H --host <HOST>hostname/hostaddress of the VNX system
-U --username <USERNAME>username for the VNX system
-P --password <PASSWORD>password for the VNX system
-n -
-name <CHECKPOINTNAME>checkpoint name
optional a
rguments:
-v --verbose
set verbosity level
-V --version show[default: None]
program's version number and exit
-h --help show this hel
p message and exit</CHECKPOINTNAME> </PASSWORD> </USERNAME> </HOST>
Function
Connects via API to the VNX system and querying for status information.
Details about: TreeQuota
Parameter
usage: check_vnx.py treequota -[-h]i FILESYSTEMID -p PATH
[-w WARNING] [-c CRITICAL]
-H --host <HOST>hostname/hostaddress of the VNX system
-U --username <USERNAME>username for the VNX system
-P --password <PASSWORD>password for the VNX system
-i <FILESYSTEMID>--id filesystem id
-p --
path <PATH>quota path
optional
arguments:
-w --warning
WARNING warning threshold (in percentage)
-c --critical CR[default: 80%]
ITICAL critical threshold (in percentage)
-v --verbose set verb[default: 90%]
osity level
-V --version show program[default: None]
's version number and exit
-h --help show this help messa
ge and exit</PATH> </FILESYSTEMID> </PASSWORD> </USERNAME> </HOST>
Function
Connects via API to the VNX system and querying for status information.
Details about: VDMStatus
Parameter
usage: check_vnx.py vdmstatus -m[-h] DATAMOVER
-H --host <HOST>hostname/hostaddress of the VNX system
-U --username <USERNAME>username for the VNX system
-P --password <PASSWORD>password for the VNX system
-
m --mover <DATAMOVER>Data Mover Id +
optio[0-9]n
al arguments:
-v --verb
ose set verbosity level
-V --version [default: None]
show program's version number and exit
-h --help show thi
s help message and exit</DATAMOVER> </PASSWORD> </USERNAME> </HOST>
Function
Connects via API to the VNX system and querying for status information.
Details about: Volume Integrity
Parameter
usage: check_vnx.py filevolumeintegrity
[-h]
-H --host <HOST>hostname/hostaddress of the VNX system
-U --username <USERNAME>username for the VNX system
-P --password <PASSWORD>password for the VNX system
optional arguments:
-v --verbose set verbosity level
-V[default: None]
--version show program's version number and exit
-h --h
elp show this help message and exit</PASSWORD> </USERNAME> </HOST>
Function
Connects via API to the VNX system and querying for status information.
Details about: DataMover Hardware
Parameter
usage: check_vnx.py moverhardware -m[-h] DATAMOVER
-H --host <HOST>hostname/hostaddress of the VNX system
-U --username <USERNAME>username for the VNX system
-P --password <PASSWORD>password for the VNX system
-
m --mover <DATAMOVER>Data Mover Id +
optio[0-9]na
l arguments:
-v --verb
ose set verbosity level
-V --version [default: None]
show program's version number and exit
-h --help show thi
s help message and exit</DATAMOVER> </PASSWORD> </USERNAME> </HOST>
Function
Connects via API to the VNX system and querying for status information.
Details about: Celerra Status
Parameter
usage: check_vnx.py celerrastatus -i[-h] ID
-H --host <HOST>hostname/hostaddress of the VNX system
-U --username <USERNAME>username for the VNX system
-P --password <PASSWORD>password for the VNX system
-i --id <ID>Celerra Id +
o[0-9]p
tional arguments:
-v -
-verbose set verbosity level
-V --ver[default: None]
sion show program's version number and exit
-h --help sh
ow this help message and exit</ID> </PASSWORD> </USERNAME> </HOST>
Function
Connects via API to the VNX system and querying for status information.
Details about: Checkpoint Storage
Parameter
usage: check_vnx.py checkpointstorage (-[-h]i FILESYSTEMID | -n FILESYSTEMNAME) [-c
[-w WARNING]
CRITICAL]
-H --host <HOST>hostname/hostaddress of the VNX system
-U --username <USERNAME>username for the VNX system
-
P --password <PASSWORD>password for the VNX system
-i <FIL
ESYSTEMID>--id filesystem id
-n --name <F
ILESYSTEMNAME>filesystem name
optional argument
s:
-w --warning WARNING
warning threshold (in percentage)
-c --critical CRITICAL cr[default: 80%]
itical threshold (in percentage)
-v --verbose set verbosity lev[default: 90%]
el
-V --version show program's versio[default: None]
n number and exit
-h --help show this help message and ex
it</FILESYSTEMNAME> </FILESYSTEMID> </PASSWORD> </USERNAME> </HOST>
Function
Connects via API to the VNX system and querying for status information.
Details about: Controlstation
Parameter
usage: check_vnx.py filecontrolstation -i[-h] ID
-H --host <HOST>hostname/hostaddress of the VNX system
-U --username <USERNAME>username for the VNX system
-P --password <PASSWORD>password for the VNX system
-i --id <ID>Controlstation Id +
o[0-9]p
tional arguments:
-v --
verbose set verbosity level
-V --ver[default: None]
sion show program's version number and exit
-h --help sh
ow this help message and exit</ID> </PASSWORD> </USERNAME> </HOST>
Function
Connects via API to the VNX system and querying for status information.
Details about: SAVVolume
Parameter
usage: check_vnx.py savvolume (-[-h]i FILESYSTEMID | -n FILESYSTEMNAME)
[-w WARNING] [-c CRITICAL]
-H --host <HOST>hostname/hostaddress of the VNX system
-U --username <USERNAME>username for the VNX system
-P --password <PASSWORD>password for the VNX system
-i <
FILESYSTEMID>--id filesystem id
-n --name
<FILESYSTEMNAME>filesystem name
optional argume
nts:
-w --warning WARNI
NG warning threshold (in percentage)
-c --critical CRITICAL c[default: 80%]
ritical threshold (in percentage)
-v --verbose set verbosity lev[default: 90%]
el
-V --version show program's versio[default: None]
n number and exit
-h --help show this help message and ex
it</FILESYSTEMNAME> </FILESYSTEMID> </PASSWORD> </USERNAME> </HOST>
Function
Connects via API to the VNX system and querying for status information.
Details about: CPU Usage
Parameter
usage: check_vnx.py filecpu -[-h]m DATAMOVER
[-w WARNING] [-c CRITICAL]
-H --host <HOST>hostname/hostaddress of the VNX system
-U --username <USERNAME>username for the VNX system
-P --password <PASSWORD>password for the VNX system
-m --mover <DATAMOVER>Data Mover Id +
[0-9]o
ptional arguments:
-w -
-warning WARNING warning threshold (in percentage)
-c --cri[default: 80%]
tical CRITICAL critical threshold (in percentage)
-v --verbose[default: 90%]
set verbosity level
-V --version sh[default: None]
ow program's version number and exit
-h --help show this
help message and exit</DATAMOVER> </PASSWORD> </USERNAME> </HOST>
Function
Connects via API to the VNX system and querying for status information.