Home Directory Plugins Backup and Recovery Networker Networker saveset checker

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

Networker saveset checker

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2012-01-12
Compatible With
  • Nagios 3.x
License
GPL
Hits
76736
Files:
FileDescription
nwcheck.pycheck script
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Python script that uses the mminfo binary on the nagios server to check the status of the last
day savesets on the networker server. If the saveset is older than 1 day the status ist critical.
If no savesets for the client are reported, the check will be fine.
Python script that uses the mminfo binary on the nagios server to check the status of the last
day savesets on the networker server. If the saveset is older than 1 day the status ist critical.
If no savesets for the client are reported, the check will be fine.

Prerequisites:
The networker client has to be installed and configured.
Try at first "mminfo" for tests. http://www.ipnom.com/Legato-NetWorker-Commands/mminfo.html
In order to run the python script, install the pynagios libararies http://pypi.python.org/pypi/pynagios.

I.e. on Ubuntu:
1. apt-get install pip
2. pip install --proxy proxy:port --upgrade pip
3. pip install --proxy proxy:port --upgrade virtualenv
4. pip install --proxy proxy:port pynagios


Usage:
./nwcheck.py -H hostname.domain.name --server backupserver --timeout 10
./nwcheck.py -H hostname --server backupserver --timeout 10

-H = Hostname in fqn or normal form (no ip address)
--server = Name or IP of the networker server
--timeout = timeout value for killing the mminfo process