[Nagios-users] Network outage not handled correctly
Hi folks, this night we had a router down. As I understand ist, Nagios should not have notified about "host down" for the hosts set behind those routers (I have set up a fitting parent structure, and the map looks okay). But for every host behind the died router there was a "host down" message as well as a "host up" message. Is there anything additional to configure to get network outages handled right? Dirk --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] check_mailq running wild
Hi folks, early this morning Nagios (that means: check_mailq) claimed ALL of my hosts to have increasing mailqueues which went up to 40 mail waiting there and then cleared again. But none of the those hosts has received or sent mail around that period! They are Debian Sarge stable and postfix. Nagios is 2.0rc2, the plugins are current as well. Any explanation for this? Any hint or help is appreciated. Dirk --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] how to control sounds per-browser?
I have sounds turned on in my cgi.cfg so that my NOC staff notices when something goes down. I have other users who want to see nagios pages, but they don't want to hear noises from nagios. How can I help those other users? -- Pete --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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 mysql database loaded
As there was some interest in it, I've uploaded the first version of my Nagios database load scripts to www.nagiosexchange.org. Look for 'mysql database loader' under Addon/Misc. This is a pair of Perl scripts, with minimal documentation, that can load the Nagios config files and the Nagios log files into tables in a mysql database (it will also create the tables for you if you ask it to). Later versions will reduce the data to 3rd normal form, and do some additional post-processing and summarisation, but for now it just loads the data. Please feel free to try it out, comment, improve, etc. Hope they can prove useful to someone. Steve --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] RE: Reporting bits and pieces.
Dear Folks, Firstly some observations and corrections to my recent letters about Reporting. 1 Use of DBD::RAM to at one fell swoop download the Nagios all hosts/services report and stash it in an in-core table (prior to filtering with SELECT and saving in an RDBMS). DBD::RAM no longer builds. It has been replaced by DBD::AnyData. >From the README of DBD::AnyDATA: HISTORICAL NOTE: this module was formerly called DBD::RAM. Its name was changed because many people were unaware that the module supports file operations in addition to in-memory operations. See the Changes file for a description of changes since the last release of DBD::RAM. 2 Another way of accounting for outages (apart from daily log file parsing or using avail.cgi directly) may be with an event handler that inserts rows into a table with these columns HOST_NAME HOST_DOWN HOST_UP OUTAGE Since there are lot of good DB interfaces in various programming languages (Perl, Python, Ruby), this is pretty straight forward. I only recently became aware of the $HOSTDOWNTIME$ macro that allows one to filter outages that are in scheduled downtime. (At this low capability site, the event handler simply appends a row to a CSV file so that Excel can view/edit the data. While this is not great it allows manual update with COMMENT and CAUSE [via Excel] so it allows one in principal to combine problem analysis/resolution data with the outage). 3 Would anyone like to post their Reporting schemas ? and now back to our usual program .. Yours sincerely. --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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] NRPE and allowed_hosts after v.2.0
Hello taken from the READE Section Configuration Paragraph 2. "2) Add entries for the NRPE daemon to either your inetd or xinetd configuration files. Which one your use will depend on which superserver is installed on your system. Both methods are described below. NOTE: If you run nrpe under inetd or xinetd, the server_port and allowed_hosts variables in the nrpe configuration file are ignored." this quote was taken from the 2.3. Moshe Sharon
RE: [Nagios-users] Service definition with * and host-templates
The notification looks right to me. A template can be valid hosts or services according to nagios, as long as all required values for a host config are present in the template config. If they are not all there, then the config is allowed as long as it has a register = 0. Your template called router has all required values. To make it so that "router" does not send a PING notification, you would remove "router" as the host_name for your router host template. (see below) -Lori > -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Kai Reese > Sent: Monday, February 06, 2006 1:19 AM > To: Nagios Users Mailing List > Subject: [Nagios-users] Service definition with * and host-templates > > Hey list. > > I'm having a slight problem with understanding templates, it seems. > > I use a service definition: > ## PING > define service{ > host_name *,!sv-proxy > use PING > } > > where PING is: > ## PING Template > define service{ > host_name PING > namePING > service_description PING > use generic > check_command check_ping!100.0,20%!500.0,60% > register0 > } > > and generic is: > define service{ > host_name GENERIC > namegeneric > service_description generic > is_volatile 0 > check_period24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval1 > contact_groups admin > notification_interval 120 > notification_period workhours > notification_optionsc,r > register0 > } > > > And have host definitions using templates as well. > > ## generic template > define host{ > host_name generic > alias GenericTemplate > contact_groups admin > check_command check-host-alive > max_check_attempts 5 > notification_optionsd,u,r > notification_interval 24x7 > namegeneric > register0 > } > > ## router template > define host{ > use generic => remove the host_name here. > host_name router > alias Template: Router > namerouter > register0 > } > > > And now I keep getting mail notifications telling me: > * Nagios * > > Notification Type: PROBLEM > > Service: PING > Host: Template: Router > Address: > State: CRITICAL > > Date/Time: Mon Feb 6 09:44:32 CET 2006 > > Additional Info: > > CRITICAL - Plugin timed out after 10 seconds > > > > I wonder, if the name is just wrong in the notification email, because > the ip is one of the routers I use, or if I really receive a > notification about a >register 0< template. > > Anyone ? > Thanks, Kai > > > --- > 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://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&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 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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] Why the distinction between host definition and hostextinfo definition?
This is actually true of the services documentation. It doesn't state that you can use hostgroups. -Lori > -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Marc Haber > Sent: Tuesday, February 07, 2006 5:48 AM > To: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Why the distinction between host definition > and hostextinfo definition? > > On Tue, Feb 07, 2006 at 07:27:47AM +0100, Frederik Vanhee wrote: > > Why don't you use the hostgroup_name in the hostextinfo definition ? > > Because I didn't know that hostgroup_name was possible in hostextinfo. > It is not documented in xodtemplate.html for 2.0rc2, but has now been > verified to work. Thanks for pointing this out. > > The availability of hostgroup_name in hostexinfo should definetely be > in the docs for the 2.x release. > > Greetings > Marc > > -- > -- > --- > Marc Haber | "I don't trust Computers. They | Mailadresse im > Header > Mannheim, Germany | lose things."Winona Ryder | Fon: *49 621 > 72739834 > Nordisch by Nature | How to make an American Quilt | Fax: *49 621 > 72739835 > > > --- > 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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] Scheduling downtime for all services in a host?
I wrote a perl script that gets all the services for a host, and then uses the EXTERNAL_COMMAND corresponding to scheduling downtime to put hosts into a downtime. It outputs the entire command to the nagios.cmd file. -Lori From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 6:30 PM To: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Scheduling downtime for all services in a host? I also thought that was the case, so I decided to try it. I declared a host with 2 services, PING and SSH, and I waited until Nagios ran its first checks to make sure that everything was up. Then I declared an hour of flexible downtime on the host, scheduled to start 5 minutes ago and to last for one hour. I did this using the CGIs. Once my command had been received, I turned off SSH (just SSH). I would expect that, since I had declared downtime, I would not be notified about the SSH failure. However, 10 minutes later I got an email telling me that SSH on the host was down. So it looks to me like scheduling downtime just for the host will not automatically schedule downtime for the services on the host, and I can not assume that the host and its services will be going down at the same time. -- A. Karl Kornel Mindspeed Technologies, Inc. [EMAIL PROTECTED] (949) 579-3503 "Andrew Xenides" <[EMAIL PROTECTED]> wrote on 01/07/2003 05:02:13 AM: > I think if a host is down it assumes that the services wont be up either. > > > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: Wednesday, February 08, 2006 12:00 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Scheduling downtime for all services in a host? > > > Dear fellow Nagios users, > > Is there a way for me to schedule downtime automatically for > all services on a host? For reference, I'm using version 2.0rc2. > > When I look at the commands that I can run for a host > containing 2+ services, I see a link to schedule downtime for a > host, but not for all of the services associated with that host. > However, if I look at the commands for a hostgroup or a > servicegroup, I see that I can schedule downtime for all hosts or > services in a hostgroup/servicegroup. However, I do not want to > schedule downtime for all hosts in a hostgroup, just one host. And > I do not have any service groups. > > I did some searching of previous posts, and I have not been > able to find anything helpful. At this point it looks like the only > way for me to declare downtime for all services by executing one > command would be to create one servicegroup for each host in my configuration. > > Does anyone have any more information on this? Thanks in advance! > > -- A. Karl Kornel > Mindspeed Technologies, Inc. > [EMAIL PROTECTED] > (949) 579-3503
RE: [Nagios-users] Major notification problem
What version are you running and on what OS? -Lori From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 3:57 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Major notification problem Hi All! I have major problem with getting notifications :-( Here`s my configs: Miscommands.cfg define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "* Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\nComment: $SERVICEACKCOMMENT$\n\n | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } AND # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "* Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } Minimal.cfg define contact{ contact_name nagios-admin alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r,n host_notification_options d,u,r,n service_notification_commands notify-by-email host_notification_commands host-notify-by-email # service_notification_commands notify-by-sendEmail # host_notification_commands host-notify-by-sendEmail email [EMAIL PROTECTED] } define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagios-admin } define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define host{ use generic-host ; Name of host template to use host_name arnwin0136 alias arnwin0136 address 192.168.103.100 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r, notifications_enabled 1 contact_groups admins } define service{ use
RE: [Nagios-users] Scheduling downtime for all services in a host?
I also thought that was the case, so I decided to try it. I declared a host with 2 services, PING and SSH, and I waited until Nagios ran its first checks to make sure that everything was up. Then I declared an hour of flexible downtime on the host, scheduled to start 5 minutes ago and to last for one hour. I did this using the CGIs. Once my command had been received, I turned off SSH (just SSH). I would expect that, since I had declared downtime, I would not be notified about the SSH failure. However, 10 minutes later I got an email telling me that SSH on the host was down. So it looks to me like scheduling downtime just for the host will not automatically schedule downtime for the services on the host, and I can not assume that the host and its services will be going down at the same time. -- A. Karl Kornel Mindspeed Technologies, Inc. [EMAIL PROTECTED] (949) 579-3503 "Andrew Xenides" <[EMAIL PROTECTED]> wrote on 01/07/2003 05:02:13 AM: > I think if a host is down it assumes that the services wont be up either. > > > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: Wednesday, February 08, 2006 12:00 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Scheduling downtime for all services in a host? > > > Dear fellow Nagios users, > > Is there a way for me to schedule downtime automatically for > all services on a host? For reference, I'm using version 2.0rc2. > > When I look at the commands that I can run for a host > containing 2+ services, I see a link to schedule downtime for a > host, but not for all of the services associated with that host. > However, if I look at the commands for a hostgroup or a > servicegroup, I see that I can schedule downtime for all hosts or > services in a hostgroup/servicegroup. However, I do not want to > schedule downtime for all hosts in a hostgroup, just one host. And > I do not have any service groups. > > I did some searching of previous posts, and I have not been > able to find anything helpful. At this point it looks like the only > way for me to declare downtime for all services by executing one > command would be to create one servicegroup for each host in my configuration. > > Does anyone have any more information on this? Thanks in advance! > > -- A. Karl Kornel > Mindspeed Technologies, Inc. > [EMAIL PROTECTED] > (949) 579-3503
Re: [Nagios-users] Notifications not coming through
Lee Fitz writes: "I had incorrectly edited the 'command_line' in the 'define command' for the email notification. The consequences of which are identical to your result. My guess is that if you look CLOSELY at the 'command_line' you will find something wrong - in my case I had a bare $ in the line." It turns out that this was not the problem -- misccommands.cfg had not changed since June. I did try changing the command to remove all variables, which didn't result in an email either. Thanks for the suggestion, though; it makes sense. The real problem was, somehow the /TMP directory permissions got hosed. Sendmail apparently uses that directory to compose the mail before sending it. Therefore, the notifications got logged in Nagios, because the command line got launched. But the message did not get sent, and nothing would appear in the mail log, because the command line failed. We knew there was more going on than Nagios failure, because when we tried rebooting the system, X11 wouldn't start. Fortunately I had a Linux mage helping me and we eventually tracked it down. -JoAnne -- JoAnne Schmitz Publishing Systems Supervisor The Baltimore Sun desk 410 468 2658 cell 443 829 2855 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] Scheduling downtime for all services in a host?
Dear fellow Nagios users, Is there a way for me to schedule downtime automatically for all services on a host? For reference, I'm using version 2.0rc2. When I look at the commands that I can run for a host containing 2+ services, I see a link to schedule downtime for a host, but not for all of the services associated with that host. However, if I look at the commands for a hostgroup or a servicegroup, I see that I can schedule downtime for all hosts or services in a hostgroup/servicegroup. However, I do not want to schedule downtime for all hosts in a hostgroup, just one host. And I do not have any service groups. I did some searching of previous posts, and I have not been able to find anything helpful. At this point it looks like the only way for me to declare downtime for all services by executing one command would be to create one servicegroup for each host in my configuration. Does anyone have any more information on this? Thanks in advance! -- A. Karl Kornel Mindspeed Technologies, Inc. [EMAIL PROTECTED] (949) 579-3503
[Nagios-users] Major notification problem
Hi All! I have major problem with getting notifications :-( Here`s my configs: Miscommands.cfg define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "* Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\nComment: $SERVICEACKCOMMENT$\n\n | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } AND # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "* Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } Minimal.cfg define contact{ contact_name nagios-admin alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r,n host_notification_options d,u,r,n service_notification_commands notify-by-email host_notification_commands host-notify-by-email# service_notification_commands notify-by-sendEmail# host_notification_commands host-notify-by-sendEmail email [EMAIL PROTECTED] } define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagios-admin } define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define host{ use generic-host ; Name of host template to use host_name arnwin0136 alias arnwin0136 address 192.168.103.100 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r, notifications_enabled 1 contact_groups admins } define service{ use generic-service ; Name of service template to use host_name arnwin0136 service_description PING is_volatile 0 process_perf_data1 check_period 24x7 max_check_attempts 4 normal_check_interval
RE: [Nagios-users] Migrate Nagios 1.3 to 2.0
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Sim > Sent: Tuesday, February 07, 2006 4:48 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Migrate Nagios 1.3 to 2.0 > > Hi! > > Is Nagios 2.0 full compatible with last 1.3? > > ( etc files..., etc.. ) http://nagios.sourceforge.net/docs/2_0/whatsnew.html -- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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] Migrate Nagios 1.3 to 2.0
Hi! Is Nagios 2.0 full compatible with last 1.3? ( etc files..., etc.. ) Thanks! --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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] More on nagios performance data (or the lack of it)
On Tue, 7 Feb 2006, Hugo van der Kooij wrote: > But many of the services do not seem to report their performance data on > each poll. > > Is there a way to find out why nagios is not generating the performancce > data as I expect it to? > > Short reminder: Nagios v2.0 RC2 Got it. I had a wildcard service dependency that was depending on an incorrect service. At least the performance file now looks just fine. I will restore nagiosgraph and see what they graphs look like tomorrow. 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. --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] RE: Embedded Perl and check_disk_smb stopped working
Dear Folks, I am writing to thank you for your letter and say, >-Original Message- >Message: 19 >Date: Tue, 7 Feb 2006 08:32:52 -0500 >From: "Chad Osmond" <[EMAIL PROTECTED]> >Subject: [Nagios-users] Embedded Perl and check_disk_smb >stopped working > >I just upgraded to 2.0rc2 and it seems that my >check_disk_smb.pl doesn't work any more. Any one have a >suggestion? I've verified that utils.pm does exist in the >/usr/lib/nagios/plugins directory and tried copying it to one >of the @INC directories >(/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi ) but >it still doesn't seem to work. > >Here is the error message: > >**ePN failed to compile >/usr/lib/nagios/plugins/check_disk_smb: "Can't locate utils.pm >in @INC (@INC contains: nagios/plugins >/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi >/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi >/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi >/usr/lib/perl5/site_perl/5.8.3" at /usr/sbin/p1.pl line > When using ePN you must remember that the Perl plugin is compiled _once_. (This is the benefit of embedding Perl: there is no need to recompile plugins [that typically don't change] each time they are run. There is also no need to fork a new process and exec Perl. The tradeoff is more memory and hard to understand behaviour such as this). The Perl plugin was compiled when 1 Nagios schedules the plugin for the first time. 2 The plugin text changes (the modification time is checked each time the plugin is scheduled). What you have seen is that the ePN doesn't recompile the plugin after you relocated utils.pm. Your options are 1 Restart Nagios - there's no way to restart the embedded Perl component independently of Nagios 2 Make a trivail modification to the plugin text eg 2.1 add a use lib qw(/path/to/utils.pm) ; 2.2 add a no-op (No-op, No-op the CPUs sang) such as a comment or a 1 == 1; 2.3 I can't remember if touching the text works. If it does this is the best way. >Thanks, > >Chad=20 > Yours sincerely. --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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] More on nagios performance data (or the lack of it)
Right, I did send the nagios performance data to a file and wrote a perlscript to count the events recorded and calculate the average time between events recorded. #!/usr/bin/perl my $filename="/var/log/nagios/service-perfdata.out"; open(FILE, "<$filename"); while ($line =) { chomp($line); @fields = split(/\t/,$line); $timestamp = @fields[0]; $host = @fields[1]; $service = @fields[2]; $count{$host}{$service}++; if ( $min{$host}{$service} ) { if ( $min{$host}{$service} > $timestamp ) { $min{$host}{$service} = $timestamp; } } else { $min{$host}{$service} = $timestamp; } if ( $max{$host}{$service} < $timestamp ) { $max{$host}{$service} = $timestamp; } } close(FILE); if (keys %count) { foreach $host (sort keys %count) { if (keys %{$count{$host}}) { foreach $service (sort keys %{$count{$host}}) { $time = $max{$host}{$service} - $min{$host}{$service}; $average = $time / ($count{$host}{$service} - 1); print "$host\t$service\t= $average\n"; } } } } The results should average the time between events per service per host. But the results are not at all what they should be. For example: aleph DNS = 3599.01728395062 aleph HTTP-lugww.counter.li.org = 3616.66749379653 aleph PING= 179.218954248366 aleph SMTP= 3599.01481481481 aleph SSH = 3616.65756823821 anfalas Internet= 1040.43540328337 anfalas InternetV6 = 1040.33618843683 anfalas PING= 176.439102564103 anfalas SSH = 3616.69975186104 As each service is supposed to be checked every 3 minutes the average should be 180. As the test period may cause some deviation I can understand anything ~10 seconds off. But many of the services do not seem to report their performance data on each poll. Is there a way to find out why nagios is not generating the performancce data as I expect it to? Short reminder: Nagios v2.0 RC2 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. --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] Notifications not coming through
Hi I was having a very similar problem about 1 week ago I had incorrectly edited the 'command_line' in the 'define command' for the email notification. The consequences of which are identical to your result. My guess is that if you look CLOSELY at the 'command_lin e' you will find something wrong - in my case I had a bare $ in the line. Anyway, an easy way to verify operation of you cmd line is to copy and edit it and then try to execute it in a shell - Im betting it wont work - AND I have NOT found anywhere in Nagios where there is any error info about the cmd not being parsed correctly Example define command{ command_namenotify-by-email command_line/usr/bin/printf "%b" "$SERVICEOUTPUT$ $HOSTNAME$ $SHORTDATETIME$" | mail -s "" $CONTACTEMAIL$ } so copy -/usr/bin/printf "%b" "$SERVICEOUTPUT$ $HOSTNAME$ $SHORTDATETIME$ " | mail -s "" $CONTACTEMAIL$- out - edit in real values and execute it - - Lee Fitz (leefitz) --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=15065 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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] spam protection on the nagios mailing list
Title: Message Toto, I don't have an UOL account. I don't know the person that have this UOL account, my intention was to explain why the list receives those messages. cheers, Fernando LimaSchlumberger Security Engineer[EMAIL PROTECTED]Office: +55 21 3824 6954Mobile. : +55 21 9888 9046(GMT: -03:00) -Original Message-From: Toto Capuccino [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 07, 2006 5:38 PMTo: [EMAIL PROTECTED]Subject: Re: [Nagios-users] spam protection on the nagios mailing listwhy dont u use agmail account for mailing list? i sent u a few days ago an invitation 2006/2/7, Fernando Lima <[EMAIL PROTECTED] >: Braddy,Unfortunelly this is the "default" configuration for all UOL (ISP here at Brazil) users. :S It's not only annoyng but a great tool to leave theirusers' mailbox empty. Because I'll never lose even 10 sec. confirming thatmy e-mail exists. There's another way to do it (more smart for sure). Your attitude it's exactly mine... I had configured a filter called Lixo UOL(UOL trash), that every confirmation from UOL I send to trash... For thosethat are UOL users, I'm sorry but you'll never get an answer from myself if needed to confirm anything...Rgds,Fernando LimaSchlumbergerSecurity Engineer[EMAIL PROTECTED]Office: +55 21 3824 6954Mobile. : +55 21 9888 9046(GMT: -03:00) -Original Message-From: [EMAIL PROTECTED][mailto:[EMAIL PROTECTED] ] On Behalf Of Brady MaxwellSent: Tuesday, February 07, 2006 1:37 PMCc: NagiosSubject: Re: [Nagios-users] spam protection on the nagios mailing listIts very annoying. Personally I would dive off a cliff before i took this approach to filtering my email. How annoying for all your friends. Ijust added a filter so that these emails go straight to my junk folder. :)Jim Perrin wrote:> I understand the need for spam protection and all, but why would you > subscribe an address that requires confirmation for EVERY post to a> mailing list? Are other people seeing this?>> >> Olá,>> Você enviou uma mensagem para [EMAIL PROTECTED]> Para que sua mensagem seja encaminhada, por favor, clique aqui>>> Esta confirmação é necessária porque [EMAIL PROTECTED] usa o> Antispam UOL, um programa que elimina mensagens enviadas por robôs,> como pornografia, propaganda e correntes.>> As próximas mensagens enviadas para [EMAIL PROTECTED] não> precisarão ser confirmadas*. *Caso você receba outro pedido de> confirmação, por favor, peça para [EMAIL PROTECTED] incluí-lo em > sua lista de>> >> I'm of the opinion that addresses with this type of requirement should> not be subscribed to a mailing list. What do others think?>> -- > "They that can give up essential liberty to obtain a little temporary> safety deserve neither liberty nor safety'' Benjamin Franklin 1775>>> --- > 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://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&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 whenreporting 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 filesfor problems? Stop! Download the new AJAX search engine that makessearching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642___ Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reportingany 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 filesfor problems? Stop! Download the new AJAX search engine that makessearching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642___ Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v)
Re: [Nagios-users] Sending availability reports by email
Note that you will need to quote the URL or the BASH shell sees the & and does not send the complete line. J On Tue, 2006-02-07 at 17:33 +0200, moshe sharon wrote: > hello > > its not a built in feature but you can use wget you can access > your report ( along with username and password from the > command line fro example: > wget > http://your_nagios_server/nagios/cgi-bin/avail.cgi?show_log_entries=&host=all&timeperiod=last7day > > and pipe it to mail program > > Moshe Sharon > -- Jim Pye PyeNet Universal email: [EMAIL PROTECTED] | Phone: +64 4 527 8284 | Fax: +64 4 528 9693 web site: http://www.pyenet.co.nz --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] spam protection on the nagios mailing list
On Tue, 2006-02-07 at 17:48 -0200, Marcel Mitsuto Fucatu Sugano wrote: > On Tue, 2006-02-07 at 17:32 -0200, Fernando Lima wrote: > > Braddy, > > > > Unfortunelly this is the "default" configuration for all UOL (ISP here at > > Brazil) users. :S It's not only annoyng but a great tool to leave their > > users' mailbox empty. Because I'll never lose even 10 sec. confirming that > > my e-mail exists. There's another way to do it (more smart for sure). Just claryfing things, it is NOT default behaviour. The user has to confirm the anti-spam system to work for his email. So this guy who is annoying everyone here has to be asked to turn it off. -- Marcel Mitsuto Fucatu Sugano <[EMAIL PROTECTED]> Universo Online S.A. -- http://www.uol.com.br --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] spam protection on the nagios mailing list
On Tue, 2006-02-07 at 17:32 -0200, Fernando Lima wrote: > Braddy, > > Unfortunelly this is the "default" configuration for all UOL (ISP here at > Brazil) users. :S It's not only annoyng but a great tool to leave their > users' mailbox empty. Because I'll never lose even 10 sec. confirming that > my e-mail exists. There's another way to do it (more smart for sure). > > Your attitude it's exactly mine... I had configured a filter called Lixo UOL > (UOL trash), that every confirmation from UOL I send to trash... For those > that are UOL users, I'm sorry but you'll never get an answer from myself if > needed to confirm anything... That is why I use gmail, even been a UOL employee, to hold all my lists inscriptions. But i've subscribe my work email only to send messages to the list, because they filter outgoing email via other smtp, like gmail's. Sorry for the annoyance, but even working here(uolinc), i hate the turim's test. > Rgds, > Fernando Lima > Schlumberger > Security Engineer > [EMAIL PROTECTED] > > Office: +55 21 3824 6954 > Mobile. : +55 21 9888 9046 > (GMT: -03:00) > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Brady Maxwell > Sent: Tuesday, February 07, 2006 1:37 PM > Cc: Nagios > Subject: Re: [Nagios-users] spam protection on the nagios mailing list > > > Its very annoying. Personally I would dive off a cliff before i took > this approach to filtering my email. How annoying for all your friends. I > just added a filter so that these emails go straight to my junk folder. :) > > Jim Perrin wrote: > > I understand the need for spam protection and all, but why would you > > subscribe an address that requires confirmation for EVERY post to a > > mailing list? Are other people seeing this? > > > > > > > > Olá, > > > > Você enviou uma mensagem para [EMAIL PROTECTED] > > Para que sua mensagem seja encaminhada, por favor, clique aqui > > > > > > Esta confirmação é necessária porque [EMAIL PROTECTED] usa o > > Antispam UOL, um programa que elimina mensagens enviadas por robôs, > > como pornografia, propaganda e correntes. > > > > As próximas mensagens enviadas para [EMAIL PROTECTED] não > > precisarão ser confirmadas*. *Caso você receba outro pedido de > > confirmação, por favor, peça para [EMAIL PROTECTED] incluí-lo em > > sua lista de > > > > > > > > I'm of the opinion that addresses with this type of requirement should > > not be subscribed to a mailing list. What do others think? > > > > -- > > "They that can give up essential liberty to obtain a little temporary > > safety deserve neither liberty nor safety'' Benjamin Franklin 1775 > > > > > > --- > > 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://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&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 > > > > > > > --- > 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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 > > > > --- > 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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 -- Marcel Mitsuto Fucatu Sugano <[EMAIL PROTECTED]> Universo Online S.A. -- http://www.uol.com.br --- This SF.net email is sponsore
RE: [Nagios-users] NSCA messages
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Brady Maxwell > Sent: Tuesday, February 07, 2006 1:13 PM > To: Mike Koponick > Cc: Sumit Malhotra; Nagios users > Subject: Re: [Nagios-users] NSCA messages > > ok another question same topic > > in what cfg file should the command def for submit_check_result be placed? Any file defined as a 'cfg_file' in nagios.cfg. It doesn't matter. I think most people have a commands.cfg or miscommands.cfg file for command definitions. -- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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] NSCA messages - DOCUMENTATION BUG
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Brady Maxwell > Sent: Tuesday, February 07, 2006 1:10 PM > To: Mike Koponick > Cc: Sumit Malhotra; Nagios users > Subject: Re: [Nagios-users] NSCA messages > > I would actually be willing to except this as an answer > > here is the script I am using for submit_check_results > [chop] > my command def is > > define command{ > command_namesubmit_check_result > command_line > /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ > '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' > } > > Identical to the sample script in the 2.0 doco and the sample command > definition i really just customized the ip and port Docco bug in http://nagios.sourceforge.net/docs/2_0/distributed.html. $OUTPUT$ should be $SERVICEOUTPUT$. -- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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] spam protection on the nagios mailing list
Braddy, Unfortunelly this is the "default" configuration for all UOL (ISP here at Brazil) users. :S It's not only annoyng but a great tool to leave their users' mailbox empty. Because I'll never lose even 10 sec. confirming that my e-mail exists. There's another way to do it (more smart for sure). Your attitude it's exactly mine... I had configured a filter called Lixo UOL (UOL trash), that every confirmation from UOL I send to trash... For those that are UOL users, I'm sorry but you'll never get an answer from myself if needed to confirm anything... Rgds, Fernando Lima Schlumberger Security Engineer [EMAIL PROTECTED] Office: +55 21 3824 6954 Mobile. : +55 21 9888 9046 (GMT: -03:00) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brady Maxwell Sent: Tuesday, February 07, 2006 1:37 PM Cc: Nagios Subject: Re: [Nagios-users] spam protection on the nagios mailing list Its very annoying. Personally I would dive off a cliff before i took this approach to filtering my email. How annoying for all your friends. I just added a filter so that these emails go straight to my junk folder. :) Jim Perrin wrote: > I understand the need for spam protection and all, but why would you > subscribe an address that requires confirmation for EVERY post to a > mailing list? Are other people seeing this? > > > > Olá, > > Você enviou uma mensagem para [EMAIL PROTECTED] > Para que sua mensagem seja encaminhada, por favor, clique aqui > > > Esta confirmação é necessária porque [EMAIL PROTECTED] usa o > Antispam UOL, um programa que elimina mensagens enviadas por robôs, > como pornografia, propaganda e correntes. > > As próximas mensagens enviadas para [EMAIL PROTECTED] não > precisarão ser confirmadas*. *Caso você receba outro pedido de > confirmação, por favor, peça para [EMAIL PROTECTED] incluí-lo em > sua lista de > > > > I'm of the opinion that addresses with this type of requirement should > not be subscribed to a mailing list. What do others think? > > -- > "They that can give up essential liberty to obtain a little temporary > safety deserve neither liberty nor safety'' Benjamin Franklin 1775 > > > --- > 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://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&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 > > --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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] NSCA messages
ok another question same topic in what cfg file should the command def for submit_check_result be placed? Mike Koponick wrote: I actually had a similar issue last week with NSCA. It would time-out; however I was able to telnet to the correct host/port. The problem I found was that the macros were somehow incorrect for the "submit_check" command that I used. For some reason, it showed that it timed out, rather than showing an error of an incorrect macro. Go figure. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sumit Malhotra Sent: Tuesday, February 07, 2006 7:56 AM To: [EMAIL PROTECTED]; 'Nagios users' Subject: RE: [Nagios-users] NSCA messages Should be ...to confirm... telnet Where is on which you have configured NSCA on - most probably 5667) If it's getting timed out, it shouldn't respond. Thanks. Sumit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brady Maxwell Sent: Tuesday, February 07, 2006 9:18 PM To: Nagios users Subject: [Nagios-users] NSCA messages I am getting stuff like this on my distributed server. It had been working and I do not think I changed anything. Could this be because the distributed server can not reach the central server? Feb 7 07:48:01 Netcarenagios nagios: Warning: OCSP command '/usr/local/nagios/libexec/eventhandlers/submit_check_result IVAN 'UPTIME' OK '$OUTPUT$'' for ser vice 'UPTIME' on host 'IVAN' timed out after 5 seconds --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] NSCA messages
I would actually be willing to except this as an answer here is the script I am using for submit_check_results #!/bin/sh # Arguments: # $1 = host_name (Short name of the host that the service is associated with) # $2 = svc_description (Description of the service) # $3 = state_string (A string respresenting the status of the given service - "OK", "WARNING", "CRITICAL" OR "UNKNOWN") # $4 = plugin_output (A text string that should be used as the plugin output for the service check) # # # # # Convert the state string to the corresponding return code return_code=-1 case "$3" in OK) return_code=0 ;; WARNING) return_code=1 ;; CRITICAL) return_code=2 ;; UNKNOWN) return_code=-1 ;; esac # pipe the service check info into the send_nsca program, which in turn transmits the data to the nsca deamon on the central # monitoring server /usr/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/local/nagios/bin/send_nsca XXX.XXX.XXX.XXX -p -c /usr/local/nagios/etc/send_nsca.cfg my command def is define command{ command_namesubmit_check_result command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' } Identical to the sample script in the 2.0 doco and the sample command definition i really just customized the ip and port Mike Koponick wrote: I actually had a similar issue last week with NSCA. It would time-out; however I was able to telnet to the correct host/port. The problem I found was that the macros were somehow incorrect for the "submit_check" command that I used. For some reason, it showed that it timed out, rather than showing an error of an incorrect macro. Go figure. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sumit Malhotra Sent: Tuesday, February 07, 2006 7:56 AM To: [EMAIL PROTECTED]; 'Nagios users' Subject: RE: [Nagios-users] NSCA messages Should be ...to confirm... telnet Where is on which you have configured NSCA on - most probably 5667) If it's getting timed out, it shouldn't respond. Thanks. Sumit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brady Maxwell Sent: Tuesday, February 07, 2006 9:18 PM To: Nagios users Subject: [Nagios-users] NSCA messages I am getting stuff like this on my distributed server. It had been working and I do not think I changed anything. Could this be because the distributed server can not reach the central server? Feb 7 07:48:01 Netcarenagios nagios: Warning: OCSP command '/usr/local/nagios/libexec/eventhandlers/submit_check_result IVAN 'UPTIME' OK '$OUTPUT$'' for ser vice 'UPTIME' on host 'IVAN' timed out after 5 seconds --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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 Behaviors
Kai Reese wrote: Hey. Maybe I'm missing the scope of things, but where are repetetive iterations of PING a problem when you work with templates? I'm working in a much smaller scope here than Mark and I've wondered about repetetive service-entries as well, but I've come to the conclusion that by using templates I can avoid most of the problems that these multiple entries create, even more so when -as I understand is your problem- the only thing that changes are the contacts. I would however see problems with an overhaul of the way things are addressed at this moment for matters of portability and upgradability. I would imagine the hassle of defining 25*10 services is less than migrating all your hosts and service-definitions to a new setup/layout. Well, my thought was not to eliminate contacts from the services definition, but rather make it optional and pass the contact info from the host definition. This way I can create a single service for all or a large chunk of hosts with different contacts. If for some reason I want to exclude a user from a specific service on which they are a contact for the host, I would then override the inheritance from the host definition to use a specific contact or contact group. I don't have any particular need to do this so it seems a bit redundant to me to have to specify it within my service configuration which also causes me to configure the same service checks depending upon who should have access to them. Also, at this very moment, I'm wondering if services maybe support the 'contact' entries, since they also do work with the (undocumented) hostgroup_name entries. Wouldn't that solve most of your problems? Did I misunderstand your problem at some point or is what I just wondered exactly the solution you were asking to be implemented? Kai I wouldn't say it's a problem since I can work around it, but rather a question as to why the implementation would not allow for this. Is there a downside to making the contacts an inherited feature from the host and having the contact option within the service definition become optional rather than mandatory? Todd On 2/7/06, Todd Barbera <[EMAIL PROTECTED]> wrote: Hi Mark, I too had submitted an e-mail asking if passing the host properties along to the services would have some detrimental impact, but I didn't receive a reply. I agree that it would certainly make the services.cfg file much simpler to maintain if you didn't have to set up multiple services in order to create different views for various user groups. For instance, all my hosts are setup for PING. If I want notifications sent out to specific users for specific hosts, I have to have multiple iterations of PING in my services.cfg file. If I try to add all contacts to PING, then the see every host in the interface. This is not desirable since I only want them to see the hosts and services for which they have a stake in. I think this is a greater design question that may be best answered by Ethan, but if anyone else has thoughts on the matter I'd be happy to hear the response. Best regards, Todd -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Garringer, Mark Sent: Monday, February 06, 2006 9:07 PM To: 'Nagios-users@lists.sourceforge.net' Subject: [Nagios-users] Nagios Behaviors This may be rather long, please bare with me. I am currently running Nagios 2.0rc2 with 451 hosts and 1733 services. I've recently upgraded from Netsaint (0.78b I think). During this upgrade I took the time to reexamine my configurations to take advantage of the grouping logic and regular expression features in Nagios. This help make the setup much easier, faster, and more consistent than it ever was under Netsaint. Kudos! All of the following assumes that I'm doing things to the best of my understanding, and if they are incorrect or misguided in some way, I'd be more than happy to discuss the 'correct' way of implementing these features. I'm starting to run into a few operational issues that I'd like to raise. One of the most annoying is that RECOVERY should actually have a state for EACH type of RECOVERY that can exist. That way, I'm not getting RECOVERY notices for WARNINGS that I didn't get in the first place (because I don't care about WARNINGS in most cases.). I should only ever get RECOVERY for states which I've already indicated I want to receive their corresponding original alert from. The other is that HOST level notification/check_periods should be inherited by any service being check on that HOST unless explicitly overridden. For example, I have a host with 10 services on it (checking disk space in various file systems, checking for certain named processes to be running) and it has a HOST level notification_period (maintenance window) from Saturday at 1800 till Sunday 1000. Every week. I don't want to, or need to know about service changes during these times. I'm the user, and I'm requesting a
Re: [Nagios-users] Embedded Perl and check_disk_smb stopped working
Nevermind, my bad, I replied to wrong issue...sorry folks. -Don On Tue, 2006-02-07 at 08:32 -0500, Chad Osmond wrote: > I just upgraded to 2.0rc2 and it seems that my check_disk_smb.pl doesn't > work any more. Any one have a suggestion? > I've verified that utils.pm does exist in the /usr/lib/nagios/plugins > directory and tried copying it to one of the @INC directories > (/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi ) but it still > doesn't seem to work. > > Here is the error message: > > **ePN failed to compile /usr/lib/nagios/plugins/check_disk_smb: "Can't > locate utils.pm in @INC (@INC contains: nagios/plugins > /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.3" at /usr/sbin/p1.pl line > > Thanks, > > Chad > > > --- > 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] Embedded Perl and check_disk_smb stopped working
I have my plugins in /usr/local/bin on the client and had a similiar issue and wound up just making a /usr/local/nagios directory and inside that directory created a symlink to /usr/local/bin as libexec and now everything works fine. -Don On Tue, 2006-02-07 at 08:32 -0500, Chad Osmond wrote: > I just upgraded to 2.0rc2 and it seems that my check_disk_smb.pl doesn't > work any more. Any one have a suggestion? > I've verified that utils.pm does exist in the /usr/lib/nagios/plugins > directory and tried copying it to one of the @INC directories > (/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi ) but it still > doesn't seem to work. > > Here is the error message: > > **ePN failed to compile /usr/lib/nagios/plugins/check_disk_smb: "Can't > locate utils.pm in @INC (@INC contains: nagios/plugins > /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.3" at /usr/sbin/p1.pl line > > Thanks, > > Chad > > > --- > 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] NSCA messages
I actually had a similar issue last week with NSCA. It would time-out; however I was able to telnet to the correct host/port. The problem I found was that the macros were somehow incorrect for the "submit_check" command that I used. For some reason, it showed that it timed out, rather than showing an error of an incorrect macro. Go figure. Mike -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sumit Malhotra Sent: Tuesday, February 07, 2006 7:56 AM To: [EMAIL PROTECTED]; 'Nagios users' Subject: RE: [Nagios-users] NSCA messages Should be ...to confirm... telnet Where is on which you have configured NSCA on - most probably 5667) If it's getting timed out, it shouldn't respond. Thanks. Sumit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brady Maxwell Sent: Tuesday, February 07, 2006 9:18 PM To: Nagios users Subject: [Nagios-users] NSCA messages I am getting stuff like this on my distributed server. It had been working and I do not think I changed anything. Could this be because the distributed server can not reach the central server? Feb 7 07:48:01 Netcarenagios nagios: Warning: OCSP command '/usr/local/nagios/libexec/eventhandlers/submit_check_result IVAN 'UPTIME' OK '$OUTPUT$'' for ser vice 'UPTIME' on host 'IVAN' timed out after 5 seconds --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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] Why the distinction between host definition and hostextinfo definition?
On Tue, Feb 07, 2006 at 07:27:47AM +0100, Frederik Vanhee wrote: > Why don't you use the hostgroup_name in the hostextinfo definition ? Because I didn't know that hostgroup_name was possible in hostextinfo. It is not documented in xodtemplate.html for 2.0rc2, but has now been verified to work. Thanks for pointing this out. The availability of hostgroup_name in hostexinfo should definetely be in the docs for the 2.x release. Greetings Marc -- - Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things."Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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 State Breakdowns show over 100 percent
---question startAnyone know why does my Host State Breakdowns DOWN show over 100% for this one site? UP Unscheduled 0d 0h 0m 0s 0.000% 0.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 0d 0h 0m 0s 0.000% 0.000% DOWN Unscheduled 32d 22h 13m 50s 99.968% 100.000% Scheduled 4d 14h 31m 44s 12.267% 12.271% Total 37d 12h 45m 34s 99.968% 100.000% UNREACHABLE Unscheduled 0d 0h 0m 0s 0.000% 0.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 0d 0h 0m 0s 0.000% 0.000% Undetermined Nagios Not Running 0d 0h 17m 14s 0.032% Insufficient Data 0d 0h 0m 0s 0.000% Total 0d 0h 17m 14s 0.032% All Total 37d 13h 2m 48s 100.000% 100.000% -assume initial states =yes-assume state retention=yes (it is) -first assumed host state=unspecified-backtracked archives=40-report period=current time range--end---
RE: [Nagios-users] NSCA messages
Should be ...to confirm... telnet Where is on which you have configured NSCA on - most probably 5667) If it's getting timed out, it shouldn't respond. Thanks. Sumit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brady Maxwell Sent: Tuesday, February 07, 2006 9:18 PM To: Nagios users Subject: [Nagios-users] NSCA messages I am getting stuff like this on my distributed server. It had been working and I do not think I changed anything. Could this be because the distributed server can not reach the central server? Feb 7 07:48:01 Netcarenagios nagios: Warning: OCSP command '/usr/local/nagios/libexec/eventhandlers/submit_check_result IVAN 'UPTIME' OK '$OUTPUT$'' for ser vice 'UPTIME' on host 'IVAN' timed out after 5 seconds --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] Embedded Perl and check_disk_smb stopped working
I just upgraded to 2.0rc2 and it seems that my check_disk_smb.pl doesn't work any more. Any one have a suggestion? I've verified that utils.pm does exist in the /usr/lib/nagios/plugins directory and tried copying it to one of the @INC directories (/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi ) but it still doesn't seem to work. Here is the error message: **ePN failed to compile /usr/lib/nagios/plugins/check_disk_smb: "Can't locate utils.pm in @INC (@INC contains: nagios/plugins /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3" at /usr/sbin/p1.pl line Thanks, Chad --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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] NSCA messages
I tried the telnet and was able to connect to the port with out a problem. I am so confused. :) Sumit Malhotra wrote: Should be ...to confirm... telnet Where is on which you have configured NSCA on - most probably 5667) If it's getting timed out, it shouldn't respond. Thanks. Sumit -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brady Maxwell Sent: Tuesday, February 07, 2006 9:18 PM To: Nagios users Subject: [Nagios-users] NSCA messages I am getting stuff like this on my distributed server. It had been working and I do not think I changed anything. Could this be because the distributed server can not reach the central server? Feb 7 07:48:01 Netcarenagios nagios: Warning: OCSP command '/usr/local/nagios/libexec/eventhandlers/submit_check_result IVAN 'UPTIME' OK '$OUTPUT$'' for ser vice 'UPTIME' on host 'IVAN' timed out after 5 seconds --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] Why the distinction between host definition and hostextinfo definition?
On Mon, Feb 06, 2006 at 04:31:36PM -0600, Ethan Galstad wrote: > On 3 Feb 2006 at 12:42, Marc Haber wrote: > > Is there any reason for keeping this distinction and not including > > hostextinfo into main configuration? > > > The distinction has been maintained primarily for historical reasons. Thanks for confirming my guess. > I will most likely be moving host/service extended info definitions > into the host/service definitions in Nagios 3.0. Too bad it's too late for Nagios 2. Greetings Marc -- - Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things."Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] NSCA messages
I am getting stuff like this on my distributed server. It had been working and I do not think I changed anything. Could this be because the distributed server can not reach the central server? Feb 7 07:48:01 Netcarenagios nagios: Warning: OCSP command '/usr/local/nagios/libexec/eventhandlers/submit_check_result IVAN 'UPTIME' OK '$OUTPUT$'' for ser vice 'UPTIME' on host 'IVAN' timed out after 5 seconds --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] NRPE and allowed_hosts after v.2.0
> you run the nrpe in standalone mode > the allowed_hosts working Hi! It isn't true :( # cd nrpe-2.0/src/ # grep "allowed_hosts" * Binary file nrpe matches nrpe.c:charallowed_hosts[MAX_INPUT_BUFFER]; nrpe.c: else if(!strcmp(varname,"allowed_hosts")){ nrpe.c: if(strlen(input_buffer)>sizeof(allowed_hosts)){ nrpe.c: strncpy(allowed_hosts,varvalue,sizeof(allowed_hosts)); nrpe.c: allowed_hosts[sizeof(allowed_hosts)-1]='\x0'; nrpe.c: syslog(LOG_DEBUG,"Allowing connections from: %s\n",allowed_hosts); nrpe.c: strncpy(temp_buffer,allowed_hosts,sizeof(temp_buffer)); # cd nrpe-2.3/src/ # grep "allowed_hosts" * # Thanks! --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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] spam protection on the nagios mailing list
Its very annoying. Personally I would dive off a cliff before i took this approach to filtering my email. How annoying for all your friends. I just added a filter so that these emails go straight to my junk folder. :) Jim Perrin wrote: I understand the need for spam protection and all, but why would you subscribe an address that requires confirmation for EVERY post to a mailing list? Are other people seeing this? Olá, Você enviou uma mensagem para [EMAIL PROTECTED] Para que sua mensagem seja encaminhada, por favor, clique aqui Esta confirmação é necessária porque [EMAIL PROTECTED] usa o Antispam UOL, um programa que elimina mensagens enviadas por robôs, como pornografia, propaganda e correntes. As próximas mensagens enviadas para [EMAIL PROTECTED] não precisarão ser confirmadas*. *Caso você receba outro pedido de confirmação, por favor, peça para [EMAIL PROTECTED] incluí-lo em sua lista de I'm of the opinion that addresses with this type of requirement should not be subscribed to a mailing list. What do others think? -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety'' Benjamin Franklin 1775 --- 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://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&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 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] Sending availability reports by email
helloits not a built in feature but you can use wget you can access your report ( along with username and password from the command line fro example: wget http://your_nagios_server/nagios/cgi-bin/avail.cgi?show_log_entries=&host=all&timeperiod=last7day and pipe it to mail program Moshe Sharon
Re: [Nagios-users] NSCA Wierdness?
Steve, Yes I am certain I defined the host. I think the issue was caused because I basically did a cut and paste from the host file on the distributed server to the central server. I remarked out the ip of the box IVAN (as well as many others) in the host file afterward and I think these messages went away. Also I disabled host checking on the central box because none of the monitored hosts are accessable on the local network. I am not sure this was the correct way to get rid of this warning but I am still working on it. :) Thanks Brady Steve Shipway wrote: [1139251531] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;IVAN;0;0 [1139251531] Warning: Passive check result was received for host 'IVAN', but the host could not be found! This message means that Nagios cannot find a host called 'IVAN' in the definitions. Are you 100% sure you have defined this host, on the server which is receiving the NSCA alerts and producing this log (the central server)? Have you defined it in all upper case, like the NSCA alert is being received? It's case sensitive, remember. Nagios will not automatically define a host just because it is defined on a downstream server, so you have to define it on both servers. Steve --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] NRPE and allowed_hosts after v.2.0
hello allowed_hosts under xinetd never worked(you can read it in the docs) instead you can use the settings of xinetd "only_from" and enter the server ip. if you run the nrpe in standalone mode the allowed_hosts working Moshe Sharon On 2/7/06, Sim <[EMAIL PROTECTED]> wrote: Hi!Why allowed_hosts isn't present in version >2.0... ?I'm not using xinetd, and now I can't set allowed hosts. Is there a solution, without xinetd or iptables?Thanks!---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 makessearching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642___Nagios-users mailing listNagios-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 Behaviors
Hey. Maybe I'm missing the scope of things, but where are repetetive iterations of PING a problem when you work with templates? I'm working in a much smaller scope here than Mark and I've wondered about repetetive service-entries as well, but I've come to the conclusion that by using templates I can avoid most of the problems that these multiple entries create, even more so when -as I understand is your problem- the only thing that changes are the contacts. I would however see problems with an overhaul of the way things are addressed at this moment for matters of portability and upgradability. I would imagine the hassle of defining 25*10 services is less than migrating all your hosts and service-definitions to a new setup/layout. Also, at this very moment, I'm wondering if services maybe support the 'contact' entries, since they also do work with the (undocumented) hostgroup_name entries. Wouldn't that solve most of your problems? Did I misunderstand your problem at some point or is what I just wondered exactly the solution you were asking to be implemented? Kai On 2/7/06, Todd Barbera <[EMAIL PROTECTED]> wrote: > > > Hi Mark, > > > > I too had submitted an e-mail asking if passing the host properties along to > the services would have some detrimental impact, but I didn't receive a > reply. I agree that it would certainly make the services.cfg file much > simpler to maintain if you didn't have to set up multiple services in order > to create different views for various user groups. For instance, all my > hosts are setup for PING. If I want notifications sent out to specific users > for specific hosts, I have to have multiple iterations of PING in my > services.cfg file. If I try to add all contacts to PING, then the see every > host in the interface. This is not desirable since I only want them to see > the hosts and services for which they have a stake in. I think this is a > greater design question that may be best answered by Ethan, but if anyone > else has thoughts on the matter I'd be happy to hear the response. > > > > Best regards, > > > > Todd > > > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Garringer, Mark > Sent: Monday, February 06, 2006 9:07 PM > To: 'Nagios-users@lists.sourceforge.net' > Subject: [Nagios-users] Nagios Behaviors > > > > This may be rather long, please bare with me. > > I am currently running Nagios 2.0rc2 with 451 hosts and 1733 services. I've > recently upgraded from Netsaint (0.78b I think). During this upgrade I took > the time to reexamine my configurations to take advantage of the grouping > logic and regular expression features in Nagios. This help make the setup > much easier, faster, and more consistent than it ever was under Netsaint. > Kudos! > > All of the following assumes that I'm doing things to the best of my > understanding, and if they are incorrect or misguided in some way, I'd be > more than happy to discuss the 'correct' way of implementing these features. > > I'm starting to run into a few operational issues that I'd like to raise. > One of the most annoying is that RECOVERY should actually have a state for > EACH type of RECOVERY that can exist. That way, I'm not getting RECOVERY > notices for WARNINGS that I didn't get in the first place (because I don't > care about WARNINGS in most cases.). I should only ever get RECOVERY for > states which I've already indicated I want to receive their corresponding > original alert from. > > The other is that HOST level notification/check_periods should be inherited > by any service being check on that HOST unless explicitly overridden. > > For example, I have a host with 10 services on it (checking disk space in > various file systems, checking for certain named processes to be running) > and it has a HOST level notification_period (maintenance window) from > Saturday at 1800 till Sunday 1000. Every week. I don't want to, or need to > know about service changes during these times. I'm the user, and I'm > requesting a black out of notifications during this time. If there are > (still) problems after 1000 on Sunday, I do need to know about them or take > action. The best answers I can seem to find seem to be workarounds that will > cause me more overall upkeep and/or are counter to the whole idea of using > grouping logic to begin with. > > Creating a separate, non-dynamic cron offshoot to take care of this for me > while functional requires me to basically go and define another list of > items (and upkeep them) to deal with and is completely external to Nagios. > > Defining each service individually so that they all can have 1 host assigned > to them so they can have different maintenance windows as needed is totally > against the grouping logic and allows again for much easier divergence from > a set standard. Having 25 linux machines all in a linux host group because I > want to check 10 common services rocks. However, not all 25 servers will > have th
RE: [Nagios-users] Nagios Behaviors
Title: Message Hi Mark, I too had submitted an e-mail asking if passing the host properties along to the services would have some detrimental impact, but I didn’t receive a reply. I agree that it would certainly make the services.cfg file much simpler to maintain if you didn’t have to set up multiple services in order to create different views for various user groups. For instance, all my hosts are setup for PING. If I want notifications sent out to specific users for specific hosts, I have to have multiple iterations of PING in my services.cfg file. If I try to add all contacts to PING, then the see every host in the interface. This is not desirable since I only want them to see the hosts and services for which they have a stake in. I think this is a greater design question that may be best answered by Ethan, but if anyone else has thoughts on the matter I’d be happy to hear the response. Best regards, Todd -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Garringer, Mark Sent: Monday, February 06, 2006 9:07 PM To: 'Nagios-users@lists.sourceforge.net' Subject: [Nagios-users] Nagios Behaviors This may be rather long, please bare with me. I am currently running Nagios 2.0rc2 with 451 hosts and 1733 services. I've recently upgraded from Netsaint (0.78b I think). During this upgrade I took the time to reexamine my configurations to take advantage of the grouping logic and regular _expression_ features in Nagios. This help make the setup much easier, faster, and more consistent than it ever was under Netsaint. Kudos! All of the following assumes that I'm doing things to the best of my understanding, and if they are incorrect or misguided in some way, I'd be more than happy to discuss the 'correct' way of implementing these features. I'm starting to run into a few operational issues that I'd like to raise. One of the most annoying is that RECOVERY should actually have a state for EACH type of RECOVERY that can exist. That way, I'm not getting RECOVERY notices for WARNINGS that I didn't get in the first place (because I don't care about WARNINGS in most cases.). I should only ever get RECOVERY for states which I've already indicated I want to receive their corresponding original alert from. The other is that HOST level notification/check_periods should be inherited by any service being check on that HOST unless explicitly overridden. For example, I have a host with 10 services on it (checking disk space in various file systems, checking for certain named processes to be running) and it has a HOST level notification_period (maintenance window) from Saturday at 1800 till Sunday 1000. Every week. I don't want to, or need to know about service changes during these times. I'm the user, and I'm requesting a black out of notifications during this time. If there are (still) problems after 1000 on Sunday, I do need to know about them or take action. The best answers I can seem to find seem to be workarounds that will cause me more overall upkeep and/or are counter to the whole idea of using grouping logic to begin with. Creating a separate, non-dynamic cron offshoot to take care of this for me while functional requires me to basically go and define another list of items (and upkeep them) to deal with and is completely external to Nagios. Defining each service individually so that they all can have 1 host assigned to them so they can have different maintenance windows as needed is totally against the grouping logic and allows again for much easier divergence from a set standard. Having 25 linux machines all in a linux host group because I want to check 10 common services rocks. However, not all 25 servers will have the same (or even overlapping) maintenance windows, so creating 25*10 separate service entries instead of just 10 sucks eggs. Maintaining the maintenance window at the host level makes perfect sense to me. Creating more host groups doesn't seem like any better of a solution and will just make things more difficult to find under the Hostgroup sections of the web display. By not understanding something am I trying to use this in a way which it was never intended? This seem like a pretty logical feature to me, of course. Can anyone offer me advice? Thanks!
[Nagios-users] NRPE and allowed_hosts after v.2.0
Hi! Why allowed_hosts isn't present in version >2.0... ? I'm not using xinetd, and now I can't set allowed hosts. Is there a solution, without xinetd or iptables? Thanks! --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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] check_http problem with $ char in url
Hi, You just have to do this in your services.cfg : check_command check_http_new!/CICS/CWBA/DFH\$$WB1A!4056!"successfully" --> put an additional "$". That's all folks !! Davy Gaussen -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Andrea Coppo Envoyé : mardi 7 février 2006 11:33 À : nagios-users@lists.sourceforge.net Objet : [Nagios-users] check_http problem with $ char in url I have problem with check_http checking the url: http://192.168.25.191:4056/CICS/CWBA/DFH$WB1A Problem is "$" in services.cfg: check_command check_http_new!/CICS/CWBA/DFH\$WB1A!4056!"successfully" in checkcommands.cfg: command_namecheck_http_new command_line$USER1$/check_http_new $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ # cat ../libexec/check_http_new #!/bin/bash LOUTPUT=`/usr/local/nagios/libexec/check_http -H $1 -u $2 -p $3 -R "$4"` echo $1 $2 $3 $4 > /tmp/http_out.txt echo $LOUTPUT # cat /tmp/http_out.txt 192.168.25.191 /CICS/CWBA/DFH$WB1A$ 4056 successfully HTTP WARNING: HTTP/1.0 400 Bad Request I tried to escape the $ with \ , \\ , '/CICS/CWBA/DFH$WB1A' nagios add a second "$" at the end of the url... Why ? Do you have ideas to solve my problem ? thanks, bye. Andrea -- http://www.erptech.it/ --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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 --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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] check_http problem with $ char in url
I have problem with check_http checking the url: http://192.168.25.191:4056/CICS/CWBA/DFH$WB1A Problem is "$" in services.cfg: check_command check_http_new!/CICS/CWBA/DFH\$WB1A!4056!"successfully" in checkcommands.cfg: command_namecheck_http_new command_line$USER1$/check_http_new $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ # cat ../libexec/check_http_new #!/bin/bash LOUTPUT=`/usr/local/nagios/libexec/check_http -H $1 -u $2 -p $3 -R "$4"` echo $1 $2 $3 $4 > /tmp/http_out.txt echo $LOUTPUT # cat /tmp/http_out.txt 192.168.25.191 /CICS/CWBA/DFH$WB1A$ 4056 successfully HTTP WARNING: HTTP/1.0 400 Bad Request I tried to escape the $ with \ , \\ , '/CICS/CWBA/DFH$WB1A' nagios add a second "$" at the end of the url... Why ? Do you have ideas to solve my problem ? thanks, bye. Andrea -- http://www.erptech.it/ --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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] Logs, alerts and notifications not on the "same page"
Hello, I have a problem after a server restart. I am checking the used space disk with check_net plugins that comes to work with pnsclient. Pnsclient is installed on server and running fine (restarted it btw). When i launch the service by hand i get this : ../libexec/check_nt -H 10.8.1.3 -p 1248 -v USEDDISKSPACE -w 80 -c 90 Connection refused could not fetch information from server and strange thing is that log is empty but notifications are sent i have another check that uses nsclient for memuse and there's also a strange behaviour : ../libexec/check_nt -H 10.8.1.3 -p 1248 -v MEMUSE -w 80 -c 90 Connection refused could not fetch information from server and the log gives [07-02-2006 10:30:21] SERVICE ALERT: frparsv03;Memory usage;OK;HARD;1;Memory usage: total:3113.55 Mb - used: 1052.43 Mb (34%) - free: 2061.12 Mb (66%) Memory usage but in the web interface the service is in OK state OK 07-02-2006 10:50:13 6d 15h 0m 11s 1/4 Memory usage: total:3113.55 Mb - used: 1052.62 Mb (34%) - free: 2060.93 Mb (66%) I am right now a bit confused, any highlights would greatly be appreciated. Cheers. Thanks and regards Nagios 1.3 plugs 1.4 - Le bon sens est la chose du monde la mieux partagée. --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&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] web and 3-D Status Map <<< Page not found
hELLo, Bad link, jejejeje. What of this is into this page http://www.web3d.org/x3d/vrml/tools/viewers_and_browsers/ ? 2s Enrique Olivares Garrido - Original Message - From: "Wianecki, Christopher" <[EMAIL PROTECTED]> To: "'Marc Powell'" <[EMAIL PROTECTED]>; "'Nagios users'" Sent: Monday, February 06, 2006 4:37 PM Subject: RE: [Nagios-users] web and 3-D Status Map > Ups, sorry I've missed that one.. Thank you. > > Chris > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell > Sent: Monday, February 06, 2006 10:25 AM > To: Nagios users > Subject: RE: [Nagios-users] web and 3-D Status Map > > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:nagios-users- > > [EMAIL PROTECTED] On Behalf Of Wianecki, Christopher > > Sent: Monday, February 06, 2006 9:16 AM > > To: 'nagios-users@lists.sourceforge.net' > > Subject: [Nagios-users] web and 3-D Status Map > > > > Whenever I do press on 3-D Status Map I get a File Download window > where > > it > > asks me to save file called statuswrl, how can I remove this or have > it > > fixed? Do I need to install any kind of plugin on my browser since it > does > > not recognize that format? If yes what plugin do I need to download? I > did > > not find much info about that... Thanks. > > http://www.nagios.org/faqs/viewfaq.php?faq_id=52&expand=false&showdesc=f > alse > > -- > 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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 > > > ** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the postmaster at [EMAIL PROTECTED] > > > www.sothebys.com > ** > > > > --- > 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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 > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.371 / Virus Database: 267.15.0/248 - Release Date: 01/02/06 > > --- 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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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