Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have spent a good week trying to install nagmin because it really looks usefull. It really seems a tool that anyone would like to have.
First of all, i would like to point out that the installation of the software is a really tedious process, because of the installation and configuration of all the requeriments that it has. i have already done every possible fill of needs, by satisfying every dependency that nagmin would require, mentioning: nagios with database support, apache, php, rrdtool, nmap, perl modules, snmp, dg, and any other thing that would come up while i was in the process of compilation and installation.
After Nagios was installed, i started the process for the compilation of nagmin. First of all, i don't know if you hace realized, but the latest version u guys have doesnt include the setup script you mention in the document for the installation. so i downloaded the previous version of nagmin and used its setup to compile the latest version. after again satisfying every dependencies that the software requiered i finally got to compile it (trust me, FINALLY). but funny things started to happen.
After the compilation, in webmin, mysql no longer shows the users list. if you click on users the list comes emtpy. I can still see the databases and the tables within them, but if i click any of the tables, for example: the command table in the nagios database, i get this message:
Table Command in database nagios
But, let's assume thats not a problem... the most interesting part is that if in webmin i go to the nagmin module, i get to see the database, but if i click it, interesting enough nothing comes up, just a browser error saying that the page cannot be displayed.
I checked the edit_dbase.cgi to see if anything unusual could be seen, but found nothing..
then i go to my nagios site //localhost/nagios/ and it comes up well, but when i click on any link, i get this error:
Error: Could not read host and service status information!
The most common cause of this error message (especially for new users), is the fact that Nagios is not actually running. If Nagios is indeed not running, this is a normal error message. It simply indicates that the CGIs could not obtain the current status of hosts and services that are being monitored. If you've just installed things, make sure you read the documentation on starting Nagios.
Some other things you should check in order to resolve this error include:
Check the Nagios log file for messages relating to startup or status data errors.
Always verify configuration options using the -v command-line option before starting or restarting Nagios!
Make sure you've compiled the main program and the CGIs to use the same status data storage options (i.e. text file or database). If the main program is storing status data in a text file and the CGIs are trying to read status data from a database, you'll have problems.
Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be fouund at
if i do a ps -A i see that there isnt a nagios process running. then i start it by running its command and the nagios log gives me another error, which is:
 Error: Could not create external command file '/usr/local/nagios/var/rw/nagios.cmd' as named pipe: (2) ->
No such file or directory. If this file already exists and you are sure that another copy of Nagios is not running, you should delete this file.
i am really stuck here and dont know what to do....
please help me.... i have gotten this far and i dont wanna leave the proyect unfinished... i have already received notifications from my boss to start using nagios without nagmin, but i want to show him that the compilation can be done and that nagmin is pretty cool to have...