First off I am a linux / CentOS newbies so go easy on me. Just curious if anyone out there is running Nagios on CentOS 4.5. I have now installed it on a second server due to issue but the issues have come back to haunt me.
The OS is running on an IBM NetVista. Every thing in both installs is identical as are the problems. Once I have Nagios up and monitoring every thing hangs. Even a terminal will hang before it finally just locks up. The only thing that brings it back is a reboot. Even stopping the services doesn't work. Disk space seems fine and even during the hangs there doesn't seems to be anything taking up a tremendous amount of resources. After a reboot every thing works fine for several hours. Any guesses or suggestions?
Jason Ross
Jason Ross wrote:
First off I am a linux / CentOS newbies so go easy on me. Just curious if anyone out there is running Nagios on CentOS 4.5. I have now installed it on a second server due to issue but the issues have come back to haunt me.
The OS is running on an IBM NetVista. Every thing in both installs is identical as are the problems. Once I have Nagios up and monitoring every thing hangs. Even a terminal will hang before it finally just locks up. The only thing that brings it back is a reboot. Even stopping the services doesn't work. Disk space seems fine and even during the hangs there doesn't seems to be anything taking up a tremendous amount of resources. After a reboot every thing works fine for several hours. Any guesses or suggestions?
I am running on a C4 server here and haven;t experienced any issues with it.
What version do you have installed and did you built it yourself or use a repo?
I used rpmforge for the deps but built nagios by hand using the docs on their site.
Rick
First off I am a linux / CentOS newbies so go easy on me. Just curious if anyone out there is running Nagios on CentOS 4.5. I have now installed it on a second server due to issue but the issues have come back to haunt me.
The OS is running on an IBM NetVista. Every thing in both installs is identical as are the problems. Once I have Nagios up and monitoring every thing hangs. Even a terminal will hang before it finally just locks up. The only thing that brings it back is a reboot. Even stopping the services doesn't work. Disk space seems fine and even during the hangs there doesn't seems to be anything taking up a tremendous amount of resources. After a reboot every thing works fine for several hours. Any guesses or suggestions?
i have had load issues on nagios boxes that were built with embedded perl i think, it was quite a long time ago and that bug may have been fixed. That made the load on a box continue to rise until nagios was restarted.
Hmm, could i remove then reinstall perl or did you have to rebuild the server? -jason
Tom Brown wrote:
First off I am a linux / CentOS newbies so go easy on me. Just curious if anyone out there is running Nagios on CentOS 4.5. I have now installed it on a second server due to issue but the issues have come back to haunt me.
The OS is running on an IBM NetVista. Every thing in both installs is identical as are the problems. Once I have Nagios up and monitoring every thing hangs. Even a terminal will hang before it finally just locks up. The only thing that brings it back is a reboot. Even stopping the services doesn't work. Disk space seems fine and even during the hangs there doesn't seems to be anything taking up a tremendous amount of resources. After a reboot every thing works fine for several hours. Any guesses or suggestions?
i have had load issues on nagios boxes that were built with embedded perl i think, it was quite a long time ago and that bug may have been fixed. That made the load on a box continue to rise until nagios was restarted.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I couldn't find any for 3.0
-jason
Tom Brown wrote:
Hmm, could i remove then reinstall perl or did you have to rebuild the server?
no its a nagios thing not a perl problem - so i just recompiled my nagios, although this was when rpm's were not available so i rolled my own. Why not try using some of the pre rolled rpm's ??
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Nov 14, 2007 5:09 PM, Jason Ross jross@medvoice.com wrote:
First off I am a linux / CentOS newbies so go easy on me. Just curious if anyone out there is running Nagios on CentOS 4.5. I have now installed it on a second server due to issue but the issues have come back to haunt me.
The OS is running on an IBM NetVista. Every thing in both installs is identical as are the problems. Once I have Nagios up and monitoring every thing hangs. Even a terminal will hang before it finally just locks up. The only thing that brings it back is a reboot. Even stopping the services doesn't work. Disk space seems fine and even during the hangs there doesn't seems to be anything taking up a tremendous amount of resources. After a reboot every thing works fine for several hours. Any guesses or suggestions?
Jason Ross
Does it had unusual hard disk activities when you rebooted it ? Can you check if you don't have very very big log files somewhere ? More than 1Go or 100Mo for a compressed one ? To find them use
# find /var -size +100M
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Nov 14, 2007 5:09 PM, Jason Ross jross@medvoice.com wrote:
No dice. The entire /var dir is less than 120 megs, and there are no large logs.
Okay, lets back up a bit here, because nagios is definitely not the easiest of applications. Dag/RPMForge maintain rpm packages for nagios, which eliminate 99% of the setup headache. Those packages handle permissions, user creation, etc. Mostly all you have to do is configure the monitoring portion of it, and edit /etc/httpd/conf.d/nagios.conf to allow access as you see fit.
There's a wiki how-to on wiki.centos.org at http://wiki.centos.org/HowTos/Nagios and while it references older versions of nagios, the instructions still hold true for the 2.x tree.
Note that the 3.x tree is still in beta, and has several issues which may keep new users from getting it working properly.
On Wed, 2007-11-14 at 17:05 -0700, Jason Ross wrote:
I tried the rpms but I had already used 3.0 and so it was pretty confusing. I followed the quickstart guide for fedora on the nagios site with only minor changes.
Nagios is up and running, i have it checking linux servers, windows servers, firewalls and a web sensor. I even have it emailing me through my postfix box.
I just have issues with lockups, in truth it could be some thing other than Nagios however, all my other servers run CentOS 4.5 and this one is the only one with the issue, and i have tried it on 2 separate servers, so i assume it is nagios.
Is there a methodology for properly diagnosing issue with nagios and thus eliminating it as the cause??
Jim Perrin wrote:
On Nov 14, 2007 5:09 PM, Jason Ross jross@medvoice.com wrote:
No dice. The entire /var dir is less than 120 megs, and there are no large logs.
Okay, lets back up a bit here, because nagios is definitely not the easiest of applications. Dag/RPMForge maintain rpm packages for nagios, which eliminate 99% of the setup headache. Those packages handle permissions, user creation, etc. Mostly all you have to do is configure the monitoring portion of it, and edit /etc/httpd/conf.d/nagios.conf to allow access as you see fit.
There's a wiki how-to on wiki.centos.org at http://wiki.centos.org/HowTos/Nagios and while it references older versions of nagios, the instructions still hold true for the 2.x tree.
I have been running with these packages for 3 years- no worries. On Centos since 3.x with nagios 2.x
Works great!
Note that the 3.x tree is still in beta, and has several issues which may keep new users from getting it working properly.
Ditto!