|
From: <nu...@ts...> - 2005-10-17 14:55:42
|
The mysql database was having problems for over a day. In the meantime,
Nagios was still executing and I received several messages in nagios.log
and messages. Can I add entries that are a few days old and not
compromise the database? Any other gotchas?
I was going to execute the following command that the log shows. See
example below:
** Message **
Oct 13 03:49:40 oma3l003 nagios: Warning: Service performance data command
'/usr/bin/printf "%b" "1129193374\toma3s023\tOS - Load Average\tOK - load
average: 1.25, 0.85, 0.73\tOK\tload1=1.253906;10.000000;30.000000;0.000000
load5=0.847656;10.000000;20.000000;0.000000
load15=0.726563;10.000000;15.000000;0.000000\n" |
/usr/local/nagios//bin/perfparse-log2mysql -c
/usr/local/nagios//etc/perfparse.cfg' for service 'OS - Load Average' on
host 'oma3s023' timed out after 5 seconds
** Command **
/usr/bin/printf "%b" "1129193374\toma3s023\tOS - Load Average\tOK - load
average: 1.25, 0.85, 0.73\tOK\tload1=1.253906;10.000000;30.000000;0.000000
load5=0.847656;10.000000;20.000000;0.000000
load15=0.726563;10.000000;15.000000;0.000000\n" |
/usr/local/nagios//bin/perfparse-log2mysql -c
/usr/local/nagios//etc/perfparse.cfg
Steve Nuffer
_________________________________________________________________________________________________
Transaction Systems Architects, Inc. 330 S.
108th Ave. Omaha, NE 68154-2684
This e-mail message and any attachments may contain confidential,
proprietary or non-public information. This information
is intended solely for the designated recipient(s). If an addressing or
transmission error has misdirected this e-mail, please
notify the sender immediately and destroy this e-mail. Any review,
dissemination, use or reliance upon this information by
unintended recipients is prohibited. Any opinions expressed in this
e-mail are those of the author personally. |