I hacked up the
standard ping.monitor to send heartbeats to our in-house monitoring front-end
upon a successful ping. We started having problems recently with mon not
getting the heartbeats out in a timely manner. I turned on the debug
option and started digging through the log. I noticed that usually, once
per second, there's an entry in the log that's just a number, and it increments
by one...usually every second...
usually.
So, on to my
question: Is the counter in the debug log SUPPOSED to count up once per
second? If it doesn't, is that a symptom of too much load on the
system?
# tail -f
/var/log/mon | egrep 'mon\[[0-9]+\]: [0-9]+ '
Jul 14 12:58:03
ops-inet-mon mon[3430]: 222348
Jul 14 12:58:05 ops-inet-mon mon[3430]: 222349
Jul 14 12:58:06 ops-inet-mon mon[3430]: 222350
Jul 14 12:58:09 ops-inet-mon mon[3430]: 222351
Jul 14 12:58:10 ops-inet-mon mon[3430]: 222352
Jul 14 12:58:13 ops-inet-mon mon[3430]: 222353
Jul 14 12:58:16 ops-inet-mon mon[3430]: 222354
Jul 14 12:58:20 ops-inet-mon mon[3430]: 222355
Jul 14 12:58:24 ops-inet-mon mon[3430]: 222356
Jul 14 12:58:29 ops-inet-mon mon[3430]: 222357
Jul 14 12:58:33 ops-inet-mon mon[3430]: 222358
Jul 14 12:58:05 ops-inet-mon mon[3430]: 222349
Jul 14 12:58:06 ops-inet-mon mon[3430]: 222350
Jul 14 12:58:09 ops-inet-mon mon[3430]: 222351
Jul 14 12:58:10 ops-inet-mon mon[3430]: 222352
Jul 14 12:58:13 ops-inet-mon mon[3430]: 222353
Jul 14 12:58:16 ops-inet-mon mon[3430]: 222354
Jul 14 12:58:20 ops-inet-mon mon[3430]: 222355
Jul 14 12:58:24 ops-inet-mon mon[3430]: 222356
Jul 14 12:58:29 ops-inet-mon mon[3430]: 222357
Jul 14 12:58:33 ops-inet-mon mon[3430]: 222358
Sorry if this has
been covered, but I couldn't find anything in the mailing list or man
page...
_______________________________________________ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon