Page 1 of 1
SSH Access
Posted: Fri Jun 24, 2016 12:44 am
by rayc
I am a newbee to the log server would like to ssh into to the server to view log files, please can you advise where I can add a ssh user or alternatively view the existing user.
Thanks in advance.
Re: SSH Access
Posted: Fri Jun 24, 2016 9:13 am
by eloyd
If you installed the OVF for Log Server, the default root password is "nagiosls"
Re: SSH Access
Posted: Fri Jun 24, 2016 9:25 am
by rkennedy
Thanks @eloyd!
@rayc - he is correct, the root password is nagiosls -- let us know if you have any further questions.
Re: SSH Access
Posted: Sun Jun 26, 2016 6:51 pm
by rayc
Hi Guys,
Thanks for the quick responses, I have now gained access via ssh.
I have another question re checking if Nagios is receiving logs from my test router,from the ssh command line.
I have set up the Cisco router with the following config;
logging trap debugging
logging source-interface GigabitEthernet0/0
logging host 10.1.50.6
logging host 10.1.50.6 transport udp port 5544
To ensure a constant stream of logs I have set up a SIP messaging debug , I can see the generated logs at the Cisco end. However from the Nagios Log Server dashboard I an only see logs from 127.0.0.1 so far. By reading reading previous posts on this forum I see that there are a few commands that I can run from the server command line to confirm whether the log stream is reaching our Nagios LS. Is there a document that I can follow to assist in this process?
Thanks in advance.
Re: SSH Access
Posted: Mon Jun 27, 2016 9:26 am
by hsmith
Can you look at /var/log/logstash/logstash.log and see if there is anything happening in there? Your logs from router could be getting dropped if it doesn't like the syslog format they use. If you do a tail -f /var/log/logstash/logstash.log and see that is noisy, let us know and I can provide a fix.
Re: SSH Access
Posted: Tue Jun 28, 2016 7:35 am
by rayc
Many thanks for the reply, I found a a filter to fix the Syslog format elsewhere on this site. It is now logging fine.

Re: SSH Access
Posted: Tue Jun 28, 2016 10:32 am
by rkennedy
Awesome, are we good to mark this thread as resolved then?
Re: SSH Access
Posted: Mon Jul 11, 2016 8:26 pm
by rayc
Yes sorry for the late reply.