Adding Solaris 11 servers

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
SamH
Posts: 4
Joined: Mon Jul 09, 2018 1:42 am

Adding Solaris 11 servers

Post by SamH »

Hi all,

I'm having some trouble add my Solaris 11 servers to the log server.

Using syslog on the default port 514. I've edited syslog.conf in /etc/ and added

Code: Select all

*.err;kern.debug;daemon.notice;mail.crit                @179.54.211.192
Used svcadm restart svc:/system/system-log:default to restart the service.

On the log server, I've gone into configure/instance/global and added

Code: Select all

tcp {
    port => 514
    type => syslog
}
udp {
    port => 514
    type => syslog
}
in the inputs. Saved and "apply configuration". All came back with a green tick. Port 514 has been opened on the firewall for both UDP and TCp but non of the logs are coming through.

Both Solaris server and log server can ping each other, however I can not telnet on for 514 from the Solaris server, but can on 6514.
Any one able to help?
455157
Posts: 47
Joined: Mon Sep 10, 2012 7:35 pm

Re: Adding Solaris 11 servers

Post by 455157 »

Hi SamH,

Since you're using privileged port 514, have you had a chance to take one of the steps outlined here:

https://support.nagios.com/kb/article/n ... s-302.html
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Adding Solaris 11 servers

Post by cdienger »

@samH, check out the document that @455157 pointed out. The document covers the most likely cause of the behavior you're describing.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
SamH
Posts: 4
Joined: Mon Jul 09, 2018 1:42 am

Re: Adding Solaris 11 servers

Post by SamH »

Thank you both, Got through that doc and post back if there are any problems
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Adding Solaris 11 servers

Post by cdienger »

Sounds good!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
SamH
Posts: 4
Joined: Mon Jul 09, 2018 1:42 am

Re: Adding Solaris 11 servers

Post by SamH »

Just through I'd update this thread.

After reading with the doc @455157 posted (thanks) I decided not to go down this road, due to not being able to have servers using ports below the 1000 range showing in the main dashboard count. Reporting would have just been a headache.

So after playing around with the syslog.conf file I got it to send out on 5544:

Code: Select all

*.err;kern.debug;daemon.notice;mail.crit                     @172.24.228.92:5544
*.err;kern.notice;auth.notice                                        @172.24.228.92:5544
*.err;kern.debug;daemon.notice;auth.none;mail.crit     @172.24.228.92:5544
*.err;kern.debug;daemon.notice;mail.crit                      @172.24.228.92:5544
Don't forget to restart the service with:

Code: Select all

svcadm restart system-log:default
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Adding Solaris 11 servers

Post by cdienger »

Thanks for the follow up! Were there any additional questions or can we lock this one up?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
SamH
Posts: 4
Joined: Mon Jul 09, 2018 1:42 am

Re: Adding Solaris 11 servers

Post by SamH »

No probz. Yea lock it up
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Adding Solaris 11 servers

Post by scottwilkerson »

SamH wrote:No probz. Yea lock it up
Great!

Locking
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked