8000 GitHub - bn0/check_dcm: Nagios/Icinga plugin to check DICOM service
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

bn0/check_dcm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

check_dcm.py

Nagios/Icinga plugin to check DICOM services.

The script is a wrapper for the dcmtk echoscu command to monitor STORE SCP. It will have to be installed (or the binary built) on the nagios system.

The easiest way on an ubuntu system is to use apt: sudo apt-get install dcmtk

Usage:

check_dcm.py [-h] [-V] [-v] [-t TIMEOUT] [-aet [-aec AETITLE] [-H HOSTNAME] [-p PORT]  
optional arguments:
  -h, --help                        show help message and exit
  -V, --version                     display plugin version
  -v, --verbosity                   increase output verbosity.
  -t TIMEOUT, --timeout TIMEOUT     seconds before request timeout
  -aet AETITLE, --aetitle AETITLE   calling AE Title (default: ECHOSCU)
  -aec AETITLE, --call AETITLE      ae title of modality (default: ANY-SCP)
  -H HOSTNAME, --hostname HOSTNAME  hostname of modality
  -p PORT, --port PORT              tcp/ip port number of modality  

Nagios Usage:

You can hard code your port/ae_title but I prefer to use object variables as below:

define command {
        command_name    check_dcm
        command_line    $USER1$/check_dcm.py -H $HOSTADDRESS$ -p $_HOSTPORT$ -a $_HOSTAE_TITLE$ -v
        }  

About

Nagios/Icinga plugin to check DICOM service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0