Re: [Nagios-users] Best administration tool for Nagios
monarch works well for me.. nagios 3 isn't 'supported' but it works just fine (if you don't need any of the new config options) On 6/3/08, alexus [EMAIL PROTECTED] wrote: i like nagiosQL, i haven't tried latest version yet, but older had some bugs, i really hope they fix it in new release On Fri, Apr 25, 2008 at 12:42 PM, Luis Fernando Lacayo [EMAIL PROTECTED] wrote: Not to offend anyone, But I think that this is a great opportunity for the community to get involved and help with the translation. Unfortunately, my French is as good as my Arabic, but I am willing to help with the Spanish version. :-) Thanks, Luis On Fri, 2008-03-28 at 15:29 +1300, Steve Wray wrote: Yost, Karl wrote: Centreon for me, support for nagios 3 is on the way with the Centreon 2 release. yeah it looks interesting but a fair bit of it still seems to come through in French even though I've told it my language choice is en. Eg Services Check Load de l'host oreon Forums would be more useful if you know French too... I guess that, wow, the universe really *doesn't* revolve around English... :) Thanks, Karl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of PO Michel Sent: Wednesday, March 26, 2008 8:43 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Best administration tool for Nagios Hi list What is the best PHP/Mysql based tool to administer Nagios ? Nagios Web Config ? NagEdit ? Nagios PHP ? NagiosQL ? Nagat ? Does someone has an idea of which tool will sooner support Nagios 3.0 ? Thanks in advance for your advice, - PO Michel (misterpo) - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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 -- Luis Fernando Lacayo Chicago Public Schools Senior Unix Administrator ITS/ UNIX Infrastructure Office: 773-553-3835 Cell: 773-203-4493 - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ 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 -- http://alexus.org/ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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 monitors localhost and i get http warnings/error/forbidden on the service
Hello I just started using nagios. I have installed yesterday the latest stable build and plugins. My problem is that on the tactical overview I see @ services 1 warning I click on it and I see that it is the localhost where nagios is installed. Host http://192.168.11.163/nagios/cgi-bin/status.cgi?host=allservicestatustypes =4serviceprops=4sorttype=1sortoption=1 Sort by host name (ascending) http://192.168.11.163/nagios/cgi-bin/status.cgi?host=allservicestatustypes =4serviceprops=4sorttype=2sortoption=1 Sort by host name (descending) Service http://192.168.11.163/nagios/cgi-bin/status.cgi?host=allservicestatustypes =4serviceprops=4sorttype=1sortoption=2 Sort by service name (ascending) http://192.168.11.163/nagios/cgi-bin/status.cgi?host=allservicestatustypes =4serviceprops=4sorttype=2sortoption=2 Sort by service name (descending) Status http://192.168.11.163/nagios/cgi-bin/status.cgi?host=allservicestatustypes =4serviceprops=4sorttype=1sortoption=3 Sort by service status (ascending) http://192.168.11.163/nagios/cgi-bin/status.cgi?host=allservicestatustypes =4serviceprops=4sorttype=2sortoption=3 Sort by service status (descending) Last Check http://192.168.11.163/nagios/cgi-bin/status.cgi?host=allservicestatustypes =4serviceprops=4sorttype=1sortoption=4 Sort by last check time (ascending) http://192.168.11.163/nagios/cgi-bin/status.cgi?host=allservicestatustypes =4serviceprops=4sorttype=2sortoption=4 Sort by last check time (descending) Duration http://192.168.11.163/nagios/cgi-bin/status.cgi?host=allservicestatustypes =4serviceprops=4sorttype=1sortoption=6 Sort by state duration (ascending) http://192.168.11.163/nagios/cgi-bin/status.cgi?host=allservicestatustypes =4serviceprops=4sorttype=2sortoption=6 Sort by state duration time (descending) Attempt http://192.168.11.163/nagios/cgi-bin/status.cgi?host=allservicestatustypes =4serviceprops=4sorttype=1sortoption=5 Sort by current attempt (ascending) http://192.168.11.163/nagios/cgi-bin/status.cgi?host=allservicestatustypes =4serviceprops=4sorttype=2sortoption=5 Sort by current attempt (descending)Status Information Localhost HTTPwarning 06-02-2008 18:32:27 0d 11h 30m 56s 4/4HTTP WARNING: HTTP/1.1 403 Forbidden And I click on the service name HTTP and I see this: Service State Information Current Status: WARNING (for 0d 11h 27m 56s) (Has been acknowledged) Status Information: HTTP WARNING: HTTP/1.1 403 Forbidden Performance Data: Current Attempt: 4/4 (HARD state) Last Check Time: 06-02-2008 18:32:27 Check Type: ACTIVE Check Latency / Duration: 0.205 / 0.039 seconds Next Scheduled Check: 06-02-2008 18:37:27 Last State Change: 06-02-2008 07:06:44 Last Notification: 06-02-2008 07:46:08 (notification 1) Is This Service Flapping? NO (0.00% state change) In Scheduled Downtime? NO Last Update: 06-02-2008 18:34:35 ( 0d 0h 0m 5s ago) Here is also some output from /var/log/http/error_log tail error_log [Mon Jun 02 18:05:59 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ [Mon Jun 02 18:10:33 2008] [error] [client 192.168.11.200] File does not exist: /var/www/html/favicon.ico [Mon Jun 02 18:10:34 2008] [error] [client 192.168.11.200] File does not exist: /var/www/html/favicon.ico [Mon Jun 02 18:10:59 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ [Mon Jun 02 18:15:59 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ [Mon Jun 02 18:20:59 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ [Mon Jun 02 18:25:59 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ [Mon Jun 02 18:27:27 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ [Mon Jun 02 18:32:27 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ [Mon Jun 02 18:37:27 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ And the access_log tail access_log 192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] GET /nagios/stylesheets/extinfo.css HTTP/1.1 304 - http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2host=localhostserv ice=HTTP Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] GET /nagios/images/disabled.gif HTTP/1.1 304 - http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2host=localhostserv ice=HTTP Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] GET /nagios/images/passiveonly.gif HTTP/1.1 304 -
[Nagios-users] Log in query
I am not getting a login screen when I bring up Nagios on the web. Where is it configured to require a login. When I get in it is as nagios and I am limited as to what I can do. Any Help? Harry Harry M. Hart Systems integrator SAIC USJFCOM JIOC DCGS-A (757) 203-7422 DSN 668-7422 [EMAIL PROTECTED] [EMAIL PROTECTED] - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] Log in query
Hi I'm not sure what OS your running Nagios on, but did you see section 5 on the installation instructions (for Ubuntu):- http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html It takes you through configuring the web interface for the relevant users. Joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I Sent: 03 June 2008 11:23 To: Matthew Macdonald-Wallace; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Log in query I have a nagios 3 server monitoring several other servers. I use a windows box to get to nagios web. I am not receiving a login screen and it defaults to the user nagios. I need to open it as the nagiosadmin. Thanks for your quick response. Harry Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Macdonald-Wallace Sent: Tuesday, June 03, 2008 6:19 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Log in query On Tue, 3 Jun 2008 06:10:31 -0400 Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I [EMAIL PROTECTED] wrote: I am not getting a login screen when I bring up Nagios on the web. Where is it configured to require a login. When I get in it is as nagios and I am limited as to what I can do. Harry, Configuring nagios for usernames and passwords is usually done in a .htaccess file in /etc/nagios2 (assuming you are using nagios2!). Once you have the users configured as you require, setting these usernames up as contacts for given servers is meant to provide them with only access to their servers. What is it you are trying to achieve? Kind regards, Matt -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |The Linux Specialists | |Tel: 0330 088 1511 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 Registered address: |Wyastone Business Park, Wyastone Leys, Monmouth, NP25 3SR - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] Log in query
On Tue, 3 Jun 2008 06:10:31 -0400 Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I [EMAIL PROTECTED] wrote: I am not getting a login screen when I bring up Nagios on the web. Where is it configured to require a login. When I get in it is as nagios and I am limited as to what I can do. Harry, Configuring nagios for usernames and passwords is usually done in a .htaccess file in /etc/nagios2 (assuming you are using nagios2!). Once you have the users configured as you require, setting these usernames up as contacts for given servers is meant to provide them with only access to their servers. What is it you are trying to achieve? Kind regards, Matt -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |The Linux Specialists | |Tel: 0330 088 1511 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 |Registered address: Wyastone Business Park, | Wyastone Leys, Monmouth, NP25 3SR - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] Log in query
I have a nagios 3 server monitoring several other servers. I use a windows box to get to nagios web. I am not receiving a login screen and it defaults to the user nagios. I need to open it as the nagiosadmin. Thanks for your quick response. Harry Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Macdonald-Wallace Sent: Tuesday, June 03, 2008 6:19 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Log in query On Tue, 3 Jun 2008 06:10:31 -0400 Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I [EMAIL PROTECTED] wrote: I am not getting a login screen when I bring up Nagios on the web. Where is it configured to require a login. When I get in it is as nagios and I am limited as to what I can do. Harry, Configuring nagios for usernames and passwords is usually done in a .htaccess file in /etc/nagios2 (assuming you are using nagios2!). Once you have the users configured as you require, setting these usernames up as contacts for given servers is meant to provide them with only access to their servers. What is it you are trying to achieve? Kind regards, Matt -- |Matthew Macdonald-Wallace |Tiger Computing Ltd |The Linux Specialists | |Tel: 0330 088 1511 |Web: http://www.tiger-computing.co.uk | |Registered in England. Company number: 3389961 Registered address: |Wyastone Business Park, Wyastone Leys, Monmouth, NP25 3SR - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] Log in query
On Jun 3, 2008, at 5:26 AM, Joe Precious wrote: Hi I'm not sure what OS your running Nagios on, but did you see section 5 on the installation instructions (for Ubuntu):- http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html For an even better understanding -- http://nagios.sourceforge.net/docs/3_0/cgiauth.html -- Marc - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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 monitors localhost and i get http warnings/error/forbidden on the service
On Jun 3, 2008, at 4:14 AM, Yaniv wrote: Hello I just started using nagios… I have installed yesterday the latest stable build and plugins… Service State Information Current Status: WARNING (for 0d 11h 27m 56s) (Has been acknowledged) Status Information: HTTP WARNING: HTTP/1.1 403 Forbidden\ Note that it's handy to include the matching service and command definitions for troubleshooting. [Mon Jun 02 18:10:59 2008] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/ /var/www/html, the site directory for the apache web host that you're checking, doesn't have a default index page (i.e. index.html, index.htm or whatever apache is configured to accept). You don't allow directory listing of that directory in apache so apache generates a 403 Forbidden error as a result. The nagios plugin is reporting exactly as it should and you do have an HTTP 'problem'. And the access_log tail access_log 192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] GET / nagios/stylesheets/extinfo.css HTTP/1.1 304 - http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2host=localhostservice=HTTP Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 This didn't include the actual check above. If you're only wanting to check that apache is running on localhost, I'd suggest just creating a blank index.html file in /var/www/html. If you're wanting to verify that a specific virtual host is running, you'll want to add a -H and possibly -u parameter to check_http. You can run 'check_http --help' to see the parameters it understands. This is getting into more advanced topics and I'd suggest reading the documentation and examining the sample config files so that you understand the interaction between service{} check_commands and command{} definitions. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] Log in query
Thanks Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell Sent: Tuesday, June 03, 2008 8:54 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Log in query On Jun 3, 2008, at 5:26 AM, Joe Precious wrote: Hi I'm not sure what OS your running Nagios on, but did you see section 5 on the installation instructions (for Ubuntu):- http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html For an even better understanding -- http://nagios.sourceforge.net/docs/3_0/cgiauth.html -- Marc - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] Monitoring Windows Eventviewer
Thanks for the info, Great that it can be done with the NSClient++ as I have it installed on all our servers. What do I need to define in the NSClient++ agent and where ? Is it in the .ini file or elsewhere ? The only thing you need to do on the Windows server is enable the CheckEventLog.dll by removing the semicolon from that line in the nsc.ini file. Regards, -greg From: Frater, Greg J [mailto:[EMAIL PROTECTED] Sent: maandag 2 juni 2008 21:41 To: Tim Van Caeyzeele Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring Windows Eventviewer Dear All, Would anyone have experience in checking the windows eventviewer for certain events, or turning nagios red in case of ERRORs ? What script are you using ? preferably something that can simply interact with NSClient We do this using the NSClient++ agent (www.nsclient.org file:///\\www.nsclient.org ). It checks the event logs and filters them based on criteria you define, alerting when the number of hits you specify is reached (i.e. when the system log has 1 or more events with an ID of within the last 10 minutes send alerts). Here is an example we use to monitor for a specific Oracle error. In the example we check the application log of the server every 60 minutes for events with an ID of 20 with event type of Error containing a string in the text of the message Can not allocate log, check turns critical after 1 matching event is found that is time stamped within the last 65 minutes. Checkcommands.cfg: define command{ command_namecheck_eventlogs command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkEventLog -a filter=new $ARG1$ MaxWarn=$ARG2$ MaxCrit=$ARG3$ filter-generated=\$ARG4$ $ARG5$ truncate=$ARG6$ # Desc: # $ARG1$ = event logs to check (i.e. file=system file=application) # $ARG2$ = Warning level (i.e. number of hits to generate a warning response) # $ARG3$ = Critical level (i.e. number of hits to generate a critcal response) # $ARG4$ = Time period (i.e. 1 day is '1d' 30 hours is '30h') # $ARG5$ = Filters (i.e. filter-eventID==9009 filter-eventSource=Tcpip) see http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog for detailed info # $ARG6$ = Amount of data to return in characters (i.e. truncate=150) # Example: check_nrpe -H server_name_here -p 5666 -c checkEventLog -a filter=new file=system MaxWarn=1 MaxCrit=1 filter-generated=\30h filter+eventID==10002 descriptions truncate=138 } Services.cfg: define service{ use standard-srv service_description eventlog: Oracle archive log errors check_command check_eventlogs!file=application!1!1!65m!filter+eventID==20 filter+eventType==error filter+message=substr:Can not allocate log!100 normal_check_interval 60 notification_optionsw,c contact_groups apps host_name server1, server2 } HTH, -greg - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ 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 with NDOUtils is not working any more.
Hi 'about 4'oclock' is a typical start time for cron.daily, cron.weekly and cron.monthly scripts, at least under Redhat and clones, all of which ran recently. Is there anything interesting set to run in those? Database backups, anything like that? You have free disk space on your database partition? Yes, I checked cron tasks before I send this post. There was enough free space on partitions. I've seen this when ndo2db is doing it's initial logging to the database and database cleanup tasks. I too couldn't get debug to show anything but saw this activity using strace on the process. That initial process was taking a lng time and seems to be noted in various places. 'mysqladmin showprocesslist' will show you any active connections to the database and a general idea of what it's doing. You could also try using 'strace -fs512 -p pid of ndo2db ' as root to see if it's doing anything. You can use CTRL-C to quit out of strace. I've found that using the 'Retain status file over a reload' patch at http://www.altinity.org works to mask the problem from the GUI. Cheers - strace helped me. I saw that ndo2db can't write to debug log file (wrong permissions). So I changed permissions and I removed one database (old nagios_backup) from MySQL. Don't know which helped but one of above solutions helped. I think that was problem with permission, but log from strace shown that ndo2db asking DB and sending a lot queries. I recently experienced something similar. The reason for it is that the plugin option to discard old data was disabled, and my servicechecks table grew to a size that MySQL didn't like. If you can't insert a record in that table from PHPMyAdmin (or the command line), that may be your problem. I was able to write to database and I already have setting to removed the oldest data from database. So problem was somewhere else. Thank you for your help. Marcin Praczko No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 269.24.5/1479 - Release Date: 02/06/2008 19:02 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] problems to send notifications via email
Hello What's MTA? I need install senmail in my nagios server to do that? On Mon, Jun 2, 2008 at 2:47 PM, Hugo van der Kooij [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luis Gardea wrote: | Hi | | | I just running nagios v3 on ubuntu server. But the notificatiosn | don't arrive to my emails (local email, gmail) Frankly. No. Since there is nothing in your message even remoty telling us how you did setup Nagios to transfer the message to your MTA nor how you did configure your MTA. So help yourself by showing us relevant information like: ~ - Nagios command to send notifications ~ - Logs about the events and notifications ~ - Logs of your MTA. Perhaps if your start to dig in thos you may see what is wrong yourself. Hugo. - -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIRFxaBvzDRVjxmYERApDjAJ9e34tt/TdmxnbC4oXwh0v+P3+sIQCgkL2j PNCzRguZKmON/C4yFP+F+Zc= =gLMw -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] problems to send notifications via email
MTA? First off, check out this site: http://google.com and type MTA in the input box Ignore the Transit Administration links - then read the wikipedia on it Any flavor of MTA will suffice (such as sendmail) to send mail On Tue, Jun 3, 2008 at 12:53 PM, Luis Gardea [EMAIL PROTECTED] wrote: Hello What's MTA? I need install senmail in my nagios server to do that? On Mon, Jun 2, 2008 at 2:47 PM, Hugo van der Kooij [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luis Gardea wrote: | Hi | | | I just running nagios v3 on ubuntu server. But the notificatiosn | don't arrive to my emails (local email, gmail) Frankly. No. Since there is nothing in your message even remoty telling us how you did setup Nagios to transfer the message to your MTA nor how you did configure your MTA. So help yourself by showing us relevant information like: ~ - Nagios command to send notifications ~ - Logs about the events and notifications ~ - Logs of your MTA. Perhaps if your start to dig in thos you may see what is wrong yourself. Hugo. - -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIRFxaBvzDRVjxmYERApDjAJ9e34tt/TdmxnbC4oXwh0v+P3+sIQCgkL2j PNCzRguZKmON/C4yFP+F+Zc= =gLMw -END PGP SIGNATURE- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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 -- Gary Every Pay it Forward! - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ 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] Newbie with Nagios
Hi, I'm starting with Nagios and have a lot of problem and the doc is not enough for me. I have Nagios configured in Linux (Ubuntu Server 8.04). I need to check, for now, 4 servers: 2 Linux and 2 Windows Server 2003. For the Windows Server I have configured NSClient++. Now I get a mail from Nagios every time with 5 minutes between. I mean one mail arrive the system wait 5 minutes and send me the same email. The content of this email is: * Nagios * Notification Type: PROBLEM Service: C:\ Drive Space Host: Salva IP Server 2 Address: 10.128.50.100 State: WARNING Date/Time: Mon Jun 2 23:47:07 CDT 2008 Additional Info: c:\ - total: 17.46 Gb - used: 14.02 Gb (80%) - free 3.44 Gb (20%) What this mean? How can I stop this and just receive email's when system is critical or down or restarting or something else? Cheers and thanks in advance Ing. Reynier Pérez Mira Grupo de Soporte al Desarrollo - Dirección Técnica IP - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ 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] Newbie with Nagios
Are you using Internet Explorer with anonymous login enabled? Just a thought... -Izz -Original Message- From: [EMAIL PROTECTED] Sent: Tue, 3 Jun 2008 23:24:02 -0400 To: [EMAIL PROTECTED], nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Newbie with Nagios You really need to read through the documentation. It is very comprehensive and will show you how to configure alerts, during what time period, how often, and at what notification level you want. You will find all your answers to these basic (and advanced) questions there. Start with that first and understand how Nagios works before posting basic questions here that are answered in the documentation. With only 4 servers it shouldn't take long to configure the way you want. http://nagios.sourceforge.net/docs/3_0/toc.html Hi, I read the doc before start posting here. I have Nagios configured in Ubuntu Server 8.04 as I said before. Now look like I touch any file because when I try to access to Service Detail item I get this error: It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I check also the corresponding to authentication/authorization topic in doc but I can't find where the problem is. I just touch the contact address in /usr/local/nagios/etc/contacts.cfg file and now the content look like this: define contact{ contact_namenagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defin$ alias Nagios Admin; Full name of user email [EMAIL PROTECTED] ; * CHANGE THIS TO YOUR EMAIL ADDRESS ** } define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } So where is the error? Why I can't access to this item? Cheers and thanks in advance Ing. Reynier Pérez Mira Grupo de Soporte al Desarrollo - Dirección Técnica IP - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ 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 - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ 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] Newbie with Nagios
Hi, I read the doc before start posting here. I have Nagios configured in Ubuntu Server 8.04 as I said before. Now look like I touch any file because when I try to access to Service Detail item I get this error: It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I check also the corresponding to authentication/authorization topic in doc but I can't find where the problem is. I just touch the contact address in /usr/local/nagios/etc/contacts.cfg file and now the content look like this: define contact{ contact_namenagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defin$ alias Nagios Admin; Full name of user email [EMAIL PROTECTED] ; * CHANGE THIS TO YOUR EMAIL ADDRESS ** } define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } So where is the error? Why I can't access to this item? Have you checked the HTTP server authentication requirements for accessing this CGI and checked the authorization options in your CGI configuration file as the error message suggests? That's probably where your problem lies. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ 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] Newbie with Nagios
Have you checked the HTTP server authentication requirements for accessing this CGI What you mean with this part? and checked the authorization options in your CGI configuration file as the error message suggests? That's probably where your problem lies. Yes, all them are setup for nagiosadmin user as contacts.cfg said Cheers Ing. Reynier Pérez Mira Grupo de Soporte al Desarrollo - Dirección Técnica IP - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ 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] Newbie with Nagios
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Reynier Perez Mira wrote: | Hi, | I'm starting with Nagios and have a lot of problem and the doc is not enough for me. I have Nagios configured in Linux (Ubuntu Server 8.04). I need to check, for now, 4 servers: 2 Linux and 2 Windows Server 2003. For the Windows Server I have configured NSClient++. Now I get a mail from Nagios every time with 5 minutes between. I mean one mail arrive the system wait 5 minutes and send me the same email. The content of this email is: | | * Nagios * | Notification Type: PROBLEM | | Service: C:\ Drive Space | Host: Salva IP Server 2 | Address: 10.128.50.100 | State: WARNING | | Date/Time: Mon Jun 2 23:47:07 CDT 2008 | Additional Info: | c:\ - total: 17.46 Gb - used: 14.02 Gb (80%) - free 3.44 Gb (20%) | | What this mean? How can I stop this and just receive email's when system is critical or down or restarting or something else? You do not show your config. But the message is clear. You passed the warning value for this disk so the system warns you. If you have set things up to warn every 5 minutes then you got exactly what asked for. The basic thing missing here is your configuration details. How did you define that service? Hugo. - -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIRiVKBvzDRVjxmYERAuPQAKCuqM3BGV2b+Fkm7hy/IMRwUmVdzQCgqQap y3yuhhxvVgitv/KRHvZS03I= =ENnv -END PGP SIGNATURE- - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ 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] Newbie with Nagios
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Reynier Perez Mira wrote: | Have you checked the HTTP server authentication requirements for accessing | this CGI | What you mean with this part? You have not read the manual well enough: http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html http://www.nagios.org/faqs/viewfaq.php?faq_id=47expand=falseshowdesc=false http://nagios.sourceforge.net/docs/2_0/cgiauth.html Sorry to inform you that this is just the million seven hundred and forty second time someone is asking the ame question. And the answer is in the manual. Hugo. - -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIRickBvzDRVjxmYERAh3YAJ9ut0KcQyCBQDW5xHvU52uONReH5QCffF9r id25outLeDWM7neOBeNa4qc= =IElL -END PGP SIGNATURE- - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ 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