Page 1 of 1

Traceback Error

Posted: Mon Sep 07, 2015 7:53 am
by rlinux57
Getting error " (No output on stdout) stderr: Traceback (most recent call last): "

Please find attachment:

Re: Traceback Error

Posted: Mon Sep 07, 2015 7:59 am
by rhassing
What's the output when you run the command from the commandline?
Maybe you could test as user Nagios? (or the user nagios is running at).

Re: Traceback Error

Posted: Tue Sep 08, 2015 12:20 am
by rlinux57
I have resolved the issue, actually it was happened due to add "-t" switch.

Code: Select all

define command{
        command_name    check_rbl
        command_line    $USER1$/check_rbl.py -w 1 -c 1 -h $HOSTADDRESS$ -t 300
        }

Thanks for your reply :)

Re: Traceback Error

Posted: Tue Sep 08, 2015 9:13 am
by hsmith
rlinux57 wrote:I have resolved the issue, actually it was happened due to add "-t" switch.

Code: Select all

define command{
        command_name    check_rbl
        command_line    $USER1$/check_rbl.py -w 1 -c 1 -h $HOSTADDRESS$ -t 300
        }

Thanks for your reply :)
Glad to hear it wasn't anything too horrible. I'm going to mark this one resolved and close it. Let us know if you need anymore assistance!