How to correct an Unknown status.

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
Victor Pineda
Posts: 13
Joined: Thu Oct 28, 2021 8:51 am

How to correct an Unknown status.

Post by Victor Pineda »

Hi all,

I am using Nagios Core 3.4.1 and have been having issues with alerts with status "Unknown" and the following description: "ERROR: Process name table: message size exceeded maximum buffer message size of 10000".
I have reviewed the alert settings and there are no errors in the names being monitored.
The alerts constantly change from "OK" to "UNKNOWN" status, this last status being the most common.

Could you help me to know how I can solve this problem?


Thanks in advance.

Regrads.
Victor Pineda
Attachments
nagios v.png
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: How to correct an Unknown status.

Post by gormank »

If the check is running the Windows SNMP plugin, have a look at how others fixed it:

https://support.nagios.com/forum/viewto ... f=6&t=5108
Victor Pineda
Posts: 13
Joined: Thu Oct 28, 2021 8:51 am

Re: How to correct an Unknown status.

Post by Victor Pineda »

Hello Gonmark,
Thanks for your reply.

Apparently I do not have access to see the information on the attached link.
I add an image.


Regards.
Victor Pineda.
Attachments
NAGIOS SUPPORT.png
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: How to correct an Unknown status.

Post by gormank »

Here's info from the link.

Open check_snmp_win.pl in a text editor.
vi /usr/local/nagios/libexec/check_snmp_win.pl
Find this line:
$session->max_msg_size(10000)
Set the value to something higher.
Victor Pineda
Posts: 13
Joined: Thu Oct 28, 2021 8:51 am

Re: How to correct an Unknown status.

Post by Victor Pineda »

Hi Gonmark,

I appreciate and thank you very much for your help. I have done what you suggest but some alerts are fixed and others go from status ok to unknown :(

Is there anything else I could do?

Regards.
Victor Pineda
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: How to correct an Unknown status.

Post by gormank »

You might copy and paste the text of the new errors here, as well as what you did to reduce the problem.
Locked