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

getting xen vif

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2009-01-30
Compatible With
  • Nagios 3.x
Hits
93467
Files:
FileDescription
get_vif_xen.plget_vif_xen.pl
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This perl script fetches interface name from xen vms using xen xe shell. a mysql db is required.
my modified check_snmp_int.pl (http://nagios.manubulon.com/snmp_int.html) script can access to stored data in this db and will get alway the right if description for snmp data.
It is tested on Xen Server 5.0 and 5.5 succesfully and works fine.

Run it as cronjob on your Xenserver.


Usage: get_vif_xen.pl -H xenhost [-v] [-h]

Options:
-H --xenhost STRING or IPADDRESS
Check vif on the indicated host
-h --help Print this help
-v --vlan enable VLAN mode

If you use vlan mode you have to add the right vlan tags into hash %vlan beginning on line 92