Search found 4 matches

by Kasper
Mon May 19, 2014 12:57 pm
Forum: Open Source Nagios Projects
Topic: check_ncpa-py json error
Replies: 7
Views: 4020

Re: check_ncpa-py json error

Hi. Just to let anyone who might be interested know, Scot contacted me by mail and suggested to get the newest version of the plugin, as the issue i had was from an old version. I got the new version, and it works. I got the first version from here: http://assets.nagios.com/downloads/ncpa/check_ncpa...
by Kasper
Fri May 16, 2014 2:29 am
Forum: Open Source Nagios Projects
Topic: check_ncpa-py json error
Replies: 7
Views: 4020

Re: check_ncpa-py json error

Hi.

How do i get in contact with Nick?

/Kasper
by Kasper
Wed May 14, 2014 1:23 am
Forum: Open Source Nagios Projects
Topic: check_ncpa-py json error
Replies: 7
Views: 4020

Re: check_ncpa-py json error

I'm running this from ubuntu 12.04.4 I think theres a check in the top of the script, using simplejson if theres no json: try: import json except: import simplejson as json If simplejson wasn't supported, it should be mentioned, and the script would'nt be made like this? (my opinion) /Kasper
by Kasper
Tue May 13, 2014 5:30 am
Forum: Open Source Nagios Projects
Topic: check_ncpa-py json error
Replies: 7
Views: 4020

check_ncpa-py json error

Hi. Executing check_ncpa.py gives me this error: kasper@gf:/usr/local/nagios/libexec$ ./check_ncpa.py -vvv -H webserver -t 'athome' 'cpu/percent' Unable to parse json output And error was encountered: local variable 'rjson' referenced before assignment I am pretty sure that there is not a variable i...