Traceback Error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
rlinux57
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Traceback Error

Post by rlinux57 »

Getting error " (No output on stdout) stderr: Traceback (most recent call last): "

Please find attachment:
Attachments
Screenshot.jpg
User avatar
rhassing
Posts: 416
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: Traceback Error

Post 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).
Rob Hassing
Image
rlinux57
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Re: Traceback Error

Post 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 :)
Last edited by tmcdonald on Tue Sep 08, 2015 9:12 am, edited 1 time in total.
Reason: Please use [code][/code] tags around terminal output
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Traceback Error

Post 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!
Former Nagios Employee.
me.
Locked