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

Directory Tree

getting xen vif

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2009-01-30
Compatible With
  • Nagios 3.x
Hits
96658
Files:
FileDescription
get_vif_xen.plget_vif_xen.pl
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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