Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Nagios plugin to check a DICOM find service which is the first stage of a query/retrieve operation (find/c-move). v 0.1.1 - corrected usage comments; updated inline code comments
Current Version
0.1.1
Last Release Date
2013-07-22
Owner
Dale Hawley
Compatible With
check DICOM Find (Query) service v 0.1.1
#!/usr/bin/python # -*- coding: utf-8 -*- # # check_dcmfind.py # Nagios plugin to check a DICOM find service which is the first stage of a query/retrieve operation (find/c-move) . # # The script is a wrapper for dcmtk's (http://dicom.offis.de/dcmtk.php.en) findscu # to monitor FIND(Query) SCP. dcmtk will have to be installed (or the binary built) on the # nagios system. Easiest way on an ubuntu system is to use apt: # sudo apt-get install dcmtk # dcmtk version 3.6.0 has been used successfully # The findscu command tries to find studies with the study date of 1950-01-01. The query should be successful and return no studies. # this work is based on check_dcm.py # Dale F. Hawley July 2013
# # Usage: # #define command { # command_name check_dcmfind # command_line $USER1$/check_dcmfind.py -H $HOSTADDRESS$ -p $ARG1$ -aec $ARG2$ -aet $ARG3$ -v # # } # #define service { # host_name VARXcelera # service_description DICOM Query VAR Xcelera # check_command check_dcmfind!7000!QR_SCP!TVCARDARCH # initial_state o # max_check_attempts 3 # check_interval 10 # retry_interval 1 # active_checks_enabled 1 # check_period 24x7 # notification_interval 10 # first_notification_delay 0 # notification_period 24x7 # notification_options w,u,r,c,f,s # notifications_enabled 1 # register 1 #}
If the plug-in cannot be found try to change the file permissions with #chmod 777 check_dcmfind.py
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!