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
9982
Files:
FileDescription
check_xmlcheck_xml
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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
}