From: Arnar T. <ar...@ca...> - 2004-08-27 18:55:27
|
Hello I'm having a small problem with perfmon I've followed the instructions on http://perfparse.sourceforge.net/docs.php to the letter... I've set up the crontab job as: # Run PerfParse every 15 minutes to update Nagios graphs. 15 * * * * /usr/local/nagios/bin/perfparse.sh but all I get is the following and no data is building upp in the DB. why ? what ? why???? [nagios@black148 nagios]$ /usr/local/nagios/bin/perfparse.sh /usr/local/nagios/bin/perfparse: Please use --delete-service-log instead of --delete Usage: /usr/local/nagios/bin/perfparse [[-U | --user] user] [[-P | --password] password] [[-D | --database] database] [-H database_host] [[-c | --config-file] config_file_name] [-n no_of_lines] [-s] [-l logfile] [-n no_of_lines] [-s] [--serviceperf-log logfile] [--delete-service-log] [--host-log logfile] [--delete-host-log] [-r | --report] [--no-raw] [--del-old n] [-v | --version] [-h | --help] -U -P -D -H Database Parameters. -l Short option for --serviceperf-log --serviceperf-log Location of the serviceperf.log file. --host-log Location of the serviceperf.log file. --delete-service-log Truncate log file to zero length on exit. --delete-host-log Truncate log file to zero length on exit. ** Need the location of nagios.lock in the config file ** -n Parse only n lines, then stop. --no-raw Do not log the raw data. Not used by perfparse. This containes the original message from plugin. --del-old n Delete data from database more than n days old. -s Silent. Do not display progress. -r --report Displays a report of activity on exit. -v --version Print version and exit. -h --help Print this help exit. Using default configuration file '//usr/local/nagios/etc/perfparse.cfg' /usr/local/nagios/bin/perfparse --show_config Show the configuration --=20 Kve=C3=B0ja Arnar =C3=9E=C3=B3rarinsson T=C3=B6lvunarfr=C3=A6=C3=B0ingur Kerfisdeild S=C3=ADmi : 569 4289 ---------------------- Flugm=C3=A1lastj=C3=B3rn =C3=8Dslands Reykjav=C3=ADkurflugv=C3=B6llur 121 Reykjav=C3=ADk http://www.caa.is ---------------------- |