Search found 17 matches
- Tue Sep 28, 2021 3:55 pm
- Forum: Open Source Nagios Projects
- Topic: Bugs in (and fixes for) passive check logging
- Replies: 0
- Views: 887
Bugs in (and fixes for) passive check logging
Back in March, I reported in these pages a bug in the way that passive service check data is written to the nagios.log file: Nagios logs bad service-check data https://support.nagios.com/forum/viewtopic.php?f=7&t=61914 For reasons I do not understand, that posting is now locked, and it appears t...
- Mon Mar 08, 2021 3:54 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios logs bad service-check data
- Replies: 0
- Views: 2386
Nagios logs bad service-check data
Nagios 4.4.5 is logging inappropriate data in the PASSIVE SERVICE CHECK lines. Specifically, it is logging state and plugin-output data as they existed BEFORE the passive service check is processed, instead of representing data which is the actual incoming service-check result. That is highly confus...
- Thu May 28, 2020 8:10 pm
- Forum: Open Source Nagios Projects
- Topic: Bug in Nagios Plugins 2.3.X
- Replies: 1
- Views: 1109
Bug in Nagios Plugins 2.3.X
The Nagios Plugins 2.3.0 release added this stanza to the configure.ac file, which is still present at this location in the file in the Nagios Plugins 2.3.3 release: 789 dnl jails on FreeBSD: 790 elif ps -axwo 'stat comm vsz rss user uid pid ppid jid args' 2>/dev/null | \ 791 egrep -i "^ *STAT ...
- Fri Sep 27, 2019 5:15 pm
- Forum: Open Source Nagios Projects
- Topic: small bug in broker.c
- Replies: 1
- Views: 884
small bug in broker.c
In nagios-4.4.5/base/broker.c: 535 /* sends contact status updates to broker */ 536 void broker_contact_status(int type, int flags, int attr, contact *cntct, struct timeval *timestamp) { 537 nebstruct_service_status_data ds; Line 537 should be this instead: 537 nebstruct_contact_status_data ds;
- Mon Aug 26, 2019 2:08 pm
- Forum: Open Source Nagios Projects
- Topic: bug in passive host check handling
- Replies: 1
- Views: 868
bug in passive host check handling
In Nagios 4.4.4 base/commands.c , we have the following code fragments: 2358 int process_passive_service_check(time_t check_time, char *host_name, char *svc_description, int return_code, char *output) { 2359 check_result cr; 2360 host *temp_host = NULL; 2361 service *temp_service = NULL; 2362 struct...
- Fri Nov 02, 2018 5:09 pm
- Forum: Open Source Nagios Projects
- Topic: bug in registering event broker callbacks
- Replies: 3
- Views: 1601
Re: bug in registering event broker callbacks
I'm not a Github guy (no account there, don't need or want one). No doubt you can copy the info here into such a posting there. This particular issue has not caused a problem in my own usage of Nagios Core; I found it in the source code while looking for something else. But one can easily impute fro...
- Fri Nov 02, 2018 5:08 pm
- Forum: Open Source Nagios Projects
- Topic: bug in event broker callbacks during Nagios startup
- Replies: 3
- Views: 1630
Re: bug in event broker callbacks during Nagios startup
I'm not a Github guy (no account there, don't need or want one). No doubt you can copy the info here into such a posting there. This particular issue has not caused a problem in my own usage of Nagios Core; I found it in the source code while looking for something else. But one can easily impute fro...
- Thu Nov 01, 2018 4:48 pm
- Forum: Open Source Nagios Projects
- Topic: bug in registering event broker callbacks
- Replies: 3
- Views: 1601
bug in registering event broker callbacks
I'm looking at nagios-4.4.2/base/nebmods.c, lines 421-422 and the surrounding code. The neb_register_callback() routine looks suspect to me in its processing of priority information as it adds event brokers to the callback lists. Specifically, if there is already an existing event broker in the call...
- Thu Nov 01, 2018 4:39 pm
- Forum: Open Source Nagios Projects
- Topic: bug in event broker callbacks during Nagios startup
- Replies: 3
- Views: 1630
bug in event broker callbacks during Nagios startup
I'm looking at Nagios 4.4.2 code. main() calls daemon_init() [base/nagios.c, line 614] which in turn calls broker_program_state() [base/utils.c, line 2026] to make a NEBTYPE_PROCESS_DAEMONIZE callback. But all of that now happens before neb_init_callback_list() ever gets called [base/nagios.c, line ...
- Sun Jul 09, 2017 4:38 am
- Forum: Open Source Nagios Projects
- Topic: bug/improvement in top-level Makefile
- Replies: 1
- Views: 1460
bug/improvement in top-level Makefile
The top-level Nagios-distribution Makefile has a bug: make contrib believes that the contrib directory satisfies the make target by merely existing, as opposed to causing a descent into the contrib directory and building there. The make target should probably be renamed to contribs , and named as su...