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
77485
Files:
FileDescription
nwcheck.pycheck script

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

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