[Nagios-users] publish scheduled host downtimes
Hi, I want to publish the scheduled host downtimes on our official homepage. My idea is, to convert the entries from the downtime.dat to a xml file and transfer it via rss channel to our official homepage. Is there a documentation or script/plugin available ? thanks Richard -- Richard Gliebe Fachhochschule Vorarlberg GmbH / University for Applied Science Information Services Hochschulstraße 1, A-6850 Dornbirn Telefon +43 / (0)5572 / 792-2207 E-Mail: [EMAIL PROTECTED] --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click ___ 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
AW: [Nagios-users] Question about Linux Distros
We run Nagios on Fedora Core 2 without any Problems so far... Why wouldn't you recommend it to run Nagios on Fedora? > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] Im Auftrag von Tedman Eng > Gesendet: Freitag, 30. Dezember 2005 03:16 > An: 'Meyer, David R'; nagios-users@lists.sourceforge.net > Betreff: RE: [Nagios-users] Question about Linux Distros > > All 3 Linux distros you mention run Nagios equally well. The only > difference being the Nagios packages, which are all 3rd party. If I had > to > vote, I'd put RHEL (not Fedora) 1st, Debian 2nd, and Suse 3rd. > > My bias towards RedHat is due to their enterprise-friendly Kickstart > Installer (which is not necessarily nagios related) > > Debian probably has better repositories, but you're only installing once > and > leaving the repositories alone after that. Besides, you'll probably want > to > keep a copy of the packages that got installed, so in case of a disaster > you > can recover to the same version, which a repository won't always keep > around. > > > > -Original Message- > From: Meyer, David R [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 29, 2005 4:04 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Question about Linux Distros > > > All, > > I am going to convert my nagios-text install (no DB...just flat files) to > a > "real" install tomorrow. > > Here is my question... > > In your experience, which version of Linux is best for Nagios? I have > access to Red Hat EL, SUSE, and Debian and am equally comfortable with all > of them. BUT...I am a Nagios virgin. Have you noticed one distro being > better than another in terms of Nagios installing and running? > > Also, which backend DB - - MySQL or PostgreSQL? Same experience applies > to > both. > > Thanks for your advice! > > Dav > > > --- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > ___ > 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 sycor plastics - die neue Branchenloesung fuer die Kunststoffindustrie www.sycor-plastics.de Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdruecklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click ___ 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] check-disk-growing ???
Hello List, I think I could be pretty interesting to monitor the rate of how much the diskspace increased in an interval x. For example, you have a Disk X where all the Logfiles of my DB are stored. Normally there about 200MB Logfiles/day. Then suddenly there are 200MB/h... Has anyone written a pluginthe check something like this before? Any hints how to write a Plugin like that? Regards, Philipp _ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Straße 1-5 D - 37073 Göttingen Telefon +49 (0) 551 - 490 - 0 Telefax +49 (0) 551 - 490 - 232468 [EMAIL PROTECTED] www.sycor.de sycor plastics - die neue Branchenloesung fuer die Kunststoffindustrie www.sycor-plastics.de Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdruecklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click ___ 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] Numeric Pager
Is anyone employing any method to use a numeric pager with nagios notifications? It seems in my area the only alpha-numeric pager I can get is 2-way paging. I have tried this and the two way paging is very unreliable. I would like to switch to 1-way (it has much better coverage and reliability), but would have to choose numeric only. In addition, does anyone have a method that I can use to restrict the number of pages per month to insure that I don't go over my maximum number of pages? Carl --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ 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 Linux Distros
We use Debian across the board - Debian is of course very much a philosophy as well as an OS. In my experience Red Hat tends to be bleeding edge and not very Posix or Standards compliant, although it will have all the latest software and packages. Debian tends to be slightly out of date in its packages and only tends to allow very very stable products into the distribution and the packages must follow very strict guidelines on where things are installed. Debian is frustrating at times because of its rather Nazi like policy, but at the same time I know if it's on Debian it is going to be rock solid, secure, and easy to maintain. Specific Pros (relating to Nagios): * Easy to install * Integrates easily with Apache with minimal effort * OS and security upgrades occur easily without disrupting nagios * Not bleeding edge * The Clean OS design makes it easy to figure out what is being monitored and the actual state when problems arise. Cons: * Not all the latest plugins - I only found this to be a problem in one case, with check_mysql. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sand Philipp Sent: Friday, January 13, 2006 5:42 AM To: nagios-users@lists.sourceforge.net Subject: AW: [Nagios-users] Question about Linux Distros We run Nagios on Fedora Core 2 without any Problems so far... Why wouldn't you recommend it to run Nagios on Fedora? > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] Im Auftrag von Tedman Eng > Gesendet: Freitag, 30. Dezember 2005 03:16 > An: 'Meyer, David R'; nagios-users@lists.sourceforge.net > Betreff: RE: [Nagios-users] Question about Linux Distros > > All 3 Linux distros you mention run Nagios equally well. The only > difference being the Nagios packages, which are all 3rd party. If I had > to > vote, I'd put RHEL (not Fedora) 1st, Debian 2nd, and Suse 3rd. > > My bias towards RedHat is due to their enterprise-friendly Kickstart > Installer (which is not necessarily nagios related) > > Debian probably has better repositories, but you're only installing once > and > leaving the repositories alone after that. Besides, you'll probably want > to > keep a copy of the packages that got installed, so in case of a disaster > you > can recover to the same version, which a repository won't always keep > around. > > > > -Original Message- > From: Meyer, David R [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 29, 2005 4:04 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Question about Linux Distros > > > All, > > I am going to convert my nagios-text install (no DB...just flat files) to > a > "real" install tomorrow. > > Here is my question... > > In your experience, which version of Linux is best for Nagios? I have > access to Red Hat EL, SUSE, and Debian and am equally comfortable with all > of them. BUT...I am a Nagios virgin. Have you noticed one distro being > better than another in terms of Nagios installing and running? > > Also, which backend DB - - MySQL or PostgreSQL? Same experience applies > to > both. > > Thanks for your advice! > > Dav > > > --- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > ___ > 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 sycor plastics - die neue Branchenloesung fuer die Kunststoffindustrie www.sycor-plastics.de Diese E-Mail ist vertraulich und kann darueber hinaus persoenliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns darueber. Die Firma sycor willigt in keine Vertraege oder vertragliche Verpflichtungen ein oder uebermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdruecklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written
Re: [Nagios-users] check-disk-growing ???
Hello Philipp Sand Philipp wrote: I think I could be pretty interesting to monitor the rate of how much the diskspace increased in an interval x. You probably need some kind of database to store the previous values. It may be a plain binary file or a DBMS. Binary files being faster, I suggest you have a look at rrdtools which generates and manipulates RRD files. For example, you have a Disk X where all the Logfiles of my DB are stored. Normally there about 200MB Logfiles/day. Then suddenly there are 200MB/h... Has anyone written a pluginthe check something like this before? Any hints how to write a Plugin like that? I would wrap the 'check_whatever' plugin into a 'check_store_whatever' one that retrieves the state/perf data and store that into the RRD. 'check_store_xxx' would then check the rate you are looking for (computing the derivate of the last N values introduced) and adjust the the plugin output and its return code accordingly. With this solution, you would also be able to graph the disk usage. Regards -- Thibault GENESSAY ALIADIS www.aliadis.fr Tel. 0870 723 724 Fax 04 72 13 90 40 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ 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] Acknowledge emails
Greetings, I've been using nagios for quite a while. I've customized some of my notifications to fit better on our pagers. Somehow, somewhere, sometime acknowledgement emails stopped sending the acknowledgemnt comment with it.I cannot figure out which place it is I need to put this back in. (Maybe this was a change during a nagios upgrade even). I'm just not certain. I've done a quick compare against the stock templates and my own, but I just don't see what I'm looking for. Any assistance would be appreciated. Jason --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click ___ 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] a config problem using centos 4, apache 2.0.52 and nagios 2.0b4 rpm
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of gillianb > Sent: Thursday, January 12, 2006 9:04 PM > To: Nagios-users@lists.sourceforge.net > Subject: [Nagios-users] a config problem using centos 4, apache 2.0.52 and > nagios 2.0b4 rpm > > No errors in the nagios.log file, but in /var/log/httpd/error_log I find > errors: > Permission Denied: exec of /usr/lib/nagios/cgi/status.cgi failed. > Premature end of script headers status.cgi > > All files under /usr/lib/nagios/cgi have perms > _rwxrwx___ > and ownership nagios:nagios > httpd runs as apache, and apache is in the nagios group. This has always > worked for me in the past. > > I am guessing there is a problem with my httpd setup, but to be honest, > I haven't done anything to it other than add the stanzas for nagios. I > have also deleted them and re-added them just to make sure. As Christian bring up, this could well be SELinux under Centos 4. Run '/usr/sbin/sestatus -v' to see if SELinux is enabled. If so, run 'audit2allow -l -i /var/log/messages -v' and look for references to nagios. If you see any this post -- http://article.gmane.org/gmane.network.nagios.user/33586/match=selinux might be useful. -- Marc --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click ___ 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] Numeric Pager
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Carl Davis > Sent: Friday, January 13, 2006 6:40 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Numeric Pager > > Is anyone employing any method to use a numeric pager with nagios > notifications? It seems in my area the only alpha-numeric pager I can > get is 2-way paging. I have tried this and the two way paging is very > unreliable. I would like to switch to 1-way (it has much better > coverage and reliability), but would have to choose numeric only. I don't do this myself but there is a FAQ entry on it if that helps-- http://www.nagios.org/faqs/viewfaq.php?faq_id=113 > In addition, does anyone have a method that I can use to restrict the > number of pages per month to insure that I don't go over my maximum > number of pages? Nagios has no notification limitations like that. The script that is sending the page could keep track of the number of notifications in a DB or flat file and reset to 0 each month. You'd have to tell it what to do when it exceeded the limit of course. -- Marc --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click ___ 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] Acknowledge emails
Hello Jason Gauthier wrote: I've been using nagios for quite a while. I've customized some of my notifications to fit better on our pagers. Somehow, somewhere, sometime acknowledgement emails stopped sending the acknowledgemnt comment with it.I cannot figure out which place it is I need to put this back in. (Maybe this was a change during a nagios upgrade even). I'm just not certain. I think I know what you are talking about. I have written my own notification script that is called the following way: [...]/mailer.py [...] -a $NOTIFICATIONTYPE$ -s $SERVICESTATE$ [...] I had discovered (I was using 2.0b2 in the first place) that sometimes my script received no value for its -a argument so I had written somewhere in the script the following quick fix: # Nagios has a feature/bug that makes it send mails without the PROBLEM or RECOVERY action # flag. Hence the -a option comes with no argument, which contradicts the check done below. if parameters['-a'] is not None and len(parameters['-a'])==0 and parameters['-s'] is not None and len(parameters['-s']): if parameters['-s'][0] in ('CRITICAL','WARNING','DOWN'): parameters['-a'].append('PROBLEM') logfile.write('Guessing the -a PROBLEM argument \n') elif parameters['-s'][0] in ('OK','UP'): parameters['-a'].append('RECOVERY') logfile.write('Guessing the -a RECOVERY argument \n') I have never reviewed this code since I have upgraded to beta3 then beta4 but it has always worked so far. I guess we should report this to nagios-devel one day :) -- Thibault GENESSAY ALIADIS www.aliadis.fr Tel. 0870 723 724 Fax 04 72 13 90 40 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ 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] Acknowledge emails
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Jason Gauthier > Sent: Friday, January 13, 2006 8:52 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Acknowledge emails > > Greetings, > >I've been using nagios for quite a while. I've customized some of my > notifications to fit better on our pagers. Somehow, somewhere, sometime > acknowledgement emails stopped sending the acknowledgemnt comment with > it.I cannot figure out which place it is I need to put this back in. > (Maybe this was a change during a nagios upgrade even). I'm just not > certain. If you've upgraded to the 2.x train, there is are new macros that you'll need to include in your host and service-notify-by-email scripts -- http://nagios.sourceforge.net/docs/2_0/macros.html#serviceackcomment $SERVICEACKAUTHOR$ A string containing the name of the user who acknowledged the service problem. This macro is only valid in notifications where the $NOTIFICATIONTYPE$ macro is set to "ACKNOWLEDGEMENT". $SERVICEACKCOMMENT$ A string containing the acknowledgement comment that was entered by the user who acknowledged the service problem. This macro is only valid in notifications where the $NOTIFICATIONTYPE$ macro is set to "ACKNOWLEDGEMENT". -- Marc --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click ___ 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] Acknowledge emails
> > I've been using nagios for quite a while. I've > customized some of > >my notifications to fit better on our pagers. Somehow, somewhere, > >sometime acknowledgement emails stopped sending the > acknowledgemnt comment with > >it.I cannot figure out which place it is I need to put > this back in. > >(Maybe this was a change during a nagios upgrade even). I'm > just not > >certain. > > > > > I think I know what you are talking about. I have written my > own notification script that is called the following way: > [...]/mailer.py [...] -a $NOTIFICATIONTYPE$ -s $SERVICESTATE$ [...] > > I had discovered (I was using 2.0b2 in the first place) that > sometimes my script received no value for its -a argument so > I had written somewhere in the script the following quick fix: > > # Nagios has a feature/bug that makes it send mails > without the PROBLEM or RECOVERY action > # flag. Hence the -a option comes with no argument, which > contradicts the check done below. > if parameters['-a'] is not None and > len(parameters['-a'])==0 and parameters['-s'] is not None and > len(parameters['-s']): > if parameters['-s'][0] in ('CRITICAL','WARNING','DOWN'): > parameters['-a'].append('PROBLEM') > logfile.write('Guessing the -a PROBLEM argument \n') > elif parameters['-s'][0] in ('OK','UP'): > parameters['-a'].append('RECOVERY') > logfile.write('Guessing the -a RECOVERY argument \n') I'm not sure if that's the same or not. Since I just had the luxury of acknowledginh a host problem I can elaborate a little. I went into the web interface and hit acknowledge. I put in "jg" for user and "This host is down." in the comment. When I received the email it looks like this: * Nagios * Notification Type: ACKNOWLEDGEMENT Host: Camera State: DOWN Address: 192.168.70.34 Info: CRITICAL - Plugin timed out after 10 seconds Date/Time: Fri Jan 13 10:37:03 EST 2006 = Under info, it used to say "This host is down.". Perhaps even included my username. I can't remember if that was the case or not. This is functionality I'm wanting to get back! Jason --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click ___ 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] CGI error in 2.0b4 & 2.0b5
Hi, I'd like to bring back this old issue again because with nagios-2.0rc1 it is still happening. There were some other troubles with the box too, so i completely reinstalled it with CentOS 4.2 a while ago. Does anyone have a clue what might be causing this? Hopefully it can be solved before the release of 2.0 final. If you need any additional info, please let me know. Cheers, Hans -- Hans Veneman XB email: [EMAIL PROTECTED] Televisieweg 2 tel: +31 36 5462400 1322 AC Almere fax: +31 36 5462424 The Netherlands > -Oorspronkelijk bericht- > Van: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Namens Hans Veneman > Verzonden: woensdag 23 november 2005 12:06 > Aan: Jim Perrin; nagios-users@lists.sourceforge.net > Onderwerp: RE: [Nagios-users] CGI error in 2.0b4 & 2.0b5 > > > On 11/22/05, Hans Veneman <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > On a Fedora Core 3 system with the latest updates I compiled and > > > installed Nagios 2.0b4 and (last week) Nagios 2.0b5. > > Everything seems > > > to work great, except for the cgi-scripts once in a while: > > > > > > In about 3% of the requests (for any of the cgi's) they give an > > > internal server error. Running them from the command line > > learned that > > > it's a bus error that's causing this, and it happens right > > after the > > > status log is opened (strace output): > > > > > > open("/opt/nagios/var/status.log", O_RDONLY) = 4 fstat64(4, > > > {st_mode=S_IFREG|0644, st_size=4578196, ...}) = 0 > > mmap2(NULL, 4578196, > > > PROT_READ, MAP_PRIVATE, 4, 0) = 0xf6b99000 > > > --- SIGBUS (Bus error) @ 0 (0) --- > > > +++ killed by SIGBUS +++ > > > > > > If you wonder why Nagios is in /opt, it's because i'm > migrating our > > > current Nagios master server from a Solaris server to a > > Fedora server. > > > > > > Does anybody have any idea what's causing this, and what > > can be done > > > to prevent these errors? > > > > > > Thanks in advance, > > > Hans > > > > While I've not seen this error before, it may help to know > the options > > you built nagios with, and the hardware type for the system(64bit, > > ppc, x86 etc). I'm using the rpms supplied for nagios on a rhel4 > > machine, and I've had no such issues. > > It's an x86 machine. Nagios was configured with: > --prefix=/opt/nagios --with-cgiurl=/cgi-bin/nagios > --with-htmurl=/nagios --with-nagios-user=nagios > --with-nagios-group=nagios --with-gd-lib=/usr/local/lib > --with-gd-inc=/usr/local/include --disable-statusmap > --disable-statuswrl > > > One piece of unrequested advice: Don't use fedora for > servers unless > > you're okay with the REALLY fast paced upgrade system, and > migration > > path. Instead I'd recommend something like the CentOS ( > > http://centos.org) project, which is a free rebuild of > rhel, with the > > same life span rhel has. > > Thanks for the advice. We are currently using 2 Linux distributions: > RHEL and Fedora, but we are looking into CentOS right now. > > Cheers, > Hans > > -- > Hans Veneman XB > email: [EMAIL PROTECTED] Televisieweg 2 > tel: +31 36 5462400 1322 AC Almere > fax: +31 36 5462424 The Netherlands > > > > --- > This SF.Net email is sponsored by the JBoss Inc. Get > Certified Today Register for a JBoss Training Course. Free > Certification Exam for All Training Attendees Through End of > 2005. For more info visit: > http://ads.osdn.com/?ad_idv28&alloc_id845&op=ick > ___ > 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 > Op dit e-mailbericht is een disclaimer van toepassing, welke te vinden is op http://www.xb.nl/disclaimer.html --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click ___ 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] Acknowledge emails
Jason Gauthier wrote: I'm not sure if that's the same or not. Since I just had the luxury of acknowledginh a host problem I can elaborate a little. After I read Marc's answer, I re-read your problem and noticed that this mine is probably unrelated, so you should not consider my previous post worthwhile. It might interest ppl writing notification scripts, though. -- Thibault GENESSAY ALIADIS www.aliadis.fr Tel. 0870 723 724 Fax 04 72 13 90 40 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ 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 Linux Distros
Given the choice of running RHEL vs Fedora in an enterprise environment, I would choose RHEL, no contest. Any single release of Fedora won't be supported/maintained 12 months from now, whereas RHEL will recieve back-ported security updates for 5 years forward. For a recomended platform for an enterprise monitoring system, security, maintenance, and stability are main selling points. Fedora is a great, free, cutting edge, community supported distro. With Fedora, I'd be scared of it changing under my feet by the time I installed it. Are you backporting/self-compiling the latest security fixes, kernel patches, etc? Or is it worth $150 of your time to have engineers at RedHat do that for you for an entire year. I use Fedora on some of my desktop machines, but for servers I perfer RHEL for those reasons. > From: Sand Philipp [mailto:[EMAIL PROTECTED] > > > We run Nagios on Fedora Core 2 without any Problems so far... > Why wouldn't you recommend it to run Nagios on Fedora? > > > > > All 3 Linux distros you mention run Nagios equally well. The only > > difference being the Nagios packages, which are all 3rd > party. If I had > > to > > vote, I'd put RHEL (not Fedora) 1st, Debian 2nd, and Suse 3rd. > > > > My bias towards RedHat is due to their enterprise-friendly Kickstart > > Installer (which is not necessarily nagios related) > > > > Debian probably has better repositories, but you're only > installing once > > and > > leaving the repositories alone after that. Besides, you'll > probably want > > to > > keep a copy of the packages that got installed, so in case > of a disaster > > you > > can recover to the same version, which a repository won't > always keep > > around. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ 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-disk-growing ???
RRD tool allows you to graph constants (gauge) or rates (counter/derive). Various Nagios plugins/add-ons allow interaction with RRDtool. A hard drive filling up at a certain rate is akin to a traffic counter ticking up on a router. You'll want a plugin or polling method that returns the total disk utilization in bytes or MB. Im not familiar with the data format used in snmp-based disk checks, but it should be fairly simple to insert the data into an RRD file. Creating the RRD as a counter or derive type should fit the bill. > -Original Message- > From: Sand Philipp [mailto:[EMAIL PROTECTED] > Sent: Friday, January 13, 2006 4:11 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] check-disk-growing ??? > > > Hello List, > > I think I could be pretty interesting to monitor the rate of > how much the diskspace increased in an interval x. > For example, you have a Disk X where all the Logfiles of my > DB are stored. Normally there about 200MB Logfiles/day. Then > suddenly there are 200MB/h... > > Has anyone written a pluginthe check something like this before? > Any hints how to write a Plugin like that? > > Regards, > Philipp > > _ > > Philipp Sand > OC-CC-TEC-SYS > > SYCOR GmbH > Heinrich-von-Stephan-Straße 1-5 > D - 37073 Göttingen > > Telefon +49 (0) 551 - 490 - 0 > Telefax +49 (0) 551 - 490 - 232468 > > [EMAIL PROTECTED] > www.sycor.de > > > > > > > > sycor plastics - die neue Branchenloesung fuer die Kunststoffindustrie > > www.sycor-plastics.de > > > > > > > Diese E-Mail ist vertraulich und kann darueber hinaus > persoenliche Informationen beinhalten. Wenn Sie nicht der > bestimmungsgemaesse Empfaenger sind, loeschen Sie bitte die > E-Mail und deren Anhaenge sofort und benachrichtigen Sie uns > darueber. Die Firma sycor willigt in keine Vertraege oder > vertragliche Verpflichtungen ein oder uebermittelt > rechtsverbindliche Angebote, die in Form von E-Mail versandt > werden, sofern dies nicht ausdruecklich in schriftlicher Form > zwischen den Parteien vereinbart wurde. > > This e-mail is confidential and may contain personal and/or > privileged information. If you are not the intended recipient > please delete this e-mail and all attachments immediately and > inform us. The company sycor does not agree with contracts or > contract obligations sent by e-mail, neither do we transmit > legally binding offers by e-mail, unless this is not > expressly agreed upon between the parties and documented in > written form. > > > > --- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=click > ___ > 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 > --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click ___ 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-disk-growing ???
Hello List, I think I could be pretty interesting to monitor the rate of how much the diskspace increased in an interval x. For example, you have a Disk X where all the Logfiles of my DB are stored. Normally there about 200MB Logfiles/day. Then suddenly there are 200MB/h... Has anyone written a pluginthe check something like this before? Any hints how to write a Plugin like that? Regards, Philipp I'll put in a strong recommendation for ganglia: http://ganglia.sourceforge.net/ While it doesn't go directly to the point of a nagios plugin, there exists a graph of part_max_used, or the percentage used of your most full partition. The great thing about ganglia is that there is virtually no setup required. A great complement to Nagios that fits the role of metric trending much better than any other solution I've tried. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ 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] Service Clusters - how to suppress individual checks
I have a true service cluster of 3 machines. At any given moment, only 1 service is running. I have built a cluster monitor, and it works great. The problem is that for the cluster monitor to work, all 3 individual services (portmapper) need to be monitored. At any time, 2 of these are "critical", but that is OK. I'd like to be able to suppress the *display* of the individual services and still allow the cluster monitor to function. A feeble attempt to insert a "register 0" for the individual service caused the cluster monitor to report incorrectly. Is there a way to NOT display a service check on the GUI, but still have the check performed? --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click ___ 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] mountlist.c
After upgrading gcc to 3.3.3 i can nolonger compile the plugins, anyone seen this before? bash-2.05b# make make all-recursive Making all in intl Making all in lib make all-am if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -g -O2 -MT mountlist.o -MD -MP -MF ".deps/mountlist.Tpo" -c -o mountlist.o mountlist.c; then mv -f ".deps/mountlist.Tpo" ".deps/mountlist.Po"; else rm -f ".deps/mountlist.Tpo"; exit 1; fi mountlist.c: In function `fstype_to_string': mountlist.c:187: error: case label does not reduce to an integer constant mountlist.c:203: error: case label does not reduce to an integer constant mountlist.c:207: error: case label does not reduce to an integer constant mountlist.c:211: error: case label does not reduce to an integer constant mountlist.c:215: error: case label does not reduce to an integer constant mountlist.c:223: error: case label does not reduce to an integer constant mountlist.c:227: error: case label does not reduce to an integer constant mountlist.c:231: error: case label does not reduce to an integer constant mountlist.c:235: error: case label does not reduce to an integer constant mountlist.c:239: error: case label does not reduce to an integer constant mountlist.c:243: error: case label does not reduce to an integer constant mountlist.c:247: error: case label does not reduce to an integer constant mountlist.c:251: error: case label does not reduce to an integer constant mountlist.c:255: error: case label does not reduce to an integer constant mountlist.c:263: error: case label does not reduce to an integer constant mountlist.c: At top level: mountlist.c:274: warning: `struct statfs' declared inside parameter list mountlist.c:274: warning: its scope is only this definition or declaration, which is probably not what you want mountlist.c: In function `fsp_to_string': mountlist.c:279: error: dereferencing pointer to incomplete type mountlist.c: In function `read_filesystem_list': mountlist.c:387: warning: passing arg 1 of `getmntinfo' from incompatible pointer type mountlist.c:390: error: increment of pointer to unknown structure mountlist.c:390: error: arithmetic on pointer to an incomplete type mountlist.c:392: warning: passing arg 1 of `fsp_to_string' from incompatible pointer type mountlist.c:395: error: dereferencing pointer to incomplete type mountlist.c:396: error: dereferencing pointer to incomplete type *** Error code 1 Microsoft: Where do you want to go tomorrow? Linux: Where do you want to go today? BSD: Are you guys coming, or what? Robin-David Hammond KB3IEN www.aresnyc.org. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ 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] Amavis
Can Nagios monitor amavisd-new or a port in general like the amavis 10024 port to make sure it is responding? -- Robert --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ 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] Amavis
Try check_tcp and pass the port number. I use this to ensure remote ports are listening. Take down the daemon and you'll see that an alert is generated. Todd - Original Message - From: "Robert Fitzpatrick" <[EMAIL PROTECTED]> To: "Nagios" Sent: Friday, January 13, 2006 8:33 PM Subject: [Nagios-users] Amavis > Can Nagios monitor amavisd-new or a port in general like the amavis > 10024 port to make sure it is responding? > > -- > Robert > > > --- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > ___ > 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 > --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ 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] Setting Nagios db access password
Hi all! I've realise that Nagios is not writting any data to Mysql db (called 'nagios'). I'm afraid I didn't notice the password when It was asked, and I think it's the trouble... Do you know how can I change Nagios password? Not the user/admin, the one which is send to Mysql db to get it. Thanks in advance... ?=¬) Dererk -- [EMAIL PROTECTED]: ~$ cat /proc/version {Pipe} grep -i 'power in your hands' Debian GNUine Perception -Fortune Tip- Bank error in your favor. Collect $200. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click ___ 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