few Nagios Agents return an error:
UNKNOWN: Error occurred while running the plugin. Use the verbose flag for more details.
when checking with verbose flag it return:
An error occurred:<urlopen error [Errno 104] Connection reset by peer
any one experience the same error?
Nagios XI Installed Version: 5.5.5
Nagios Core 4.4.2
UNKNOWN: Error occurred while running the plugin. Use the ve
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: UNKNOWN: Error occurred while running the plugin. Use th
I'm not sure what plugin you are using, but it looks like it is a http check if you are getting "Connection reset by peer"
Can you curl the URL from the XI server and get expected results?
Can you curl the URL from the XI server and get expected results?
Code: Select all
curl -vvv http://yourhost.com/Re: UNKNOWN: Error occurred while running the plugin. Use th
im just using the check ncpa.py with some checks, for example: CPU
/usr/local/nagios/libexec/check_ncpa.py -H ServerName -t TokenName -T 59 -M 'cpu/percent' -v
An error occurred:<urlopen error [Errno 104] Connection reset by peer>
when i used the line you sent, this is what i got:
curl -vvv https://ServerName:5693
* About to connect() to ServerName port 5693 (#0)
* Trying 10.215.8.30...
* Connected to ServerName (IP) port 5693 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
/usr/local/nagios/libexec/check_ncpa.py -H ServerName -t TokenName -T 59 -M 'cpu/percent' -v
An error occurred:<urlopen error [Errno 104] Connection reset by peer>
when i used the line you sent, this is what i got:
curl -vvv https://ServerName:5693
* About to connect() to ServerName port 5693 (#0)
* Trying 10.215.8.30...
* Connected to ServerName (IP) port 5693 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: UNKNOWN: Error occurred while running the plugin. Use th
So it is unable to make the connection.
Is the NCPA service running?
Is there a firewall that could be blocking connection on port 5693?
Is the NCPA service running?
Is there a firewall that could be blocking connection on port 5693?
Re: UNKNOWN: Error occurred while running the plugin. Use th
the NCPA is running on the agent and FW is open on port 5963
i can telnet to the target on that port
i can telnet to the target on that port
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: UNKNOWN: Error occurred while running the plugin. Use th
Are you just seeing this when monitoring a single system, or are you seeing it when connecting to any NCPA agent?
Re: UNKNOWN: Error occurred while running the plugin. Use th
hi,
i dont know how but it start functioning...
i'll ignore that issue till the next time
thank you anyway
i dont know how but it start functioning...
i'll ignore that issue till the next time
thank you anyway
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: UNKNOWN: Error occurred while running the plugin. Use th
talalmog wrote:hi,
i dont know how but it start functioning...
i'll ignore that issue till the next time
thank you anyway
Ok,
Locking thread