How to see the code behind the nagios plugin: Nagios Checker? I opened the folder which i have downloaded. After that where do i have to go to see the codes? Is it in App_Codes?
So we monitor all of our disk space, but only get pages for critical. What we would like to do is have one email sent to our team every month with all the "Warnings" for our disk. I have been searching and haven't found a way to do this. Any suggestions?
I tried setting up Nagios 3.2.2 on Ubuntu 8.04 using this guide [URL]Every thing went well until trying 'make install-webconf', I then got the following error.
Been a very long time since I have played with Linux.Now in a new position and have setup a Nagios server running on Centos 5,5 for a NMS.How do I set apache that when I visit: whatever.org it starts Nagios.. Currently I have to go to whatever.org/nagios.
I don't have permission to access [URL]. I can access [URL] only local. I configured local and network access in /etc/httpd/conf.d/nagios.conf. My access_log: "GET /nagios HTTP/1.1" 403 334 "-" "Mozilla/5.0 (X11;U;Linux i686; en-US; en -US; rv:1.9.1.9) Gecko/2010100330 Fedora/3.5.9-1 fc11 Firefox/3.5.9" "GET /vavicon.ico HTTP/1.1" 404 335 "-" "Mozilla/5.0 X11;U;Linux i686; en-US; en -US; rv:1.9.1.9) Gecko/2010100330 Fedora/3.5.9-1 fc11 Firefox/3.5.9" My error_log: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
Digest: genarating secret for digest authentication done mod_python: Creating 4 session mutexes based o 150 max processes and 0 max threads mod_python: using mutex_directory /tmp Apache/2.2.15 (Unix) DAV/2 PHP/5.2.13 mod_python/3.3.1 Python/2.6 mod_ssl/2.2.15 OpenSSL/0.9.8n-fips mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations Permission denied: access to /nagios denied File does not exist: /var/www/html/favicon.ico Directory index forbidden by Option directive: /var/www/html
I've gotten myself involved in the Nagios monitoring tools and somewhat managed to configure the Nagios host, but I'm still having some issues with the email notifications.
From what I've read/researched, one of the favourite methods to get the email notification up is by using sendmail/postfix. I've went through it and learned that they are MTAs. What I actually needed is just a basic email client, and I would email the notices directly to an email address over the internet. Thus, I wont be needing something as complex like sendmail/postfix.
I gotten my hands on "Nail mail". I've successfully configured it to be able to send emails from my linux machine over the internet. However, when I copied the same command lines to nagios's contact.cfg, it did not work.
This is the command line that I'm using. Let me explain what I'm trying to achieve below. Firstly, I would save all the text notifications into a text file(green), and then email it out. The problem is NailMail command (red) does not work on Nagios,but the command line works in the terminal command on my Nagios account. Has anyone attempted using Nail mail with Nagios?
I have a nagios server monitoring around a 1000 hosts in our office. To make things easier, i've integrated apache into Active Directory for the website authentication. This works perfectly, however the Nagios website uses alot of CGI scripts to display information I get the message below when trying to show CGI scripts with an AD user. Local users work fine. 403 Forbidden You don't have permission to access /nagios/cgi-bin/status.cgi on this server. I tried adding the AD users to the cgi.conf file within Nagios (which works for local accounts) but it doesn't seem to work even with this change.
# startx xauth: creating new authority file /root/.serverauth.18174 X Window System Version 7.1.1 Release Date: 12 May 2006 X Protocol Version 11, Revision 0, Release 7.1.1
[Code]....
Fatal server error: xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0" after 0 requests (0 known processed) with 0 events remaining. Couldnt get a file descriptor referring to the console
I have download the below tar.gz then extract it , and then put it to DocumentRoot to run the index.php, but unable to use it. What program that I need to install before running it? phpMyAdmin-3.3.0-english
I have being googling and trying to find out solution to unable to startx.Please note i have already search from last 2-3 days for the solution but didn't found anything.So request someone to guide me step by step.Also one more thing, the server was crashed and i upgraded the existing server using CD. But since then we are not able to start startXI hope i can get some help here ,i am a newbie to linux but i am computer engg so i can understand some logics..I am getting below error
Code: [root@astarcftp /]# startx xauth: creating new authority file /root/.serverauth.13592
i was using win xp sp2. i just installed red hat linux by making one of the windows drive as unpartitioned space . i kept windows as my default os .my linux is working properly , but when i goes to start windows , it shows error " windows unable to start , hal.dll file is missing or corrupt".so to solve this problem , i decided to repair windows , but when i isert win xp bootable cd , cd starts booting , after showing messege " setup is inspecting your hard ware " , black screen appears , nd nothing happens after that.what should i do ? i want keep linux as it is and also want to start my windows again . tell me how to repair windows . what should i do to boot win xp bootable cd properly.
I'm basically a linux noobie, and have a problem with one of my machines I use for work. As the title states I am unable to start my xserver, using the startx command I have been using for the past 5 years. It goes to the blue loading screen with the x for a cursor, hangs there for about a min or so then goes back to the command screen. I get an error:
giving up. xinit: Permission denied (errno 13): unable to connect to xserver waiting for xserver to shut down xinit: Server error.
I have tried logging on as root and trying startx again. Same error.
Yesterday I thought I had solved my "Blank screen boot"-issue when I successfully got to the terminal login screen without the screen going black by booting with
Code: Linux acpi=off I spoke too soon. I found out shortly after that when trying to "startx" with acpi off gave me these errors: Code: WARNING: Error inserting i2c_algo_bit ("filepath"): No such device WARNING: Error inserting intel_agp ("filepath"): No such device
[Code]....
Then I read somewhere that booting with "i915.modeset=0" might work. So I removed acpi=off from lilo and added this, and sure enough, I got to terminal login, but I get the same errors with "startx".
I must make it clear that I can successfully perform startx when I boot without "acpi=off" or "i915.modeset=0", I am unable to see the screen but I can hear the KDE fanfare, etc.
I have centos 5.3 installed, while restarting httpd service I get error starting http:/bin/bash line 1 9941 segmentation fault /usr/sbin/httpd. If I stop httpd service and start it will start but if make service httpd restart it give above error.
I am unable start network service on my centos box. /etc/init.d/network start device eth0 does not seem to be present, delaying initialization lspci | grep Ethernet
Doesn't show any results. It seems os doesn't identify my NIC. I am using compaq presario model pc
Per my request my son installed XP and Ubuntu(interested in learning Linux)in my computer. The installation went well and I was able to choose the system I wanted to work in from the menu. It worked for several months but now when I choose Ubuntu from the menu I longer get to the Ubuntu login screen.
Suddenly my machine not working under run level 5 and it seems to be problem with xserver and it is saying that "in last 90 seconds xserver restarted 6 times and unable to start" and then just giving blank screen.So i changed the run level to 3 and using startx command i am managing to work now.
Vmware tells me it cannot start services.I believe the issue is tied to permissions because the message indicated the log with the full details was located in /tmp/vmware-root/setup-4772.log but when I go there I receive a message telling me I do not have permission to the directory and there's a lock symbol on the directory from the File Browser utility.What do I need to do to unlock the folder and get vmware working again ?
I trying to install RALUS on my RHEL 5 os version 2.6.18-8.el5 (i386) My backup exec server is BE 2010 R2 the installation of ralus completes however with error libstdc++.so.5 missing noted that due to this i'm unable to start ralus service /etc/init/VRTSralus found a link [url] need to download compat-libstdc++-33-3.2.3-63.i386.rpm tried the rpmfind.net and as well as rpm.pbone.netid did find appropriate rpm however could not download one.
I'm trying to figure out how to operate a rather large Java program, 'prog'. If I go to its /bin/ dir and configure its setenv.sh and prog.sh to use local directories and my current user account. Then I try to run it via "./prog.sh start". Here are all the relevant bits of prog.sh:
[code]...
When I actually do ./prog.sh start, it starts. But I can't find it at all on the process list. Nor can I kill it manually, using the same command the shell script uses. But I can tell it's running, because if I do ./prog.sh stop, it stops (and some temporary files elsewhere clean themselves out).
[code]...
the process is running yet not in any way listed by the system. I can't find it in ps or /proc/, nor can I kill it. But the shell script can still stop it properly. So my question is, how can something like this happen? Is the process supremely hidden, actually unlisted, or am I just missing it in some fashion? I'm trying to figure out what makes this program tick.
My co-worker install CentOS with /var (ext3) is 1TB:
Code:
I do the following tasks to move sdb1 to VolGroup00:
After that I moved /var back to / folder and reboot but the system hangs at "Starting system logger". Uninstall and re-install sysklogd package don't make any change. What I don't understand is I can start syslogd from command line: