TL4000 Tape Library (Service check did not exit properly)


Dear All,

I am quite new to Nagios and have a plugin called “” I downloaded from Nagios Exchange.
Now, I am using a TL4000 Tape library and had to change the plugin a bit to read the correct iods…

The plugin works great from within the console - but from within Nagios I get “(Service check did not exit properly)” error.
Might one of you Plugin gurus please take a look at this plugin and see if this can not be fixed somehow…?

These are my codes from within nagios:

for the host:

define service{
	use 			        generic-service
	host_name 		TAPELIB
	service_description 	Info
	check_command 	check_ibm_ts_tape!public!TL4000!info

in commands.cfg

define command {
command_name                      check_ibm_ts_tape
command_line                         $USER1$/ -H $HOSTADDRESS$ -C $ARG1$ -m $ARG2$ -t $ARG3$

Attached please also find the plugin… had to rename it from .pl to .txt

Thanking you in advance,



Hi All,

seems like the problem is solved by adding perl to the command line.
Like this:
file: commands.cfg

define command {
command_name                      check_ibm_ts_tape
command_line perl                 $USER1$/ -H $HOSTADDRESS$ -C $ARG1$ -m $ARG2$ -t $ARG3$

Thank you,



I trying to setup this check for our TL4000 too.

How exactly did you have to change the OIDs? Would you maybe supply the changed pl-script?