Re: Monit logs vfprintf %s NULL in "%s" all the time

2018-10-29 Thread Chris Narkiewicz

W dniu 29/10/2018 o 19:24, Caspar Schutijser pisze:

(...) which seems to solve the same problem that
you are experiencing.


Ok, if this is a known problem, I'll upgrade. Thanks.

Best regards,
Chris



Re: Monit logs vfprintf %s NULL in "%s" all the time

2018-10-29 Thread Caspar Schutijser
Hi Chris,

On Mon, Oct 29, 2018 at 12:09:29AM +, Chris Narkiewicz wrote:
> I'm running Monit to look at few services on OpenBSD 6.3 and I'm logging
> to syslog.
> 
> In my /var/log/messages I routinely observe the following log entries:
> 
> Oct 27 22:00:01 alpha syslogd[97814]: restart
> Oct 27 22:00:02 alpha monit: vfprintf %s NULL in "%s"
> Oct 27 22:00:32 alpha last message repeated 11 times
> Oct 27 22:02:32 alpha last message repeated 24 times
> Oct 27 22:12:33 alpha last message repeated 120 times
> Oct 27 22:22:33 alpha last message repeated 120 times
> ...and so on...
> 
> Monit is installed from ports.
> 
> $ monit --version
> This is Monit version 5.25.1

Can you upgrade to OpenBSD 6.4 and see whether the problem persists?
After OpenBSD 6.3 was released, a patch was backported to the monit
port [1] (and subsequently removed because the monit port was upgraded
to a new upstream version) which seems to solve the same problem that
you are experiencing.

Thanks,
Caspar Schutijser

[1] 
https://cvsweb.openbsd.org/ports/sysutils/monit/patches/Attic/patch-src_process_ProcessTree_c



Monit logs vfprintf %s NULL in "%s" all the time

2018-10-28 Thread Chris Narkiewicz

I'm running Monit to look at few services on OpenBSD 6.3 and I'm logging
to syslog.

In my /var/log/messages I routinely observe the following log entries:

Oct 27 22:00:01 alpha syslogd[97814]: restart
Oct 27 22:00:02 alpha monit: vfprintf %s NULL in "%s"
Oct 27 22:00:32 alpha last message repeated 11 times
Oct 27 22:02:32 alpha last message repeated 24 times
Oct 27 22:12:33 alpha last message repeated 120 times
Oct 27 22:22:33 alpha last message repeated 120 times
...and so on...

Monit is installed from ports.

$ monit --version
This is Monit version 5.25.1
Built with ssl, with ipv6, with compression, without pam and with large 
files


Does anybody know what does it mean? This log is not very useful, but
it looks like some kind of bug.

Best regards,
Chris