I use Nagios to monitor various servers on my LAN and on clients' networks. I'm having problems with the check_nntp plugin as of upgrading my Nagios port on 2003-08-27:
[EMAIL PROTECTED]:~# /usr/local/libexec/nagios/check_tcp -H virtual2 -p 119 TCP OK - 0.004 second response time on port 119|time= 0.004 [EMAIL PROTECTED]:~# /usr/local/libexec/nagios/check_nntp -H virtual2 Bus error (core dumped) `check_nntp' is actually a symlink to `check_tcp'; the relevant portion of check_tcp.c is: else if (strstr (argv[0], "check_nntp")) { asprintf (&progname, "check_nntp"); asprintf (&SERVICE, "NNTP"); SEND = NULL; EXPECT = NULL; server_expect = realloc (server_expect, ++server_expect_count); asprintf (&server_expect[server_expect_count - 1], "200"); server_expect = realloc (server_expect, ++server_expect_count); asprintf (&server_expect[server_expect_count - 1], "201"); asprintf (&QUIT, "QUIT\r\n"); PROTOCOL = TCP_PROTOCOL; PORT = 119; } I know that bus errors usually aren't Good Things, but I'm only seeing them with this one program, and only when it's called as `check_nntp'. Before I submit a PR, is there anything on my system that could cause that error? -- Kirk Strauser
pgp00000.pgp
Description: PGP signature