|
From: Yves M. <yme...@li...> - 2004-10-25 09:08:19
|
Acknowledged. Thanks !
I'm working on Philipp Sand's changes to the install guide. Watch for my =
next answer to
him here to know where to get the updated install guide :)
Yves
> All,
>
> I tried to get "method 2" to work, as described in the install_guide fo=
und
> in the /doc directory.
> After a few hours getting nowhere, I found out a small but important de=
tail.
> The doc reads:
> <quote>
> Method 2 : Launch perfparse-log2db
> Edit misccommands.cfg and add the following :
>
> define command{
> command_name process-service-perfdata
> command_line /usr/bin/printf "%b"
> "$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$SERVICESTATE$\t$PERFDAT=
A$" |
> $USER2$/bin/perfparse-log2db -c $USER2$/etc/perfparse.cfg
> }
> </quote>
>
> Unfortunately, the 'printf' command is missing a '\n' causing pp to nev=
er
> store the line. The correct entry is:
>
> define command{
> command_name process-service-perfdata
> command_line /usr/bin/printf "%b"
> "$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$OUTPUT$\t$SERVICESTATE$\t$PERFDAT=
A$\n"
> | $USER2$/bin/perfparse-log2db -c $USER2$/etc/perfparse.cfg
> }
>
> Happy perfparsing....
> Tim
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJourna=
l
> Use IT products in your business? Tell us what you think of them. Give =
us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out =
more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> Perfparse-users mailing list
> Per...@li...
> https://lists.sourceforge.net/lists/listinfo/perfparse-users
>
>
--=20
- Homepage - http://ymettier.free.fr - http://www.logicacmg.com -
- GPG key - http://ymettier.free.fr/gpg.txt -
- Maitretarot - http://www.nongnu.org/maitretarot/ -
- Perfparse - http://perfparse.sf.net/ -
|