NSClient++ Help (#1) - NSCA checks results are missing (#656) - Message List
My issue is exactly like here: http://nsclient.org/nscp/discussion/topic/618
My nsca.ini file: http://metalcore.pl/~snieg/nsca/nsca.txt
NSClient++ log file: http://metalcore.pl/~snieg/nsca/nsclient.log
NSCA Server log file: http://metalcore.pl/~snieg/nsca/syslog.log
As you can see, NSCA Agent runs all checks, but does not submit all. At the beginning I was getting about ~10 results, so I've recompiled plugin with: "#define MAX_PLUGINOUTPUT_LENGTH 196", now I'm getting about ~20 results, tried to set up "chunk=10", tried to recompile NSCA Server with "#define MAX_INPUT_BUFFER 8192", but 20 results is max that I can get.
Other informations: Client side: Windows SBS 2008 Server side: FreeBSD 8.1-RELEASE
Any ideas what is wrong?
-
Message #1953
I've just replaced old version, with this one: http://files.nsclient.org/nightly/NSClient%2B%2B-0.3.8-x64-20100819-1851.msi
Chunking works fine, but now I'm getting less results. :(
#v+ Sep 2 11:40:55 nagios nsca[24322]: End of connection... Sep 2 11:41:07 nagios nsca[24322]: SERVICE CHECK -> Host Name: 'THEA-SRV01', Service Description: 'Backup Exec - Thea-All', Return Code: '1', Output: 'Job: Thea-All, Status: Completed with exceptions, Date:1/9/2010|' Sep 2 11:41:07 nagios nsca[24322]: SERVICE CHECK -> Host Name: 'THEA-SRV01', Service Description: 'CPU Load', Return Code: '0', Output: 'OK: 5m: 5%|'5m'=5%;80;90' Sep 2 11:41:07 nagios nsca[24322]: SERVICE CHECK -> Host Name: 'THEA-SRV01', Service Description: 'DHCP Server', Return Code: '0', Output: 'OK: DHCP Server: started|' Sep 2 11:41:07 nagios nsca[24322]: SERVICE CHECK -> Host Name: 'THEA-SRV01', Service Description: 'DNS Server', Return Code: '0', Output: 'OK: DNS Server: started|' Sep 2 11:41:08 nagios nsca[24322]: SERVICE CHECK -> Host Name: 'THEA-SRV01', Service Description: 'Drive Space Usage C:\ - 136GB', Return Code: '0', Output: 'OK: C:\: 101G|'C:\ %'=27%;10;5 'C:\'=100.77GB;13.66;6.83;0;136.69' Sep 2 11:41:08 nagios nsca[24322]: SERVICE CHECK -> Host Name: 'THEA-SRV01', Service Description: 'Drive Space Usage D:\ - 136GB', Return Code: '0', Output: 'OK: D:\: 37G|'D:\ %'=73%;10;5 'D:\'=36.96GB;13.6;6.83;0;136.69' Sep 2 11:41:08 nagios nsca[24322]: End of connection... Sep 2 11:41:08 nagios nsca[24322]: SERVICE CHECK -> Host Name: 'THEA-SRV01', Service Description: 'Microsoft Exchange Information Store', Return Code: '0', Output: 'OK: Microsoft Exchange Information Store: started|' Sep 2 11:41:08 nagios nsca[24322]: SERVICE CHECK -> Host Name: 'THEA-SRV01', Service Description: 'Microsoft Exchange Mail Submission', Return Code: '0', Output: 'OK: Microsoft Exchange Mail Submission: started|' Sep 2 11:41:08 nagios nsca[24322]: SERVICE CHECK -> Host Name: 'THEA-SRV01', Service Description: 'Microsoft Exchange Mailbox Assistants', Return Code: '0', Output: 'OK: Microsoft Exchange Mailbox Assistants: started|' Sep 2 11:41:08 nagios nsca[24322]: SERVICE CHECK -> Host Name: 'THEA-SRV01', Service Description: 'Microsoft Exchange Replication Service', Return Code: '0', Output: 'OK: Microsoft Exchange Replication Service: started|' Sep 2 11:41:09 nagios nsca[24322]: SERVICE CHECK -> Host Name: 'THEA-SRV01', Service Description: 'Microsoft Exchange Search Indexer', Return Code: '0', Output: 'OK: Microsoft Exchange Search Indexer: started|' Sep 2 11:41:09 nagios nsca[24322]: SERVICE CHECK -> Host Name: 'THEA-SRV01', Service Description: 'Microsoft Exchange Service Host', Return Code: '0', Output: 'OK: Microsoft Exchange Service Host: started|' Sep 2 11:41:09 nagios nsca[24322]: End of connection... Sep 2 11:41:10 nagios nsca[24322]: SERVICE CHECK -> Host Name: 'THEA-SRV01', Service Description: 'SQL Server - SQL', Return Code: '0', Output: 'OK: SQL Server (SQL): started|' Sep 2 11:41:10 nagios nsca[24322]: End of connection... #v-
snieg09/02/10 11:42:19 (17 months ago)-
Message #1954
Awww. Sorry for that: http://metalcore.pl/~snieg/nsca/new_syslog.log
snieg09/02/10 11:49:49 (17 months ago) -
Message #1955
What does the "nsclient++ log" say?
mickem09/03/10 07:09:47 (17 months ago)-
Message #1956
What does the "nsclient++ log" say?
http://metalcore.pl/~snieg/nsca/new_nsclient.log
Nothing at all. How much results depends on how do I set a value string_lenght and "#define MAX_PLUGINOUTPUT_LENGTH", setting "chunk" options decreased it. I've have no idea what to do. Tried most everything - as I said, max that I can get is about 20 results with value MAX_PLUGINOUTPUT_LENGTH set to 192.
snieg09/03/10 10:27:40 (17 months ago)
-
-
-
Message #1964
Any response/idea? At the moment I've managed how to recive about ~26checks, I've use stable version of NSClient++ and NSCA server compiled with MMAX_PLUGINOUTPUT_LENGTH=160, but this workaround is not a solution for me (still need to add more checks), i'm stucked now and this is quite important thing :(
snieg09/09/10 22:55:56 (17 months ago) -
Message #1967
Can I get any feedback? Even if my issue is currently unfixable, please let me know that. Even any information which side is wrong (wrong plugin config, error with handling that by NSCA server?), NSClient++ logs show that all checks are running correctly, NSCA server logs show that it recives only a part of checks... no idea how to debug more, so where is the rest?
snieg09/13/10 01:21:02 (17 months ago)-
Message #1969
Hello,
Sorry fo0r the unresponsiveness, but I haven't had time to look into this issue yet. I will try to do so ASAP, but work (the one they pay me for) is taking a lot of my time at the moment.
Michael Medin
mickem09/14/10 12:19:40 (17 months ago)-
Message #1975
I will try to do so ASAP, but work (the one they pay me for) is taking a lot of my time at the moment.
How about now? Problem is still up to date. :)
snieg10/08/10 08:35:34 (16 months ago)-
Message #2064
Hi,
I'm not sure if it's related but I found that my missing checks were due them having future timestamps and the NSCA daemon ignoring them. Interestingly I could send several requests and some would succeed, others fail.
I moved the monitoring server a minute into the future and they all work properly now.
Thanks, Lukas
lukas02/08/11 09:43:52 (12 months ago)-
Message #2152
Hi,
I'm not sure if it's related but I found that my missing checks were due them having future timestamps and the NSCA daemon ignoring them. Interestingly I could send several requests and some would succeed, others fail.
I moved the monitoring server a minute into the future and they all work properly now.
Thanks, Lukas
i had exactly the same problem. thanks for figuring this out.
Massimo
mtrento04/29/11 14:04:33 (9 months ago)
-
-
-
-







