Re: [Nagios-users] password change notification?
Hi, This is danish again. Im using FC4 with nagios 2.3.1 - d sids (dsids) --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=18710 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Auth problems
Morris, Patrick wrote: > Did you do this part (specifically, the changes to /etc/conf.d/apache2) > and restart Apache? > > http://gentoo-wiki.com/HOWTO_Install_Nagios#Setting_Up_The_Web_Interface > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Nicola > Agnelli > Sent: Thursday, May 25, 2006 7:40 AM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Auth problems > > Hugo van der Kooij wrote: >> On Thu, 25 May 2006, Nicola Agnelli wrote: >> >>> Hugo van der Kooij wrote: On Thu, 25 May 2006, Nicola Agnelli wrote: >> I still have many problems with authentication.. i've read docs >> but i can't resolve.. Have anyone some ideas ? Start again and show us: - apache config changes - settings you think are relevant/changed in nagios config files. Do not assume anything. Do not think we know how you did things so describe them clearly from scratch. >>> I've done exactly what is described in this guide: >>> http://gentoo-wiki.com/HOWTO_Install_Nagios >>> >>> I've tried to remove /etc/nagios/htpasswd.users and recreate it with >>> >>> htpasswd2 -c /etc/nagios/htpasswd.users nagiosadmin >>> >>> but anyway i can't login ! >>> >>> I attach my apache.conf file anche nagios module.. >> And just where did you define NAGIOS? The next part will never be used > >> unless you define it. >> >> >> ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ >> >> AllowOverride AuthConfig >> Options ExecCGI >> Order allow,deny >> Allow from all >> >> Alias /nagios /usr/nagios/share/ >> >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> >> >> >> Hugo. >> > > I've defined it in /etc/apache2/modules.d/99_nagios.conf and in it i've > this: > > > > ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > Alias /nagios /usr/nagios/share/ > > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > > > -- > Nicola > > > --- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications > in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > --- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Unfortunatly i still having problems with auth.. i can't login in noway! I post my dir structure, maybe usefull: # ls -la /etc/nagios/ total 163 drwxr-x--- 2 nagios nagios 440 May 24 18:25 . drwxr-xr-x 47 root root3304 May 25 17:28 .. -rw-r--r-- 1 root root 0 May 24 11:19 .keep -rwxr--r-- 1 root root 31338 May 24 14:04 bigger.cfg -rwxr--r-- 1 root root9780 May 24 18:21 cgi.cfg -rwxr--r-- 1 root root4999 May 24 14:04 checkcommands.cfg -rw-r--r-- 1 root root2286 May 24 12:20 hosts.cfg -rw-r- 1 apache apache26 May 24 18:25 htpasswd.users -rwxr--r-- 1 root root 35288 May 24 14:08 minimal.cfg -rwxr--r-- 1 root root4373 May 24 14:04 misccommands.cfg -rw-r--r-- 1 root root 31458 May 24 14:05 nagios.cfg -rw-r- 1 root nagios 4740 May 24 11:49 nrpe.cfg -rw-r--r-- 1 root root4673 May 24 11:48 nsca.cfg -rwxr--r-- 1 root root1357 May 24 14:04 resource.cfg -rw-r--r-- 1 root root1628 May 24 11:48 send_nsca.cfg # ls -la /usr/nagios/ total 2 drwxrwxr-x 6 nagios nagios 144 May 24 11:48 . drwxr-xr-x 14 root root392 May 24 11:19 .. drwxrwxr-x 2 nagios nagios 264 May 24 11:49 bin drwxr-x--- 3 nagios nagios 1944 May 24 11:49 libexec drwxrwxr-x 2 nagios nagios 61
Re: [Nagios-users] Distributed Nagios problem!
Sysit,We had this problem (for SNMPtrap processing), which we've documented here: http://altinity.blogs.com/dotorg/2006/05/immediate_perfo.htmlThe short answer is that you need to make sure the host check command executes as quick as possible because it holds up other processing.This patch may help you, but you have to be careful: http://altinity.blogs.com/dotorg/2006/05/reducing_host_c.htmlTonOn 26 May 2006, at 03:13, SYSIT wrote:I have used nfs (on a netapp device) to submit check result from slave server to central server.But now another problem happed: central server can’t deal with so many passive check result. It’s about 150 check result per second submit into nagios.cmd.On central server , I found Nagios use more process to process check result , it’s about add 2 nagios process one minutes.So 4 hours later, my nagios server have 1k nagios process, and system crashed.http://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon
[Nagios-users] Mysterious email notifications
I have setup email notifications with Nagios, and the alerts are working well. However, I am getting mysterious blank alerts coming through. The emails show; Subject: ** PROBLEM alert - My laptop/ is ** * Nagios * Notification Type: PROBLEM Service: Host: My laptop Address: 192.168.100.241 State: Date/Time: Thu May 25 21:21:32 BST 2006 Additional Info: Note how the Service and State are all blank. The subject is also strange as I don't have any "problem" alerts set to notify. I have checked the services.cfg file for any odd entries, but there's nothing strange there, nor in the hosts.cfg or hostgroups.cfg, and the misccommand.cfg has only my notification settings. Any ideas as to why this is happening ? Olly --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
RE: [Nagios-users] Mysterious email notifications
ARGGHHH! I'm getting one a minute, though nothing is set to notify every minute (only every 120). Any ideas ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Oliver Marshall Sent: 26 May 2006 08:55 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Mysterious email notifications I have setup email notifications with Nagios, and the alerts are working well. However, I am getting mysterious blank alerts coming through. The emails show; Subject: ** PROBLEM alert - My laptop/ is ** * Nagios * Notification Type: PROBLEM Service: Host: My laptop Address: 192.168.100.241 State: Date/Time: Thu May 25 21:21:32 BST 2006 Additional Info: Note how the Service and State are all blank. The subject is also strange as I don't have any "problem" alerts set to notify. I have checked the services.cfg file for any odd entries, but there's nothing strange there, nor in the hosts.cfg or hostgroups.cfg, and the misccommand.cfg has only my notification settings. Any ideas as to why this is happening ? Olly --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=k&kid7521&bid$8729&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Fwd: How to request. Using send_nsca to report from remote host(s).
Ok, I guess I sent this to the wrong list... :) -- Forwarded message -- Date: May 23, 2006 7:30 PM Subject: How to request. Using send_nsca to report from remote host(s). To: [EMAIL PROTECTED] Does anyone have any kind of example of what a "services.cfg" entry would look like that would accept a line such as: (Wrapped for space) [1148423498] PROCESS_SERVICE_CHECK_RESULT ;myhost;pointy-hair-watcher;1;BOSS WARNING - He's looking. I can get send_nsca to send data but I can't figure out how to get the host on the recieving end to understand it. If I had a cron job on my remote system (myhost) that ran my own script and produced the correctly formatted line, how do I make the reciever (running Nagios) list it as a valid service and display the appropriate information? Thanks for everyone's patience. -- << MCT >> Michael C Tiernan. Is God a performance artist? EGO hack vivo quod ago accido. --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Printer spooler plugin.
Hi, u can use nsclient,nc_net,... to check windows spooler services with check_nt Bye Matteo > Hello Everyone, > > I want to monitor my winodws printer server spooler > service.is there any plugin for soopler monitor. > > Thanks in advance. > > > > Thanks & regards > ** > Vinay Sharma > Information Systems and Solutions > Advanex Inc (www.advanex.co.jp) > Fon : 813-3822-5863 > Fax : 813-5815-7881 > Email : [EMAIL PROTECTED] > > > > > --- > All the advantages of Linux Managed Hosting--Without the Cost and > Risk! > Fully trained technicians. The highest number of Red Hat > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios cgi-bin error
I am running Nagios version 2.0b4 with Apache 1.3.29 on OpenBSD 3.8. Everytime I try to go to my http://website/nagios/cgi-bin it gives error - Error 403 Forbidden You don't have permission to access /nagios/cgi-bin/ on this server However, http://website/nagios/ works fine! Apache access_log shows - nagiosadmin [26/May/2006:19:46:33 +1000] "GET /nagios/cgi-bin/this .txt HTTP/1.1" 403 293 Apache error_log shows - [Fri May 26 19:46:33 2006] [error] [client 203.13.45.66] file permissions deny server execution: /myserver/nagios/cgi-bin/this.txt Directory permission for "/var/www/mysite/nagios/cgi-bin" directory looks like this - drwxr-xr-x 2 root daemon 512 May 26 16:51 /nagios/cgi-bin/ File permissions on "/var/www/mysite/nagios/cgi-bin" directory looks like this - -rw-r--r-- 1 root daemon 73 May 26 16:51 .nagios_passwd -r-xr-xr-x 1 root bin 240064 Sep 4 2005 avail.cgi -r-xr-xr-x 1 root bin 241600 Sep 4 2005 cmd.cgi -r-xr-xr-x 1 root bin 202848 Sep 4 2005 config.cgi -rw-r--r-- 1 root daemon 4 May 26 16:49 this.txt Note: "this.txt" is a file I created. Here's my nagios part of httpd.conf ScriptAlias /nagios/cgi-bin /var/www/mysite/nagios/cgi-bin Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /var/www/mysite/nagios/cgi-bin/.nagios_passwd Require user nagiosadmin Alias /nagios /var/www/mysite/nagios Options -Indexes Order deny,allow Deny from all Allow from AuthType Basic AuthName "Nagios" AuthUserFile /var/www/mysite/nagios/.nagios_passwd Require user nagiosadmin I changed the permisson of the file "this.txt" to 755 & it gives "Internal Server Error" if I want to view that file. For all the other files (CGIs) it still gives the Permission Denied error. my /etc/nagios directory is a symlink to /var/www/etc/nagios I did a /usr/local/sbin/nagios -v /etc/nagios/nagios.cfg & it works fine - shell exit code is 0. Then I tried to start Nagios (/usr/local/sbin/nagios -d /etc/nagios/nagios.cfg) & its shell exit code gives error - in /var/log/messages I can see /var/run/nagios/nagios.pid does not exist (ENOENT) Bailing out due to errors encountered while attempting to daemonize... (PID=12744) I have a user called _nagios in /etc/passwd. --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] question about nagiosgraph
Hi there, I’ve just installed nagiosgraph under debian linux following the INTALL file instructions. I see the “rrd” directory has several rrd files but nagios is not showing the graphs. I’ve checked the permissions and the cfg files from nagios and everything seems to be OK…. The show.cgi file is ok and the permissions also… When I click on the graph icon, Nagios shows the information status instead of the graphics… Any suggestion to fix this? Thanks a lot Emilio
Re: [Nagios-users] question about nagiosgraph
Hi Guys,I have a question mor than anything. I'm running a bunch of Solaris boxes in really remote locations, and I would like to monitor their utilization, something like CPU usage, Memory usage and Disk usage (only a couple of FS per machine). Basically, what I would like to know if how would you do it to have monthly reports of usage, and live information on a graph...Cheers!Pablo.-
[Nagios-users] snmp check
Hi, I want to monitor traffic thru snmp. I'm unable to find correct cummunity string.I used snapwalk to find it but not sure which data is cummunity string.Please advice if any other way I can get . I have following seting in apan.cfg. etest;traffic;/usr/lib/nagios/rrd/etest-traffic.rrd;mainmonitor:.1.3.6.1.2.1.2.2.1.10.65540|mainmonitor:.1.3.6.1.2.1.2.2.1.16.65540;IN:LINE2 OUT:LINE2;Network throughput;Bytes/sec;ewater;traffic;/usr/lib/nagios/rrd/ewater-traffic.rrd;mainmonitor:.1.3.6.1.2.1.2.2.1.10.65540|mainmonitor:.1.3.6.1.2.1.2.2.1.16.65540;IN:LINE2 OUT:LINE2;Network throughput;Bytes/sec; I have tested with diffrent string but its not helping.Any advice is welcome. thanks Ravi__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[Nagios-users] MySql activity
Hi, I want to monitor via Nagios my MySql Databases activity (I do it today with Cacti). Is there a plugin which allow to do it, or have I to implement this using snmp communication ? Regards This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. Neither FININFO (nor any of its subsidiaries or affiliates) shall be liable for the message if modified, altered, falsified, edited or diffused without authorization. **
RE: [Nagios-users] Fwd: How to request. Using send_nsca to report from remote host(s).
Set up a pointy-hair-watcher service for host myhost in Nagios. This really is a classic RTFM kind of thing. :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Tiernan Sent: Friday, May 26, 2006 3:44 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Fwd: How to request. Using send_nsca to report from remote host(s). Ok, I guess I sent this to the wrong list... :) -- Forwarded message -- Date: May 23, 2006 7:30 PM Subject: How to request. Using send_nsca to report from remote host(s). To: [EMAIL PROTECTED] Does anyone have any kind of example of what a "services.cfg" entry would look like that would accept a line such as: (Wrapped for space) [1148423498] PROCESS_SERVICE_CHECK_RESULT ;myhost;pointy-hair-watcher;1;BOSS WARNING - He's looking. I can get send_nsca to send data but I can't figure out how to get the host on the recieving end to understand it. If I had a cron job on my remote system (myhost) that ran my own script and produced the correctly formatted line, how do I make the reciever (running Nagios) list it as a valid service and display the appropriate information? Thanks for everyone's patience. --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
RE: [Nagios-users] snmp check
The community string is basically a password -- if you don't know it, you won't be able to get it without looking in the configurations of the machines you're trying to monitor. Many machines will default to "public." If that's not it, however, you're going to need to ask whoever maintains the configuration of those machines to tell you what the community string. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravi Kumar Sent: Friday, May 26, 2006 7:04 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] snmp check Hi, I want to monitor traffic thru snmp. I'm unable to find correct cummunity string.I used snapwalk to find it but not sure which data is cummunity string.Please advice if any other way I can get . I have following seting in apan.cfg. etest;traffic;/usr/lib/nagios/rrd/etest-traffic.rrd;mainmonitor:.1.3.6.1 .2.1.2.2.1.10.65540|mainmonitor:.1.3.6.1.2.1.2.2.1.16.65540;IN:LINE2 OUT:LINE2;Network throughput;Bytes/sec; ewater;traffic;/usr/lib/nagios/rrd/ewater-traffic.rrd;mainmonitor:.1.3.6 .1.2.1.2.2.1.10.65540|mainmonitor:.1.3.6.1.2.1.2.2.1.16.65540;IN:LINE2 OUT:LINE2;Network throughput;Bytes/sec; I have tested with diffrent string but its not helping.Any advice is welcome. thanks Ravi __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
RE: [Nagios-users] Fwd: How to request. Using send_nsca to report from remote host(s).
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Morris, Patrick > Sent: Friday, May 26, 2006 10:43 AM > To: Michael Tiernan; nagios-users@lists.sourceforge.net > Subject: RE: [Nagios-users] Fwd: How to request. Using > send_nsca to report from remote host(s). > > Set up a pointy-hair-watcher service for host myhost in Nagios. This > really is a classic RTFM kind of thing. :) I belive that it is an RTFM issue but not matter how many F'n times I R'd TFM, I couldn't find a clear indication of it. I'll give it another go, thanks. --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] $HOSTDURATION usability
Hi, I modified my host-notify-by-email command to include a line to indicate how long a host had been down. When I saw it come out in this HOST UP recovery notification as zero seconds, some quick further reading shed light on why. I know this will be useful for re-notification of hosts that are still down, but I'd like a total on the recovery HOST up mail as well. Any way to obtain this without keeping some home-grown state table or similar mechanism? It looks like the info might be in the status.dat, but I don't know if I should be constantly accessing this file. Notification Type: RECOVERY Host: host.foo.bar State: UP Host Description: The Downed Host Address: 12.34.56.78 Info: host up - sshd and snmpd responding Date/Time: Fri May 26 11:11:47 EDT 2006 Downtime duration: 0d 0h 0m 0s -- - Kyle - [EMAIL PROTECTED] http://www.panix.com/~kylet - --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
RE: [Nagios-users] Fwd: How to request. Using send_nsca to report from remote host(s).
http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service Since you're using nsca, you'll want to set it up as a passive service. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tiernan, Michael C. Sent: Friday, May 26, 2006 7:51 AM To: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Fwd: How to request. Using send_nsca to report from remote host(s). > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Morris, > Patrick > Sent: Friday, May 26, 2006 10:43 AM > To: Michael Tiernan; nagios-users@lists.sourceforge.net > Subject: RE: [Nagios-users] Fwd: How to request. Using send_nsca to > report from remote host(s). > > Set up a pointy-hair-watcher service for host myhost in Nagios. This > really is a classic RTFM kind of thing. :) I belive that it is an RTFM issue but not matter how many F'n times I R'd TFM, I couldn't find a clear indication of it. I'll give it another go, thanks. --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Connection Timed Out
I ran into this issue several weeks ago. By default, NSCA runs in "single" mode. By changing my init start up script to run NSCA in daemon mode, connections were able to successfully establish and events started to pass. You can test by starting nsca on the central server with the following command, of course setting your correct paths.. /usr/local/nagios/bin/nsca -d -c /usr/local/nagios/etc/nsca.cfg Ian Erik wrote: Hello, I believe I set everything up correctly. I am trying to get NSCA running; On the Distributed Server I run: [EMAIL PROTECTED]> sudo ./send_nsca -H 192.168.0.233 -c /etc/nagios/send_nsca.cfg Error: Timeout after 10 seconds On the Central Server I get: May 25 15:27:07 3coreweb1 nsca[1]: Handling the connection... May 25 15:27:16 3coreweb1 nsca[1]: End of connection... So I believe my path is OK, Firewall, wrappers, and the command on the distributed server seem to be OK. Please help. What am I missing? Am I missing “accept connections from” in a conf file? Thanks, Erik --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
RE: [Nagios-users] Fwd: How to request. Using send_nsca to report from remote host(s).
> -Original Message- > From: Morris, Patrick [mailto:[EMAIL PROTECTED] > Sent: Friday, May 26, 2006 11:42 AM > To: Tiernan, Michael C.; nagios-users@lists.sourceforge.net > Since you're using nsca, you'll want to set it up as a > passive service. Thank you very much for your help with all of this. I think I'm finally seeing my confusion here. Let's see if I can state what I think is going on: 1) I have a Nagios host. It collects data, displays webpages, sends alerts. 2) I have a remote host that I wish to have report to the Nagios host on some system value on a regular basis. It seems that what I'm reading assumes that: A) The Nagios host has a full installation. (No surprise there.) B) The remote host has *almost* a full Nagios installation but doesn't display webpages or alerts. Is this correct? Why do I ask? I was under the assumption (yea yea, I know) that the remote host could use any program or script to generate an output that conforms to the message standard (one of the included plugins or a roll-your-own widget). It then hands this message to "send_nsca", which is almost the only piece of Nagios that is available on the remote host, where the message will be magically transported to the Nagios host where, once queued with other messages in the command pipe, will be interpreted by Nagios who then understands that the message it got is connected to a host or service that it knows about but doesn't control. On the simplest level, if I run 'check_load -w# -c#' on a remote host and send it, via send_nsca, to the Nagios host, how does the nagios host know what to do with that message? It seems, from what I can glean from the docs (aka TFM) that I'll tell the Nagios host that there's a service on a host: define service { host_name remote.host.fqdn service_descriptionload-check-on-remote.host check_command <- Question "a" active_checks_enabled 0 passive_checks_enabled <- Question "b" check_period <- Question "c" ... } a) How do you tell it what the check_command is when the command is remotely run? b) Passive checks enabled, I assume that's '1'? c) check_period (and other required values) What goes here? What does Nagios need to know about a remote host's data collector? Can you see the confusion? Again, thank you for helping me with this. --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Issues installing Plugins
I've just installed Nagios and that seemed to have gone very well but when I try installing the plugins I get the following errors during the the "make" process: then mv -f ".deps/check_snmp.Tpo" ".deps/check_snmp.Po"; else rm -f ".deps/check_snmp.Tpo"; exit 1; fi check_snmp.c: In function `main': check_snmp.c:341: parse error before `char' check_snmp.c:342: `str' undeclared (first use in this function) check_snmp.c:342: (Each undeclared identifier is reported only once check_snmp.c:342: for each function it appears in.) make[3]: *** [check_snmp.o] Error 1 make[3]: Leaving directory `/home/tom/nagios-plugins-1.4.3/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/tom/nagios-plugins-1.4.3/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/tom/nagios-plugins-1.4.3' make: *** [all] Error 2 I really would like to get this working, I've used nagios in the past and think it's a great product but I'm stumped as to why I keep getting this error. Any help would be appreciated. --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] question about nagiosgraph
Hi Emilio, +++ Guillermo Bellettini [Fri, May 26, 2006 at 02:52:38PM CEST]: > > > Hi there, I've just installed nagiosgraph under debian linux following the > INTALL file instructions. > > I see the "rrd" directory has several rrd files but nagios is not showing > the graphs. > > I've checked the permissions and the cfg files from nagios and everything > seems to be OK.. > > The show.cgi file is ok and the permissions also. > > When I click on the graph icon, Nagios shows the information status instead > of the graphics. Information status? What do you mean? > Any suggestion to fix this? A common mistake by nagiosgrapher is to have some spaces or tabs in the config. Check your grapher definitions with vi. If the file is loaded type :set list Regards Frank -- "Mad cow? You'd be mad too, if someone was trying to eat you." --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Auth problems
On Fri, 26 May 2006, Nicola Agnelli wrote: > > > > ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ > > > > AllowOverride AuthConfig > > Options ExecCGI > > Order allow,deny > > Allow from all > > > > Alias /nagios /usr/nagios/share/ > > > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > > > Why didn't you put the authentication here? Using .htaccess files is a substitute for putting authentication into the httpd.conf file. It is only intended for cases where you can not change httpd.conf itself. > Unfortunatly i still having problems with auth.. i can't login in noway! Pick up the apache manual and build a test directory on your webserver and see that you can get user authentication working on there following the samples in the apache manual. Once you figure it out you can translate the solution to the nagios sections. Untill you get the sample section working as shown on http://httpd.apache.org/docs/2.0/howto/auth.html there is little point in trying anything else. This is not a Nagios issue but an issue of you trying to understand your apache server. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. [EMAIL PROTECTED] http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Fwd: How to request. Using send_nsca to report from remote host(s).
Hello, On 5/26/2006 7:17 PM, Tiernan, Michael C. wrote: -Original Message- From: Morris, Patrick [mailto:[EMAIL PROTECTED] Sent: Friday, May 26, 2006 11:42 AM To: Tiernan, Michael C.; nagios-users@lists.sourceforge.net Since you're using nsca, you'll want to set it up as a passive service. Thank you very much for your help with all of this. I think I'm finally seeing my confusion here. Let's see if I can state what I think is going on: 1) I have a Nagios host. It collects data, displays webpages, sends alerts. 2) I have a remote host that I wish to have report to the Nagios host on some system value on a regular basis. It seems that what I'm reading assumes that: A) The Nagios host has a full installation. (No surprise there.) B) The remote host has *almost* a full Nagios installation but doesn't display webpages or alerts. Is this correct? Why do I ask? I was under the assumption (yea yea, I know) that the remote host could use any program or script to generate an output that conforms to the message standard (one of the included plugins or a roll-your-own widget). It then hands this message to "send_nsca", which is almost the only piece of Nagios that is available on the remote host, where the message will be magically transported to the Nagios host where, once queued with other messages in the command pipe, will be interpreted by Nagios who then understands that the message it got is connected to a host or service that it knows about but doesn't control. our assumption was correct, I'd say. It is _also_ possible to have a full nagios installation on the remote host for different reasons (one being a more adaptive scheduling of checks, one other the ability to check other hosts - think firewalled systems etc.), but that's not exactly necessary. For example, I have a gateway host that has a simple cron job checking the number of logins once a minute and submitting that via NSCA to the central nagios host and voilà - you've got part of a simple IDS. On the simplest level, if I run 'check_load -w# -c#' on a remote host and send it, via send_nsca, to the Nagios host, how does the nagios host know what to do with that message? It seems, from what I can glean from the docs (aka TFM) that I'll tell the Nagios host that there's a service on a host: define service { host_name remote.host.fqdn service_descriptionload-check-on-remote.host check_command <- Question "a" active_checks_enabled 0 passive_checks_enabled <- Question "b" check_period <- Question "c" ... } a) How do you tell it what the check_command is when the command is remotely run? You don't. Usually, you either set up a command like check_dummy to be run only when passive check results don't come in in time, and that would trigger a critical state or a warning or an unknown - whatever you'd need. In my example above, I obviously have the service go critical as soon as there's a login. In other cases an unknown state will be sufficient. b) Passive checks enabled, I assume that's '1'? Should be... c) check_period (and other required values) What goes here? What does Nagios need to know about a remote host's data collector? Basically, the host name and service name your central Nagios and your submitted result use must match. The rest depends on your needs. The important thing is - but that's also explained in the manual - that Nagios runs the active check, even when disabled in the service configuration, when the passive check results become stale. If you enable active and passive checks, AFAIK Nagios will not only accept passive checks but also run active checks. This is most definitely not what you want when you have a check command that riggers an immediate critical state... Can you see the confusion? I can, and I can assure you that, at least for me, reading and re-reading the corresponding manual sections thoroughly helped a lot ;-) Again, thank you for helping me with this. Well, I hope I could help clarify the base of your confsion a little. Arno --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- All the advantages of Linux Managed Hosti
[Nagios-users] check_snmp_storage.pl
I'm running this script and it works fine with Solaris 10, which is my personal box at work. But, when I try to run this same script to different boxes I get an error "ERROR: Description/Type table : Requested table is empty or does not exist." Can't seem to figure out what's wrong and also I'm just not that savvy in snmp. Any help would be appreciated... Thanks Maunir Shah 630-285-5875 - desk 630-550-6266 - cell *** IMPORTANT MESSAGE ** This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.
Re: [Nagios-users] MySql activity
On 5/26/06, MAIGNAN Luc <[EMAIL PROTECTED]> wrote: Hi, I want to monitor via Nagios my MySql Databases activity (I do it today with Cacti). Is there a plugin which allow to do it, or have I to implement this using snmp communication ? check_mysql works fine. -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Re: Mysterious email notifications
* Oliver Marshall <[EMAIL PROTECTED]> wrote: > I have setup email notifications with Nagios, and the alerts are working > well. However, I am getting mysterious blank alerts coming through. > > [...] > > I have checked the services.cfg file for any odd entries, but there's > nothing strange there, nor in the hosts.cfg or hostgroups.cfg, and the > misccommand.cfg has only my notification settings. > > Any ideas as to why this is happening ? Have you checked your nagios.log yet? As long as log_notifications is set to 1 nagios will tell you why it set off a notification. [1148672966] SERVICE NOTIFICATION: kayser;sato;POP3;CRITICAL;notify-by-email;Connection refused Cheers - Sebastian --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_snmp_storage.pl
+++ Shah, Maunir [Fri, May 26, 2006 at 09:42:23PM CEST]: > I'm running this script and it works fine with Solaris 10, which is my > personal box at work. But, when I try to run this same script to > different boxes I get an error The green one? Or do you mean the red one? > "ERROR: Description/Type table : Requested table is empty or does not > exist." Whats the difference between the systems (except from the color ;)? > Can't seem to figure out what's wrong and also I'm just not that savvy > in snmp. Any help would be appreciated... Regards Frank -- Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing. --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] question about nagiosgraph
It sounds like either you're not fuly configured yet, or looking in the wrong place. If you're clicking on the graph image in one of the status lists, and not getting graphs, that's normal... it's sort of a clunky side-effect of the way nagios handles info links compared to how older versions did it. Assuming you've set up a notes_url link for the service nagiosgraph is graphing, what you want to click on is the "More Info" link on the top right of the service status page. On Fri, 26 May 2006, Guillermo Bellettini wrote: > When I click on the graph icon, Nagios shows the information status instead > of the graphics. > > Any suggestion to fix this? --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Host check action alert issue
Does anyone else have problems with email notifications generated by the check_command param generated by host failures, particularly the check-host-alive command ? I have the check_command for each host set to check-host-alive. If any of the hosts goes offline, and fails the check-host-alive check, I get this email; Subject: ** PROBLEM alert - My laptop/ is ** * Nagios * Notification Type: PROBLEM Service: Host: My laptop Address: 192.168.100.241 State: Date/Time: Fri May 26 22:38:07 BST 2006 Additional Info: The 'notify-by-email' command that I am using to send out the email notifications is as follows. # 'notify-by-email' command definition define command{ command_namenotify-by-email command_line/usr/bin/printf "%b" "subject: ** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** \n\n * Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/msmtp $CONTACTEMAIL$ } Now, this is the same command I use for every other alert, but only the check-host-alive check causes an email with NO source, NO state etc. Is it just me that gets this? Does the check-host-alive command not fill in the $servicedesc$ or the $servicestate$ ? Olly --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Host check action alert issue
Hello, On 5/26/2006 11:41 PM, Oliver Marshall wrote: Does anyone else have problems with email notifications generated by the check_command param generated by host failures, particularly the check-host-alive command ? I have the check_command for each host set to check-host-alive. If any of the hosts goes offline, and fails the check-host-alive check, I get this email; Subject: ** PROBLEM alert - My laptop/ is ** * Nagios * Notification Type: PROBLEM Service: Host: My laptop Address: 192.168.100.241 State: Date/Time: Fri May 26 22:38:07 BST 2006 Additional Info: The 'notify-by-email' command that I am using to send out the email notifications is as follows. look at the sample host-notify-by-email or whatever it's called. Should be in the sample config Nagios created during the make cycles. # 'notify-by-email' command definition define command{ command_namenotify-by-email command_line/usr/bin/printf "%b" "subject: ** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** \n\n * Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/msmtp $CONTACTEMAIL$ } Now, this is the same command I use for every other alert, but only the check-host-alive check causes an email with NO source, NO state etc. Is it just me that gets this? Does the check-host-alive command not fill in the $servicedesc$ or the $servicestate$ ? As you noted, servicestate is not the right thing to report in a host check result. There is a list of all available macros in the manual, and you'll find the corresponding $HOST...$ ones in there. The more important question is - why are notifications generated at all? You'd have to show us the configuration for one of the hosts in question. Also make sure the check command works as you intend it to. If, for example, you've got a macro in there that doesn't contain anything useful that might easily explain why the check command fails. Arno Olly --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=k&kid7521&bid$8729&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios cgi-bin error
I am running Nagios version 2.0b4 with Apache 1.3.29 on OpenBSD 3.8. Everytime I try to go to my http://website/nagios/cgi-bin it gives error - Error 403 Forbidden You don't have permission to access /nagios/cgi-bin/ on this server However, http://website/nagios/ works fine! Apache access_log shows - nagiosadmin [26/May/2006:19:46:33 +1000] "GET /nagios/cgi-bin/this .txt HTTP/1.1" 403 293 Apache error_log shows - [Fri May 26 19:46:33 2006] [error] [client 203.13.45.66] file permissions deny server execution: /myserver/nagios/cgi-bin/this.txt Directory permission for "/var/www/mysite/nagios/cgi-bin" directory looks like this - drwxr-xr-x 2 root daemon 512 May 26 16:51 /nagios/cgi-bin/ File permissions on "/var/www/mysite/nagios/cgi-bin" directory looks like this - -rw-r--r-- 1 root daemon 73 May 26 16:51 .nagios_passwd -r-xr-xr-x 1 root bin 240064 Sep 4 2005 avail.cgi -r-xr-xr-x 1 root bin 241600 Sep 4 2005 cmd.cgi -r-xr-xr-x 1 root bin 202848 Sep 4 2005 config.cgi -rw-r--r-- 1 root daemon 4 May 26 16:49 this.txt Note: "this.txt" is a file I created. Here's my nagios part of httpd.conf ScriptAlias /nagios/cgi-bin /var/www/mysite/nagios/cgi-bin Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /var/www/mysite/nagios/cgi-bin/.nagios_passwd Require user nagiosadmin Alias /nagios /var/www/mysite/nagios Options -Indexes Order deny,allow Deny from all Allow from AuthType Basic AuthName "Nagios" AuthUserFile /var/www/mysite/nagios/.nagios_passwd Require user nagiosadmin I changed the permisson of the file "this.txt" to 755 & it gives "Internal Server Error" if I want to view that file. For all the other files (CGIs) it still gives the Permission Denied error. my /etc/nagios directory is a symlink to /var/www/etc/nagios I did a /usr/local/sbin/nagios -v /etc/nagios/nagios.cfg & it works fine - shell exit code is 0. Then I tried to start Nagios (/usr/local/sbin/nagios -d /etc/nagios/nagios.cfg) & its shell exit code gives error - in /var/log/messages I can see /var/run/nagios/nagios.pid does not exist (ENOENT) Bailing out due to errors encountered while attempting to daemonize... (PID=12744) I have a user called _nagios in /etc/passwd. --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Issues installing Plugins
Hello, comments inline... On Fri, 2006-05-26 at 14:30 -0400, Tom Ray [Lists] wrote: > I've just installed Nagios and that seemed to have gone very well but > when I try installing the plugins I get the following errors during the > the "make" process: > > then mv -f ".deps/check_snmp.Tpo" ".deps/check_snmp.Po"; else rm -f > ".deps/check_snmp.Tpo"; exit 1; fi > check_snmp.c: In function `main': > check_snmp.c:341: parse error before `char' > check_snmp.c:342: `str' undeclared (first use in this function) > check_snmp.c:342: (Each undeclared identifier is reported only once > check_snmp.c:342: for each function it appears in.) > make[3]: *** [check_snmp.o] Error 1 > make[3]: Leaving directory `/home/tom/nagios-plugins-1.4.3/plugins' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/tom/nagios-plugins-1.4.3/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/tom/nagios-plugins-1.4.3' > make: *** [all] Error 2 Try it with the -i flag: make -i hth > I really would like to get this working, I've used nagios in the past > and think it's a great product but I'm stumped as to why I keep getting > this error. > > Any help would be appreciated. > > > --- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. Caso você não seja o destinatário desta mensagem, informamos que qualquer divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos é absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail´s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Host check action alert issue
That command was obviously configured as a service notification, and will not work correctly as a host notification command. Look in the example configs for host-notify-by-* On Fri, 26 May 2006, Oliver Marshall wrote: > Does anyone else have problems with email notifications generated by the > check_command param generated by host failures, particularly the > check-host-alive command ? > > I have the check_command for each host set to check-host-alive. If any > of the hosts goes offline, and fails the check-host-alive check, I get > this email; > > Subject: ** PROBLEM alert - My laptop/ is ** > * Nagios * > Notification Type: PROBLEM > > Service: > Host: My laptop > Address: 192.168.100.241 > State: > > Date/Time: Fri May 26 22:38:07 BST 2006 > > Additional Info: > > > The 'notify-by-email' command that I am using to send out the email > notifications is as follows. > > # 'notify-by-email' command definition > define command{ > command_namenotify-by-email > command_line/usr/bin/printf "%b" "subject: ** > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ > ** \n\n * Nagios *\n\nNotification Type: > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/msmtp > $CONTACTEMAIL$ > } > > Now, this is the same command I use for every other alert, but only the > check-host-alive check causes an email with NO source, NO state etc. > > Is it just me that gets this? Does the check-host-alive command not fill > in the $servicedesc$ or the $servicestate$ ? > > Olly > > > --- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Patrick Morris Snapfish/HP 303 Second Street Suite 500, South Tower San Francisco, CA 94107 (415) 979-3727 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios cgi-bin error
You do not have "Indexes" enabled for your cgi-bin directory, that's why you can't browse it. This is a good thing. Also, the whole point of defining a ScriptAlias directory is that the webserver will attempt to _execute_ all the files that are called from that location. Not just display, _execute_. Your txt file probably does not have an interpreter line (#!/bin/bash or something similar) and it's not a binary executable, so even tho your execute bits are set you get a 500 error. And finally, does the "/var/run/nagios/" directory exist? If not then the file "/var/run/nagios/nagios.pid" is not likely to be written. If the directory does exist, is it writable by the nagios user or nagios group? -f On Sat, 27 May 2006, atstake atstake wrote: Date: Sat, 27 May 2006 09:22:09 +1000 From: atstake atstake <[EMAIL PROTECTED]> To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios cgi-bin error I am running Nagios version 2.0b4 with Apache 1.3.29 on OpenBSD 3.8. Everytime I try to go to my http://website/nagios/cgi-bin it gives error - Error 403 Forbidden You don't have permission to access /nagios/cgi-bin/ on this server However, http://website/nagios/ works fine! Apache access_log shows - nagiosadmin [26/May/2006:19:46:33 +1000] "GET /nagios/cgi-bin/this .txt HTTP/1.1" 403 293 Apache error_log shows - [Fri May 26 19:46:33 2006] [error] [client 203.13.45.66] file permissions deny server execution: /myserver/nagios/cgi-bin/this.txt Directory permission for "/var/www/mysite/nagios/cgi-bin" directory looks like this - drwxr-xr-x 2 root daemon 512 May 26 16:51 /nagios/cgi-bin/ File permissions on "/var/www/mysite/nagios/cgi-bin" directory looks like this - -rw-r--r-- 1 root daemon 73 May 26 16:51 .nagios_passwd -r-xr-xr-x 1 root bin 240064 Sep 4 2005 avail.cgi -r-xr-xr-x 1 root bin 241600 Sep 4 2005 cmd.cgi -r-xr-xr-x 1 root bin 202848 Sep 4 2005 config.cgi -rw-r--r-- 1 root daemon 4 May 26 16:49 this.txt Note: "this.txt" is a file I created. Here's my nagios part of httpd.conf ScriptAlias /nagios/cgi-bin /var/www/mysite/nagios/cgi-bin Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /var/www/mysite/nagios/cgi-bin/.nagios_passwd Require user nagiosadmin Alias /nagios /var/www/mysite/nagios Options -Indexes Order deny,allow Deny from all Allow from AuthType Basic AuthName "Nagios" AuthUserFile /var/www/mysite/nagios/.nagios_passwd Require user nagiosadmin I changed the permisson of the file "this.txt" to 755 & it gives "Internal Server Error" if I want to view that file. For all the other files (CGIs) it still gives the Permission Denied error. my /etc/nagios directory is a symlink to /var/www/etc/nagios I did a /usr/local/sbin/nagios -v /etc/nagios/nagios.cfg & it works fine - shell exit code is 0. Then I tried to start Nagios (/usr/local/sbin/nagios -d /etc/nagios/nagios.cfg) & its shell exit code gives error - in /var/log/messages I can see /var/run/nagios/nagios.pid does not exist (ENOENT) Bailing out due to errors encountered while attempting to daemonize... (PID=12744) I have a user called _nagios in /etc/passwd. --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios 2.x + FreeBSD 5.x
Hello, We currently have a fairly large intallation of Nagios 1.x and I am considering upgrading to the 2.x branch, but a while back there was a rather large warning posted indicating that there were some serious problems with FreeBSD 5.x threading and Nagios 2.x, but now I cannot find a mention of it anywhere. I am a bit nervous about this, and would appreciate if someone could let me know if this is still a problem, or if this ever really was a problem or if It was all a terrible nightmare and I should go back on my meds... *grin* thanks, Markham Breitbach Network Services SSI Micro --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios cgi-bin error
Hi, On 5/27/06, frank <[EMAIL PROTECTED]> wrote: You do not have "Indexes" enabled for your cgi-bin directory, that's why you can't browse it. This is a good thing. I have just added "Options Indexes" in httpd.conf. It still says "Permission Denied". The current httpd.conf looks like this ScriptAlias /nagios/cgi-bin /var/www/mysite/nagios/cgi-bin Options ExecCGI Options Indexes AllowOverride AuthConfig Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /var/www/mysite/nagios/cgi-bin/.nagios_passwd Require user nagiosadmin And finally, does the "/var/run/nagios/" directory exist? If not then the file "/var/run/nagios/nagios.pid" is not likely to be written. If the directory does exist, is it writable by the nagios user or nagios group? Success! I have created the directory "/var/run/nagios/", chown'd to _nagios:_nagios. And Nagiosn starts successfully. It has been deamonized and I can see it running by doing a "ps"; shell return code is also 0. So, nagios is up and listening. --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] [Solved-partly] Nagios cgi-bin error
On 5/27/06, atstake atstake <[EMAIL PROTECTED]> wrote: I have just added "Options Indexes" in httpd.conf. It still says "Permission Denied". I have solved this problem, somewhat. What I found is if I put the cgi-bin in "/var/www/mysite/cgi-bin/" & point apache to read it, nagios can read it fine. It asks for password and shows everything. As soon as I point Apache to read "/var/www/mysite/nagios/cgi-bin" it gives the permission denied error. This is not a biggie but does anyone know what this is happening and how can I solve it? --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Issues installing Plugins
Marcel Mitsuto Fucatu Sugano wrote: Hello, comments inline... On Fri, 2006-05-26 at 14:30 -0400, Tom Ray [Lists] wrote: I've just installed Nagios and that seemed to have gone very well but when I try installing the plugins I get the following errors during the the "make" process: then mv -f ".deps/check_snmp.Tpo" ".deps/check_snmp.Po"; else rm -f ".deps/check_snmp.Tpo"; exit 1; fi check_snmp.c: In function `main': check_snmp.c:341: parse error before `char' check_snmp.c:342: `str' undeclared (first use in this function) check_snmp.c:342: (Each undeclared identifier is reported only once check_snmp.c:342: for each function it appears in.) make[3]: *** [check_snmp.o] Error 1 make[3]: Leaving directory `/home/tom/nagios-plugins-1.4.3/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/tom/nagios-plugins-1.4.3/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/tom/nagios-plugins-1.4.3' make: *** [all] Error 2 Try it with the -i flag: make -i hth Well that did it I was able to run "make -i" then "make -i install" and it's installed. Now it's testing time. Thanks! --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] reschedule check error
I would like to "Re-schedule the next check of this service" but when I setup the time and click "Commit" it says I am not authorized to commit. I have user "nagiosadmin" required to log on to http://mysite/nagios and "http://mysite/cgi-bin/nagios"; In /etc/nagios/cgi.cfg I have use_authentication=1 default_user_name=nagiosadmin authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_host_commands=nagiosadmin I have a user called _nagios in /etc/passwd. And nagios.pid is owned by this user. I am using Nagios 2.0b4 on OpenBSD3.8. --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null