On Tuesday, 12 August 2014 11:48:18 UTC+1, Andreas Fantides wrote:
>
> Hi Dan, and thanks for the suggestion. How do I run manually?
>
> This is my expect script, I can't see anything wrong but am hoping someone 
> could check it over for me.
>
>
>
> On Monday, 11 August 2014 17:49:28 UTC+1, dan (ddpbsd) wrote:
>
>> On Sun, Aug 10, 2014 at 9:20 AM, Andreas Fantides 
>> <[email protected]> wrote: 
>> > I've been really struggling to get agentless monitoring set up and 
>> working 
>> > with HP Procurve 2524 switches. 
>> > 
>> > I have done the following: 
>> > 
>> > ·         Enabled agentless on the Ossec server. 
>> > 
>> > ·         Registered the switch using a password like this 
>> > [email protected] Password (I am assuming that you place the 
>> user/login 
>> > name to ssh into the switch before the @, and the password is the ssh 
>> > password) 
>> > 
>> > ·         Set Ossec config for ssh_generic_diff, with 
>> [email protected] as 
>> > the host, argument is show config 
>> > 
>> > ·         I have enabled logging to my server on the switch 
>> > 
>> > ·         Added my server as an ip-authorised manager on the switch 
>> > 
>> > ·         Enabled ssh on the switch (can PuTTy in) 
>> > 
>> > Yet after all this agentless doesn't want to work and in the ossec.log 
>> it 
>> > says test passed for ssh_generic_diff, but then shows that agentless 
>> times 
>> > out and wont connect to the switch. 
>> > 
>> > Can anyone help? 
>> > 
>>
>> Try running it manually. I'm guessing the login doesn't quite look the 
>> way "expect" expects. 
>> I don't know a whole lot about it, but I think the list could help to 
>> get it working. Knowing what the SSH login looks like, and what 
>> commands you need run would help. 
>>
>> > -- 
>> > 
>> > --- 
>> > You received this message because you are subscribed to the Google 
>> Groups 
>> > "ossec-list" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an 
>> > email to [email protected]. 
>> > For more options, visit https://groups.google.com/d/optout. 
>>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to