Debug gives nothing because the command and the script works well. When I give user apache the proper rights, then the test command from nagiosxi wil work:
nagios_testcheck.JPG
But the checks still give an Unknown.
nagios_output.JPG
The check command is defined as:
define service {
host_name TSM server
service_description Scratch tapes
use xiwizard_linuxserver_ping_service
check_command check_tsm!-s=TSMLM1 scratch!!!!!!!
max_check_attempts 5
check_interval 60
retry_interval 1
check_period xi_timeperiod_24x7
notification_interval 60
first_notification_delay 0
notification_period xi_timeperiod_24x7
notifications_enabled 0
contacts dve015
_xiwizard aix
register 1
}
The command:
define command {
command_name check_tsm
command_line $USER1$/tsmmonitor.sh $ARG1$ $ARG2$ $ARG3$ $ARG4$
}
You do not have the required permissions to view the files attached to this post.