Hey,
Just an idea. I once had exact same problem and the reason was, that
'Error_Log' wasn't defined in perfparse.cfg, there was some other name
given for it. Or the perfparse.sh script searched for other errorlog
name, don't remember exactly.
HTH
Viljo
Ben Clewett wrote:
> Hi Barry,
>
> Sorry to hear things are not working so well for you. I have moved this
> posing to perfparse-users where more users may be able to help you
> identify this problem.
>
> One reason I can think of it that the script is doing something, it's
> just taking a long time. I guess you are using Method 1 described in:
>
> http://perfparse.sourceforge.net/docs.php#id265256
>
> Can you extract the perfparse command from the perfparse.sh and try
> running it manually with the -s and -r flags. This will be something like:
>
> $ /usr/local/nagios/bin/perfparse-log2db -s -r
>
> Can you tell me what is returned?
>
> Ben
>
>
> barry maclean wrote:
>
>> I'm trying to use perfparse with nagios 1.2 on redhat enterprise 3
>> without great success.
>>
>> When I try and run the script perfparse.sh I get the following error.
>>
>> [root@localhost bin]# ./perfparse.sh
>> Error_Log undefined in /usr/local/nagios/etc/perfparse.cfg
>> Cannot continue
>> [root@localhost bin]#
>>
>> I then create a perfparse.log and path it in the perfparse.cfg when
>> the script just hangs and doesn't do anything.
|