Hi,
I have to perform Nagios log server implementation. Let me share my objective.
I am having two servers Say server1 and server2. In Server1 I have installed nagios log server. Things which need to be done is
1. I just want to track the Linux logs of server1 in Nagios log server user interface
2. And logs of Server2 has been tracked from Server1 nagios log server user interface.
So in order to achieve first one,
I have installed nagios log server with the manual installation instructions document available in nagios forum. I am able to login to nagios log server user interface successfully. And I have configured home page ->Linux source ->script. But still I couldn't able to see anything in my dashboard.
Logs of server1 is not displaying in Dashboard.I am getting "No Dashboard The dashboard you had selected no longer exists. Try loading a different dashboard. 1 alert(s)
"
Whether anything/any configuration has to be done in additional to get the server1 logs in dashboard. Do I need to install any plugins to achieve this. If anything is missing , please let me know
For second one,
Do I need to install nagios log server in Server2 also.?If nagios log server has to be installed in server 2 also means, after installation I will get new nagios log server url for server 2 also.
how to make it connect to server1 to get the logs of server2 from server1.
I am new to this Nagios. Your help is much appreciated.
Nagios log server implementation
Re: Nagios log server implementation
Can you post a screenshot?Monica7 wrote:Logs of server1 is not displaying in Dashboard.I am getting "No Dashboard The dashboard you had selected no longer exists. Try loading a different dashboard. 1 alert(s)
"
No.Monica7 wrote:Do I need to install nagios log server in Server2 also.?
Rsyslog should just send the logs to Server1 after you run the configuration script on it.Monica7 wrote:how to make it connect to server1 to get the logs of server2 from server1.
Former Nagios Employee.
me.
me.
Re: Nagios log server implementation
Hi,
Please find the attached screenshot for logs not coming issue.
Monica7 wrote:
how to make it connect to server1 to get the logs of server2 from server1.
Rsyslog should just send the logs to Server1 after you run the configuration script on it.
Regarding the above line, Configuration script means which script you mean here. Configuration script in which server? Server1 or server 2?
Please find the attached screenshot for logs not coming issue.
Monica7 wrote:
how to make it connect to server1 to get the logs of server2 from server1.
Rsyslog should just send the logs to Server1 after you run the configuration script on it.
Regarding the above line, Configuration script means which script you mean here. Configuration script in which server? Server1 or server 2?
You do not have the required permissions to view the files attached to this post.
Re: Nagios log server implementation
In your Nagios Log Server, as shown in your first screenshot, you run that script on the server you want to receive the logs from.
Can you show me a screenshot of what shows up when you hit the 'Change' button to see a list of your dashboards?
Can you show me a screenshot of what shows up when you hit the 'Change' button to see a list of your dashboards?
Former Nagios Employee.
me.
me.
Re: Nagios log server implementation
Hi,
I have attached the screenshot when hit the change button in dashboard page.
You mean to say that, if I want to receive the logs of server2 in server1 nagios log server user interface. I have to run the below content in server2. And we don't want to install nagios log server in server2. Am I right?
curl -s -O http://SERVER1_IP/nagioslogserver/scripts/setup-linux.sh
sudo bash setup-linux.sh -s SERVER1_IP-p 5544
the ip which is highlighted above is the IP address of server1. do I need to change it to IP address of server2, since I am running in server2? Please confirm
I have attached the screenshot when hit the change button in dashboard page.
In your Nagios Log Server, as shown in your first screenshot, you run that script on the server you want to receive the logs from.
You mean to say that, if I want to receive the logs of server2 in server1 nagios log server user interface. I have to run the below content in server2. And we don't want to install nagios log server in server2. Am I right?
curl -s -O http://SERVER1_IP/nagioslogserver/scripts/setup-linux.sh
sudo bash setup-linux.sh -s SERVER1_IP-p 5544
the ip which is highlighted above is the IP address of server1. do I need to change it to IP address of server2, since I am running in server2? Please confirm
You do not have the required permissions to view the files attached to this post.
Re: Nagios log server implementation
Yes.Monica7 wrote:Am I right?
No.Monica7 wrote: do I need to change it to IP address of server2, since I am running in server2?
Former Nagios Employee.
me.
me.
Re: Nagios log server implementation
After running this command in Server2.
curl -s -O http://SERVER1_IP/nagioslogserver/scripts/setup-linux.sh
sudo bash setup-linux.sh -s SERVER1_IP-p 5544
Will I get my Server2 host name in Server 1 nagios log server user interface. How can I check whether server2 has been monitored by server1?
curl -s -O http://SERVER1_IP/nagioslogserver/scripts/setup-linux.sh
sudo bash setup-linux.sh -s SERVER1_IP-p 5544
Will I get my Server2 host name in Server 1 nagios log server user interface. How can I check whether server2 has been monitored by server1?
Re: Nagios log server implementation
Hi,
Do we have any update on the Dashboard issue which is mentioned in this ticket.
Do we have any update on the Dashboard issue which is mentioned in this ticket.
Re: Nagios log server implementation
I imagine it has something to do with ES exiting as mentioned in your other forum post. The dashboards are saved inside of ES.
Former Nagios Employee.
me.
me.
Re: Nagios log server implementation
Hi,
I have run the below commands in server2 in order to track the logs of server2 in server1(nagioslogserver is installed in this server)
curl -s -O http://SERVER1_IP/nagioslogserver/scripts/setup-linux.sh
sudo bash setup-linux.sh -s SERVER1_IP-p 5544
But I am not getting any logs of server2 in dashboard page of Nagios user interface. Nothing is displayed in Dashboard page:(.And moreover server2 and server1 hostnames are not available in /usr/local/nagioslogserver/var/cluster_hosts file.
Whether any configuration needs to be done to get the IPs of the server which we want to monitor in cluster_hosts file. Please guide me on this and help me on resolving dashboard issue.
Elastic search and logstash are running in Linux. Those core services are not seems to be up in nagios log server user interface.
I have run the below commands in server2 in order to track the logs of server2 in server1(nagioslogserver is installed in this server)
curl -s -O http://SERVER1_IP/nagioslogserver/scripts/setup-linux.sh
sudo bash setup-linux.sh -s SERVER1_IP-p 5544
But I am not getting any logs of server2 in dashboard page of Nagios user interface. Nothing is displayed in Dashboard page:(.And moreover server2 and server1 hostnames are not available in /usr/local/nagioslogserver/var/cluster_hosts file.
Whether any configuration needs to be done to get the IPs of the server which we want to monitor in cluster_hosts file. Please guide me on this and help me on resolving dashboard issue.
Elastic search and logstash are running in Linux. Those core services are not seems to be up in nagios log server user interface.