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

check_xml

Rating
0 votes
Favoured:
0
Current Version
1.0
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
License
GPL
Hits
10284
Files:
FileDescription
check_xmlcheck_xml
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!
Nagios plugin to make services based on XML file or URL.
The plugin generates the service based on Xpath based search
Command line usage example:
./check_xml -u 'http://adobe_flash_media_server:1111/admin/getServerStats?auser=admin&apswd=admin' -n 'data/io/connected,total_connects,total_disconnects' -l 'connected:80:100'
./check_xml -f teste-file.xml -n './status,timestamp:./Users/connected:./Users/user/name,email' -l 'connected:80:100'

Nagios configuration example:
define command {
command_name check_xml
command_line $USER1$/check_xml -u "$ARG1$" -n "$ARG2$" -l "$ARG3$" -p
}

define service {
use generic_service
host_name HOST_1
service_description Adobe Flash Media Server Connections
check_command check_xml!data/io/connected,total_connects,total_disconnects!connected:80:100
}