You will need to stop tomcat before starting apache2 as they are both trying to use port 80.root@nagios:/tmp/nagios-4.0.4# sudo service apache2 start
* Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
Where to start!?
Re: Where to start!?
Former Nagios Employee
-
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
Its up and running
I see there is an update available - from 4.0.4 to 4.1.1 - is there a way to do this right from the command line?
I see there is an update available - from 4.0.4 to 4.1.1 - is there a way to do this right from the command line?
Re: Where to start!?
These instructions are for CentOS, but the general idea should still apply: http://www.box293.com/guides/upgrading- ... centos-6-x
Former Nagios Employee.
me.
me.
-
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
Thank you that worked great!
So now the really hard part
How do I start the configuration of monitoring something? Which documentation should I move to now?
Thanks
So now the really hard part
How do I start the configuration of monitoring something? Which documentation should I move to now?
Thanks
Re: Where to start!?
https://assets.nagios.com/downloads/nag ... n/toc.html
Seems appropriate to start at "Advice for Beginners"....
I wish I knew of this flowchart of all the related config files when I started...
http://www.the-tech-tutorial.com/wp-con ... config.png
....that flowchart stems from this helpful tutorial:
http://www.the-tech-tutorial.com/adding ... to-nagios/
-- hope this helps --
Seems appropriate to start at "Advice for Beginners"....
I wish I knew of this flowchart of all the related config files when I started...
http://www.the-tech-tutorial.com/wp-con ... config.png
....that flowchart stems from this helpful tutorial:
http://www.the-tech-tutorial.com/adding ... to-nagios/
-- hope this helps --
Be sure to check out the Knowledgebase for helpful articles and solutions!
-
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
Thank you! I am going to go through those and hopefully be able to add a client!
Really dumb question... is there something I need to install on the host I want to monitor to be able to do this?
Thanks
Really dumb question... is there something I need to install on the host I want to monitor to be able to do this?
Thanks
Re: Where to start!?
To confirm, did you also install / compile the Nagios Plugins (on the Nagios machine)?trafalgargirl wrote:Thank you! I am going to go through those and hopefully be able to add a client!
Really dumb question... is there something I need to install on the host I want to monitor to be able to do this?
Thanks
No question is dumb! We're here to help. What type of check are you trying to monitor on the client machine? Some checks will require an agent installed on the client machine, where others (such as ping, check_http, etc) can check external services.
Former Nagios Employee
-
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
Hi there
Yes I did install / compile nagios the plugins.
The checks we would like to do right now are CPU, Memory, Current Load, Disk Space, Swap Usage, Total Processes etc. just the basics really.
Is it possible to change the location of nagios to have it at the root? IE: nagios.domain-name.com instead of nagios.domain-name.com/nagios?
thanks
Yes I did install / compile nagios the plugins.
The checks we would like to do right now are CPU, Memory, Current Load, Disk Space, Swap Usage, Total Processes etc. just the basics really.
Is it possible to change the location of nagios to have it at the root? IE: nagios.domain-name.com instead of nagios.domain-name.com/nagios?
thanks
Re: Where to start!?
Are you looking to check a windows host, or a linux host?
- Windows will use NSClient++, with check_nrpe - https://assets.nagios.com/downloads/nag ... ios-XI.pdf
- Linux will use NRPE - https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Yes, you would just need to modify the apache vhost configuration to have to not use /nagios/. From there, you should be able to just point the DNS of nagios.domain.com to your servers IP.
- Windows will use NSClient++, with check_nrpe - https://assets.nagios.com/downloads/nag ... ios-XI.pdf
- Linux will use NRPE - https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Yes, you would just need to modify the apache vhost configuration to have to not use /nagios/. From there, you should be able to just point the DNS of nagios.domain.com to your servers IP.
Former Nagios Employee
-
- Posts: 80
- Joined: Tue Feb 09, 2016 12:17 pm
- Location: Montreal, Quebec, Canada
Re: Where to start!?
All of our servers that we would monitor are linux bases. There might be one internal windows server but right now that is not high priority. The high priority ones are the client servers.
I have already set up nagios.domainname.com - just wanted to remove the /nagios to make things cleaner.
I have already set up nagios.domainname.com - just wanted to remove the /nagios to make things cleaner.