SSH Access

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
rayc
Posts: 6
Joined: Thu Jun 23, 2016 8:29 pm

SSH Access

Post 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.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: SSH Access

Post by eloyd »

If you installed the OVF for Log Server, the default root password is "nagiosls"
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: SSH Access

Post by rkennedy »

Thanks @eloyd!

@rayc - he is correct, the root password is nagiosls -- let us know if you have any further questions.
Former Nagios Employee
rayc
Posts: 6
Joined: Thu Jun 23, 2016 8:29 pm

Re: SSH Access

Post 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.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: SSH Access

Post 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.
Former Nagios Employee.
me.
rayc
Posts: 6
Joined: Thu Jun 23, 2016 8:29 pm

Re: SSH Access

Post 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. :)
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: SSH Access

Post by rkennedy »

Awesome, are we good to mark this thread as resolved then?
Former Nagios Employee
rayc
Posts: 6
Joined: Thu Jun 23, 2016 8:29 pm

Re: SSH Access

Post by rayc »

Yes sorry for the late reply.
Locked