Nagios Core - NCPA unable to parse plugin arguments
Posted: Thu Jul 30, 2015 3:48 pm
Hi all,
I am having a problem with Nagios Core and ncpa. I have a few plugins installed locally, but they all result in this error:
ncpa.cfg section:
ssh.my.server.com|ssh_tcp_22= agent/plugin/check_tcp/-H/10.87.20.38/-p/22/-4/-p/444/-t/30
log
2015-07-30 06:01:03,399 11256 WARNING Unable to parse all arguments from instruction. Mis-paired option: agent/plugin/check_tcp/-H/10.87.20.38/-p/22/-4/-p/444/-t/30
2015-07-30 06:01:03,403 11256 ERROR Improper warning/critical format.
Traceback (most recent call last):
File "/root/Development/ncpa/agent/listener/nodes.py", line 210, in run_check
File "/root/Development/ncpa/agent/listener/nodes.py", line 363, in is_within_range
Exception: Improper warning/critical format.
The code in question is non trivial to the human reader and has no debug output
https://github.com/NagiosEnterprises/nc ... r/nodes.py
line 363
I hope that this post is in the right place, and any help debugging this issue would be greatly appreciated.
Thank you!
Steven
I am having a problem with Nagios Core and ncpa. I have a few plugins installed locally, but they all result in this error:
ncpa.cfg section:
ssh.my.server.com|ssh_tcp_22= agent/plugin/check_tcp/-H/10.87.20.38/-p/22/-4/-p/444/-t/30
log
2015-07-30 06:01:03,399 11256 WARNING Unable to parse all arguments from instruction. Mis-paired option: agent/plugin/check_tcp/-H/10.87.20.38/-p/22/-4/-p/444/-t/30
2015-07-30 06:01:03,403 11256 ERROR Improper warning/critical format.
Traceback (most recent call last):
File "/root/Development/ncpa/agent/listener/nodes.py", line 210, in run_check
File "/root/Development/ncpa/agent/listener/nodes.py", line 363, in is_within_range
Exception: Improper warning/critical format.
The code in question is non trivial to the human reader and has no debug output
https://github.com/NagiosEnterprises/nc ... r/nodes.py
line 363
I hope that this post is in the right place, and any help debugging this issue would be greatly appreciated.
Thank you!
Steven