From falcifer2001 at yahoo.es Sat Jan 1 16:22:04 2005 From: falcifer2001 at yahoo.es (Falcifer) Date: Sat, 01 Jan 2005 16:22:04 +0100 Subject: Problem with dependencies Message-ID: <1104592924.3138.9.camel@Zeus.Olimpo> I want to test the service dependencies feature of nagios but i cant. When I put iptables -A INPUT -p udp --source-port 53 -j DROP nagios 2.0b1 send me 2 notifications and i think that i only must see DNS notificaction other question: When UNKNOW state is set in one service??? 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 notification_options w,u,c,r register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service{ use generic-service ; Name of service template to use host_name google service_description PING is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 1 retry_check_interval 1 contact_groups admins notification_interval 960 notification_period 24x7 notifications_enabled 1 check_command check_ping!100.0,20%!500.0,60% } define service{ use generic-service ; Name of service template to use host_name DNSserver service_description DNS is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 1 retry_check_interval 1 contact_groups admins notification_interval 960 notification_period 24x7 check_command check_google } define servicedependency{ host_name DNSserver service_description DNS dependent_host_name google dependent_service_description PING execution_failure_criteria w,u,c notification_failure_criteria w,u,c } define command{ command_name check_ping command_line $USER1$/check_ping -H www.google.es -w $ARG1$ -c $ARG2$ -p 5 } define command{ command_name check_google command_line $USER1$/check_dns -H www.google.es -s 212.21.224.5 } ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From micha at arava.co.il Sun Jan 2 10:19:02 2005 From: micha at arava.co.il (Micha Silver) Date: Sun, 02 Jan 2005 11:19:02 +0200 Subject: check_dhcp plugin - No DHCPOFFERs were received Message-ID: <41D7BC86.6000504@arava.co.il> I've got nagios 1.2 working on a Fedora Core 1 monitor, and gathering data from several servers and routers. It was installed from rpms from Dag's repository. Quite nice! But I can't seem to work out the check_dhcp plugin. The dhcp server is a Win2K machine (on the same subnet as the nagios monitor), and it's responding to dhcp requests. I've set the plugin perms to SIUD (owned by root). When I run the plugin from the command line, I get the same response: [root at akev plugins]# ./check_dhcp -s 192.168.1.110 DHCP problem: No DHCPOFFERs were received. Can anyone suggest what I've missed? Thanks, -- Micha ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From micha at arava.co.il Sun Jan 2 11:31:55 2005 From: micha at arava.co.il (Micha Silver) Date: Sun, 02 Jan 2005 12:31:55 +0200 Subject: check_dhcp plugin - No DHCPOFFERs were received In-Reply-To: <41D7BC86.6000504@arava.co.il> References: <41D7BC86.6000504@arava.co.il> Message-ID: <41D7CD9B.7090708@arava.co.il> Micha Silver wrote: > >[root at akev plugins]# ./check_dhcp -s 192.168.1.110 >DHCP problem: No DHCPOFFERs were received. > >Can anyone suggest what I've missed? > >Thanks, > > False alarm: I had the firewall setup on the monitor computer blocking the dhcp port. Now it's working. -- Micha Silver Arava Development Co +972-8-6592270 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rudi at darx.com Sun Jan 2 16:57:44 2005 From: rudi at darx.com (Rudi Heitbaum) Date: Mon, 3 Jan 2005 02:57:44 +1100 Subject: Performance capacities of nagios 2.0b1 In-Reply-To: <20050102154623.B6B33334EF@sc8-sf-spam1.sourceforge.net> References: <20050102154623.B6B33334EF@sc8-sf-spam1.sourceforge.net> Message-ID: <200501021556.j02FuFrO009454@iago.darx.com> All, I have implemented nagios2 as an upgrade from our 1.2 installation. Initially we had very good performance stats. But it has deteroriated with the additon of ~ 100 checks. Please let me know if There are any options I can tune in the nagios.cfg to improve things. <= 1 minute: 35 (1.2%) <= 5 minutes: 309 (10.8%) <= 15 minutes: 696 (24.4%) <= 1 hour: 2671 (93.8%) Since program start: 777 (27.3%) Nagios.cfg ========== log_file=/usr/local/nagios2/var/nagios.log cfg_file=/usr/local/nagios2/etc/checkcommands.cfg cfg_file=/usr/local/nagios2/etc/misccommands.cfg cfg_file=/usr/local/nagios2/etc/contactgroups.cfg cfg_file=/usr/local/nagios2/etc/contacts.cfg cfg_file=/usr/local/nagios2/etc/dependencies.cfg cfg_file=/usr/local/nagios2/etc/escalations.cfg cfg_file=/usr/local/nagios2/etc/hostgroups.cfg cfg_file=/usr/local/nagios2/etc/hosts.cfg cfg_file=/usr/local/nagios2/etc/services.cfg cfg_file=/usr/local/nagios2/etc/timeperiods.cfg object_cache_file=/usr/local/nagios2/var/objects.cache resource_file=/usr/local/nagios2/etc/resource.cfg status_file=/usr/local/nagios2/var/status.dat nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=15s command_file=/usr/local/nagios2/var/rw/nagios.cmd comment_file=/usr/local/nagios2/var/comments.dat downtime_file=/usr/local/nagios2/var/downtime.dat lock_file=/usr/local/nagios2/var/nagios.lock temp_file=/usr/local/nagios2/var/nagios.tmp event_broker_options=0 log_rotation_method=d log_archive_path=/usr/local/nagios2/var/archives use_syslog=0 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=0 log_initial_states=1 log_external_commands=1 log_passive_checks=1 service_inter_check_delay_method=n max_service_check_spread=10 service_interleave_factor=s host_inter_check_delay_method=n max_host_check_spread=10 max_concurrent_checks=1000 service_reaper_frequency=10 auto_reschedule_checks=0 auto_rescheduling_interval=30 auto_rescheduling_window=180 sleep_time=0.1 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios2/var/retention.dat retention_update_interval=10 use_retained_program_state=1 use_retained_scheduling_info=1 interval_length=60 use_aggressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=1 accept_passive_host_checks=1 enable_notifications=1 enable_event_handlers=0 process_performance_data=0 obsess_over_services=0 check_for_orphaned_services=0 check_service_freshness=1 service_freshness_check_interval=60 check_host_freshness=0 host_freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=iso8601 p1_file=/usr/local/nagios2/bin/p1.pl illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=nagios admin_pager=pagenagios ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joey at clean.q7.com Sun Jan 2 17:04:28 2005 From: joey at clean.q7.com (Joe Pruett) Date: Sun, 2 Jan 2005 08:04:28 -0800 (PST) Subject: 2.0b1 and unreachable hosts Message-ID: i have just started a nagios setup and used 2.0b1. things are working fairly well, but i seem to be confused about unreachables (or there is a bug). i get unreachable notifications, but the cgi interface never shows a host as unreachable. are other folks seeing hosts shown as unreachable in the tactical view (or anywhere else) with 2.0b1? ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From falcifer2001 at yahoo.es Sun Jan 2 18:28:08 2005 From: falcifer2001 at yahoo.es (Falcifer) Date: Sun, 02 Jan 2005 18:28:08 +0100 Subject: UNKNOW state Message-ID: <1104686889.9637.3.camel@Zeus.Olimpo> When is set the UNKNOW state in a service?? Are there any way to know when a service execution is suspended by one dependency??? thanks ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at mm.quex.org Mon Jan 3 06:26:54 2005 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Mon, 3 Jan 2005 13:26:54 +0800 Subject: UNKNOW state In-Reply-To: <1104686889.9637.3.camel@Zeus.Olimpo> References: <1104686889.9637.3.camel@Zeus.Olimpo> Message-ID: <20050103052654.GA29494@quex.org> On Sun, Jan 02, 2005 at 06:28:08PM +0100, Falcifer wrote: > When is set the UNKNOW state in a service?? When a service check returns an unknown state. Generally this means the plugin executed for the service check returned an error, but in some cases a plugin may deliberately return a code that Nagios doesn't recognise in order to indicate something's wrong. The most common cause is if Nagios cannot execute a plugin, either because it's missing or doesn't have execute permissions on it. > Are there any way to know when a service execution is suspended by one > dependency??? Don't know about this... ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Mon Jan 3 08:28:17 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Mon, 03 Jan 2005 08:28:17 +0100 Subject: NAGIOS NSCA problem solved but still don In-Reply-To: <200412302229.iBUMTB10019889@gw0.pictage.com.ar> References: <200412302229.iBUMTB10019889@gw0.pictage.com.ar> Message-ID: <41D8F411.3080605@interface-business.de> jdragone at pictage.com.ar wrote: > Hi Hi too! > > Dec 30 17:41:12 monitor2 nsca[662]: Handling the connection... > Dec 30 17:41:13 monitor2 nsca[662]: SERVICE CHECK -> Host Name: 'Host', > Service Description: 'Service', Return Code: '0', Output: 'PerformanceData' > Dec 30 17:41:13 monitor2 nsca[662]: End of connection... > > Now my new question is: where this data is going to? In regular case, the data is written into the COMMAND FILE of nagios. nagios checks this file regulary for entries and these entries are added to the general result queue. > > ls -la /usr/local/nagios/etc/nsca.cfg > -rw-r--r-- 1 nagios nagios 5199 Dec 29 21:02 > /usr/local/nagios/etc/nsca.cfg > > lsof | grep nagios.cmd > nagios 24899 root 6r FIFO 3,2 1844163 > /usr/local/nagios/var/rw/nagios.cmd > > I've reading into nsca.c source file, but could not find for any clues to > where nsca is sending its received data. > > vi /usr/local/nagios/etc/nsca.cfg: > > command_file=/usr/local/nagios/var/status.log There seems to be an error. Why you configure nsca to write into the log file instead writing into the command file. Try this line: command_file=/usr/local/nagios/var/nagios.cmd (or adjust the path to nagios.cmd). > alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump > debug=1 > aggregate_writes=1 > append_to_file=1 > > > > Regards > > > Jose Dragone > Stephan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lionel.verscheure at inria.fr Mon Jan 3 10:01:45 2005 From: lionel.verscheure at inria.fr (Lionel Verscheure) Date: Mon, 03 Jan 2005 10:01:45 +0100 Subject: check_ldap problem Message-ID: <41D909F9.4040609@inria.fr> Hi, I am trying to use the plugin from the package : nagiosplug 1.4beta1. When i launch the command i have the following problem : /"check_ldap: error while loading shared libraries: libldap-2.2.so.7: cannot open shared object file: No such file or directory"/ I compil this openldap : openldap-2.2.17 from www.openldap.org ! and i found the file : libldap-2.2.so.7 in /usr/local/lib/libldap-2.2.so.7. Any idears ? I wish everybody an Happyyyyy New Yearrrr !!! -- Lionel ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fmartinezg at endesa.es Mon Jan 3 10:26:21 2005 From: fmartinezg at endesa.es (Martinez Gonzalez, Francisco) Date: Mon, 3 Jan 2005 10:26:21 +0100 Subject: Changes in 2.0 Message-ID: Hi, I have been read the changelog in new 2.0 version, and there is a line with "the native DB support is out" (no exactly). It means that the new version don?t support the mysql an other DBs? If it's real, why? regards Francisco Mart?nez ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jlnarayanan00 at aol.com Mon Jan 3 10:29:08 2005 From: Jlnarayanan00 at aol.com (Jlnarayanan00 at aol.com) Date: Mon, 3 Jan 2005 04:29:08 EST Subject: Doubt in nagios Message-ID: <1ec.31851716.2f0a6a64@aol.com> Hi , Our requirement is such that we would like to monitor a dial-up-connection trend in an ISP scenario.For example, we would like to monitor the number of connections for the last 10 minutes(say) and if there was a 20% drop in the number of clients connected then a alert should be raised. Is this type of trend monitoring is possible using nagios?. For this we need to collect data for some amount of time and store in data base and again fetch these values to check for the alert condition. If so how should be our plugins?. Can anyone help me out in this?. Regards, Jaya -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephan.janosch at interface-business.de Mon Jan 3 10:47:52 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Mon, 03 Jan 2005 10:47:52 +0100 Subject: Check for UNIX printers? In-Reply-To: <41D1B78B.9050009@Examen.com> References: <41D1B78B.9050009@Examen.com> Message-ID: <41D914C8.2050104@interface-business.de> Emmett Hogan wrote: > Hi again, :-) > > I am "going to the well" once again looking for a plugin... > > Has anyone written a plugin that checks the status of UNIX printers? > (i.e. by parsing the output of "lpc status all") > > Thanks, > Emmett > I did a very bad piece of code. The code checks for 'waiting' in `lpc status all`. Perhaps this is something for you. ----------------------------------- #!/usr/bin/perl -w my %STATUS_CODE = ('UNKNOWN' => '-1', 'OK' => '0', 'WARNING' => '1', 'CRITICAL' => '2'); $lpc="/usr/sbin/lpc"; $count=0; @i=`$lpc status all`; $i_length=@i; $num_print=($i_length)/5; while ($count < $num_print) { if ($i[$count*5+4] =~ /waiting/) { chop $i[$count*5]; print "$i[$count*5]"." does not work properly!\n"; exit($STATUS_CODE{"CRITICAL"}); } $count++; } print "OK Everthing looks good.\n"; exit($STATUS_CODE{"OK"}); --------------------- Stephan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lionel.verscheure at inria.fr Mon Jan 3 11:56:29 2005 From: lionel.verscheure at inria.fr (Lionel Verscheure) Date: Mon, 03 Jan 2005 11:56:29 +0100 Subject: check_radius pb Message-ID: <41D924DD.60008@inria.fr> I have the same problem with check_radius (like check_ldap). See the error : "/check_radius: error while loading shared libraries: libradiusclient.so.0: cannot open shared object file: No such file or directory/" Probably a problem on my linux .... -- Lionel -------------- next part -------------- An embedded message was scrubbed... From: Lionel Verscheure Subject: check_ldap problem Date: Mon, 03 Jan 2005 10:01:45 +0100 Size: 926 URL: From emartine at bsd.uchicago.edu Mon Jan 3 14:53:55 2005 From: emartine at bsd.uchicago.edu (Eduardo Martinez) Date: Mon, 03 Jan 2005 07:53:55 -0600 Subject: Dell Power Edge plugin for nagios nagios_check_temps In-Reply-To: <20050103041149.B6EE0FB39@sc8-sf-spam2.sourceforge.net> References: <20050103041149.B6EE0FB39@sc8-sf-spam2.sourceforge.net> Message-ID: <41D94E73.30006@bsd.uchicago.edu> Does anyone know the correct syntax for the checkcommand.cfg nagios_check_temps for checking temperature/fans etc. on power edge servers? I am having some problems trying to get the check to work correctly. Dell OpenManage is installed an working. Any help would be greatly appreciated. Thanks, -Eduardo Martinez ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Jan 3 15:04:44 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 03 Jan 2005 15:04:44 +0100 Subject: check_ldap problem In-Reply-To: <41D909F9.4040609@inria.fr> References: <41D909F9.4040609@inria.fr> Message-ID: <41D950FC.8090001@op5.se> Lionel Verscheure wrote: > Hi, > > I am trying to use the plugin from the package : nagiosplug 1.4beta1. > > When i launch the command i have the following problem : > > /"check_ldap: error while loading shared libraries: libldap-2.2.so.7: > cannot open shared object file: No such file or directory"/ > > I compil this openldap : openldap-2.2.17 from www.openldap.org ! > and i found the file : libldap-2.2.so.7 in /usr/local/lib/libldap-2.2.so.7. > > Any idears ? > echo "/usr/local/lib" >> /etc/ld.so.conf ; ldconfig > I wish everybody an Happyyyyy New Yearrrr !!! > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Jan 3 15:06:32 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 03 Jan 2005 15:06:32 +0100 Subject: Changes in 2.0 In-Reply-To: References: Message-ID: <41D95168.1070500@op5.se> Martinez Gonzalez, Francisco wrote: > Hi, > > I have been read the changelog in new 2.0 version, and there is a > line with "the native DB support is out" (no exactly). It means that > the new version don?t support the mysql an other DBs? > Yes. > If it's real, why? > > Because original DB support was implemented in a poor way and was difficult to maintain properly. Instead, there is support for the loadable modules which can send status logs to wherever you want (one of those modules re-adds the DB support, so far fo postgresql I think). > regards > > > > Francisco Mart?nez > > > ------------------------------------------------------- The SF.Net > email is sponsored by: Beat the post-holiday blues Get a FREE limited > edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- > well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ Nagios-users mailing > list Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Jan 3 15:07:41 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 03 Jan 2005 15:07:41 +0100 Subject: check_radius pb In-Reply-To: <41D924DD.60008@inria.fr> References: <41D924DD.60008@inria.fr> Message-ID: <41D951AD.4090908@op5.se> Lionel Verscheure wrote: > I have the same problem with check_radius (like check_ldap). > > See the error : > "/check_radius: error while loading shared libraries: > libradiusclient.so.0: cannot open shared object file: No such file or > directory/" > > Probably a problem on my linux .... > This is pilot error. You seriously need to read up on how the dynamic link loader works. man ldd is a good starting point. > > ------------------------------------------------------------------------ > > Subject: > check_ldap problem > From: > Lionel Verscheure > Date: > Mon, 03 Jan 2005 10:01:45 +0100 > To: > nagios-users at lists.sourceforge.net > > To: > nagios-users at lists.sourceforge.net > > > Hi, > > I am trying to use the plugin from the package : nagiosplug 1.4beta1. > > When i launch the command i have the following problem : > > /"check_ldap: error while loading shared libraries: libldap-2.2.so.7: > cannot open shared object file: No such file or directory"/ > > I compil this openldap : openldap-2.2.17 from www.openldap.org ! > and i found the file : libldap-2.2.so.7 in /usr/local/lib/libldap-2.2.so.7. > > Any idears ? > > I wish everybody an Happyyyyy New Yearrrr !!! > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jan 3 16:39:28 2005 From: marc at ena.com (Marc Powell) Date: Mon, 3 Jan 2005 09:39:28 -0600 Subject: Dell Power Edge plugin for nagios nagios_check_temps Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835BAE@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Eduardo Martinez > Sent: Monday, January 03, 2005 7:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Dell Power Edge plugin for nagios > nagios_check_temps > > Does anyone know the correct syntax for the checkcommand.cfg > nagios_check_temps > for checking temperature/fans etc. on power edge servers? > I am having some problems trying to get the check to work correctly. > Dell OpenManage is installed an working. Any help would be greatly > appreciated. This doesn't appear to be part of the standard plugins package. Where did you get it? If it's written properly, you should be able to issue the command with --help to get options and command line syntax for building your command definition. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jan 3 16:44:42 2005 From: marc at ena.com (Marc Powell) Date: Mon, 3 Jan 2005 09:44:42 -0600 Subject: Doubt in nagios Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835BAF@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jlnarayanan00 at aol.com > Sent: Monday, January 03, 2005 3:29 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Doubt in nagios > > > Hi , > > Our requirement is such that we would like to monitor a dial-up- > connection trend in an ISP scenario.For example, we would like to monitor > the number of connections for the last 10 minutes(say) and if there was a > 20% drop in the number of clients connected then a alert should be raised. > Is this type of trend monitoring is possible using nagios?. For this we > need to collect data for some amount of time and store in data base and > again fetch these values to check for the alert condition. If so how > should be our plugins?. > Can anyone help me out in this?. There's no standard plugin to do it but it should be pretty straightforward to write. In pseudo-code -- Check number of current connections Store value in database Compare to previous value Exit OK if within acceptable parameters Exit ERROR if outside acceptable parameters Exit ERROR or UNKNOWN if unreachable or unexpected output received. There are of course special circumstances for the first check but that's a pretty rough outline of what you need to do. This also presumes that you can check the number of connections from a unix command line in some way. http://nagiosplug.sourceforge.net/developer-guidelines.html -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Ludse.Verhoeven at VOPAK.COM Mon Jan 3 17:18:25 2005 From: Ludse.Verhoeven at VOPAK.COM (Ludse Verhoeven) Date: Mon, 3 Jan 2005 17:18:25 +0100 Subject: setup yaps In-Reply-To: <1104501456.7202.3.camel@localhost> References: <1104501456.7202.3.camel@localhost> Message-ID: Hi, I have configured yaps to be used as a tool for paging pager-devices (not SMS! Not tested if it can be used as such, but I think it can). I've fixed the spooling-problem by writing an extra daemon-process (plain shell-commands) which uses the /var/spool-directory to keep the files in for as long as you'd like, but making sure messages are either sent via yaps or, if it fails, have a mail-message sent to a configurable email-account. If anyone is interested I'll post the outlines of the script here; it will need some tweaking though to the specific needs and system-setup of your site, but it shouldn't be too hard to figure these settings out (I hope ;-). Best wishes, Ludse Verhoeven Senior Unix System Manager Vopak IS/TCC Room: 9.13 Phone: +31 10 - 400 24 40 Gerd Mueller Sent by: nagios-users-admin at lists.sourceforge.net 31-12-2004 14:57 To Michael H?ttig cc nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] setup yaps Hi All, it's better to use something which spools. We use sms-servertools. I'm not sure if it will work with a nokia mobile. Happy New Year Gerd Am Fr, den 31.12.2004 schrieb Michael H?ttig um 11:31: > Am Donnerstag, 30. Dezember 2004 12:22 schrieb Gabriel Granger: > > Hi All, > > > > I'm wanting to setup Nagios to send out sms via my nokia mobile which > > is connected via serial. I've installed yaps, but cant find much > > information about setting it up for talking to a mobile via serial. > > Does anyone know how to go about setting this up easily? > > > > Many thanks for your help, > hi gabriel, > sending sms with mobile-phone you could use gnokii, but i prefer sending sms > with analog-modem or isdn with sms-client over your preferred sms-central, > yaps has problems in queuing sms and you can loose some sms. setting up > sms-client is really easy and it works with great effort. > > Happy new year > Michael > > > > --- > > Merry Christmas & Happy new year > > > > Gabe Granger > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by: Beat the post-holiday blues > > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > ********************************************************************** > Diese E-Mail wurde auf Viren ueberprueft. > www.mimesweeper.com > ********************************************************************** > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 Mit freundlichen Gr??en aus N?rnberg, Gerd M?ller -- Gerd M?ller NETWAYS GmbH Senior Systems Engineer Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-33 gmueller at netways.de http://www.netways.de ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Duling at biola.edu Mon Jan 3 17:58:53 2005 From: Mark.Duling at biola.edu (Mark Duling) Date: Mon, 03 Jan 2005 08:58:53 -0800 Subject: Doubt in nagios In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC835BAF@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC835BAF@mismail.ena.com> Message-ID: >> Our requirement is such that we would like to monitor a dial-up- >> connection trend in an ISP scenario.For example, we would like to >monitor the number of connections for the last 10 minutes(say) and if >there >was a 20% drop in the number of clients connected then a alert should be >raised. Is this type of trend monitoring is possible using nagios?. For >this >we need to collect data for some amount of time and store in data base >and again fetch these values to check for the alert condition. If so how >should >be our plugins? Can anyone help me out in this?. > > >There's no standard plugin to do it but it should be pretty >straightforward to write. In pseudo-code -- > > Check number of current connections > Store value in database > Compare to previous value > Exit OK if within acceptable parameters > Exit ERROR if outside acceptable parameters > Exit ERROR or UNKNOWN if unreachable or unexpected output received. > >There are of course special circumstances for the first check but that's >a pretty rough outline of what you need to do. This also presumes that >you can check the number of connections from a unix command line in some >way. What about SNMP graphing of the dialup connections (your RAS box should support this) using NRG or any RRDtool frontend? Then you'd have an RRD database that Nagios could check with whatever alerting thresholds you choose. Or perhaps you could set Nagios to use RRDtool itself but I've not done that. I haven't done this or anything so I'm just throwing out ideas, but it just seems like creating a custom database could be avoided somehow using SNMP graphs one way or another. Perhaps others can confirm or refute this. If it would work there are probably people on the list that use Nagios & RRDtool or MRTG together that could give concrete examples. Mark ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fred.blaise at excilan.com Mon Jan 3 18:18:32 2005 From: fred.blaise at excilan.com (Fred Blaise) Date: Mon, 03 Jan 2005 18:18:32 +0100 Subject: postgres check: works from cmd line but not from nagios Message-ID: <1104772712.3754.55.camel@localhost.localdomain> Hello I am trying to make this postgres check to work.. it works from command line, bit not via the nagios check. Please see below the results and config info. Your help is greatly appreciated :) server: Nagios 1.3 Debian testing. services.cfg snip: ----- define service{ use generic-service ; Name of service template to use host_name hhhh service_description Postgres DB is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups global-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_pgsql!dddd!uuuu } ----- pgsql.conf (I added the ARG1 and ARG2, to pass the db name and username. Can i do that?) ------ define command{ command_name check_pgsql command_line /usr/lib/nagios/plugins/check_pgsql -H $HOSTADDRESS$ -d $ARG1$ -l $ARG2$ } ------ result via nagios: PGSQL: CRITICAL - no connection to 'template1' (FATAL: no pg_hba.conf entry for host "81.201.101.5", user "nagios", database "template1", SSL off Via commandline: ----- host:/etc/nagios-plugins/config# /usr/lib/nagios/plugins/check_pgsql -H -d dddd -l uuuu PGSQL: ok - database excilan (0 sec.) ----- Can anyone explain to me why that is? Let me know if you need additional info. Thanks a lot Fred -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From alet at librelogiciel.com Mon Jan 3 18:23:45 2005 From: alet at librelogiciel.com (Jerome Alet) Date: Mon, 3 Jan 2005 18:23:45 +0100 Subject: postgres check: works from cmd line but not from nagios In-Reply-To: <1104772712.3754.55.camel@localhost.localdomain> References: <1104772712.3754.55.camel@localhost.localdomain> Message-ID: <20050103172345.GA32347@mail.librelogiciel.com> Hi, On Mon, Jan 03, 2005 at 06:18:32PM +0100, Fred Blaise wrote: > > result via nagios: > PGSQL: CRITICAL - no connection to 'template1' (FATAL: no pg_hba.conf > entry for host "81.201.101.5", user "nagios", database "template1", SSL > off > > Via commandline: > ----- > host:/etc/nagios-plugins/config# /usr/lib/nagios/plugins/check_pgsql -H > -d dddd -l uuuu > PGSQL: ok - database excilan (0 sec.) > ----- > > Can anyone explain to me why that is? Let me know if you need additional > info. sure : when run from the command line, you probably launch the command as user root or postgres, but when running from nagios, you run it as user nagios this means that you have to modify PostgreSQL's pg_hba.conf to allow user nagios to connect, then restart postgresql hth Jerome Alet -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From bench at silentmedia.com Mon Jan 3 18:39:51 2005 From: bench at silentmedia.com (Ben) Date: Mon, 3 Jan 2005 09:39:51 -0800 (PST) Subject: Changes in 2.0 In-Reply-To: <41D95168.1070500@op5.se> References: <41D95168.1070500@op5.se> Message-ID: On Mon, 3 Jan 2005, Andreas Ericsson wrote: > Because original DB support was implemented in a poor way and was > difficult to maintain properly. Instead, there is support for the > loadable modules which can send status logs to wherever you want (one of > those modules re-adds the DB support, so far fo postgresql I think). > Yes, currently it's just postgres support. People are working on MySQL support, but I'm not sure how far out that is. https://sourceforge.net/projects/nagios-db/ ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From strombrg at dcs.nac.uci.edu Mon Jan 3 18:55:59 2005 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Mon, 03 Jan 2005 09:55:59 -0800 Subject: Check_smtp In-Reply-To: <36CFEC552CCBE44E894C85A79F633B844A845B@itumailsrv.enspire.local> References: <36CFEC552CCBE44E894C85A79F633B844A845B@itumailsrv.enspire.local> Message-ID: <1104774959.2625.16.camel@tesuji.nac.uci.edu> strace/truss/par/trace is your friend. If you don't understand the output from one of these programs when you run it against the plugin, while it times out, then you might want to cut and paste the output into a message to this list. On Thu, 2004-12-23 at 17:02 +1100, Lydia Leung wrote: > Thanks for the reply. > > I do get the banner immediately using telnet. I did think it might be > the revise IP look up. But when I dig that IP from Nagios box, I did get > the right host name. > > Is there any way to change the plug-in? > > Cheers... > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > nagios at mm.quex.org > Sent: Thursday, 23 December 2004 4:26 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Check_smtp > > On Thu, Dec 23, 2004 at 03:25:29PM +1100, Lydia Leung wrote: > > > > I am using Check_smtp to check mail service. > > > > Anyone knows how check_smtp works? > > > > When I use the internal IP address, I get 0 sec response, which > > returns a critical warning in the web. > > ./check_smtp -H 192.168.250.10 -t 4 > > SMTP OK - 0 second response time > > Socket timeout after 4 seconds > > > > If I use telnet 192.168.250.10 25, I can see the smtp service is > ready. > > And I can ping 192.168.250.10 without problem. > > I don't know how the plugin works, but the output looks like it's > self-contradictory - it's okay and then it prints that it has timed > out?! > > The only thing I can think is that it's connecting immediately, and then > not getting the greeting from the server within the timeout period. > Either the server's real busy, or it's trying to do a lookup of the > connected IP address (probably 192.168.250.10), and it takes a long time > for it to decide it can't find a hostname for it. > > I tested this with netcat and if gets a connection but no welcome > banner, it will print the "Socket timeout after 4 seconds" message, but > it shouldn't print the "SMTP OK" before it. > > When you telnet to the internal address, does it respond with the SMTP > banner immediately? > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read honest & candid > reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From zsitfa at axelero.hu Mon Jan 3 19:06:01 2005 From: zsitfa at axelero.hu (=?iso-8859-2?Q?Horv=E1th_Tam=E1s?=) Date: Mon, 3 Jan 2005 19:06:01 +0100 Subject: Checking Windows event log entries Message-ID: <200501031805.j03I5wHa061826@fe04.axelero.hu> Hi List! I would like to check Windows 2000 Server Event Logs to fire an alarm, when a certain entry appears. As I remember it was a topic some time ago, but I can't find it int he archive. I play with pNSClient today and read its documentation, but as I can see it is not capable of doing this. How can I do this? Any ide would be appreciated. Thanks, Tamas! ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From zsitfa at axelero.hu Mon Jan 3 19:13:09 2005 From: zsitfa at axelero.hu (=?iso-8859-2?Q?Horv=E1th_Tam=E1s?=) Date: Mon, 3 Jan 2005 19:13:09 +0100 Subject: check_logs Message-ID: <200501031813.j03ID7bL078375@fe06.axelero.hu> Hi! How can I search strings in log files under Windows? Can I run check_log2.pl and NRPE under Windows? Thanks, Tamas! ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jan 3 19:31:55 2005 From: marc at ena.com (Marc Powell) Date: Mon, 3 Jan 2005 12:31:55 -0600 Subject: Dell Power Edge plugin for nagios nagios_check_temps Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835BE3@mismail.ena.com> Please reply to the list so that others may benefit... > -----Original Message----- > From: Eduardo Martinez [mailto:emartine at bsd.uchicago.edu] > Sent: Monday, January 03, 2005 10:48 AM > To: Marc Powell > Subject: Re: [Nagios-users] Dell Power Edge plugin for nagios > nagios_check_temps > > You are correct... These are not standard plugins. I do remember getting > to these pages from nagios.org though. > There was a link to an article that showed these (my bookmarks) > www.dell.com/downloads/global/power/1q04-sch.pdf > www.dell.com/downloads/global/power/ps1q04-sch_oe.pdf > > I tried using the --help command > ------------------------- help command ------------------- > ./nagios_check_temps --help > nagios_check_temps (nagios-plugins 1.3.1) 1.0 > The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute > copies of the plugins under the terms of the GNU General Public License. > For more information about these matters, see the file named COPYING. > > Usage: nagios_check_temps > > This plugin checks Dell PowerEdge temperatures using Dell's OpenManage. > > Send email to nagios-users at lists.sourceforge.net if you have questions > regarding use of this software. To submit patches or suggest improvements, > send email to nagiosplug-devel at lists.sourceforge.net > ---------------------------------------------------------------- > > Here is the plugin > > -------------------------nagios_check_temps----------------------------- -- > -- > > #! /bin/sh > > PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin > > > PROGNAME=`basename $0` > > PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` > REVISION=`echo '$Revision: 1.0 $' | sed -e 's/[^0-9.]//g'` > > . $PROGPATH/utils.sh > > print_usage() { > echo "Usage: $PROGNAME" > } > > print_help() { > > print_revision $PROGNAME $REVISION > echo "" > > print_usage > > echo "" > echo "This plugin checks Dell PowerEdge temperatures using Dell's > OpenManage." > echo "" > support > exit 0 > } > > case "$1" in > --help) > print_help > exit 0 > ;; > -h) > print_help > :wqexit 0 > ;; > --version) > print_revision $PROGNAME $REVISION > exit 0 > ;; > -V) > print_revision $PROGNAME $REVISION > exit 0 > ;; > *) > criticalstate="" > warningstate="" > for index in `omreport chassis temps|grep Index| awk '{ print $3 }'` > do > omreport chassis temps index=${index} -outa /tmp/delltemps.$$ > temp=`grep Reading /tmp/delltemps.$$|awk '{ print $3 }'` > tempcomp=`grep Reading /tmp/delltemps.$$|awk '{ print $3 }'|sed s/[.]//` > warncomp=`grep "Maximum Warning" /tmp/delltemps.$$|awk '{ print $5 > }'|sed s/[.]//` > critcomp=`grep "Maximum Failure" /tmp/delltemps.$$|awk '{ print $5 > }'|sed s/[.]//` > probename=`grep "Probe Name" /tmp/delltemps.$$|awk '{ print $4, $5, $6, > $7, $8 }'` > if (($tempcomp >= $critcomp)); then > probes[${index}]=`echo "[] $probename ${temp} Celsius-CRITICAL "` > criticalstate=1 > else > if (($tempcomp >= $warncomp)); then > probes[${index}]=`echo "[] $probename ${temp} Celsius-WARNING "` > warningstate=1 > else > probes[${index}]=`echo "[] $probename ${temp} Celsius-OK "` > fi > fi > rm /tmp/delltemps.$$ > done > if test "$1" = "-v" -o "$1" = "--verbose"; then > echo ${probes[*]} > fi > if [ $criticalstate ]; then > echo "Temperatures CRITICAL!!!: ${probes[*]}" > exit 2 > elif [ $warningstate ]; then > echo "Temperatures Warning!: ${probes[*]}" > exit 1 > else > echo "Temperatures OK" > exit 0 > fi > ;; > esac > ---------------------------------------------------------------- > > Here is my check_command, it has varied. This is what I am having an > issue with. > > > --------------------check_commands.cfg---------------------- > # 'nagios_check_temps' command definition > define command{ > command_name nagios_check_temps > command_line /opt/nagios/libexec/nagios_check_temps > $HOSTADDRESS$ > } > ----------------------------------------------------------------- > > Here is the services_host.cfg file, which also varied. > > ----------------services_omchecks.cfg-------------------------------- > define service{ > use om_template > hostgroup om_template > service_description OM Temperature Checks > check_command > check_nrpe!nagios_check_temps!'Temperature Warning'!'Temperatures > CRITICAL!!!' > } > ----------------------------------------------------------------------- > > > I have much to learn about understanding scripting and I am not a > programmer. Though I understand the logic, i'm not sure what output it > is expecting. The plugin above is not network aware and simply runs the command `omreport chassis temps` on the host it is run on and parses that output. It accepts no command line arguments other than a -v for verbose output. You can not pass it warning and critical thresholds as it figures those out from the "Maximum Warning" and "Maximum Failure" output of omreport. Your service definition check command should simply be -- check_command check_nrpe!nagios_check_temps presuming that you have a 'nagios_check_temps' command definition in your nrpe.cfg on the remote machine ala -- command[nagios_check_temps]=/path/to/nagios_check_temps and nagios_check_temps is installed on the machine you are wanting to check the temperature on in the location specified in the nrpe.cfg command definition. The command definition that you included above isn't used at all, at least by the service definition you included. You didn't give any indication about what the actual problem was you were experiencing so that's about all I can tell you. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jan 3 19:39:46 2005 From: marc at ena.com (Marc Powell) Date: Mon, 3 Jan 2005 12:39:46 -0600 Subject: check_logs Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835BE4@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Horv?th Tam?s > Sent: Monday, January 03, 2005 12:13 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_logs > > Hi! > > How can I search strings in log files under Windows? http://article.gmane.org/gmane.network.nagios.user/23104/match=windows+event+logs That might be what you were looking for.... -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fred.blaise at excilan.com Mon Jan 3 20:01:43 2005 From: fred.blaise at excilan.com (Fred Blaise) Date: Mon, 3 Jan 2005 20:01:43 +0100 Subject: postgres check: works from cmd line but not from nagios Message-ID: <5D86D92BC5126147A4E76FD89D5C322A1C3498@excilan02.excilan.com> Agreed. But this doesn't tell why it is still trying to get to the template1 database instead of the one I specify. Anyhow, modified my pg_hba.conf file. Is my syntax/config correct? It is like nagios doesn't take into consideration my $ARG1$ and $ARG2$ params. thx fred -----Original Message----- From: Jerome Alet [mailto:alet at librelogiciel.com] Sent: Mon 1/3/2005 6:23 PM To: Fred Blaise Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] postgres check: works from cmd line but not from nagios ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From strombrg at dcs.nac.uci.edu Mon Jan 3 20:22:55 2005 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Mon, 03 Jan 2005 11:22:55 -0800 Subject: Status Unknown w/check_by_ssh. Command line OK. In-Reply-To: <1104310482.1649.3.camel@plume.sigma.fr> References: <1104310482.1649.3.camel@plume.sigma.fr> Message-ID: <1104780175.2625.40.camel@tesuji.nac.uci.edu> Perhaps the "ssh -n" option would work around this on a sun? 100% speculation though. On Wed, 2004-12-29 at 09:54 +0100, BOLLENGIER Eric wrote: > Hi, > > > Nagios is running on RH Linux, and the target host is Solaris 9. > > Nagios' SSH is OpenSSH and the Solaris box is running Sun_SSH_1.0, > > protocol versions 1.5/2.0. > > Stop, you bug is hier... > > When you start an remote ssh command with a closed stdin, sun sshd > will return 255 as exit code. > > ssh remoteuser at 149.152.10.183 ls < /dev/null > echo $? > => 255 > > We have also this bug. Change your sshd to openssh or write to your > support. > > Bye > > > > The remote script worked correctly when monitoring services on a > > Solaris 8 box which was running SSH Secure Shell (non-commercial > > license). Check_by_ssh is from nagios-plugins 1.4.0alpha1, version > > 1.18. > > > > What am I not seeing? It's probably some bonehead maneuver on my > > part, but has anyone else run into (and found their way around) this? > > > > Scott Zak > > Connecticut State University System. > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From AlOclarit at aol.com Mon Jan 3 20:49:15 2005 From: AlOclarit at aol.com (AlOclarit at aol.com) Date: Mon, 03 Jan 2005 14:49:15 -0500 Subject: nagios archives Message-ID: <7F8BA0BD.32571B9A.021D000F@aol.com> I run nagios without database support and I have a problem with the nagios archives. It always creates 2 kinds of archives f.e for last week I have this: nagios-01-01-2005-23.log nagios-01-02-2005-00.log for the weekly rotation. Same thing for the daily one. The problem is this: The notification CGI only looks at the logs ending in "00.log" For some reason those never contain anything more than one line saying : LOG ROTATION: WEEKLY or DAILY or whatever. It's the "23.log" file into which everything gets archived but the CGI's never look into that one so I cannot create reports or anything cause the archives never contain anything useful. BTW. I'm running gentoo with 2.6.7 kernel. help ? ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jan 3 21:20:41 2005 From: marc at ena.com (Marc Powell) Date: Mon, 3 Jan 2005 14:20:41 -0600 Subject: nagios archives Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835BFF@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of AlOclarit at aol.com > Sent: Monday, January 03, 2005 1:49 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios archives > > I run nagios without database support and I have a problem with the nagios > archives. It always creates 2 kinds of archives f.e for last week I have > this: > > nagios-01-01-2005-23.log > nagios-01-02-2005-00.log > > for the weekly rotation. Same thing for the daily one. > The problem is this: > The notification CGI only looks at the logs ending in "00.log" > For some reason those never contain anything more than one line saying : > LOG ROTATION: WEEKLY or DAILY or whatever. > It's the "23.log" file into which everything gets archived but the CGI's > never look into that one so I cannot create reports or anything cause the > archives never contain anything useful. > BTW. I'm running gentoo with 2.6.7 kernel. > > help ? Make sure that the time on the machine isn't changing dramatically and make sure that you only have one nagios master process running. Try stopping nagios and use ps to verify that all the nagios processes are indeed stopped. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jan 3 23:10:08 2005 From: marc at ena.com (Marc Powell) Date: Mon, 3 Jan 2005 16:10:08 -0600 Subject: Dell Power Edge plugin for nagios nagios_check_temps Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835C20@mismail.ena.com> Again, please reply to the list so that other may benefit and respond. > -----Original Message----- > From: Eduardo Martinez [mailto:emartine at bsd.uchicago.edu] > Sent: Monday, January 03, 2005 3:44 PM > To: Marc Powell > Subject: Re: [Nagios-users] Dell Power Edge plugin for nagios > nagios_check_temps > > Marc Powell wrote: > > >Please reply to the list so that others may benefit... > > > > > > > > > > > >>-----Original Message----- > >>From: Eduardo Martinez [mailto:emartine at bsd.uchicago.edu] > >>Sent: Monday, January 03, 2005 10:48 AM > >>To: Marc Powell > >>Subject: Re: [Nagios-users] Dell Power Edge plugin for nagios > >>nagios_check_temps > >> > >>You are correct... These are not standard plugins. I do remember > >> > >> > >getting > > > > > >>to these pages from nagios.org though. > >>There was a link to an article that showed these (my bookmarks) > >>www.dell.com/downloads/global/power/1q04-sch.pdf > >>www.dell.com/downloads/global/power/ps1q04-sch_oe.pdf > >> [ plugin script removed] > >> > >>Here is my check_command, it has varied. This is what I am having an > >>issue with. > >> > >> > >>--------------------check_commands.cfg---------------------- > >># 'nagios_check_temps' command definition > >> define command{ > >> command_name nagios_check_temps > >> command_line /opt/nagios/libexec/nagios_check_temps > >>$HOSTADDRESS$ > >>} > >>----------------------------------------------------------------- > >> > >>Here is the services_host.cfg file, which also varied. > >> > >>----------------services_omchecks.cfg-------------------------------- > >>define service{ > >> use om_template > >> hostgroup om_template > >> service_description OM Temperature Checks > >> check_command > >>check_nrpe!nagios_check_temps!'Temperature Warning'!'Temperatures > >>CRITICAL!!!' > >>} > >> > >> > >> > >----------------------------------------------------------------------- > > > > > >>I have much to learn about understanding scripting and I am not a > >>programmer. Though I understand the logic, i'm not sure what output it > >>is expecting. > >> > >> > > > >The plugin above is not network aware and simply runs the command > >`omreport chassis temps` on the host it is run on and parses that > >output. It accepts no command line arguments other than a -v for verbose > >output. You can not pass it warning and critical thresholds as it > >figures those out from the "Maximum Warning" and "Maximum Failure" > >output of omreport. Your service definition check command should simply > >be -- > > > >check_command check_nrpe!nagios_check_temps > > > >presuming that you have a 'nagios_check_temps' command definition in > >your nrpe.cfg on the remote machine ala -- > > > >command[nagios_check_temps]=/path/to/nagios_check_temps > > > >and nagios_check_temps is installed on the machine you are wanting to > >check the temperature on in the location specified in the nrpe.cfg > >command definition. The command definition that you included above isn't > >used at all, at least by the service definition you included. > > > >You didn't give any indication about what the actual problem was you > >were experiencing so that's about all I can tell you. > > > > What I am trying to figure out is the expectancy of the plugin. I have > already tried the above from the main server. > check_nrpe -H -c nagios_check_temps > and receive the output > CHECK_NRPE: Error receiving data from daemon. This might indicate that nrpe on the remote host is not able to run the plugin. Have you tried running it as it is defined in nrpe.cfg as the user that nrpe is running as on the remote machine? It is entirely possible that omreport may currently not be executable by that user (i.e. only root). Do any other nrpe checks work on that machine? -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tykeal at bardicgrove.org Mon Jan 3 23:26:10 2005 From: tykeal at bardicgrove.org (Andrew Grimberg) Date: Mon, 03 Jan 2005 14:26:10 -0800 Subject: Dell Power Edge plugin for nagios nagios_check_temps In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC835C20@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC835C20@mismail.ena.com> Message-ID: <1104791170.5707.4.camel@doitag.ci.seattle.wa.us> In an effort to make most of my environment a little more self aware I wrote the following PERL that uses SNMP to do all the dirty work. I haven't tested it under an embedded PERL instance though. It's modeled on one that I've been using for IBM hardware, which is modeled off of the Compaq Insight PERL. -Andy- On Mon, 2005-01-03 at 16:10 -0600, Marc Powell wrote: > Again, please reply to the list so that other may benefit and respond. > > > -----Original Message----- > > From: Eduardo Martinez [mailto:emartine at bsd.uchicago.edu] > > Sent: Monday, January 03, 2005 3:44 PM > > To: Marc Powell > > Subject: Re: [Nagios-users] Dell Power Edge plugin for nagios > > nagios_check_temps > > > > Marc Powell wrote: > > > > >Please reply to the list so that others may benefit... > > > > > > > > > > > > > > > > > >>-----Original Message----- > > >>From: Eduardo Martinez [mailto:emartine at bsd.uchicago.edu] > > >>Sent: Monday, January 03, 2005 10:48 AM > > >>To: Marc Powell > > >>Subject: Re: [Nagios-users] Dell Power Edge plugin for nagios > > >>nagios_check_temps > > >> > > >>You are correct... These are not standard plugins. I do remember > > >> > > >> > > >getting > > > > > > > > >>to these pages from nagios.org though. > > >>There was a link to an article that showed these (my bookmarks) > > >>www.dell.com/downloads/global/power/1q04-sch.pdf > > >>www.dell.com/downloads/global/power/ps1q04-sch_oe.pdf > > >> > > [ plugin script removed] > > > >> > > >>Here is my check_command, it has varied. This is what I am having an > > >>issue with. > > >> > > >> > > >>--------------------check_commands.cfg---------------------- > > >># 'nagios_check_temps' command definition > > >> define command{ > > >> command_name nagios_check_temps > > >> command_line /opt/nagios/libexec/nagios_check_temps > > >>$HOSTADDRESS$ > > >>} > > >>----------------------------------------------------------------- > > >> > > >>Here is the services_host.cfg file, which also varied. > > >> > > > >>----------------services_omchecks.cfg-------------------------------- > > >>define service{ > > >> use om_template > > >> hostgroup om_template > > >> service_description OM Temperature Checks > > >> check_command > > >>check_nrpe!nagios_check_temps!'Temperature Warning'!'Temperatures > > >>CRITICAL!!!' > > >>} > > >> > > >> > > >> > > > >----------------------------------------------------------------------- > > > > > > > > >>I have much to learn about understanding scripting and I am not a > > >>programmer. Though I understand the logic, i'm not sure what output > it > > >>is expecting. > > >> > > >> > > > > > >The plugin above is not network aware and simply runs the command > > >`omreport chassis temps` on the host it is run on and parses that > > >output. It accepts no command line arguments other than a -v for > verbose > > >output. You can not pass it warning and critical thresholds as it > > >figures those out from the "Maximum Warning" and "Maximum Failure" > > >output of omreport. Your service definition check command should > simply > > >be -- > > > > > >check_command check_nrpe!nagios_check_temps > > > > > >presuming that you have a 'nagios_check_temps' command definition in > > >your nrpe.cfg on the remote machine ala -- > > > > > >command[nagios_check_temps]=/path/to/nagios_check_temps > > > > > >and nagios_check_temps is installed on the machine you are wanting to > > >check the temperature on in the location specified in the nrpe.cfg > > >command definition. The command definition that you included above > isn't > > >used at all, at least by the service definition you included. > > > > > >You didn't give any indication about what the actual problem was you > > >were experiencing so that's about all I can tell you. > > > > > > > What I am trying to figure out is the expectancy of the plugin. I have > > already tried the above from the main server. > > check_nrpe -H -c nagios_check_temps > > and receive the output > > CHECK_NRPE: Error receiving data from daemon. > > > This might indicate that nrpe on the remote host is not able to run the > plugin. Have you tried running it as it is defined in nrpe.cfg as the > user that nrpe is running as on the remote machine? It is entirely > possible that omreport may currently not be executable by that user > (i.e. only root). Do any other nrpe checks work on that machine? > > -- > Marc > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: check_dell.pl Type: application/x-perl Size: 9563 bytes Desc: not available URL: From EmmettH at Examen.com Mon Jan 3 23:33:18 2005 From: EmmettH at Examen.com (Emmett Hogan) Date: Mon, 03 Jan 2005 14:33:18 -0800 Subject: Check for UNIX printers? In-Reply-To: <41D914C8.2050104@interface-business.de> References: <41D1B78B.9050009@Examen.com> <41D914C8.2050104@interface-business.de> Message-ID: <41D9C82E.6030909@Examen.com> Stephan Janosch wrote: > I did a very bad piece of code. The code checks for 'waiting' in `lpc > status all`. > > Perhaps this is something for you. Stephan, Thanks for the response. It just so happens that I took a little time this weekend and whipped up one myself (which I have attached). If anyone feels the inclination to comment on ways to improve it, or things to check for that I am not...I would *REALLY* appreciate it. This was my first foray into writing Nagios checks, so I probably didn't do it "quite right" :-) I also apologize to the list if it is "bad form" to send an attachment to the whole list. -Emmett -- ================ Examen, Inc. ================ Emmett Hogan Senior UNIX Administrator emmetth at examen.com ==== Outside Counsel Management Solutions ==== CONFIDENTIAL - PRIVILEGED INFORMATION This e-mail may include confidential, trade secret or legally privileged information. If you are not the intended recipient, please do not read, copy, use, distribute or disclose this communication to anyone other than the intended recipient. Please notify the sender of any error in transmission or delivery and delete any misdirected e-mail from your system. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_lpc URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 260 bytes Desc: not available URL: From kerryjcox at gmail.com Mon Jan 3 23:56:38 2005 From: kerryjcox at gmail.com (Kerry Cox) Date: Mon, 3 Jan 2005 15:56:38 -0700 Subject: monitoring thousands of servers using Nagios Message-ID: Has anyone had any experience monitoring thousands of servers in a data center-type environment using open source tools, specifically Nagios? I've been using Nagios for some time now, but am concerned about scalability issues. We're looking to manage roughly 2000-3000 machines. Is Nagios up to this task? It needs to be more than a simple ping server. We will need to be polling all sorts of data off our machines, including SNMP data; CPU temperature, network load, etc. Thanks. KJ ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From AlOclarit at aol.com Mon Jan 3 23:59:43 2005 From: AlOclarit at aol.com (AlOclarit at aol.com) Date: Mon, 03 Jan 2005 17:59:43 -0500 Subject: nagios archives Message-ID: <433ACDA7.39FF773C.021D000F@aol.com> If I stop nagios all nagios procs are gone. As far as time is concerned I read that in the FAQ but I'm not sure how to verify whether my time changes. It doesn't look like it but I do run rdate -s {local timeserver} every night as a cronjob. I guess I can turn that off and see. I had that cronjob set way before nagios so unless my timeserver is screwed up I cannot see how this happens. BTW. I saw a post on the mailing list where someone showed their archives dir and it had the same 2 entries in there but he didn't complain about the problem I'm having so can you confirm whether or not I should ONLY see "00.log" files ? thx Alex ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Tue Jan 4 00:03:42 2005 From: jhmartin at toger.us (Jason Martin) Date: Mon, 3 Jan 2005 15:03:42 -0800 Subject: monitoring thousands of servers using Nagios In-Reply-To: References: Message-ID: <20050103230341.GX1816@zippy.toger.us> On Mon, Jan 03, 2005 at 03:56:38PM -0700, Kerry Cox wrote: > Nagios? I've been using Nagios for some time now, but am concerned > about scalability issues. > We're looking to manage roughly 2000-3000 machines. Is Nagios up to At that size you'll probably have to partition your Nagios installation, such as by purpose (dev/test/prod) or platform (win/hpux/solaris). Otherwise the start time of Nagios gets to be rather long and the CGI's perform poorely. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From bench at silentmedia.com Tue Jan 4 00:08:00 2005 From: bench at silentmedia.com (Ben) Date: Mon, 3 Jan 2005 15:08:00 -0800 (PST) Subject: monitoring thousands of servers using Nagios In-Reply-To: References: Message-ID: Well, Nagios as an alerting engine is up to the task, assuming you run it on really beefy hardware and/or use distributed monitoring. Nagios as a web dashboard is another issue, because the CGIs that Nagios comes with do not scale. However, I wrote a SQL/PHP-based replacement for Nagios 2 that lets me monitor 2500 servers and 6000 services quickly and easily.... it should scale quite well. https://sourceforge.net/projects/nagios-db/ On Mon, 3 Jan 2005, Kerry Cox wrote: > Has anyone had any experience monitoring thousands of servers in a > data center-type environment using open source tools, specifically > Nagios? I've been using Nagios for some time now, but am concerned > about scalability issues. > We're looking to manage roughly 2000-3000 machines. Is Nagios up to > this task? It needs to be more than a simple ping server. We will need > to be polling all sorts of data off our machines, including SNMP data; > CPU temperature, network load, etc. > Thanks. > KJ > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kerryjcox at gmail.com Tue Jan 4 00:14:45 2005 From: kerryjcox at gmail.com (Kerry Cox) Date: Mon, 3 Jan 2005 16:14:45 -0700 Subject: monitoring thousands of servers using Nagios In-Reply-To: <20050103230341.GX1816@zippy.toger.us> References: <20050103230341.GX1816@zippy.toger.us> Message-ID: Okay, we have a homogenous environment. If we partition by server functionality, we may end up with 5-6 groups of 500-600 servers. One nagios install could handle one group. But then how do we aggregate this into a single monitoring solution? Is this even possible? Does Nagios provide a consolidation of multiple installs within a single web interface? Would there be a master Nagios machine that could manage all the others? Could it provide the single interface to the other groups of servers? Thanks for your quick response. KJ On Mon, 3 Jan 2005 15:03:42 -0800, Jason Martin wrote: > On Mon, Jan 03, 2005 at 03:56:38PM -0700, Kerry Cox wrote: > > Nagios? I've been using Nagios for some time now, but am concerned > > about scalability issues. > > We're looking to manage roughly 2000-3000 machines. Is Nagios up to > At that size you'll probably have to partition your Nagios > installation, such as by purpose (dev/test/prod) or platform > (win/hpux/solaris). Otherwise the start time of Nagios gets to > be rather long and the CGI's perform poorely. > > -Jason Martin > > -- > This message is PGP/MIME signed. > > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From GWCOOK at mactec.com Tue Jan 4 00:18:34 2005 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 3 Jan 2005 16:18:34 -0700 Subject: monitoring thousands of servers using Nagios Message-ID: <41FD7929498A174DAB86C45F28E0EC0DDE53CA@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > Okay, we have a homogenous environment. If we partition by server > functionality, we may end up with 5-6 groups of 500-600 servers. > One nagios install could handle one group. But then how do we > aggregate this into a single monitoring solution? Is this even > possible? Does Nagios provide a consolidation of multiple installs > within a single web interface? Would there be a master Nagios machine > that could manage all the others? Could it provide the single > interface to the other groups of servers? Thanks for your quick > response. > KJ I believe the answer to all of your questions is 'Yes'. Distributed Monitoring, check the docs. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.273.5050 (Office) - 720.220.1862 (Mobile) > > > On Mon, 3 Jan 2005 15:03:42 -0800, Jason Martin > wrote: >> On Mon, Jan 03, 2005 at 03:56:38PM -0700, Kerry Cox wrote: >>> Nagios? I've been using Nagios for some time now, but am concerned >>> about scalability issues. We're looking to manage roughly 2000-3000 >>> machines. Is > Nagios up to >> At that size you'll probably have to partition your Nagios >> installation, such as by purpose (dev/test/prod) or platform >> (win/hpux/solaris). Otherwise the start time of Nagios gets to >> be rather long and the CGI's perform poorely. >> >> -Jason Martin >> ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Tue Jan 4 00:27:38 2005 From: jhmartin at toger.us (Jason Martin) Date: Mon, 3 Jan 2005 15:27:38 -0800 Subject: monitoring thousands of servers using Nagios In-Reply-To: References: <20050103230341.GX1816@zippy.toger.us> Message-ID: <20050103232738.GZ1816@zippy.toger.us> On Mon, Jan 03, 2005 at 04:14:45PM -0700, Kerry Cox wrote: > aggregate this into a single monitoring solution? Is this even > possible? > Does Nagios provide a consolidation of multiple installs within a > single web interface? Would there be a master Nagios machine that > could manage all the others? Could it provide the single interface to > the other groups of servers? The central interface is your problem. The stock CGI's just don't handle that kind of volume well. Nagios has the capacity for distributed monitoring but there are some gaps, such as manually having to manually syncronize the configurations and the fact that the 'central' console doesn't impact the distributed consoles. This means you have to go to each distributed node to do things like disable monitoring for hosts. Some hacking around with OCSP's and a custom web gui would let you concentrate the results of several distributed Nagios instances into one interface. -Jason Martin -- How much deeper would the ocean be without sponges? This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From benoit.mortier at opensides.be Tue Jan 4 01:32:14 2005 From: benoit.mortier at opensides.be (Benoit Mortier) Date: Tue, 4 Jan 2005 01:32:14 +0100 Subject: Dell Power Edge plugin for nagios nagios_check_temps In-Reply-To: <1104791170.5707.4.camel@doitag.ci.seattle.wa.us> References: <349555FA607F3A4CBDA9326035D1A7FC835C20@mismail.ena.com> <1104791170.5707.4.camel@doitag.ci.seattle.wa.us> Message-ID: <200501040132.17393.benoit.mortier@opensides.be> Le lundi 3 Janvier 2005 23:26, Andrew Grimberg a ?crit?: > In an effort to make most of my environment a little more self aware I > wrote the following PERL that uses SNMP to do all the dirty work. I > haven't tested it under an embedded PERL instance though. > > It's modeled on one that I've been using for IBM hardware, which is > modeled off of the Compaq Insight PERL. Hi, could you submit it to the nagiosplug project on sourceforge, in the new plugins section https://sourceforge.net/tracker/?group_id=29880 thanks -- Benoit Mortier OpenSides sprl Linux Engineer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From benoit.mortier at opensides.be Tue Jan 4 01:38:06 2005 From: benoit.mortier at opensides.be (Benoit Mortier) Date: Tue, 4 Jan 2005 01:38:06 +0100 Subject: Dell Power Edge plugin for nagios nagios_check_temps In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC835BE3@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC835BE3@mismail.ena.com> Message-ID: <200501040138.07514.benoit.mortier@opensides.be> Le lundi 3 Janvier 2005 19:31, Marc Powell a ?crit?: > Please reply to the list so that others may benefit... > > > -----Original Message----- > > From: Eduardo Martinez [mailto:emartine at bsd.uchicago.edu] > > Sent: Monday, January 03, 2005 10:48 AM > > To: Marc Powell > > Subject: Re: [Nagios-users] Dell Power Edge plugin for nagios > > nagios_check_temps > > > > You are correct... These are not standard plugins. I do remember > > getting > > > to these pages from nagios.org though. > > There was a link to an article that showed these (my bookmarks) > > www.dell.com/downloads/global/power/1q04-sch.pdf > > www.dell.com/downloads/global/power/ps1q04-sch_oe.pdf Hi, could you submit it to the nagiosplug project on sourceforge, in the new plugins section https://sourceforge.net/tracker/?group_id=29880 thanks -- Benoit Mortier OpenSides sprl Linux Engineer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From benoit.mortier at opensides.be Tue Jan 4 01:42:58 2005 From: benoit.mortier at opensides.be (Benoit Mortier) Date: Tue, 4 Jan 2005 01:42:58 +0100 Subject: Check for UNIX printers? In-Reply-To: <41D9C82E.6030909@Examen.com> References: <41D1B78B.9050009@Examen.com> <41D914C8.2050104@interface-business.de> <41D9C82E.6030909@Examen.com> Message-ID: <200501040142.59897.benoit.mortier@opensides.be> Le lundi 3 Janvier 2005 23:33, Emmett Hogan a ?crit?: > Stephan Janosch wrote: > > I did a very bad piece of code. The code checks for 'waiting' in `lpc > > status all`. > > > > Perhaps this is something for you. > > Stephan, > > Thanks for the response. It just so happens that I took a little time > this weekend and whipped up one myself (which I have attached). > > If anyone feels the inclination to comment on ways to improve it, or > things to check for that I am not...I would *REALLY* appreciate it. > This was my first foray into writing Nagios checks, so I probably didn't > do it "quite right" :-) > > I also apologize to the list if it is "bad form" to send an attachment > to the whole list. Hi, could you submit it to the nagiosplug project on sourceforge, in the new plugins section https://sourceforge.net/tracker/?group_id=29880 thanks -- Benoit Mortier OpenSides sprl Linux Engineer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jfrater at fratec.com Tue Jan 4 02:01:50 2005 From: jfrater at fratec.com (Jorge Frater) Date: Mon, 3 Jan 2005 19:01:50 -0600 Subject: check_snmp problem... Message-ID: <000d01c4f1f8$f92ce930$0163a8c0@cafenet.fratec.com> Dear list: I've been using Nagios for over 2 years now on a server running Mandrake 9.0, last week I upgraded it to mandrake 10.1 Since then the check_snmp won't work Now snmpget does work and gives the correct reading: "37" which is the temperature of this APC UPS but the response is always "SNMP problem - No data received from host" # /usr/local/nagios/libexec/check_snmp -H 192.168.1.10 -o 1.3.6.1.4.1.318.1.1.1.2.2.2.0 -v /usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.1.10:161 1.3.6.1.4.1.318.1.1.1.2.2.2.0 SNMPv2-SMI::enterprises.318.1.1.1.2.2.2.0 37 SNMP problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.1.10:161 1.3.6.1.4.1.318.1.1.1.2.2.2.0 Thanks. Jorge Frater B. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tykeal at bardicgrove.org Tue Jan 4 03:19:37 2005 From: tykeal at bardicgrove.org (Andrew Grimberg) Date: Mon, 03 Jan 2005 18:19:37 -0800 Subject: Dell Power Edge plugin for nagios nagios_check_temps In-Reply-To: <200501040132.17393.benoit.mortier@opensides.be> References: <349555FA607F3A4CBDA9326035D1A7FC835C20@mismail.ena.com> <1104791170.5707.4.camel@doitag.ci.seattle.wa.us> <200501040132.17393.benoit.mortier@opensides.be> Message-ID: <1104805177.11028.0.camel@tykes-place.bardicgrove.org> I've submitted it to the new plugins section. Have fun folks. -Andy- ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From David.Andrew at development.tas.gov.au Tue Jan 4 06:03:52 2005 From: David.Andrew at development.tas.gov.au (David.Andrew at development.tas.gov.au) Date: Tue, 4 Jan 2005 16:03:52 +1100 Subject: Nagios.lock but nagios is not running In-Reply-To: <20050104042129.1D6308800C@sc8-sf-spam1.sourceforge.net> References: <20050104042129.1D6308800C@sc8-sf-spam1.sourceforge.net> Message-ID: My install of nagios has recently decided to say that "It appears as though Nagios is not running, so commands are temporarily unavailable... " However Nagios is running and performing its checks, and the nagios.lock file is there with a valid PID Any ideas where I should look? It is running on RedHat ES 3 update 3 Here is the results of a nagios -s SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 142 Total hosts: 64 Command check interval: 15 sec Check reaper interval: 10 sec Inter-check delay method: SMART Average check interval: 300.000 sec Inter-check delay: 2.113 sec Interleave factor method: SMART Average services per host: 2.219 Service interleave factor: 3 Any Ideas ? David Andrew IT Services Dept. Economic Development ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Tue Jan 4 09:31:19 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Tue, 04 Jan 2005 09:31:19 +0100 Subject: Checking Windows event log entries In-Reply-To: <200501031805.j03I5wHa061826@fe04.axelero.hu> References: <200501031805.j03I5wHa061826@fe04.axelero.hu> Message-ID: <41DA5457.5050804@interface-business.de> Horv?th Tam?s wrote: > Hi List! > > I would like to check Windows 2000 Server Event Logs to fire an alarm, when > a certain entry appears. > > As I remember it was a topic some time ago, but I can't find it int he > archive. > > I play with pNSClient today and read its documentation, but as I can see it > is not capable of doing this. > > How can I do this? > > Any ide would be appreciated. > > Thanks, Tamas! > Hi Tamas! try this: http://naplax.sourceforge.net/check_win_eventlog.html Stephan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fred.blaise at excilan.com Tue Jan 4 12:55:50 2005 From: fred.blaise at excilan.com (Fred Blaise) Date: Tue, 4 Jan 2005 12:55:50 +0100 Subject: check_radius segfault Message-ID: <1104839750.3785.7.camel@localhost.localdomain> Hello all I have check_radius segfaulting on me, when i pass the -F switch, such as in: ./check_radius -H scs1.excilan.net -F /etc/radiusclient/radiusclient.conf here is the end of the strace: open("/etc/radiusclient/dictionary", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=6502, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000 read(3, "#\n# Updated 97/06/13 to livingst"..., 4096) = 4096 read(3, "\t7\nVALUE\t\tAcct-Status-Type\tAccou"..., 4096) = 2406 read(3, "", 4096) = 0 close(3) = 0 munmap(0x40018000, 4096) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ In any other cases, i have a 'config file error', which I can't seem to find out why. The error would be in that radiusclient.conf file right? check_radius is version: ./check_radius -V check_radius (nagios-plugins 1.3.1) 1.4 Any help appreciated. Thanks Fred PS: For those that read my postgres thread, I finally just defined my own command in checkcommands.cfg. It works fine now :) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc - This object COULD NOT BE CHECKED by Kaspersky AV Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part - This object COULD NOT BE CHECKED by Kaspersky AV URL: From amontibello at gmail.com Tue Jan 4 13:28:57 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 4 Jan 2005 07:28:57 -0500 Subject: NC_Net V1.06 - Some Bugs Fixed and some Enhancement Message-ID: Hi Everyone, Happy New Year. A new version of NC_Net is now available. Some of the Enhancements include: -Being able to check Windows Service States with the descriptive names that are in Service Manager, as well as still being able to check with names NS_Client used. -Check Instance - can receive more than one Performance Counter and returns a list of counters. -Documentation has been updated a bit. You can Download the new version from the official web site http://www.shatterit.com/NC_Net or from Nagios Exchange under the name NC_Net V1_x http://www.nagiosexchange.org/Windows.49.0.html?&tx_netnagext_pi1[p_view]=199 Recent Bug Fixes include: MemUse unable to handle over 4 gigs -- FIXED FILEAGE not working -FIXED DiskUsage - Faster, and no longer poles removable disks.-FIXED Documentation Improved. Thank you, Tony amontibello at shatterit.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From adorfman at tycoint.com Tue Jan 4 13:36:15 2005 From: adorfman at tycoint.com (Ariel Dorfman) Date: Tue, 4 Jan 2005 09:36:15 -0300 Subject: nessus-update-plugin problem Message-ID: <3B966ABC166BAF47ACBF4639003B11AC06C922EF@exchange.adtarg.com> Hi all i just installed nessus, and when i try to do a nessus-update-plugins i get this error `get.php?f=all-2.0.tar.gz&u=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx tar: Error opening archive: Empty input file: Inappropriate file type or format Something went wrong when installing the plugins - uncompressing the plugins archive failed what can i do? regards Ariel Dorfman La informacion contenida en esta comunicacion es para uso exclusivo del individuo o entidad a quien esta dirigida y otros autorizados a recibirla. Puede contener informacion privilegiada confidencial o legal. Si usted no es el receptor de este mensaje, esta siendo notificado por este medio que cualquier revelacion, copia, distribucion o cualquier accion en relacion al contenido de esta informacion esta estrictamente prohibida y puede ser ilegal. Si usted ha recibido esta comunicacion por error, por favor notifiquenoslo de inmediato respondiendo este mensaje y entonces borrelo de su sistema. No nos hacemos responsables por la correcta y completa transmision de la informacion contenida en esta comunicacion, ni tampoco por cualquier retraso en el recibo de la misma. The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. We are neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Jan 4 15:41:39 2005 From: marc at ena.com (Marc Powell) Date: Tue, 4 Jan 2005 08:41:39 -0600 Subject: nessus-update-plugin problem Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835C4C@mismail.ena.com> Sounds like the file download failed. If you can't figure out why you'll probably have more success asking the nessus people or your network administrator, not us. My ice maker on my refrigerator doesn't work. How do I fix it? -- Marc ________________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ariel Dorfman Sent: Tuesday, January 04, 2005 6:36 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nessus-update-plugin problem Hi all ??? i just installed nessus, and when i try to do a nessus-update-plugins i get this error ? `get.php?f=all-2.0.tar.gz&u=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx tar: Error opening archive: Empty input file: Inappropriate file type or format Something went wrong when installing the plugins - uncompressing the plugins archive failed ? what can i do? regards ? Ariel Dorfman ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bjd at compudentsystems.com Tue Jan 4 16:28:44 2005 From: bjd at compudentsystems.com (Brian J. Dent) Date: Tue, 4 Jan 2005 07:28:44 -0800 Subject: SNMP setup Message-ID: Can anyone recommend a primer or specific documentation for setting up and running SNMP from NAGIOS 1.2 to Windows 2000 or 2003 servers? Thanks. Regards, bjd Brian J. Dent CompuDent Systems -------------- next part -------------- An HTML attachment was scrubbed... URL: From tearl at cacdhh.org Tue Jan 4 16:37:42 2005 From: tearl at cacdhh.org (Thomas Earl) Date: Tue, 4 Jan 2005 10:37:42 -0500 Subject: SNMP setup In-Reply-To: References: Message-ID: <20050104153805.4E93FBA05@www.prhobbies.com> If you are just talking about SNMP polling then its easy, just make sure that SNMP service is installed on your box and change your communities to what you like. then you can walk the box and find the OID that you want to check and use check_snmp That's what I do for my servers. tom -- Thomas Earl Network Engineer & Designer Communications Access Center (CAC) 1631 Miller Road Flint, Michigan, 48503 248-705-7408 (cell) 810-239-3112 (office) "Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming...'Wow! What a ride!!'" --Jack Wilson _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brian J. Dent Sent: Tuesday, January 04, 2005 10:29 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SNMP setup Can anyone recommend a primer or specific documentation for setting up and running SNMP from NAGIOS 1.2 to Windows 2000 or 2003 servers? Thanks. Regards, bjd Brian J. Dent CompuDent Systems -------------- next part -------------- An HTML attachment was scrubbed... URL: From stinkybob at gmail.com Tue Jan 4 16:06:25 2005 From: stinkybob at gmail.com (StinkyBob) Date: Tue, 4 Jan 2005 09:06:25 -0600 Subject: Freshness checks Message-ID: <2579c6b2050104070676659c16@mail.gmail.com> I have a server which has several passive checks running. I turned on freshness checking and received this error very shortly after. I have a threshold of 3600 seconds. I'm running Nagios 1.2 on Solaris 8 (sparc). I had this same problem on Nagios 2.0b1 and is one of the reasons I switched back to version 1.2. Any ideas?? Here's my error: Warning: The results of service 'Load Average' on host 'server' are stale by 1 seconds (threshold=3600 seconds). I'm forcing an immediate check of the service. Here's my config: # Generic service definition template define service{ name generic-service ; The 'name' of this service template, referenced in other service definitions 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' freshness_threshold 3600 ; 60 Minute threshold notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection 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! } # Service definition define service{ use generic-service active_checks_enabled 0 passive_checks_enabled 1 parallelize_check 1 retain_status_information 1 retain_nonstatus_information 1 host_name server service_description Load Average is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups host-admins notification_interval 60 notification_period 24x7 notification_options w,c,r check_command go-warning } ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at lds.dyndns.org Tue Jan 4 18:39:20 2005 From: nagios at lds.dyndns.org (Malcolms) Date: Tue, 4 Jan 2005 11:39:20 -0600 Subject: All users can execute service commands via cgi Message-ID: <00ef01c4f284$52a92c40$ca73f2d1@malcolm> Hi, I have Nagios version 2.0b1. I upgraded my nagios 1.1. I've now setup some web users to access my nagios setup and they can all execute service commands via the web interface. How do I make it so that only I can do this and not all my users? In my cgi.cfg file I have this line set authorized_for_system_commands=malcolms Should this not restrict service commands via the web interface to only user malcolms? Thanks Malcolm ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tearl at cacdhh.org Tue Jan 4 18:58:50 2005 From: tearl at cacdhh.org (Thomas Earl) Date: Tue, 4 Jan 2005 12:58:50 -0500 Subject: SNMP setup In-Reply-To: <200501041729.j04HTv901820@inet.cacdhh.org> References: <200501041729.j04HTv901820@inet.cacdhh.org> Message-ID: <20050104175900.A4EE0BA05@www.prhobbies.com> Its not really any different then any other check service... check your documentation... define service{ use generic-service ; Name of service template to use host_name abc service_description abc Uptime is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups system-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_snmp!1.3.6.1.2.1.1.3.0!0!0!public } # "check_snmp " abc Uptime command definition define command{ command_name check_bgpstate command_line $USER1$/check_snmp ?H $HOSTADDRESS$ -o $ARG1$ -w $ARG2$ -c $ARG$3 -C $ARG4$ } check_snmp -H -o [-w warn_range] [-c crit_range] [-C community] [-s string] [-r regex] [-R regexi] [-t timeout] [-l label] [-u units] [-p port-number] [-d delimiter] [-D output-delimiter] [-m miblist] [-P snmp version] [-L seclevel] [-U secname] [-a authproto] [-A authpasswd] [-X privpasswd] -- Thomas Earl Network Engineer & Designer Communications Access Center (CAC) 1631 Miller Road Flint, Michigan, 48503 248-705-7408 (cell) 810-239-3112 (office) "Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming...'Wow! What a ride!!'? --Jack Wilson ________________________________________ From: Brian J. Dent [mailto:bjd at compudentsystems.com] Sent: Tuesday, January 04, 2005 12:35 PM To: tearl at cacdhh.org Subject: RE: [Nagios-users] SNMP setup Thomas, I?ve installed SNMP on my WIN2K AD machine but I?m still not clear what to put in the cfg files.? ________________________________________ From: Thomas Earl [mailto:tearl at cacdhh.org] Sent: Tuesday, January 04, 2005 7:38 AM To: 'Brian J. Dent'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SNMP setup If you are just talking about SNMP polling then its easy, just make sure that SNMP service is installed on your box and change your communities to what you like then you can walk the box and find the OID that you want to check and use check_snmp ? That?s what I do for my servers ? tom ? -- Thomas Earl Network Engineer & Designer Communications Access Center (CAC) 1631 Miller Road Flint, Michigan, 48503 248-705-7408 (cell) 810-239-3112 (office) "Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming...'Wow! What a ride!!'? --Jack Wilson ________________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brian J. Dent Sent: Tuesday, January 04, 2005 10:29 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SNMP setup ? Can anyone recommend a primer or specific documentation for setting up and running SNMP from NAGIOS 1.2 to Windows 2000 or 2003 servers?? Thanks. ? Regards, bjd ? Brian J. Dent CompuDent Systems ? ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jan 4 19:13:43 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 04 Jan 2005 19:13:43 +0100 Subject: All users can execute service commands via cgi In-Reply-To: <00ef01c4f284$52a92c40$ca73f2d1@malcolm> References: <00ef01c4f284$52a92c40$ca73f2d1@malcolm> Message-ID: <41DADCD7.3040104@op5.se> Malcolms wrote: > Hi, > > I have Nagios version 2.0b1. I upgraded my nagios 1.1. > > I've now setup some web users to access my nagios setup and they can all > execute service commands via the web interface. How do I make it so that > only I can do this and not all my users? > > In my cgi.cfg file I have this line set > authorized_for_system_commands=malcolms > > Should this not restrict service commands via the web interface to only user > malcolms? > No, but it ensures that malcolms alone can issue restart commands and global 'never notify' and such. > Thanks > Malcolm > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From eduardo.moura at telway.com.br Tue Jan 4 19:34:45 2005 From: eduardo.moura at telway.com.br (eduardo moura) Date: Tue, 4 Jan 2005 16:34:45 -0200 Subject: Graphics weird behaviour Message-ID: Hello Everybody, Here is the first 2005 issue: Our nagios does not display correct data about availability of our hosts. When we select the "last month"option in the reporting/availability the return is a graph with 31 days in Insuficient Data. Does anyone have a hint? Regards Eduardo Moura -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios-user at proy.org Tue Jan 4 19:37:28 2005 From: nagios-user at proy.org (Patrick Proy) Date: Tue, 4 Jan 2005 19:37:28 +0100 Subject: SNMP setup In-Reply-To: References: Message-ID: <20050104183728.341B1ABBBE@www.manubulon.com> Hi, Try these snmp scripts : http://www.manubulon.com/nagios/, most of them work with Windows snmp server. On the web site, there is also config examples. Patrick nagios AT proy.org ________________________________ De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Brian J. Dent Envoy? : mardi 4 janvier 2005 16:29 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] SNMP setup Can anyone recommend a primer or specific documentation for setting up and running SNMP from NAGIOS 1.2 to Windows 2000 or 2003 servers? Thanks. Regards, bjd Brian J. Dent CompuDent Systems ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jan 4 19:26:27 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 04 Jan 2005 19:26:27 +0100 Subject: All users can execute service commands via cgi In-Reply-To: <010801c4f289$94483ce0$ca73f2d1@malcolm> References: <00ef01c4f284$52a92c40$ca73f2d1@malcolm> <41DADCD7.3040104@op5.se> <010801c4f289$94483ce0$ca73f2d1@malcolm> Message-ID: <41DADFD3.8050203@op5.se> Malcolms wrote: > ----- Original Message ----- > From: "Andreas Ericsson" > To: "Malcolms" > Cc: > Sent: Tuesday, January 04, 2005 12:13 PM > > > >>Malcolms wrote: >> >>>Hi, >>> >>>I have Nagios version 2.0b1. I upgraded my nagios 1.1. >>> >>>I've now setup some web users to access my nagios setup and they can all >>>execute service commands via the web interface. How do I make it so > > that > >>>only I can do this and not all my users? >>> >>>In my cgi.cfg file I have this line set >>>authorized_for_system_commands=malcolms >>> >>>Should this not restrict service commands via the web interface to only > > user > >>>malcolms? >>> >> >>No, but it ensures that malcolms alone can issue restart commands and >>global 'never notify' and such. >> > > > How do I stop them from been able to do anything? I just want them to have > read only access to the page so they can see what's going on. > I'm not sure. Possibly by allowing guest logins and adding a htpassword for whatever you set your guest thingie to in cgi.cfg. > Thanks > Malcolm > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From CWaters at jeld-wen.com Tue Jan 4 19:43:24 2005 From: CWaters at jeld-wen.com (CWaters at jeld-wen.com) Date: Tue, 4 Jan 2005 10:43:24 -0800 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) Message-ID: I want to use my company's AD to authenticate users against for access to Nagios. While I know this is not really a Nagios question, I was wondering if anyone in the community is doing this already. If so, what issues did you encounter? Any drawbacks? What apache modules were used etc.? Any information would be great. Sorry if this has already been covered. Thanks. Chris Waters WAN/LAN Technician JELD-WEN, Inc. Network Services Group =================== This e-mail 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 e-mail in error, please notify postmaster at jeld-wen.com and delete the message. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the Company. Finally, the recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at lds.dyndns.org Tue Jan 4 19:16:58 2005 From: nagios at lds.dyndns.org (Malcolms) Date: Tue, 4 Jan 2005 12:16:58 -0600 Subject: All users can execute service commands via cgi References: <00ef01c4f284$52a92c40$ca73f2d1@malcolm> <41DADCD7.3040104@op5.se> Message-ID: <010801c4f289$94483ce0$ca73f2d1@malcolm> ----- Original Message ----- From: "Andreas Ericsson" To: "Malcolms" Cc: Sent: Tuesday, January 04, 2005 12:13 PM > Malcolms wrote: > > Hi, > > > > I have Nagios version 2.0b1. I upgraded my nagios 1.1. > > > > I've now setup some web users to access my nagios setup and they can all > > execute service commands via the web interface. How do I make it so that > > only I can do this and not all my users? > > > > In my cgi.cfg file I have this line set > > authorized_for_system_commands=malcolms > > > > Should this not restrict service commands via the web interface to only user > > malcolms? > > > > No, but it ensures that malcolms alone can issue restart commands and > global 'never notify' and such. > How do I stop them from been able to do anything? I just want them to have read only access to the page so they can see what's going on. Thanks Malcolm ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From GWCOOK at mactec.com Tue Jan 4 20:26:35 2005 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 4 Jan 2005 12:26:35 -0700 Subject: Easy User Defined Status Map updates Message-ID: <41FD7929498A174DAB86C45F28E0EC0DDE53E8@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > Dunno if anyone will find this useful, but I was having > problems with a > largish network not being displayed particularly well in the > status map > and needed a way to easily create the user defined status map > coords. So > ... > > Two very simple scripts to convert the config's back and forth between > nagios and cheops-ng for the purpose of getting the nagios status map > looking pretty :) > > nag2che.awk - ( cat hostextinfo.cfg | ./nag2che.awk ) > > Reads the Nagios config file and creates a cheops-ng config file. You > can then fire up cheops-ng and drag and drop the nodes the > the location > you want them. > > che2nag.awk - ( cat hostextinfo.cfg | ./che2nag.awk ) > > Pulls out the x,y coords from the cheops-nf config file and > updates the > nagios config file with the new node positions I would find this very useful, if I could make it work. Not having used cheops-ng before, I had to do a fair amount of research to get that going. For a new user, it seems as though cheops-ng will crash if there is no '$HOME/.gnome/cheops-ng.map' file when you attempt to open the file created by nag2che.awk. Also, nag2che.awk didn't appear to create a file, at least not one that I could locate. I created this file with the following command: cat hostextinfo.cfg | ./nag2che.awk > ~/.gnome/cheops-ng.map This would also take care of the cheops crashing issue mentioned above. So, I made it to the point where I can see my statusmap in cheops-ng, move icons around, delete old ones, etc. After this I save the file and go back to the command line to run your next script, right? Perhaps you could elaborate on this step a bit, as I can't seem to figure it out. I'm reading into the script now, so maybe I'll get to it before you read this. However, I do think that your docs could use a little more information in them. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.273.5050 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Robert.Wagner at wausaubenefits.com Tue Jan 4 20:42:24 2005 From: Robert.Wagner at wausaubenefits.com (Robert Wagner) Date: Tue, 4 Jan 2005 13:42:24 -0600 Subject: NTray 1.0 Release Announcement In-Reply-To: <20050103223531.9468012070@sc8-sf-spam2.sourceforge.net> References: <20050103223531.9468012070@sc8-sf-spam2.sourceforge.net> Message-ID: After two long years, I've finally released a new version of NTray, everybody's favorite Nagios Tray Icon for Windows. It's a HUGE change from the previous release. It still sits in the system tray and changes colors, but almost everything else is different. What's new in 1.0? ---------------------------------------------------------------------------------------- Well, to be honest, just about everything. It's almost a complete re-write. -New GUI tool to create nicer looking screens for the pop-up and configuration screens. Added several new configuration options in the setup dialogue. The tool I used is called 'The GUI LOFT'. -Actual status returned from Nagios. Click on the tray icon to bring up the status pop-up. You can go to the status detail or the acknowledgement screen for a selected problem. -NTray polls the StatusWML.cgi instead of status.cgi. This is much easier to parse, and creates a lot less load on your Nagios server if you've got quite a number of people using NTray. -Choice of only displaying/alerting on unhandled problems. Yay!!! When configured, NTray will only alert on problems that are unacknowleged and don't have notifications disabled. -Pretty new icons. Somebody contributed them, I saved them to my C: drive, then at some point between then and now I lost all my mail. If you recognize your red, yellow, green, and unknown icon, let me know. -New fancy logo icon. I made this myself :) ---------------------------------------------------------------------------------------- The new release can be found on the Nagios.org website under 'Extras'! Rob Wagner, NTray Guy!! PS - I have not tested the new release under Nagios 2.x, so I don't know whether it works or not!! This communication is intended only for the recipient(s) named above; may be confidential and/or legally privileged; and, must be treated as such in accordance with state and federal laws. If you are not the intended recipient, you are hereby notified that any use of this communication, or any of its contents, is prohibited. If you have received this communication in error, please return it to Robert Wagner and delete the message from your computer system. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From emartine at bsd.uchicago.edu Tue Jan 4 20:40:09 2005 From: emartine at bsd.uchicago.edu (Eduardo Martinez) Date: Tue, 04 Jan 2005 13:40:09 -0600 Subject: [Fwd: Re: Dell Power Edge plugin for nagios nagios_check_temps] Message-ID: <41DAF119.4040804@bsd.uchicago.edu> >>>> >>-----Original Message----- >>>> >>From: Eduardo Martinez [mailto:emartine at bsd.uchicago.edu] >>>> >>Sent: Monday, January 03, 2005 10:48 AM >>>> >>To: Marc Powell >>>> >>Subject: Re: [Nagios-users] Dell Power Edge plugin for nagios >>>> >>nagios_check_temps >>>> >> >>>> >>You are correct... These are not standard plugins. I do remember >>>> >> >>>> >> >>> >>> >>> >getting >>> > >>> > >> >> >>>> >>to these pages from nagios.org though. >>>> >>There was a link to an article that showed these (my bookmarks) >>>> >>www.dell.com/downloads/global/power/1q04-sch.pdf >>>> >>www.dell.com/downloads/global/power/ps1q04-sch_oe.pdf >>>> >> >>> >>> [ plugin script removed] >>>> >> >>>> >>Here is my check_command, it has varied. This is what I am having an >>>> >>issue with. >>>> >> >>>> >> >>>> >>--------------------check_commands.cfg---------------------- >>>> >># 'nagios_check_temps' command definition >>>> >> define command{ >>>> >> command_name nagios_check_temps >>>> >> command_line /opt/nagios/libexec/nagios_check_temps >>>> >>$HOSTADDRESS$ >>>> >>} >>>> >>----------------------------------------------------------------- >>>> >> >>>> >>Here is the services_host.cfg file, which also varied. >>>> >> >>> >>> >> > > >>>>----------------services_omchecks.cfg-------------------------------- >> >> >>>> >>define service{ >>>> >> use om_template >>>> >> hostgroup om_template >>>> >> service_description OM Temperature Checks >>>> >> check_command >>>> >>check_nrpe!nagios_check_temps!'Temperature Warning'!'Temperatures >>>> >>CRITICAL!!!' >>>> >>} >>>> >> >>>> >> >>>> >> >>> >>> >> >>----------------------------------------------------------------------- > > >>> > >>> > >> >> >>>> >>I have much to learn about understanding scripting and I am not a >>>> >>programmer. Though I understand the logic, i'm not sure what output >>> >>> it >>>> >>is expecting. >>>> >> >>>> >> >>> >>> >>> > >>> >The plugin above is not network aware and simply runs the command >>> >`omreport chassis temps` on the host it is run on and parses that >>> >output. It accepts no command line arguments other than a -v for >> >> verbose >>> >output. You can not pass it warning and critical thresholds as it >>> >figures those out from the "Maximum Warning" and "Maximum Failure" >>> >output of omreport. Your service definition check command should >> >> simply >>> >be -- >>> > >>> >check_command check_nrpe!nagios_check_temps >>> > >>> >presuming that you have a 'nagios_check_temps' command definition in >>> >your nrpe.cfg on the remote machine ala -- >>> > >>> >command[nagios_check_temps]=/path/to/nagios_check_temps >>> > >>> >and nagios_check_temps is installed on the machine you are wanting to >>> >check the temperature on in the location specified in the nrpe.cfg >>> >command definition. The command definition that you included above >> >> isn't >>> >used at all, at least by the service definition you included. >>> > >>> >You didn't give any indication about what the actual problem was you >>> >were experiencing so that's about all I can tell you. >>> > >> >> >> >> What I am trying to figure out is the expectancy of the plugin. I have >> already tried the above from the main server. >> check_nrpe -H -c nagios_check_temps >> and receive the output >> CHECK_NRPE: Error receiving data from daemon. > > >This might indicate that nrpe on the remote host is not able to run the >plugin. Have you tried running it as it is defined in nrpe.cfg as the >user that nrpe is running as on the remote machine? It is entirely >possible that omreport may currently not be executable by that user >(i.e. only root). Do any other nrpe checks work on that machine? > >-- >Marc Marc, thank you for your help. I have found problem and the solution. After double checking my work, I noticed that the nagios account couldn't find the path to run omreport. After adding the path the plugin worked fine. -Eduardo ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From EmmettH at Examen.com Tue Jan 4 21:07:11 2005 From: EmmettH at Examen.com (Emmett Hogan) Date: Tue, 04 Jan 2005 12:07:11 -0800 Subject: problem w/ check_log2.pl Message-ID: <41DAF76F.9050200@Examen.com> Hi Folks, I am trying to use check_log2.pl via check_by_ssh to check for either "WARNING" or "NOTICE"...however, if I use the command: check_by_ssh -l nagios -i nagios_key -H hostname -C '/opt/nagios/libexec/check_log2.pl -l /var/adm/messages -s /var/tmp/message.nagios-seek -p "WARNING|NOTICE"' It is treating the "|" as a unix pipe and not a regular expression character. I have tried every method of "escaping" the character, but have had no luck. With all of the folks using check_log2.pl, I am sure someone has run into this before....at least I hope so. Does anyone know of a solution? (Maybe redefining the "or" character for a PERL regular expression?) -E -- ================ Examen, Inc. ================ Emmett Hogan Senior UNIX Administrator emmetth at examen.com ==== Outside Counsel Management Solutions ==== CONFIDENTIAL - PRIVILEGED INFORMATION This e-mail may include confidential, trade secret or legally privileged information. If you are not the intended recipient, please do not read, copy, use, distribute or disclose this communication to anyone other than the intended recipient. Please notify the sender of any error in transmission or delivery and delete any misdirected e-mail from your system. -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 260 bytes Desc: not available URL: From s.shipway at auckland.ac.nz Tue Jan 4 21:41:48 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 5 Jan 2005 09:41:48 +1300 Subject: Checking Windows event log entries In-Reply-To: <41DA5457.5050804@interface-business.de> References: <41DA5457.5050804@interface-business.de> Message-ID: <004801c4f29d$d02bb890$01fea8c0@itss.auckland.ac.nz> Horv?th Tam?s wrote: > I would like to check Windows 2000 Server Event Logs to fire an alarm, > when a certain entry appears. You may also like to take a look at http://www.steveshipway.org/software and choose 'Eventlog->Nagios' from the lefthand Download menu. This is an early version, but its based on the solid GPL code of NTSyslog and send_nsca. We are using it here successfully. This relays filtered Eventlog messages to Nagios via the NSCA interface. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From darron at ops-snan.texlink.com Tue Jan 4 22:25:06 2005 From: darron at ops-snan.texlink.com (Darron) Date: Tue, 4 Jan 2005 15:25:06 -0600 Subject: Statusmap.cgi not drawing on html page Message-ID: <00c901c4f2a3$dcbcd390$590010ac@texlinkcom.com> Hello fellow Nagios users, I installed Nagios 1.2 on Debian 3.0 and have it finally up and running. However, I clicked on the status map link on the web interface and it just shows the redbox where the drawing should be, but nothing is there but a red X in the top left corner of the box but I can also move my mouse cursor over the box and it will have the yellow popup boxes with the host information. Any ideas on what I can do to fix this? I have already done the ldd statusmap.cgi and I didnt see any errors so i'm stumped for now. Thanks for your help! ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sobrien at ci.bend.or.us Tue Jan 4 22:28:21 2005 From: sobrien at ci.bend.or.us (Steve OBrien) Date: Tue, 4 Jan 2005 13:28:21 -0800 Subject: Where can I get the radiusclient libraries Message-ID: The link in the REQUIREMENTS file is dead. check_radius: - Requires the radiusclient library available from http://www.cityline.net/~lf/radius/ Steve O'Brien City of Bend Network Security Administrator sobrien at ci.bend.or.us 541.322.6393 -------------- next part -------------- An HTML attachment was scrubbed... URL: From stinkybob at gmail.com Tue Jan 4 23:22:52 2005 From: stinkybob at gmail.com (StinkyBob) Date: Tue, 4 Jan 2005 16:22:52 -0600 Subject: Selective Service Viewing Message-ID: <2579c6b2050104142266e65dd8@mail.gmail.com> Is it possible to view only a few services out of the entire list for every host? For example, just looking at ping times, or SSH versions, but on all hosts at once. Like browsing the service detail page, but only looking at one service at a time. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From j_harris at tcdi.com Tue Jan 4 23:24:29 2005 From: j_harris at tcdi.com (Joe Harris) Date: Tue, 4 Jan 2005 17:24:29 -0500 Subject: Veritas - Success/Fail Message-ID: Has anyone written anything to check Veritas Backup Exec jobs. I saw in the plugins section checking for the tape drive itself, but I have several dozen backup jobs running and would like to check the jobs at a glance via Nagios/web. I imagine I could write a little script to parse information (success/fail) from the log files and send that information to Nagios. If anyone already is doing such a thing I would hate to re-invent the wheel. Any thoughts or help would be greatly appreciated. Nagios is already up and monitoring a lot of gear. I just want to add this feature, if possible. Thanks in Advance, Joe Harris -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Jan 4 23:39:53 2005 From: marc at ena.com (Marc Powell) Date: Tue, 4 Jan 2005 16:39:53 -0600 Subject: Selective Service Viewing Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835CBA@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of StinkyBob > Sent: Tuesday, January 04, 2005 4:23 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Selective Service Viewing > > Is it possible to view only a few services out of the entire list for > every host? > > For example, just looking at ping times, or SSH versions, but on all > hosts at once. Like browsing the service detail page, but only > looking at one service at a time. You can with 2.0 but not prior -- http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#servicegroup -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bruce.gilbert at tmgus.mosaic.com Tue Jan 4 23:54:40 2005 From: bruce.gilbert at tmgus.mosaic.com (Gilbert, Bruce) Date: Tue, 4 Jan 2005 16:54:40 -0600 Subject: Veritas - Success/Fail Message-ID: <8F60DB2764F7EC498CADADCFBA819DA008BFF906@dalexchange.corp.mosaic.com> There are MIBs on the Vertias install CD. You could use the check_snmp plugin and specify the MIBs you want to check with Nagios. Hope that helps. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Joe Harris Sent: Tuesday, January 04, 2005 4:24 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Veritas - Success/Fail Has anyone written anything to check Veritas Backup Exec jobs. I saw in the plugins section checking for the tape drive itself, but I have several dozen backup jobs running and would like to check the jobs at a glance via Nagios/web. I imagine I could write a little script to parse information (success/fail) from the log files and send that information to Nagios. If anyone already is doing such a thing I would hate to re-invent the wheel. Any thoughts or help would be greatly appreciated. Nagios is already up and monitoring a lot of gear. I just want to add this feature, if possible. Thanks in Advance, Joe Harris -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lukasz.Kurzyna at snt.pl Tue Jan 4 23:52:55 2005 From: Lukasz.Kurzyna at snt.pl (Kurzyna Lukasz) Date: Tue, 4 Jan 2005 23:52:55 +0100 Subject: Fujitsu Prime Power servers (Solaris) Message-ID: Hi, I'd like to check Prime Power servers, but I wasn't able to find any plugins to this specific environment (PP servers). Maybe somebody wrote some extra plugins dedicated to these machines. I found only prtdiag - Solaris command which provides some interesting data (temperature). Best regards Lukasz ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jdragone at pictage.com.ar Wed Jan 5 00:57:32 2005 From: jdragone at pictage.com.ar (Jose Dragone) Date: Tue, 04 Jan 2005 20:57:32 -0300 Subject: NAGIOS NSCA problem solved but still don In-Reply-To: <41D8F411.3080605@interface-business.de> References: <200412302229.iBUMTB10019889@gw0.pictage.com.ar> <41D8F411.3080605@interface-business.de> Message-ID: <41DB2D6C.10402@pictage.com.ar> Hi the problem is solved , nagios is receiving the data OK thanks Jose Stephan Janosch wrote: > jdragone at pictage.com.ar wrote: > >> Hi > > > Hi too! > >> >> Dec 30 17:41:12 monitor2 nsca[662]: Handling the connection... >> Dec 30 17:41:13 monitor2 nsca[662]: SERVICE CHECK -> Host Name: 'Host', >> Service Description: 'Service', Return Code: '0', Output: >> 'PerformanceData' >> Dec 30 17:41:13 monitor2 nsca[662]: End of connection... >> >> Now my new question is: where this data is going to? > > > In regular case, the data is written into the COMMAND FILE of nagios. > nagios checks this file regulary for entries and these entries are > added to the general result queue. > >> >> ls -la /usr/local/nagios/etc/nsca.cfg >> -rw-r--r-- 1 nagios nagios 5199 Dec 29 21:02 >> /usr/local/nagios/etc/nsca.cfg >> >> lsof | grep nagios.cmd >> nagios 24899 root 6r FIFO 3,2 1844163 >> /usr/local/nagios/var/rw/nagios.cmd >> >> I've reading into nsca.c source file, but could not find for any >> clues to where nsca is sending its received data. >> >> vi /usr/local/nagios/etc/nsca.cfg: >> >> command_file=/usr/local/nagios/var/status.log > > > There seems to be an error. Why you configure nsca to write into the > log file instead writing into the command file. Try this line: > command_file=/usr/local/nagios/var/nagios.cmd (or adjust the path to > nagios.cmd). > >> alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump >> debug=1 >> aggregate_writes=1 >> append_to_file=1 >> >> >> >> Regards >> >> >> Jose Dragone >> > > Stephan > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From noyler at khimetrics.com Wed Jan 5 00:44:45 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Tue, 4 Jan 2005 16:44:45 -0700 Subject: NRPE: Unable to read output - Plugin(event handler) Message-ID: <59B15593F41BD24591D59436E7226EAD012E1F53@Khiphx2.khimetrics.com> I wrote an event handler in bash. It runs perfectly fine as the nagios user on the machine. When I run it via check_nrpe -H hostname -c cycle_tomcat CRITICAL SOFT 3 I get NRPE: Unable to read output If I run it without the variables Critical, etc, I still get the same error. I have googled for the error, although I believe it comes up in many different scenarios, and so far I have not gotten it. The plugin has permissions on it that are good. It's defined in nrpe.cfg. I am not sure what the problem is. Nathan Oyler Information Technology 480-308-2342 Office Khimetrics Inc. Maximizing Sales & Profit Revenue Management from Khimetrics ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mister.roy at gmail.com Wed Jan 5 00:45:25 2005 From: mister.roy at gmail.com (Brian Roy) Date: Tue, 4 Jan 2005 17:45:25 -0600 Subject: NTray 1.0 Release Announcement In-Reply-To: References: <20050103223531.9468012070@sc8-sf-spam2.sourceforge.net> Message-ID: <1316644905010415451a9ad608@mail.gmail.com> > > The new release can be found on the Nagios.org website under 'Extras'! > > Rob Wagner, NTray Guy!! > > PS - I have not tested the new release under Nagios 2.x, so I don't know > whether it works or not!! FWIW, it seems to work great under 2.x Great work Rob! -Brian ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jan 5 00:50:05 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 05 Jan 2005 00:50:05 +0100 Subject: problem w/ check_log2.pl In-Reply-To: <41DAF76F.9050200@Examen.com> References: <41DAF76F.9050200@Examen.com> Message-ID: <41DB2BAD.5070006@op5.se> Emmett Hogan wrote: > Hi Folks, > > I am trying to use check_log2.pl via check_by_ssh to check for either > "WARNING" or "NOTICE"...however, if I use the command: > > check_by_ssh -l nagios -i nagios_key -H hostname -C > '/opt/nagios/libexec/check_log2.pl -l /var/adm/messages -s > /var/tmp/message.nagios-seek -p "WARNING|NOTICE"' > > It is treating the "|" as a unix pipe and not a regular expression > character. I have tried every method of "escaping" the character, but > have had no luck. > With all of the folks using check_log2.pl, I am sure someone has run > into this before....at least I hope so. > > Does anyone know of a solution? (Maybe redefining the "or" character > for a PERL regular expression?) > You need to do do double double-quotes of the regular expression, the inner of which must be escaped (as such): blahblah "\"WARNING|NOTICE\"" You can optionally use single qoutes on the outside and double quotes on the inside, or any manner of other method (triple escaping the pipe, for instance). It has to do with how the nrpe daemon executes commands. > -E > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From shawn at nccsc.k12.in.us Wed Jan 5 01:46:08 2005 From: shawn at nccsc.k12.in.us (Shawn Iverson) Date: Tue, 4 Jan 2005 19:46:08 -0500 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) Message-ID: <7ADE11986184154083869D43D0B06D447B7C9A@exchange.nccsc.k12.in.us> Yes, this can be done, and I am doing it right now. It rocks! You have to edit numerous files within your system, though, making it a bit hairy for the faint at heart. The good news is that if you are successful, you can authenticate against AD with any pam-enabled program in linux! This method uses winbind for directory user/group UID/GID mappings/lookups and kerberos V5 for authentication. The following are instructions for Fedora Core 3 in a typical Active Directory environment, but they should be adaptable to other distros. You will need the following packages and their dependencies (preferrably most recent): krb5-workstation pam_krb5 mod_auth_pam (http://pam.sourceforge.net/mod_auth_pam) Optional, but highly recommended: nscd (to cache authentication requests) The instructions that follow assume that you are using Apache v2.x with module support and SSL, and that you are wanting to authenticate against a Windows 2003 Server DC. Make sure that the following services are enabled in your init scripts for your runlevel (chkconfig): winbind nscd (if being used--highly recommended so that your DC is not pounded with numerous requests) Add the following to your /etc/krb5.conf as follows. Automatic kdc and realm lookup will save you a lot of headaches (may be less secure since it informs kerberos to locate the nearest kdc, a.k.a. domain controller. Read the docs if you want to hard wire it to a specific kdc). Note that your realms must be ALL CAPS: [libdefaults] default_realm = YOUR.FULLY.QUALIFIED.DOMAIN dns_lookup_realm = true dns_lookup_kdc = true Edit /etc/samba/smb.conf for winbind. Note that I have set the shell to /sbin/nologin to guard against console logins since I have my pam_krb5 configuration in /etc/pam.d/system_auth. Also, I had trouble with DNS for some reason on the password server line, so I had to use an IP address. workgroup = yourdomain security = ads idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 template shell = /sbin/nologin winbind use default domain = yes password server = your_domain_controller realm = YOUR.FULLY.QUALIFIED.DOMAIN client use spnego = yes Add this to /etc/httpd/conf/httpd.conf. I highly recommend that you use SSL to protect your domain passwords from being sent across the network in plain text (Note that statuswrl.cgi will not load in Internet Explorer when using SSL, a small price to pay. You should also set up a certificate, which I will not delve into here.): LoadModule auth_pam_module modules/mod_auth_pam.so SSLProtocol -all +SSLv2 SSLVerifyClient none Also, add a nagios.conf to your /etc/httpd/conf.d/ to configure authentication and disregard the instructions that come with nagios for configuring web authorization (they are somewhat outdated): ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ Options ExecCGI AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.1 Allow from x.x.x.x/x ;your subnet(s) AuthType Basic AuthName "Nagios Web Access" Require user your_domain_users ;(or use 'require group', read the docs) AuthPAM_Enabled on AuthPAM_FallThrough off SSLCipherSuite -all:SSLv2:+HIGH Alias /nagios /usr/local/nagios/share/ Options None AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.1 Allow from x.x.x.x/x ;your subnet(s) AuthType Basic AuthName "Nagios Web Access" Require user your_domain_users AuthPAM_Enabled on AuthPAM_FallThrough off SSLCipherSuite -all:SSLv2:+HIGH Edit /etc/pam.d/httpd to enable kerberos authentication with pam. Something similar to this will work: #%PAM-1.0 auth sufficient /lib/security/pam_krb5.so auth required /lib/security/pam_unix.so account sufficient /lib/security/pam_krb5.so account required /lib/security/pam_unix.so Edit /etc/nsswitch.conf and modify the following lines: passwd: files winbind shadow: files winbind group: files winbind Now you must join your linux box to your directory and test your configuration. See chapter 6 of the Official Samba-3 HOWTO for more information (http://us2.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-membe r.html#ads-member). You will also probably want to set up ntp so that your time stays synchronized. In a nutshell, do the following: service winbind restart service nscd restart killall -HUP httpd getent passwd ;you will see domain accounts scrolling off of the screen if this works getent group net ads join -U your_domain_administrator_account kinit your_dom_admin at YOUR.REALM net ads join "your_organizational_unit" Check to make sure you now have a computer account in your OU and that you now have a kerberos ticket: klist tickets Finally, test your authentication into nagios with your web browser (https://yourserver/nagios). If it fails, pay close attention to /var/log/messages and the httpd server logs for clues on what is going wrong. If you encounter errors during the process, double check everything and keep trying. Good luck! Shawn Iverson Technology Associate MCP W2K3S and W2KP, Linux+, Network+, A+ New Castle Community School Corporation shawn at nccsc.k12.in.us On Tuesday, January 04, 2005 1:43 PM, Chris Waters wrote: >I want to use my company's AD to authenticate users against for access to Nagios. >While I know this is not really a Nagios question, I was wondering if anyone in >the community is doing this already. If so, what issues did you encounter? Any >drawbacks? What apache modules were used etc.? Any information would be great. >Sorry if this has already been covered. > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From scott_yem at agilent.com Wed Jan 5 01:49:11 2005 From: scott_yem at agilent.com (scott_yem at agilent.com) Date: Tue, 4 Jan 2005 16:49:11 -0800 Subject: check_snmp problem... Message-ID: <65213341217E8D458E7C78E6640C7495044BFB46@waglmb01.labs.agilent.com> I found the same problem. I found the answer by running check_snmp and snmpget from the command line. It appears the response has changed some and you will want to add something like "INTEGER: " in front of your expected response. Scott Yem Research Computing Services Agilent Laboratories _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jorge Frater Sent: Monday, January 03, 2005 5:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp problem... Dear list: I've been using Nagios for over 2 years now on a server running Mandrake 9.0, last week I upgraded it to mandrake 10.1 Since then the check_snmp won't work Now snmpget does work and gives the correct reading: "37" which is the temperature of this APC UPS but the response is always "SNMP problem - No data received from host" # /usr/local/nagios/libexec/check_snmp -H 192.168.1.10 -o 1.3.6.1.4.1.318.1.1.1.2.2.2.0 -v /usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.1.10:161 1.3.6.1.4.1.318.1.1.1.2.2.2.0 SNMPv2-SMI::enterprises.318.1.1.1.2.2.2.0 37 SNMP problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.1.10:161 1.3.6.1.4.1.318.1.1.1.2.2.2.0 Thanks. Jorge Frater B. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shawn at nccsc.k12.in.us Wed Jan 5 02:02:39 2005 From: shawn at nccsc.k12.in.us (Shawn Iverson) Date: Tue, 4 Jan 2005 20:02:39 -0500 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) Message-ID: <7ADE11986184154083869D43D0B06D447B7C9B@exchange.nccsc.k12.in.us> I missed one small detail. Add this to /etc/samba/smb.conf also: encrypt passwords = yes Shawn Iverson Technology Associate MCP W2K3S and W2KP, Linux+, Network+, A+ New Castle Community School Corporation shawn at nccsc.k12.in.us On Tuesday, January 04, 2005 7:46 PM, Shawn wrote: >Yes, this can be done, and I am doing it right now. It rocks! > You have to edit numerous files within your system, though, >making it a bit hairy for the faint at heart. The good news >is that if you are successful, you can authenticate against AD >with any pam-enabled program in linux! This method uses >winbind for directory user/group UID/GID mappings/lookups and >kerberos V5 for authentication. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From carson+nagiosusers at taltos.org Wed Jan 5 03:50:24 2005 From: carson+nagiosusers at taltos.org (Carson Gaspar) Date: Tue, 04 Jan 2005 21:50:24 -0500 Subject: Query about notifications and scheduled downtime Message-ID: <8FE9E08CE306FD44AE6851F6@taltos.ny.fw.gs.com> Having read the documentation rather thoroughly, there's one thing I still can't figure out. Given the following timeline: - Scheduled downtime begins for a service - Nagios receives a non-OK passive check result for the service - Scheduled downtime for that service ends When will nagios check to see if it needs to send a notification for this still-down service? The docs say that a notification will go out after notification_interval if: (1) a notification was already sent out about a problem with the host or service at some point in the past and (2) the host or service has remained in the same non-OK state that it was when the last notification went out. There was no original notification (due to the scheduled downtime). So how does this work? Will nagios ever tell us that we have a problem? -- Carson ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rrivera at comtex.com Wed Jan 5 05:45:39 2005 From: rrivera at comtex.com (Rimbert Rivera) Date: Tue, 4 Jan 2005 22:45:39 -0600 Subject: Nagios just stopped running Message-ID: I have a cron job that runs the check_nagios plugin and e-mails us the output. Earlier today, we started getting: "Nagios problem: located 3 processes, status log updated 1565 seconds ago" Everytime it ran, it was the same output with a longer time that it wasn't updated. This was working fine before where the status log would be updated usually no longer than 8 seconds ago. I checked the status.log and status.sav and confirmed that they hadn't updated. I restarted nagios but I still had the same problem. Even though none of the partitions were running out of space, I deleted archived logs and restarted nagios but same problem. I did some more troubleshooting without any luck. Long story short, I rebooted the RH9 box it was running on and nagios started running again. Anyone have an idea of what could've happened and things I could check? This is the first time this has ever happened as far as I know. The recent changes we made were just setting up one new host to monitor so we edited hosts.cfg, hostgroups.cfg and services.cfg but nagios restarted without error. I even took out those changes and restarted nagios but still had the same problem. One thing I noticed was our service-perfdata.out is 790 MB. Can I delete this and nagios will create a new one? I'm not sure it's the problem since it's still that big and nagios is running now but it doesn't seem like I want that file to get that big. What kind of maintenance should I be performing on nagios? We've had it running for over a year and we haven't really did any kind of cleanup on it. Your help to this newbie would be greatly appreciated. - Rim Rimbert Rivera Manager, Information Technology COMTEX News Network rrivera at comtex.com (703) 820-2000 Discover more about COMTEX at: HYPERLINK http://www.comtex.com/ http://www.comtex.com/ This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.8 - Release Date: 1/3/2005 -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at mm.quex.org Wed Jan 5 08:01:25 2005 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Wed, 5 Jan 2005 15:01:25 +0800 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) In-Reply-To: References: Message-ID: <20050105070125.GA29681@quex.org> On Tue, Jan 04, 2005 at 10:43:24AM -0800, CWaters at jeld-wen.com wrote: > I want to use my company's AD to authenticate users against for access > to Nagios. While I know this is not really a Nagios question, I was > wondering if anyone in the community is doing this already. If so, > what issues did you encounter? Any drawbacks? What apache modules > were used etc.? Any information would be great. Sorry if this has > already been covered. In addition to the PAM method in someone else's response, if you only need to to authenticate against AD for Nagios access (i.e. via Apache) there's an LDAP authentication module or two available which you can use. I'm using this with Apache 2 on a Debian (testing) system with mod_auth_ldap v2.12, compiled with OpenLDAP TLS. You might also want to look at the newer version. In the Directory configuration block for Apache: AuthName "Network monitoring" AuthType Basic LDAP_Debug off LDAP_Server dc.myco.internal LDAP_Port 389 LDAP_Persistent off LDAP_Protocol_Version 3 Bind_DN "CN=LDAP_User,OU=Service Accounts,DC=myco,DC=internal" Bind_Pass "xxxxxxxxxxxx" Base_DN "OU=Staff,DC=myco,DC=internal" LDAP_StartTLS on AuthOnBind off Bind_Tries 1 UID_Attr userPrincipalName UID_Attr_Alt sAMAccountName require valid-user I've got LDAP_Persistent off, as I think it caused me problems when it was enabled. The Bind_DN gives the distinguished name of an account it can use to do the initial searching; I think it's possible to set up your domain to allow anonymous searches but you might not want to do that. Bind_Pass gives the password for this account, so you'll want to make sure only authorised people get to read this config file, and the Base_DN sets where the search takes place in the Active Directory tree. The UID_Attr gives the property that is used to find a match when a user goes to log in, i.e. what they type in the Username field. The UID_Attr_Alt is exported into the environment as LDAP_USER_ALT, which might be useful if you want to hack the CGI's to use this instead of whatever you're using for the UID_Attr. Hope some of this is helpful. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From amontibello at gmail.com Wed Jan 5 08:27:13 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 5 Jan 2005 02:27:13 -0500 Subject: NC_Net V1.06 - Some Bugs Fixed and some Enhanc ement In-Reply-To: <11720FFB22BED511A66800E07D923B376781B7@prodntsc2.brendata> References: <11720FFB22BED511A66800E07D923B376781B7@prodntsc2.brendata> Message-ID: Thanks Steve, Could you give me more detail as to exactly what and how you want to monitor the event log. What information do you want to get from running the check. For example do you know what kind of parameters you want to give check_nt, and what do you want to receive back from the check. So I still need to decide what the event log monitoring in NC_Net should do. Any suggestions are welcome. As for the actual programming of it into NC_Net it should not be too bad to get done, once the details of what do do are determined. after it is added to NC_Net it should also be added to Check_Nt. I know the Memory size of NC_Net seems kind of big compared to nsclient the main reason for this is due to the loading of the virtual machine since it is implemented in C#. C# with the Dot Net Framework seems to be much more similar to Java than to C++ and this is the main cause of the memory load. Its memory footprint seems to stay between 8 to 15 Megs.(usually loading higher.) There might be little that can be done to reduce the memory footprint due to the limitations of C# compiler. This was one of the trade offs in implementing it in C#. For example I have one server that receives 7 active checks and uses 8 megs of memory while a second server that receives only 4 active checks is using 14 Megs. Both servers are running the same version of NC_Net however the server using less memory is win2k while the one using more is Server 2003. Thanks Tony On Tue, 4 Jan 2005 19:03:03 -0000, Steve Hanselman wrote: > Looks good, it's a bit larger than nsclient, but as soon as you have the > event log bits in then I'll be able to drop snare so the extra size will be > worth it. > > Any ETA for the event log monitoring? > > Regards > > Steve > > -----Original Message----- > From: Anthony Montibello [mailto:amontibello at gmail.com] > Sent: 04 January 2005 12:29 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NC_Net V1.06 - Some Bugs Fixed and some Enhancement > > Hi Everyone, > Happy New Year. > > A new version of NC_Net is now available. Some of the Enhancements include: > > -Being able to check Windows Service States with the descriptive names > that are in Service Manager, as well as still being able to check with > names NS_Client used. > -Check Instance - can receive more than one Performance Counter and > returns a list of counters. > -Documentation has been updated a bit. > > You can Download the new version from the official web site > http://www.shatterit.com/NC_Net > or from Nagios Exchange under the name NC_Net V1_x > http://www.nagiosexchange.org/Windows.49.0.html?&tx_netnagext_pi1[p_view]=19 > 9 > > Recent Bug Fixes include: > MemUse unable to handle over 4 gigs -- FIXED > FILEAGE not working -FIXED > DiskUsage - Faster, and no longer poles removable disks.-FIXED > Documentation Improved. > > Thank you, > Tony > amontibello at shatterit.com > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > The information contained in this email is intended for the personal and confidential use > of the addressee only. It may also be privileged information. If you are not the intended > recipient then you are hereby notified that you have received this document in error and > that any review, distribution or copying of this document is strictly prohibited. If you have > received this communication in error, please notify Brendata immediately on: > > +44 (0)1268 466100, or email 'technical at brendata.co.uk' > > Brendata (UK) Ltd > Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK > Registered Office as above. Registered in England No. 2764339 > > See our current vacancies at www.brendata.co.uk > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Wed Jan 5 09:44:31 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Wed, 05 Jan 2005 09:44:31 +0100 Subject: Nagios just stopped running In-Reply-To: References: Message-ID: <41DBA8EF.5070909@interface-business.de> Rimbert Rivera wrote: > I have a cron job that runs the check_nagios plugin and e-mails us the > output. Earlier today, we started getting: > "Nagios problem: located 3 processes, status log updated 1565 seconds ago" > > Everytime it ran, it was the same output with a longer time that it > wasn't updated. This was working fine before where the status log would > be updated usually no longer than 8 seconds ago. I checked the > status.log and status.sav and confirmed that they hadn't updated. I > restarted nagios but I still had the same problem. Even though none of > the partitions were running out of space, I deleted archived logs and > restarted nagios but same problem. I did some more troubleshooting > without any luck. Long story short, I rebooted the RH9 box it was > running on and nagios started running again. > > Anyone have an idea of what could've happened and things I could check? > This is the first time this has ever happened as far as I know. The > recent changes we made were just setting up one new host to monitor so > we edited hosts.cfg, hostgroups.cfg and services.cfg but nagios > restarted without error. I even took out those changes and restarted > nagios but still had the same problem. One thing I noticed was our > service-perfdata.out is 790 MB. Can I delete this and nagios will > create a new one? I'm not sure it's the problem since it's still that > big and nagios is running now but it doesn't seem like I want that file > to get that big. To your service-perfdata.out. If you don't need any performance data, you can switch perfmormance data logging of. Depending on your performance command definition, you can simply delete it. I don't know, if you have changed that command. Look into misccomands.cfg, there it is located by standard. > > What kind of maintenance should I be performing on nagios? We've had it > running for over a year and we haven't really did any kind of cleanup on it. > > Your help to this newbie would be greatly appreciated. Stephan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From r_jai_ganesh at yahoo.com Wed Jan 5 09:47:37 2005 From: r_jai_ganesh at yahoo.com (Jai Ganesh) Date: Wed, 5 Jan 2005 08:47:37 +0000 (GMT) Subject: Nagios errors !! Message-ID: <20050105084737.93059.qmail@web52705.mail.yahoo.com> Hello, I have installed 2 tar files including nagios plugin in - FC2 Linux, after entering login/password, Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. this is the log : [root at kiwi var]#tail -f nagios.log [1104815737] LOG VERSION: 2.0 [1104815737] Bailing out due to one or more errors encountered in the configuration files. Run Nagios from the command line with the -v option to verify your config before restarting. (PID=3299) [1104815776] Nagios 2.0b1 starting... (PID=3346) [root at kiwi var]# nagios -v bash: nagios: command not found [root at kiwi var]# /etc/init.d/nagios start Starting network monitor: nagios No lock file found in /usr/local/nagios/var/nagios.lock /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Nagios 2.0b1 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 12-15-2005 License: GPL Reading configuration data... Error: Invalid hostgroup object directive 'contact_groups'. Error: Could not add object property in file '/usr/local/nagios/etc/hostgroups.cfg' on line 4. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. PLease let me know how to fix this issue. ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From peter.hicks at poggs.co.uk Wed Jan 5 09:56:22 2005 From: peter.hicks at poggs.co.uk (Peter Hicks) Date: Wed, 5 Jan 2005 08:56:22 +0000 Subject: Nagios errors !! In-Reply-To: <20050105085450.96376.qmail@web52705.mail.yahoo.com> References: <20050105085133.GA9381@tufnell.lon1.poggs.net> <20050105085450.96376.qmail@web52705.mail.yahoo.com> Message-ID: <20050105085622.GB9381@tufnell.lon1.poggs.net> On Wed, Jan 05, 2005 at 08:54:50AM +0000, Jai Ganesh wrote: > can you explain what am i doing wrong and step by step to resolve this > problem As the error suggests, look in your hostsgroups configuration. Can you paste the first 10-15 lines here? Peter. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From peter.hicks at poggs.co.uk Wed Jan 5 10:12:05 2005 From: peter.hicks at poggs.co.uk (Peter Hicks) Date: Wed, 5 Jan 2005 09:12:05 +0000 Subject: Nagios errors !! In-Reply-To: <20050105090149.67106.qmail@web52709.mail.yahoo.com> References: <20050105085622.GB9381@tufnell.lon1.poggs.net> <20050105090149.67106.qmail@web52709.mail.yahoo.com> Message-ID: <20050105091205.GC9381@tufnell.lon1.poggs.net> ***************************************************************************** N.B. Please make sure you cc: the list in, as other people can then benefit from reading this thread. ***************************************************************************** On Wed, Jan 05, 2005 at 09:01:49AM +0000, Jai Ganesh wrote: > hostgroups.cfg : > > define hostgroup{ > hostgroup_name flcd-servers > alias The Free Linux CD Project Servers > contact_groups flcd-admins > members example.com > members 10.10.22.220 > } As the error said: Error: Invalid hostgroup object directive 'contact_groups'. Error: Could not add object property in file '/usr/local/nagios/etc/hostgroups.cfg' on line 4. 'contact_groups' is not a valid statement inside a hostgroup definition - see http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostgroup. The behaviour has changed between Nagios 1.x and 2.x, documented in the changelog: "Contact group changes - The contact_groups directive has been moved from hostgroup definitions to host definitions. This was done in order to maintain consistency with the way service contacts are specified. Make sure to update your config files!" Peter. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From r_jai_ganesh at yahoo.com Wed Jan 5 10:26:43 2005 From: r_jai_ganesh at yahoo.com (Jai Ganesh) Date: Wed, 5 Jan 2005 09:26:43 +0000 (GMT) Subject: Nagios errors !! In-Reply-To: <20050105091205.GC9381@tufnell.lon1.poggs.net> References: <20050105091205.GC9381@tufnell.lon1.poggs.net> Message-ID: <20050105092643.74178.qmail@web52709.mail.yahoo.com> okay, i now have only these entries in hostgroups.cfg define hostgroup{ hostgroup_name admin alias administrator members example.com } now i get this error : /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Error: Invalid host object directive '#'. Error: Could not add object property in file '/usr/local/nagios/etc/hosts.cfg' on line 3. this is my hosts.cfg entry : # Generic host definition template define host{ # The name of this host template - referenced i name generic-host n other host definitions, used for template recursion/resolution # Host notifications are enabled notifications_enabled 1 # Host event handler is enabled event_handler_enabled 1 # Flap detection is enabled flap_detection_enabled 1 # Process performance data process_perf_data 1 # Retain status information across program restarts retain_status_information 1 # Retain non-status information across program restarts retain_nonstatus_information 1 # DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, # JUST A TEMPLATE! register 0 } # Host Definition define host{ # Name of host template to use use generic-host host_name example.com alias An Example Domain address www.example.com check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } THanks for ur help. --- Peter Hicks wrote: > > ***************************************************************************** > N.B. Please make sure you cc: the list in, as other > people can then benefit > from reading this thread. > ***************************************************************************** > > On Wed, Jan 05, 2005 at 09:01:49AM +0000, Jai Ganesh > wrote: > > > hostgroups.cfg : > > > > define hostgroup{ > > hostgroup_name flcd-servers > > alias The Free Linux CD Project > Servers > > contact_groups flcd-admins > > members example.com > > members 10.10.22.220 > > } > > As the error said: > > Error: Invalid hostgroup object directive > 'contact_groups'. > Error: Could not add object property in file > '/usr/local/nagios/etc/hostgroups.cfg' on line > 4. > > 'contact_groups' is not a valid statement inside a > hostgroup definition - > see > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostgroup. > > The behaviour has changed between Nagios 1.x and > 2.x, documented in the > changelog: > > "Contact group changes - The contact_groups > directive has been moved from > hostgroup definitions to host definitions. This > was done in order to > maintain consistency with the way service contacts > are specified. Make > sure to update your config files!" > > > > Peter. > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the > post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt > from ThinkGeek. > It's fun and FREE -- well, > almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim.mozley at exponential-e.com Wed Jan 5 10:36:45 2005 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Wed, 05 Jan 2005 09:36:45 +0000 Subject: Nagios + Logsurfer or Swatch? In-Reply-To: <41D2EF84.5020209@Examen.com> References: <41C9BD9F.3010307@Examen.com> <20041222211123.GH1816@zippy.toger.us> <41CABBB3.9020404@interface-business.de> <41D2EF84.5020209@Examen.com> Message-ID: <41DBB52D.1080306@exponential-e.com> Emmett Hogan wrote: > Thanks for the suggestions from everyone on this. > > Most folks pointed me to check_log2.pl in the contrib directory of the > plugins distribution. check_log2 is great for two reasons: 1) It's > written in PERL, so I can hack on it, 2) it takes regular expressions, > so you can bundle mutilple checks in one pass. > > However, the major drawback to it, is that it returns only two states: > OK, or WARNING. There are some log messages which I would consider > CRITICAL. So, unless someone has a better suggestion...I think I will > hack check_log2 to take parameters like this: > > check_log2.pl -l -s -cp [-cn > ] -wp [-wn ] > > Where "-cp" and "-cn" indicate the CRITICAL patterns to look for, and > "-wp" and "-wn" are the WARNING patterns. > > Anybody see any potential problems with that? I'd still suggest something like swatch/sec to process the log and pass passive checks into Nagios. It has some good points: - nearer to real time - log files aren't scanned each time - fits in with using a central log server such as syslog-ng very well - you could correlate events if you use sec - can use it for things other than providing alarms for Nagios. Jim Mozley ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From r_jai_ganesh at yahoo.com Wed Jan 5 10:37:17 2005 From: r_jai_ganesh at yahoo.com (Jai Ganesh) Date: Wed, 5 Jan 2005 09:37:17 +0000 (GMT) Subject: Nagios errors !! In-Reply-To: <20050105091205.GC9381@tufnell.lon1.poggs.net> References: <20050105091205.GC9381@tufnell.lon1.poggs.net> Message-ID: <20050105093717.52935.qmail@web52701.mail.yahoo.com> okay, now i am getting this output : Reading configuration data... Running pre-flight check on configuration data... Checking services... Error: Contact group 'flcd-admins' specified in service 'HTTP' for host 'example.com' is not defined anywhere! Error: Check period '24x7' specified for service 'HTTP' on host 'example.com' is not defined anywhere! Error: Notification period '24x7' specified for service 'HTTP' on host 'example.com' is not defined anywhere! Error: Contact group 'flcd-admins' specified in service 'PING' for host 'example.com' is not defined anywhere! Error: Check period '24x7' specified for service 'PING' on host 'example.com' is not defined anywhere! Error: Notification period '24x7' specified for service 'PING' on host 'example.com' is not defined anywhere! Checked 2 services. Checking hosts... Error: Host 'example.com' has no default contact group(s) defined! Error: Notification period '24x7' specified for host 'example.com' is not defined anywhere! Checked 1 hosts. Checking host groups... Checked 1 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Error: Service notification command 'notify-by-epager' specified for contact 'admin' is not defined anywhere! Error: Service notification command 'notify-by-email' specified for contact 'admin' is not defined anywhere! Error: Host notification command 'host-notify-by-epager' specified for contact 'admin' is not defined anywhere! Error: Host notification command 'host-notify-by-email' specified for contact 'admin' is not defined anywhere! Error: Service notification period '24x7' specified for contact 'admin' is not defined anywhere! Error: Host notification period '24x7' specified for contact 'admin' is not defined anywhere! Checked 1 contacts. Checking contact groups... Warning: Contact group 'admin' is not used in any hostgroup/service definitions or host/hostgroup/service escalations! Checked 1 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 16 commands. Checking time periods... Checked 0 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 1 Total Errors: 14 ***> One or more problems was encountered while running the pre-flight check... what next ? still web interface gives the same error... thanks for ur continued help --- Peter Hicks wrote: > > ***************************************************************************** > N.B. Please make sure you cc: the list in, as other > people can then benefit > from reading this thread. > ***************************************************************************** > > On Wed, Jan 05, 2005 at 09:01:49AM +0000, Jai Ganesh > wrote: > > > hostgroups.cfg : > > > > define hostgroup{ > > hostgroup_name flcd-servers > > alias The Free Linux CD Project > Servers > > contact_groups flcd-admins > > members example.com > > members 10.10.22.220 > > } > > As the error said: > > Error: Invalid hostgroup object directive > 'contact_groups'. > Error: Could not add object property in file > '/usr/local/nagios/etc/hostgroups.cfg' on line > 4. > > 'contact_groups' is not a valid statement inside a > hostgroup definition - > see > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostgroup. > > The behaviour has changed between Nagios 1.x and > 2.x, documented in the > changelog: > > "Contact group changes - The contact_groups > directive has been moved from > hostgroup definitions to host definitions. This > was done in order to > maintain consistency with the way service contacts > are specified. Make > sure to update your config files!" > > > > Peter. > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the > post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt > from ThinkGeek. > It's fun and FREE -- well, > almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From peter.hicks at poggs.co.uk Wed Jan 5 10:42:44 2005 From: peter.hicks at poggs.co.uk (Peter Hicks) Date: Wed, 5 Jan 2005 09:42:44 +0000 Subject: Nagios errors !! In-Reply-To: <20050105092643.74178.qmail@web52709.mail.yahoo.com> References: <20050105091205.GC9381@tufnell.lon1.poggs.net> <20050105092643.74178.qmail@web52709.mail.yahoo.com> Message-ID: <20050105094244.GD9381@tufnell.lon1.poggs.net> On Wed, Jan 05, 2005 at 09:26:43AM +0000, Jai Ganesh wrote: > now i get this error : > > /usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg > > Error: Invalid host object directive '#'. > Error: Could not add object property in file > '/usr/local/nagios/etc/hosts.cfg' on line 3. The hosts.cfg you've pasted has line-wraps: > # Generic host definition template > define host{ > # The name of this host template - referenced i > name generic-host > n other host definitions, used for template > recursion/resolution > # Host notifications are enabled > notifications_enabled 1 Comments start from a # and run to the end of the line - they don't span multiple lines. Can you remove the comments and run nagios -v again? Best wishes, Peter. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From r_jai_ganesh at yahoo.com Wed Jan 5 10:56:23 2005 From: r_jai_ganesh at yahoo.com (Jai Ganesh) Date: Wed, 5 Jan 2005 09:56:23 +0000 (GMT) Subject: Nagios errors !! In-Reply-To: <20050105094244.GD9381@tufnell.lon1.poggs.net> References: <20050105094244.GD9381@tufnell.lon1.poggs.net> Message-ID: <20050105095623.58392.qmail@web52701.mail.yahoo.com> okay, i get this now Checking services... Error: Check period '24x7' specified for service 'HTTP' on host '10.10.22.220' is not defined anywhere! Error: Notification period '24x7' specified for service 'HTTP' on host '10.10.22.220' is not defined anywhere! Error: Check period '24x7' specified for service 'PING' on host '10.10.22.220' is not defined anywhere! Error: Notification period '24x7' specified for service 'PING' on host '10.10.22.220' is not defined anywhere! Checked 2 services. Checking hosts... Error: Host '10.10.22.220' has no default contact group(s) defined! Error: Notification period '24x7' specified for host '10.10.22.220' is not defined anywhere! Checked 1 hosts. Checking host groups... Checked 1 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Error: Service notification command 'notify-by-epager' specified for contact 'admin' is not defined anywhere! Error: Service notification command 'notify-by-email' specified for contact 'admin' is not defined anywhere! Error: Host notification command 'host-notify-by-epager' specified for contact 'admin' is not defined anywhere! Error: Host notification command 'host-notify-by-email' specified for contact 'admin' is not defined anywhere! Error: Service notification period '24x7' specified for contact 'admin' is not defined anywhere! Error: Host notification period '24x7' specified for contact 'admin' is not defined anywhere! Checked 1 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 16 commands. Checking time periods... Checked 0 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 12 ***> One or more problems was encountered while running the pre-flight check... example.com is renamed to 10.10.22.220 --- Peter Hicks wrote: > On Wed, Jan 05, 2005 at 09:26:43AM +0000, Jai Ganesh > wrote: > > > now i get this error : > > > > /usr/local/nagios/bin/nagios -v > > /usr/local/nagios/etc/nagios.cfg > > > > Error: Invalid host object directive '#'. > > Error: Could not add object property in file > > '/usr/local/nagios/etc/hosts.cfg' on line 3. > > The hosts.cfg you've pasted has line-wraps: > > > # Generic host definition template > > define host{ > > # The name of this host template - referenced i > > name generic-host > > n other host definitions, used for template > > recursion/resolution > > # Host notifications are enabled > > notifications_enabled 1 > > Comments start from a # and run to the end of the > line - they don't span > multiple lines. Can you remove the comments and run > nagios -v again? > > Best wishes, > > > Peter. > ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From peter.hicks at poggs.co.uk Wed Jan 5 10:56:46 2005 From: peter.hicks at poggs.co.uk (Peter Hicks) Date: Wed, 5 Jan 2005 09:56:46 +0000 Subject: Nagios errors !! In-Reply-To: <20050105093717.52935.qmail@web52701.mail.yahoo.com> References: <20050105091205.GC9381@tufnell.lon1.poggs.net> <20050105093717.52935.qmail@web52701.mail.yahoo.com> Message-ID: <20050105095646.GE9381@tufnell.lon1.poggs.net> On Wed, Jan 05, 2005 at 09:37:17AM +0000, Jai Ganesh wrote: > okay, now i am getting this output : Have you read the manual? These are fairly simple issues which are well documented. A tutorial will 'get you started', but is not too useful for troubleshooting. > Checking services... > Error: Contact group 'flcd-admins' specified in service 'HTTP' for host > 'example.com' is not defined anywhere! You need a contact group defined, flcd-admins: define contactgroup { contactgroup_name flcd-admins alias FLCD Admins members user1,user2,user3 } > Error: Check period '24x7' specified for service 'HTTP' on host > 'example.com' is not defined anywhere! You also need a check-period defined: define timeperiod { timeperiod_name 24x7 alias All the time monday 00:00-23:59 tuesday 00:00-23:59 wednesday 00:00-23:59 thursday 00:00-23:59 friday 00:00-23:59 saturday 00:00-23:59 sunday 00:00-23:59 } > Error: Service notification command 'notify-by-epager' specified for > contact 'admin' is not defined anywhere! Again, you're probably missing the service notification command. Check your config files! Peter. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Wed Jan 5 11:00:29 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Wed, 05 Jan 2005 11:00:29 +0100 Subject: Nagios errors !! In-Reply-To: <20050105093717.52935.qmail@web52701.mail.yahoo.com> References: <20050105093717.52935.qmail@web52701.mail.yahoo.com> Message-ID: <41DBBABD.3030809@interface-business.de> Jai Ganesh wrote: > okay, now i am getting this output : > > Reading configuration data... > > Running pre-flight check on configuration data... > > Checking services... > Error: Contact group 'flcd-admins' specified in > service 'HTTP' for host 'example.com' is not defined > anywhere! > Error: Check period '24x7' specified for service > 'HTTP' on host 'example.com' is not defined anywhere! > Error: Notification period '24x7' specified for > service 'HTTP' on host 'example.com' is not defined > anywhere! > Error: Contact group 'flcd-admins' specified in > service 'PING' for host 'example.com' is not defined > anywhere! > Error: Check period '24x7' specified for service > 'PING' on host 'example.com' is not defined anywhere! > Error: Notification period '24x7' specified for > service 'PING' on host 'example.com' is not defined > anywhere! > Checked 2 services. > Checking hosts... > Error: Host 'example.com' has no default contact > group(s) defined! > Error: Notification period '24x7' specified for host > 'example.com' is not defined anywhere! > Checked 1 hosts. > Checking host groups... > Checked 1 host groups. > Checking service groups... > Checked 0 service groups. > Checking contacts... > Error: Service notification command 'notify-by-epager' > specified for contact 'admin' is not defined anywhere! > Error: Service notification command 'notify-by-email' > specified for contact 'admin' is not defined anywhere! > Error: Host notification command > 'host-notify-by-epager' specified for contact 'admin' > is not defined anywhere! > Error: Host notification command > 'host-notify-by-email' specified for contact 'admin' > is not defined anywhere! > Error: Service notification period '24x7' specified > for contact 'admin' is not defined anywhere! > Error: Host notification period '24x7' specified for > contact 'admin' is not defined anywhere! > Checked 1 contacts. > Checking contact groups... > Warning: Contact group 'admin' is not used in any > hostgroup/service definitions or > host/hostgroup/service escalations! > Checked 1 contact groups. > Checking service escalations... > Checked 0 service escalations. > Checking service dependencies... > Checked 0 service dependencies. > Checking host escalations... > Checked 0 host escalations. > Checking host dependencies... > Checked 0 host dependencies. > Checking commands... > Checked 16 commands. > Checking time periods... > Checked 0 time periods. > Checking extended host info definitions... > Checked 0 extended host info definitions. > Checking extended service info definitions... > Checked 0 extended service info definitions. > Checking for circular paths between hosts... > Checking for circular host and service dependencies... > Checking global event handlers... > Checking obsessive compulsive processor commands... > Checking misc settings... > > Total Warnings: 1 > Total Errors: 14 > > ***> One or more problems was encountered while > running the pre-flight check... > > > what next ? still web interface gives the same > error... > thanks for ur continued help > > > > --- Peter Hicks wrote: > >> > ***************************************************************************** > >>N.B. Please make sure you cc: the list in, as other >>people can then benefit >> from reading this thread. >> > > ***************************************************************************** > >>On Wed, Jan 05, 2005 at 09:01:49AM +0000, Jai Ganesh >>wrote: >> >> >>>hostgroups.cfg : >>> >>>define hostgroup{ >>> hostgroup_name flcd-servers >>> alias The Free Linux CD Project >> >>Servers >> >>> contact_groups flcd-admins >>> members example.com >>> members 10.10.22.220 >>>} >> >>As the error said: >> >> Error: Invalid hostgroup object directive >>'contact_groups'. >> Error: Could not add object property in file >> '/usr/local/nagios/etc/hostgroups.cfg' on line >>4. >> >>'contact_groups' is not a valid statement inside a >>hostgroup definition - >>see >> > > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostgroup. > >>The behaviour has changed between Nagios 1.x and >>2.x, documented in the >>changelog: >> >> "Contact group changes - The contact_groups >>directive has been moved from >> hostgroup definitions to host definitions. This >>was done in order to >> maintain consistency with the way service contacts >>are specified. Make >> sure to update your config files!" >> >> >> >>Peter. >> Jai, did you check the sample configuration? This sample is really helpful to get an inital config working. Stephan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jlnarayanan00 at aol.com Wed Jan 5 12:06:17 2005 From: Jlnarayanan00 at aol.com (Jlnarayanan00 at aol.com) Date: Wed, 5 Jan 2005 06:06:17 EST Subject: Connecting to Mysql database from plugins Message-ID: <1d6.3398e895.2f0d2429@aol.com> Hi , Our application is such that our plugin needs to connect to Mysql database to get the data.In the root directory of the linux server on which nagios is being installed we have the following files, MySQL-client-4.1.7-0.i386.rpm MySQL-devel-4.1.7-0.i386.rpm MySQL-server-4.1.7-0.i386.rpm MySQL-shared-compat-4.1.7-0.i386.rpm In the new plugin we tried, we have given the statement #include "mysql.h" (header file that contains the prototypes and variables required for MySQL). But while giving the "make all" command for the plugins we are getting an error as "mysql.h: No such file or directory". what are the steps we need to do to overcome this. Can any body help us in this issue. Regards, Jaya -------------- next part -------------- An HTML attachment was scrubbed... URL: From MarkCooper at bulldogdsl.com Wed Jan 5 13:12:44 2005 From: MarkCooper at bulldogdsl.com (Cooper, Mark) Date: Wed, 5 Jan 2005 12:12:44 -0000 Subject: Easy User Defined Status Map updates Message-ID: Hmmm, documentation ;p You are quite right, you need to create the cheops map file first before running cheops. Though I had explain that in the readme. Oh well, it was only a very quick and dirty hack to fill a requirement I had ;) I can clean the scripts up and write a better readme if it's going to be used by a few people. > -----Original Message----- > From: Cook, Garry [mailto:GWCOOK at mactec.com] > Sent: 04 January 2005 19:27 > To: Cooper, Mark; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Easy User Defined Status Map updates > > nagios-users-admin at lists.sourceforge.net wrote: > > Dunno if anyone will find this useful, but I was having > problems with > > a largish network not being displayed particularly well in > the status > > map and needed a way to easily create the user defined status map > > coords. So ... > > > > Two very simple scripts to convert the config's back and > forth between > > nagios and cheops-ng for the purpose of getting the nagios > status map > > looking pretty :) > > > > nag2che.awk - ( cat hostextinfo.cfg | ./nag2che.awk ) > > > > Reads the Nagios config file and creates a cheops-ng config > file. You > > can then fire up cheops-ng and drag and drop the nodes the the > > location you want them. > > > > che2nag.awk - ( cat hostextinfo.cfg | ./che2nag.awk ) > > > > Pulls out the x,y coords from the cheops-nf config file and updates > > the nagios config file with the new node positions > > I would find this very useful, if I could make it work. Not > having used cheops-ng before, I had to do a fair amount of > research to get that going. For a new user, it seems as > though cheops-ng will crash if there is no > '$HOME/.gnome/cheops-ng.map' file when you attempt to open > the file created by nag2che.awk. > > Also, nag2che.awk didn't appear to create a file, at least > not one that I could locate. I created this file with the > following command: > cat hostextinfo.cfg | ./nag2che.awk > > ~/.gnome/cheops-ng.map This would also take care of the > cheops crashing issue mentioned above. > > So, I made it to the point where I can see my statusmap in > cheops-ng, move icons around, delete old ones, etc. After > this I save the file and go back to the command line to run > your next script, right? Perhaps you could elaborate on this > step a bit, as I can't seem to figure it out. > I'm reading into the script now, so maybe I'll get to it > before you read this. However, I do think that your docs > could use a little more information in them. > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.273.5050 (Office) - 720.220.1862 (Mobile) > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Philipp.Sand at sycor.de Wed Jan 5 14:14:04 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 5 Jan 2005 14:14:04 +0100 Subject: HARD STATES Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C94F0@SYGOMAIL.GOE.AD.SYCOR.DE> Hi there, I've got a little prob with the HARD SERVICE STATES. I've got a selfwritten plugin, which checks some Files on an remote Server. I configured max_check_attempts 3, to avoid false alarms, when the Plugin times out or something. I also configured, that the plugin should only send a notification, when the Status gets CRITICAL, because I got some WARNING STATES, where it's important to see on the Web GUI, that the State is Warning, but I don't want to get a email for that ;) Now the Prob: When the check is in WARNING State, the check attempt is always 3/3 after a few checks. Then the Plugin times out, and voila, I get an email, with Plugin timed out after 10 secs :-/ Is there a possibility to reset the check_attempts counter, so the Plugin gets from WARNING HARD 3/3 to CRITICAL SOFT 1/3 and not directly to CRITICAL HARD 3/3 ??? Problem is, that the Mails are send directly to our customers, and they are always pretty cunfused about those Plugin timed out Mails ... Thanks in advance! Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From LLawrence at osc.uscg.mil Wed Jan 5 14:24:04 2005 From: LLawrence at osc.uscg.mil (Lawrence, Lynne) Date: Wed, 5 Jan 2005 08:24:04 -0500 Subject: Connecting to Mysql database from plugins Message-ID: <13828F680182D511893300508BD6831706E583B9@oscex2.osc.uscg.mil> Jaya, - Did you install MySQL-devel-4.1.7-0.i386.rpm? - On my system, mysql.h is installed in /usr/include/mysql - check that your file is there, if not, query the rpm and find out where it put it. - Make sure that the directory containing mysql.h is listed in /etc/ld.so.conf. Hope this helps, Lynne Lawrenc -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jlnarayanan00 at aol.com Sent: Wednesday, January 05, 2005 6:06 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Connecting to Mysql database from plugins Hi , Our application is such that our plugin needs to connect to Mysql database to get the data.In the root directory of the linux server on which nagios is being installed we have the following files, MySQL-client-4.1.7-0.i386.rpm MySQL-devel-4.1.7-0.i386.rpm MySQL-server-4.1.7-0.i386.rpm MySQL-shared-compat-4.1.7-0.i386.rpm In the new plugin we tried, we have given the statement #include "mysql.h" (header file that contains the prototypes and variables required for MySQL). But while giving the "make all" command for the plugins we are getting an error as "mysql.h: No such file or directory". what are the steps we need to do to overcome this. Can any body help us in this issue. Regards, Jaya ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Philipp.Sand at sycor.de Wed Jan 5 14:27:02 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 5 Jan 2005 14:27:02 +0100 Subject: Veritas - Success/Fail Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C94F1@SYGOMAIL.GOE.AD.SYCOR.DE> It's been a time I looked at this the last time...but I remember, that Veritas Backup Exec can generate SNMP Traps on specific events. You could send those traps to your Nagios Server, and integrate them into Nagios, with snmptt or something. Regards, Philipp ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Joe Harris Sent: Tuesday, January 04, 2005 11:24 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Veritas - Success/Fail Has anyone written anything to check Veritas Backup Exec jobs. I saw in the plugins section checking for the tape drive itself, but I have several dozen backup jobs running and would like to check the jobs at a glance via Nagios/web. I imagine I could write a little script to parse information (success/fail) from the log files and send that information to Nagios. If anyone already is doing such a thing I would hate to re-invent the wheel. Any thoughts or help would be greatly appreciated. Nagios is already up and monitoring a lot of gear. I just want to add this feature, if possible. Thanks in Advance, Joe Harris ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ollie at uk.clara.net Wed Jan 5 14:39:28 2005 From: ollie at uk.clara.net (Ollie Cook) Date: Wed, 5 Jan 2005 13:39:28 +0000 Subject: status.cgi miscounting (2.0b and 1.2) Message-ID: <20050105133928.GD15881@mutare.noc.clara.net> Hi, I've noticed under 2.0b (and 1.2 previously) that status.cgi sometimes miscounts the host and service status values. For example, at present on a test platform I have: Host Status Totals: Up 175 Down 3 Unreachable 0 Pending 0 All Problems 3 All Types 178 However, filtering on host status type "Down" by clicking that link gives "0 Matching Service Entries Displayed". This is true... none of the hosts it's monitoring are actually down. Looking at status.c I can't see where this counting error is coming from: else if(temp_hoststatus->status==HOST_DOWN){ total_down++; and doesn't change the value of total_down anywhere else. Has anyone seen this behaviour, or is anyone able to suggest where I look to track down this bug? Thanks, Ollie -- Ollie Cook Systems Architect, Claranet UK ollie at uk.clara.net +44 20 7685 8065 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Philipp.Sand at sycor.de Wed Jan 5 14:44:35 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 5 Jan 2005 14:44:35 +0100 Subject: NC_Net V1.06 - Some Bugs Fixed and some Enhanc ement Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C94F3@SYGOMAIL.GOE.AD.SYCOR.DE> Hi Anthony, About Eventlog Monitoring: - mainly it would be nice, if the plugin could do all the things, the check_win_eventlog can do :) Especially Eventlog Filtering by ID, SOURCE, Type with regular expressions - improvement would be, if it can show the event desc for Logs (such as DNS Server Log etc) that are non Default (System Log, Application Log, Security Log) - then it would be nice to see at least the Types of Events, when there happend more then one Event during the last check period that fits to our eventfilter. E.G. In check_win_eventlog it only says: "Found 5 Errors. Last was ID 999: blablabla", and it would be nice to have at least the Ids of those Events in the Notification, like "5 Errors with ID: 3;666;443;123;999, LAST - ID 999: blablabla" That's all i have for now :) Thanks in advance!!! Philipp > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Anthony Montibello > Sent: Wednesday, January 05, 2005 8:27 AM > To: Steve Hanselman; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NC_Net V1.06 - Some Bugs Fixed > and some Enhanc ement > > Thanks Steve, > > Could you give me more detail as to exactly what and how you > want to monitor the event log. What information do you want > to get from running the check. For example do you know what > kind of parameters you want to give check_nt, and what do you > want to receive back from the check. > > So I still need to decide what the event log monitoring in > NC_Net should do. Any suggestions are welcome. As for the > actual programming of it into NC_Net it should not be too bad > to get done, once the details of what do do are determined. > after it is added to NC_Net it should also be added to Check_Nt. > > I know the Memory size of NC_Net seems kind of big compared > to nsclient the main reason for this is due to the loading of > the virtual machine since it is implemented in C#. C# with > the Dot Net Framework seems to be much more similar to Java > than to C++ and this is the main cause of the memory load. > Its memory footprint seems to stay between > 8 to 15 Megs.(usually loading higher.) There might be little > that can be done to reduce the memory footprint due to the > limitations of C# compiler. This was one of the trade offs > in implementing it in C#. > For example I have one server that receives 7 active checks > and uses 8 megs of memory while a second server that receives > only 4 active checks is using 14 Megs. Both servers are > running the same version of NC_Net however the server using > less memory is win2k while the one using more is Server 2003. > > > Thanks > Tony > > On Tue, 4 Jan 2005 19:03:03 -0000, Steve Hanselman > wrote: > > Looks good, it's a bit larger than nsclient, but as soon as > you have > > the event log bits in then I'll be able to drop snare so the extra > > size will be worth it. > > > > Any ETA for the event log monitoring? > > > > Regards > > > > Steve > > > > -----Original Message----- > > From: Anthony Montibello [mailto:amontibello at gmail.com] > > Sent: 04 January 2005 12:29 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] NC_Net V1.06 - Some Bugs Fixed and some > > Enhancement > > > > Hi Everyone, > > Happy New Year. > > > > A new version of NC_Net is now available. Some of the > Enhancements include: > > > > -Being able to check Windows Service States with the > descriptive names > > that are in Service Manager, as well as still being able to > check with > > names NS_Client used. > > -Check Instance - can receive more than one Performance Counter and > > returns a list of counters. > > -Documentation has been updated a bit. > > > > You can Download the new version from the official web site > > http://www.shatterit.com/NC_Net or from Nagios Exchange > under the name > > NC_Net V1_x > > > http://www.nagiosexchange.org/Windows.49.0.html?&tx_netnagext_pi1[p_vi > > ew]=19 > > 9 > > > > Recent Bug Fixes include: > > MemUse unable to handle over 4 gigs -- FIXED FILEAGE not working > > -FIXED DiskUsage - Faster, and no longer poles removable > disks.-FIXED > > Documentation Improved. > > > > Thank you, > > Tony > > amontibello at shatterit.com > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by: Beat the post-holiday blues Get a > > FREE limited edition SourceForge.net t-shirt from ThinkGeek. > > It's fun and FREE -- well, > almost....http://www.thinkgeek.com/sfshirt > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 > > > > The information contained in this email is intended for the > personal > > and confidential use of the addressee only. It may also be > privileged > > information. If you are not the intended recipient then you > are hereby > > notified that you have received this document in error and that any > > review, distribution or copying of this document is > strictly prohibited. If you have received this communication > in error, please notify Brendata immediately on: > > > > +44 (0)1268 466100, or email 'technical at brendata.co.uk' > > > > Brendata (UK) Ltd > > Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK > Registered > > Office as above. Registered in England No. 2764339 > > > > See our current vacancies at www.brendata.co.uk > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jlnarayanan00 at aol.com Wed Jan 5 15:55:16 2005 From: Jlnarayanan00 at aol.com (Jlnarayanan00 at aol.com) Date: Wed, 5 Jan 2005 09:55:16 EST Subject: Connecting to Mysql database from plugins Message-ID: <78.69c8390a.2f0d59d4@aol.com> Dear Sir , Thanks for your help. As you have suggested i have included the path where my "mysql.h" folder is present in the file /etc/ld.so.conf as you have mentioned. Now that file in my system is looks like, /usr/kerberos/lib /usr/X11R6/lib /usr/lib/sane /usr/lib/qt-3.1/lib /usr/include/mysql Now while giving "make all" command for the plugins i am not getting the error that i got earlier (i.e) mysql.h file not found. But i am getting a error as "undefined reference to `mysql_real_connect' ". How should we compile these plugins that connect ot database ?. From the example i searched it is said to use # gcc -l ................. command for compiling this kind of c programs that connect to data base. If this is the case how should i proceed for compiling my plugin ? i will be greatful for your help. Can anybody help me out in this issue? Thanks, Jaya -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jeremy.Russell at chickasaw.net Wed Jan 5 15:58:45 2005 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Wed, 5 Jan 2005 08:58:45 -0600 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) Message-ID: I use modntlm with our Nagios implementation. This provides pass through authentication with ie (we try to run a single sign on/single source authentication environment) It seems to be working very well, however it is still NTLM for now. The ultimate method would be to use Kerberos. http://modntlm.sourceforge.net/ I would recommend it for internal usage for sure. -----Original Message----- From: nagios at mm.quex.org [mailto:nagios at mm.quex.org] Sent: Wednesday, January 05, 2005 1:01 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Authentication with Active Directory (Slightly Off-Topic) On Tue, Jan 04, 2005 at 10:43:24AM -0800, CWaters at jeld-wen.com wrote: > I want to use my company's AD to authenticate users against for access > to Nagios. While I know this is not really a Nagios question, I was > wondering if anyone in the community is doing this already. If so, > what issues did you encounter? Any drawbacks? What apache modules > were used etc.? Any information would be great. Sorry if this has > already been covered. In addition to the PAM method in someone else's response, if you only need to to authenticate against AD for Nagios access (i.e. via Apache) there's an LDAP authentication module or two available which you can use. I'm using this with Apache 2 on a Debian (testing) system with mod_auth_ldap v2.12, compiled with OpenLDAP TLS. You might also want to look at the newer version. In the Directory configuration block for Apache: AuthName "Network monitoring" AuthType Basic LDAP_Debug off LDAP_Server dc.myco.internal LDAP_Port 389 LDAP_Persistent off LDAP_Protocol_Version 3 Bind_DN "CN=LDAP_User,OU=Service Accounts,DC=myco,DC=internal" Bind_Pass "xxxxxxxxxxxx" Base_DN "OU=Staff,DC=myco,DC=internal" LDAP_StartTLS on AuthOnBind off Bind_Tries 1 UID_Attr userPrincipalName UID_Attr_Alt sAMAccountName require valid-user I've got LDAP_Persistent off, as I think it caused me problems when it was enabled. The Bind_DN gives the distinguished name of an account it can use to do the initial searching; I think it's possible to set up your domain to allow anonymous searches but you might not want to do that. Bind_Pass gives the password for this account, so you'll want to make sure only authorised people get to read this config file, and the Base_DN sets where the search takes place in the Active Directory tree. The UID_Attr gives the property that is used to find a match when a user goes to log in, i.e. what they type in the Username field. The UID_Attr_Alt is exported into the environment as LDAP_USER_ALT, which might be useful if you want to hack the CGI's to use this instead of whatever you're using for the UID_Attr. Hope some of this is helpful. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From noyler at khimetrics.com Wed Jan 5 16:15:44 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Wed, 5 Jan 2005 08:15:44 -0700 Subject: FW: NRPE: Unable to read output - Plugin(event handler) Message-ID: <59B15593F41BD24591D59436E7226EAD012E2010@Khiphx2.khimetrics.com> /* see if the command timed out */ if(early_timeout==TRUE) snprintf(buffer,sizeof(buffer)-1,"NRPE: Command timed out after %d seconds\n",command_timeout); else if(!strcmp(buffer,"")) snprintf(buffer,sizeof(buffer)-1,"NRPE: Unable to read output\n"); Is the part of the code that gives me this error, what does that mean? I've created a test plugin with just an echo, and it runs fine. I can paste my plugin as well if that would help, here is the command listed in nrpe. command[cycle_tomcat]=/usr/lib/nagios/plugins/cycle_tomcat The Script accepts Okay, Critical, Unknown, etc. Where does the command get specified as needing arguments? Could that be the problem? Thanks. > > I wrote an event handler in bash. It runs perfectly fine as the nagios > user on the machine. > > When I run it via check_nrpe -H hostname -c cycle_tomcat CRITICAL SOFT 3 > > I get NRPE: Unable to read output > > If I run it without the variables Critical, etc, I still get the same > error. > > I have googled for the error, although I believe it comes up in many > different scenarios, and so far I have not gotten it. > > The plugin has permissions on it that are good. It's defined in > nrpe.cfg. I am not sure what the problem is. > > Nathan Oyler > Information Technology > 480-308-2342 Office > > Khimetrics Inc. > Maximizing Sales & Profit > Revenue Management from Khimetrics > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jan 5 16:47:05 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 05 Jan 2005 16:47:05 +0100 Subject: Query about notifications and scheduled downtime In-Reply-To: <8FE9E08CE306FD44AE6851F6@taltos.ny.fw.gs.com> References: <8FE9E08CE306FD44AE6851F6@taltos.ny.fw.gs.com> Message-ID: <41DC0BF9.4020305@op5.se> Carson Gaspar wrote: > Having read the documentation rather thoroughly, there's one thing I > still can't figure out. Given the following timeline: > > - Scheduled downtime begins for a service > - Nagios receives a non-OK passive check result for the service > - Scheduled downtime for that service ends > > When will nagios check to see if it needs to send a notification for > this still-down service? The docs say that a notification will go out > after notification_interval if: > > (1) a notification was already sent out about a problem with the host or > service at some point in the past and (2) the host or service has > remained in the same non-OK state that it was when the last notification > went out. > > There was no original notification (due to the scheduled downtime). So > how does this work? Will nagios ever tell us that we have a problem? > The logical thing to do would be to send a notification when the scheduled downtime ends. Perhaps there are other things blocking the notification (notification_(options|timeperiod) for instance)? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jan 5 16:52:39 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 05 Jan 2005 16:52:39 +0100 Subject: Nagios just stopped running In-Reply-To: References: Message-ID: <41DC0D47.1080209@op5.se> Rimbert Rivera wrote: > I have a cron job that runs the check_nagios plugin and e-mails us > the output. Earlier today, we started getting: "Nagios problem: > located 3 processes, status log updated 1565 seconds ago" > > Everytime it ran, it was the same output with a longer time that it > wasn't updated. This was working fine before where the status log > would be updated usually no longer than 8 seconds ago. I checked the > status.log and status.sav and confirmed that they hadn't updated. I > restarted nagios but I still had the same problem. Even though none > of the partitions were running out of space, I deleted archived logs > and restarted nagios but same problem. I did some more > troubleshooting without any luck. Long story short, I rebooted the > RH9 box it was running on and nagios started running again. > > Anyone have an idea of what could've happened and things I could > check? What version of nagios are you running? Nagios 1.x sometimes had trouble with several processes running (the init-script is a bit flawed, so it won't detect it). The fact that things started working when you rebooted the server seems to indicate that this is what actually happened. > This is the first time this has ever happened as far as I > know. The recent changes we made were just setting up one new host > to monitor so we edited hosts.cfg, hostgroups.cfg and services.cfg > but nagios restarted without error. I even took out those changes > and restarted nagios but still had the same problem. One thing I > noticed was our service-perfdata.out is 790 MB. Can I delete this > and nagios will create a new one? I'm not sure it's the problem > since it's still that big and nagios is running now but it doesn't > seem like I want that file to get that big. > > What kind of maintenance should I be performing on nagios? We've had > it running for over a year and we haven't really did any kind of > cleanup on it. > > Your help to this newbie would be greatly appreciated. > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jan 5 17:00:50 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 05 Jan 2005 17:00:50 +0100 Subject: Connecting to Mysql database from plugins In-Reply-To: <13828F680182D511893300508BD6831706E583B9@oscex2.osc.uscg.mil> References: <13828F680182D511893300508BD6831706E583B9@oscex2.osc.uscg.mil> Message-ID: <41DC0F32.3000804@op5.se> Lawrence, Lynne wrote: > Jaya, > > - Did you install MySQL-devel-4.1.7-0.i386.rpm? > - On my system, mysql.h is installed in /usr/include/mysql - check that your > file is there, if not, query the rpm and find out where it put it. Good advice. > - Make sure that the directory containing mysql.h is listed in > /etc/ld.so.conf. > Bad advice. /etc/ld.so.conf controls the dynamic link loader, so adding the directory in which mysql.h resides won't help a single bit. Adding the directory where libmysqlclient.so.* resides would, however. More advice to the original poster in the original message. > Hope this helps, > > Lynne Lawrenc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Jlnarayanan00 at aol.com > Sent: Wednesday, January 05, 2005 6:06 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Connecting to Mysql database from plugins > > > Hi , > Our application is such that our plugin needs to connect to Mysql > database to get the data.In the root directory of the linux server on which > nagios is being installed we have the following files, > MySQL-client-4.1.7-0.i386.rpm > MySQL-devel-4.1.7-0.i386.rpm > MySQL-server-4.1.7-0.i386.rpm > MySQL-shared-compat-4.1.7-0.i386.rpm > In the new plugin we tried, we have given the statement #include "mysql.h" > (header file that contains the prototypes and variables required for MySQL). > > But while giving the "make all" command for the plugins we are getting an > error as > "mysql.h: No such file or directory". > > what are the steps we need to do to overcome this. Can any body help us in > this issue. > > Regards, > > Jaya > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jan 5 17:06:51 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 05 Jan 2005 17:06:51 +0100 Subject: Connecting to Mysql database from plugins In-Reply-To: <1d6.3398e895.2f0d2429@aol.com> References: <1d6.3398e895.2f0d2429@aol.com> Message-ID: <41DC109B.3060404@op5.se> Jlnarayanan00 at aol.com wrote: > Hi , > Our application is such that our plugin needs to connect to Mysql > database to get the data.In the root directory of the linux server on which > nagios is being installed we have the following files, > MySQL-client-4.1.7-0.i386.rpm > MySQL-devel-4.1.7-0.i386.rpm > MySQL-server-4.1.7-0.i386.rpm > MySQL-shared-compat-4.1.7-0.i386.rpm You'll need to install those packages. Having them in the root directory won't help anything at all (I'm assuming you're running an RPM-based distribution of Linux). > In the new plugin we tried, we have given the statement #include "mysql.h" > (header file that contains the prototypes and variables required for MySQL). > But while giving the "make all" command for the plugins we are getting an > error as > "mysql.h: No such file or directory". > > what are the steps we need to do to overcome this. Can any body help us in > this issue. > If you've written that plugin yourselves and don't know how to overcome this problem, I would seriously recommend purchasing professional help. Incidentally, the short answer to your question would be to change "mysql.h" to (or possibly just , depending on where your system installs the header files). If this is from the default plugin distribution, you should just download the latest beta and re-run the ./configure script after having installed MySQL-devel and all of its dependencies. > Regards, > > Jaya > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From EmmettH at Examen.com Wed Jan 5 17:56:41 2005 From: EmmettH at Examen.com (Emmett Hogan) Date: Wed, 05 Jan 2005 08:56:41 -0800 Subject: problem w/ check_log2.pl In-Reply-To: <41DB2BAD.5070006@op5.se> References: <41DAF76F.9050200@Examen.com> <41DB2BAD.5070006@op5.se> Message-ID: <41DC1C49.2060304@Examen.com> Andreas Ericsson wrote: > Emmett Hogan wrote: > >> Hi Folks, >> >> I am trying to use check_log2.pl via check_by_ssh to check for either >> "WARNING" or "NOTICE"...however, if I use the command: >> >> check_by_ssh -l nagios -i nagios_key -H hostname -C >> '/opt/nagios/libexec/check_log2.pl -l /var/adm/messages -s >> /var/tmp/message.nagios-seek -p "WARNING|NOTICE"' >> >> It is treating the "|" as a unix pipe and not a regular expression >> character. I have tried every method of "escaping" the character, >> but have had no luck. >> With all of the folks using check_log2.pl, I am sure someone has run >> into this before....at least I hope so. >> >> Does anyone know of a solution? (Maybe redefining the "or" character >> for a PERL regular expression?) >> > > You need to do do double double-quotes of the regular expression, the > inner of which must be escaped (as such): > blahblah "\"WARNING|NOTICE\"" > > You can optionally use single qoutes on the outside and double quotes > on the inside, or any manner of other method (triple escaping the > pipe, for instance). It has to do with how the nrpe daemon executes > commands. That's what I figured, but I have tried escaping, double quoting, etc. but to no avail. If it matters, I am using check_by_ssh, not nrpe. :-( -Emmett -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 260 bytes Desc: not available URL: From ae at op5.se Wed Jan 5 18:07:21 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 05 Jan 2005 18:07:21 +0100 Subject: problem w/ check_log2.pl In-Reply-To: <41DC1C49.2060304@Examen.com> References: <41DAF76F.9050200@Examen.com> <41DB2BAD.5070006@op5.se> <41DC1C49.2060304@Examen.com> Message-ID: <41DC1EC9.70909@op5.se> Emmett Hogan wrote: > Andreas Ericsson wrote: > >> Emmett Hogan wrote: >> >>> Hi Folks, >>> >>> I am trying to use check_log2.pl via check_by_ssh to check for either >>> "WARNING" or "NOTICE"...however, if I use the command: >>> >>> check_by_ssh -l nagios -i nagios_key -H hostname -C >>> '/opt/nagios/libexec/check_log2.pl -l /var/adm/messages -s >>> /var/tmp/message.nagios-seek -p "WARNING|NOTICE"' >>> >>> It is treating the "|" as a unix pipe and not a regular expression >>> character. I have tried every method of "escaping" the character, >>> but have had no luck. >>> With all of the folks using check_log2.pl, I am sure someone has run >>> into this before....at least I hope so. >>> >>> Does anyone know of a solution? (Maybe redefining the "or" character >>> for a PERL regular expression?) >>> >> >> You need to do do double double-quotes of the regular expression, the >> inner of which must be escaped (as such): >> blahblah "\"WARNING|NOTICE\"" >> >> You can optionally use single qoutes on the outside and double quotes >> on the inside, or any manner of other method (triple escaping the >> pipe, for instance). It has to do with how the nrpe daemon executes >> commands. > > > That's what I figured, but I have tried escaping, double quoting, etc. > but to no avail. If it matters, I am using check_by_ssh, not nrpe. :-( > It will pass through two shells. If you want to escape the pipe, you need to triple-escape it (escape one of the escapes as well). Original command line: blahblah "\"WARNING|NOTICE\"" (ok) when nagios runs the command: "WARNING|NOTICE" (still ok) when ssh runs the command: WARNING|NOTICE (not ok). Another example: WARNING\|NOTICE (ok) When nagios runs it WARNING|NOTICE (not ok) So we add a new level of escaping: WARNING\\|NOTICE (not ok) The Original \ will escape the second one which will be interpreted literally, leaving the | unescaped. So we try: WARNING\\\|NOTICE (ok) When nagios runs it: WARNING\|NOTICE (ok) When ssh runs it: WARNING|NOTICE (not ok) So another level of escaping then. Each new 'end' level of escaping obviously requires to slashes, so that lands us with: WARNING\\\\\|NOTICE (ok) nagios runs: WARNING\\\|NOTICE (ok) SSH runs: WARNING\|NOTICE (ok) So, a quintuple escape of the pipe would be what you need. PS. Nagios actually runs the command with all the escapes. It's the shell (which is always invoked when using the popen() call) that removes them (uses them, really) as they go along. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Wed Jan 5 19:05:59 2005 From: jhmartin at toger.us (Jason Martin) Date: Wed, 5 Jan 2005 10:05:59 -0800 Subject: problem w/ check_log2.pl In-Reply-To: <41DC1EC9.70909@op5.se> References: <41DAF76F.9050200@Examen.com> <41DB2BAD.5070006@op5.se> <41DC1C49.2060304@Examen.com> <41DC1EC9.70909@op5.se> Message-ID: <20050105180558.GA1816@zippy.toger.us> > >That's what I figured, but I have tried escaping, double quoting, etc. > >but to no avail. If it matters, I am using check_by_ssh, not nrpe. :-( That actually works to your advantage. NRPE disallows several shell metacharaters so it is impossible to send anything beyond the simplest regex as a NRPE argument. To get around this I had wrote a wrapper to base64-encode the regex arguments before passing them to NRPE and modified the plugin to decode it before using it as a regex. -Jason Martin -- When money talks there are few interruptions. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From jfrater at fratec.com Wed Jan 5 20:11:25 2005 From: jfrater at fratec.com (Jorge Frater) Date: Wed, 5 Jan 2005 13:11:25 -0600 Subject: check_snmp problem... In-Reply-To: <65213341217E8D458E7C78E6640C7495044BFB46@waglmb01.labs.agilent.com> References: <65213341217E8D458E7C78E6640C7495044BFB46@waglmb01.labs.agilent.com> Message-ID: <00f001c4f35a$5a29c6b0$0163a8c0@cafenet.fratec.com> That is correct. What I did is change the delimiter value from "=" to ".0" in the check_snmp.c and recompiled it. (line 190 or so) Just added char *newdeli = ".0"; delimiter = newdeli; right before ptr = strstr (prt, delimiter); This works fine for me because the answer string has no other instances of ".0" I'm sure there are many smart ways to this, but since I'm not a C programmer that's all I could do.;-) Jorge Frater B. -----Mensaje original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] En nombre de scott_yem at agilent.com Enviado el: Martes, 04 de Enero de 2005 06:49 p.m. Para: jfrater at fratec.com; nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] check_snmp problem... I found the same problem. I found the answer by running check_snmp and snmpget from the command line. It appears the response has changed some and you will want to add something like "INTEGER: " in front of your expected response. Scott Yem Research Computing Services Agilent Laboratories _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jorge Frater Sent: Monday, January 03, 2005 5:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp problem... Dear list: I've been using Nagios for over 2 years now on a server running Mandrake 9.0, last week I upgraded it to mandrake 10.1 Since then the check_snmp won't work Now snmpget does work and gives the correct reading: "37" which is the temperature of this APC UPS but the response is always "SNMP problem - No data received from host" # /usr/local/nagios/libexec/check_snmp -H 192.168.1.10 -o 1.3.6.1.4.1.318.1.1.1.2.2.2.0 -v /usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.1.10:161 1.3.6.1.4.1.318.1.1.1.2.2.2.0 SNMPv2-SMI::enterprises.318.1.1.1.2.2.2.0 37 SNMP problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.1.10:161 1.3.6.1.4.1.318.1.1.1.2.2.2.0 Thanks. Jorge Frater B. -------------- next part -------------- An HTML attachment was scrubbed... URL: From shawn at nccsc.k12.in.us Wed Jan 5 20:00:30 2005 From: shawn at nccsc.k12.in.us (Shawn Iverson) Date: Wed, 5 Jan 2005 14:00:30 -0500 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) Message-ID: <7ADE11986184154083869D43D0B06D447B7CA1@exchange.nccsc.k12.in.us> Something else I probably should mention is that if you are strictly using web authentication on your linux server, you won't need to have winbind running at all. That part of the configuration can be skipped. Below is a annotated set of instructions. You may also be able to use pam_ccred if you wish to cache authorization in pam. Shawn Iverson Technology Associate MCP W2K3S and W2KP, Linux+, Network+, A+ New Castle Community School Corporation shawn at nccsc.k12.in.us >The following are instructions for Fedora Core 3 in a typical Active >Directory environment, but they should be adaptable to other distros. > >You will need the following packages and their dependencies >(preferrably >most recent): > >krb5-workstation >pam_krb5 >mod_auth_pam (http://pam.sourceforge.net/mod_auth_pam) > >Optional, but highly recommended: >nscd (to cache authentication requests) > >The instructions that follow assume that you are using Apache v2.x with >module support and SSL, and that you are wanting to >authenticate against >a Windows 2003 Server DC. > >Make sure that the following services are enabled in your init scripts >for your runlevel (chkconfig): > >winbind >nscd (if being used--highly recommended so that your DC is not pounded >with numerous requests) > >Add the following to your /etc/krb5.conf as follows. Automatic kdc and >realm lookup will save you a lot of headaches (may be less secure since >it informs kerberos to locate the nearest kdc, a.k.a. domain >controller. >Read the docs if you want to hard wire it to a specific kdc). Note that >your realms must be ALL CAPS: > >[libdefaults] >default_realm = YOUR.FULLY.QUALIFIED.DOMAIN >dns_lookup_realm = true >dns_lookup_kdc = true > >Add this to /etc/httpd/conf/httpd.conf. I highly recommend >that you use >SSL to protect your domain passwords from being sent across the network >in plain text (Note that statuswrl.cgi will not load in Internet >Explorer when using SSL, a small price to pay. You should also set up a >certificate, which I will not delve into here.): > >LoadModule auth_pam_module modules/mod_auth_pam.so >SSLProtocol -all +SSLv2 >SSLVerifyClient none > >Also, add a nagios.conf to your /etc/httpd/conf.d/ to configure >authentication and disregard the instructions that come with nagios for >configuring web authorization (they are somewhat outdated): >ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ > > Options ExecCGI > AllowOverride None > Order deny,allow > Deny from all > Allow from 127.0.0.1 > Allow from x.x.x.x/x ;your subnet(s) > AuthType Basic > AuthName "Nagios Web Access" > Require user your_domain_users ;(or use 'require group', read the >docs) > AuthPAM_Enabled on > AuthPAM_FallThrough off > SSLCipherSuite -all:SSLv2:+HIGH > > >Alias /nagios /usr/local/nagios/share/ > > Options None > AllowOverride None > Order deny,allow > Deny from all > Allow from 127.0.0.1 > Allow from x.x.x.x/x ;your subnet(s) > AuthType Basic > AuthName "Nagios Web Access" > Require user your_domain_users > AuthPAM_Enabled on > AuthPAM_FallThrough off > SSLCipherSuite -all:SSLv2:+HIGH > > >Edit /etc/pam.d/httpd to enable kerberos authentication with pam. >Something similar to this will work: > >#%PAM-1.0 >auth sufficient /lib/security/pam_krb5.so >auth required /lib/security/pam_unix.so >account sufficient /lib/security/pam_krb5.so >account required /lib/security/pam_unix.so > >Now you must join your linux box to your directory and test your >configuration. See chapter 6 of the Official Samba-3 HOWTO for more >information >(http://us2.samba.org/samba/docs/man/Samba-HOWTO-Collection/dom >ain-membe >r.html#ads-member). You will also probably want to set up ntp so that >your time stays synchronized. > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lgetschel at denver.westerngeco.slb.com Wed Jan 5 21:01:43 2005 From: lgetschel at denver.westerngeco.slb.com (Lewis Getschel) Date: Wed, 05 Jan 2005 13:01:43 -0700 Subject: FW: NRPE: Unable to read output - Plugin(event handler) In-Reply-To: <59B15593F41BD24591D59436E7226EAD012E2010@Khiphx2.khimetrics.com> References: <59B15593F41BD24591D59436E7226EAD012E2010@Khiphx2.khimetrics.com> Message-ID: <41DC47A7.20105@denver.westerngeco.slb.com> Nathan- If I'm following you (which I may not be)... Your nrpe.cfg command listed here doesn't have ANY arguments shown for cycle_tomcat. Assuming that you're using nrpe's original configuration, it doesn't accept any arguments while 'calling' nrpe from your nagios server (security issues abound, i.e. dont_blame_nrpe=1). Therefore, if cycle_tomcat needs any parameters, you need to list them along with the script path/name. Here is one of my nrpe.cfg commands: command[check_fsdisk4]=/usr/lib/nagios/plugins/check_disk -w 10% -c 5% -p /dev/sde1 In services.cfg it is simply called with: check_nrpe!check_fsdisk4 I don't put any parameters in the services.cfg file, just in the nrpe.cfg file. I hope I got what you wanted. Lewis Nathan Oyler wrote: >/* see if the command timed out */ > if(early_timeout==TRUE) > snprintf(buffer,sizeof(buffer)-1,"NRPE: >Command timed out after %d seconds\n",command_timeout); > else if(!strcmp(buffer,"")) > snprintf(buffer,sizeof(buffer)-1,"NRPE: >Unable to read output\n"); > > >Is the part of the code that gives me this error, what does that mean? > >I've created a test plugin with just an echo, and it runs fine. I can >paste my plugin as well if that would help, here is the command listed >in nrpe. > >command[cycle_tomcat]=/usr/lib/nagios/plugins/cycle_tomcat > > >The Script accepts Okay, Critical, Unknown, etc. Where does the command >get specified as needing arguments? Could that be the problem? > >Thanks. > > > >>I wrote an event handler in bash. It runs perfectly fine as the nagios >>user on the machine. >> >>When I run it via check_nrpe -H hostname -c cycle_tomcat CRITICAL SOFT >> >> >3 > > >>I get NRPE: Unable to read output >> >>If I run it without the variables Critical, etc, I still get the same >>error. >> >>I have googled for the error, although I believe it comes up in many >>different scenarios, and so far I have not gotten it. >> >>The plugin has permissions on it that are good. It's defined in >>nrpe.cfg. I am not sure what the problem is. >> >>Nathan Oyler >>Information Technology >>480-308-2342 Office >> >>Khimetrics Inc. >>Maximizing Sales & Profit >>Revenue Management from Khimetrics >> >> >> > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > > > -- Lewis Getschel | Today is done... WesternGeco | Today was fun... 1625 Broadway | Tommorrow is another one. Denver, CO 80202 | Direct Phone - 303-389-4407| -- Dr. Seuss -- ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From EmmettH at Examen.com Wed Jan 5 20:31:22 2005 From: EmmettH at Examen.com (Emmett Hogan) Date: Wed, 05 Jan 2005 11:31:22 -0800 Subject: problem w/ check_log2.pl In-Reply-To: <41DC1EC9.70909@op5.se> References: <41DAF76F.9050200@Examen.com> <41DB2BAD.5070006@op5.se> <41DC1C49.2060304@Examen.com> <41DC1EC9.70909@op5.se> Message-ID: <41DC408A.7060707@Examen.com> Andreas Ericsson wrote: > Emmett Hogan wrote: > >> Andreas Ericsson wrote: >> >>> Emmett Hogan wrote: >>> >>>> Hi Folks, >>>> >>>> I am trying to use check_log2.pl via check_by_ssh to check for >>>> either "WARNING" or "NOTICE"...however, if I use the command: >>>> >>>> check_by_ssh -l nagios -i nagios_key -H hostname -C >>>> '/opt/nagios/libexec/check_log2.pl -l /var/adm/messages -s >>>> /var/tmp/message.nagios-seek -p "WARNING|NOTICE"' >>>> >>>> It is treating the "|" as a unix pipe and not a regular expression >>>> character. I have tried every method of "escaping" the character, >>>> but have had no luck. >>>> With all of the folks using check_log2.pl, I am sure someone has >>>> run into this before....at least I hope so. >>>> >>>> Does anyone know of a solution? (Maybe redefining the "or" >>>> character for a PERL regular expression?) >>>> >>> >>> You need to do do double double-quotes of the regular expression, >>> the inner of which must be escaped (as such): >>> blahblah "\"WARNING|NOTICE\"" >>> >>> You can optionally use single qoutes on the outside and double >>> quotes on the inside, or any manner of other method (triple escaping >>> the pipe, for instance). It has to do with how the nrpe daemon >>> executes commands. >> >> >> >> That's what I figured, but I have tried escaping, double quoting, >> etc. but to no avail. If it matters, I am using check_by_ssh, not >> nrpe. :-( > > > So another level of escaping then. Each new 'end' level of escaping > obviously requires to slashes, so that lands us with: > WARNING\\\\\|NOTICE (ok) > nagios runs: WARNING\\\|NOTICE (ok) > SSH runs: WARNING\|NOTICE (ok) > > So, a quintuple escape of the pipe would be what you need. Well....it turned out to be a combination of the two solutions...using single quotes AND escaping the pipe (but just once)... check_by_ssh -l user -i ../.ssh/identity -H hostname -C "/opt/nagios/libexec/check_log2.pl -l /var/adm/messages -s /var/tmp/message.nagios-seek -p 'WARNING\|NOTICE'" That's double quotes around the whole command and single quotes around the regex, with the pipe escaped. Sheesh! :-) Thanks for the help! -Emmett -- ================ Examen, Inc. ================ Emmett Hogan Senior UNIX Administrator emmetth at examen.com ==== Outside Counsel Management Solutions ==== CONFIDENTIAL - PRIVILEGED INFORMATION This e-mail may include confidential, trade secret or legally privileged information. If you are not the intended recipient, please do not read, copy, use, distribute or disclose this communication to anyone other than the intended recipient. Please notify the sender of any error in transmission or delivery and delete any misdirected e-mail from your system. -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 260 bytes Desc: not available URL: From noyler at khimetrics.com Wed Jan 5 21:39:48 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Wed, 5 Jan 2005 13:39:48 -0700 Subject: FW: NRPE: Unable to read output - Plugin(event handler) Message-ID: <59B15593F41BD24591D59436E7226EAD012E22D6@Khiphx2.khimetrics.com> Actually, I just tried something regarding your message and got a response. I think I know what the problem is now, but need help in how to correct it. I specified in nrpe.cfg the command as command[cycle_tomcat]=/usr/lib/nagios/plugins/cycle_tomcat OK and put an echo statement inside OK and it came back with the response. Same with the rest of the states, except for the state in which the actual restart code is implemented, then the socket does a 10 second time out. So from that I gather I am incorrectly specifiying the command when arguments need to be accepted. The command I was using is command[cycle_tomcat]=/usr/lib/nagios/plugins/cycle_tomcat $ARG1$ $ARG2$ $ARG3$ and with don't blame nrpe on, and specifying arguments on the command line with check nrpe [root at triad8 plugins]# ./check_nrpe -H devweb1 -c cycle_tomcat OK Replies back with the statement in OK ./check_nrpe -H devweb1 -c cycle_tomcat CRITICAL HARD 2 Replies back with the statement in OK If I specify the command check as Command[cycle_tomcat]=/usr/lib/nagios/plugins/cycle_tomcat CRITICAL SOFT 3 I get back the socket timeout. So I can state the exact command, and I think it's running but time's out, so I believe there are two issues. Am I setting arugments correctly inside nrpe.cfg for an event handler. And is there a way to set the timeout as longer. I just found that there is, so I'll try that specifying the command explicitly. And that seemed to work. So... How do you set up arguments when using an event handler, I thought it was $ARG1$ Thank you very much for your help Lewis. > -----Original Message----- > From: Lewis Getschel [mailto:lgetschel at denver.westerngeco.slb.com] > Sent: Wednesday, January 05, 2005 1:02 PM > To: Nathan Oyler > Cc: nagios-users at lists.sourceforge.net > Subject: Re: FW: [Nagios-users] NRPE: Unable to read output - Plugin(event > handler) > > Nathan- > If I'm following you (which I may not be)... > > Your nrpe.cfg command listed here doesn't have ANY arguments shown for > cycle_tomcat. > > Assuming that you're using nrpe's original configuration, it doesn't > accept any arguments while 'calling' nrpe from your nagios server > (security issues abound, i.e. dont_blame_nrpe=1). > Therefore, if cycle_tomcat needs any parameters, you need to list them > along with the script path/name. Here is one of my nrpe.cfg commands: > > command[check_fsdisk4]=/usr/lib/nagios/plugins/check_disk -w 10% -c 5% > -p /dev/sde1 > > In services.cfg it is simply called with: > check_nrpe!check_fsdisk4 > > I don't put any parameters in the services.cfg file, just in the > nrpe.cfg file. > > I hope I got what you wanted. > Lewis > > > Nathan Oyler wrote: > > >/* see if the command timed out */ > > if(early_timeout==TRUE) > > snprintf(buffer,sizeof(buffer)-1,"NRPE: > >Command timed out after %d seconds\n",command_timeout); > > else if(!strcmp(buffer,"")) > > snprintf(buffer,sizeof(buffer)-1,"NRPE: > >Unable to read output\n"); > > > > > >Is the part of the code that gives me this error, what does that mean? > > > >I've created a test plugin with just an echo, and it runs fine. I can > >paste my plugin as well if that would help, here is the command listed > >in nrpe. > > > >command[cycle_tomcat]=/usr/lib/nagios/plugins/cycle_tomcat > > > > > >The Script accepts Okay, Critical, Unknown, etc. Where does the command > >get specified as needing arguments? Could that be the problem? > > > >Thanks. > > > > > > > >>I wrote an event handler in bash. It runs perfectly fine as the nagios > >>user on the machine. > >> > >>When I run it via check_nrpe -H hostname -c cycle_tomcat CRITICAL SOFT > >> > >> > >3 > > > > > >>I get NRPE: Unable to read output > >> > >>If I run it without the variables Critical, etc, I still get the same > >>error. > >> > >>I have googled for the error, although I believe it comes up in many > >>different scenarios, and so far I have not gotten it. > >> > >>The plugin has permissions on it that are good. It's defined in > >>nrpe.cfg. I am not sure what the problem is. > >> > >>Nathan Oyler > >>Information Technology > >>480-308-2342 Office > >> > >>Khimetrics Inc. > >>Maximizing Sales & Profit > >>Revenue Management from Khimetrics > >> > >> > >> > > > > > > > >------------------------------------------------------- > >The SF.Net email is sponsored by: Beat the post-holiday blues > >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at 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 > > > > > > > > -- > Lewis Getschel | Today is done... > WesternGeco | Today was fun... > 1625 Broadway | Tommorrow is another one. > Denver, CO 80202 | > Direct Phone - 303-389-4407| -- Dr. Seuss -- > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From carson+nagiosusers at taltos.org Wed Jan 5 21:16:35 2005 From: carson+nagiosusers at taltos.org (Carson Gaspar) Date: Wed, 05 Jan 2005 15:16:35 -0500 Subject: Query about notifications and scheduled downtime In-Reply-To: <8FE9E08CE306FD44AE6851F6@taltos.ny.fw.gs.com> References: <8FE9E08CE306FD44AE6851F6@taltos.ny.fw.gs.com> Message-ID: <54BB3B63609E6481ACBA6EA2@taltos.ny.fw.gs.com> To answer someone's response (as the moderator nuked my reply with a different From address): No, nothing is blocking notifications - if I don't do scheduled downtime notifications go out just fine. And yes, I'd expect a notification to go out when downtime ended, but it doesn't. This is with Nagios 1.2. --On Tuesday, January 04, 2005 21:50:24 -0500 Carson Gaspar wrote: > Having read the documentation rather thoroughly, there's one thing I > still can't figure out. Given the following timeline: > > - Scheduled downtime begins for a service > - Nagios receives a non-OK passive check result for the service > - Scheduled downtime for that service ends > > When will nagios check to see if it needs to send a notification for this > still-down service? The docs say that a notification will go out after > notification_interval if: > > (1) a notification was already sent out about a problem with the host or > service at some point in the past and (2) the host or service has > remained in the same non-OK state that it was when the last notification > went out. > > There was no original notification (due to the scheduled downtime). So > how does this work? Will nagios ever tell us that we have a problem? > > -- > Carson > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From noyler at khimetrics.com Wed Jan 5 21:26:14 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Wed, 5 Jan 2005 13:26:14 -0700 Subject: FW: NRPE: Unable to read output - Plugin(event handler) Message-ID: <59B15593F41BD24591D59436E7226EAD012E22B9@Khiphx2.khimetrics.com> > Nathan- > If I'm following you (which I may not be)... > > Your nrpe.cfg command listed here doesn't have ANY arguments shown for > cycle_tomcat. [Nathan Oyler] It's an event handler, and I have multiple versions of it at this point, some that take arguments and some that should run without arguments for testing purposes. Neither work both giving the same error. > Assuming that you're using nrpe's original configuration, it doesn't > accept any arguments while 'calling' nrpe from your nagios server > (security issues abound, i.e. dont_blame_nrpe=1). > Therefore, if cycle_tomcat needs any parameters, you need to list them > along with the script path/name. Here is one of my nrpe.cfg commands: [Nathan Oyler] I have don't_blame_nrpe=1 > command[check_fsdisk4]=/usr/lib/nagios/plugins/check_disk -w 10% -c 5% > -p /dev/sde1 > > In services.cfg it is simply called with: > check_nrpe!check_fsdisk4 > > I don't put any parameters in the services.cfg file, just in the > nrpe.cfg file. [Nathan Oyler] This is what I do as well, although it does not help my issue I appreciate the email. > I hope I got what you wanted. > Lewis > > > Nathan Oyler wrote: > > >/* see if the command timed out */ > > if(early_timeout==TRUE) > > snprintf(buffer,sizeof(buffer)-1,"NRPE: > >Command timed out after %d seconds\n",command_timeout); > > else if(!strcmp(buffer,"")) > > snprintf(buffer,sizeof(buffer)-1,"NRPE: > >Unable to read output\n"); > > > > > >Is the part of the code that gives me this error, what does that mean? > > > >I've created a test plugin with just an echo, and it runs fine. I can > >paste my plugin as well if that would help, here is the command listed > >in nrpe. > > > >command[cycle_tomcat]=/usr/lib/nagios/plugins/cycle_tomcat > > > > > >The Script accepts Okay, Critical, Unknown, etc. Where does the command > >get specified as needing arguments? Could that be the problem? > > > >Thanks. > > > > > > > >>I wrote an event handler in bash. It runs perfectly fine as the nagios > >>user on the machine. > >> > >>When I run it via check_nrpe -H hostname -c cycle_tomcat CRITICAL SOFT > >> > >> > >3 > > > > > >>I get NRPE: Unable to read output > >> > >>If I run it without the variables Critical, etc, I still get the same > >>error. > >> > >>I have googled for the error, although I believe it comes up in many > >>different scenarios, and so far I have not gotten it. > >> > >>The plugin has permissions on it that are good. It's defined in > >>nrpe.cfg. I am not sure what the problem is. > >> > >>Nathan Oyler > >>Information Technology > >>480-308-2342 Office > >> > >>Khimetrics Inc. > >>Maximizing Sales & Profit > >>Revenue Management from Khimetrics > >> > >> > >> > > > > > > > >------------------------------------------------------- > >The SF.Net email is sponsored by: Beat the post-holiday blues > >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at 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 > > > > > > > > -- > Lewis Getschel | Today is done... > WesternGeco | Today was fun... > 1625 Broadway | Tommorrow is another one. > Denver, CO 80202 | > Direct Phone - 303-389-4407| -- Dr. Seuss -- > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rrivera at comtex.com Wed Jan 5 22:29:49 2005 From: rrivera at comtex.com (Rimbert Rivera) Date: Wed, 5 Jan 2005 15:29:49 -0600 Subject: Nagios just stopped running Message-ID: It looks like we are using performance data, but I was able to rename the current one and nagios created a new one and continues working without having to restart nagios. I did the same with host-perfdata.out. We'll add this to our periodic maintenance procedure. - Rim Rimbert Rivera Manager, Information Technology COMTEX News Network rrivera at comtex.com (703) 820-2000 Discover more about COMTEX at: http://www.comtex.com/ This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. -----Original Message----- From: Stephan Janosch [mailto:stephan.janosch at interface-business.de] Sent: Wednesday, January 05, 2005 3:45 AM To: Rimbert Rivera Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios just stopped running Rimbert Rivera wrote: > I have a cron job that runs the check_nagios plugin and e-mails us the > output. Earlier today, we started getting: > "Nagios problem: located 3 processes, status log updated 1565 seconds ago" > > Everytime it ran, it was the same output with a longer time that it > wasn't updated. This was working fine before where the status log > would be updated usually no longer than 8 seconds ago. I checked the > status.log and status.sav and confirmed that they hadn't updated. I > restarted nagios but I still had the same problem. Even though none > of the partitions were running out of space, I deleted archived logs > and restarted nagios but same problem. I did some more > troubleshooting without any luck. Long story short, I rebooted the > RH9 box it was running on and nagios started running again. > > Anyone have an idea of what could've happened and things I could check? > This is the first time this has ever happened as far as I know. The > recent changes we made were just setting up one new host to monitor so > we edited hosts.cfg, hostgroups.cfg and services.cfg but nagios > restarted without error. I even took out those changes and restarted > nagios but still had the same problem. One thing I noticed was our > service-perfdata.out is 790 MB. Can I delete this and nagios will > create a new one? I'm not sure it's the problem since it's still that > big and nagios is running now but it doesn't seem like I want that > file to get that big. To your service-perfdata.out. If you don't need any performance data, you can switch perfmormance data logging of. Depending on your performance command definition, you can simply delete it. I don't know, if you have changed that command. Look into misccomands.cfg, there it is located by standard. > > What kind of maintenance should I be performing on nagios? We've had > it running for over a year and we haven't really did any kind of cleanup on it. > > Your help to this newbie would be greatly appreciated. Stephan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sobrien at ci.bend.or.us Wed Jan 5 22:18:56 2005 From: sobrien at ci.bend.or.us (Steve OBrien) Date: Wed, 5 Jan 2005 13:18:56 -0800 Subject: My pager alerts have only a from line Message-ID: My alerts to my pager only contain the From: text and no body. Any ideas why? Steve O'Brien City of Bend Network Security Administrator sobrien at ci.bend.or.us 541.322.6393 -------------- next part -------------- An HTML attachment was scrubbed... URL: From GWCOOK at mactec.com Wed Jan 5 23:47:06 2005 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 5 Jan 2005 15:47:06 -0700 Subject: Nagios mentioned in Jan. 2005 Network Magazine Message-ID: <41FD7929498A174DAB86C45F28E0EC0DDE541B@golden-m.mactec.com> In this month's issue (Jan. 2005) of Network Magazine, there is an article entitled 'Building Network Stability', and subtitled with 'Construction leader Rudolph and Sletten turns to an open-source network monitoring tool to stabilize its network and deploy a new wireless infrastructure.'. The article is mainly about the Groundwork Monitor product, which is a collection of Open Source tools. However, there are a few paragraphs dealing directly with Nagios. The article may also be found online at: http://www.networkmagazine.com/shared/article/showArticle.jhtml;jsession id=PJPY24Z2EXZNIQSNDBCSKH0CJUMEKJVN?articleId=55301835&classroom= Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.273.5050 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dyioulos at firstbhph.com Wed Jan 5 23:02:08 2005 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Wed, 5 Jan 2005 17:02:08 -0500 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) In-Reply-To: <7ADE11986184154083869D43D0B06D447B7CA1@exchange.nccsc.k12.in.us> References: <7ADE11986184154083869D43D0B06D447B7CA1@exchange.nccsc.k12.in.us> Message-ID: <200501052154.j05Lspfm015121@mail1.firstbhph.com> >The following are instructions for Fedora Core 3 in a typical Active >Directory environment, but they should be adaptable to other distros. > >You will need the following packages and their dependencies >(preferrably >most recent): > >krb5-workstation >pam_krb5 >mod_auth_pam (http://pam.sourceforge.net/mod_auth_pam) > >Optional, but highly recommended: >nscd (to cache authentication requests) > >The instructions that follow assume that you are using Apache v2.x with >module support and SSL, and that you are wanting to >authenticate against >a Windows 2003 Server DC. > >Make sure that the following services are enabled in your init scripts >for your runlevel (chkconfig): > >winbind >nscd (if being used--highly recommended so that your DC is not pounded >with numerous requests) > >Add the following to your /etc/krb5.conf as follows. Automatic kdc and >realm lookup will save you a lot of headaches (may be less secure since >it informs kerberos to locate the nearest kdc, a.k.a. domain >controller. >Read the docs if you want to hard wire it to a specific kdc). Note that >your realms must be ALL CAPS: > >[libdefaults] >default_realm = YOUR.FULLY.QUALIFIED.DOMAIN >dns_lookup_realm = true >dns_lookup_kdc = true > >Add this to /etc/httpd/conf/httpd.conf. I highly recommend >that you use >SSL to protect your domain passwords from being sent across the network >in plain text (Note that statuswrl.cgi will not load in Internet >Explorer when using SSL, a small price to pay. You should also set up a >certificate, which I will not delve into here.): > >LoadModule auth_pam_module modules/mod_auth_pam.so >SSLProtocol -all +SSLv2 >SSLVerifyClient none > >Also, add a nagios.conf to your /etc/httpd/conf.d/ to configure >authentication and disregard the instructions that come with nagios for >configuring web authorization (they are somewhat outdated): >ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ > > Options ExecCGI > AllowOverride None > Order deny,allow > Deny from all > Allow from 127.0.0.1 > Allow from x.x.x.x/x ;your subnet(s) > AuthType Basic > AuthName "Nagios Web Access" > Require user your_domain_users ;(or use 'require group', read the >docs) > AuthPAM_Enabled on > AuthPAM_FallThrough off > SSLCipherSuite -all:SSLv2:+HIGH > > >Alias /nagios /usr/local/nagios/share/ > > Options None > AllowOverride None > Order deny,allow > Deny from all > Allow from 127.0.0.1 > Allow from x.x.x.x/x ;your subnet(s) > AuthType Basic > AuthName "Nagios Web Access" > Require user your_domain_users > AuthPAM_Enabled on > AuthPAM_FallThrough off > SSLCipherSuite -all:SSLv2:+HIGH > > >Edit /etc/pam.d/httpd to enable kerberos authentication with pam. >Something similar to this will work: > >#%PAM-1.0 >auth sufficient /lib/security/pam_krb5.so >auth required /lib/security/pam_unix.so >account sufficient /lib/security/pam_krb5.so >account required /lib/security/pam_unix.so > >Now you must join your linux box to your directory and test your >configuration. See chapter 6 of the Official Samba-3 HOWTO for more >information >(http://us2.samba.org/samba/docs/man/Samba-HOWTO-Collection/dom >ain-membe >r.html#ads-member). You will also probably want to set up ntp so that >your time stays synchronized. > Shawn, Thanks for the above post. Unfortunately, I'm having a problem. Samba is installed and has been working successfully for some time using ADS. However, my nagios login doesn't work. Here's the output from syslog: Jan 5 16:54:39 kingston httpd: pam_krb5: authenticate error: KRB5 error code 52 (-1765328332) Jan 5 16:54:39 kingston httpd: pam_krb5: authentication fails for `dyioulos' Jan 5 16:54:39 kingston httpd(pam_unix)[8513]: authentication failure; logname= uid=48 euid=48 tty= ruser= rhost= user=dyioulos What have I done wrong? Thanks. Dimitri ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From billwinkles at lucent.com Thu Jan 6 00:20:26 2005 From: billwinkles at lucent.com (Winkles, William (Bill)) Date: Wed, 5 Jan 2005 16:20:26 -0700 Subject: statusmap and trends problem Message-ID: <0DB72ED9B906754EB93DA5D814E66F320B3602EA@co7010exch004u.milehi.lucent.com> Can anyone give me any pointers on getting statusmap and trends working? I do have the gd, png, jpeg, and zlib libraries installed. I'm using Nagios 2.x (CVS) downloaded today, 1-5-05, running on solaris 9. The output from my apache error log shows: [Wed Jan 5 16:04:36 2005] [error] [client 135.116.141.207] Premature end of scr ipt headers: /usr/local/nagios/sbin/statusmap.cgi ld.so.1: trends.cgi: fatal: libgd.so.2: open failed: No such file or directory [Wed Jan 5 16:04:38 2005] [error] [client 135.116.141.207] Premature end of scr ipt headers: /usr/local/nagios/sbin/trends.cgi ld.so.1: trends.cgi: fatal: libgd.so.2: open failed: No such file or directory [Wed Jan 5 16:04:41 2005] [error] [client 135.116.141.207] Premature end of scr ipt headers: /usr/local/nagios/sbin/trends.cgi With the errors above, is it the apache server that can't find these files? Can I include this as an environment variable within the apache httpd.conf file? ld.so.1 is located at /usr/local/ld.so.1 and /usr/lib/ld.so.1 libgd.so.2 is located at /usr/local/lib/libgd.so.2 I have my LD_LIBRARY_PATH set to: /usr/local/lib:/usr/lib When I configured nagios, it did find the gd and png librarys. See output from configure below: checking for main in -liconv... yes checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... yes GD library was found! checking for ltdl.h... yes checking for lt_dlinit in -lltdl... yes checking for extra flags needed to export symbols... none checking for linker flags for loadable modules... -G checking for traceroute... /usr/sbin/traceroute This is the output from make and you can see that it does create the files: gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statuswrl.cgi statuswrl.c getcgi.o cgiuti ls.o cgiauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o -lm -lrt gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c getcgi.o cgiuti ls.o cgiauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o -lgd -liconv -lz -lm -lpng -ljpeg -lrt gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o trends.cgi trends.c getcgi.o cgiutils.o c giauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o -lgd - liconv -lz -lm -lpng -ljpeg -lrt Am I missing something here? Any advice is appreciated. Thanks. Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.shipway at auckland.ac.nz Wed Jan 5 23:26:57 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 6 Jan 2005 11:26:57 +1300 Subject: New check_website plugin Message-ID: <006201c4f375$aa9a0400$01fea8c0@itss.auckland.ac.nz> I'm currently developing a new plugin (in Perl) called check_website. This is a 'user experience' check, which takes a script and simulates a user by retrieving a web page, clicking on links, submitting forms, and so on. It preserves parameters and cookies so that it can be used to follow dynamic pages such as a store, or our PeopleSoft system. I have not been able to find any existing Nagios plugin to give this functionality. If anyone has ever used SiteScope, it is similar in functionality to the web site checks that package is capable of. It can also run in MRTG-mode and return data that can be fed directly into a MRTG system for response time graphing. It's not yet ready for official release, but anyone interested in trying it out and giving their opinion, please email me for a copy. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From billwinkles at lucent.com Thu Jan 6 00:37:48 2005 From: billwinkles at lucent.com (Winkles, William (Bill)) Date: Wed, 5 Jan 2005 16:37:48 -0700 Subject: statusmap and trends problem Message-ID: <0DB72ED9B906754EB93DA5D814E66F320B360327@co7010exch004u.milehi.lucent.com> I do have statusmap and trends working now. The fix was to add this to my apache httpd.conf file: SetEnv LD_LIBRARY_PATH /usr/local/lib/:/usr/lib I'm not sure why apache didn't pick this up, but I had the same problem in the past when compiling nagios with mysql database support. My mysql database libraries were located at /usr/local/lib/mysql and I had to add that path to the modenv.c of apache to get nagios and mysql to work. Sorry to spam everyone on this. Thanks. Bill _____ From: Winkles, William (Bill) Sent: Wednesday, January 05, 2005 4:22 PM To: nagios-users at lists.sourceforge.net Subject: statusmap and trends problem Can anyone give me any pointers on getting statusmap and trends working? I do have the gd, png, jpeg, and zlib libraries installed. I'm using Nagios 2.x (CVS) downloaded today, 1-5-05, running on solaris 9. The output from my apache error log shows: [Wed Jan 5 16:04:36 2005] [error] [client 135.116.141.207] Premature end of scr ipt headers: /usr/local/nagios/sbin/statusmap.cgi ld.so.1: trends.cgi: fatal: libgd.so.2: open failed: No such file or directory [Wed Jan 5 16:04:38 2005] [error] [client 135.116.141.207] Premature end of scr ipt headers: /usr/local/nagios/sbin/trends.cgi ld.so.1: trends.cgi: fatal: libgd.so.2: open failed: No such file or directory [Wed Jan 5 16:04:41 2005] [error] [client 135.116.141.207] Premature end of scr ipt headers: /usr/local/nagios/sbin/trends.cgi With the errors above, is it the apache server that can't find these files? Can I include this as an environment variable within the apache httpd.conf file? ld.so.1 is located at /usr/local/ld.so.1 and /usr/lib/ld.so.1 libgd.so.2 is located at /usr/local/lib/libgd.so.2 I have my LD_LIBRARY_PATH set to: /usr/local/lib:/usr/lib When I configured nagios, it did find the gd and png librarys. See output from configure below: checking for main in -liconv... yes checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... yes GD library was found! checking for ltdl.h... yes checking for lt_dlinit in -lltdl... yes checking for extra flags needed to export symbols... none checking for linker flags for loadable modules... -G checking for traceroute... /usr/sbin/traceroute This is the output from make and you can see that it does create the files: gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statuswrl.cgi statuswrl.c getcgi.o cgiuti ls.o cgiauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o -lm -lrt gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c getcgi.o cgiuti ls.o cgiauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o -lgd -liconv -lz -lm -lpng -ljpeg -lrt gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o trends.cgi trends.c getcgi.o cgiutils.o c giauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o -lgd - liconv -lz -lm -lpng -ljpeg -lrt Am I missing something here? Any advice is appreciated. Thanks. Bill -------------- next part -------------- An HTML attachment was scrubbed... URL: From sudheer at tgs-solutions.com Wed Jan 5 23:38:20 2005 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Wed, 05 Jan 2005 17:38:20 -0500 Subject: INETD and NRPE daemon in solaris 8 In-Reply-To: <7ADE11986184154083869D43D0B06D447B7CA1@exchange.nccsc.k12.in.us> References: <7ADE11986184154083869D43D0B06D447B7CA1@exchange.nccsc.k12.in.us> Message-ID: <41DC6C5C.2090609@tgs-solutions.com> Hi , Can some one help me to make nrpe run as a service or a daemon in solaris 8 :( I am not able to start the nrpe as a service in sol 8. THis is the entry I have in inetd.conf file. Nothing shows up in logs nrpe stream tcp nowait nagios /usr/local/nagios/nrpe /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg --inetd THanks ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From carson+nagiosusers at taltos.org Wed Jan 5 23:48:50 2005 From: carson+nagiosusers at taltos.org (Carson Gaspar) Date: Wed, 05 Jan 2005 17:48:50 -0500 Subject: More on notifications and reboot monitoring Message-ID: <6F4FD66684CCE85DFACC5523@taltos.ny.fw.gs.com> I think I have discovered the cause of all of my problems: Notifications are only ever triggered by check results Life would have been so much easier if that were documented. So in my environment, which is passive only for scalability reasons, if a host goes down and stays down the only checks that will ever trigger notifications are pings (as they run centrally) and freshness checks. So in order to do reboot monitoring, my choices are limited (without writing active agents). I _think_ this should work - comments? - On shutdown, start 30 minute (tweak to taste) scheduled downtime for Ping (so ping won't whine about the rebooting host being down) - On shutdown, send a passive Reboot_Down CRIT, but Reboot_Down doesn't notify anyone - On startup, send a passive Reboot_Up CRIT. Reboot_Up depends on Reboot_Down, so if the server was shut down cleanly, no notification will go out. - On startup, send a passive Reboot_Up OK followed by a Reboot_Down OK - Reboot_Up and Reboot_Down have freshness checks disabled. I'd cancel the downtime if I could on startup, but there's no good way to get the downtime ID remotely. I could write an agent that runs on the nagios server if I decided I really cared. So on a normal reboot, no alarms. On a reboot that never comes back, ping will alarm after the downtime ends. On an abnormal reboot, Reboot_Up will alarm (as Reboot_Down will be OK (or Unknown)). -- Carson ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Jan 5 23:54:25 2005 From: marc at ena.com (Marc Powell) Date: Wed, 5 Jan 2005 16:54:25 -0600 Subject: My pager alerts have only a from line Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835D43@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Steve OBrien > Sent: Wednesday, January 05, 2005 3:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] My pager alerts have only a from line > > My alerts to my pager only contain the From: text and no body. Any ideas > why? Check your notification command to verify you're properly escaping\quoting all characters and macros you need to be. Otherwise, post it here along with example output so that we can help more. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sobrien at ci.bend.or.us Thu Jan 6 01:07:01 2005 From: sobrien at ci.bend.or.us (Steve OBrien) Date: Wed, 5 Jan 2005 16:07:01 -0800 Subject: My pager alerts have only a from line In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC835D43@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC835D43@mismail.ena.com> Message-ID: Excuse my ignorance but where is the notification command? I am moving nagios from a redhat box over to Solaris. I took the /nagios/etc folder and tarred it up and moved it over. The pager alerts were working properly on the redhat box. Steve O'Brien City of Bend Network Security Administrator sobrien at ci.bend.or.us 541.322.6393 "Marc Powell" Sent by: To nagios-users-admi ge.net cc Subject 01/05/2005 02:54 RE: [Nagios-users] My pager alerts PM have only a from line > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Steve OBrien > Sent: Wednesday, January 05, 2005 3:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] My pager alerts have only a from line > > My alerts to my pager only contain the From: text and no body. Any ideas > why? Check your notification command to verify you're properly escaping\quoting all characters and macros you need to be. Otherwise, post it here along with example output so that we can help more. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: graycol.gif Type: image/gif Size: 105 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pic14755.gif Type: image/gif Size: 1255 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ecblank.gif Type: image/gif Size: 45 bytes Desc: not available URL: From bench at silentmedia.com Thu Jan 6 01:55:47 2005 From: bench at silentmedia.com (Ben) Date: Wed, 5 Jan 2005 16:55:47 -0800 (PST) Subject: generic command wrapper? Message-ID: I need to run a proprietary vendor tool to make a service check, but unfortunately this tool is pretty awful and cannot be run more than once at a time. Is there any generic tool out there that somebody has written which would let me wrap a file lock and some timeout protection around a generic shell command? ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Thu Jan 6 09:07:40 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Thu, 06 Jan 2005 09:07:40 +0100 Subject: My pager alerts have only a from line In-Reply-To: References: Message-ID: <41DCF1CC.5080305@interface-business.de> Steve OBrien wrote: > Excuse my ignorance but where is the notification command? [snip] Have a look your miscomand.cfg. There you should find teh notify-by_pageer command. Stephan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From r_jai_ganesh at yahoo.com Thu Jan 6 09:10:45 2005 From: r_jai_ganesh at yahoo.com (Jai Ganesh) Date: Thu, 6 Jan 2005 08:10:45 +0000 (GMT) Subject: Nagios errors !! In-Reply-To: <20050105085622.GB9381@tufnell.lon1.poggs.net> References: <20050105085622.GB9381@tufnell.lon1.poggs.net> Message-ID: <20050106081045.73716.qmail@web52708.mail.yahoo.com> Hello, I have installed nagios 2.0b1 in FC3, when i click on any links in the left i get : Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. THis is the log : tail -f nagios.log [1104992853] LOG VERSION: 2.0 [1104992853] Error: Check period '24x7' specified for service 'HTTP' on host 'www.example.com' is not defined anywhere! [1104992853] Error: Notification period '24x7' specified for service 'HTTP' on host 'www.example.com' is not defined anywhere! service nagios start gives this : Starting network monitor: nagios No lock file found in /usr/local/nagios/var/nagios.lock 1. where do i mention Check period '24x7' specified for service 'HTTP' on host 'www.example.com'? I have copied all the configuration entries from nagios.org documentation, 2. can anyone send me the list of configuration entries and files? 3. if i copy all the files and paste it my /usr/local/nagios/etc folder, will it work ? 4. Please let me know the necessary files to edit to make nagios working ? what am i doing wrong ? any help would be highly appricated. Thank u for ur time. ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Stephan.Janosch at interface-business.de Thu Jan 6 09:46:05 2005 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Thu, 06 Jan 2005 09:46:05 +0100 Subject: Nagios errors !! In-Reply-To: <20050106081045.73716.qmail@web52708.mail.yahoo.com> References: <20050106081045.73716.qmail@web52708.mail.yahoo.com> Message-ID: <41DCFACD.1030209@interface-business.de> Jai Ganesh wrote: > Hello, > > I have installed nagios 2.0b1 in FC3, when i click on > any links in the left i get : > > Internal Server Error > > The server encountered an internal error or > misconfiguration and was unable to complete your > request. > > THis is the log : > tail -f nagios.log > > [1104992853] LOG VERSION: 2.0 > [1104992853] Error: Check period '24x7' specified for > service 'HTTP' on host 'www.example.com' is not > defined anywhere! > [1104992853] Error: Notification period '24x7' > specified for service 'HTTP' on host 'www.example.com' > is not defined anywhere! > > service nagios start gives this : > Starting network monitor: nagios > No lock file found in > /usr/local/nagios/var/nagios.lock > > > 1. where do i mention Check period '24x7' specified > for service 'HTTP' on host 'www.example.com'? > I have copied all the configuration entries from > nagios.org documentation, check_period timeperiod_name > 2. can anyone send me the list of configuration > entries and files? http://nagios.sourceforge.net/docs/2_0/ > 3. if i copy all the files and paste it my > /usr/local/nagios/etc folder, will it work ? No. The examples are there, to give a base to understand the whole thing. Print it out. Read it carefully. Check the docu. UNDERSTAND it. Customize it. Install it. Run Nagios. > 4. Please let me know the necessary files to edit to > make nagios working ? http://nagios.sourceforge.net/docs/2_0/ > what am i doing wrong ? any help would be highly > appricated. > Thank u for ur time. Get up Nagios working can take some time. Take some time and don't do in a rush. That makes no sense. Nagios is esayly understandable, if you take yourself some time. Stephan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From r_jai_ganesh at yahoo.com Thu Jan 6 13:23:04 2005 From: r_jai_ganesh at yahoo.com (Jai Ganesh) Date: Thu, 6 Jan 2005 12:23:04 +0000 (GMT) Subject: nagat In-Reply-To: <20050105085622.GB9381@tufnell.lon1.poggs.net> References: <20050105085622.GB9381@tufnell.lon1.poggs.net> Message-ID: <20050106122304.4624.qmail@web52706.mail.yahoo.com> Hello, I have decided to go with nagat for managing nagios since my nagios is not working. I have downloaded the nagat sourceforge.net and untarred it. how to view ? is it thru web brwoser ? how to execute thse php scripts ? if i get this via broswer it is not executing, it just takes the source code, but if i execute via the SSH, it works. documentation don provide much info. how to make nagat work ?? PLease advise ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Thu Jan 6 13:41:26 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Thu, 06 Jan 2005 13:41:26 +0100 Subject: nagat In-Reply-To: <20050106122304.4624.qmail@web52706.mail.yahoo.com> References: <20050106122304.4624.qmail@web52706.mail.yahoo.com> Message-ID: <41DD31F6.9090802@interface-business.de> Hi again! nagat does not support Nagios 2. At least my last experiments were not very succesful. I sugest, that you start configuring nagios by hand. So you practise your theoretical knowledge about nagios and your basics about nagios get well grounded. Later on, if you have 20+ hosts you can think about a config-tool again. In a very homegene environment, you can handle even huge amounts of servers with the help of templates very well. That's why there are templates. ;) ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From r_jai_ganesh at yahoo.com Thu Jan 6 13:50:43 2005 From: r_jai_ganesh at yahoo.com (Jai Ganesh) Date: Thu, 6 Jan 2005 12:50:43 +0000 (GMT) Subject: nagat In-Reply-To: <41DD31F6.9090802@interface-business.de> References: <41DD31F6.9090802@interface-business.de> Message-ID: <20050106125043.11804.qmail@web52706.mail.yahoo.com> Hi Stephan, I removed the entire nagios(2.1b) and installed nagios1.2 (rpm) from nagios site. will nagat support nagios 1.2 ? . as i told u that i am a newbie, configuring by hand is difficult for me. still pricking...... Thanks for ur help yaaar.. --- Stephan Janosch wrote: > Hi again! > > nagat does not support Nagios 2. At least my last > experiments were not > very succesful. > > I sugest, that you start configuring nagios by hand. > So you practise > your theoretical knowledge about nagios and your > basics about nagios get > well grounded. > > Later on, if you have 20+ hosts you can think about > a config-tool again. > In a very homegene environment, you can handle even > huge amounts of > servers with the help of templates very well. That's > why there are > templates. ;) > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the > post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt > from ThinkGeek. > It's fun and FREE -- well, > almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Thu Jan 6 13:57:46 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Thu, 06 Jan 2005 13:57:46 +0100 Subject: nagat In-Reply-To: <20050106125043.11804.qmail@web52706.mail.yahoo.com> References: <20050106125043.11804.qmail@web52706.mail.yahoo.com> Message-ID: <41DD35CA.4020106@interface-business.de> Jai Ganesh wrote: > Hi Stephan, > > I removed the entire nagios(2.1b) and installed > nagios1.2 (rpm) from nagios site. will nagat support > nagios 1.2 ? . as i told u that i am a newbie, > configuring by hand is difficult for me. still > pricking...... > > Thanks for ur help yaaar.. The very needed configuration is supportet. Extended Configuration is imho not supported. If you look into this list archive, there was often the advice, to use manual configuration. This makes your knowledge rocksolid. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From r_jai_ganesh at yahoo.com Thu Jan 6 14:01:20 2005 From: r_jai_ganesh at yahoo.com (Jai Ganesh) Date: Thu, 6 Jan 2005 13:01:20 +0000 (GMT) Subject: nagat In-Reply-To: <41DD31F6.9090802@interface-business.de> References: <41DD31F6.9090802@interface-business.de> Message-ID: <20050106130120.75248.qmail@web52705.mail.yahoo.com> Hello, I bet there is something wrong in my configuration file because if you look at the logs : tail -f nagios.log [1105008345] Error: Dependent service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere! [1105008345] Error: Service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere! [1105008345] Error: Service dependency definition for service 'Website #2' on host 'nt1' is circular (it depends on itself)! [1105008345] Error: Dependent service specified in service dependency for service 'Website #1' on host 'nt1' is not defined anywhere! and when restarting the nagios service i get the same. Can anyone send me the configuration file(s) with domainname/IP changed, so I check here if it works. I have installed from rpm - 1.2, so the files were automatically created. Thanks in advance --- Stephan Janosch wrote: > Hi again! > > nagat does not support Nagios 2. At least my last > experiments were not > very succesful. > > I sugest, that you start configuring nagios by hand. > So you practise > your theoretical knowledge about nagios and your > basics about nagios get > well grounded. > > Later on, if you have 20+ hosts you can think about > a config-tool again. > In a very homegene environment, you can handle even > huge amounts of > servers with the help of templates very well. That's > why there are > templates. ;) > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the > post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt > from ThinkGeek. > It's fun and FREE -- well, > almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Jan 6 14:51:20 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 06 Jan 2005 14:51:20 +0100 Subject: More on notifications and reboot monitoring In-Reply-To: <6F4FD66684CCE85DFACC5523@taltos.ny.fw.gs.com> References: <6F4FD66684CCE85DFACC5523@taltos.ny.fw.gs.com> Message-ID: <41DD4258.6040309@op5.se> Carson Gaspar wrote: > I think I have discovered the cause of all of my problems: > > Notifications are only ever triggered by check results > > Life would have been so much easier if that were documented. So in my > environment, which is passive only for scalability reasons, if a host > goes down and stays down the only checks that will ever trigger > notifications are pings (as they run centrally) and freshness checks. > > So in order to do reboot monitoring, my choices are limited (without > writing active agents). I _think_ this should work - comments? > > - On shutdown, start 30 minute (tweak to taste) scheduled downtime for > Ping (so ping won't whine about the rebooting host being down) > - On shutdown, send a passive Reboot_Down CRIT, but Reboot_Down doesn't > notify anyone > - On startup, send a passive Reboot_Up CRIT. Reboot_Up depends on > Reboot_Down, so if the server was shut down cleanly, no notification > will go out. > - On startup, send a passive Reboot_Up OK followed by a Reboot_Down OK > - Reboot_Up and Reboot_Down have freshness checks disabled. > > I'd cancel the downtime if I could on startup, but there's no good way > to get the downtime ID remotely. I could write an agent that runs on the > nagios server if I decided I really cared. > > So on a normal reboot, no alarms. On a reboot that never comes back, > ping will alarm after the downtime ends. On an abnormal reboot, > Reboot_Up will alarm (as Reboot_Down will be OK (or Unknown)). > Ehrm. The idea of scheduled downtime is to do this sort of thing. If you want to add a script submitting a 5 minute (or something) downtime whenever you run reboot, then by all means feel free. If you make it clean I'm sure lots of other users would be interested. I don't think it's a very good idea to keep that logic in the Nagios daemon though, as it can never possibly guess if a host has been shut down or crashed, so I don't quite see the point of this email. Care to clarify? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Jan 6 14:53:03 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 06 Jan 2005 14:53:03 +0100 Subject: statusmap and trends problem In-Reply-To: <0DB72ED9B906754EB93DA5D814E66F320B3602EA@co7010exch004u.milehi.lucent.com> References: <0DB72ED9B906754EB93DA5D814E66F320B3602EA@co7010exch004u.milehi.lucent.com> Message-ID: <41DD42BF.50109@op5.se> Winkles, William (Bill) wrote: > Can anyone give me any pointers on getting statusmap and trends working? I > do have the gd, png, jpeg, and zlib libraries installed. > > I'm using Nagios 2.x (CVS) downloaded today, 1-5-05, running on solaris 9. > > The output from my apache error log shows: > > [Wed Jan 5 16:04:36 2005] [error] [client 135.116.141.207] Premature end of > script headers: /usr/local/nagios/sbin/statusmap.cgi > > ld.so.1: trends.cgi: fatal: libgd.so.2: open failed: No such file or > directory > You obviously don't have libgd properly installed then. Read up on dynamic link loading for Solaris and you should be able to sort this out in a jiffy. > [Wed Jan 5 16:04:38 2005] [error] [client 135.116.141.207] Premature end of > scr > > ipt headers: /usr/local/nagios/sbin/trends.cgi > > ld.so.1: trends.cgi: fatal: libgd.so.2: open failed: No such file or > directory > > [Wed Jan 5 16:04:41 2005] [error] [client 135.116.141.207] Premature end of > scr > > ipt headers: /usr/local/nagios/sbin/trends.cgi > > > > With the errors above, is it the apache server that can't find these files? > Can I include this as an environment variable within the apache httpd.conf > file? > > > > ld.so.1 is located at /usr/local/ld.so.1 and > > /usr/lib/ld.so.1 > > > > libgd.so.2 is located at > > /usr/local/lib/libgd.so.2 > > > > I have my LD_LIBRARY_PATH set to: > > /usr/local/lib:/usr/lib > > > > When I configured nagios, it did find the gd and png librarys. See output > from configure below: > > checking for main in -liconv... yes > > checking for gdImagePng in -lgd (order 1)... no > > checking for gdImagePng in -lgd (order 2)... yes > > GD library was found! > > checking for ltdl.h... yes > > checking for lt_dlinit in -lltdl... yes > > checking for extra flags needed to export symbols... none > > checking for linker flags for loadable modules... -G > > checking for traceroute... /usr/sbin/traceroute > > > > This is the output from make and you can see that it does create the files: > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statuswrl.cgi statuswrl.c getcgi.o > cgiuti > > ls.o cgiauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o > xstatusdata-cgi.o > > -lm -lrt > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o statusmap.cgi statusmap.c getcgi.o > cgiuti > > ls.o cgiauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o > xstatusdata-cgi.o > > -lgd -liconv -lz -lm -lpng -ljpeg -lrt > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -o trends.cgi trends.c getcgi.o > cgiutils.o c > > giauth.o objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o > -lgd - > > liconv -lz -lm -lpng -ljpeg -lrt > > > > Am I missing something here? > > > > Any advice is appreciated. > > > > Thanks. > > > > Bill > > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sudheer at tgs-solutions.com Thu Jan 6 15:16:26 2005 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Thu, 06 Jan 2005 09:16:26 -0500 Subject: INETD and NRPE daemon in solaris 8] Message-ID: <41DD483A.4080306@tgs-solutions.com> Jim, It works fine when I start it from the command line. But no luck with inetd. I have to start it with rc.local if I cannot make it work with inetd. If you know how can I make it work with inetd that will help. Thanks, Sudheer Jim Mozley wrote: > Sudheer Muddappa wrote: > >> Can some one help me to make nrpe run as a service or a daemon in >> solaris 8 :( >> >> I am not able to start the nrpe as a service in sol 8. > > > I'm assuming you mean daemon rather than service as its solaris. > >> THis is the entry I have in inetd.conf file. >> >> Nothing shows up in logs >> >> nrpe stream tcp nowait nagios /usr/local/nagios/nrpe >> /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg --inetd >> > > One can start it outside of the inetd mechanism as a standalone daemon > (with an appropriate run level script) using something like: > > /usr/local/nagios/sbin/nrpe -c /usr/local/nagios/etc/nrpe.cfg --daemon > > Jim Mozley > > -- Sudheer Muddappa TCIS Ph 732-212-5045 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jlnarayanan00 at aol.com Thu Jan 6 14:53:57 2005 From: Jlnarayanan00 at aol.com (Jlnarayanan00 at aol.com) Date: Thu, 6 Jan 2005 08:53:57 EST Subject: Doubt in connecting to mysql database from plugin Message-ID: <105.57cc29f4.2f0e9cf5@aol.com> Hi , I had raised a doubt regarding connecting to mysql database from the plugin.As per the solution that was suggested yesterday I have included the path where the libmysqlclient.so.* file is present in the /etc/ld.so.conf. file. If I give a command ?locate libmysqlclient? in my system ,I am getting the following output. []$ locate libmysqlclient /usr/lib/mysql/libmysqlclient.la /usr/lib/mysql/libmysqlclient_r.la /usr/lib/mysql/libmysqlclient.a /usr/lib/mysql/libmysqlclient_r.a /usr/lib/libmysqlclient.so /usr/lib/libmysqlclient.so.10.0.0 /usr/lib/libmysqlclient.so.10 /usr/lib/libmysqlclient.so.14.0.0 /usr/lib/libmysqlclient.so.14 /usr/lib/libmysqlclient_r.so.10 /usr/lib/libmysqlclient_r.so /usr/lib/libmysqlclient_r.so.10.0.0 /usr/lib/libmysqlclient_r.so.14 /usr/lib/libmysqlclient_r.so.14.0.0 So after adding the path in the /etc/ld.so.conf file [root at localhost etc]# cat ld.so.conf /usr/kerberos/lib /usr/X11R6/lib /usr/lib/sane /usr/lib/qt-3.1/lib /usr/lib/mysql While giving ?make all? command for the plugins I am getting the following error still undefined reference to `mysql_init' undefined reference to `mysql_real_connect' ??. But while trying to compiling the plugin from the command prompt by giving the following command , gcc -o check_dummy1 check_dummy1.c -I/usr/include/mysql -L/usr/lib/mysql -lmysqlclient -lz -fno-exceptions {check_dummy1 is the plugin in which i have coded to connect to the mysql database} I am not getting the error as undefined reference to ?mysql_init? and other mysql related functions.{But the error I am getting is undefined reference for the functions that are common to all plugins like ?undefined reference to `print_revision'? which I understand should come.} Now where should I make changes for linking with the mysql client library which is the problem as far i understand. Can anybody please help me out in this issue?? Regards, Jaya -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Thu Jan 6 14:55:55 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 06 Jan 2005 14:55:55 +0100 Subject: generic command wrapper? In-Reply-To: References: Message-ID: <41DD436B.7050408@op5.se> Ben wrote: > I need to run a proprietary vendor tool to make a service check, but > unfortunately this tool is pretty awful and cannot be run more than once > at a time. Is there any generic tool out there that somebody has written > which would let me wrap a file lock and some timeout protection around a > generic shell command? > You don't need locking so much as a spooler. Be warned though that spooling management commands is considered terribly poor practice, and you would need to passively submit the results, since the spooler can't possibly return the proper status immediately. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Stephan.Janosch at interface-business.de Thu Jan 6 14:56:59 2005 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Thu, 06 Jan 2005 14:56:59 +0100 Subject: nagat In-Reply-To: <20050106130120.75248.qmail@web52705.mail.yahoo.com> References: <20050106130120.75248.qmail@web52705.mail.yahoo.com> Message-ID: <41DD43AB.4020901@interface-business.de> Jai Ganesh wrote: > Hello, > > I bet there is something wrong in my configuration > file because if you look at the logs : > > tail -f nagios.log > [1105008345] Error: Dependent service specified in > service dependency for service 'Website #2' on host > 'nt1' is not defined anywhere! > [1105008345] Error: Service specified in service > dependency for service 'Website #2' on host 'nt1' is > not defined anywhere! > [1105008345] Error: Service dependency definition for > service 'Website #2' on host 'nt1' is circular (it > depends on itself)! > [1105008345] Error: Dependent service specified in > service dependency for service 'Website #1' on host > 'nt1' is not defined anywhere! > > and when restarting the nagios service i get the same. > Can anyone send me the configuration file(s) with > domainname/IP changed, so I check here if it works. > I have installed from rpm - 1.2, so the files were > automatically created. > > Thanks in advance > > In the .tar.gz files are some examples. look in nagios-2.0b1/sample-config same for nagios 1.2 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From VKumarasamy00 at aol.com Thu Jan 6 15:41:59 2005 From: VKumarasamy00 at aol.com (VKumarasamy00 at aol.com) Date: Thu, 6 Jan 2005 09:41:59 EST Subject: Problem in viewing cacti Graphs Message-ID: <78.69dabc82.2f0ea837@aol.com> Hi All, This is actually an issue related to cacti.so anybody who knows about cacti could help me out in the following problem. I installed cacti and i also get the web interface working.But when i try to view the graphs,the graphs are not viewable.And i get an entry in the cacti.log as ?01/06/2005 07:35:02 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from SNMP not valid. Partial Result: 01/06/2005 07:35:04 PM - CMDPHP: Poller[0] Time: 4.1954 s, Theads: N/A, Hosts: 2?. Can anybody who knows Cacti help me to solve this problem. Regards, Vasanth. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Thu Jan 6 16:22:02 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 06 Jan 2005 16:22:02 +0100 Subject: Doubt in connecting to mysql database from plugin In-Reply-To: <105.57cc29f4.2f0e9cf5@aol.com> References: <105.57cc29f4.2f0e9cf5@aol.com> Message-ID: <41DD579A.4050409@op5.se> Jlnarayanan00 at aol.com wrote: > > Hi , > > I had raised a doubt regarding connecting to mysql database from the > plugin.As per the solution that was suggested yesterday I have included the path > where the libmysqlclient.so.* file is present in the /etc/ld.so.conf. file. > > If I give a command ???locate libmysqlclient??? in my system ,I am getting the > following output. > > []$ locate libmysqlclient > /usr/lib/mysql/libmysqlclient.la > /usr/lib/mysql/libmysqlclient_r.la > /usr/lib/mysql/libmysqlclient.a > /usr/lib/mysql/libmysqlclient_r.a > /usr/lib/libmysqlclient.so > /usr/lib/libmysqlclient.so.10.0.0 > /usr/lib/libmysqlclient.so.10 > /usr/lib/libmysqlclient.so.14.0.0 > /usr/lib/libmysqlclient.so.14 > /usr/lib/libmysqlclient_r.so.10 > /usr/lib/libmysqlclient_r.so > /usr/lib/libmysqlclient_r.so.10.0.0 > /usr/lib/libmysqlclient_r.so.14 > /usr/lib/libmysqlclient_r.so.14.0.0 > > So after adding the path in the /etc/ld.so.conf file > > [root at localhost etc]# cat ld.so.conf > /usr/kerberos/lib > /usr/X11R6/lib > /usr/lib/sane > /usr/lib/qt-3.1/lib > /usr/lib/mysql > > > While giving ???make all??? command for the plugins I am getting the following > error still > > undefined reference to `mysql_init' > undefined reference to `mysql_real_connect' ??????. > > But while trying to compiling the plugin from the command prompt by giving > the following command , > gcc -o check_dummy1 check_dummy1.c -I/usr/include/mysql -L/usr/lib/mysql > -lmysqlclient -lz -fno-exceptions > {check_dummy1 is the plugin in which i have coded to connect to the mysql > database} > > I am not getting the error as undefined reference to ???mysql_init??? and other > mysql related functions.{But the error I am getting is undefined reference for > the functions that are common to all plugins like ???undefined reference to > `print_revision'??? which I understand should come.} > > Now where should I make changes for linking with the mysql client library > which is the problem as far i understand. > Can anybody please help me out in this issue?? > You understand wrong. With all due respect, I seriously doubt that you are quite competent enough to make your plugin work if you aren't experienced enough to solve simple linking issues like these. The solution to your problem is to link the object file of check_dummy1 with the object file of the utils.c file. gcc can do this on the fly for you so you don't necessarily have to run gcc -c on both the files first, but if you intend to make changes to one but not both of the files I would recommend you to compile the other into object form first. For more information, run man gcc; man ld on any GNU system and read the relevant parts of both. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Jan 6 16:27:45 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 06 Jan 2005 16:27:45 +0100 Subject: Problem in viewing cacti Graphs In-Reply-To: <78.69dabc82.2f0ea837@aol.com> References: <78.69dabc82.2f0ea837@aol.com> Message-ID: <41DD58F1.7000105@op5.se> VKumarasamy00 at aol.com wrote: > Hi All, > > This is actually an issue related to cacti.so anybody who knows about cacti > could help me out in the following problem. > > I installed cacti and i also get the web interface working.But when i try to > view the graphs,the graphs are not viewable.And i get an entry in the > cacti.log as > > ???01/06/2005 07:35:02 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from SNMP > not valid. Partial Result: > 01/06/2005 07:35:04 PM - CMDPHP: Poller[0] Time: 4.1954 s, Theads: N/A, > Hosts: 2???. > > Can anybody who knows Cacti help me to solve this problem. > This isn't the proper forum. Look at http://www.cacti.net/ You can find the link 'Mailing Lists' under the support section in the right hand side menu of that page, as well as documentation and other nifty things. > Regards, > Vasanth. > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bench at silentmedia.com Thu Jan 6 16:28:45 2005 From: bench at silentmedia.com (Ben) Date: Thu, 6 Jan 2005 07:28:45 -0800 Subject: generic command wrapper? In-Reply-To: <41DD580F.9070903@op5.se> References: <41DD436B.7050408@op5.se> <41DD580F.9070903@op5.se> Message-ID: Of course, but I've been able to have several hundred active processes for months now without a single reboot. (Gotta love beefy hardware.) Anyway, I only plan to have about 40 or 50 service instances use this wrapper, with 5 minutes between checks. On Jan 6, 2005, at 7:23 AM, Andreas Ericsson wrote: > Ben wrote: >> I'd rather have locking and just allow for long execution times, >> because that just seems like it might allow for less configuration >> locations. > > You are ofcourse aware of the possibility that you in that case can > create so many processes that your system crashes? > >> On Jan 6, 2005, at 5:55 AM, Andreas Ericsson wrote: >>> Ben wrote: >>> >>>> I need to run a proprietary vendor tool to make a service check, but >>>> unfortunately this tool is pretty awful and cannot be run more than >>>> once >>>> at a time. Is there any generic tool out there that somebody has >>>> written >>>> which would let me wrap a file lock and some timeout protection >>>> around a generic shell command? >>> >>> >>> You don't need locking so much as a spooler. Be warned though that >>> spooling management commands is considered terribly poor practice, >>> and you would need to passively submit the results, since the >>> spooler can't possibly return the proper status immediately. >>> >>> -- >>> Andreas Ericsson andreas.ericsson at op5.se >>> OP5 AB www.op5.se >>> Lead Developer > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bench at silentmedia.com Thu Jan 6 16:00:08 2005 From: bench at silentmedia.com (Ben) Date: Thu, 6 Jan 2005 07:00:08 -0800 Subject: generic command wrapper? In-Reply-To: <41DD436B.7050408@op5.se> References: <41DD436B.7050408@op5.se> Message-ID: I'd rather have locking and just allow for long execution times, because that just seems like it might allow for less configuration locations. On Jan 6, 2005, at 5:55 AM, Andreas Ericsson wrote: > Ben wrote: >> I need to run a proprietary vendor tool to make a service check, but >> unfortunately this tool is pretty awful and cannot be run more than >> once >> at a time. Is there any generic tool out there that somebody has >> written >> which would let me wrap a file lock and some timeout protection >> around a generic shell command? > > You don't need locking so much as a spooler. Be warned though that > spooling management commands is considered terribly poor practice, and > you would need to passively submit the results, since the spooler > can't possibly return the proper status immediately. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From philc at foundation-it.com Thu Jan 6 16:20:41 2005 From: philc at foundation-it.com (Phil Costelloe) Date: Thu, 6 Jan 2005 15:20:41 -0000 Subject: INETD and NRPE daemon in solaris 8 Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE92A8FA3@netfinity-1.foundation-it.local> Jim Mozley wrote: > Sudheer Muddappa wrote: > >> I am not able to start the nrpe as a service in sol 8. > > I'm assuming you mean daemon rather than service as its solaris. No, it is known as a service - for example, the man page for Solaris inetd.conf describes the first field on the line as . >> THis is the entry I have in inetd.conf file. >> >> Nothing shows up in logs >> >> nrpe stream tcp nowait nagios /usr/local/nagios/nrpe >> /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg --inetd I run nrpe using tcpwrappers and inetd on Solaris 8 so my inetd.conf entry is slightly different, but that looks perfectly correct (presuming there's a nagios user and Nagios is installed in /usr/local/nagios). That suggests an error elsewhere. Is there an entry in /etc/services for nrpe (port 5666/tcp)? Has inetd been restarted since inetd.conf was changed? Running inetd in foreground debugging mode (see the man page for how to do it) might give you some more information about what's happening. Phil ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Jan 6 16:23:59 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 06 Jan 2005 16:23:59 +0100 Subject: generic command wrapper? In-Reply-To: References: <41DD436B.7050408@op5.se> Message-ID: <41DD580F.9070903@op5.se> Ben wrote: > I'd rather have locking and just allow for long execution times, because > that just seems like it might allow for less configuration locations. > You are ofcourse aware of the possibility that you in that case can create so many processes that your system crashes? > On Jan 6, 2005, at 5:55 AM, Andreas Ericsson wrote: > >> Ben wrote: >> >>> I need to run a proprietary vendor tool to make a service check, but >>> unfortunately this tool is pretty awful and cannot be run more than once >>> at a time. Is there any generic tool out there that somebody has written >>> which would let me wrap a file lock and some timeout protection >>> around a generic shell command? >> >> >> You don't need locking so much as a spooler. Be warned though that >> spooling management commands is considered terribly poor practice, and >> you would need to passively submit the results, since the spooler >> can't possibly return the proper status immediately. >> >> -- >> Andreas Ericsson andreas.ericsson at op5.se >> OP5 AB www.op5.se >> Lead Developer > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Darren.Kemp at xerox.com Thu Jan 6 17:20:19 2005 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Thu, 6 Jan 2005 11:20:19 -0500 Subject: Small issue with 2.0b Message-ID: <330CE9F92C02064B86090D40B479712F242365@usa0300ms04.na.xerox.net> I'm having a rather frustrating issue with NAGIOS 2.0B, running on Sol 9, Apache 2, basically anytime its appending a /nagios/ onto my default_html_path, so the cgi's are trying to access /usr/local/nagios/share/nagios to access stylesheets/images etc. I have double checked the config, locations.h, everything, and can't figure out where this is coming from. Just curious if anyone else has come up against this. Last configure command: # ./configure --datadir=/usr/local/nagios/share --prefix=/usr/local/nagios --with-command-group=nagcmd Apache config: ServerAdmin blah at blah.com DocumentRoot /usr/local/nagios/share ServerName x.x.x ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Options None AllowOverride AuthConfig Order allow,deny Allow from all ErrorLog "| /usr/local/sbin/cronolog /var/log/www/nagios/error.%m.%d.%Y.log" CustomLog "| /usr/local/sbin/cronolog /var/log/www/nagios/access.%m.%d.%Y.lo g" combined Have been running 2.0 earlier versions without issue for months, but this particular setup is on a new machine. Thanks in advance -dkk ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jim.mozley at exponential-e.com Thu Jan 6 17:43:25 2005 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Thu, 06 Jan 2005 16:43:25 +0000 Subject: INETD and NRPE daemon in solaris 8] In-Reply-To: <41DD483A.4080306@tgs-solutions.com> References: <41DD483A.4080306@tgs-solutions.com> Message-ID: <41DD6AAD.10109@exponential-e.com> Sudheer Muddappa wrote: > It works fine when I start it from the command line. > But no luck with inetd. > I have to start it with rc.local if I cannot make it work with inetd. Solaris uses system v run levels. Create a startup script in /etc/init.d and link to the appropriate run level. E.g. File /etc/init.d/nrpe: -----start file----- #!/bin/sh NrpeBin=/usr/local/nagios/sbin/nrpe NrpeCfg=/usr/local/nagios/etc/nrpe.cfg # See how we were called. case "$1" in start) # Start daemons. echo "Starting nrpe: " $NrpeBin -c $NrpeCfg --daemon echo ;; stop) # Stop daemons. echo "Shutting down nrpe: " /usr/bin/pkill -f $NrpeBin echo ;; restart) $0 stop $0 start ;; *) echo "Usage: nrpe {start|stop|restart}" exit 1 esac exit 0 ---eof---- Then link the files... # ln -s /etc/init.d/nrpe /etc/rc3.d/S99nrpe # ln -s /etc/init.d/nrpe /etc/rc1.d/K01nrpe The above is untested! > If you know how can I make it work with inetd that will help. Sorry I don't run it that way so I cannot help you there. I'd imagine it's more efficient to run as a daemon rather than have it go through inetd, but couldn't say this definitively. Jim Mozley ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Thu Jan 6 17:47:04 2005 From: jhmartin at toger.us (Jason Martin) Date: Thu, 6 Jan 2005 08:47:04 -0800 Subject: CHECK_NRPE is not working In-Reply-To: <41DD6A2E.50103@tgs-solutions.com> References: <41DD6A2E.50103@tgs-solutions.com> Message-ID: <20050106164704.GG1816@zippy.toger.us> On Thu, Jan 06, 2005 at 11:41:18AM -0500, Sudheer Muddappa wrote: > I get an error saying No out put returned from plugin. > > t is Am I missing any trick here? Can you include your command definition for check_nrpe? The service definition is insufficient to know what is actually being executed. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From ae at op5.se Thu Jan 6 17:02:11 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 06 Jan 2005 17:02:11 +0100 Subject: generic command wrapper? In-Reply-To: References: <41DD436B.7050408@op5.se> <41DD580F.9070903@op5.se> Message-ID: <41DD6103.5040908@op5.se> Ben wrote: > Of course, but I've been able to have several hundred active processes > for months now without a single reboot. (Gotta love beefy hardware.) > > Anyway, I only plan to have about 40 or 50 service instances use this > wrapper, with 5 minutes between checks. > Your best bet would be to implement some sort of scheduling lock-mechanism then. Like so (in pseudo-code); pid = getpid(); append_to_file(lockfile, pid); while(1) { running_check = readfirstline(lockfile); if(running_check == pid) { status = do_the_checking(); } else sleep_some(); /* to keep from using 100% CPU */ } delete_pidline_from(lockfile); exit(status); Whatever you do, don't write it in shell. In case you make any mistakes with the scheduling you might run out of pids. No hardware in the world will save you from that. > On Jan 6, 2005, at 7:23 AM, Andreas Ericsson wrote: > >> Ben wrote: >> >>> I'd rather have locking and just allow for long execution times, >>> because that just seems like it might allow for less configuration >>> locations. >> >> >> You are ofcourse aware of the possibility that you in that case can >> create so many processes that your system crashes? >> >>> On Jan 6, 2005, at 5:55 AM, Andreas Ericsson wrote: >>> >>>> Ben wrote: >>>> >>>>> I need to run a proprietary vendor tool to make a service check, but >>>>> unfortunately this tool is pretty awful and cannot be run more than >>>>> once >>>>> at a time. Is there any generic tool out there that somebody has >>>>> written >>>>> which would let me wrap a file lock and some timeout protection >>>>> around a generic shell command? >>>> >>>> >>>> >>>> You don't need locking so much as a spooler. Be warned though that >>>> spooling management commands is considered terribly poor practice, >>>> and you would need to passively submit the results, since the >>>> spooler can't possibly return the proper status immediately. >>>> >>>> -- >>>> Andreas Ericsson andreas.ericsson at op5.se >>>> OP5 AB www.op5.se >>>> Lead Developer >> >> >> -- >> Andreas Ericsson andreas.ericsson at op5.se >> OP5 AB www.op5.se >> Lead Developer > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sobrien at ci.bend.or.us Thu Jan 6 18:16:16 2005 From: sobrien at ci.bend.or.us (Steve OBrien) Date: Thu, 6 Jan 2005 09:16:16 -0800 Subject: My pager alerts have only a from line Message-ID: An HTML attachment was scrubbed... URL: From luc at suryo.com Thu Jan 6 17:10:17 2005 From: luc at suryo.com (Luc I. Suryo) Date: Thu, 6 Jan 2005 09:10:17 -0700 Subject: INETD and NRPE daemon in solaris 8 In-Reply-To: <4E71CFD68DCB4E49B04AD93E84827EE92A8FA3@netfinity-1.foundation-it.local> References: <4E71CFD68DCB4E49B04AD93E84827EE92A8FA3@netfinity-1.foundation-it.local> Message-ID: <20050106161017.GA26749@voyager.suryo.com> try this check /etc/service, is the port define for the service? if the port you had defined is < 101 the service will need to be run as root. i have to admit that i have under tcpwrapper too and not sure if this may help but try -i (or --inetd) -c .... so the last arg. being the config file... not much.. -ls > Jim Mozley wrote: > > > Sudheer Muddappa wrote: > > > >> I am not able to start the nrpe as a service in sol 8. > > > > I'm assuming you mean daemon rather than service as its solaris. > > No, it is known as a service - for example, the man page for Solaris > inetd.conf describes the first field on the line as . > > >> THis is the entry I have in inetd.conf file. > >> > >> Nothing shows up in logs > >> > >> nrpe stream tcp nowait nagios /usr/local/nagios/nrpe > >> /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg --inetd > > I run nrpe using tcpwrappers and inetd on Solaris 8 so my inetd.conf > entry is slightly different, but that looks perfectly correct (presuming > there's a nagios user and Nagios is installed in /usr/local/nagios). > That suggests an error elsewhere. Is there an entry in /etc/services for > nrpe (port 5666/tcp)? Has inetd been restarted since inetd.conf was > changed? Running inetd in foreground debugging mode (see the man page > for how to do it) might give you some more information about what's > happening. > > Phil ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Jeremy.Russell at chickasaw.net Thu Jan 6 17:27:06 2005 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Thu, 6 Jan 2005 10:27:06 -0600 Subject: HP Insight and Nagios Message-ID: Hello all, I need some advice. Is anyone using Nagios with HP Insight, or just using Nagios to monitor hardware on Compaq systems? I need to monitor our Proliant hardware and would love to use Nagios and not Insight. Any help or direction would be appreciated. A few simple searches on the web have not turned up anything yet. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From sudheer at tgs-solutions.com Thu Jan 6 17:41:18 2005 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Thu, 06 Jan 2005 11:41:18 -0500 Subject: CHECK_NRPE is not working Message-ID: <41DD6A2E.50103@tgs-solutions.com> I am having this strange problem with check_nrpe . If I run it from command line it works. ./check_nrpe -H hostname -c check_disk1 DISK OK [217371 kB (50%) free on /dev/dsk/c0t0d0s0] If I run the same from nagios services.cfg define service{ host_name hostname service_description DISK is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups server-admins notification_interval 240 notification_period 24x7 notification_options u,c,r check_command check_nrpe!check_disk1 } I get an error saying No out put returned from plugin. Am I missing any trick here? Thanks, -- Sudheer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Darren.Kemp at xerox.com Thu Jan 6 19:13:03 2005 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Thu, 6 Jan 2005 13:13:03 -0500 Subject: CHECK_NRPE is not working Message-ID: <330CE9F92C02064B86090D40B479712FD4D1B1@usa0300ms04.na.xerox.net> What does your check_nrpe look like in command syntax? (typically in checkcommands.cfg) -dkk -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sudheer Muddappa Sent: Thursday, January 06, 2005 11:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] CHECK_NRPE is not working I am having this strange problem with check_nrpe . If I run it from command line it works. ./check_nrpe -H hostname -c check_disk1 DISK OK [217371 kB (50%) free on /dev/dsk/c0t0d0s0] If I run the same from nagios services.cfg define service{ host_name hostname service_description DISK is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups server-admins notification_interval 240 notification_period 24x7 notification_options u,c,r check_command check_nrpe!check_disk1 } I get an error saying No out put returned from plugin. Am I missing any trick here? Thanks, -- Sudheer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sudheer at tgs-solutions.com Thu Jan 6 19:55:09 2005 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Thu, 06 Jan 2005 13:55:09 -0500 Subject: CHECK_NRPE is not working In-Reply-To: <20050106164704.GG1816@zippy.toger.us> References: <41DD6A2E.50103@tgs-solutions.com> <20050106164704.GG1816@zippy.toger.us> Message-ID: <41DD898D.5010506@tgs-solutions.com> Ok. First of all I am trying to execute this on a remote machine. Correct me if I wrong, it should not matter for the host where I am running check_nrpe from. ( as long as it has the permission to run it) and it will execute the following command check_nrpe -H hastname -c check_disk1 on remote system hostname. So, i guess you want to know what I have it in nrpe.cfg file for check_disk1 plugin. command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p /dev/dsk/c0t0d0s0 And if i run this from a command line, it just runs fine. I am trying to run this from debian linux server running nagios on a solaris server 8 which has only nrpe and nagios plugins installed. From command line netmonitor:/usr/lib/nagios/plugins# ./check_nrpe -H hammer -c check_disk1 DISK OK [217370 kB (50%) free on /dev/dsk/c0t0d0s0] Thanks, Sudheer Jason Martin wrote: >On Thu, Jan 06, 2005 at 11:41:18AM -0500, Sudheer Muddappa wrote: > > >>I get an error saying No out put returned from plugin. >> >>t is Am I missing any trick here? >> >> >Can you include your command definition for check_nrpe? The >service definition is insufficient to know what is actually >being executed. > >-Jason Martin > > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From boinger at tradingtechnologies.com Thu Jan 6 16:18:03 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 06 Jan 2005 09:18:03 -0600 Subject: generic command wrapper? In-Reply-To: References: Message-ID: <1105024683.13636.52.camel@localhost> On Wed, 2005-01-05 at 18:55 -0600, Ben wrote: > I need to run a proprietary vendor tool to make a service check, but > unfortunately this tool is pretty awful and cannot be run more than > once > at a time. Is there any generic tool out there that somebody has > written > which would let me wrap a file lock and some timeout protection around > a > generic shell command? If I were you, I'd try to figure out what it's doing (tcpdump? trace? truss?) and re-write it properly. Then sell it back to them :) ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From strombrg at dcs.nac.uci.edu Thu Jan 6 19:27:12 2005 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Thu, 06 Jan 2005 10:27:12 -0800 Subject: unresolved externals Message-ID: <1105036032.19580.86.camel@tesuji.nac.uci.edu> Getting an application to compile without unresolved externals, particularly when porting from one *ix to another, is something of a FAQ. I see questions like this all the time, both on mailing lists, and "on the job". Consquently, I decided to write an application to try to help newbies sort out this kind of problem. The current incarnation is called "find-sym", and a URL where you can download it and usage follow: http://dcs.nac.uci.edu/~strombrg/find-sym.html tesuji-strombrg> ./find-sym Must specify either -s or -p Usage: ./find-sym [-l] [-i] [-v] [-h] [-s symbol] [-p] [-h] -l says to only check for libraries including the symbol -h says to only check for header files including the symbol -v says to run (very) verbosely -h gives help -s symbol says to check for only one symbol -p says to parse stdin for unresolved external messages from gcc, and search for each of them -l and -h are mutually exclusive -s and -p are mutually exclusive This is the most public announcement I've made of this program so far. Feedback would be valued. HTH. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From noyler at khimetrics.com Thu Jan 6 19:47:19 2005 From: noyler at khimetrics.com (Nathan Oyler) Date: Thu, 6 Jan 2005 11:47:19 -0700 Subject: CHECK_NRPE failing to finish running event handler. Message-ID: <59B15593F41BD24591D59436E7226EAD01374742@Khiphx2.khimetrics.com> This is a continuation to the previous problems I've been having. I have created an event handler to restart a service on a remote machine. I am calling the execution of the event handler through check_nrpe using the -c flag. The script runs fine on the server when run from the nagios user. The script starts fine if run through check_nrpe but dies half way through execution. I have the timeout set high, and it is not timing out. An strace of the command being run through check_nrpe shows a broken pipe halfway through execution. The script runs small things fine. Here I'm using sleep commands, and it takes a while for the whole thing to go, and again I'm getting a broken pipe. First, Is check_nrpe intended to run event handlers in this manner. Second, Would there be anything in the code of check_nrpe to fail if a given time frame was too long? I get the same error on 2 different check_nrpe plugins. I'm calling it explicitly with arguments, so the Nagios server is irrelevant. I can send the whole strace if you'd like, but it's incredibly large. Anything you could do to assist would be greatly appreciated. My intention is if I cannot get this working, I'll probably move to calling the script via an event handler on the Nagios server through ssh commands with keys. I'd rather not do this, as this is my understanding to how event handlers should be called. I do not have a very good understanding of strace output, and had someone else do the digging through it, but here's the part that he pointed to. [ --- STRACE OUTPUT ON SCRIPT RAN THROUGH CHECK_NRPE, SNIPPIT --- ] 21633 write(1, "Using CATALINA_BASE: /opt/tomc"..., 41) = -1 EPIPE (Broken pip e) 21633 --- SIGPIPE (Broken pipe) --- 21630 <... wait4 resumed> [WIFSIGNALED(s) && WTERMSIG(s) == SIGPIPE], 0, NULL) = 21633 21630 open("/usr/share/locale/locale.alias", O_RDONLY) = 3 21630 fstat64(3, {st_mode=S_IFREG|0644, st_size=2601, ...}) = 0 21630 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) [ --- END STRACE --- ] Nathan Oyler Information Technology 480-308-2342 Office Khimetrics Inc. Maximizing Sales & Profit Revenue Management from Khimetrics ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Thu Jan 6 20:04:15 2005 From: jhmartin at toger.us (Jason Martin) Date: Thu, 6 Jan 2005 11:04:15 -0800 Subject: CHECK_NRPE is not working In-Reply-To: <41DD898D.5010506@tgs-solutions.com> References: <41DD6A2E.50103@tgs-solutions.com> <20050106164704.GG1816@zippy.toger.us> <41DD898D.5010506@tgs-solutions.com> Message-ID: <20050106190415.GJ1816@zippy.toger.us> On Thu, Jan 06, 2005 at 01:55:09PM -0500, Sudheer Muddappa wrote: > Correct me if I wrong, it should not matter for the host where I am > running check_nrpe from. ( as long as it has the permission to run it) Correct, it does not matter. > So, i guess you want to know what I have it in nrpe.cfg file for > check_disk1 plugin. > > command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p > /dev/dsk/c0t0d0s0 Actually I'm more interested in your command defintion for check_nrpe. Somewhere in your nagios config is a stanza: define command { command_name check_nrpe [...] } That is the part I'm concerned about. You've verified that your NRPE configuration is good by manually executing check_nrpe. -Jason Martin -- On a scale of 1 to 10, 4 is about 7. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From darron at ops-snan.texlink.com Thu Jan 6 21:59:35 2005 From: darron at ops-snan.texlink.com (Darron) Date: Thu, 6 Jan 2005 14:59:35 -0600 Subject: Email notifications for Admins Message-ID: <016101c4f432$d0e44720$590010ac@texlinkcom.com> I've installed Nagios 2.0b1 this week and i've run into a problem. When I recieve email notifications that a host has went down, the Info and Date/Time sections just have a $ in the fields. Any ideas what I can look at to fix this problem? Your help is greatly appreciated!! Darron -------------- next part -------------- An HTML attachment was scrubbed... URL: From carson+nagiosusers at taltos.org Thu Jan 6 23:09:40 2005 From: carson+nagiosusers at taltos.org (Carson Gaspar) Date: Thu, 06 Jan 2005 17:09:40 -0500 Subject: More on notifications and reboot monitoring Message-ID: [ Resending from correct From address ] --On Thursday, January 06, 2005 2:51 PM +0100 Andreas Ericsson wrote: > Ehrm. The idea of scheduled downtime is to do this sort of thing. If you > want to add a script submitting a 5 minute (or something) downtime > whenever you run reboot, then by all means feel free. If you make it > clean I'm sure lots of other users would be interested. I don't think > it's a very good idea to keep that logic in the Nagios daemon though, as > it can never possibly guess if a host has been shut down or crashed, so I > don't quite see the point of this email. Care to clarify? I'll try again (3rd time lucky? ;-) ). We need: - Alarms when machines reboot unexpectedly - Alarms when machines fail to come back after a reboot - No alarms during normal scheduled reboots Scheduled downtime is great, except for one thing - if any alarms are received during scheduled downtime, no notifications go out. Ever. Even after downtime has ended. This is a result of the design decision to only see if notifications are required when receiving a new check result. As the only "pull" monitor in my environment is Ping, it's the only thing I can safely schedule downtime against (ignoring freshness checks for now). This is only really an issue when trying to get a "failed to reboot" alarm. I finally gave up, and just have the Ping service alarm if a reboot fails (as opposed to a more specific alarm). If you re-read my previous message, the only logic on the central nagios server is some basic dependency logic to prevent false alarms - all the work is done on the client in an init script (which submits passive check results and schedules downtime via an in-house queueing agent to Nagios' named pipe). It does work, I was just asking for opinions about it (as it seems a bit complex for my tastes). And yes, I fully understand freshness checks - they're wonderful for continuously monitored services, but don't really work for reboots (unless you have your agent constantly send "Reboot OK" status msgs while the machine is up), as they are hopefully rare events ;-) -- Carson ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From GWCOOK at mactec.com Thu Jan 6 22:21:09 2005 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 6 Jan 2005 14:21:09 -0700 Subject: Performance Information Message-ID: <41FD7929498A174DAB86C45F28E0EC0DDE544B@golden-m.mactec.com> I just noticed something, using Nagios 1.2. When logged into the Nagios web interface as a user that does not have rights to view 'everything', the 'Performance Info' link is accessible. This is cool, I think that anyone should be able to see how well the app is working. However, while the page says 'Program-Wide Performance Information' at the top, it appears as though the data in the tables only references the checks for which the user is a contact. Is this by design, or would you consider this a bug? If you are only seeing data pertaining to a portion of the checks, then it really shouldn't be considered 'Program-Wide', right? Can anyone using N2 verify if this works the same way in the new version? Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.273.5050 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at lds.dyndns.org Fri Jan 7 00:10:05 2005 From: nagios at lds.dyndns.org (Malcolms) Date: Thu, 6 Jan 2005 17:10:05 -0600 Subject: Email notifications for Admins References: <016101c4f432$d0e44720$590010ac@texlinkcom.com> Message-ID: <051501c4f444$dbe3a820$ca73f2d1@malcolm> ----- Original Message ----- From: "Darron" To: Sent: Thursday, January 06, 2005 2:59 PM >>I've installed Nagios 2.0b1 this week and i've run into a problem. When I recieve email notifications that a host has >>went down, the Info and Date/Time sections just have a $ in the fields. Any ideas what I can look at to fix this >>problem? Your help is greatly appreciated!! >>Darron I have the exact same problem. Malcolm ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From steve at n2sw.com Fri Jan 7 00:33:23 2005 From: steve at n2sw.com (steve) Date: Thu, 06 Jan 2005 18:33:23 -0500 Subject: nag 2.0 on solaris Message-ID: <41DDCAC3.6000904@n2sw.com> hi all if anybody ( and i am sure it was done) successfully installed nagios on solaris, can you please give me pointers, am geting an get_opt error when i try to make -------------- next part -------------- A non-text attachment was scrubbed... Name: steve.vcf Type: text/x-vcard Size: 774 bytes Desc: not available URL: From dlee at rewardsnetwork.com Fri Jan 7 01:52:36 2005 From: dlee at rewardsnetwork.com (Donjuma Lee) Date: Thu, 6 Jan 2005 19:52:36 -0500 Subject: Scheduled Downtime Message-ID: <3AB90612F99AB24A807558F96519CF3103852CAE@IRN-MAIL.idine.com> Will scheduling downtime for a host disable or hostgroup disable notifications only for the hostchecks or for the hostchecks and the service checks for that host? -------------- next part -------------- An HTML attachment was scrubbed... URL: From billwinkles at lucent.com Fri Jan 7 00:57:12 2005 From: billwinkles at lucent.com (Winkles, William (Bill)) Date: Thu, 6 Jan 2005 16:57:12 -0700 Subject: nag 2.0 on solaris Message-ID: <0DB72ED9B906754EB93DA5D814E66F320B3B3552@co7010exch004u.milehi.lucent.com> Use the 2.x(CVS). I had the same problem with 2.0b1. Bill -----Original Message----- From: steve [mailto:steve at n2sw.com] Sent: Thursday, January 06, 2005 4:33 PM To: nagios users Subject: [Nagios-users] nag 2.0 on solaris hi all if anybody ( and i am sure it was done) successfully installed nagios on solaris, can you please give me pointers, am geting an get_opt error when i try to make ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jsdavidson at hotmail.com Fri Jan 7 01:43:25 2005 From: jsdavidson at hotmail.com (Sam Davidson) Date: Thu, 06 Jan 2005 17:43:25 -0700 Subject: Need HELP with Process check command failing on FreeBSD Message-ID: I need someone smarter than me to help me with information regarding to the nagios_check_command in the cgi.cfg file. I cannot get this to work for some odd reason. I am running 2 instances of NAGIOS on 2 FreeBSD with versions 5.1 and 5.2.1. I get the same result from both machines. This is what I have for the value in the cgi.cfg file but this doesn?t work. I have tried moving the values around but that didn?t seem to make any difference. nagios_check_command=/usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log -e 5 -C '/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg' If I run check_nagios manually from the libexec/ I can only get it to work with this string - nagios# /usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log -e 5 -C /usr Nagios ok: located 9 processes, status log updated 2 seconds ago If I run it again with this variable or other variables I get the Could not find a running Nagios process! nagios# /usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log -e 5 -C /usr/local Could not locate a running Nagios process! I tried putting the values for the string that worked in the cgi.cfg file but still didn?t work I thought it may be a rights issue, so I added the www user in the nagios group to see if that would make any difference. But it didn?t. If there is anyone out there that can point me in the right direction for a solution I would be very grateful. Sam Davidson jsdavidson at hotmail.com AIM - jsamueldavidson MSN Messenger - jsdavidson at hotmail.com Yahoo Messenger - jsdavidson_84116 801.201.0195 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matt.burleigh at eiisolutions.net Fri Jan 7 02:56:39 2005 From: matt.burleigh at eiisolutions.net (Matt Burleigh) Date: Thu, 6 Jan 2005 20:56:39 -0500 Subject: Upgrading to 2.0b1 Message-ID: <59307E925F2697419E659CDC676CA8AC3263D7@ex01.eiisolutions.net> I'm trying to upgrade my 1.3 installation to a 2.0b1. I've gotten the basic installation finished. But nagios will not start. The output of nagios -v shows 0 warnings and 0 errors. The only thing I've really done is move contact_groups from the hostgroups.cfg and inserted in the generic-host definition in my hosts.cfg. I didn't notice anything noted as must change from the 2.0 docs... Thanks! ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at mm.quex.org Fri Jan 7 04:21:15 2005 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Fri, 7 Jan 2005 11:21:15 +0800 Subject: Email notifications for Admins In-Reply-To: <051501c4f444$dbe3a820$ca73f2d1@malcolm> References: <016101c4f432$d0e44720$590010ac@texlinkcom.com> <051501c4f444$dbe3a820$ca73f2d1@malcolm> Message-ID: <20050107032115.GA23087@quex.org> On Thu, Jan 06, 2005 at 05:10:05PM -0600, Malcolms wrote: >> I've installed Nagios 2.0b1 this week and i've run into a problem. >> When I recieve email notifications that a host has went down, the >> Info and Date/Time sections just have a $ in the fields. Any ideas >> what I can look at to fix this problem? Your help is greatly >> appreciated!! > > I have the exact same problem. The macro DATETIME has changed its name in Nagios 2, so replace it in your notification command with one of: $LONGDATETIME$ $SHORTDATETIME$ $DATE$ $TIME$ $TIMET$ http://nagios.sourceforge.net/docs/2_0/macros.html The date_format directive in the main config file also affects the formatting of these macros. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kaushalpatel at gmail.com Fri Jan 7 06:28:34 2005 From: kaushalpatel at gmail.com (Kaushal Patel) Date: Fri, 7 Jan 2005 00:28:34 -0500 Subject: Installation Problem in Nagios 2.0b1 Message-ID: <60b4a87c0501062128435e86ea@mail.gmail.com> Dear All, I am trying to install Nagios 2.0b1 as per the instructions given on http://www.onlamp.com/lpt/a/2688. But faced a problem in the last step. The problem is as follows. As said, I was trying to install Nagios from the steps given on the above website. Everything went fine but the last step. --------- In order to be able to use Nagios, we need a couple of configuration files. These files go into the etc directory, which will be created when you run the following: root at ducati:~/tmp/nagios/nagios-1.0b5# make install-config --------- Now, when I type this command it gives me the following error message. --------- [root at localhost nagios-2.0b1]# make install-config /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/n agios/etc /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/n agios.cfg /usr/local/nagios/etc/nagios.cfg-sample /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/c gi.cfg /usr/local/nagios/etc/cgi.cfg-sample /usr/bin/install -c -m 660 -o nagios -g nagios sample-config/r esource.cfg /usr/local/nagios/etc/resource.cfg-sample /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/t emplate-object/checkcommands.cfg /usr/local/nagios/etc/checkco mmands.cfg-sample /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/t emplate-object/contactgroups.cfg /usr/local/nagios/etc/contact groups.cfg-sample /usr/bin/install: cannot stat `sample-config/template-object/c ontactgroups.cfg': No such file or directory make: *** [install-config] Error 1 ////ERROR LINE [root at localhost nagios-2.0b1]# ---------- And, it does not finish the last step and thus installation. So, after this I did not try to install the plug-ins also, as this did not finish properly. If anyone has the solution or some other link then please reply. Let me tell you that I use Red Hat Linux 9 equivalent on KDE environment It is provided by our university and they call it UB Linux 3. I logged in as root while installing. System Info: Celeron 800 MHz, 256 MB RAM, Separate 10 GB partition for Linux with Windows XP on 30 GB partition -- Kaushal Patel MSEE, The State University of New York at Buffalo 90 Cornell Street Buffalo, NY 14214 Ph: 716-836-5674 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dlee at rewardsnetwork.com Fri Jan 7 06:44:36 2005 From: dlee at rewardsnetwork.com (Donjuma Lee) Date: Fri, 7 Jan 2005 00:44:36 -0500 Subject: Scheduled Downtime Message-ID: <3AB90612F99AB24A807558F96519CF3103852CB2@IRN-MAIL.idine.com> Never mind.? If you schedule downtime for all the services in a host group, you are given the option to also schedule downtime for host checks. ________________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Donjuma Lee Sent: Thursday, January 06, 2005 7:53 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Scheduled Downtime Will scheduling downtime for a host disable or hostgroup disable notifications only for the hostchecks or for the hostchecks and the service checks for that host? ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Philipp.Sand at sycor.de Fri Jan 7 07:59:42 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Fri, 7 Jan 2005 07:59:42 +0100 Subject: HP Insight and Nagios Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C9506@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, Watch out for the check_insight Plugin. I'm not sure if it's provided within the standard Plugins package.. If you can't find it, i can mail it to you, too. Workin fine here... /Philipp ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeremy Russell Sent: Thursday, January 06, 2005 5:27 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] HP Insight and Nagios Hello all, I need some advice. Is anyone using Nagios with HP Insight, or just using Nagios to monitor hardware on Compaq systems? I need to monitor our Proliant hardware and would love to use Nagios and not Insight. Any help or direction would be appreciated. A few simple searches on the web have not turned up anything yet. Thanks! ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Fri Jan 7 08:26:25 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Fri, 07 Jan 2005 08:26:25 +0100 Subject: Installation Problem in Nagios 2.0b1 In-Reply-To: <60b4a87c0501062128435e86ea@mail.gmail.com> References: <60b4a87c0501062128435e86ea@mail.gmail.com> Message-ID: <41DE39A1.3020409@interface-business.de> Kaushal Patel wrote: > Dear All, > I am trying to install Nagios 2.0b1 as per the instructions given on > http://www.onlamp.com/lpt/a/2688. But faced a problem in the last > step. > > The problem is as follows. As said, I was trying to install Nagios from the > steps given on the above website. Everything went fine but the last > step. > > --------- > In order to be able to use Nagios, we need a couple of configuration > files. These files go into the etc directory, which will be created > when you run the following: > > root at ducati:~/tmp/nagios/nagios-1.0b5# make install-config > --------- > > Now, when I type this command it gives me the following error message. > > --------- > [root at localhost nagios-2.0b1]# make install-config > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/n > agios/etc > /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/n > agios.cfg /usr/local/nagios/etc/nagios.cfg-sample > /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/c > gi.cfg /usr/local/nagios/etc/cgi.cfg-sample > /usr/bin/install -c -m 660 -o nagios -g nagios sample-config/r > esource.cfg /usr/local/nagios/etc/resource.cfg-sample > /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/t > > emplate-object/checkcommands.cfg /usr/local/nagios/etc/checkco > mmands.cfg-sample > /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/t > > emplate-object/contactgroups.cfg /usr/local/nagios/etc/contact > groups.cfg-sample > /usr/bin/install: cannot stat `sample-config/template-object/c > > ontactgroups.cfg': No such file or directory > make: *** [install-config] Error 1 ////ERROR LINE > [root at localhost nagios-2.0b1]# > ---------- > > And, it does not finish the last step and thus installation. So, after > this I did not try to install the plug-ins also, as this did not > finish properly. > > If anyone has the solution or some other link then please reply. > > Let me tell you that I use Red Hat Linux 9 equivalent on KDE > environment It is provided by our university and they call it UB Linux > 3. I logged in as root while installing. > System Info: > Celeron 800 MHz, 256 MB RAM, Separate 10 GB partition for Linux with > Windows XP on 30 GB partition > As far as i could see, the Makefile has some old entries. You can copy the config manually to your ../etc directory. The config files are in located in the sample-config/template.... dirs. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From benoit.mortier at opensides.be Thu Jan 6 23:17:16 2005 From: benoit.mortier at opensides.be (Benoit Mortier) Date: Thu, 6 Jan 2005 23:17:16 +0100 Subject: check_radius segfault In-Reply-To: <1104839750.3785.7.camel@localhost.localdomain> References: <1104839750.3785.7.camel@localhost.localdomain> Message-ID: <200501062317.17226.benoit.mortier@opensides.be> Le mardi 4 Janvier 2005 12:55, Fred Blaise a ?crit?: > Hello all > > I have check_radius segfaulting on me, when i pass the -F switch, such > as in: > ./check_radius -H scs1.excilan.net > -F /etc/radiusclient/radiusclient.conf > > here is the end of the strace: > open("/etc/radiusclient/dictionary", O_RDONLY) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=6502, ...}) = 0 > old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, > -1, 0) = 0x40018000 > read(3, "#\n# Updated 97/06/13 to livingst"..., 4096) = 4096 > read(3, "\t7\nVALUE\t\tAcct-Status-Type\tAccou"..., 4096) = 2406 > read(3, "", 4096) = 0 > close(3) = 0 > munmap(0x40018000, 4096) = 0 > --- SIGSEGV (Segmentation fault) @ 0 (0) --- > +++ killed by SIGSEGV +++ could you open a bug on the nagiosplug project on sourceforge so we can follow this problem. thanks -- Benoit Mortier Linux Engineer www.opensides.be ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Ton.Voon at egg.com Fri Jan 7 09:28:00 2005 From: Ton.Voon at egg.com (Voon, Ton) Date: Fri, 7 Jan 2005 08:28:00 -0000 Subject: Need HELP with Process check command failing o n FreeBSD Message-ID: Sam, Please try the latest snapshot for the nagios plugins at http://nagiosplug.sf.net/snapshot. This contains the latest release which has had some changes for FreeBSD. General hints: make sure the command works on the command line before using it in the cgi.cfg; this would probably be a post to nagiosplug-help rather than nagios-users. Ton -----Original Message----- From: Sam Davidson [mailto:jsdavidson at hotmail.com] Sent: 07 January 2005 00:43 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Need HELP with Process check command failing on FreeBSD I need someone smarter than me to help me with information regarding to the nagios_check_command in the cgi.cfg file. I cannot get this to work for some odd reason. I am running 2 instances of NAGIOS on 2 FreeBSD with versions 5.1 and 5.2.1. I get the same result from both machines. This is what I have for the value in the cgi.cfg file but this doesn't work. I have tried moving the values around but that didn't seem to make any difference. nagios_check_command=/usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log -e 5 -C '/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg' If I run check_nagios manually from the libexec/ I can only get it to work with this string - nagios# /usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log -e 5 -C /usr Nagios ok: located 9 processes, status log updated 2 seconds ago If I run it again with this variable or other variables I get the Could not find a running Nagios process! nagios# /usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log -e 5 -C /usr/local Could not locate a running Nagios process! I tried putting the values for the string that worked in the cgi.cfg file but still didn't work I thought it may be a rights issue, so I added the www user in the nagios group to see if that would make any difference. But it didn't. If there is anyone out there that can point me in the right direction for a solution I would be very grateful. Sam Davidson jsdavidson at hotmail.com AIM - jsamueldavidson MSN Messenger - jsdavidson at hotmail.com Yahoo Messenger - jsdavidson_84116 801.201.0195 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which is authorised and regulated by the Financial Services Authority. Egg Investments Ltd. is entered in the FSA register under number 190518. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Fri Jan 7 10:09:57 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Fri, 07 Jan 2005 10:09:57 +0100 Subject: Check size of a Windows Server <--- Service In-Reply-To: References: <90D32590BAD135448DC12C1EA3EB4482209E14@epsewr01.ewrlan.ewr.int> Message-ID: <41DE51E5.1060403@interface-business.de> Anthony Montibello wrote: > HI, > > Just wanted to let you know you can also use NC_Net. It accepts the > same syntax as nsclient. NC_Net also includes a Performance Counter > Viewer That may be helpful in setting up the correct counter/instance. > http://www.shatterit.com/NC_Net/ > > Good Luck, > Happy New Year > > Tony > > > On Thu, 30 Dec 2004 06:57:59 +0100, Wengrzik, Andreas wrote: > >>Hi! >> >>I had a wrong word in my subject for this thread.... :) >>I need to check the size of a service, not a server .... >> >>Umm i will look forward to test pnsclient, but i think nrpe does the same >>but with more options? >> >>I wish anyone in the list a Happy New Year!!! >> >>-andreas >> >> >>>>I use NRPE to check some Windows services now i need to check >>>>the size of one service >>>>because it not really crash&close he crashs an get only a >>>>lower size in system memory. >>>> >>>>Anyone done a check for service size before? >>> >>>If you're after what I think, then you can do it with >>>pNSclient. Check the >>>perfMon counters -- there's a place for resource usage on a >>>per-process >>>basis and you can search for the process name. This should >>>be able to give >>>you what you want? We're doing something similar for memory >>>use by our SQL >>>Server processes. >>> >>>Since pNSclient can also monitor services, you might be >>>better off using >>>just pnsclient unless you are using NRPE to run custom >>>scripts or to restart >>>stopped services. >>> >>>Steve >>> >>>--- >>>Steve Shipway: ITSS, University of Auckland >>>Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ >>>** We can only discover new oceans when we have the ** >>>** courage to lose sight of the shore. ** >>> >> If have an example: define service { host_name service_description MEMORY_tomcat check_command check_nt!COUNTER!"\\Prozess(tomcat)\\Virtuelle Gr??e"," %.0f/10 Bytes used"!2500000000!3000000000 use generic-service-wo-perf normal_check_interval 10 } check the returned number please. In my environment the returned size was factor 10 to big. I don't know why. Stephan aka Momocat at forum.luebben-home ;) ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From shawn at nccsc.k12.in.us Fri Jan 7 13:52:27 2005 From: shawn at nccsc.k12.in.us (Shawn Iverson) Date: Fri, 7 Jan 2005 07:52:27 -0500 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) Message-ID: <7ADE11986184154083869D43D0B06D447B7CAF@exchange.nccsc.k12.in.us> Have you tested your Kerberos configuration? It may give you some more clues on what is wrong: kinit user at YOUR.DOMAIN.ORG Then, if you don't receive an error, check for a kerberos ticket. klist On Wednesday, January 05, 2005 5:02 PM, Dimitri Yioulos wrote: > >Shawn, > >Thanks for the above post. > >Unfortunately, I'm having a problem. Samba is installed and >has been working successfully for some time using ADS. >However, my nagios login doesn't work. Here's the output from syslog: > >Jan 5 16:54:39 kingston httpd: pam_krb5: authenticate error: >KRB5 error code 52 (-1765328332) Jan 5 16:54:39 kingston Error code 52? Error code 52 is: KRB5KRB_ERR_RESPONSE_TOO_BIG: Response too big for UDP, retry with TCP I will need to research this error some more. Perhaps there is a way to tell kerberos to use tcp in krb5.conf? In the meantime, please check out the kerberos mailing lists and kerberos documentation. >httpd: pam_krb5: authentication fails for `dyioulos' Jan 5 >16:54:39 kingston httpd(pam_unix)[8513]: authentication >failure; logname= uid=48 euid=48 tty= ruser= rhost= user=dyioulos The second error from pam_unix is irrelevant. Authentication was passed on to pam_unix, and it of course failed. > >What have I done wrong? > >Thanks. > >Dimitri > > > Let me know what you find out. Shawn ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Fri Jan 7 14:37:33 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 07 Jan 2005 14:37:33 +0100 Subject: More on notifications and reboot monitoring In-Reply-To: References: Message-ID: <41DE909D.90005@op5.se> Carson Gaspar wrote: > [ Resending from correct From address ] > > --On Thursday, January 06, 2005 2:51 PM +0100 Andreas Ericsson > wrote: > >> Ehrm. The idea of scheduled downtime is to do this sort of thing. If you >> want to add a script submitting a 5 minute (or something) downtime >> whenever you run reboot, then by all means feel free. If you make it >> clean I'm sure lots of other users would be interested. I don't think >> it's a very good idea to keep that logic in the Nagios daemon though, as >> it can never possibly guess if a host has been shut down or crashed, so I >> don't quite see the point of this email. Care to clarify? > > > I'll try again (3rd time lucky? ;-) ). > > We need: > > - Alarms when machines reboot unexpectedly > - Alarms when machines fail to come back after a reboot > - No alarms during normal scheduled reboots > > Scheduled downtime is great, except for one thing - if any alarms are > received during scheduled downtime, no notifications go out. Ever. This is a bug or a missing feature. It will be fixed. > Even > after downtime has ended. This is a result of the design decision to > only see if notifications are required when receiving a new check > result. Nagios handles the host when it comes out of scheduled downtime, so there's no real reason it shouldn't check what the status was prior to downtime and match against current upon a host exiting. It's a minor change, and shouldn't be too hard to add. > As the only "pull" monitor in my environment is Ping, it's the > only thing I can safely schedule downtime against (ignoring freshness > checks for now). This is only really an issue when trying to get a > "failed to reboot" alarm. I finally gave up, and just have the Ping > service alarm if a reboot fails (as opposed to a more specific alarm). > > If you re-read my previous message, the only logic on the central nagios > server is some basic dependency logic to prevent false alarms - all the > work is done on the client in an init script (which submits passive > check results and schedules downtime via an in-house queueing agent to > Nagios' named pipe). It does work, I was just asking for opinions about > it (as it seems a bit complex for my tastes). > It was unclear to me that you were simply asking the opinion, which is why I responded the way I did. As for my opinion; Whatever works. > And yes, I fully understand freshness checks - they're wonderful for > continuously monitored services, but don't really work for reboots > (unless you have your agent constantly send "Reboot OK" status msgs > while the machine is up), as they are hopefully rare events ;-) > Why not simply set a higher max_check_attempts or retry_interval for the ping services? That way you'll get soft down when the machine is actually down, but no alerts will go out. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Fri Jan 7 14:40:31 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 07 Jan 2005 14:40:31 +0100 Subject: Check size of a Windows Server <--- Service In-Reply-To: <41DE51E5.1060403@interface-business.de> References: <90D32590BAD135448DC12C1EA3EB4482209E14@epsewr01.ewrlan.ewr.int> <41DE51E5.1060403@interface-business.de> Message-ID: <41DE914F.30202@op5.se> Stephan Janosch wrote: > Anthony Montibello wrote: > >> HI, >> >> Just wanted to let you know you can also use NC_Net. It accepts the >> same syntax as nsclient. NC_Net also includes a Performance Counter >> Viewer That may be helpful in setting up the correct counter/instance. >> http://www.shatterit.com/NC_Net/ >> >> Good Luck, >> Happy New Year >> >> Tony >> >> >> On Thu, 30 Dec 2004 06:57:59 +0100, Wengrzik, Andreas >> wrote: >> >>> Hi! >>> >>> I had a wrong word in my subject for this thread.... :) >>> I need to check the size of a service, not a server .... >>> >>> Umm i will look forward to test pnsclient, but i think nrpe does the >>> same >>> but with more options? >>> >>> I wish anyone in the list a Happy New Year!!! >>> >>> -andreas >>> >>> >>>>> I use NRPE to check some Windows services now i need to check >>>>> the size of one service >>>>> because it not really crash&close he crashs an get only a >>>>> lower size in system memory. >>>>> >>>>> Anyone done a check for service size before? >>>> >>>> >>>> If you're after what I think, then you can do it with >>>> pNSclient. Check the >>>> perfMon counters -- there's a place for resource usage on a >>>> per-process >>>> basis and you can search for the process name. This should >>>> be able to give >>>> you what you want? We're doing something similar for memory >>>> use by our SQL >>>> Server processes. >>>> >>>> Since pNSclient can also monitor services, you might be >>>> better off using >>>> just pnsclient unless you are using NRPE to run custom >>>> scripts or to restart >>>> stopped services. >>>> >>>> Steve >>>> >>>> --- >>>> Steve Shipway: ITSS, University of Auckland >>>> Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ >>>> ** We can only discover new oceans when we have the ** >>>> ** courage to lose sight of the shore. ** >>>> >>> > > > If have an example: > > define service { > host_name > service_description MEMORY_tomcat > check_command check_nt!COUNTER!"\\Prozess(tomcat)\\Virtuelle Gr??e"," > %.0f/10 Bytes used"!2500000000!3000000000 > use generic-service-wo-perf > normal_check_interval 10 > } > > check the returned number please. In my environment the returned size > was factor 10 to big. I don't know why. > I don't think check_nt understands that you want to divide it by 10, which would explain the whole thing. Does the check_nt documentation tell you that it should be able to? > Stephan > aka Momocat at forum.luebben-home ;) > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gimenez at cict.fr Fri Jan 7 15:06:14 2005 From: gimenez at cict.fr (carole gimenez) Date: Fri, 07 Jan 2005 15:06:14 +0100 Subject: Problem with the restarting of nrpe deamon Message-ID: <41DE9756.2090403@cict.fr> Hi, I check with the help of nrpe addon (version 2.0) the local services (disk space, swap space, load, total processes) of a remote host which is a sun server (solaris 8). When this host reboot, the nrpe deamon restart well but only the check_disk is OK. The others checks returns this message: NRPE: Unable to read output I don't understand why it's happens. Nagios monitors others sun servers checking also local services and all works fine when the hosts restart. The init script for nrpe is the following: #!/bin/sh # # Created 2000-01-03 by jaclu at grm.se # # nrpe This shell script takes care of starting and stopping # nrpe. # # chkconfig: 2345 80 30 # description: nrpe is a daemon for a remote nagios server, \ # running nagios plugins on this host. # processname: nrpe # config: /usr/local/nagios/etc/nrpe.cfg LD_LIBRARY_PATH=/usr/local/ssl/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH NrpeBin=/usr/local/nagios/bin/nrpe NrpeCfg=/usr/local/nagios/etc/nrpe.cfg # See how we were called. case "$1" in start) # Start daemons. echo "Starting nrpe: " $NrpeBin -c $NrpeCfg -d echo ;; stop) # Stop daemons. echo -n "Shutting down nrpe: " ;; restart) ;; status) status nrpe ;; *) echo "Usage: nrpe {start|stop|restart|status}" exit 1 esac exit 0 Does someone have an idea? Thank for advance. Carole. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Fri Jan 7 15:00:22 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Fri, 07 Jan 2005 15:00:22 +0100 Subject: Check size of a Windows Server <--- Service In-Reply-To: <41DE914F.30202@op5.se> References: <90D32590BAD135448DC12C1EA3EB4482209E14@epsewr01.ewrlan.ewr.int> <41DE51E5.1060403@interface-business.de> <41DE914F.30202@op5.se> Message-ID: <41DE95F6.2040307@interface-business.de> [snip] > > I don't think check_nt understands that you want to divide it by 10, > which would explain the whole thing. Does the check_nt documentation > tell you that it should be able to? > > [snip] Of course check_nt doesn't. It's only a personal reminder for me. When I see some numbers like 713456234, it reminds me, that about 71 Megs are used and not ~713 Megs. So don't worry about that "/10". ;-) Stephan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From h.januschka at krone.at Fri Jan 7 16:16:35 2005 From: h.januschka at krone.at (Helmut W. Januschka) Date: Fri, 7 Jan 2005 16:16:35 +0100 Subject: AW: More sophistic notification Message-ID: <481EAEA6BAED9A4EAF26BA149197AA3E0135560C@office1.online.krone.at> Hi, I m not sure if nagios can do that, but from my point of view a critical service can never be "no problem" :-) my tipp is to tweak the plugin parameters or modify the plugins so that a service is only critical when there is a problem regards helmut -----Urspr?ngliche Nachricht----- Von: Jevos, Peter [mailto:Peter.Jevos at Oriflame-SW.Com] Gesendet: Freitag, 07. J?nner 2005 16:05 An: 'nagios-users at lists.sourceforge.net' Betreff: [Nagios-users] More sophistic notification Hello I've one question. Is Nagios capable to give more sophisticated notifications ? What I mean ? Let's example. I'm monitoring on one machine few values ( cpu, memory , proccesses etc) There are plugins in Nagios which can monitor these values and send notifications if values are out of normal (warning, critical state). But I'd like to get only one notification if group of measure values are in critical state. To my example, one group of my measures values on one machine are: CPUload, MEM, Proccesses. So I'd like to get notification when all of these values are in critical state, not only two. The first purpose of this is that 2 values on one machine in critical state doesn't' have to be problem, but 4 or five is problem. The second purpose is to avoid to get false alarms cause CPU in critical state could be a normal in some environment and when you'll get hundreds notifications per day you will probably ignore it. So is this possible to define some group of alarms and on the basis of theme to send notification that host is in critical state cause all of measure values are in critical state? Thanx a lot for an answers and ideas peter -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephan.janosch at interface-business.de Fri Jan 7 16:26:10 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Fri, 07 Jan 2005 16:26:10 +0100 Subject: More sophistic notification In-Reply-To: References: Message-ID: <41DEAA12.10002@interface-business.de> Jevos, Peter wrote: > > Hello > I've one question. Is Nagios capable to give more sophisticated > notifications ? What I mean ? > Let's example. I'm monitoring on one machine few values ( cpu, memory > , proccesses etc) There are plugins in Nagios which can monitor these > values and send notifications if values are out of normal (warning, > critical state). But I'd like to get only one notification if group of > measure values are in critical state. To my example, one group of my > measures values on one machine are: CPUload, MEM, Proccesses. So I'd > like to get notification when all of these values are in critical state, > not only two. The first purpose of this is that 2 values on one machine > in critical state doesn't' have to be problem, but 4 or five is problem. > The second purpose is to avoid to get false alarms cause CPU in critical > state could be a normal in some environment and when you'll get hundreds > notifications per day you will probably ignore it. > > So is this possible to define some group of alarms and on the basis of > theme to send notification that host is in critical state cause all of > measure values are in critical state? > > Thanx a lot for an answers and ideas > peter > Hi Peter! Perhaps check_cluster2 is a solution for your problem. Otherwise you could wrap some plugins and build so a "cluster wrapper" plugin on yourself. These were only ideas, I don't need something like this, yet. Stephan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sheeri.kritzer at tufts.edu Fri Jan 7 17:09:48 2005 From: sheeri.kritzer at tufts.edu (Sheeri Kritzer) Date: Fri, 7 Jan 2005 11:09:48 -0500 Subject: More sophistic notification In-Reply-To: References: Message-ID: <1105114188.41deb44cd3e4d@webmail.tufts.edu> Dear Peter, Nagios is very simple, and that's one of its greatest assets. What you propose CAN be done. Nagios checks are scripts that are run, some with parameters, that output one of four exit states (CRITICAL, WARNING, UNKNOWN and OK), and maybe other things. If you can write a script that outputs one of those 4 exit states, you can do anything in Nagios. In your example, you want to write a script that calls the checks for CPU/load, memory, and processes. It should remember the exit value for each, and after the third check it should output one exit code for all three -- for instance, if 2 or 3 checks return critical then your overall check should be critical. There are many permutations, too -- when do you go WARNING -- when 2 or 3 are warning? or when 1 is critical? etc. Anyway, I'd suggest writing the ubercheck to run all 3 checks, and then configure nagios to only use the ubercheck (that one will call all 3 checks). This is all in the documentation. I don't know if it's a FAQ, but it probably should be. (ie, "Is there a check that. . . ?) -Sheeri Kritzer Systems Administrator University Systems Group Tufts University 617-627-3925 sheeri.kritzer at tufts.edu Quoting "Jevos, Peter" : > > Hello > I've one question. Is Nagios capable to give more sophisticated > notifications ? What I mean ? > Let's example. I'm monitoring on one machine few values ( cpu, memory , > proccesses etc) There are plugins in Nagios which can monitor these values > and send notifications if values are out of normal (warning, critical > state). But I'd like to get only one notification if group of measure values > are in critical state. To my example, one group of my measures values on one > machine are: CPUload, MEM, Proccesses. So I'd like to get notification when > all of these values are in critical state, not only two. The first purpose > of this is that 2 values on one machine in critical state doesn't' have to > be problem, but 4 or five is problem. The second purpose is to avoid to get > false alarms cause CPU in critical state could be a normal in some > environment and when you'll get hundreds notifications per day you will > probably ignore it. > So is this possible to define some group of alarms and on the basis of theme > to send notification that host is in critical state cause all of measure > values are in critical state? > Thanx a lot for an answers and ideas > peter > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dyioulos at firstbhph.com Fri Jan 7 17:25:46 2005 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Fri, 7 Jan 2005 11:25:46 -0500 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) In-Reply-To: <7ADE11986184154083869D43D0B06D447B7CAF@exchange.nccsc.k12.in.us> References: <7ADE11986184154083869D43D0B06D447B7CAF@exchange.nccsc.k12.in.us> Message-ID: <200501071618.j07GILVs007687@mail1.firstbhph.com> kinit user at YOUR.DOMAIN.ORG returns: kinit(v5): KRB5 error code 52 while getting initial credentials Does this error have to do with Windows kerberos ? Sorry, I know this isn't a kerberos-related mailing list, but if you could tell me what I'm doing wrong, it would be greatly appreciated. Googling doesn't produce anything useful. Dimitri -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Shawn Iverson Sent: Friday, January 07, 2005 7:52 AM To: Dimitri Yioulos Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios Authentication with Active Directory (Slightly Off-Topic) Have you tested your Kerberos configuration? It may give you some more clues on what is wrong: kinit user at YOUR.DOMAIN.ORG Then, if you don't receive an error, check for a kerberos ticket. klist ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matt.garrett at shell.com Fri Jan 7 17:39:02 2005 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITISEEEE) Date: Fri, 7 Jan 2005 16:39:02 -0000 Subject: Nag 2.X on Solaris 8 Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D50147871B@abe-s-039.europe.shell.com> Folks Trying to get Nagios 2.X CVS as of 06/01/2005 To compile on Solaris 8 I get the following error's # make all cd ./base && make make[1]: Entering directory `/local/data1/nagios-2.0b1/src/base' gcc -g -O2 -I/usr/local/include -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/local/perl/lib/5.6.1/sun4-solaris/CORE -DWITH_THREADS -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o notifications.o sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o perlxsi.o -L/usr/local/lib -Wl,-E -L/usr/local/lib /local/perl/lib/5.6.1/sun4-solaris/auto/DynaLoader/DynaLoader.a -L/local/perl/lib/5.6.1/sun4-solaris/CORE -lperl -lsocket -lnsl -ldl -lm -lc -lm -lnsl -lsocket -lpthread -ldl -lrt /usr/ccs/bin/ld: illegal option -- E usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s) Any idea's Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: From timothy at icts.uct.ac.za Fri Jan 7 16:47:16 2005 From: timothy at icts.uct.ac.za (Timothy Carr) Date: Fri, 07 Jan 2005 17:47:16 +0200 Subject: Service dependencies Message-ID: <41DEAF04.6010009@icts.uct.ac.za> Hi, I cannot seem to find enough documentation relating to service dependencies. Basically when a host has been clasified as critical and cannot be reached, nagios should not send out notifications for every service being monitored on that host but rather just a overall notification that the HOST is down. Any comments would be appreciated. -- Tim ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jan 7 17:50:27 2005 From: marc at ena.com (Marc Powell) Date: Fri, 7 Jan 2005 10:50:27 -0600 Subject: Service dependencies Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835E04@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Timothy Carr > Sent: Friday, January 07, 2005 9:47 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Service dependencies > > Hi, > > I cannot seem to find enough documentation relating to service > dependencies. Basically when a host has been clasified as critical and > cannot be reached, nagios should not send out notifications for every > service being monitored on that host but rather just a overall > notification that the HOST is down. Any comments would be appreciated. Nagios does this by default as long as you have a host check_command that will return CRITICAL or UNREACHABLE when the host is down. Service dependencies are designed to tie together different services on the same machine or services on different machines. For example, a web site check and the HTTP service that it depends on. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Peter.Jevos at Oriflame-SW.Com Fri Jan 7 16:04:46 2005 From: Peter.Jevos at Oriflame-SW.Com (Jevos, Peter) Date: Fri, 7 Jan 2005 16:04:46 +0100 Subject: More sophistic notification Message-ID: Hello I've one question. Is Nagios capable to give more sophisticated notifications ? What I mean ? Let's example. I'm monitoring on one machine few values ( cpu, memory , proccesses etc) There are plugins in Nagios which can monitor these values and send notifications if values are out of normal (warning, critical state). But I'd like to get only one notification if group of measure values are in critical state. To my example, one group of my measures values on one machine are: CPUload, MEM, Proccesses. So I'd like to get notification when all of these values are in critical state, not only two. The first purpose of this is that 2 values on one machine in critical state doesn't' have to be problem, but 4 or five is problem. The second purpose is to avoid to get false alarms cause CPU in critical state could be a normal in some environment and when you'll get hundreds notifications per day you will probably ignore it. So is this possible to define some group of alarms and on the basis of theme to send notification that host is in critical state cause all of measure values are in critical state? Thanx a lot for an answers and ideas peter -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Fri Jan 7 18:31:39 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 07 Jan 2005 18:31:39 +0100 Subject: Check size of a Windows Server <--- Service In-Reply-To: <41DE95F6.2040307@interface-business.de> References: <90D32590BAD135448DC12C1EA3EB4482209E14@epsewr01.ewrlan.ewr.int> <41DE51E5.1060403@interface-business.de> <41DE914F.30202@op5.se> <41DE95F6.2040307@interface-business.de> Message-ID: <41DEC77B.2050204@op5.se> Stephan Janosch wrote: > [snip] > >> >> I don't think check_nt understands that you want to divide it by 10, >> which would explain the whole thing. Does the check_nt documentation >> tell you that it should be able to? >> >> > [snip] > > Of course check_nt doesn't. It's only a personal reminder for me. When I > see some numbers like 713456234, it reminds me, that about 71 Megs are > used and not ~713 Megs. So don't worry about that "/10". ;-) > Umm... 713456234 would suggest 713 megs (actually more like 680, but...) unless NT keeps its performance counters in bits instead of bytes (which would be really stupid and a great waste of registers during calculation). What does the windows task manager tell you about it? > Stephan > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From quanah at stanford.edu Fri Jan 7 18:44:27 2005 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Fri, 07 Jan 2005 09:44:27 -0800 Subject: Nag 2.X on Solaris 8 In-Reply-To: <4E88F6699E4BAE41B724A3EC3CC457D50147871B@abe-s-039.europe.shell.com> References: <4E88F6699E4BAE41B724A3EC3CC457D50147871B@abe-s-039.europe.shell .com> Message-ID: <297CE169E23A0DB9396FEFFA@cadabra-dsl.stanford.edu> --On Friday, January 07, 2005 4:39 PM +0000 "Garrett, Matt M SITI-ITISEEEE" wrote: > > Folks > > Trying to get Nagios 2.X CVS as of 06/01/2005 > > To compile on Solaris 8 > > I get the following error's > ># make all > cd ./base && make > make[1]: Entering directory `/local/data1/nagios-2.0b1/src/base' > gcc -g -O2 -I/usr/local/include -fno-strict-aliasing > -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -I/local/perl/lib/5.6.1/sun4-solaris/CORE -DWITH_THREADS -DHAVE_CONFIG_H > -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o > commands.o events.o flapping.o logging.o notifications.o sehandlers.o > utils.o retention-base.o xretention-base.o comments-base.o > xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o > xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o > xdowntime-base.o perlxsi.o -L/usr/local/lib -Wl,-E -L/usr/local/lib > /local/perl/lib/5.6.1/sun4-solaris/auto/DynaLoader/DynaLoader.a > -L/local/perl/lib/5.6.1/sun4-solaris/CORE -lperl -lsocket -lnsl -ldl -lm > -lc -lm -lnsl -lsocket -lpthread -ldl -lrt > > /usr/ccs/bin/ld: illegal option -- E > > usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] > file(s) > > Any idea's Use GNU ld instead of Solaris ld? tribes:~> ld -v GNU ld version 2.13.2.1 tribes:~> ld -E ld: no input files --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html "These censorship operations against schools and libraries are stronger than ever in the present religio-political climate. They often focus on fantasy and sf books, which foster that deadly enemy to bigotry and blind faith, the imagination." -- Ursula K. Le Guin ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From shawn at nccsc.k12.in.us Fri Jan 7 19:53:40 2005 From: shawn at nccsc.k12.in.us (Shawn Iverson) Date: Fri, 7 Jan 2005 13:53:40 -0500 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) Message-ID: <7ADE11986184154083869D43D0B06D447B7CB8@exchange.nccsc.k12.in.us> There's some info from comp.prototcols.kerberos (google groups, see below) It sounds like you need to do the following to check your DNS kerberos configuration: dig _kerberos._udp.REALMNAMEFQDN srv dig _kerberos._tcp.REALMNAMEFQDN srv It sounds like error 52 should only ever occur when the srv resource records for kerberos on your DNS server are set to allow only UDP authentication. I presume that when you execute the latter command you might get an unexpected response. If so, you need to fix your srv resource records on your DNS server to allow TCP. BTW, are you using DNS from your Windows 2003 Servers or from another source? Make sure you have only one kinit on your system. If none of this is helpful, send me details about your version of kerberos that you are using, your OS, whether you installed it as a package or as source, etc. Here is my DNS answer section for both (specifics removed): ;; QUESTION SECTION: ;_kerberos._tcp.MYREALM. IN SRV ;; ANSWER SECTION: _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. ;; ADDITIONAL SECTION: XXXXXX.myrealm. 3600 IN A x.x.x.x XXXXXX.myrealm. 3600 IN A x.x.x.x ;; Query time: 1 msec ;; SERVER: x.x.x.x#53(x.x.x.x) ;; WHEN: Fri Jan 7 13:34:47 2005 ;; MSG SIZE rcvd: 504 ; <<>> DiG 9.2.4 <<>> _kerberos._udp.MYREALM srv ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7178 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 10, AUTHORITY: 0, ADDITIONAL: 2 ;; QUESTION SECTION: ;_kerberos._udp.myrealm. IN SRV ;; ANSWER SECTION: _kerberos._udp.MYREALM. 600 IN SRV 0 100 88 xxxxxxx.nccsc.k12.in.us. _kerberos._udp.MYREALM. 600 IN SRV 0 100 88 xxxxxxx.nccsc.k12.in.us. Etc... On Jun 10 2003, 5:02 pm Ken Raeburn on comp.protocols.kerberos wrote: > > >Uli Schr?der writes: > > > >> Nevertheless if I do a kinit for my my normal account it fails with >> error code 52. No change between krb5-1.2.7 and krb5-1.3. > > >Is it saying "KRB5 error code 52" exactly? That shouldn't be in the >source code for the 1.3 snapshot. The error message is now "Response >too big for UDP, retry with TCP", and shouldn't be displayed unless >the server sends that error code over a TCP connection, or the client >library thinks that TCP service isn't available for some reason, which >should only happen if you have DNS SRV records that indicate only UDP >service is available (try "dig _kerberos._udp.REALMNAME srv", and try >with _tcp instead of _udp) and the config files don't list the KDCs at >all. On Jun 11 2003, 9:29 am Uli Schr?der wrote on comp.protocols.kerberos: >"Ken Raeburn" schrieb im Newsbeitrag >news:tx1of15se7f.fsf at mit.edu... > >> ... >> > Nevertheless if I do a kinit for my my normal account it fails with >> > error code 52. No change between krb5-1.2.7 and krb5-1.3. > >> Is it saying "KRB5 error code 52" exactly? That shouldn't be in the >> source code for the 1.3 snapshot. The error message is now "Response >> too big for UDP, retry with TCP", and shouldn't be displayed unless >> the server sends that error code over a TCP connection, or the client >> library thinks that TCP service isn't available for some reason, which >> should only happen if you have DNS SRV records that indicate only UDP >> service is available (try "dig _kerberos._udp.REALMNAME srv", and try >> with _tcp instead of _udp) and the config files don't list the KDCs at >> all. > > > >I had another kinit in the my path. I wasn't aware of that. I thought I >had deleted all the old stuff. Now the new kinit workes great. I can use >kinit with my own account. No more error 52! :) > Shawn Iverson On Friday, January 07, 2005 11:26 AM Dimitri wrote: >kinit user at YOUR.DOMAIN.ORG returns: > >kinit(v5): KRB5 error code 52 while getting initial credentials > >Does this error have to do with Windows kerberos ? > >Sorry, I know this isn't a kerberos-related mailing list, but >if you could tell me what I'm doing wrong, it would be greatly >appreciated. Googling doesn't produce anything useful. > >Dimitri > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dyioulos at firstbhph.com Fri Jan 7 20:44:35 2005 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Fri, 7 Jan 2005 14:44:35 -0500 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) In-Reply-To: <7ADE11986184154083869D43D0B06D447B7CB8@exchange.nccsc.k12.in.us> References: <7ADE11986184154083869D43D0B06D447B7CB8@exchange.nccsc.k12.in.us> Message-ID: <200501071937.j07JbAoj010130@mail1.firstbhph.com> Shawn, First, output of dig _kerberos.tcp.HEADQUARTERS.FIRSTBHPH.COM srv ; <<>> DiG 9.2.4rc6 <<>> _kerberos.tcp.HEADQUARTERS.FIRSTBHPH.COM srv ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 13282 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;_kerberos.tcp.HEADQUARTERS.FIRSTBHPH.COM. IN SRV ;; AUTHORITY SECTION: firstbhph.com. 3600 IN SOA rockland.headquarters.firstbhph.com. hostmaster.headquarters.firstbhph.com. 391 900 600 86400 3600 and dig _kerberos.udp.HEADQUARTERS.FIRSTBHPH.COM srv ; <<>> DiG 9.2.4rc6 <<>> _kerberos.udp.HEADQUARTERS.FIRSTBHPH.COM srv ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 43578 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;_kerberos.udp.HEADQUARTERS.FIRSTBHPH.COM. IN SRV ;; AUTHORITY SECTION: firstbhph.com. 3600 IN SOA rockland.headquarters.firstbhph.com. hostmaster.headquarters.firstbhph.com. 391 900 600 86400 3600 ;; Query time: 6 msec ;; SERVER: 192.168.100.3#53(192.168.100.3) ;; WHEN: Fri Jan 7 14:33:40 2005 ;; MSG SIZE rcvd: 140 ;; Query time: 2 msec ;; SERVER: 192.168.100.3#53(192.168.100.3) ;; WHEN: Fri Jan 7 14:31:41 2005 ;; MSG SIZE rcvd: 140 Doesn't look like yours. Additional info.: OS: CentOS 3.3 Kerberos: krb5-server-1.2.7-28, krb5-workstation-1.2.7-28, krbafs-1.1.1-11 (all from rpm) Samba: samba-3.0.7-1.3E.1 security=ads (as I mentioned previously, samba works, and this server has joined the domain successfully) DNS: I'm using the Win2k box for DNS. -----Original Message----- From: Shawn Iverson [mailto:shawn at nccsc.k12.in.us] Sent: Friday, January 07, 2005 1:54 PM To: Dimitri Yioulos Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios Authentication with Active Directory (Slightly Off-Topic) There's some info from comp.prototcols.kerberos (google groups, see below) It sounds like you need to do the following to check your DNS kerberos configuration: dig _kerberos._udp.REALMNAMEFQDN srv dig _kerberos._tcp.REALMNAMEFQDN srv It sounds like error 52 should only ever occur when the srv resource records for kerberos on your DNS server are set to allow only UDP authentication. I presume that when you execute the latter command you might get an unexpected response. If so, you need to fix your srv resource records on your DNS server to allow TCP. BTW, are you using DNS from your Windows 2003 Servers or from another source? Make sure you have only one kinit on your system. If none of this is helpful, send me details about your version of kerberos that you are using, your OS, whether you installed it as a package or as source, etc. Here is my DNS answer section for both (specifics removed): ;; QUESTION SECTION: ;_kerberos._tcp.MYREALM. IN SRV ;; ANSWER SECTION: _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. _kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. ;; ADDITIONAL SECTION: XXXXXX.myrealm. 3600 IN A x.x.x.x XXXXXX.myrealm. 3600 IN A x.x.x.x ;; Query time: 1 msec ;; SERVER: x.x.x.x#53(x.x.x.x) ;; WHEN: Fri Jan 7 13:34:47 2005 ;; MSG SIZE rcvd: 504 ; <<>> DiG 9.2.4 <<>> _kerberos._udp.MYREALM srv ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7178 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 10, AUTHORITY: 0, ADDITIONAL: 2 ;; QUESTION SECTION: ;_kerberos._udp.myrealm. IN SRV ;; ANSWER SECTION: _kerberos._udp.MYREALM. 600 IN SRV 0 100 88 xxxxxxx.nccsc.k12.in.us. _kerberos._udp.MYREALM. 600 IN SRV 0 100 88 xxxxxxx.nccsc.k12.in.us. Etc... On Jun 10 2003, 5:02 pm Ken Raeburn on comp.protocols.kerberos wrote: > > >Uli Schr?der writes: > > > >> Nevertheless if I do a kinit for my my normal account it fails with >> error code 52. No change between krb5-1.2.7 and krb5-1.3. > > >Is it saying "KRB5 error code 52" exactly? That shouldn't be in the >source code for the 1.3 snapshot. The error message is now "Response >too big for UDP, retry with TCP", and shouldn't be displayed unless >the server sends that error code over a TCP connection, or the client >library thinks that TCP service isn't available for some reason, which >should only happen if you have DNS SRV records that indicate only UDP >service is available (try "dig _kerberos._udp.REALMNAME srv", and try >with _tcp instead of _udp) and the config files don't list the KDCs at >all. On Jun 11 2003, 9:29 am Uli Schr?der wrote on comp.protocols.kerberos: >"Ken Raeburn" schrieb im Newsbeitrag >news:tx1of15se7f.fsf at mit.edu... > >> ... >> > Nevertheless if I do a kinit for my my normal account it fails with >> > error code 52. No change between krb5-1.2.7 and krb5-1.3. > >> Is it saying "KRB5 error code 52" exactly? That shouldn't be in the >> source code for the 1.3 snapshot. The error message is now "Response >> too big for UDP, retry with TCP", and shouldn't be displayed unless >> the server sends that error code over a TCP connection, or the client >> library thinks that TCP service isn't available for some reason, which >> should only happen if you have DNS SRV records that indicate only UDP >> service is available (try "dig _kerberos._udp.REALMNAME srv", and try >> with _tcp instead of _udp) and the config files don't list the KDCs at >> all. > > > >I had another kinit in the my path. I wasn't aware of that. I thought I >had deleted all the old stuff. Now the new kinit workes great. I can use >kinit with my own account. No more error 52! :) > Shawn Iverson On Friday, January 07, 2005 11:26 AM Dimitri wrote: >kinit user at YOUR.DOMAIN.ORG returns: > >kinit(v5): KRB5 error code 52 while getting initial credentials > >Does this error have to do with Windows kerberos ? > >Sorry, I know this isn't a kerberos-related mailing list, but >if you could tell me what I'm doing wrong, it would be greatly >appreciated. Googling doesn't produce anything useful. > >Dimitri > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From thomasz at hostmaster.org Fri Jan 7 21:08:00 2005 From: thomasz at hostmaster.org (Thomas Zehetbauer) Date: Fri, 07 Jan 2005 21:08:00 +0100 Subject: 2.0b1 broken macro handling Message-ID: <1105128480.4683.187.camel@hostmaster.org> Hi, it seems that 2.0b1 broke expansion of undefined macros. I use the same command for host and service notifications and depend on $SERVICEDESC$ and $SERVICESTATE$ beeing empty to determine the type. This worked well with Nagios 1.2 but now they are expanded to a single $ sign. Tom -- T h o m a s Z e h e t b a u e r ( TZ251 ) PGP encrypted mail preferred - KeyID 96FFCB89 finger thomasz at hostmaster.org for key Because you are just paranoid doesn't mean that they aren't out to catch you! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 481 bytes Desc: This is a digitally signed message part URL: From jlyons30 at yahoo.com Fri Jan 7 21:02:52 2005 From: jlyons30 at yahoo.com (Jon Lyons) Date: Fri, 7 Jan 2005 12:02:52 -0800 (PST) Subject: Plugin to check that process is running? In-Reply-To: <200501071937.j07JbAoj010130@mail1.firstbhph.com> References: <200501071937.j07JbAoj010130@mail1.firstbhph.com> Message-ID: <20050107200252.75892.qmail@web60802.mail.yahoo.com> Is there a plugin that can check to see if process xxxxx is running on a unix machine?(Ie. ps ax|grep xxxx) I'd like to combine it with a remote ssh check, but I haven't found a plugin, thought I'd check before writing something... Thanks.. __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From EmmettH at Examen.com Fri Jan 7 22:37:27 2005 From: EmmettH at Examen.com (Emmett Hogan) Date: Fri, 07 Jan 2005 13:37:27 -0800 Subject: Plugin to check that process is running? In-Reply-To: <20050107200252.75892.qmail@web60802.mail.yahoo.com> References: <20050107200252.75892.qmail@web60802.mail.yahoo.com> Message-ID: <41DF0117.1010405@Examen.com> There are a few, including one that comes with the distribution: check_procs. However, I "rolled my own" because I didn't want to make multiple ssh connections to check for multiple processes. Mine takes a list of commands and returns "OK" if they are all running, or CRITICAL if one or more are not running (it also tells you which ones are not running). check_procs is much more flexible if you are checking on just one process. I'll attach it here, feel free to hack on it, just let me know how you improved upon it. :-) Hope this helps, Emmett Jon Lyons wrote: >Is there a plugin that can check to see if process >xxxxx is running on a unix machine?(Ie. ps ax|grep >xxxx) I'd like to combine it with a remote ssh check, >but I haven't found a plugin, thought I'd check before >writing something... > >Thanks.. > > -- ================ Examen, Inc. ================ Emmett Hogan Senior UNIX Administrator emmetth at examen.com ==== Outside Counsel Management Solutions ==== CONFIDENTIAL - PRIVILEGED INFORMATION This e-mail may include confidential, trade secret or legally privileged information. If you are not the intended recipient, please do not read, copy, use, distribute or disclose this communication to anyone other than the intended recipient. Please notify the sender of any error in transmission or delivery and delete any misdirected e-mail from your system. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_cmds URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 260 bytes Desc: not available URL: From dmourati at cm.math.uiuc.edu Fri Jan 7 22:40:00 2005 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 7 Jan 2005 15:40:00 -0600 (CST) Subject: Plugin to check that process is running? In-Reply-To: <20050107200252.75892.qmail@web60802.mail.yahoo.com> References: <20050107200252.75892.qmail@web60802.mail.yahoo.com> Message-ID: On Fri, 7 Jan 2005, Jon Lyons wrote: > Is there a plugin that can check to see if process > xxxxx is running on a unix machine?(Ie. ps ax|grep > xxxx) I'd like to combine it with a remote ssh check, > but I haven't found a plugin, thought I'd check before > writing something... check_procs Usage: check_procs -w -c [-m metric] [-s state] [-p ppid] [-u user] [-r rss] [-z vsz] [-P %cpu] [-a argument-array] [-C command] [-v] check_procs (-h | --help) for detailed help check_procs (-V | --version) for version information I also remember a contrib plugin called check_procr. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From shawn at nccsc.k12.in.us Fri Jan 7 22:48:43 2005 From: shawn at nccsc.k12.in.us (Shawn Iverson) Date: Fri, 7 Jan 2005 16:48:43 -0500 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) Message-ID: <7ADE11986184154083869D43D0B06D447B7CBD@exchange.nccsc.k12.in.us> On Friday, January 07, 2005 2:45 PM, Dimitri wrote: >Shawn, > >First, output of dig _kerberos.tcp.HEADQUARTERS.FIRSTBHPH.COM srv > >; <<>> DiG 9.2.4rc6 <<>> >_kerberos.tcp.HEADQUARTERS.FIRSTBHPH.COM srv ;; global >options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: >QUERY, status: NXDOMAIN, id: 13282 ;; flags: qr aa rd ra; >QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 > >;; QUESTION SECTION: >;_kerberos.tcp.HEADQUARTERS.FIRSTBHPH.COM. IN SRV > >;; AUTHORITY SECTION: >firstbhph.com. 3600 IN SOA >rockland.headquarters.firstbhph.com. >hostmaster.headquarters.firstbhph.com. >391 900 600 86400 3600 > Oops, you have a small typo on your DNS question: Should be _kerberos._tcp.HEADQUARTERS.FIRSTBHPH.COM srv Instead of _kerberos.tcp.HEADQUARTERS.FIRSTBHPH.COM srv > >and dig _kerberos.udp.HEADQUARTERS.FIRSTBHPH.COM srv > >; <<>> DiG 9.2.4rc6 <<>> >_kerberos.udp.HEADQUARTERS.FIRSTBHPH.COM srv ;; global >options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: >QUERY, status: NXDOMAIN, id: 43578 ;; flags: qr aa rd ra; >QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 > >;; QUESTION SECTION: >;_kerberos.udp.HEADQUARTERS.FIRSTBHPH.COM. IN SRV > >;; AUTHORITY SECTION: >firstbhph.com. 3600 IN SOA >rockland.headquarters.firstbhph.com. >hostmaster.headquarters.firstbhph.com. >391 900 600 86400 3600 > >;; Query time: 6 msec >;; SERVER: 192.168.100.3#53(192.168.100.3) >;; WHEN: Fri Jan 7 14:33:40 2005 >;; MSG SIZE rcvd: 140 >;; Query time: 2 msec >;; SERVER: 192.168.100.3#53(192.168.100.3) >;; WHEN: Fri Jan 7 14:31:41 2005 >;; MSG SIZE rcvd: 140 same > >Doesn't look like yours. > >Additional info.: > >OS: CentOS 3.3 >Kerberos: krb5-server-1.2.7-28, krb5-workstation-1.2.7-28, >krbafs-1.1.1-11 (all from rpm) >Samba: samba-3.0.7-1.3E.1 security=ads (as I >mentioned previously, >samba works, and this server has joined the domain successfully) >DNS: I'm using the Win2k box for DNS. Thanks. It is good that you joined properly. Samba relies on Kerberos to perform the join operation. I am using krb5-workstation-1.3.6-2, samba-client-3.0.10-1, and pam_krb5-2.1.2-1. krb5 1.2.7 might be problematic. You may want to upgrade this package. What version of pam_krb5 are you using? > > >-----Original Message----- >From: Shawn Iverson [mailto:shawn at nccsc.k12.in.us] >Sent: Friday, January 07, 2005 1:54 PM >To: Dimitri Yioulos >Cc: nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] Nagios Authentication with Active >Directory (Slightly Off-Topic) > >There's some info from comp.prototcols.kerberos (google >groups, see below) > >It sounds like you need to do the following to check your DNS kerberos >configuration: > >dig _kerberos._udp.REALMNAMEFQDN srv >dig _kerberos._tcp.REALMNAMEFQDN srv > >It sounds like error 52 should only ever occur when the srv >resource records for kerberos on your DNS server are set to >allow only UDP authentication. I presume that when you >execute the latter command you might get an unexpected >response. If so, you need to fix your srv resource records on >your DNS server to allow TCP. > >BTW, are you using DNS from your Windows 2003 Servers or from >another source? Make sure you have only one kinit on your >system. If none of this is helpful, send me details about >your version of kerberos that you are using, your OS, whether >you installed it as a package or as source, etc. > >Here is my DNS answer section for both (specifics removed): > >;; QUESTION SECTION: >;_kerberos._tcp.MYREALM. IN SRV > >;; ANSWER SECTION: >_kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. >_kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. >_kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. >_kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. >_kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. >_kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. >_kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. >_kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. >_kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. >_kerberos._tcp.MYREALM. 600 IN SRV 0 100 88 XXXXXX.myrealm. > >;; ADDITIONAL SECTION: >XXXXXX.myrealm. 3600 IN A x.x.x.x >XXXXXX.myrealm. 3600 IN A x.x.x.x > >;; Query time: 1 msec >;; SERVER: x.x.x.x#53(x.x.x.x) >;; WHEN: Fri Jan 7 13:34:47 2005 >;; MSG SIZE rcvd: 504 > > >; <<>> DiG 9.2.4 <<>> _kerberos._udp.MYREALM srv >;; global options: printcmd >;; Got answer: >;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7178 >;; flags: qr aa rd ra; QUERY: 1, ANSWER: 10, AUTHORITY: 0, >ADDITIONAL: 2 > >;; QUESTION SECTION: >;_kerberos._udp.myrealm. IN SRV > >;; ANSWER SECTION: >_kerberos._udp.MYREALM. 600 IN SRV 0 100 88 >xxxxxxx.nccsc.k12.in.us. >_kerberos._udp.MYREALM. 600 IN SRV 0 100 88 >xxxxxxx.nccsc.k12.in.us. > >Etc... > >On Jun 10 2003, 5:02 pm Ken Raeburn on comp.protocols.kerberos wrote: >> >> >>Uli Schr?der writes: >> >> >> > > > > >>> Nevertheless if I do a kinit for my my normal account it fails with >>> error code 52. No change between krb5-1.2.7 and krb5-1.3. >> >> >>Is it saying "KRB5 error code 52" exactly? That shouldn't be in the >>source code for the 1.3 snapshot. The error message is now "Response >>too big for UDP, retry with TCP", and shouldn't be displayed >unless the >>server sends that error code over a TCP connection, or the client >>library thinks that TCP service isn't available for some >reason, which >>should only happen if you have DNS SRV records that indicate only UDP >>service is available (try "dig _kerberos._udp.REALMNAME srv", and try >>with _tcp instead of _udp) and the config files don't list >the KDCs at >>all. > >On Jun 11 2003, 9:29 am Uli Schr?der wrote on comp.protocols.kerberos: > >>"Ken Raeburn" schrieb im Newsbeitrag >>news:tx1of15se7f.fsf at mit.edu... >> >>> ... >>> > Nevertheless if I do a kinit for my my normal account it >fails with >>> > error code 52. No change between krb5-1.2.7 and krb5-1.3. >> >>> Is it saying "KRB5 error code 52" exactly? That shouldn't be in the >>> source code for the 1.3 snapshot. The error message is now >"Response >>> too big for UDP, retry with TCP", and shouldn't be displayed unless >>> the server sends that error code over a TCP connection, or >the client >>> library thinks that TCP service isn't available for some reason, >>> which should only happen if you have DNS SRV records that indicate >>> only UDP service is available (try "dig _kerberos._udp.REALMNAME >>> srv", and try with _tcp instead of _udp) and the config files don't >>> list the KDCs at all. >> >> >> >>I had another kinit in the my path. I wasn't aware of that. I >thought I >>had deleted all the old stuff. Now the new kinit workes great. I can >>use kinit with my own account. No more error 52! :) >> > >Shawn Iverson > >On Friday, January 07, 2005 11:26 AM Dimitri wrote: > >>kinit user at YOUR.DOMAIN.ORG returns: >> >>kinit(v5): KRB5 error code 52 while getting initial credentials >> >>Does this error have to do with Windows kerberos ? >> >>Sorry, I know this isn't a kerberos-related mailing list, but >>if you could tell me what I'm doing wrong, it would be greatly >>appreciated. Googling doesn't produce anything useful. >> >>Dimitri >> >> > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from >ThinkGeek. It's fun and FREE -- well, >almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dyioulos at firstbhph.com Fri Jan 7 22:54:33 2005 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Fri, 7 Jan 2005 16:54:33 -0500 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) In-Reply-To: <7ADE11986184154083869D43D0B06D447B7CBD@exchange.nccsc.k12.in.us> References: <7ADE11986184154083869D43D0B06D447B7CBD@exchange.nccsc.k12.in.us> Message-ID: <200501072147.j07Ll7n0011501@mail1.firstbhph.com> Sorry. dig _kerberos._tcp.HEADQUARTERS.FIRSTBHPH.COM srv ; <<>> DiG 9.2.4rc6 <<>> _kerberos._tcp.HEADQUARTERS.FIRSTBHPH.COM srv ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21556 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; QUESTION SECTION: ;_kerberos._tcp.HEADQUARTERS.FIRSTBHPH.COM. IN SRV ;; ANSWER SECTION: _kerberos._tcp.HEADQUARTERS.FIRSTBHPH.COM. 600 IN SRV 0 100 88 rockland.headquarters.firstbhph.com. ;; ADDITIONAL SECTION: rockland.headquarters.firstbhph.com. 3600 IN A 192.168.100.3 ;; Query time: 7 msec ;; SERVER: 192.168.100.3#53(192.168.100.3) ;; WHEN: Fri Jan 7 16:51:55 2005 ;; MSG SIZE rcvd: 130 dig _kerberos._udp.HEADQUARTERS.FIRSTBHPH.COM srv ; <<>> DiG 9.2.4rc6 <<>> _kerberos._udp.HEADQUARTERS.FIRSTBHPH.COM srv ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12970 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; QUESTION SECTION: ;_kerberos._udp.HEADQUARTERS.FIRSTBHPH.COM. IN SRV ;; ANSWER SECTION: _kerberos._udp.HEADQUARTERS.FIRSTBHPH.COM. 600 IN SRV 0 100 88 rockland.headquarters.firstbhph.com. ;; ADDITIONAL SECTION: rockland.headquarters.firstbhph.com. 3600 IN A 192.168.100.3 ;; Query time: 3 msec ;; SERVER: 192.168.100.3#53(192.168.100.3) ;; WHEN: Fri Jan 7 16:52:16 2005 ;; MSG SIZE rcvd: 130 Oops, you have a small typo on your DNS question: Should be _kerberos._tcp.HEADQUARTERS.FIRSTBHPH.COM srv Instead of _kerberos.tcp.HEADQUARTERS.FIRSTBHPH.COM srv ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From chrislist at realise.us Sat Jan 8 00:07:57 2005 From: chrislist at realise.us (Chris Lalor) Date: Fri, 7 Jan 2005 18:07:57 -0500 (EST) Subject: 2.0b1 broken macro handling In-Reply-To: <1105128480.4683.187.camel@hostmaster.org> References: <1105128480.4683.187.camel@hostmaster.org> Message-ID: as per Thomas' email, I am seeing the very same behaviour. it doesn't happen across the board with macro replacement. when services go down, the substitution for email notification (using the standard definition from misccommands.cfg in the sample config just to make sure it wasn't our custom one) works fine. when hosts go down though, the fields mentioned below substitute for just a $, when using the notify_by_email command. I've also found the host check macro substitution, used as we do nrpe-based host checks through a slave node, also breaks, so that if services go down, the host is sometimes noted as being down, even when it isn't. running the commands from commandline is working fine. let me know if any specific information from the config would help troubleshoot this. to be noted, this is moving an install with thousands of hosts/services to 2.0b1, so we know all of this was working in the configs in the earlier release. -chris lalor - mtv networks On Fri, 7 Jan 2005, Thomas Zehetbauer wrote: > Hi, > > it seems that 2.0b1 broke expansion of undefined macros. I use the same > command for host and service notifications and depend on $SERVICEDESC$ > and $SERVICESTATE$ beeing empty to determine the type. This worked well > with Nagios 1.2 but now they are expanded to a single $ sign. > > Tom > > -- > T h o m a s Z e h e t b a u e r ( TZ251 ) > PGP encrypted mail preferred - KeyID 96FFCB89 > finger thomasz at hostmaster.org for key > > Because you are just paranoid doesn't mean that they aren't out to catch you! > > > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jlyons30 at yahoo.com Fri Jan 7 23:39:38 2005 From: jlyons30 at yahoo.com (Jon Lyons) Date: Fri, 7 Jan 2005 14:39:38 -0800 (PST) Subject: Plugin to check that process is running? In-Reply-To: References: Message-ID: <20050107223938.22945.qmail@web60805.mail.yahoo.com> Thanks, I looked at this one, but missed the -c/-w part..It always reported OK so I thought it was broken.... Works when you use it correctly... :) --- Demetri Mouratis wrote: > On Fri, 7 Jan 2005, Jon Lyons wrote: > > > Is there a plugin that can check to see if process > > xxxxx is running on a unix machine?(Ie. ps ax|grep > > xxxx) I'd like to combine it with a remote ssh > check, > > but I haven't found a plugin, thought I'd check > before > > writing something... > > check_procs > > > Usage: check_procs -w -c [-m metric] > [-s state] [-p ppid] > [-u user] [-r rss] [-z vsz] [-P %cpu] [-a > argument-array] > [-C command] [-v] > check_procs (-h | --help) for detailed help > check_procs (-V | --version) for version > information > > I also remember a contrib plugin called check_procr. > --------------------------------------------------------------------- > Demetri Mouratis > dmourati at linfactory.com > > __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kaushalpatel at gmail.com Sat Jan 8 05:24:24 2005 From: kaushalpatel at gmail.com (Kaushal Patel) Date: Fri, 7 Jan 2005 23:24:24 -0500 Subject: Latest plug in installation problem!!! Message-ID: <60b4a87c0501072024382a92b5@mail.gmail.com> Hello All, I am trying to install Nagios plug ins from the following file. nagios-plugins-1.4-beta1.tar.gz During installation it properly executes and finishes ./ configure command. Now, when i try this "make all". It gives me the following error after doing a considerable processing. ---------- gcc -g -O2 -L. -o check_real check_real.o netutils.o utils.o ../lib/libnagios plug.a ../lib/libcoreutils.a -lnsl -lresolv -I/usr/include if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I .. -I.. -I../lib -I../intl -g -O2 -MT check_smtp.o -MD -MP -MF ".deps/check_ smtp.Tpo" -c -o check_smtp.o check_smtp.c; \ then mv -f ".deps/check_smtp.Tpo" ".deps/check_smtp.Po"; else rm -f ".deps/check _smtp.Tpo"; exit 1; fi gcc -g -O2 -L. -o check_smtp check_smtp.o netutils.o utils.o ../lib/libnagios plug.a ../lib/libcoreutils.a -lnsl -lresolv -I/usr/include check_smtp.o(.text+0x777): In function `process_arguments': /home/gopi/useless/nagios-plugins-1.4-beta1/plugins/check_smtp.c:456: undefined reference to `terminate' collect2: ld returned 1 exit status make[2]: *** [check_smtp] Error 1 make[2]: Leaving directory `/home/gopi/useless/nagios-plugins-1.4-beta1/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/gopi/useless/nagios-plugins-1.4-beta1' make: *** [all] Error 2 ---------- Could anyone please help in solving this problem ? -- Kaushal Patel MSEE, The State University of New York at Buffalo 90 Cornell Street Buffalo, NY 14214 Ph: 716-836-5674 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From amontibello at gmail.com Sat Jan 8 05:50:56 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 7 Jan 2005 23:50:56 -0500 Subject: Check size of a Windows Server <--- Service In-Reply-To: <41DE51E5.1060403@interface-business.de> References: <90D32590BAD135448DC12C1EA3EB4482209E14@epsewr01.ewrlan.ewr.int> <41DE51E5.1060403@interface-business.de> Message-ID: Hi Stephan, You wrote: > check_nt!COUNTER!"\\Prozess(tomcat)\\Virtuelle Gr??e"," %.0f/10 Bytes > used"!2500000000!3000000000 > use generic-service-wo-perf > normal_check_interval 10 > } > > check the returned number please. In my environment the returned size > was factor 10 to big. I don't know why. I think the source of the problem is the counter that you are checking. The counter that matches the memory usage in Task manager should be "Working Set" not "Virtual Bytes". See the descriptions of the perfomance counters. IF you are usign NC_Net it has a perfamance counter viewer that you can start throught the start menu. This tool allows you to view the description of each Counter Categroy as well as the description of each counter. It also reports the value that NC_Net would retrieve in the lower left corner of the tool. here is the description of virtual bytes from The perfomance counters description: Virtual Bytes is the current size, in bytes, of the virtual address space the process is using. Use of virtual address space does not necessarily imply corresponding use of either disk or main memory pages. Virtual space is finite, and the process can limit its ability to load libraries. Hope this helps Tony On Fri, 07 Jan 2005 10:09:57 +0100, Stephan Janosch wrote: > Anthony Montibello wrote: > > HI, > > > > Just wanted to let you know you can also use NC_Net. It accepts the > > same syntax as nsclient. NC_Net also includes a Performance Counter > > Viewer That may be helpful in setting up the correct counter/instance. > > http://www.shatterit.com/NC_Net/ > > > > Good Luck, > > Happy New Year > > > > Tony > > > > > > On Thu, 30 Dec 2004 06:57:59 +0100, Wengrzik, Andreas wrote: > > > >>Hi! > >> > >>I had a wrong word in my subject for this thread.... :) > >>I need to check the size of a service, not a server .... > >> > >>Umm i will look forward to test pnsclient, but i think nrpe does the same > >>but with more options? > >> > >>I wish anyone in the list a Happy New Year!!! > >> > >>-andreas > >> > >> > >>>>I use NRPE to check some Windows services now i need to check > >>>>the size of one service > >>>>because it not really crash&close he crashs an get only a > >>>>lower size in system memory. > >>>> > >>>>Anyone done a check for service size before? > >>> > >>>If you're after what I think, then you can do it with > >>>pNSclient. Check the > >>>perfMon counters -- there's a place for resource usage on a > >>>per-process > >>>basis and you can search for the process name. This should > >>>be able to give > >>>you what you want? We're doing something similar for memory > >>>use by our SQL > >>>Server processes. > >>> > >>>Since pNSclient can also monitor services, you might be > >>>better off using > >>>just pnsclient unless you are using NRPE to run custom > >>>scripts or to restart > >>>stopped services. > >>> > >>>Steve > >>> > >>>--- > >>>Steve Shipway: ITSS, University of Auckland > >>>Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ > >>>** We can only discover new oceans when we have the ** > >>>** courage to lose sight of the shore. ** > >>> > >> > > > If have an example: > > define service { > host_name > service_description MEMORY_tomcat > check_command > check_nt!COUNTER!"\\Prozess(tomcat)\\Virtuelle Gr??e"," %.0f/10 Bytes > used"!2500000000!3000000000 > use generic-service-wo-perf > normal_check_interval 10 > } > > check the returned number please. In my environment the returned size > was factor 10 to big. I don't know why. > > Stephan > aka Momocat at forum.luebben-home ;) > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joey at clean.q7.com Sat Jan 8 18:35:45 2005 From: joey at clean.q7.com (Joe Pruett) Date: Sat, 8 Jan 2005 09:35:45 -0800 (PST) Subject: statusmap circular layout control? Message-ID: i'm using 2.0b1 and have been building up my host hierarchy and would like to try and tweak with the layout of things in circular mode. initially i thought that i could have some impact with the 2d coords, but from experiments that seems to be wrong. also devices that have multiple parents seem to cause some major layout issues. it correctly places the icon once, but it creates a background area on all the parents. has anyone else looked at these issues and have any patches or config hints? i'll be digging into the code some more myself... ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From shawn at nccsc.k12.in.us Sat Jan 8 18:46:43 2005 From: shawn at nccsc.k12.in.us (Shawn Iverson) Date: Sat, 8 Jan 2005 12:46:43 -0500 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) Message-ID: <7ADE11986184154083869D43D0B06D447B7CBE@exchange.nccsc.k12.in.us> Your DNS is fine, so that is not the problem. Your box is resolving from this server, right? Check your /etc/resolv.conf. Send me your /etc/krb5.conf file please. Perhaps there is something in it that I may be able to spot. Also, try updating your kerberos packages. Here's mine: [logging] default = FILE:/var/log/krb5libs.log kdc = FILE:/var/log/krb5kdc.log admin_server = FILE:/var/log/kadmind.log [libdefaults] default_realm = MY.REALM.COM dns_lookup_realm = true dns_lookup_kdc = true [realms] # EXAMPLE.COM = { #admin_server = kerberos.example.com:749 #default_domain = example.com # } [domain_realm] # example.com = EXAMPLE.COM [kdc] profile = /var/kerberos/krb5kdc/kdc.conf [appdefaults] pam = { debug = true ticket_lifetime = 36000 renew_lifetime = 36000 forwardable = true krb4_convert = false } Shawn On Friday, January 07, 2005 4:55 PM Dimitri wrote: >dig _kerberos._tcp.HEADQUARTERS.FIRSTBHPH.COM srv > >; <<>> DiG 9.2.4rc6 <<>> >_kerberos._tcp.HEADQUARTERS.FIRSTBHPH.COM srv ;; global >options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: >QUERY, status: NOERROR, id: 21556 ;; flags: qr aa rd ra; >QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 > >;; QUESTION SECTION: ;_kerberos._tcp.HEADQUARTERS.FIRSTBHPH.COM. IN SRV > >;; ANSWER SECTION: >_kerberos._tcp.HEADQUARTERS.FIRSTBHPH.COM. 600 IN SRV 0 100 88 >rockland.headquarters.firstbhph.com. > >;; ADDITIONAL SECTION: >rockland.headquarters.firstbhph.com. 3600 IN A 192.168.100.3 > >;; Query time: 7 msec >;; SERVER: 192.168.100.3#53(192.168.100.3) >;; WHEN: Fri Jan 7 16:51:55 2005 >;; MSG SIZE rcvd: 130 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From shawn at nccsc.k12.in.us Sat Jan 8 19:04:57 2005 From: shawn at nccsc.k12.in.us (Shawn Iverson) Date: Sat, 8 Jan 2005 13:04:57 -0500 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) Message-ID: <7ADE11986184154083869D43D0B06D447B7CBF@exchange.nccsc.k12.in.us> Well, duh, you would pointing to the right one, otherwise dig would not have returned the right info. Shawn On Saturday, January 08, 2005 12:47 PM Shawn wrote: > >Your DNS is fine, so that is not the problem. Your box is >resolving from this server, right? Check your /etc/resolv.conf. > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Sat Jan 8 21:39:51 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 08 Jan 2005 21:39:51 +0100 Subject: 2.0b1 broken macro handling In-Reply-To: <1105128480.4683.187.camel@hostmaster.org> References: <1105128480.4683.187.camel@hostmaster.org> Message-ID: <41E04517.8060809@op5.se> Thomas Zehetbauer wrote: > Hi, > > it seems that 2.0b1 broke expansion of undefined macros. I use the same > command for host and service notifications and depend on $SERVICEDESC$ > and $SERVICESTATE$ beeing empty to determine the type. This worked well > with Nagios 1.2 but now they are expanded to a single $ sign. > I'll look in to it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Sat Jan 8 21:41:23 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 08 Jan 2005 21:41:23 +0100 Subject: Latest plug in installation problem!!! In-Reply-To: <60b4a87c0501072024382a92b5@mail.gmail.com> References: <60b4a87c0501072024382a92b5@mail.gmail.com> Message-ID: <41E04573.1090604@op5.se> Kaushal Patel wrote: > Hello All, > I am trying to install Nagios plug ins from the following file. > nagios-plugins-1.4-beta1.tar.gz > > During installation it properly executes and finishes ./ configure > command. Now, when i try this "make all". It gives me the following > error after doing a considerable processing. > ---------- > gcc -g -O2 -L. -o check_real check_real.o netutils.o utils.o ../lib/libnagios > plug.a ../lib/libcoreutils.a -lnsl -lresolv -I/usr/include > if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I > .. -I.. -I../lib -I../intl -g -O2 -MT check_smtp.o -MD -MP -MF ".deps/check_ > smtp.Tpo" -c -o check_smtp.o check_smtp.c; \ > then mv -f ".deps/check_smtp.Tpo" ".deps/check_smtp.Po"; else rm -f ".deps/check > _smtp.Tpo"; exit 1; fi > gcc -g -O2 -L. -o check_smtp check_smtp.o netutils.o utils.o ../lib/libnagios > plug.a ../lib/libcoreutils.a -lnsl -lresolv -I/usr/include > check_smtp.o(.text+0x777): In function `process_arguments': > /home/gopi/useless/nagios-plugins-1.4-beta1/plugins/check_smtp.c:456: > undefined reference to > `terminate' > collect2: ld returned 1 exit status > make[2]: *** [check_smtp] Error 1 > make[2]: Leaving directory `/home/gopi/useless/nagios-plugins-1.4-beta1/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/gopi/useless/nagios-plugins-1.4-beta1' > make: *** [all] Error 2 > ---------- > > Could anyone please help in solving this problem ? > This is a known problem. Try downloading the CVS head of the plugins, and pray the developers don't put this kind of easy-to-find bugs in the next release. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jrhett at meer.net Sat Jan 8 23:56:19 2005 From: jrhett at meer.net (Joe Rhett) Date: Sat, 8 Jan 2005 14:56:19 -0800 Subject: More on notifications and reboot monitoring In-Reply-To: References: Message-ID: <20050108225619.GC41694@meer.net> On Thu, Jan 06, 2005 at 05:09:40PM -0500, Carson Gaspar wrote: > - Alarms when machines reboot unexpectedly Your solution only tells you when the system comes far enough back up to tell you, and it doesn't tell you when the system goes offline and stays. -- Joe Rhett Senior Geek Meer.net ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jrhett at meer.net Sat Jan 8 23:53:26 2005 From: jrhett at meer.net (Joe Rhett) Date: Sat, 8 Jan 2005 14:53:26 -0800 Subject: More on notifications and reboot monitoring In-Reply-To: <6F4FD66684CCE85DFACC5523@taltos.ny.fw.gs.com> References: <6F4FD66684CCE85DFACC5523@taltos.ny.fw.gs.com> Message-ID: <20050108225325.GB41694@meer.net> On Wed, Jan 05, 2005 at 05:48:50PM -0500, Carson Gaspar wrote: > I think I have discovered the cause of all of my problems: > > Notifications are only ever triggered by check results > > Life would have been so much easier if that were documented. The first statement in the documentation of notifications is: When Do Notifications Occur? The decision to send out notifications is made in the service check and host check logic. Host and service notifications occur in the following instances... * When a hard state change occurs. So it both tells you that notifications are part of the check logic, and it tells you that notifications can only occur when there is a state change. State can only change as the result of a check. So I get that you didn't put grasp the obvious, but it's a bit of a stretch to say that this isn't documented. > environment, which is passive only for scalability reasons, if a host goes > down and stays down the only checks that will ever trigger notifications > are pings (as they run centrally) and freshness checks. > > So in order to do reboot monitoring, my choices are limited (without > writing active agents). I _think_ this should work - comments? > > - On shutdown, start 30 minute (tweak to taste) scheduled downtime for Ping > (so ping won't whine about the rebooting host being down) > - On shutdown, send a passive Reboot_Down CRIT, but Reboot_Down doesn't > notify anyone > - On startup, send a passive Reboot_Up CRIT. Reboot_Up depends on > Reboot_Down, so if the server was shut down cleanly, no notification will > go out. > - On startup, send a passive Reboot_Up OK followed by a Reboot_Down OK > - Reboot_Up and Reboot_Down have freshness checks disabled. I'm sure you can make this work, but it's definitely the long way around. I'd re-examine your prohibition against active checks, because you're effectively writing active monitoring support, and it requires both more extra code/complexity and more resources than just using normal ping checks and scheduled downtime. -- Joe Rhett Senior Geek Meer.net ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kaushalpatel at gmail.com Sun Jan 9 07:18:11 2005 From: kaushalpatel at gmail.com (Kaushal Patel) Date: Sun, 9 Jan 2005 01:18:11 -0500 Subject: Using Nagios for the first time!!! Message-ID: <60b4a87c050108221812aaca74@mail.gmail.com> Hello All, I am a Masters student in Electrical Engg. And I am working on a masters project which involves use of Nagios. To be more precise, I'll be working on Esensors' Energy Meter monitoring project during next 4-6 months. Now, I just wanted to know is it possible to install Nagios in a PC without really connecting it to the web or net. I mean just isolated/standalond installation of Nagios. I just want to have an idea of working of Nagios, so that accoring I can work on my project. So far, assuming that it is possible to install Nagios, I downloaded the latest file nagios-2.0b1.tar.gz and I guess I installed it properly. I am not sure if its done perfectly or not, as I am not sure how to check that. Next I tried to install the plug ins file nagiosplug 1.4-beta1. But could not install it properly. I already have posted the problem in detail yesterday here only. So, Andreas Ericsson suggested the following solution. (Thanks Andreas!!!) ----- This is a known problem. Try downloading the CVS head of the plugins, and pray the developers don't put this kind of easy-to-find bugs in the next release. ----- However, I am not sure where to and how to install CVS and how to integrate it with the plugins. Moreover, I just started using and learing Linux. (I am using Red Hat Linux). Could someone please help in above problems ? I searched and read a lot to solve this, but still not able to start Nagios completely with its all ;lugins and CVSs. Thanks, Kaushal Patel MSEE, The State University of New York at Buffalo 90 Cornell Street Buffalo, NY 14214 Ph: 716-836-5674 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From carson+nagiosusers at taltos.org Sun Jan 9 09:34:12 2005 From: carson+nagiosusers at taltos.org (Carson Gaspar) Date: Sun, 09 Jan 2005 03:34:12 -0500 Subject: More on notifications and reboot monitoring In-Reply-To: <20050108225325.GB41694@meer.net> References: <6F4FD66684CCE85DFACC5523@taltos.ny.fw.gs.com> <20050108225325.GB41694@meer.net> Message-ID: <3D2C87FC4D5D7C7EB4B5E8AE@[192.168.21.2]> --On Saturday, January 08, 2005 2:53 PM -0800 Joe Rhett wrote: > I'd re-examine your prohibition against active checks, because you're > effectively writing active monitoring support, and it requires both more > extra code/complexity and more resources than just using normal ping > checks and scheduled downtime. If you'd care to re-write Nagios in such a way that it can scale to 10,000 hosts using active checks, I'd be more than happy to use it. Sadly, the current 1 fork (and an exec for non embedded perl checks) per data point just doesn't scale well. The extra resources required in this case are all on the client, not on the Nagios server(s). -- Carson ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From carson+nagiosusers at taltos.org Sun Jan 9 09:50:40 2005 From: carson+nagiosusers at taltos.org (Carson Gaspar) Date: Sun, 09 Jan 2005 03:50:40 -0500 Subject: More on notifications and reboot monitoring In-Reply-To: <20050108225619.GC41694@meer.net> References: <20050108225619.GC41694@meer.net> Message-ID: --On Saturday, January 08, 2005 2:56 PM -0800 Joe Rhett wrote: > On Thu, Jan 06, 2005 at 05:09:40PM -0500, Carson Gaspar wrote: >> - Alarms when machines reboot unexpectedly > > Your solution only tells you when the system comes far enough back up to > tell you, and it doesn't tell you when the system goes offline and stays. No, if the server stays down, Ping will alarm as soon as scheduled downtime expires (+ 0 to ping interval additional time). If the server comes back up enough to respond to ICMP echo requests, but does not complete booting, all the service checks will alarm due to freshness checks (assuming you have something being monitored on that host). -- Carson ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From chris at tac.esi.net Sun Jan 9 15:27:55 2005 From: chris at tac.esi.net (Chris) Date: Sun, 09 Jan 2005 09:27:55 -0500 Subject: Using Nagios for the first time!!! In-Reply-To: <60b4a87c050108221812aaca74@mail.gmail.com> References: <60b4a87c050108221812aaca74@mail.gmail.com> Message-ID: <41E13F6B.4060905@tac.esi.net> You are not installing CVS. Andreas is just saying to get the latest and greatest code from CVS and try it. So give the following a try. Go to the following url and download the file called nagios-plugins-HEAD http://nagiosplug.sourceforge.net/snapshot/ Then compile it as per the directions in the archive. Chris Kaushal Patel wrote: >Hello All, >I am a Masters student in Electrical Engg. And I am working on a >masters project which involves use of Nagios. To be more precise, I'll >be working on Esensors' Energy Meter monitoring project during next >4-6 months. > >Now, I just wanted to know is it possible to install Nagios in a PC >without really connecting it to the web or net. I mean just >isolated/standalond installation of Nagios. I just want to have an >idea of working of Nagios, so that accoring I can work on my project. > >So far, assuming that it is possible to install Nagios, I downloaded >the latest file nagios-2.0b1.tar.gz and I guess I installed it >properly. I am not sure if its done perfectly or not, as I am not sure >how to check that. Next I tried to install the plug ins file >nagiosplug 1.4-beta1. But could not install it properly. I already >have posted the problem in detail yesterday here only. > >So, Andreas Ericsson suggested the following solution. (Thanks Andreas!!!) >----- >This is a known problem. Try downloading the CVS head of the plugins, >and pray the developers don't put this kind of easy-to-find bugs in the >next release. >----- >However, I am not sure where to and how to install CVS and how to >integrate it with the plugins. Moreover, I just started using and >learing Linux. (I am using Red Hat Linux). > >Could someone please help in above problems ? I searched and read a >lot to solve this, but still not able to start Nagios completely with >its all ;lugins and CVSs. > >Thanks, >Kaushal Patel >MSEE, The State University of New York at Buffalo >90 Cornell Street >Buffalo, NY 14214 >Ph: 716-836-5674 > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rainer at ultra-secure.de Sun Jan 9 17:43:41 2005 From: rainer at ultra-secure.de (Rainer Duffner) Date: Sun, 09 Jan 2005 17:43:41 +0100 Subject: HP Insight and Nagios In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E011C9506@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E011C9506@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <41E15F3D.7080109@ultra-secure.de> Sand Philipp wrote: >Hi, > >Watch out for the check_insight Plugin. I'm not sure if it's provided >within the standard Plugins package.. If you can't find it, i can mail >it to you, too. >Workin fine here... > >/Philipp > > > The plugin doesn't look very useful (to me). I've written a better one (feature-wise - code-quality is a different issue) some time ago. It's actually two plugins to check fans and temperatures. Currently, I do not have access to CPQ-Hardware anymore, so I can't say how useful it still is (maybe MIBs have changed - I don't know). It's also written for netsaint originally - maybe it needs updating for newer plugin-versions. But together with an SNMP-browser, you should get an idea. http://www.ultra-secure.de/~rainer/nagios/check_temp_cpq http://www.ultra-secure.de/~rainer/nagios/check_fan_cpq_present (Similar plugins exist for reading out the MIBs of FSC ServerView - but because the semantics are slightly different, I couldn't just swap the MIBs) Looking at it now, a cleanup in comments and help-text seems appropriate... cheers, Rainer -- =================================================== ~ Rainer Duffner - rainer at ultra-secure.de ~ ~ Freising - Munich - Germany ~ ~ Unix - Linux - BSD - OpenSource - Security ~ ~ http://www.ultra-secure.de/~rainer/pubkey.pgp ~ =================================================== ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From benoit.mortier at opensides.be Sun Jan 9 21:27:12 2005 From: benoit.mortier at opensides.be (Benoit Mortier) Date: Sun, 9 Jan 2005 21:27:12 +0100 Subject: HP Insight and Nagios In-Reply-To: <41E15F3D.7080109@ultra-secure.de> References: <6943DE9E9934CD42BBE4A20E0E28E10E011C9506@SYGOMAIL.GOE.AD.SYCOR.DE> <41E15F3D.7080109@ultra-secure.de> Message-ID: <200501092127.12757.benoit.mortier@opensides.be> Le Dimanche 9 Janvier 2005 17:43, Rainer Duffner a ?crit?: > Sand Philipp wrote: [..] > The plugin doesn't look very useful (to me). > I've written a better one (feature-wise - code-quality is a different > issue) some time ago. > It's actually two plugins to check fans and temperatures. > Currently, I do not have access to CPQ-Hardware anymore, so I can't say > how useful it still is (maybe MIBs have changed - I don't know). It's > also written for netsaint originally - maybe it needs updating for newer > plugin-versions. > But together with an SNMP-browser, you should get an idea. > > http://www.ultra-secure.de/~rainer/nagios/check_temp_cpq > http://www.ultra-secure.de/~rainer/nagios/check_fan_cpq_present could you submit them to the nagiosplug project on sourceforge in the new plugins section. > (Similar plugins exist for reading out the MIBs of FSC ServerView - but > because the semantics are slightly different, I couldn't just swap the > MIBs) could you give me a link to them, thanks -- Benoit Mortier Linux Engineer www.opensides.be ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From shasanbeg at gmail.com Mon Jan 10 04:07:10 2005 From: shasanbeg at gmail.com (S. H.) Date: Mon, 10 Jan 2005 14:07:10 +1100 Subject: help with check_http with ampersand (&) in URL Message-ID: <359aca41050109190778698713@mail.gmail.com> hi all can check_http check links with ampersand (&) characters in the url. An example url would be: http://intl.yahoo.asia.studylink.com/results/results.html?page=1&study-locations=&levels-of-study=&keywords=it when i try the above url i get strange results that nagios doesn't understand. example: root at vmNagios:/usr/local/nagios/libexec# ./check_http -H intl.yahoo.asia.studylink.com -u /results/results.html?page=1&study-locations=&levels-of-study=&keywords=it [1] 394 [2] 395 bash: study-locations=: command not found [3] 396 bash: levels-of-study=: command not found [2] Exit 127 study-locations= [3]+ Exit 127 levels-of-study= root at vmNagios:/usr/local/nagios/libexec# HTTP ok: HTTP/1.0 302 Moved Temporarily - 0.358 second response time |time= 0.358 any help much appreciated ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at nagios.org Mon Jan 10 07:36:54 2005 From: nagios at nagios.org (Ethan Galstad) Date: Mon, 10 Jan 2005 00:36:54 -0600 Subject: More on notifications and reboot monitoring In-Reply-To: <41DE909D.90005@op5.se> References: Message-ID: <41E1CE26.18032.492BC3@localhost> On 7 Jan 2005 at 14:37, Andreas Ericsson wrote: > Carson Gaspar wrote: > > [ Resending from correct From address ] > > > > --On Thursday, January 06, 2005 2:51 PM +0100 Andreas Ericsson > > wrote: > > > >> Ehrm. The idea of scheduled downtime is to do this sort of thing. > >> If you want to add a script submitting a 5 minute (or something) > >> downtime whenever you run reboot, then by all means feel free. If > >> you make it clean I'm sure lots of other users would be interested. > >> I don't think it's a very good idea to keep that logic in the > >> Nagios daemon though, as it can never possibly guess if a host has > >> been shut down or crashed, so I don't quite see the point of this > >> email. Care to clarify? > > > > > > I'll try again (3rd time lucky? ;-) ). > > > > We need: > > > > - Alarms when machines reboot unexpectedly > > - Alarms when machines fail to come back after a reboot > > - No alarms during normal scheduled reboots > > > > Scheduled downtime is great, except for one thing - if any alarms > > are received during scheduled downtime, no notifications go out. > > Ever. > > This is a bug or a missing feature. It will be fixed. > > > Even > > after downtime has ended. This is a result of the design decision to > > only see if notifications are required when receiving a new check > > result. > > Nagios handles the host when it comes out of scheduled downtime, so > there's no real reason it shouldn't check what the status was prior to > downtime and match against current upon a host exiting. It's a minor > change, and shouldn't be too hard to add. This isn't really a bug that you want to fix, as it will cause a lot of not-so-great side effects. When you schedule downtime for a host, anything that happens during that time is fair game and is ignored for purposes of notification (that's why its in downtime). When downtime ends, Nagios will not notify about a problem that happened during that downtime - that's what downtime was for. If the problem continues after downtime (i.e. an active check returns a problem), then a notification can occur. > > > As the only "pull" monitor in my environment is Ping, it's the only > > thing I can safely schedule downtime against (ignoring freshness > > checks for now). This is only really an issue when trying to get a > > "failed to reboot" alarm. I finally gave up, and just have the Ping > > service alarm if a reboot fails (as opposed to a more specific > > alarm). > > > > If you re-read my previous message, the only logic on the central > > nagios server is some basic dependency logic to prevent false alarms > > - all the work is done on the client in an init script (which > > submits passive check results and schedules downtime via an in-house > > queueing agent to Nagios' named pipe). It does work, I was just > > asking for opinions about it (as it seems a bit complex for my > > tastes). > > > > It was unclear to me that you were simply asking the opinion, which is > why I responded the way I did. As for my opinion; Whatever works. > > > And yes, I fully understand freshness checks - they're wonderful for > > continuously monitored services, but don't really work for reboots > > (unless you have your agent constantly send "Reboot OK" status msgs > > while the machine is up), as they are hopefully rare events ;-) > > > > Why not simply set a higher max_check_attempts or retry_interval for > the ping services? That way you'll get soft down when the machine is > actually down, but no alerts will go out. > I would use active checks as Andreas suggested for checking host availability. Passive-only checks might be troublesome to implement reliably. Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From r_jai_ganesh at yahoo.com Mon Jan 10 05:09:19 2005 From: r_jai_ganesh at yahoo.com (Jai Ganesh) Date: Mon, 10 Jan 2005 04:09:19 +0000 (GMT) Subject: nagat In-Reply-To: <41DD31F6.9090802@interface-business.de> References: <41DD31F6.9090802@interface-business.de> Message-ID: <20050110040919.77166.qmail@web52709.mail.yahoo.com> Hello, ok. i was able to setup nagios, no errors, i have added 2 nodes eventhough both the nodes/services are up, it still shows down and even i am not sure how i added, but it works. if i need to change the name of host, it gives me error in host, hostgroups cfg file. ... i need the files that needs to be edited for adding, i made it just like trial and error and somehow it shows all pages. what are the files that needs to be added to get it working ? i don't have any firewall. --- Stephan Janosch wrote: > Hi again! > > nagat does not support Nagios 2. At least my last > experiments were not > very succesful. > > I sugest, that you start configuring nagios by hand. > So you practise > your theoretical knowledge about nagios and your > basics about nagios get > well grounded. > > Later on, if you have 20+ hosts you can think about > a config-tool again. > In a very homegene environment, you can handle even > huge amounts of > servers with the help of templates very well. That's > why there are > templates. ;) > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the > post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt > from ThinkGeek. > It's fun and FREE -- well, > almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at datakompaniet.net Mon Jan 10 08:54:44 2005 From: nagios at datakompaniet.net (Nagios) Date: Mon, 10 Jan 2005 08:54:44 +0100 Subject: Notifications Message-ID: <6FDBDA4BC0B25F4491C68938EA2245B5016E61@dkexchange.dk.loc> Hi I have som problems to get my notifications right. I have about 60 servers and 400 service-checks, some of the are critical and some are not. We have set up a few contats and contactsgroups, I want to get notification on just a few services and hosts. Let's say i check http and https on all 60 servers but i just want to get notifications to one specific contact for 5 of them. We have set up the right contact information in the hosts.cfg file. The question is; Do i need to have 2 separate check_http in services.cfg and use diffrent contactgroups for each? I hope the make sense, / niclas ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From carson+nagiosusers at taltos.org Mon Jan 10 09:06:51 2005 From: carson+nagiosusers at taltos.org (Carson Gaspar) Date: Mon, 10 Jan 2005 03:06:51 -0500 Subject: More on notifications and reboot monitoring In-Reply-To: <41E1CE26.18032.492BC3@localhost> References: <41E1CE26.18032.492BC3@localhost> Message-ID: --On Monday, January 10, 2005 12:36 AM -0600 Ethan Galstad wrote: > On 7 Jan 2005 at 14:37, Andreas Ericsson wrote: > > > This isn't really a bug that you want to fix, as it will cause a lot > of not-so-great side effects. When you schedule downtime for a host, > anything that happens during that time is fair game and is ignored > for purposes of notification (that's why its in downtime). When > downtime ends, Nagios will not notify about a problem that happened > during that downtime - that's what downtime was for. If the problem > continues after downtime (i.e. an active check returns a problem), > then a notification can occur. But there will _be_ no checks (other than ping) after the downtime if anything went wrong, because the host will still be down. > I would use active checks as Andreas suggested for checking host > availability. Passive-only checks might be troublesome to implement > reliably. I can't. They just don't scale to the number of hosts I need to monitor, in Nagios's current incarnations (including 2.0 beta). Ah well, I have a solution that works. I'm not thrilled with it, but it handles every corner case I can think of. And will scale to a very large number of hosts. Is anyone else here using Nagios to monitor >1000 hosts? My target (right now) is 2k hosts per monitoring server, and a total of about 12k hosts monitored. Once I've finished rolling this out, and have better performance data, I'll be writing it up and will post a link here. With luck, my corporate lords and masters will allow me to release the source code to my client side monitor agent and my server side queueing server. Our config management code has too many proprietary DB hooks to be useful anywhere else. -- Carson ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at mm.quex.org Mon Jan 10 09:35:14 2005 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Mon, 10 Jan 2005 16:35:14 +0800 Subject: help with check_http with ampersand (&) in URL In-Reply-To: <359aca41050109190778698713@mail.gmail.com> References: <359aca41050109190778698713@mail.gmail.com> Message-ID: <20050110083514.GA3821@quex.org> On Mon, Jan 10, 2005 at 02:07:10PM +1100, S. H. wrote: > hi all > > can check_http check links with ampersand (&) characters in the url. > An example url would be: > http://intl.yahoo.asia.studylink.com/results/results.html?page=1&study-locations=&levels-of-study=&keywords=it > > when i try the above url i get strange results that nagios doesn't > understand. example: > > root at vmNagios:/usr/local/nagios/libexec# ./check_http -H > intl.yahoo.asia.studylink.com -u > /results/results.html?page=1&study-locations=&levels-of-study=&keywords=it > [1] 394 > [2] 395 > bash: study-locations=: command not found > [3] 396 > bash: levels-of-study=: command not found > [2] Exit 127 study-locations= > [3]+ Exit 127 levels-of-study= > root at vmNagios:/usr/local/nagios/libexec# HTTP ok: HTTP/1.0 302 Moved > Temporarily - 0.358 second response time |time= 0.358 > > any help much appreciated This is because the ampersand character tells the shell to run the command in the background; this is shown by the three tasks that were started running. You need to quote the URL; i.e. check_http ... -u 'http://foo.com/?foo=bar&bar=baz' would work. For Nagios, modify the check command to have quotes around the argument that represents the URL and it should be fine. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Schimpke at Lenze.de Mon Jan 10 09:51:14 2005 From: Schimpke at Lenze.de (Schimpke, Dr. Thomas / bhn) Date: Mon, 10 Jan 2005 09:51:14 +0100 Subject: Segfault with 2.0b1 -- status.sav file corrupted Message-ID: <1105347074.11046.16.camel@raptor.lenze.com> Hi, last week I got some segfaults with nagios. Here's what happened: The partition, where the nagios user lives was filled up to 100 %. Nagios stopped working (the process was still running, though). No problem I thought. I increased the partition size and restarted nagios. But instead of starting nagios simply throw a core dump. After searching, I found out, that this happened because of the "status.sav" file, which was written incomplete to the disk. So I moved it out of the way and nagios was happy again. After deleting the incomplete entry and moving it back nagios started up normal. It might be, that this behaviour might be present in the 1.x branch also, but I did not check it. Kind regards, Thomas Schimpke -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From b00mer at gmx.net Mon Jan 10 10:00:33 2005 From: b00mer at gmx.net (Hendrik "Boomer" Baecker) Date: Mon, 10 Jan 2005 10:00:33 +0100 Subject: Notifications In-Reply-To: <6FDBDA4BC0B25F4491C68938EA2245B5016E61@dkexchange.dk.loc> References: <6FDBDA4BC0B25F4491C68938EA2245B5016E61@dkexchange.dk.loc> Message-ID: <41E24431.1050407@gmx.net> Hello Niclas, you are right. Define different Services in your services.cfg with different contactgroup or different notifications options. Reload your config and see what happens. Best regards Hendrik Nagios schrieb: >Hi > >I have som problems to get my notifications right. > >I have about 60 servers and 400 service-checks, some of the are >critical and some are not. > >We have set up a few contats and contactsgroups, > >I want to get notification on just a few services and hosts. > >Let's say i check http and https on all 60 servers but i just >want to get notifications to one specific contact for 5 of them. > >We have set up the right contact information in the hosts.cfg file. > > >The question is; > >Do i need to have 2 separate check_http in services.cfg and use >diffrent contactgroups for each? > > >I hope the make sense, > > >/ niclas > > > > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > > > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Mon Jan 10 11:26:43 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Mon, 10 Jan 2005 11:26:43 +0100 Subject: Check size of a Windows Server <--- Service In-Reply-To: <41DEC77B.2050204@op5.se> References: <90D32590BAD135448DC12C1EA3EB4482209E14@epsewr01.ewrlan.ewr.int> <41DE51E5.1060403@interface-business.de> <41DE914F.30202@op5.se> <41DE95F6.2040307@interface-business.de> <41DEC77B.2050204@op5.se> Message-ID: <41E25863.3090809@interface-business.de> Andreas Ericsson wrote: > Stephan Janosch wrote: > >> [snip] >> >>> >>> I don't think check_nt understands that you want to divide it by 10, >>> which would explain the whole thing. Does the check_nt documentation >>> tell you that it should be able to? >>> >>> >> [snip] >> >> Of course check_nt doesn't. It's only a personal reminder for me. When >> I see some numbers like 713456234, it reminds me, that about 71 Megs >> are used and not ~713 Megs. So don't worry about that "/10". ;-) >> > > Umm... 713456234 would suggest 713 megs (actually more like 680, but...) > unless NT keeps its performance counters in bits instead of bytes (which > would be really stupid and a great waste of registers during > calculation). What does the windows task manager tell you about it? > >> Stephan >> >> > So I looked again into this and I found that "Virtual Size" does not reflect the memory use. I found another performance counter which correlates better with the taskmanger display. It's named "Arbeitseiten", something like "work pages" or "memory pages". That counter changes, as taskmanager display changes. Taskmanager: 178.064 KB Performance Monitor: 182337536 Taskmanager: 50.520 KB Performance Monitor: 51732480 Taskmanager: 1.228 KB Performance Monitor: 1257472 The numbers look much better now. perhaps I should use that "Arbeitsseiten"-counter. It's a miracle to me, why MS does not give that info in an explicit performance counter. *rolleyes* Stephan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Jan 10 12:21:28 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 10 Jan 2005 12:21:28 +0100 Subject: More on notifications and reboot monitoring In-Reply-To: References: <41E1CE26.18032.492BC3@localhost> Message-ID: <41E26538.3070009@op5.se> Carson Gaspar wrote: > > > --On Monday, January 10, 2005 12:36 AM -0600 Ethan Galstad > wrote: > >> On 7 Jan 2005 at 14:37, Andreas Ericsson wrote: >> >> >> This isn't really a bug that you want to fix, as it will cause a lot >> of not-so-great side effects. When you schedule downtime for a host, >> anything that happens during that time is fair game and is ignored >> for purposes of notification (that's why its in downtime). When >> downtime ends, Nagios will not notify about a problem that happened >> during that downtime - that's what downtime was for. If the problem >> continues after downtime (i.e. an active check returns a problem), >> then a notification can occur. > > > But there will _be_ no checks (other than ping) after the downtime if > anything went wrong, because the host will still be down. > >> I would use active checks as Andreas suggested for checking host >> availability. Passive-only checks might be troublesome to implement >> reliably. > > > I can't. They just don't scale to the number of hosts I need to monitor, > in Nagios's current incarnations (including 2.0 beta). > > Ah well, I have a solution that works. I'd be happy to hear the theory. > I'm not thrilled with it, but it > handles every corner case I can think of. And will scale to a very large > number of hosts. Is anyone else here using Nagios to monitor >1000 > hosts? Yes. > My target (right now) is 2k hosts per monitoring server, and a > total of about 12k hosts monitored. > Just out of curiousity, where on earth (or off) is there an environment with 12 000 servers that need to be monitored? > Once I've finished rolling this out, and have better performance data, > I'll be writing it up and will post a link here. With luck, my corporate > lords and masters will allow me to release the source code to my client > side monitor agent and my server side queueing server. They would be stupid not too. The first rush of developers to a new project is usually enough to add those features you thought were nifty but just didn't care about, and to iron out those bugs that only happens when there are non a-z chars in hostnames. > Our config > management code has too many proprietary DB hooks to be useful anywhere > else. > If the downtime scheduling thing plugs in to the proprietary DB you could simply add a wrapper so that others can hook up a more generalized solution later. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carsten.Schmitz at aegon.com Mon Jan 10 12:37:12 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Mon, 10 Jan 2005 12:37:12 +0100 Subject: Nagios not triggering one notification but another? Message-ID: <49977F7CEA035C46A2D47108CE0F032F014121@ANGELIA.aegon.com> Hi fellow Nagios users, I have a problem thats driving me insane - its probably a tiny thing I'm overlooking and maybe someone can point me into the right direction. We have an installation of Nagios 1.2 monitoring ~30 servers and lots of services. I had setup SMS notification in the past via an email-to-sms provider and that worked fine. Now we have purchased an GPRS modem to send our own SMS. I have a shell script that can send SMS, and I'm trying to get Nagios to trigger it. However, nothing happens. Therefore, I tried to simplify the setup for easy debugging, and it seems that one notification just isn't triggered while another one is. This is my test setup (showing relevant excerpts from the config files below): services.cfg: define service{ use generic-service ; Name of service template to use host_name nemesis service_description Internal Diagnostics is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 contact_groups sms_test notification_interval 2400 notification_period 24x7 notification_options c,r check_command diag } contactgroups.cfg: define contactgroup{ contactgroup_name sms_test alias SMS Test members sms_carsten } contacts.cfg: define contact{ contact_name sms_carsten alias Carsten Schmitz - SMS MDM service_notification_period 24x7 host_notification_period 24x7 service_notification_options c,r host_notification_options d,u,r service_notification_commands diag_out,notify-by-sms-mdm host_notification_commands host-notify-by-sms-mdm email devnull at mydomain.com pager my_cellular_number } (note: my_cellular_number is of course a placeholder, it has my real numeric number in the actual file) misccommands.cfg: define command{ command_name notify-by-sms-mdm command_line /usr/local/nagios/libexec/alert_sms_mdm $CONTACTPAGER$ "$SERVICEDESC$\n$HOSTNAME$ - $HOSTALIAS$\n$HOSTADDRESS$\n$SERVICESTATE$\n$OUTPUT$\n$DATETIME$" } define command{ command_name diag_out command_line echo $CONTACTPAGER$ "$SERVICEDESC$\n$HOSTNAME$ - $HOSTALIAS$\n$HOSTADDRESS$\n$SERVICESTATE$\n$OUTPUT$\n$DATETIME$" > /tmp/nagios_diag_out.out } "diag" is just a dummy script that exits with return code 0 or 1 at my liking, so that I can easily trigger a Nagios alert. It also writes a log file. "/usr/local/nagios/libexec/alert_sms_mdm" is the SMS script that also writes a log file. "diag_out" just writes a file in /tmp for seeing if Nagios triggers a notification, and for seeing what the output after variable expansion looks like. I have "reloaded" nagios and the config check went just fine. What works: I can see in the "diag" log file that the check itself is being triggered by nagios. I can see in /tmp/nagios_diag_out.out that the "diag_out" misccommand (first notification) has been run I can take the output from Nagios from the /tmp/nagios_diag_out.out file (same as the output for "notify-by-sms-mdm" would be) and pass it on the shell to the SMS script and I get an SMS (and a log file entry that notify-by-sms-mdm has been run). What fails: I do not receive an SMS (or a log file entry saying that it called notify-by-sms-mdm) when the Nagios alert is triggered. I'm sure this is not a bug but me overlooking a tiny detail somewhere ... if someone among the fellow Nagios using community spots the problem, I'd be very grateful for a hint. Thanks! Carsten Schmitz ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cortez at tiscali.it Mon Jan 10 12:33:33 2005 From: cortez at tiscali.it (Luca Corti) Date: Mon, 10 Jan 2005 12:33:33 +0100 Subject: Service escalations not working as expected? Message-ID: <1105356813.899.20.camel@luca> Hello, I've got the following service escalation in place. define serviceescalation { host_name MYHOST service_description Disk Usage first_notification 1 last_notification 2 contact_groups MYGROUP notification_interval 5 } define serviceescalation { host_name MYHOST service_description Disk Usage first_notification 3 last_notification 0 contact_groups MYGROUP notification_interval 0 } I'd expect the escalation to notify MYGROUP contacts three times at 5 minute intervals when my service is in CRITICAL state. After the third notification it should stop sending out notifications. Unfortunately it goes on sending out notifications until i manually acknowledge the problem or disable notifications for the service. Am I missing something? thanks Luca CONFIDENTIALITY NOTICE This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Jan 10 12:53:22 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 10 Jan 2005 12:53:22 +0100 Subject: Nagios not triggering one notification but another? In-Reply-To: <49977F7CEA035C46A2D47108CE0F032F014121@ANGELIA.aegon.com> References: <49977F7CEA035C46A2D47108CE0F032F014121@ANGELIA.aegon.com> Message-ID: <41E26CB2.6050904@op5.se> Schmitz, Carsten wrote: > Hi fellow Nagios users, > > I have a problem thats driving me insane - its probably a tiny thing > I'm overlooking and maybe someone can point me into the right > direction. > > We have an installation of Nagios 1.2 monitoring ~30 servers and lots > of services. I had setup SMS notification in the past via an > email-to-sms provider and that worked fine. > > Now we have purchased an GPRS modem to send our own SMS. I have a > shell script that can send SMS, and I'm trying to get Nagios to > trigger it. However, nothing happens. Therefore, I tried to simplify > the setup for easy debugging, and it seems that one notification just > isn't triggered while another one is. > > This is my test setup (showing relevant excerpts from the config > files below): > > > services.cfg: > > define service{ use generic-service > ; Name of service template to use > > host_name nemesis service_description > Internal Diagnostics is_volatile 0 check_period > 24x7 max_check_attempts 1 normal_check_interval > 1 retry_check_interval 1 contact_groups > sms_test notification_interval 2400 notification_period > 24x7 notification_options c,r check_command > diag } > > > contactgroups.cfg: > > define contactgroup{ contactgroup_name sms_test alias > SMS Test members sms_carsten } > > > > contacts.cfg: > > > define contact{ contact_name sms_carsten alias > Carsten Schmitz - SMS MDM service_notification_period 24x7 > host_notification_period 24x7 service_notification_options > c,r host_notification_options d,u,r > service_notification_commands diag_out,notify-by-sms-mdm > host_notification_commands host-notify-by-sms-mdm email > devnull at mydomain.com pager > my_cellular_number } > > (note: my_cellular_number is of course a placeholder, it has my real > numeric number in the actual file) > > > misccommands.cfg: > > define command{ command_name notify-by-sms-mdm command_line > /usr/local/nagios/libexec/alert_sms_mdm $CONTACTPAGER$ > "$SERVICEDESC$\n$HOSTNAME$ - > $HOSTALIAS$\n$HOSTADDRESS$\n$SERVICESTATE$\n$OUTPUT$\n$DATETIME$" } > > > define command{ command_name diag_out command_line echo > $CONTACTPAGER$ "$SERVICEDESC$\n$HOSTNAME$ - > $HOSTALIAS$\n$HOSTADDRESS$\n$SERVICESTATE$\n$OUTPUT$\n$DATETIME$" > > /tmp/nagios_diag_out.out } > > > "diag" is just a dummy script that exits with return code 0 or 1 at > my liking, so that I can easily trigger a Nagios alert. It also > writes a log file. "/usr/local/nagios/libexec/alert_sms_mdm" is the > SMS script that also writes a log file. "diag_out" just writes a file > in /tmp for seeing if Nagios triggers a notification, and for seeing > what the output after variable expansion looks like. > > I have "reloaded" nagios and the config check went just fine. > > > What works: > > I can see in the "diag" log file that the check itself is being > triggered by nagios. I can see in /tmp/nagios_diag_out.out that the > "diag_out" misccommand (first notification) has been run I can take > the output from Nagios from the /tmp/nagios_diag_out.out file (same > as the output for "notify-by-sms-mdm" would be) and pass it on the > shell to the SMS script and I get an SMS (and a log file entry that > notify-by-sms-mdm has been run). > > What fails: > > I do not receive an SMS (or a log file entry saying that it called > notify-by-sms-mdm) when the Nagios alert is triggered. > What does the "Notifications" link in the menu tell you? > I'm sure this is not a bug but me overlooking a tiny detail somewhere > ... if someone among the fellow Nagios using community spots the > problem, I'd be very grateful for a hint. > Most (all?) GSM modems need a spooling mechanism since they usually can't handle more than one message at the time. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Jan 10 13:01:17 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 10 Jan 2005 13:01:17 +0100 Subject: Service escalations not working as expected? In-Reply-To: <1105356813.899.20.camel@luca> References: <1105356813.899.20.camel@luca> Message-ID: <41E26E8D.9020807@op5.se> Luca Corti wrote: > Hello, > > I've got the following service escalation in place. > > define serviceescalation { > host_name MYHOST > service_description Disk Usage > first_notification 1 > last_notification 2 > contact_groups MYGROUP > notification_interval 5 > } > > define serviceescalation { > host_name MYHOST > service_description Disk Usage > first_notification 3 > last_notification 0 > contact_groups MYGROUP > notification_interval 0 > } > Are those two actually for the same service on the same host, or is that just the same placeholder for two different services? > I'd expect the escalation to notify MYGROUP contacts three times at 5 > minute intervals when my service is in CRITICAL state. After the third > notification it should stop sending out notifications. > notification_interval 5 first_notification 0 last_notification 3 I'm not sure what you had in mind with dual escalations, but the above lines (in a single escalation) should do what you want. > Unfortunately it goes on sending out notifications until i manually > acknowledge the problem or disable notifications for the service. > That would be the doing of the "last_notification 0" line in the second escalation. > Am I missing something? > Obviously. Read the docs on escalations. Understand the docs on escalations. Try the thing I posted up there. If it fails, file a bug report. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From timothy at icts.uct.ac.za Mon Jan 10 13:05:57 2005 From: timothy at icts.uct.ac.za (Timothy Carr) Date: Mon, 10 Jan 2005 14:05:57 +0200 Subject: Nagios + SAP/R3 plugins and monitoring Message-ID: <41E26FA5.8070001@icts.uct.ac.za> Anyone know if Nagios can successfully monitor Sap/R3 systems and if so .... which plug-in's/agents are recommended for it -- Tim ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carsten.Schmitz at aegon.com Mon Jan 10 14:19:31 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Mon, 10 Jan 2005 14:19:31 +0100 Subject: Nagios not triggering one notification but another? Message-ID: <49977F7CEA035C46A2D47108CE0F032F014123@ANGELIA.aegon.com> > What does the "Notifications" link in the menu tell you? It says that "notify-by-sms-mdm" was indeed triggered. But digging a bit more, I found two permission problems that were the cause of all this - the logfile for the SMS script was owned by my user and 755 (thats why I wouldn't see the log entries by the nagios user ID I was expecting), and nagios was not member of group UUCP (and /dev/ttyS0 was writable only to root and UUCP members therefore I didn't get the SMS). Stupid me :( So I'm happy to say my problem is solved - many thanks for the input! > Most (all?) GSM modems need a spooling mechanism since they usually > can't handle more than one message at the time. True. Thats why I first looked at smsd (smstools-1.14.8.tar) but couldn't get it to work with my Wavecom M-1206B-ON modem (haven't spent much time though, still hoping). Currently I'm using gsmsendsms, a sample program for gsmlib-1.10.tar, which works just fine. I frankly don't know if it does any queue control, will have to find out and if its not suitable, I'll see if I can get smsd to work. Thanks, Carsten -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Monday, January 10, 2005 12:53 PM To: Schmitz, Carsten Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios not triggering one notification but another? Schmitz, Carsten wrote: > Hi fellow Nagios users, > > I have a problem thats driving me insane - its probably a tiny thing > I'm overlooking and maybe someone can point me into the right > direction. > > We have an installation of Nagios 1.2 monitoring ~30 servers and lots > of services. I had setup SMS notification in the past via an > email-to-sms provider and that worked fine. > > Now we have purchased an GPRS modem to send our own SMS. I have a > shell script that can send SMS, and I'm trying to get Nagios to > trigger it. However, nothing happens. Therefore, I tried to simplify > the setup for easy debugging, and it seems that one notification just > isn't triggered while another one is. > > This is my test setup (showing relevant excerpts from the config > files below): > > > services.cfg: > > define service{ use generic-service > ; Name of service template to use > > host_name nemesis service_description > Internal Diagnostics is_volatile 0 check_period > 24x7 max_check_attempts 1 normal_check_interval > 1 retry_check_interval 1 contact_groups > sms_test notification_interval 2400 notification_period > 24x7 notification_options c,r check_command > diag } > > > contactgroups.cfg: > > define contactgroup{ contactgroup_name sms_test alias > SMS Test members sms_carsten } > > > > contacts.cfg: > > > define contact{ contact_name sms_carsten alias > Carsten Schmitz - SMS MDM service_notification_period 24x7 > host_notification_period 24x7 service_notification_options > c,r host_notification_options d,u,r > service_notification_commands diag_out,notify-by-sms-mdm > host_notification_commands host-notify-by-sms-mdm email > devnull at mydomain.com pager > my_cellular_number } > > (note: my_cellular_number is of course a placeholder, it has my real > numeric number in the actual file) > > > misccommands.cfg: > > define command{ command_name notify-by-sms-mdm command_line > /usr/local/nagios/libexec/alert_sms_mdm $CONTACTPAGER$ > "$SERVICEDESC$\n$HOSTNAME$ - > $HOSTALIAS$\n$HOSTADDRESS$\n$SERVICESTATE$\n$OUTPUT$\n$DATETIME$" } > > > define command{ command_name diag_out command_line echo > $CONTACTPAGER$ "$SERVICEDESC$\n$HOSTNAME$ - > $HOSTALIAS$\n$HOSTADDRESS$\n$SERVICESTATE$\n$OUTPUT$\n$DATETIME$" > > /tmp/nagios_diag_out.out } > > > "diag" is just a dummy script that exits with return code 0 or 1 at > my liking, so that I can easily trigger a Nagios alert. It also > writes a log file. "/usr/local/nagios/libexec/alert_sms_mdm" is the > SMS script that also writes a log file. "diag_out" just writes a file > in /tmp for seeing if Nagios triggers a notification, and for seeing > what the output after variable expansion looks like. > > I have "reloaded" nagios and the config check went just fine. > > > What works: > > I can see in the "diag" log file that the check itself is being > triggered by nagios. I can see in /tmp/nagios_diag_out.out that the > "diag_out" misccommand (first notification) has been run I can take > the output from Nagios from the /tmp/nagios_diag_out.out file (same > as the output for "notify-by-sms-mdm" would be) and pass it on the > shell to the SMS script and I get an SMS (and a log file entry that > notify-by-sms-mdm has been run). > > What fails: > > I do not receive an SMS (or a log file entry saying that it called > notify-by-sms-mdm) when the Nagios alert is triggered. > What does the "Notifications" link in the menu tell you? > I'm sure this is not a bug but me overlooking a tiny detail somewhere > ... if someone among the fellow Nagios using community spots the > problem, I'd be very grateful for a hint. > Most (all?) GSM modems need a spooling mechanism since they usually can't handle more than one message at the time. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Mon Jan 10 14:42:49 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Mon, 10 Jan 2005 14:42:49 +0100 Subject: nagat In-Reply-To: <20050110040919.77166.qmail@web52709.mail.yahoo.com> References: <20050110040919.77166.qmail@web52709.mail.yahoo.com> Message-ID: <41E28659.8090306@interface-business.de> Jai Ganesh wrote: > Hello, > > ok. i was able to setup nagios, no errors, i have > added 2 nodes eventhough both the nodes/services are > up, it still shows down and even i am not sure how i > added, but it works. > > if i need to change the name of host, it gives me > error in host, hostgroups cfg file. ... i need the > files that needs to be edited for adding, i made it > just like trial and error and somehow it shows all > pages. > > what are the files that needs to be added to get it > working ? > > i don't have any firewall. > Why do you work with trial and error? Can't you read the documentation? If you have problems on reading the nagios docu, I want give you some tips: - print it out (try to use a color laser printer to see the red entries) - read it carefully and completly - take a sheet of paper - write down your config on that sheet of paper - check your config against your printed manual Sorry, but I(we) can't help you anymore further, if you don't even understand the manual. We are no teachers here, we are some people from all over the world simply using nagios. Stephan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carsten.Schmitz at aegon.com Mon Jan 10 17:05:06 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Mon, 10 Jan 2005 17:05:06 +0100 Subject: Notification options Message-ID: <49977F7CEA035C46A2D47108CE0F032F014125@ANGELIA.aegon.com> Hi, Have not tried this yet, but it should be possible. In the contacts.cfg, for each contact the host_notification_commands and service_notification_commands are not mandatory. So you could have your network admins with host_notification_commands and your DBAs with service_notification_commands only (unless there are other machines where the network admins need to monitor services as well). But this is probably a dirty hack and would be asking for trouble. The way I do it (using Nagios 1.2, and having the quote "Nagios is a service monitor, not a host monitor" ringing in my ears ;) is to have a service "Ping" defined for every host, which alerts all the net admins via a contact group when the machine stops responding to ICMP (usually meaning: its dead). Whatever command/method you may be using for the host check, you could probably turn it into a service check and enjoy contact group flexibility. Regards ---------------------------------------------------------------------- Carsten Schmitz AEGON N.V. System Administrator AEGONplein 50 Group Information Management 2591TV The Hague The Netherlands ---------------------------------------------------------------------- "Unix is not user unfriendly. It's just picky about its friends" ---------------------------------------------------------------------- -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jennifer Fountain Sent: Monday, January 10, 2005 4:41 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Notification options Hi All: I have a question concerning host/service notifications. I would like to configure host up/down alerts to go to the network admins and service issues sent to the DBAs (such has sql not up, etc). Is this possible? Kind Regards, Jennifer Fountain Systems Administrator/Security R&B Distribution 3400 E Walnut Street Colmar, PA 18915 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jfountain at rbinc.com Mon Jan 10 16:40:51 2005 From: jfountain at rbinc.com (Jennifer Fountain) Date: Mon, 10 Jan 2005 10:40:51 -0500 Subject: Notification options Message-ID: <263BA4045D3FA84D9C1B09F5F959B9B6050D501B@picasso.rb.net> Hi All: I have a question concerning host/service notifications. I would like to configure host up/down alerts to go to the network admins and service issues sent to the DBAs (such has sql not up, etc). Is this possible? Kind Regards, Jennifer Fountain Systems Administrator/Security R&B Distribution 3400 E Walnut Street Colmar, PA 18915 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From funraps at yahoo.com Mon Jan 10 17:13:16 2005 From: funraps at yahoo.com (funraps too) Date: Mon, 10 Jan 2005 08:13:16 -0800 (PST) Subject: check_mssql not working correctly Message-ID: <20050110161316.34047.qmail@web41103.mail.yahoo.com> Good Morning everyone, I wonder if anyone out there is having the same problem: Running on Mandrake 2.6.3 SMP i686 and just downloaded the check_mssql script. followed the directions and installed FreeTDS as required. >From the command line I am able to connect to the database and view an OK status and users connected, and also from within Nagios, HOWEVER the service checks keep appearing and disappearing from the screen, it makes no sense! I have many other checks, this is the only one that is acting up, I've defines it hosts, then in services (2 entries, one for check-host-alive and one for check_mssql), then in services I used the service check groups (new feature in 2b I think) and in hostgroups as usual. Any suggestions or comments will be greatly appreciated!!! Thank you. --------------------------------- Do you Yahoo!? The all-new My Yahoo! ? Get yours free! -------------- next part -------------- An HTML attachment was scrubbed... URL: From bench at silentmedia.com Mon Jan 10 17:21:51 2005 From: bench at silentmedia.com (Ben) Date: Mon, 10 Jan 2005 08:21:51 -0800 Subject: More on notifications and reboot monitoring In-Reply-To: References: <41E1CE26.18032.492BC3@localhost> Message-ID: I am using Nagios 2 to monitor 2300 servers and about 5600 services. We're using relatively beefy hardware, so I haven't had to resort to passive checks yet. As for the UI, I had to re-implement database support and replace the CGIs: http://sourceforge.net/projects/nagios-db/ It works pretty well for me. On Jan 10, 2005, at 12:06 AM, Carson Gaspar wrote: > > I can't. They just don't scale to the number of hosts I need to > monitor, in Nagios's current incarnations (including 2.0 beta). > > Ah well, I have a solution that works. I'm not thrilled with it, but > it handles every corner case I can think of. And will scale to a very > large number of hosts. Is anyone else here using Nagios to monitor > >1000 hosts? My target (right now) is 2k hosts per monitoring server, > and a total of about 12k hosts monitored. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From loyd at cyber.kodak.com Mon Jan 10 17:32:23 2005 From: loyd at cyber.kodak.com (Eric Loyd) Date: Mon, 10 Jan 2005 11:32:23 -0500 Subject: Service checks not resuming after emergence from scheduled downtime Message-ID: <6.1.2.0.2.20050110111519.0199b848@imap.cyber.kodak.com> We run Nagios v1.2 (February 02, 2004) to monitor things. We've been running for a while now with stellar success (after a few idiosyncracies were dealth with). Now, this past weekend, we ran into the following: On Saturdays from 5pm-10pm, we do not monitor a particular service (DMS) because the back-end is down for weekly maintenance. So we have a check_period defined that allows monitoring all day M-F, all day Sunday, and from 00:00-17:00,22:00-24:00 on Saturday. This works great. But here's what happened. I've included the Nagios logs for anyone that wants to take a look. At 16:27, DMS was not running. Nagios turns SOFT CRITICAL and fires off an event handler (which, internally, does nothing becuase this is not a HARD CRITICAL). At 17:28, it does this again - now we're on SOFT CRITICAL #2. At 16:29, it does it again, but because we've gone HARD CRITICAL, the EKrestart event handler actually does something and starts the service. Notification is sent out now as well. 10 minutes later (the normal_check_interval) DMS is seen to be running and we go back into a HARD OK. This cycle happens again at 16:49, and the process repeats up to that last check. At this point, at 16:51 is when the service went HARD CRITICAL and the event handler does the restart. At 17:00 we go into a downtime window, and the service is in a 3/3 HARD CRTICIAL state. Note that the next check would have been approximately 17:01, but since it's in a downtime, it skips this check. You'd think that it would pick it up after the donwtime, which starts up at 22:00. So the next check should be 22:01 (give or take). But Nagios never does this check. The logs show that it wasn't until 23:10 that someone forced a check via the command interface. In the meantime, after the downtime window is complete, it does do notifications, but it never does another check. And, to make it weirder, when the check is forced, it doesn't immediately report back a status, but it's as if it restarts the normal_check_interval timer, because it's 10 minutes later, at 23:21, that the service has a result (HARD OK), showing that someone had gone ahead and restarted DMS outside the context of Nagios. To sum up, it looks as if there is a bug when a service enters an outage window in a HARD CRITICAL state, it does not start to check the service when the outage window expires. Even when a forced check was performed, all it seems to have done is restart the normal_check_interval timer. Anyone else see anything like this? The timeline major events: 16:49 - critical 1/3 SOFT 16:50 - critical 2/3 SOFT 16:51 - critical 3/3 HARD, event handler restarts DMS 17:00 - check_period is no longer valid (downtime) 22:00 - check_period is now valid (no more downtime) 22:00 - notification sent of service down 22:20 - notification sent of service down 22:40 - notification sent of service down 22:50 - notification sent of service down 23:00 - notification sent of service down 23:10 - service check forced by hand 23:21 - service check returns HARD OK state 23:21 - recovery sent via email Raw logs: Sat Jan 8 16:27:31 2005 - SERVICE ALERT: 908;DMS;CRITICAL;SOFT;1;CRITICAL: DMS is not currently running. Sat Jan 8 16:27:31 2005 - SERVICE EVENT HANDLER: 908;DMS;CRITICAL;SOFT;1;EKrestart Sat Jan 8 16:28:32 2005 - SERVICE ALERT: 908;DMS;CRITICAL;SOFT;2;CRITICAL: DMS is not currently running. Sat Jan 8 16:28:32 2005 - SERVICE EVENT HANDLER: 908;DMS;CRITICAL;SOFT;2;EKrestart Sat Jan 8 16:29:31 2005 - SERVICE ALERT: 908;DMS;CRITICAL;HARD;3;CRITICAL: DMS is not currently running. Sat Jan 8 16:29:31 2005 - SERVICE NOTIFICATION: dmaster;908;DMS;CRITICAL;notify-by-email;CRITICAL: DMS is not currently running. Sat Jan 8 16:29:32 2005 - SERVICE EVENT HANDLER: 908;DMS;CRITICAL;HARD;3;EKrestart Sat Jan 8 16:39:31 2005 - SERVICE ALERT: 908;DMS;OK;HARD;3;OK: DMS is running on PID 1214 Sat Jan 8 16:39:31 2005 - SERVICE NOTIFICATION: dmaster;908;DMS;OK;notify-by-email;OK: DMS is running on PID 1214 Sat Jan 8 16:39:31 2005 - SERVICE EVENT HANDLER: 908;DMS;OK;HARD;3;EKrestart Sat Jan 8 16:49:31 2005 - SERVICE ALERT: 908;DMS;CRITICAL;SOFT;1;CRITICAL: DMS is not currently running. Sat Jan 8 16:49:31 2005 - SERVICE EVENT HANDLER: 908;DMS;CRITICAL;SOFT;1;EKrestart Sat Jan 8 16:50:31 2005 - SERVICE ALERT: 908;DMS;CRITICAL;SOFT;2;CRITICAL: DMS is not currently running. Sat Jan 8 16:50:31 2005 - SERVICE EVENT HANDLER: 908;DMS;CRITICAL;SOFT;2;EKrestart Sat Jan 8 16:51:31 2005 - SERVICE ALERT: 908;DMS;CRITICAL;HARD;3;CRITICAL: DMS is not currently running. Sat Jan 8 16:51:31 2005 - SERVICE NOTIFICATION: dmaster;908;DMS;CRITICAL;notify-by-email;CRITICAL: DMS is not currently running. Sat Jan 8 16:51:31 2005 - SERVICE EVENT HANDLER: 908;DMS;CRITICAL;HARD;3;EKrestart Sat Jan 8 22:00:11 2005 - SERVICE NOTIFICATION: dmaster-page;908;DMS;CRITICAL;notify-by-epager;CRITICAL: DMS is not currently running. Sat Jan 8 22:00:11 2005 - SERVICE NOTIFICATION: dmaster;908;DMS;CRITICAL;notify-by-email;CRITICAL: DMS is not currently running. Sat Jan 8 22:20:11 2005 - SERVICE NOTIFICATION: dmaster-page;908;DMS;CRITICAL;notify-by-epager;CRITICAL: DMS is not currently running. Sat Jan 8 22:20:11 2005 - SERVICE NOTIFICATION: dmaster;908;DMS;CRITICAL;notify-by-email;CRITICAL: DMS is not currently running. Sat Jan 8 22:40:01 2005 - SERVICE NOTIFICATION: dmaster-page;908;DMS;CRITICAL;notify-by-epager;CRITICAL: DMS is not currently running. Sat Jan 8 22:40:01 2005 - SERVICE NOTIFICATION: dmaster;908;DMS;CRITICAL;notify-by-email;CRITICAL: DMS is not currently running. Sat Jan 8 22:50:01 2005 - SERVICE NOTIFICATION: dmaster-page;908;DMS;CRITICAL;notify-by-epager;CRITICAL: DMS is not currently running. Sat Jan 8 22:50:01 2005 - SERVICE NOTIFICATION: dmaster;908;DMS;CRITICAL;notify-by-email;CRITICAL: DMS is not currently running. Sat Jan 8 23:00:01 2005 - SERVICE NOTIFICATION: dmaster;908;DMS;CRITICAL;notify-by-email;CRITICAL: DMS is not currently running. Sat Jan 8 23:10:56 2005 - EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;908;DMS;1105243853 Sat Jan 8 23:21:01 2005 - SERVICE ALERT: 908;DMS;OK;HARD;3;OK: DMS is running on PID 26970 Sat Jan 8 23:21:01 2005 - SERVICE NOTIFICATION: dmaster;908;DMS;OK;notify-by-email;OK: DMS is running on PID 26970 Sat Jan 8 23:21:02 2005 - SERVICE EVENT HANDLER: 908;DMS;OK;HARD;3;EKrestart Lastly, some keywords for people searching the mailing lists for this topic: service check checks not being performed done after scheduled downtime downtime ends terminates finishes -- Eric Loyd Drive defensively. Buy a tank. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dyioulos at firstbhph.com Mon Jan 10 18:28:59 2005 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Mon, 10 Jan 2005 12:28:59 -0500 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) In-Reply-To: <7ADE11986184154083869D43D0B06D447B7CBE@exchange.nccsc.k12.in.us> References: <7ADE11986184154083869D43D0B06D447B7CBE@exchange.nccsc.k12.in.us> Message-ID: <200501101721.j0AHLK7C015954@mail1.firstbhph.com> Here's my rkb5.conf file. I really see no problems with it, but then again... [logging] default = FILE:/var/log/krb5libs.log kdc = FILE:/var/log/krb5kdc.log admin_server = FILE:/var/log/kadmind.log [libdefaults] default_realm = HEADQUARTERS.MYDOMAIN.COM dns_lookup_realm = true dns_lookup_kdc = true [realms] HEADQUARTERS.FIRSTBHPH.COM = { default_domain = headquarters.mydomain.com kdc = 192.168.x.x admin_server = 192.168.x.x } [domain_realm] .headquarters.firstbhph.com = HEADQUARTERS.MYDOMAIN.COM headquarters.firstbhph.com = HEADQUARTERS.MYDOMAIN.COM [kdc] profile = /var/kerberos/krb5kdc/kdc.conf [appdefaults] pam = { debug = false ticket_lifetime = 36000 renew_lifetime = 36000 forwardable = true krb4_convert = false } Dimitri -----Original Message----- From: Shawn Iverson [mailto:shawn at nccsc.k12.in.us] Sent: Saturday, January 08, 2005 12:47 PM To: Dimitri Yioulos Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios Authentication with Active Directory (Slightly Off-Topic) Your DNS is fine, so that is not the problem. Your box is resolving from this server, right? Check your /etc/resolv.conf. Send me your /etc/krb5.conf file please. Perhaps there is something in it that I may be able to spot. Also, try updating your kerberos packages. Here's mine: [logging] default = FILE:/var/log/krb5libs.log kdc = FILE:/var/log/krb5kdc.log admin_server = FILE:/var/log/kadmind.log [libdefaults] default_realm = MY.REALM.COM dns_lookup_realm = true dns_lookup_kdc = true [realms] # EXAMPLE.COM = { #admin_server = kerberos.example.com:749 #default_domain = example.com # } [domain_realm] # example.com = EXAMPLE.COM [kdc] profile = /var/kerberos/krb5kdc/kdc.conf [appdefaults] pam = { debug = true ticket_lifetime = 36000 renew_lifetime = 36000 forwardable = true krb4_convert = false } Shawn On Friday, January 07, 2005 4:55 PM Dimitri wrote: >dig _kerberos._tcp.HEADQUARTERS.FIRSTBHPH.COM srv > >; <<>> DiG 9.2.4rc6 <<>> >_kerberos._tcp.HEADQUARTERS.FIRSTBHPH.COM srv ;; global >options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: >QUERY, status: NOERROR, id: 21556 ;; flags: qr aa rd ra; >QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 > >;; QUESTION SECTION: ;_kerberos._tcp.HEADQUARTERS.FIRSTBHPH.COM. IN SRV > >;; ANSWER SECTION: >_kerberos._tcp.HEADQUARTERS.FIRSTBHPH.COM. 600 IN SRV 0 100 88 >rockland.headquarters.firstbhph.com. > >;; ADDITIONAL SECTION: >rockland.headquarters.firstbhph.com. 3600 IN A 192.168.100.3 > >;; Query time: 7 msec >;; SERVER: 192.168.100.3#53(192.168.100.3) >;; WHEN: Fri Jan 7 16:51:55 2005 >;; MSG SIZE rcvd: 130 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dmccallum at nemsys.com Mon Jan 10 18:48:18 2005 From: dmccallum at nemsys.com (don mccallum) Date: Mon, 10 Jan 2005 12:48:18 -0500 Subject: Is it possible to confirm an alarm condition prior to generating an alert? Message-ID: Hello everybody. I am running Nagios 1.2b and 2.01 at two separate locations. Both on Redhat 7.3 The issue I am running into is a large number of false alerts, which due to the nature of what we are monitoring. (In reality they are real alerts but they immediately recover - Nagios is working to well!) We monitor our customers servers who are widely distributed on the net. Most are on DSL, cable or wireless connections. The customers we have on non-dedicated lines are generating real errors whenever they have to reboot a cable modem etc, but they always recover within a few minutes. Our alerts typically read "10:48 Host1 is down" then immediately "10:48 Service xxx is down" (repeat for all services) then followed by "10:48 Host1 is up" followed by "10:48 Service xxx has recovered" (repeat again) Therefore, my question is on the host/service checks can I have it recheck a host/service when a failure occurs after 5 or 10 seconds prior to generating the first alert? Perhaps configuring it to only send an email after the 2nd error condition is seen. Simply double checking prior to generating the alert would be helpful to us. Thanks all, -Don McCallum mccallum at nemsys.com 419-243-3603x113 Nemsys LLC -------------- next part -------------- An HTML attachment was scrubbed... URL: From cortez at tiscali.it Mon Jan 10 17:24:57 2005 From: cortez at tiscali.it (Luca Corti) Date: Mon, 10 Jan 2005 17:24:57 +0100 Subject: Nagios 2.0 Documentation typo - please fix Message-ID: <1105374298.899.58.camel@luca> At http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostescalation hostgroup_name is erroneously written host_name in the hostescalation directive description section. thanks Luca CONFIDENTIALITY NOTICE This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From qolinar at gmail.com Mon Jan 10 18:59:24 2005 From: qolinar at gmail.com (Qolinar) Date: Mon, 10 Jan 2005 12:59:24 -0500 Subject: increase polling frequency Message-ID: <636d741505011009595d9b8fdc@mail.gmail.com> I need to increase the polling frequency. I'm currently running SLES 8 and Nagios 2.01b to monitor 900 routers with only one service (only monitoring PING; I disabled the host checks since I am checking PING) on a P3 1.2Ghz box with 512MB RAM (I know, underpowered). I've made some changes that I thought would speed things up a bit, but they haven't (example: a PING service check exceeded my threshold of 800ms. The next check was scheduled for 20 minutes after the check that found the threshold breach. I then forced a reschedule. After the rescheduled service check found that the threshold was no longer being violated, the service status changed back to OK however the next service check is to be 2 hours in the future. I want that to be a period of minutes, not hours.) Here is my nagios.cfg file: TER-CHECK DELAY METHOD # This is the method that Nagios should use when initially # "spreading out" service checks when it starts monitoring. The # default is to use smart delay calculation, which will try to # space all service checks out evenly to minimize CPU load. # Using the dumb setting will cause all checks to be scheduled # at the same time (with no delay between them)! This is not a # good thing for production, but is useful when testing the # parallelization functionality. # n = None - don't use any delay between checks # d = Use a "dumb" delay of 1 second between checks # s = Use "smart" inter-check delay calculation # x.xx = Use an inter-check delay of x.xx seconds service_inter_check_delay_method=d # MAXIMUM SERVICE CHECK SPREAD # This variable determines the timeframe (in minutes) from the # program start time that an initial check of all services should # be completed. Default is 30 minutes. max_service_check_spread=5 # SERVICE CHECK INTERLEAVE FACTOR # This variable determines how service checks are interleaved. # Interleaving the service checks allows for a more even # distribution of service checks and reduced load on remote # hosts. Setting this value to 1 is equivalent to how versions # of Nagios previous to 0.0.5 did service checks. Set this # value to s (smart) for automatic calculation of the interleave # factor unless you have a specific reason to change it. # s = Use "smart" interleave factor calculation # x = Use an interleave factor of x, where x is a # number greater than or equal to 1. service_interleave_factor=s # HOST INTER-CHECK DELAY METHOD # This is the method that Nagios should use when initially # "spreading out" host checks when it starts monitoring. The # default is to use smart delay calculation, which will try to # space all host checks out evenly to minimize CPU load. # Using the dumb setting will cause all checks to be scheduled # at the same time (with no delay between them)! # n = None - don't use any delay between checks # d = Use a "dumb" delay of 1 second between checks # s = Use "smart" inter-check delay calculation # x.xx = Use an inter-check delay of x.xx seconds host_inter_check_delay_method=s # MAXIMUM HOST CHECK SPREAD # This variable determines the timeframe (in minutes) from the # program start time that an initial check of all hosts should # be completed. Default is 30 minutes. max_host_check_spread=15 # MAXIMUM CONCURRENT SERVICE CHECKS # This option allows you to specify the maximum number of # service checks that can be run in parallel at any given time. # Specifying a value of 1 for this variable essentially prevents # any service checks from being parallelized. A value of 0 # will not restrict the number of concurrent checks that are # being executed. max_concurrent_checks=0 # SERVICE CHECK REAPER FREQUENCY # This is the frequency (in seconds!) that Nagios will process # the results of services that have been checked. service_reaper_frequency=5 # AUTO-RESCHEDULING OPTION # This option determines whether or not Nagios will attempt to # automatically reschedule active host and service checks to # "smooth" them out over time. This can help balance the load on # the monitoring server. # WARNING: THIS IS AN EXPERIMENTAL FEATURE - IT CAN DEGRADE # PERFORMANCE, RATHER THAN INCREASE IT, IF USED IMPROPERLY auto_reschedule_checks=0 # AUTO-RESCHEDULING INTERVAL # This option determines how often (in seconds) Nagios will # attempt to automatically reschedule checks. This option only # has an effect if the auto_reschedule_checks option is enabled. # Default is 30 seconds. # WARNING: THIS IS AN EXPERIMENTAL FEATURE - IT CAN DEGRADE # PERFORMANCE, RATHER THAN INCREASE IT, IF USED IMPROPERLY auto_rescheduling_interval=20 # AUTO-RESCHEDULING WINDOW # This option determines the "window" of time (in seconds) that # Nagios will look at when automatically rescheduling checks. # Only host and service checks that occur in the next X seconds # (determined by this variable) will be rescheduled. This option # only has an effect if the auto_reschedule_checks option is # enabled. Default is 180 seconds (3 minutes). # WARNING: THIS IS AN EXPERIMENTAL FEATURE - IT CAN DEGRADE # PERFORMANCE, RATHER THAN INCREASE IT, IF USED IMPROPERLY auto_rescheduling_window=180 # SLEEP TIME # This is the number of seconds to sleep between checking for system # events and service checks that need to be run. sleep_time=0.25 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sudheer at tgs-solutions.com Mon Jan 10 19:06:36 2005 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Mon, 10 Jan 2005 13:06:36 -0500 Subject: Nagios and my sql Message-ID: <41E2C42C.4090903@tgs-solutions.com> Dose anybody know what might be causing this error? Error: Could not insert/update status record for program in table 'programstatus' of database 'nagios' Nagios is running but I get this error in logs. -- Sudheer Muddappa ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cortez at tiscali.it Mon Jan 10 19:09:25 2005 From: cortez at tiscali.it (Luca Corti) Date: Mon, 10 Jan 2005 19:09:25 +0100 Subject: Service escalations not working as expected? In-Reply-To: <41E26E8D.9020807@op5.se> References: <1105356813.899.20.camel@luca> <41E26E8D.9020807@op5.se> Message-ID: <1105380566.899.59.camel@luca> On Mon, 2005-01-10 at 13:01 +0100, Andreas Ericsson wrote: > Are those two actually for the same service on the same host, or is that > just the same placeholder for two different services? It's the same service. > > I'd expect the escalation to notify MYGROUP contacts three times at 5 > > minute intervals when my service is in CRITICAL state. After the third > > notification it should stop sending out notifications. > > > > notification_interval 5 > first_notification 0 > last_notification 3 > > I'm not sure what you had in mind with dual escalations, but the above > lines (in a single escalation) should do what you want. The dual escalation is used to limit the number of notifications sent to 3, I don't want nagios to notify anymore after the third notification. See below. > > Unfortunately it goes on sending out notifications until i manually > > acknowledge the problem or disable notifications for the service. > That would be the doing of the "last_notification 0" line in the second > escalation. [...] > Obviously. Read the docs on escalations. Understand the docs on > escalations. Try the thing I posted up there. If it fails, file a bug > report. I've read the documentation and I think I understand the escalations notification logic. In the second definition notification_interval is set to 0. The documentation says about notification_interval: "If you specify a value of 0 for the interval, Nagios will send the first notification when this escalation definition is valid, but will then prevent any more problem notifications from being sent out for the host." So my previous configuration should prevent any notifications beyond the third. I've merged the two escalations definitions as you suggested: define serviceescalation{ host_name MYHOST service_description MYSERVICE first_notification 0 last_notification 3 contact_groups MYGROUP notification_interval 5 } but I still get notifications after the third one, and this seems normal to me since this just limits the escalation's scope to the first three notifications. After some testing I've found this to be the correct configuration to obtain what I wanted: define serviceescalation { host_name MYHOST service_description MYSERVICE first_notification 0 last_notification 2 contact_groups MYGROUP notification_interval 5 } define serviceescalation { host_name MYHOST service_description MYSERVICE first_notification 3 last_notification 0 contact_groups MYGROUP notification_interval 0 } thanks Luca P.S.: I get your messages twice, is it just me or there's anyone else receiving duplicate messages? CONFIDENTIALITY NOTICE This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From shawn at nccsc.k12.in.us Mon Jan 10 19:20:17 2005 From: shawn at nccsc.k12.in.us (Shawn Iverson) Date: Mon, 10 Jan 2005 13:20:17 -0500 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) Message-ID: <7ADE11986184154083869D43D0B06D447B7CCA@exchange.nccsc.k12.in.us> Comment out your realms section and domain_realm sections and see what happens. [realms] # HEADQUARTERS.MYDOMAIN.COM = { # default_domain = headquarters.mydomain.com # kdc = 192.168.x.x # admin_server = 192.168.x.x # } [domain_realm] # .headquarters.firstbhph.com = HEADQUARTERS.MYDOMAIN.COM #headquarters.firstbhph.com = HEADQUARTERS.MYDOMAIN.COM Shawn On Monday, January 10, 2005 12:29 PM, Dimitri wrote: >Here's my rkb5.conf file. I really see no problems with it, >but then again... > > >[logging] > default = FILE:/var/log/krb5libs.log > kdc = FILE:/var/log/krb5kdc.log > admin_server = FILE:/var/log/kadmind.log > >[libdefaults] > default_realm = HEADQUARTERS.MYDOMAIN.COM > dns_lookup_realm = true > dns_lookup_kdc = true > >[realms] > HEADQUARTERS.FIRSTBHPH.COM = { > default_domain = headquarters.mydomain.com > kdc = 192.168.x.x > admin_server = 192.168.x.x > } > >[domain_realm] > .headquarters.firstbhph.com = HEADQUARTERS.MYDOMAIN.COM >headquarters.firstbhph.com = HEADQUARTERS.MYDOMAIN.COM > >[kdc] > profile = /var/kerberos/krb5kdc/kdc.conf > >[appdefaults] > pam = { > debug = false > ticket_lifetime = 36000 > renew_lifetime = 36000 > forwardable = true > krb4_convert = false > } > > >Dimitri > > >-----Original Message----- >From: Shawn Iverson [mailto:shawn at nccsc.k12.in.us] >Sent: Saturday, January 08, 2005 12:47 PM >To: Dimitri Yioulos >Cc: nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] Nagios Authentication with Active >Directory (Slightly Off-Topic) > >Your DNS is fine, so that is not the problem. Your box is >resolving from this server, right? Check your /etc/resolv.conf. > >Send me your /etc/krb5.conf file please. Perhaps there is >something in it that I may be able to spot. > >Also, try updating your kerberos packages. > >Here's mine: > >[logging] > default = FILE:/var/log/krb5libs.log > kdc = FILE:/var/log/krb5kdc.log > admin_server = FILE:/var/log/kadmind.log > >[libdefaults] > default_realm = MY.REALM.COM > dns_lookup_realm = true > dns_lookup_kdc = true > >[realms] ># EXAMPLE.COM = { > #admin_server = kerberos.example.com:749 > #default_domain = example.com ># } > >[domain_realm] ># example.com = EXAMPLE.COM > >[kdc] >profile = /var/kerberos/krb5kdc/kdc.conf > >[appdefaults] > pam = { > debug = true > ticket_lifetime = 36000 > renew_lifetime = 36000 > forwardable = true > krb4_convert = false > } > >Shawn > >On Friday, January 07, 2005 4:55 PM Dimitri wrote: >>dig _kerberos._tcp.HEADQUARTERS.FIRSTBHPH.COM srv >> >>; <<>> DiG 9.2.4rc6 <<>> >>_kerberos._tcp.HEADQUARTERS.FIRSTBHPH.COM srv ;; global >>options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: >>QUERY, status: NOERROR, id: 21556 ;; flags: qr aa rd ra; >>QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 >> >>;; QUESTION SECTION: >;_kerberos._tcp.HEADQUARTERS.FIRSTBHPH.COM. IN SRV >> >>;; ANSWER SECTION: >>_kerberos._tcp.HEADQUARTERS.FIRSTBHPH.COM. 600 IN SRV 0 100 88 >>rockland.headquarters.firstbhph.com. >> >>;; ADDITIONAL SECTION: >>rockland.headquarters.firstbhph.com. 3600 IN A 192.168.100.3 >> >>;; Query time: 7 msec >>;; SERVER: 192.168.100.3#53(192.168.100.3) >>;; WHEN: Fri Jan 7 16:51:55 2005 >>;; MSG SIZE rcvd: 130 > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from >ThinkGeek. It's fun and FREE -- well, >almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From EmmettH at Examen.com Mon Jan 10 19:45:20 2005 From: EmmettH at Examen.com (Emmett Hogan) Date: Mon, 10 Jan 2005 10:45:20 -0800 Subject: Service/Host dependency, plus Timeout question... Message-ID: <41E2CD40.7040705@Examen.com> Hi Folks, I *know* this is in the documentation somewhere, but I cannot seem to find it anywhere...so please forgive me. :-) I have two questions regarding "Service Check Timeouts".... 1) All my timeouts come back as CRITICAL and result in immediate pages, we occasionally have systems which are pretty loaded and the NAGIOS checks timeout. We'd like those to come through as WARNINGS (so we don't get pages). We are checking everything via "check_by_ssh". 2) I was under the impression that if a host was down, that SERVICE errors were quenched....but that doesn't seem to be the case here. If we take a service down, then suddenly we get inundated with SERVICE "CRITICAL" pages. Am I assuming an incorrect dependency between services and hosts? Again, I am sorry for asking such basic questions....but it's Monday, and we had an extended downtime this weekend...so I am beat. (Please, have pity on me!) :-) -Emmett -- ================ Examen, Inc. ================ Emmett Hogan Senior UNIX Administrator emmetth at examen.com ==== Outside Counsel Management Solutions ==== CONFIDENTIAL - PRIVILEGED INFORMATION This e-mail may include confidential, trade secret or legally privileged information. If you are not the intended recipient, please do not read, copy, use, distribute or disclose this communication to anyone other than the intended recipient. Please notify the sender of any error in transmission or delivery and delete any misdirected e-mail from your system. -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 260 bytes Desc: not available URL: From tearl at cacdhh.org Mon Jan 10 18:28:42 2005 From: tearl at cacdhh.org (Thomas Earl) Date: Mon, 10 Jan 2005 12:28:42 -0500 Subject: Dependencies - a little confused. Message-ID: <20050110172846.C4908BA05@www.prhobbies.com> Greetings to all, I think I'm a little confused about dependencies. I'm running Nagios 1.2 and I have about a dozen hosts and maybe 3 dozen services. I have read all the documentation and I just want to see if my thinking is right or not... Please bare with me as I'm just getting over pneumonia so my thinking might be a little off... 1. Hosts dependencies only effect host checks. So if a host check fails, Nagios will only suppress other HOST checks again that system, not the services on that system? 2. Is it wise to have all services dependant on a check_ping service check? Pros? Cons? I think that's it... Thanks! Tom -- Thomas Earl Network Engineer & Designer Communications Access Center (CAC) 1631 Miller Road Flint, Michigan, 48503 248-705-7408 (cell) 810-239-3112 (office) "Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming...'Wow! What a ride!!'" --Jack Wilson ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From esub at earthlink.net Mon Jan 10 18:33:15 2005 From: esub at earthlink.net (sub) Date: Mon, 10 Jan 2005 12:33:15 -0500 (GMT-05:00) Subject: Using Nagios for the first time!!! (Kaushal Patel) Reply Message-ID: <18655027.1105378398151.JavaMail.root@grover.psp.pas.earthlink.net> HI Patel, I'm also a newbie with Nagios but I can give you my pointers. Ok the first question. "Now, I just wanted to know is it possible to install Nagios in a PC Without really connecting it to the web or net. I mean just isolated/standalone installation of Nagios. I just want to have an idea of working of Nagios, so that according I can work on my project." Yes it is, just make sure you have your system requirements installed on a pc. http://nagios.sourceforge.net/docs/2_0/about.html#requirements 2nd question "So far, assuming that it is possible to install Nagios, I downloaded the latest file nagios-2.0b1.tar.gz and I guess I installed it properly. I am not sure if its done perfectly or not, as I am not sure How to check that. Next I tried to install the plug ins file nagiosplug 1.4-beta1. But could not install it properly. I already have posted the problem in detail yesterday here only." Before you install nagios create a user called nagios, create a group called nagios, find out what your web server user account is by doing this in the shell grep "^User" /etc/httpd/conf/httpd.conf Once you have your users created and identified place them in the group called nagios /usr/sbin/usermod -G nagios webuser /usr/sbin/usermod -G nagios nagios After this is complete Make a directory /usr/local/nagios Download the tar file and extract the file tar -xvzf nagios-2.0b1.tar.gz cd into the directory that the nagios-2.0b1 >From there run the command ./configure --prefix=/usr/local/nagios If all goes well and you have all the system requirements installed you will see a menu of other commands to run. Other commands to run will be make all make install After the make install your ready to go. Just change your directory into /usr/local/nagios Under the nagios subdirectory you will see /bin /etc /share /sbin /var And under these subdirectories you will see files If you get this far you know your install went well. Now getting the process to start is another story but let me know how far you are and I will help you with the rest. Thank you, Juan -----Original Message----- From: nagios-users-request at lists.sourceforge.net Sent: Jan 9, 2005 11:09 PM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #2413 - 7 msgs Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-admin at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Using Nagios for the first time!!! (Kaushal Patel) 2. Re: More on notifications and reboot monitoring (Carson Gaspar) 3. Re: More on notifications and reboot monitoring (Carson Gaspar) 4. Re: Using Nagios for the first time!!! (Chris) 5. Re: HP Insight and Nagios (Rainer Duffner) 6. Re: HP Insight and Nagios (Benoit Mortier) 7. help with check_http with ampersand (&) in URL (S. H.) --__--__-- Message: 1 Date: Sun, 9 Jan 2005 01:18:11 -0500 From: Kaushal Patel Reply-To: Kaushal Patel To: nagios-users at lists.sourceforge.net, nagiosplug-help at lists.sourceforge.net Subject: [Nagios-users] Using Nagios for the first time!!! Hello All, I am a Masters student in Electrical Engg. And I am working on a masters project which involves use of Nagios. To be more precise, I'll be working on Esensors' Energy Meter monitoring project during next 4-6 months. Now, I just wanted to know is it possible to install Nagios in a PC without really connecting it to the web or net. I mean just isolated/standalond installation of Nagios. I just want to have an idea of working of Nagios, so that accoring I can work on my project. So far, assuming that it is possible to install Nagios, I downloaded the latest file nagios-2.0b1.tar.gz and I guess I installed it properly. I am not sure if its done perfectly or not, as I am not sure how to check that. Next I tried to install the plug ins file nagiosplug 1.4-beta1. But could not install it properly. I already have posted the problem in detail yesterday here only. So, Andreas Ericsson suggested the following solution. (Thanks Andreas!!!) ----- This is a known problem. Try downloading the CVS head of the plugins, and pray the developers don't put this kind of easy-to-find bugs in the next release. ----- However, I am not sure where to and how to install CVS and how to integrate it with the plugins. Moreover, I just started using and learing Linux. (I am using Red Hat Linux). Could someone please help in above problems ? I searched and read a lot to solve this, but still not able to start Nagios completely with its all ;lugins and CVSs. Thanks, Kaushal Patel MSEE, The State University of New York at Buffalo 90 Cornell Street Buffalo, NY 14214 Ph: 716-836-5674 --__--__-- Message: 2 Date: Sun, 09 Jan 2005 03:34:12 -0500 From: Carson Gaspar To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] More on notifications and reboot monitoring --On Saturday, January 08, 2005 2:53 PM -0800 Joe Rhett wrote: > I'd re-examine your prohibition against active checks, because you're > effectively writing active monitoring support, and it requires both more > extra code/complexity and more resources than just using normal ping > checks and scheduled downtime. If you'd care to re-write Nagios in such a way that it can scale to 10,000 hosts using active checks, I'd be more than happy to use it. Sadly, the current 1 fork (and an exec for non embedded perl checks) per data point just doesn't scale well. The extra resources required in this case are all on the client, not on the Nagios server(s). -- Carson --__--__-- Message: 3 Date: Sun, 09 Jan 2005 03:50:40 -0500 From: Carson Gaspar To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] More on notifications and reboot monitoring --On Saturday, January 08, 2005 2:56 PM -0800 Joe Rhett wrote: > On Thu, Jan 06, 2005 at 05:09:40PM -0500, Carson Gaspar wrote: >> - Alarms when machines reboot unexpectedly > > Your solution only tells you when the system comes far enough back up to > tell you, and it doesn't tell you when the system goes offline and stays. No, if the server stays down, Ping will alarm as soon as scheduled downtime expires (+ 0 to ping interval additional time). If the server comes back up enough to respond to ICMP echo requests, but does not complete booting, all the service checks will alarm due to freshness checks (assuming you have something being monitored on that host). -- Carson --__--__-- Message: 4 Date: Sun, 09 Jan 2005 09:27:55 -0500 From: Chris To: Kaushal Patel Cc: nagios-users at lists.sourceforge.net, nagiosplug-help at lists.sourceforge.net Subject: Re: [Nagios-users] Using Nagios for the first time!!! You are not installing CVS. Andreas is just saying to get the latest and greatest code from CVS and try it. So give the following a try. Go to the following url and download the file called nagios-plugins-HEAD http://nagiosplug.sourceforge.net/snapshot/ Then compile it as per the directions in the archive. Chris Kaushal Patel wrote: >Hello All, >I am a Masters student in Electrical Engg. And I am working on a >masters project which involves use of Nagios. To be more precise, I'll >be working on Esensors' Energy Meter monitoring project during next >4-6 months. > >Now, I just wanted to know is it possible to install Nagios in a PC >without really connecting it to the web or net. I mean just >isolated/standalond installation of Nagios. I just want to have an >idea of working of Nagios, so that accoring I can work on my project. > >So far, assuming that it is possible to install Nagios, I downloaded >the latest file nagios-2.0b1.tar.gz and I guess I installed it >properly. I am not sure if its done perfectly or not, as I am not sure >how to check that. Next I tried to install the plug ins file >nagiosplug 1.4-beta1. But could not install it properly. I already >have posted the problem in detail yesterday here only. > >So, Andreas Ericsson suggested the following solution. (Thanks Andreas!!!) >----- >This is a known problem. Try downloading the CVS head of the plugins, >and pray the developers don't put this kind of easy-to-find bugs in the >next release. >----- >However, I am not sure where to and how to install CVS and how to >integrate it with the plugins. Moreover, I just started using and >learing Linux. (I am using Red Hat Linux). > >Could someone please help in above problems ? I searched and read a >lot to solve this, but still not able to start Nagios completely with >its all ;lugins and CVSs. > >Thanks, >Kaushal Patel >MSEE, The State University of New York at Buffalo >90 Cornell Street >Buffalo, NY 14214 >Ph: 716-836-5674 > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > > --__--__-- Message: 5 Date: Sun, 09 Jan 2005 17:43:41 +0100 From: Rainer Duffner To: Sand Philipp CC: Jeremy Russell , nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Insight and Nagios Sand Philipp wrote: >Hi, > >Watch out for the check_insight Plugin. I'm not sure if it's provided >within the standard Plugins package.. If you can't find it, i can mail >it to you, too. >Workin fine here... > >/Philipp > > > The plugin doesn't look very useful (to me). I've written a better one (feature-wise - code-quality is a different issue) some time ago. It's actually two plugins to check fans and temperatures. Currently, I do not have access to CPQ-Hardware anymore, so I can't say how useful it still is (maybe MIBs have changed - I don't know). It's also written for netsaint originally - maybe it needs updating for newer plugin-versions. But together with an SNMP-browser, you should get an idea. http://www.ultra-secure.de/~rainer/nagios/check_temp_cpq http://www.ultra-secure.de/~rainer/nagios/check_fan_cpq_present (Similar plugins exist for reading out the MIBs of FSC ServerView - but because the semantics are slightly different, I couldn't just swap the MIBs) Looking at it now, a cleanup in comments and help-text seems appropriate... cheers, Rainer -- =================================================== ~ Rainer Duffner - rainer at ultra-secure.de ~ ~ Freising - Munich - Germany ~ ~ Unix - Linux - BSD - OpenSource - Security ~ ~ http://www.ultra-secure.de/~rainer/pubkey.pgp ~ =================================================== --__--__-- Message: 6 From: Benoit Mortier Organization: OpenSides To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Insight and Nagios Date: Sun, 9 Jan 2005 21:27:12 +0100 Le Dimanche 9 Janvier 2005 17:43, Rainer Duffner a =E9crit=A0: > Sand Philipp wrote: [..] > The plugin doesn't look very useful (to me). > I've written a better one (feature-wise - code-quality is a different > issue) some time ago. > It's actually two plugins to check fans and temperatures. > Currently, I do not have access to CPQ-Hardware anymore, so I can't say > how useful it still is (maybe MIBs have changed - I don't know). It's > also written for netsaint originally - maybe it needs updating for newer > plugin-versions. > But together with an SNMP-browser, you should get an idea. > > http://www.ultra-secure.de/~rainer/nagios/check_temp_cpq > http://www.ultra-secure.de/~rainer/nagios/check_fan_cpq_present could you submit them to the nagiosplug project on sourceforge in the new=20 plugins section. > (Similar plugins exist for reading out the MIBs of FSC ServerView - but > because the semantics are slightly different, I couldn't just swap the > MIBs) could you give me a link to them, thanks =2D-=20 Benoit Mortier Linux Engineer www.opensides.be --__--__-- Message: 7 Date: Mon, 10 Jan 2005 14:07:10 +1100 From: "S. H." Reply-To: "S. H." To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] help with check_http with ampersand (&) in URL hi all can check_http check links with ampersand (&) characters in the url. An example url would be: http://intl.yahoo.asia.studylink.com/results/results.html?page=1&study-locations=&levels-of-study=&keywords=it when i try the above url i get strange results that nagios doesn't understand. example: root at vmNagios:/usr/local/nagios/libexec# ./check_http -H intl.yahoo.asia.studylink.com -u /results/results.html?page=1&study-locations=&levels-of-study=&keywords=it [1] 394 [2] 395 bash: study-locations=: command not found [3] 396 bash: levels-of-study=: command not found [2] Exit 127 study-locations= [3]+ Exit 127 levels-of-study= root at vmNagios:/usr/local/nagios/libexec# HTTP ok: HTTP/1.0 302 Moved Temporarily - 0.358 second response time |time= 0.358 any help much appreciated --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From esub at earthlink.net Mon Jan 10 18:36:18 2005 From: esub at earthlink.net (sub) Date: Mon, 10 Jan 2005 12:36:18 -0500 (GMT-05:00) Subject: How do I reply to a person? Message-ID: <17298349.1105378579082.JavaMail.root@grover.psp.pas.earthlink.net> How do I reply to a person? What I did was just reply to the email. Thanks, Juan -----Original Message----- From: nagios-users-request at lists.sourceforge.net Sent: Jan 9, 2005 11:09 PM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #2413 - 7 msgs Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-admin at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Using Nagios for the first time!!! (Kaushal Patel) 2. Re: More on notifications and reboot monitoring (Carson Gaspar) 3. Re: More on notifications and reboot monitoring (Carson Gaspar) 4. Re: Using Nagios for the first time!!! (Chris) 5. Re: HP Insight and Nagios (Rainer Duffner) 6. Re: HP Insight and Nagios (Benoit Mortier) 7. help with check_http with ampersand (&) in URL (S. H.) --__--__-- Message: 1 Date: Sun, 9 Jan 2005 01:18:11 -0500 From: Kaushal Patel Reply-To: Kaushal Patel To: nagios-users at lists.sourceforge.net, nagiosplug-help at lists.sourceforge.net Subject: [Nagios-users] Using Nagios for the first time!!! Hello All, I am a Masters student in Electrical Engg. And I am working on a masters project which involves use of Nagios. To be more precise, I'll be working on Esensors' Energy Meter monitoring project during next 4-6 months. Now, I just wanted to know is it possible to install Nagios in a PC without really connecting it to the web or net. I mean just isolated/standalond installation of Nagios. I just want to have an idea of working of Nagios, so that accoring I can work on my project. So far, assuming that it is possible to install Nagios, I downloaded the latest file nagios-2.0b1.tar.gz and I guess I installed it properly. I am not sure if its done perfectly or not, as I am not sure how to check that. Next I tried to install the plug ins file nagiosplug 1.4-beta1. But could not install it properly. I already have posted the problem in detail yesterday here only. So, Andreas Ericsson suggested the following solution. (Thanks Andreas!!!) ----- This is a known problem. Try downloading the CVS head of the plugins, and pray the developers don't put this kind of easy-to-find bugs in the next release. ----- However, I am not sure where to and how to install CVS and how to integrate it with the plugins. Moreover, I just started using and learing Linux. (I am using Red Hat Linux). Could someone please help in above problems ? I searched and read a lot to solve this, but still not able to start Nagios completely with its all ;lugins and CVSs. Thanks, Kaushal Patel MSEE, The State University of New York at Buffalo 90 Cornell Street Buffalo, NY 14214 Ph: 716-836-5674 --__--__-- Message: 2 Date: Sun, 09 Jan 2005 03:34:12 -0500 From: Carson Gaspar To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] More on notifications and reboot monitoring --On Saturday, January 08, 2005 2:53 PM -0800 Joe Rhett wrote: > I'd re-examine your prohibition against active checks, because you're > effectively writing active monitoring support, and it requires both more > extra code/complexity and more resources than just using normal ping > checks and scheduled downtime. If you'd care to re-write Nagios in such a way that it can scale to 10,000 hosts using active checks, I'd be more than happy to use it. Sadly, the current 1 fork (and an exec for non embedded perl checks) per data point just doesn't scale well. The extra resources required in this case are all on the client, not on the Nagios server(s). -- Carson --__--__-- Message: 3 Date: Sun, 09 Jan 2005 03:50:40 -0500 From: Carson Gaspar To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] More on notifications and reboot monitoring --On Saturday, January 08, 2005 2:56 PM -0800 Joe Rhett wrote: > On Thu, Jan 06, 2005 at 05:09:40PM -0500, Carson Gaspar wrote: >> - Alarms when machines reboot unexpectedly > > Your solution only tells you when the system comes far enough back up to > tell you, and it doesn't tell you when the system goes offline and stays. No, if the server stays down, Ping will alarm as soon as scheduled downtime expires (+ 0 to ping interval additional time). If the server comes back up enough to respond to ICMP echo requests, but does not complete booting, all the service checks will alarm due to freshness checks (assuming you have something being monitored on that host). -- Carson --__--__-- Message: 4 Date: Sun, 09 Jan 2005 09:27:55 -0500 From: Chris To: Kaushal Patel Cc: nagios-users at lists.sourceforge.net, nagiosplug-help at lists.sourceforge.net Subject: Re: [Nagios-users] Using Nagios for the first time!!! You are not installing CVS. Andreas is just saying to get the latest and greatest code from CVS and try it. So give the following a try. Go to the following url and download the file called nagios-plugins-HEAD http://nagiosplug.sourceforge.net/snapshot/ Then compile it as per the directions in the archive. Chris Kaushal Patel wrote: >Hello All, >I am a Masters student in Electrical Engg. And I am working on a >masters project which involves use of Nagios. To be more precise, I'll >be working on Esensors' Energy Meter monitoring project during next >4-6 months. > >Now, I just wanted to know is it possible to install Nagios in a PC >without really connecting it to the web or net. I mean just >isolated/standalond installation of Nagios. I just want to have an >idea of working of Nagios, so that accoring I can work on my project. > >So far, assuming that it is possible to install Nagios, I downloaded >the latest file nagios-2.0b1.tar.gz and I guess I installed it >properly. I am not sure if its done perfectly or not, as I am not sure >how to check that. Next I tried to install the plug ins file >nagiosplug 1.4-beta1. But could not install it properly. I already >have posted the problem in detail yesterday here only. > >So, Andreas Ericsson suggested the following solution. (Thanks Andreas!!!) >----- >This is a known problem. Try downloading the CVS head of the plugins, >and pray the developers don't put this kind of easy-to-find bugs in the >next release. >----- >However, I am not sure where to and how to install CVS and how to >integrate it with the plugins. Moreover, I just started using and >learing Linux. (I am using Red Hat Linux). > >Could someone please help in above problems ? I searched and read a >lot to solve this, but still not able to start Nagios completely with >its all ;lugins and CVSs. > >Thanks, >Kaushal Patel >MSEE, The State University of New York at Buffalo >90 Cornell Street >Buffalo, NY 14214 >Ph: 716-836-5674 > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > > --__--__-- Message: 5 Date: Sun, 09 Jan 2005 17:43:41 +0100 From: Rainer Duffner To: Sand Philipp CC: Jeremy Russell , nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Insight and Nagios Sand Philipp wrote: >Hi, > >Watch out for the check_insight Plugin. I'm not sure if it's provided >within the standard Plugins package.. If you can't find it, i can mail >it to you, too. >Workin fine here... > >/Philipp > > > The plugin doesn't look very useful (to me). I've written a better one (feature-wise - code-quality is a different issue) some time ago. It's actually two plugins to check fans and temperatures. Currently, I do not have access to CPQ-Hardware anymore, so I can't say how useful it still is (maybe MIBs have changed - I don't know). It's also written for netsaint originally - maybe it needs updating for newer plugin-versions. But together with an SNMP-browser, you should get an idea. http://www.ultra-secure.de/~rainer/nagios/check_temp_cpq http://www.ultra-secure.de/~rainer/nagios/check_fan_cpq_present (Similar plugins exist for reading out the MIBs of FSC ServerView - but because the semantics are slightly different, I couldn't just swap the MIBs) Looking at it now, a cleanup in comments and help-text seems appropriate... cheers, Rainer -- =================================================== ~ Rainer Duffner - rainer at ultra-secure.de ~ ~ Freising - Munich - Germany ~ ~ Unix - Linux - BSD - OpenSource - Security ~ ~ http://www.ultra-secure.de/~rainer/pubkey.pgp ~ =================================================== --__--__-- Message: 6 From: Benoit Mortier Organization: OpenSides To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] HP Insight and Nagios Date: Sun, 9 Jan 2005 21:27:12 +0100 Le Dimanche 9 Janvier 2005 17:43, Rainer Duffner a =E9crit=A0: > Sand Philipp wrote: [..] > The plugin doesn't look very useful (to me). > I've written a better one (feature-wise - code-quality is a different > issue) some time ago. > It's actually two plugins to check fans and temperatures. > Currently, I do not have access to CPQ-Hardware anymore, so I can't say > how useful it still is (maybe MIBs have changed - I don't know). It's > also written for netsaint originally - maybe it needs updating for newer > plugin-versions. > But together with an SNMP-browser, you should get an idea. > > http://www.ultra-secure.de/~rainer/nagios/check_temp_cpq > http://www.ultra-secure.de/~rainer/nagios/check_fan_cpq_present could you submit them to the nagiosplug project on sourceforge in the new=20 plugins section. > (Similar plugins exist for reading out the MIBs of FSC ServerView - but > because the semantics are slightly different, I couldn't just swap the > MIBs) could you give me a link to them, thanks =2D-=20 Benoit Mortier Linux Engineer www.opensides.be --__--__-- Message: 7 Date: Mon, 10 Jan 2005 14:07:10 +1100 From: "S. H." Reply-To: "S. H." To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] help with check_http with ampersand (&) in URL hi all can check_http check links with ampersand (&) characters in the url. An example url would be: http://intl.yahoo.asia.studylink.com/results/results.html?page=1&study-locations=&levels-of-study=&keywords=it when i try the above url i get strange results that nagios doesn't understand. example: root at vmNagios:/usr/local/nagios/libexec# ./check_http -H intl.yahoo.asia.studylink.com -u /results/results.html?page=1&study-locations=&levels-of-study=&keywords=it [1] 394 [2] 395 bash: study-locations=: command not found [3] 396 bash: levels-of-study=: command not found [2] Exit 127 study-locations= [3]+ Exit 127 levels-of-study= root at vmNagios:/usr/local/nagios/libexec# HTTP ok: HTTP/1.0 302 Moved Temporarily - 0.358 second response time |time= 0.358 any help much appreciated --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From loyd at cyber.kodak.com Mon Jan 10 18:53:22 2005 From: loyd at cyber.kodak.com (Eric Loyd) Date: Mon, 10 Jan 2005 12:53:22 -0500 Subject: Is it possible to confirm an alarm condition prior to generating an alert? In-Reply-To: References: Message-ID: <6.1.2.0.2.20050110125146.01becc30@imap.cyber.kodak.com> You need to change the max_check_attempts to be something other than 1 for these services. This lets them check again (as defined by the retry_check_interval) a few times before notifying. You may also want to set the notification_interval to be something higher than 10 minutes, which means "only notify once every ten minutes (or whatever you set it to), regardless of how many times it has failed in that time." In other words, the answers to your questions on this topic are in the nagios documentation on notifications and configuration. At 12:48 PM 1/10/2005, don mccallum wrote: > >Hello everybody. >I am running Nagios 1.2b and 2.01 at two separate locations. Both on >Redhat 7.3 >The issue I am running into is a large number of false alerts, which due >to the nature of what we are monitoring. (In reality they are real alerts >but they immediately recover ? Nagios is working to well!) >We monitor our customers servers who are widely distributed on the >net. Most are on DSL, cable or wireless connections. The customers we >have on non-dedicated lines are generating real errors whenever they have >to reboot a cable modem etc, but they always recover within a few >minutes. Our alerts typically read ?10:48 Host1 is down? then immediately >?10:48 Service xxx is down? (repeat for all services) then followed by >?10:48 Host1 is up? followed by ?10:48 Service xxx has recovered? (repeat >again) >Therefore, my question is on the host/service checks can I have it recheck >a host/service when a failure occurs after 5 or 10 seconds prior to >generating the first alert? Perhaps configuring it to only send an email >after the 2nd error condition is seen. Simply double checking prior to >generating the alert would be helpful to us. > >Thanks all, >-Don McCallum > mccallum at nemsys.com > 419-243-3603x113 > Nemsys LLC -- Eric Loyd Drive defensively. Buy a tank. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Mon Jan 10 18:59:40 2005 From: marc at ena.com (Marc Powell) Date: Mon, 10 Jan 2005 11:59:40 -0600 Subject: Is it possible to confirm an alarm condition prior to generating an alert? Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835EAC@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of don mccallum > Sent: Monday, January 10, 2005 11:48 AM > To: Nagios Users List > Subject: [Nagios-users] Is it possible to confirm an alarm condition prior > to generating an alert? > > > > Hello everybody. > > I am running Nagios 1.2b and 2.01 at two separate locations. Both on > Redhat 7.3 > > The issue I am running into is a large number of false alerts, which due > to the nature of what we are monitoring. (In reality they are real alerts > but they immediately recover - Nagios is working to well!) > > We monitor our customers servers who are widely distributed on the net. > Most are on DSL, cable or wireless connections. The customers we have on > non-dedicated lines are generating real errors whenever they have to > reboot a cable modem etc, but they always recover within a few minutes. > Our alerts typically read "10:48 Host1 is down" then immediately "10:48 > Service xxx is down" (repeat for all services) then followed by "10:48 > Host1 is up" followed by "10:48 Service xxx has recovered" (repeat again) > > Therefore, my question is on the host/service checks can I have it recheck > a host/service when a failure occurs after 5 or 10 seconds prior to > generating the first alert? Perhaps configuring it to only send an email > after the 2nd error condition is seen. Simply double checking prior to > generating the alert would be helpful to us. Max_check_attempts 2 Retry_check_interval [duration to wait between check attempts] -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gdyates at att.com Mon Jan 10 19:22:45 2005 From: gdyates at att.com (Yates, George D, GVSOL) Date: Mon, 10 Jan 2005 12:22:45 -0600 Subject: comparison Message-ID: <7068E19520E14C4A8CAF6BB75EBEC54E04DCB8F4@OCCLUST01EVS1.ugd.att.com> I'm a system engineer at a firm that is looking at its current system management platform and is looking for alternatives. I was considering Nagios but what to compare it to the features that our current system provide. Could you tell me if Nagios can provide the following for us. Network Monitoring/Alarm Features: - Ability to discover and store all IP addresses within the system using fully qualified DNS names - Ability to detect if any IP address is down to generate a management alarm. Detect when a downed IP is restored to service. - Ability to use (MIBs) Management Information Base to capture key statistics - Alarm generation based on MIB threshold statistics - Tools to manage MIBs (MIB browser) and make config changes. - Graphical interface to organize alarms status indicators - Alarm correlation to manage event floods Sever Monitoring/Management Features - Monitor any number of logfiles on a server for error codes/patter matching - Detection of utilization threshold events for file systems, memory and CPU - Monitor a configurable list of software apps for running status - Tools to allow system admin to efficiently change any of the monitoring config files on a large number of servers - Generate alarms for any condition threshold that is exceeded. Alarms are sent to a single user display. - Automatically invoke scripts when selected condition threshold conditions are met - Server monitoring by intelligent agents, only alarms are sent to central server (bandwidth, alarm persistence and reliability benefit) If you could tell me, out of those bullets, which ones Nagios can perform or can't? regards, Mr. Yates George D. Yates Systems Engineer 443-259-8127 gdyates at ems.att.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gdyates at att.com Mon Jan 10 21:28:28 2005 From: gdyates at att.com (Yates, George D, GVSOL) Date: Mon, 10 Jan 2005 14:28:28 -0600 Subject: comparison Message-ID: <7068E19520E14C4A8CAF6BB75EBEC54E04DCBB37@OCCLUST01EVS1.ugd.att.com> More comparison needed. It is possible for Nagios to perform the following if configured? Performance Management -Gather and store performance statistics for servers and network devices -Provide a searchable database of statistics with a report generator capability -Standard MIBs that are integrated into the tool Other Management Features -Capability to integrate custom scripts that perform oracle SQL queries, process checks into a common alarm display -Integrate trouble ticket and asset records with server and network monitoring features User Interface -Store and retrieve resolved alarms in a searchable database -Reformatting and display of complex alarms for special use -Provide an interface to control what aspects of the platform individual users/user groups can access -Ability for users to launch scripts used for system management monitoring/control functions (graphing SNMP traffic, etc) George _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Yates, George D, GVSOL Sent: Monday, January 10, 2005 1:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] comparison I'm a system engineer at a firm that is looking at its current system management platform and is looking for alternatives. I was considering Nagios but what to compare it to the features that our current system provide. Could you tell me if Nagios can provide the following for us. Network Monitoring/Alarm Features: - Ability to discover and store all IP addresses within the system using fully qualified DNS names - Ability to detect if any IP address is down to generate a management alarm. Detect when a downed IP is restored to service. - Ability to use (MIBs) Management Information Base to capture key statistics - Alarm generation based on MIB threshold statistics - Tools to manage MIBs (MIB browser) and make config changes. - Graphical interface to organize alarms status indicators - Alarm correlation to manage event floods Sever Monitoring/Management Features - Monitor any number of logfiles on a server for error codes/patter matching - Detection of utilization threshold events for file systems, memory and CPU - Monitor a configurable list of software apps for running status - Tools to allow system admin to efficiently change any of the monitoring config files on a large number of servers - Generate alarms for any condition threshold that is exceeded. Alarms are sent to a single user display. - Automatically invoke scripts when selected condition threshold conditions are met - Server monitoring by intelligent agents, only alarms are sent to central server (bandwidth, alarm persistence and reliability benefit) If you could tell me, out of those bullets, which ones Nagios can perform or can't? regards, Mr. Yates George D. Yates Systems Engineer 443-259-8127 gdyates at ems.att.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmccallum at nemsys.com Mon Jan 10 19:41:35 2005 From: dmccallum at nemsys.com (don mccallum) Date: Mon, 10 Jan 2005 13:41:35 -0500 Subject: Is it possible to confirm an alarm condition prior to generating an alert? Message-ID: Ah, I read those, but I completely misunderstood... I thought it max check attempts was how many times it would try when a service was down.... Not how many prior to sending an alert. That helps tremendously. Thanks Eric. -Don ________________________________ From: Eric Loyd [mailto:loyd at cyber.kodak.com] Sent: Monday, January 10, 2005 12:53 PM To: don mccallum; Nagios Users List Subject: Re: [Nagios-users] Is it possible to confirm an alarm condition prior to generating an alert? Importance: Low You need to change the max_check_attempts to be something other than 1 for these services. This lets them check again (as defined by the retry_check_interval) a few times before notifying. You may also want to set the notification_interval to be something higher than 10 minutes, which means "only notify once every ten minutes (or whatever you set it to), regardless of how many times it has failed in that time." In other words, the answers to your questions on this topic are in the nagios documentation on notifications and configuration. At 12:48 PM 1/10/2005, don mccallum wrote: Hello everybody. I am running Nagios 1.2b and 2.01 at two separate locations. Both on Redhat 7.3 The issue I am running into is a large number of false alerts, which due to the nature of what we are monitoring. (In reality they are real alerts but they immediately recover - Nagios is working to well!) We monitor our customers servers who are widely distributed on the net. Most are on DSL, cable or wireless connections. The customers we have on non-dedicated lines are generating real errors whenever they have to reboot a cable modem etc, but they always recover within a few minutes. Our alerts typically read "10:48 Host1 is down" then immediately "10:48 Service xxx is down" (repeat for all services) then followed by "10:48 Host1 is up" followed by "10:48 Service xxx has recovered" (repeat again) Therefore, my question is on the host/service checks can I have it recheck a host/service when a failure occurs after 5 or 10 seconds prior to generating the first alert? Perhaps configuring it to only send an email after the 2nd error condition is seen. Simply double checking prior to generating the alert would be helpful to us. Thanks all, -Don McCallum mccallum at nemsys.com 419-243-3603x113 Nemsys LLC ________________________________ Message transport security by GatewayDefender 12:53:31 PM ET - 1/10/2005 -- Eric Loyd Drive defensively. Buy a tank. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan at synaptic.net.nz Mon Jan 10 22:42:29 2005 From: dan at synaptic.net.nz (Dan Clark) Date: Tue, 11 Jan 2005 10:42:29 +1300 Subject: Service status total In-Reply-To: <636d7415050110133746e75acf@mail.gmail.com> References: <636d7415050110133746e75acf@mail.gmail.com> Message-ID: <41E2F6C5.7010308@synaptic.net.nz> if you drill down on the object, does it have more than one service attached to it? like PING and TELNET or something similar? 1 UP will be the host itself? Regards Dan Qolinar wrote: >Why do I see the following: > > >Status Summary For All Service Groups > >Store_0011_ping (Store_0011_group) 1 UP > 2 OK > > >There is only one router in that service group and I've got host >checking turned off. Where does it get "2 OK" from?? > > >Thanks!! > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tthogersen at interstatelumber.com Mon Jan 10 20:43:06 2005 From: tthogersen at interstatelumber.com (Tom Thogersen) Date: Mon, 10 Jan 2005 14:43:06 -0500 Subject: statusmap.cgi Message-ID: I'm setting up Nagios 2.0 on Linux Enterprise and have most of the stuff working except for this problem with statusmap.cgi I have the following libraries installed via RPM: zlib-devel-1.1.4-8.1, zlib-1.1.4-8.1, libpng-devel-1..2.2-25, libpng-1.2.2-25, libjpeg-devel-6b-1.3.0, libjpeg-6b-30, libgd-devel-1.3-4, libgd-1.3.-4. When I run configure it cannot find the gd libraries. I have tried the FAQ F0055 with no luck as well as making the entry in ld.so.conf and running ldconf. Any help or suggestions would be great. Thanks Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmosh at shaw.ca Mon Jan 10 22:51:43 2005 From: jmosh at shaw.ca (Joubin Moshrefzadeh) Date: Mon, 10 Jan 2005 13:51:43 -0800 Subject: storing host/service down events in database Message-ID: <133f7b813443f3.13443f3133f7b8@shaw.ca> all this time i've been thinking "database integration of downtime" means nagios keeps records of when devices go down and come up (the unscheduled events!!) in the database rather than in a log file... but much to my dismay, i found the downtime tables empty after several weeks of testing... and finally I read the docs more carfully and picked up on the "Scheduled host and service downtime" section just before the "Database support" section in the documentation. tell me I'm missing something... because I was really hoping the day to day down and up events that nagios detects are what get stored in the database. If this feature isn't supported, has anyone out there written a script (perl preferably) that scans the logs and makes the database entries?? much thanks! Joubin ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dan at synaptic.net.nz Mon Jan 10 20:51:23 2005 From: dan at synaptic.net.nz (Dan Clark) Date: Tue, 11 Jan 2005 08:51:23 +1300 Subject: Customizing alerts to add acknowledgements to emails? Message-ID: <41E2DCBB.7070406@synaptic.net.nz> Hi Guys, just wondering if anyone knows where the messages are generated from for email notifications? I'd like to add an at the bottom of the email to acknowledge the problem by just clicking on the link. If anyone has come across this already please let me know. Kind Regards Dan Clark Technical Director Syanptic Ltd ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Mon Jan 10 23:11:29 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Mon, 10 Jan 2005 16:11:29 -0600 Subject: Customizing alerts to add acknowledgements to emails? In-Reply-To: <41E2DCBB.7070406@synaptic.net.nz> References: <41E2DCBB.7070406@synaptic.net.nz> Message-ID: <1105395089.31148.28.camel@localhost> On Mon, 2005-01-10 at 13:51 -0600, Dan Clark wrote: > Hi Guys, just wondering if anyone knows where the messages are > generated > from for email notifications? > I'd like to add an at the bottom of the email to > acknowledge > the problem by just clicking on the link. > If anyone has come across this already please let me know. misccommands.cfg ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jan 10 23:12:32 2005 From: marc at ena.com (Marc Powell) Date: Mon, 10 Jan 2005 16:12:32 -0600 Subject: Customizing alerts to add acknowledgements to emails? Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835EF0@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Dan Clark > Sent: Monday, January 10, 2005 1:51 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Customizing alerts to add acknowledgements to > emails? > > Hi Guys, just wondering if anyone knows where the messages are generated > from for email notifications? > I'd like to add an at the bottom of the email to acknowledge > the problem by just clicking on the link. > If anyone has come across this already please let me know. Edit the appropriate notify command (i.e. service_notify_by_email) in [mis]commands.cfg. They're either simple echo or printf statements with macro substitutions for the variable bits. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Mon Jan 10 23:18:56 2005 From: jhmartin at toger.us (Jason Martin) Date: Mon, 10 Jan 2005 14:18:56 -0800 Subject: storing host/service down events in database In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC835EF2@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC835EF2@mismail.ena.com> Message-ID: <20050110221856.GG1816@zippy.toger.us> On Mon, Jan 10, 2005 at 04:15:29PM -0600, Marc Powell wrote: > Only the current values are stored in the database. We use postgres and > used a simple trigger to copy the data on INSERT or UPDATE into another > table for longer-term storage and eventual migration to MSSQL. I believe the standard approach is to write a 'global event handler' that makes the appropriate entries in a database. 2.0's event broker would allow for much tighter (albeit harder to implement) integration. -Jason Martin -- You can't go home again, unless you set $HOME. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From dmaher at acetechnology.com Mon Jan 10 21:06:42 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Mon, 10 Jan 2005 15:06:42 -0500 Subject: Nagios and my sql Message-ID: The first thing that comes to mind is the obvious: does the "nagios" database exist, and if so, does it have a "programstatus" table? Furthermore, you might want to check the user that Nagios is using to connect to mysql, and determine if that user has the proper permissions. Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com] Sent: January 10, 2005 1:07 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios and my sql Dose anybody know what might be causing this error? Error: Could not insert/update status record for program in table 'programstatus' of database 'nagios' Nagios is running but I get this error in logs. -- Sudheer Muddappa ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.9 - Release Date: 06/01/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.9 - Release Date: 06/01/2005 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From g.vickers at qut.edu.au Tue Jan 11 00:19:49 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 11 Jan 2005 09:19:49 +1000 Subject: More on notifications and reboot monitoring In-Reply-To: References: <41E1CE26.18032.492BC3@localhost> Message-ID: <41E30D95.8050902@qut.edu.au> Carson Gaspar wrote: > > But there will _be_ no checks (other than ping) after the downtime if > anything went wrong, because the host will still be down. If a host is still down after downtime is over, you should set up a host notification (providing you are using active checks) on state DOWN/UNREACHABLE. Then when you receive that host down notification you will know that none of the services are available on that host. >> I would use active checks as Andreas suggested for checking host >> availability. Passive-only checks might be troublesome to implement >> reliably. > > I can't. They just don't scale to the number of hosts I need to monitor, > in Nagios's current incarnations (including 2.0 beta). We are monitoring 7k services and 1.5k hosts using Nagios 1.1. Sure it's slow as a dog (>60 sec to bring up the cgi web pages, Dual Xeon 2GHz, 1Gb RAM, SCSI RAID) - we're about to upgrade to 2.0 and I'm expecting to see a fairly massive decrease in response time for the web cgi pages. Nagios has scaled successfully for us, the monitoring process has low latency, most checks get performed within 10 sec of when they were scheduled, and notifications go out lickety-split. The only slow part is bringing up the web page and who wants to slog through 7k services in a web page? (Yes we use active checks on all our hosts.) > Ah well, I have a solution that works. I'm not thrilled with it, but it > handles every corner case I can think of. And will scale to a very large > number of hosts. Is anyone else here using Nagios to monitor >1000 > hosts? My target (right now) is 2k hosts per monitoring server, and a > total of about 12k hosts monitored. I take it you are in a data centre or some such business area. Demarcate areas (by client or whatever) and set up distrubuted Nagios boxes to monitor sub-areas. -- Greg Vickers Security Engineer Network Services Information Technology Services Queensland University of Technology email: g.vickers at qut.edu.au phone: (07) 3864 9536 CIROS code: 00213J ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jan 10 21:58:35 2005 From: marc at ena.com (Marc Powell) Date: Mon, 10 Jan 2005 14:58:35 -0600 Subject: comparison Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835EDA@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Yates, George D, GVSOL > Sent: Monday, January 10, 2005 12:23 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] comparison > > I'm a system engineer at a firm that is looking at its current system > management platform and is looking for alternatives. I was considering > Nagios but what to compare it to the features that our current system > provide. Could you tell me if Nagios can provide the following for us. > It sounds like what you are describing is OpenView. Nagios is very different, both architecturally and from a management and process standpoint. While OpenView is very SNMP oriented, Nagios is more service oriented (i.e. verify that your HTTP service is running and returning valid data) so it's likely not to fit all your requirements without some work or sometimes not at all. Below are some translations to associate your goals with Nagios concepts. There may be other ways to implement each request and these are only the ones that I thought of off the top of my head. > Network Monitoring/Alarm Features: > - Ability to discover and store all IP addresses within the system using > fully qualified DNS names Nagios doesn't auto-discover any hosts or services on it's own but you may be able to use the third party program nmap2nagios to accomplish this. > - Ability to detect if any IP address is down to generate a management > alarm. Detect when a downed IP is restored to service. Basic operation with an appropriate check defined (check_ping for example). > - Ability to use (MIBs) Management Information Base to capture key > statistics You can use check_snmp to query specific MIBs, compare to expected output and alert appropriately. Check_snmp can not compare current values against previous values so if you need that functionality you'd need to use a different plugin or create your own (very easy). Nagios can also be configured to accept SNMP alerts with the appropriate addon. The documentation covers this last one. > - Alarm generation based on MIB threshold statistics See above. > - Tools to manage MIBs (MIB browser) and make config changes. There are no addons that support this functionality that I am aware of. A fairly complete list of available configuration front-ends is available at http://www.nagiosexchange.org/Configuration.40.0.html. Some are better than others, YMMV. I think the vast majority of users manage the configs by hand or have created their own management tools based on their specific needs and information stores. > - Graphical interface to organize alarms status indicators Basic functionality presumably. You can peruse the screenshots online to see if it fits your needs. > - Alarm correlation to manage event floods Proper configuration of parents and host/service dependencies will likely fit the bill. > Sever Monitoring/Management Features > - Monitor any number of logfiles on a server for error codes/patter > matching Depends on the OS. Check_log for unix-like boxes and there is information in the archives on how to check Windows logs. > - Detection of utilization threshold events for file systems, memory and > CPU How it's done depends on the OS. There are plugins for most I believe. These types of checks usually require nrpe or nsclient to check remote hosts unless SNMP is used. > - Monitor a configurable list of software apps for running status Yes, can check the process list using one of the tools mentioned above. > - Tools to allow system admin to efficiently change any of the monitoring > config files on a large number of servers This depends on your system design but I've found that rsync works beautifully for me. Distributed monitoring might be what you are looking for but it's unknown how many monitoring machines you're going to have or how many hosts/services you're going to monitor. > - Generate alarms for any condition threshold that is exceeded. Alarms are > sent to a single user display. I'd call this one basic functionality. It's a vague requirement but generally if you can translate the alarm check and conditional requirements to a unix command-line program then you can alert on it with Nagios. > - Automatically invoke scripts when selected condition threshold > conditions are met Eventhandlers > - Server monitoring by intelligent agents, only alarms are sent to central > server (bandwidth, alarm persistence and reliability benefit) Passive checks although Nagios doesn't really supply the 'intelligent agents'. You can use cron + plugin/NSCA wrapper to emulate the agents I suppose or roll your own. Hth, marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sudheer at tgs-solutions.com Mon Jan 10 22:11:57 2005 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Mon, 10 Jan 2005 16:11:57 -0500 Subject: Nagios and my sql In-Reply-To: References: Message-ID: <41E2EF9D.7080902@tgs-solutions.com> Guys, This is what I found on the web regarding this issue. I am just going to use flat files. And OS I am using is debian linux http://groups-beta.google.com/group/linux.debian.bugs.dist/browse_frm/thread/50b459ea7ec3896d/9ffa7c595a557d35?q=nagios:+Error:+Could+not+insert%2Fupdate+status+record+for+program+in+table+%27programstatus%27+of+database&_done=%2Fgroups%3Fq%3D+nagios:+Error:+Could+not+insert%2Fupdate+status+record+for+program+in+table+%27programstatus%27+of+database%26hl%3Den%26lr%3D%26sa%3DN%26tab%3Dwg%26&_doneTitle=Back+to+Search&&d#9ffa7c595a557d35 Sudheer Daniel maher wrote: >The first thing that comes to mind is the obvious: does the "nagios" database exist, and if so, does it have a "programstatus" table? Furthermore, you might want to check the user that Nagios is using to connect to mysql, and determine if that user has the proper permissions. > > >Daniel Maher >System Engineer >ACE TECHNOLOGY INC. > > >-----Original Message----- >From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com] >Sent: January 10, 2005 1:07 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Nagios and my sql > >Dose anybody know what might be causing this error? > >Error: Could not insert/update status record for program in table >'programstatus' of database 'nagios' > >Nagios is running but I get this error in logs. > > > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From qolinar at gmail.com Mon Jan 10 22:37:08 2005 From: qolinar at gmail.com (Qolinar) Date: Mon, 10 Jan 2005 16:37:08 -0500 Subject: Service status total Message-ID: <636d7415050110133746e75acf@mail.gmail.com> Why do I see the following: Status Summary For All Service Groups Store_0011_ping (Store_0011_group) 1 UP 2 OK There is only one router in that service group and I've got host checking turned off. Where does it get "2 OK" from?? Thanks!! ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leonardomachado at gmail.com Mon Jan 10 22:39:57 2005 From: leonardomachado at gmail.com (Leonardo Henrique Machado) Date: Mon, 10 Jan 2005 19:39:57 -0200 Subject: Dependencies - a little confused. In-Reply-To: <20050110172846.C4908BA05@www.prhobbies.com> References: <20050110172846.C4908BA05@www.prhobbies.com> Message-ID: >I think I'm a little confused about dependencies. I'm running Nagios 1.2 and Change to Nagios 2.0. It's much better regarding dependencies. Now it supports inheritance and the new state PENDING. > 1. Hosts dependencies only effect host checks. Host dependencies affect only notifications. If a service fails, Nagios checks the host. But it has nothing to do with dependencies. It is just like that by default. > 2. Is it wise to have all services dependant on a check_ping service check? > Pros? Cons? That is what I do here. Without PING, no other service should be checked! I see just Pros. -- Leonardo Henrique Machado ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From johnsonmlw at yahoo.com Mon Jan 10 22:54:19 2005 From: johnsonmlw at yahoo.com (Matt Johnson) Date: Mon, 10 Jan 2005 21:54:19 +0000 (GMT) Subject: http through firewall Message-ID: <20050110215419.10337.qmail@web50801.mail.yahoo.com> Hi all, I've got nagios up and running on our network. It works a treat. Text alerts for a primary school ICT co-ordinator? Fantastic. I don't reckon there's many of them around :) Now I'm trying to test a service on a host the other side of a firewall. The firewall is *very* restrictive. I can get through to the webserver running on the host the other side, but the check_http times out the socket...? I can wget (from bash, so proxy must be set correct I think) from the host ip and also view pages in firefox - all *through* the firewall completely fine. Any ideas why I can't get nagios to get an http test through the same firewall? Thanks for any pointers on this. -- Matt ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From a.lillie at surewest.net Mon Jan 10 22:54:51 2005 From: a.lillie at surewest.net (Andrew Lillie) Date: Mon, 10 Jan 2005 13:54:51 -0800 Subject: comparison In-Reply-To: <7068E19520E14C4A8CAF6BB75EBEC54E04DCBB37@OCCLUST01EVS1.ugd.att.com> References: <7068E19520E14C4A8CAF6BB75EBEC54E04DCBB37@OCCLUST01EVS1.ugd.att.com> Message-ID: <41E2F9AB.9050204@surewest.net> George, With all due respect, I'd suggest that you read through the information available on the nagios website (http://www.nagios.org) before sending such a huge list of questions to the mailing list. I believe that many of your questions are even answered on the main "about" page (http://www.nagios.org/about.php). I'm not trying to bust your chops or give you the idea that the Nagios user community is hostile. Its just that I think you'll probably be able to find the answers to your questions in a much quicker fashion if you take a look online for them. As a gesture of goodwill, however, please let me know any remaining question you have after having perused the Nagios site. I'm not going to claim to be an expert, but I believe I should be able to answer most of what you're asking. Thanks, Andrew Yates, George D, GVSOL wrote: > More comparison needed. It is possible for Nagios to perform the > following if configured? > > Performance Management > -Gather and store performance statistics for servers and network devices > -Provide a searchable database of statistics with a report generator > capability > -Standard MIBs that are integrated into the tool > > Other Management Features > -Capability to integrate custom scripts that perform oracle SQL queries, > process checks into a common alarm display > -Integrate trouble ticket and asset records with server and network > monitoring features > > User Interface > -Store and retrieve resolved alarms in a searchable database > -Reformatting and display of complex alarms for special use > -Provide an interface to control what aspects of the platform individual > users/user groups can access > -Ability for users to launch scripts used for system management > monitoring/control functions (graphing SNMP traffic, etc) > > George > ------------------------------------------------------------------------ > *From:* nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] *On Behalf Of *Yates, > George D, GVSOL > *Sent:* Monday, January 10, 2005 1:23 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] comparison > > I'm a system engineer at a firm that is looking at its current system > management platform and is looking for alternatives. I was considering > Nagios but what to compare it to the features that our current system > provide. Could you tell me if Nagios can provide the following for us. > > Network Monitoring/Alarm Features: > - Ability to discover and store all IP addresses within the system using > fully qualified DNS names > - Ability to detect if any IP address is down to generate a management > alarm. Detect when a downed IP is restored to service. > - Ability to use (MIBs) Management Information Base to capture key > statistics > - Alarm generation based on MIB threshold statistics > - Tools to manage MIBs (MIB browser) and make config changes. > - Graphical interface to organize alarms status indicators > - Alarm correlation to manage event floods > > Sever Monitoring/Management Features > - Monitor any number of logfiles on a server for error codes/patter matching > - Detection of utilization threshold events for file systems, memory and CPU > - Monitor a configurable list of software apps for running status > - Tools to allow system admin to efficiently change any of the > monitoring config files on a large number of servers > - Generate alarms for any condition threshold that is exceeded. Alarms > are sent to a single user display. > - Automatically invoke scripts when selected condition threshold > conditions are met > - Server monitoring by intelligent agents, only alarms are sent to > central server (bandwidth, alarm persistence and reliability benefit) > > If you could tell me, out of those bullets, which ones Nagios can > perform or can't? > > regards, > > Mr. Yates > > George D. Yates > Systems Engineer > 443-259-8127 > gdyates at ems.att.com > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dan at synaptic.net.nz Mon Jan 10 23:15:02 2005 From: dan at synaptic.net.nz (Dan Clark) Date: Tue, 11 Jan 2005 11:15:02 +1300 Subject: Customizing alerts to add acknowledgements to emails? In-Reply-To: <1105395089.31148.28.camel@localhost> References: <41E2DCBB.7070406@synaptic.net.nz> <1105395089.31148.28.camel@localhost> Message-ID: <41E2FE66.3090205@synaptic.net.nz> An HTML attachment was scrubbed... URL: From marc at ena.com Mon Jan 10 23:15:29 2005 From: marc at ena.com (Marc Powell) Date: Mon, 10 Jan 2005 16:15:29 -0600 Subject: storing host/service down events in database Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835EF2@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Joubin Moshrefzadeh > Sent: Monday, January 10, 2005 3:52 PM > To: nagios_list > Subject: [Nagios-users] storing host/service down events in database > > all this time i've been thinking "database integration of downtime" means > nagios keeps records of when devices go down and come up (the unscheduled > events!!) in the database rather than in a log file... but much to my > dismay, i found the downtime tables empty after several weeks of > testing... and finally I read the docs more carfully and picked up on the > "Scheduled host and service downtime" section just before the "Database > support" section in the documentation. > > tell me I'm missing something... because I was really hoping the day to > day down and up events that nagios detects are what get stored in the > database. If this feature isn't supported, has anyone out there written a > script (perl preferably) that scans the logs and makes the database > entries?? Only the current values are stored in the database. We use postgres and used a simple trigger to copy the data on INSERT or UPDATE into another table for longer-term storage and eventual migration to MSSQL. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Mon Jan 10 23:17:06 2005 From: jhmartin at toger.us (Jason Martin) Date: Mon, 10 Jan 2005 14:17:06 -0800 Subject: http through firewall In-Reply-To: <20050110215419.10337.qmail@web50801.mail.yahoo.com> References: <20050110215419.10337.qmail@web50801.mail.yahoo.com> Message-ID: <20050110221706.GF1816@zippy.toger.us> On Mon, Jan 10, 2005 at 09:54:19PM +0000, Matt Johnson wrote: > restrictive. I can get through to the webserver > running on the host the other side, but the check_http > times out the socket...? It sounds like check_http is not really getting through. > I can wget (from bash, so proxy must be set correct I > think) from the host ip and also view pages in firefox > - all *through* the firewall completely fine. check_http doesn't understand proxies yet. The output of wget should indicate if it is using a proxy. -Jason Martin -- You can't go home again, unless you set $HOME. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From marc at ena.com Mon Jan 10 23:21:39 2005 From: marc at ena.com (Marc Powell) Date: Mon, 10 Jan 2005 16:21:39 -0600 Subject: http through firewall Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835EF3@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Matt Johnson > Sent: Monday, January 10, 2005 3:54 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] http through firewall > > Hi all, > > I've got nagios up and running on our network. It > works a treat. Text alerts for a primary school ICT > co-ordinator? Fantastic. I don't reckon there's many > of them around :) > > Now I'm trying to test a service on a host the other > side of a firewall. The firewall is *very* > restrictive. I can get through to the webserver > running on the host the other side, but the check_http > times out the socket...? > > I can wget (from bash, so proxy must be set correct I > think) from the host ip and also view pages in firefox > - all *through* the firewall completely fine. > > Any ideas why I can't get nagios to get an http test > through the same firewall? If you must use a proxy to get out then you also have to tell check_http to use that proxy. Something like the following should do -- # 'check_caching' command definition define command{ command_name check_caching command_line $USER1$/ check_http -H www.yourtestedsite.com -I ip.of.proxy.host --onredirect follow -p 8080 -wt 20 -ct 30 -to 35 -u http://www.yourtestedsite.com -R \/HTML } Of course www.mytestedsite.com could be a macro argument passed by your service definition ($ARG1$). check_http --help provides more information on specific command line switches. If you don't have to use a proxy to get out then it should just work. Try running the command from the command line as it is defined in your commands.cfg as the user that Nagios runs as. You may see useful error messages that explain the problem. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.shipway at auckland.ac.nz Tue Jan 11 02:24:59 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 11 Jan 2005 14:24:59 +1300 Subject: Windows Eventlog->NSCA agent v1.3 Message-ID: <01f801c4f77c$5dfd8e40$01fea8c0@itss.auckland.ac.nz> The latest version of this (v1.3), which should correct a suspected memory leak, is now available for download from http://www.steveshipway.org/software in the Nagios section. Also available there are the check_website plugin (v0.2), check_esx (for VMWare ESX), check_tsm (requires TSM and TSM::Log Perl modules) and some other junk. Thanks for your time, Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From g.vickers at qut.edu.au Tue Jan 11 00:34:42 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 11 Jan 2005 09:34:42 +1000 Subject: Customizing alerts to add acknowledgements to emails? In-Reply-To: <41E2DCBB.7070406@synaptic.net.nz> References: <41E2DCBB.7070406@synaptic.net.nz> Message-ID: <41E31112.6060104@qut.edu.au> Dan, here is how I do it: define command{ command_name service-notify-by-email command_line echo -e "Note: DO NOT REPLY TO THIS EMAIL\n\nThe service \"$SERVICEDESC$\" on host \"$HOSTALIAS$\" at IP $HOSTADDRESS$ is in a $SERVICESTATE$ state.\n\nThe output from the service check: $OUTPUT$\n\nService URL:\"http://nagios./nagios/cgi-bin/extinfo.cgi?type=2&host=$HOSTNAME$&service=$SERVICEDESC$\"\n(Note: This link will take you to the service problem and not show the sidebar.)\n\nNagios homepage: http://nagios./" | mail -s "$HOSTNAME$ has a service in an $SERVICESTATE$ state" $CONTACTEMAIL$ -a "From: nagiosadmin at nagios." } Appropriately sanitized. HTH, Greg Dan Clark wrote: > Hi Guys, just wondering if anyone knows where the messages are generated > from for email notifications? > I'd like to add an at the bottom of the email to acknowledge > the problem by just clicking on the link. > If anyone has come across this already please let me know. > > Kind Regards > Dan Clark > Technical Director > Syanptic Ltd > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Greg Vickers Security Engineer Network Services Information Technology Services Queensland University of Technology email: g.vickers at qut.edu.au phone: (07) 3864 9536 CIROS code: 00213J ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From itamar at traiana.com Tue Jan 11 02:08:14 2005 From: itamar at traiana.com (Itamar Lavender) Date: Tue, 11 Jan 2005 03:08:14 +0200 Subject: check http using specific SSL certificate Message-ID: <32E0C0122549944A8D0E06EAA512295D46AC1B@scorpion.Traiana.INT> Hi, I'm trying to monitor one of my HTTP servers which I must access trough SSL using my own certificate The server doesn't supply a certificate but check if you have it. Is it possible at all? I'm currently monitoring all my other servers & it works great.... this is my favorite tool :-) If some one think he can help I'll be thankful... Any idea for new script that uses check_http will be blessed. Itamar. -------------- next part -------------- An HTML attachment was scrubbed... URL: From strombrg at dcs.nac.uci.edu Tue Jan 11 02:12:52 2005 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Mon, 10 Jan 2005 17:12:52 -0800 Subject: check http using specific SSL certificate In-Reply-To: <32E0C0122549944A8D0E06EAA512295D46AC1B@scorpion.Traiana.INT> References: <32E0C0122549944A8D0E06EAA512295D46AC1B@scorpion.Traiana.INT> Message-ID: <1105405972.4992.87.camel@localhost.localdomain> You probably use some variation of the following theme: if (echo 'GET / HTTP/1.0^M'; echo '^M') | \ /usr/bin/maxtime 10 \ /usr/bin/openssl s_client -quiet -connect "$1:443" 2>&1 | \ grep HTTP > /dev/null 2>&1 then echo Service available exit 0 else echo Service down exit 2 fi If you want my maxtime program, please drop me a note. I probably should put it up for download anyway. On Tue, 2005-01-11 at 03:08 +0200, Itamar Lavender wrote: > Hi, > > I'm trying to monitor one of my HTTP servers which I must access > trough SSL using my own certificate > > The server doesn't supply a certificate but check if you have it. > > Is it possible at all? > I'm currently monitoring all my other servers & it works great.... > this is my favorite tool :-) > If some one think he can help I'll be thankful... > Any idea for new script that uses check_http will be blessed. > > > Itamar. > > > > > > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From ongsheau at singnet.com.sg Tue Jan 11 04:34:00 2005 From: ongsheau at singnet.com.sg (Jonathan Ong) Date: Tue, 11 Jan 2005 11:34:00 +0800 Subject: WAP Server Monitoring Message-ID: <6.2.0.14.0.20050111112912.0387fa60@singnet.com.sg> Hi, I'm looking for a Nagios plugin for monitoring WAP servers. Has anyone done something like this? Appreciate any pointers. Thanks. Jonathan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From itamar at traiana.com Tue Jan 11 03:05:45 2005 From: itamar at traiana.com (Itamar Lavender) Date: Tue, 11 Jan 2005 04:05:45 +0200 Subject: check http using specific SSL certificate Message-ID: <32E0C0122549944A8D0E06EAA512295D46AC1C@scorpion.Traiana.INT> Thanks for replying, unfortunately the way you suggest will take away from me the wonder options of check_http. (since I really need to monitor the pages). 10x, Itamar. -----Original Message----- From: Dan Stromberg [mailto:strombrg at dcs.nac.uci.edu] Sent: Tuesday, January 11, 2005 3:13 AM To: Itamar Lavender Cc: strombrg at dcs.nac.uci.edu; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check http using specific SSL certificate You probably use some variation of the following theme: if (echo 'GET / HTTP/1.0^M'; echo '^M') | \ /usr/bin/maxtime 10 \ /usr/bin/openssl s_client -quiet -connect "$1:443" 2>&1 | \ grep HTTP > /dev/null 2>&1 then echo Service available exit 0 else echo Service down exit 2 fi If you want my maxtime program, please drop me a note. I probably should put it up for download anyway. On Tue, 2005-01-11 at 03:08 +0200, Itamar Lavender wrote: > Hi, > > I'm trying to monitor one of my HTTP servers which I must access > trough SSL using my own certificate > > The server doesn't supply a certificate but check if you have it. > > Is it possible at all? > I'm currently monitoring all my other servers & it works great.... > this is my favorite tool :-) > If some one think he can help I'll be thankful... > Any idea for new script that uses check_http will be blessed. > > > Itamar. > > > > > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mister.roy at gmail.com Tue Jan 11 04:53:40 2005 From: mister.roy at gmail.com (Brian Roy) Date: Mon, 10 Jan 2005 21:53:40 -0600 Subject: statusmap.cgi In-Reply-To: References: Message-ID: <13166449050110195325ca9f46@mail.gmail.com> On Mon, 10 Jan 2005 14:43:06 -0500, Tom Thogersen wrote: > > > I'm setting up Nagios 2.0 on Linux Enterprise and have most of the stuff > working except for this problem with statusmap.cgi > > > > I have the following libraries installed via RPM: zlib-devel-1.1.4-8.1, > zlib-1.1.4-8.1, libpng-devel-1..2.2-25, libpng-1.2.2-25, > libjpeg-devel-6b-1.3.0, libjpeg-6b-30, libgd-devel-1.3-4, libgd-1.3.-4. > Tom, I suffered from the same thing with 2.0 and RHEL. I opted to lose the gd rpm's and just compile gd from source. I went with 2.0.33 and it fixed itself imediately. I may have had to create a symlink or two to libraries, but it was much more obvious in the make process that I needed to do that. I feel your pain as I wasted half of a day trying to get it going with the rpms. Don't know if this will fix your solution, but it worked for me. BTW, I kept the other packages installed as rpm's. Hope this helps, -Brian ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios at nagios.org Tue Jan 11 05:52:53 2005 From: nagios at nagios.org (Ethan Galstad) Date: Mon, 10 Jan 2005 22:52:53 -0600 Subject: 2.0b1 broken macro handling In-Reply-To: References: <1105128480.4683.187.camel@hostmaster.org> Message-ID: <41E30745.10688.3256007@localhost> This was a fun one to track down. Basically, there was a bug in the macro expansion code, which resulted in the said macros being left as strings (i.e. "$SERVICEDESC$", "$SERVICESTATE$", etc.), which then got nuked by the environment an converted to "$". Fix should be in CVS shortly. On 7 Jan 2005 at 18:07, Chris Lalor wrote: > as per Thomas' email, I am seeing the very same behaviour. it doesn't > happen across the board with macro replacement. when services go down, > the substitution for email notification (using the standard definition > from misccommands.cfg in the sample config just to make sure it wasn't > our custom one) works fine. when hosts go down though, the fields > mentioned below substitute for just a $, when using the > notify_by_email command. I've also found the host check macro > substitution, used as we do nrpe-based host checks through a slave > node, also breaks, so that if services go down, the host is sometimes > noted as being down, even when it isn't. running the commands from > commandline is working fine. let me know if any specific information > from the config would help troubleshoot this. to be noted, this is > moving an install with thousands of hosts/services to 2.0b1, so we > know all of this was working in the configs in the earlier release. > > -chris lalor - mtv networks > > On Fri, 7 Jan 2005, Thomas Zehetbauer wrote: > > > Hi, > > > > it seems that 2.0b1 broke expansion of undefined macros. I use the > > same command for host and service notifications and depend on > > $SERVICEDESC$ and $SERVICESTATE$ beeing empty to determine the type. > > This worked well with Nagios 1.2 but now they are expanded to a > > single $ sign. > > > > Tom > > > > -- > > T h o m a s Z e h e t b a u e r ( TZ251 ) > > PGP encrypted mail preferred - KeyID 96FFCB89 > > finger thomasz at hostmaster.org for key > > > > Because you are just paranoid doesn't mean that they aren't out to > > catch you! > > > > > > > > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ Nagios-users mailing > list Nagios-users at 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 > > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ongsheau at singnet.com.sg Tue Jan 11 07:19:06 2005 From: ongsheau at singnet.com.sg (Jonathan Ong) Date: Tue, 11 Jan 2005 14:19:06 +0800 Subject: WAP Server Monitoring In-Reply-To: <41E35676.30007@synaptic.net.nz> References: <6.2.0.14.0.20050111112912.0387fa60@singnet.com.sg> <41E35676.30007@synaptic.net.nz> Message-ID: <6.2.0.14.0.20050111141603.03623b70@singnet.com.sg> Is it also possible to monitor the status of a url on the wap server? Regards, Jonathan At 12:30 PM 11/1/2005, Dan Clark wrote: >if they have an IP address then you should be able to monitor weather or >not they are up? > >or connect to the TCP port the WAP server listens on? > >Regards >Dan > > >Jonathan Ong wrote: > >>Hi, >> >>I'm looking for a Nagios plugin for monitoring WAP servers. Has anyone >>done something like this? Appreciate any pointers. >> >>Thanks. >> >>Jonathan >> >> >> >> >>------------------------------------------------------- >>The SF.Net email is sponsored by: Beat the post-holiday blues >>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at 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 > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jan 11 10:36:24 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 11 Jan 2005 10:36:24 +0100 Subject: Notification options In-Reply-To: <263BA4045D3FA84D9C1B09F5F959B9B6050D501B@picasso.rb.net> References: <263BA4045D3FA84D9C1B09F5F959B9B6050D501B@picasso.rb.net> Message-ID: <41E39E18.30808@op5.se> Jennifer Fountain wrote: > Hi All: > I have a question concerning host/service notifications. I would like > to configure host up/down alerts to go to the network admins and service > issues sent to the DBAs (such has sql not up, etc). Is this possible? > Yes. Read the documentation on service definitions. Depending on your nagios version, you also need to read the docs on host or hostgroup definitions. > Kind Regards, > > Jennifer Fountain > Systems Administrator/Security > R&B Distribution > 3400 E Walnut Street > Colmar, PA 18915 > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jan 11 10:34:32 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 11 Jan 2005 10:34:32 +0100 Subject: Service checks not resuming after emergence from scheduled downtime In-Reply-To: <6.1.2.0.2.20050110111519.0199b848@imap.cyber.kodak.com> References: <6.1.2.0.2.20050110111519.0199b848@imap.cyber.kodak.com> Message-ID: <41E39DA8.7050508@op5.se> Eric Loyd wrote: > We run Nagios v1.2 (February 02, 2004) to monitor things. We've been > running for a while now with stellar success (after a few idiosyncracies > were dealth with). Now, this past weekend, we ran into the following: > > On Saturdays from 5pm-10pm, we do not monitor a particular service (DMS) > because the back-end is down for weekly maintenance. So we have a > check_period defined that allows monitoring all day M-F, all day Sunday, > and from 00:00-17:00,22:00-24:00 on Saturday. This works great. But > here's what happened. I've included the Nagios logs for anyone that > wants to take a look. > > At 16:27, DMS was not running. Nagios turns SOFT CRITICAL and fires off > an event handler (which, internally, does nothing becuase this is not a > HARD CRITICAL). At 17:28, it does this again - now we're on SOFT > CRITICAL #2. At 16:29, it does it again, but because we've gone HARD > CRITICAL, the EKrestart event handler actually does something and starts > the service. Notification is sent out now as well. 10 minutes later > (the normal_check_interval) DMS is seen to be running and we go back > into a HARD OK. This cycle happens again at 16:49, and the process > repeats up to that last check. > > At this point, at 16:51 is when the service went HARD CRITICAL and the > event handler does the restart. At 17:00 we go into a downtime window, > and the service is in a 3/3 HARD CRTICIAL state. Note that the next > check would have been approximately 17:01, but since it's in a downtime, > it skips this check. You'd think that it would pick it up after the > donwtime, which starts up at 22:00. So the next check should be 22:01 > (give or take). > > But Nagios never does this check. The logs show that it wasn't until > 23:10 that someone forced a check via the command interface. In the > meantime, after the downtime window is complete, it does do > notifications, but it never does another check. And, to make it > weirder, when the check is forced, it doesn't immediately report back a > status, but it's as if it restarts the normal_check_interval timer, > because it's 10 minutes later, at 23:21, that the service has a result > (HARD OK), showing that someone had gone ahead and restarted DMS outside > the context of Nagios. > > To sum up, it looks as if there is a bug when a service enters an outage > window in a HARD CRITICAL state, it does not start to check the service > when the outage window expires. Even when a forced check was performed, > all it seems to have done is restart the normal_check_interval timer. > > Anyone else see anything like this? > Yes. The handling of hosts/services that come out of downtime is one of Nagios' most common areas for bugs. Flapping start/stop is another nice area of infinite weirdness. Ufortunately the 1.x branch of Nagios is no longer being actively maintained. Without a clean patch, I can't really see this bug being fixed (unless the 2.x solution applies cleanly to 1.x as well). Development has moved on to Nagios 2.x, which has been pretty stable (not counting the dreadful embedded perl support) for a couple of months now. I'll look in to this for the 2.x branch. I suggest you install 2.0 on a test-system for the time being so you can evaluate the stability for yourself. Run ./configure --disable-event-broker to keep advanced and untested code to a minimum. > > The timeline major events: > > 16:49 - critical 1/3 SOFT > 16:50 - critical 2/3 SOFT > 16:51 - critical 3/3 HARD, event handler restarts DMS > 17:00 - check_period is no longer valid (downtime) > 22:00 - check_period is now valid (no more downtime) > 22:00 - notification sent of service down > 22:20 - notification sent of service down > 22:40 - notification sent of service down > 22:50 - notification sent of service down > 23:00 - notification sent of service down > 23:10 - service check forced by hand > 23:21 - service check returns HARD OK state > 23:21 - recovery sent via email > > > Raw logs: > > Sat Jan 8 16:27:31 2005 - SERVICE ALERT: > 908;DMS;CRITICAL;SOFT;1;CRITICAL: DMS is not currently running. > Sat Jan 8 16:27:31 2005 - SERVICE EVENT HANDLER: > 908;DMS;CRITICAL;SOFT;1;EKrestart > Sat Jan 8 16:28:32 2005 - SERVICE ALERT: > 908;DMS;CRITICAL;SOFT;2;CRITICAL: DMS is not currently running. > Sat Jan 8 16:28:32 2005 - SERVICE EVENT HANDLER: > 908;DMS;CRITICAL;SOFT;2;EKrestart > Sat Jan 8 16:29:31 2005 - SERVICE ALERT: > 908;DMS;CRITICAL;HARD;3;CRITICAL: DMS is not currently running. > Sat Jan 8 16:29:31 2005 - SERVICE NOTIFICATION: > dmaster;908;DMS;CRITICAL;notify-by-email;CRITICAL: DMS is not currently > running. > Sat Jan 8 16:29:32 2005 - SERVICE EVENT HANDLER: > 908;DMS;CRITICAL;HARD;3;EKrestart > Sat Jan 8 16:39:31 2005 - SERVICE ALERT: 908;DMS;OK;HARD;3;OK: DMS is > running on PID 1214 > Sat Jan 8 16:39:31 2005 - SERVICE NOTIFICATION: > dmaster;908;DMS;OK;notify-by-email;OK: DMS is running on PID 1214 > Sat Jan 8 16:39:31 2005 - SERVICE EVENT HANDLER: > 908;DMS;OK;HARD;3;EKrestart > Sat Jan 8 16:49:31 2005 - SERVICE ALERT: > 908;DMS;CRITICAL;SOFT;1;CRITICAL: DMS is not currently running. > Sat Jan 8 16:49:31 2005 - SERVICE EVENT HANDLER: > 908;DMS;CRITICAL;SOFT;1;EKrestart > Sat Jan 8 16:50:31 2005 - SERVICE ALERT: > 908;DMS;CRITICAL;SOFT;2;CRITICAL: DMS is not currently running. > Sat Jan 8 16:50:31 2005 - SERVICE EVENT HANDLER: > 908;DMS;CRITICAL;SOFT;2;EKrestart > Sat Jan 8 16:51:31 2005 - SERVICE ALERT: > 908;DMS;CRITICAL;HARD;3;CRITICAL: DMS is not currently running. > Sat Jan 8 16:51:31 2005 - SERVICE NOTIFICATION: > dmaster;908;DMS;CRITICAL;notify-by-email;CRITICAL: DMS is not currently > running. > Sat Jan 8 16:51:31 2005 - SERVICE EVENT HANDLER: > 908;DMS;CRITICAL;HARD;3;EKrestart > Sat Jan 8 22:00:11 2005 - SERVICE NOTIFICATION: > dmaster-page;908;DMS;CRITICAL;notify-by-epager;CRITICAL: DMS is not > currently running. > Sat Jan 8 22:00:11 2005 - SERVICE NOTIFICATION: > dmaster;908;DMS;CRITICAL;notify-by-email;CRITICAL: DMS is not currently > running. > Sat Jan 8 22:20:11 2005 - SERVICE NOTIFICATION: > dmaster-page;908;DMS;CRITICAL;notify-by-epager;CRITICAL: DMS is not > currently running. > Sat Jan 8 22:20:11 2005 - SERVICE NOTIFICATION: > dmaster;908;DMS;CRITICAL;notify-by-email;CRITICAL: DMS is not currently > running. > Sat Jan 8 22:40:01 2005 - SERVICE NOTIFICATION: > dmaster-page;908;DMS;CRITICAL;notify-by-epager;CRITICAL: DMS is not > currently running. > Sat Jan 8 22:40:01 2005 - SERVICE NOTIFICATION: > dmaster;908;DMS;CRITICAL;notify-by-email;CRITICAL: DMS is not currently > running. > Sat Jan 8 22:50:01 2005 - SERVICE NOTIFICATION: > dmaster-page;908;DMS;CRITICAL;notify-by-epager;CRITICAL: DMS is not > currently running. > Sat Jan 8 22:50:01 2005 - SERVICE NOTIFICATION: > dmaster;908;DMS;CRITICAL;notify-by-email;CRITICAL: DMS is not currently > running. > Sat Jan 8 23:00:01 2005 - SERVICE NOTIFICATION: > dmaster;908;DMS;CRITICAL;notify-by-email;CRITICAL: DMS is not currently > running. > Sat Jan 8 23:10:56 2005 - EXTERNAL COMMAND: > SCHEDULE_FORCED_SVC_CHECK;908;DMS;1105243853 > Sat Jan 8 23:21:01 2005 - SERVICE ALERT: 908;DMS;OK;HARD;3;OK: DMS is > running on PID 26970 > Sat Jan 8 23:21:01 2005 - SERVICE NOTIFICATION: > dmaster;908;DMS;OK;notify-by-email;OK: DMS is running on PID 26970 > Sat Jan 8 23:21:02 2005 - SERVICE EVENT HANDLER: > 908;DMS;OK;HARD;3;EKrestart > > > Lastly, some keywords for people searching the mailing lists for this > topic: service check checks not being performed done after scheduled > downtime downtime ends terminates finishes > > > -- > Eric Loyd > Drive defensively. Buy a tank. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jan 11 11:23:23 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 11 Jan 2005 11:23:23 +0100 Subject: statusmap.cgi In-Reply-To: References: Message-ID: <41E3A91B.6010001@op5.se> Tom Thogersen wrote: > I'm setting up Nagios 2.0 on Linux Enterprise and have most of the stuff > working except for this problem with statusmap.cgi > > > > I have the following libraries installed via RPM: zlib-devel-1.1.4-8.1, > zlib-1.1.4-8.1, libpng-devel-1..2.2-25, libpng-1.2.2-25, > libjpeg-devel-6b-1.3.0, libjpeg-6b-30, libgd-devel-1.3-4, libgd-1.3.-4. > The Nagios README (or REQUIREMENTS or something) states you need libgd >= 1.8.x. Upgrade and the problem should go away. > > > When I run configure it cannot find the gd libraries. I have tried the > FAQ F0055 with no luck as well as making the entry in ld.so.conf and > running ldconf. Any help or suggestions would be great. > > > > > > Thanks > > > > Tom > > > > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jan 11 11:28:38 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 11 Jan 2005 11:28:38 +0100 Subject: storing host/service down events in database In-Reply-To: <20050110221856.GG1816@zippy.toger.us> References: <349555FA607F3A4CBDA9326035D1A7FC835EF2@mismail.ena.com> <20050110221856.GG1816@zippy.toger.us> Message-ID: <41E3AA56.2040005@op5.se> Jason Martin wrote: > On Mon, Jan 10, 2005 at 04:15:29PM -0600, Marc Powell wrote: > >>Only the current values are stored in the database. We use postgres and >>used a simple trigger to copy the data on INSERT or UPDATE into another >>table for longer-term storage and eventual migration to MSSQL. > > I believe the standard approach is to write a 'global event > handler' that makes the appropriate entries in a database. > 2.0's event broker would allow for much tighter (albeit harder > to implement) integration. > It is already implemented, so harder turns to easier. http://sourceforge.net/projects/nagios-db > -Jason Martin -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jan 11 11:30:09 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 11 Jan 2005 11:30:09 +0100 Subject: WAP Server Monitoring In-Reply-To: <6.2.0.14.0.20050111141603.03623b70@singnet.com.sg> References: <6.2.0.14.0.20050111112912.0387fa60@singnet.com.sg> <41E35676.30007@synaptic.net.nz> <6.2.0.14.0.20050111141603.03623b70@singnet.com.sg> Message-ID: <41E3AAB1.5050305@op5.se> Jonathan Ong wrote: > Is it also possible to monitor the status of a url on the wap server? > You want the check_http plugin. Wap-pages are really just web-pages with a funny format. > Regards, > Jonathan > > At 12:30 PM 11/1/2005, Dan Clark wrote: > >> if they have an IP address then you should be able to monitor weather >> or not they are up? >> >> or connect to the TCP port the WAP server listens on? >> >> Regards >> Dan >> >> >> Jonathan Ong wrote: >> >>> Hi, >>> >>> I'm looking for a Nagios plugin for monitoring WAP servers. Has >>> anyone done something like this? Appreciate any pointers. >>> >>> Thanks. >>> >>> Jonathan >>> >>> >>> >>> >>> ------------------------------------------------------- >>> The SF.Net email is sponsored by: Beat the post-holiday blues >>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 >> >> > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Tue Jan 11 12:36:26 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Tue, 11 Jan 2005 12:36:26 +0100 Subject: Service/Host dependency, plus Timeout question... In-Reply-To: <41E2CD40.7040705@Examen.com> References: <41E2CD40.7040705@Examen.com> Message-ID: <41E3BA3A.6060208@interface-business.de> Emmett Hogan wrote: > Hi Folks, > > I *know* this is in the documentation somewhere, but I cannot seem to > find it anywhere...so please forgive me. :-) > > I have two questions regarding "Service Check Timeouts".... > > 1) All my timeouts come back as CRITICAL and result in immediate pages, > we occasionally have systems which are pretty loaded and the NAGIOS > checks timeout. We'd like those to come through as WARNINGS (so we > don't get pages). We are checking everything via "check_by_ssh". I carefully looked into check_by_ssh.c. I found out, that by giving a timeout to check_by_ssh you will get UNKOWN results. So try to set a timeout shorter the nagios plugin timeout and you should get a WARNING and no CRITICAL state. > 2) I was under the impression that if a host was down, that SERVICE > errors were quenched....but that doesn't seem to be the case here. If > we take a service down, then suddenly we get inundated with SERVICE > "CRITICAL" pages. Am I assuming an incorrect dependency between > services and hosts? Did you create a downtime for this host/service? > Again, I am sorry for asking such basic questions....but it's Monday, > and we had an extended downtime this weekend...so I am beat. > > (Please, have pity on me!) :-) > > -Emmett > Stephan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From fbernabe at cesga.es Tue Jan 11 13:44:36 2005 From: fbernabe at cesga.es (Francisco Jose Bernabe Pellicer) Date: Tue, 11 Jan 2005 13:44:36 +0100 Subject: Check_ping is not found Message-ID: <41E3CA34.6060404@cesga.es> Hi everybody, I'm using a program called GridICE, that uses nagios. There's a user nagios that runs a file called kCheck.pl. Everything seems normal, but when I check the log file (/var/log/nagios/nagios.log) there are a lot of lines with the following warning: [1105227891] Warning: Attempting to execute the command "/usr/lib/nagios/plugins/check_ping -H 147.156.116.3 -w 3000.0,80% -c 5000.0,100% -p 1" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... Ok, it seems crystal clear... the check_ping doesn't exists; but I think I configured nagios correctly. Any idea? Cheers, -- _______________________________________________________ Francisco Jos? Bernab? Pellicer T?cnico de Sistemas Grid Departamento de Sistemas/T?cnicos C.E.S.G.A Centro de Supercomputaci?n de Galicia www.cesga.es Avda. de Vigo s/n (Campus Sur) 15705 Santiago de Compostela (La Coru?a) Spain ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Schimpke at Lenze.de Tue Jan 11 13:51:44 2005 From: Schimpke at Lenze.de (Schimpke, Dr. Thomas / bhn) Date: Tue, 11 Jan 2005 13:51:44 +0100 Subject: Service Dependencys (2.0b1) Message-ID: <1105447904.27890.28.camel@raptor.lenze.com> Hello, it seems, that I'm unable to get my service dependencies to work. I've got two services A (snmpd) and B (check for a running process via snmp), so that the check of B depends upon A (snmpd must be up, so that I receive a response). I've set up the services as follows: define service { service_description A ...other things follow... } define servicedependency{ register 0 name dependUponA host_name thisHost dependent_host_name thisHost service_description A execution_failure_criteria u,c,p notification_failure_criteria u,c,p } define service { service_description B-Process ... other configuration options follow... } define servicedependency { use dependUponA dependent_service_description B-Process } Using this setup I would expect, that the (active) check_for service B-process is not executed, if process A is either in an unknown,critical or pending state. Is this correct ? If I setup a new host for monitoring in nagios, I noticed, that the B-Process service (it may be any SNMP based service check) is executed in spite of the fact, that service A (the snmpd) is still in state pending. One more thing that may be important: Service A (the snmpd) is basically a passive check. i'm doing some freshness checks every 30 minutes, however. So, service A will be OK after approx. 30 minutes. I recognized this behaviour in the 1.x Version also (at least, I'm quite sure that I saw it there), so I think I'm doing something stupid...(maybe I did't understand the documentation correctly). Kind regards Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From Peter.Jevos at Oriflame-SW.Com Tue Jan 11 14:10:11 2005 From: Peter.Jevos at Oriflame-SW.Com (Jevos, Peter) Date: Tue, 11 Jan 2005 14:10:11 +0100 Subject: Notification for Critical state after 1 minute period Message-ID: Hello I've one simple question. I'd like to send notification when CPU is in critical state for 1 minute or longer.I'd like to know where could I configure time period for a service when it is in critical ( or warning) state. I know there's directive "max_check_attempts" but it define the number of times that Nagios will retry the host check command. But I need to define when service is in critical state for 1 or 2 minute and then send notification. Cause CPU could be in critical state for 20 sec and it is confusing to send a notification that CPU is in critical state for that short time period Is there that option / Thanks a lot peter -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Tue Jan 11 13:55:01 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 11 Jan 2005 13:55:01 +0100 Subject: Check_ping is not found In-Reply-To: <41E3CA34.6060404@cesga.es> References: <41E3CA34.6060404@cesga.es> Message-ID: <41E3CCA5.7040404@op5.se> Francisco Jose Bernabe Pellicer wrote: > Hi everybody, > > I'm using a program called GridICE, that uses nagios. There's a user > nagios that runs a file called kCheck.pl. Everything seems normal, but > when I check the log file (/var/log/nagios/nagios.log) there are a lot > of lines with the following warning: > > [1105227891] Warning: Attempting to execute the command > "/usr/lib/nagios/plugins/check_ping -H 147.156.116.3 -w 3000.0,80% -c > 5000.0,100% -p 1" resulted in a return code of 127. Make sure the > script or binary you are trying to execute actually exists... > > > Ok, it seems crystal clear... the check_ping doesn't exists; but I think > I configured nagios correctly. > You need to install the plugins as well, or you will encounter the good old 127 quite a lot. > Any idea? > > > Cheers, > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Christian.Bock at liz.lsa-net.de Tue Jan 11 14:04:49 2005 From: Christian.Bock at liz.lsa-net.de (Bock, Christian) Date: Tue, 11 Jan 2005 14:04:49 +0100 Subject: ocsp_sweeper Message-ID: <53B7932F94C4DE49B3A9AD98715FCF2C3B39C2@lrpc79.liz.lsa-net.de> helo, does anybody have a little "how to install and use ocsp_sweeper" ? I do not understand which log file to use for the -f option and how/if nagios creates this. Another question is how to configure the nagios ocsp-command. What to tell nagios about that? thanks, Mit freundlichen Gr??en Im Auftrag Christian Bock Administrator Netze Landesinformationszentrum Sachsen-Anhalt (LIZ) Rechenzentrum / Fachbereich Netze/PKI Barbarastra?e 2 06110 Halle (Saale) Tel.: +49 345 1304 814 Fax: +49 345 1304 899 Hinweis: Hinweis: Diese Information ist ausschlie?lich f?r die adressierte Person oder Organisation bestimmt. Die Inhalte dieser Mail sind vertraulich. Sollten Sie nicht der Adressat oder eine von ihm autorisierte Person sein, sind Sie nicht berechtigt, die Informationen zu kopieren oder zu ver?ffentlichen. Bitte benachrichtigen Sie uns in diesem Fall und l?schen Sie dann diese Mail. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jan 11 14:45:57 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 11 Jan 2005 14:45:57 +0100 Subject: Notification for Critical state after 1 minute period In-Reply-To: References: Message-ID: <41E3D895.1030704@op5.se> Jevos, Peter wrote: > Hello > I've one simple question. > I'd like to send notification when CPU is in critical state for 1 minute or > longer.I'd like to know where could I configure time period for a service > when it is in critical ( or warning) state. I know there's directive > "max_check_attempts" but it define the number of times that Nagios will > retry the host check command. But I need to define when service is in > critical state for 1 or 2 minute and then send notification. Cause CPU could > be in critical state for 20 sec and it is confusing to send a notification > that CPU is in critical state for that short time period This is why you really can't measure CPU load on too short a time (without some kernel hacking, anyway). You'll usually just get the average over 1,5 and 15 minutes, which is what you set your alerts for. The max_check_attempts variable for settings lets you skip receiving notifications for services that spike temporarily (by scheduling re-checks and sending a notification only if it receives a non-ok state max_check_attempts in a row). Raise it for your CPU load services if you think you're receiving too many false positives. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Stephan.Janosch at interface-business.de Tue Jan 11 15:20:17 2005 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Tue, 11 Jan 2005 15:20:17 +0100 Subject: Notification for Critical state after 1 minute period In-Reply-To: References: Message-ID: <41E3E0A1.7020001@interface-business.de> Jevos, Peter wrote: > Dear Stephan > Thanx for your answer, > But I don't understand exactly what doest mean directive > "retry_check_interval" > Now I have: > max_check_attempts 3 > retry_check_interval 1 > > As you wrote it means: After 3 (max_check_attempts) attempts each > between 1 (retry_check_interval) minute Nagios find a service in > Critical state, then sends notifications. It means after 3 minutes of > service in critical state. > > Is that right or I'm wrong ? > Thanx > peter > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service RTFM. actually 2 minutes(if I'm correct). min 0, check #1 : HARD OK -> SOFT CRITICAL min 1, check #2 : SOFT CRITICAL -> SOFT CRITICAL (value still critical) min 2, check #3 : SOFT CRITICAL -> HARD CRITICAL -> notification ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Tue Jan 11 14:55:22 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Tue, 11 Jan 2005 14:55:22 +0100 Subject: Notification for Critical state after 1 minute period In-Reply-To: References: Message-ID: <41E3DACA.2070206@interface-business.de> Jevos, Peter wrote: > Hello > I've one simple question. > I'd like to send notification when CPU is in critical state for 1 > minute or longer.I'd like to know where could I configure time period > for a service when it is in critical ( or warning) state. I know there's > directive "max_check_attempts" but it define the number of times that > Nagios will retry the host check command. But I need to define when > service is in critical state for 1 or 2 minute and then send > notification. Cause CPU could be in critical state for 20 sec and it is > confusing to send a notification that CPU is in critical state for that > short time period > > Is there that option / > Thanks a lot > peter > Timeperiods are only used, to determein periods, in which nagios makes a check. You want to modify following 2 parameters in your service definition: max_check_attempts [number] retry_check_interval [number of "timeunits" configured in nagios.conf] If you want an alarm after more than 4 minutes CRTTICAL you do it that way: max_check_attempts 2, retry_check_interval 5. So if nagios checks and finds a critical value, it will recheck it after 5 minutes. If there is no critical value anymore, there won't be a notification. Read the docu carefully, please. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kar at kakidata.dk Tue Jan 11 15:19:47 2005 From: kar at kakidata.dk (Kaare Rasmussen) Date: Tue, 11 Jan 2005 15:19:47 +0100 Subject: Nagios 2.0 and rrdtool Message-ID: <200501111519.47717.kar@kakidata.dk> Hi Is there at the moment a preferred way to save nagios data to be used by rrdtools like Cacti? According to the documentation, the database support is supposed to be replaced by an event broker thing. It doesn't seem to have happened yet, or am I wrong? Does a timeline for this exist? The web page lists some other tools to integrate with rrdtool, apan and nagiostat. I'm not sure that they represent the best way to do things in Nagios 2.0. Am I wrong? ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From shawn at nccsc.k12.in.us Tue Jan 11 15:55:52 2005 From: shawn at nccsc.k12.in.us (Shawn Iverson) Date: Tue, 11 Jan 2005 09:55:52 -0500 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) Message-ID: <7ADE11986184154083869D43D0B06D447B7CD6@exchange.nccsc.k12.in.us> I am going to try to set up kerberos like you have it with your package versions this evening in order to try to reproduce your problem. Just to verify, you are using the following, correct? OS: CentOS 3.3 Kerberos: krb5-server-1.2.7-28, krb5-workstation-1.2.7-28, krbafs-1.1.1-11 (all from rpm) Samba: samba-3.0.7-1.3E.1 security=ads Shawn On Monday, January 10, 2005 12:29 PM Dimitri wrote: >Here's my rkb5.conf file. I really see no problems with it, >but then again... > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dyioulos at firstbhph.com Tue Jan 11 16:41:20 2005 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Tue, 11 Jan 2005 10:41:20 -0500 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) In-Reply-To: <7ADE11986184154083869D43D0B06D447B7CD6@exchange.nccsc.k12.in.us> References: <7ADE11986184154083869D43D0B06D447B7CD6@exchange.nccsc.k12.in.us> Message-ID: <200501111533.j0BFXbWI029838@mail1.firstbhph.com> Shawn, Kinda. Today, I updated this machine to CentOS 3.4 (hot off the press). It updated to krb5-server-1.2.7-31 and krb5-workstation-1.2.7-31; krbafs and samba remained the same. I wouldn't think that a small point release would make any major changes, but ... Many thanks! Dimitri -----Original Message----- From: Shawn Iverson [mailto:shawn at nccsc.k12.in.us] Sent: Tuesday, January 11, 2005 9:56 AM To: Dimitri Yioulos Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios Authentication with Active Directory (Slightly Off-Topic) I am going to try to set up kerberos like you have it with your package versions this evening in order to try to reproduce your problem. Just to verify, you are using the following, correct? OS: CentOS 3.3 Kerberos: krb5-server-1.2.7-28, krb5-workstation-1.2.7-28, krbafs-1.1.1-11 (all from rpm) Samba: samba-3.0.7-1.3E.1 security=ads Shawn On Monday, January 10, 2005 12:29 PM Dimitri wrote: >Here's my rkb5.conf file. I really see no problems with it, >but then again... > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jan 11 16:41:08 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 11 Jan 2005 16:41:08 +0100 Subject: Nagios 2.0 and rrdtool In-Reply-To: <200501111519.47717.kar@kakidata.dk> References: <200501111519.47717.kar@kakidata.dk> Message-ID: <41E3F394.8060403@op5.se> Kaare Rasmussen wrote: > Hi > > Is there at the moment a preferred way to save nagios data to be used by > rrdtools like Cacti? > No. rrdtool relies on input with regular intervals, which nagios doesn't provide. I believe the perfparse support can (and should) be extended to calculate average timings and insert into rrd databases. > According to the documentation, the database support is supposed to be > replaced by an event broker thing. It doesn't seem to have happened yet, or > am I wrong? Yes it is, and yes you are. www.sourceforge.net/projects/nagios-db > Does a timeline for this exist? > > The web page lists some other tools to integrate with rrdtool, apan and > nagiostat. I'm not sure that they represent the best way to do things in > Nagios 2.0. > They probably don't. google for perfparse. At least it has some active development and allegedly requires very little in the way of configuration. > Am I wrong? > Whatever floats your dingy. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kar at kakidata.dk Tue Jan 11 17:46:09 2005 From: kar at kakidata.dk (Kaare Rasmussen) Date: Tue, 11 Jan 2005 17:46:09 +0100 Subject: Nagios 2.0 and rrdtool In-Reply-To: <41E3F394.8060403@op5.se> References: <200501111519.47717.kar@kakidata.dk> <41E3F394.8060403@op5.se> Message-ID: <200501111746.09661.kar@kakidata.dk> Hi > Yes it is, and yes you are. www.sourceforge.net/projects/nagios-db Seems there's no reference to this project from http://www.nagios.org. One might expect that. -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Nordre Fasanvej 12 ?ben 12.00-18.00 Email: kar at kakidata.dk 2000 Frederiksberg L?rdag 12.00-16.00 Web: www.suse.dk ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Tue Jan 11 18:17:25 2005 From: jhmartin at toger.us (Jason Martin) Date: Tue, 11 Jan 2005 09:17:25 -0800 Subject: Nagios 2.0 and rrdtool In-Reply-To: <41E408C8.4010004@op5.se> References: <200501111519.47717.kar@kakidata.dk> <41E3F394.8060403@op5.se> <200501111746.09661.kar@kakidata.dk> <41E408C8.4010004@op5.se> Message-ID: <20050111171725.GN1816@zippy.toger.us> On Tue, Jan 11, 2005 at 06:11:36PM +0100, Andreas Ericsson wrote: > It is rather new, and I believe Ethan isn't too fond of doing the > docu-work on Nagios (all programmers hate text that doesn't compile). It seems like an entry on the addons page would be fairly simple. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From ae at op5.se Tue Jan 11 18:11:36 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 11 Jan 2005 18:11:36 +0100 Subject: Nagios 2.0 and rrdtool In-Reply-To: <200501111746.09661.kar@kakidata.dk> References: <200501111519.47717.kar@kakidata.dk> <41E3F394.8060403@op5.se> <200501111746.09661.kar@kakidata.dk> Message-ID: <41E408C8.4010004@op5.se> Kaare Rasmussen wrote: > Hi > > >>Yes it is, and yes you are. www.sourceforge.net/projects/nagios-db > > > Seems there's no reference to this project from http://www.nagios.org. One > might expect that. > It is rather new, and I believe Ethan isn't too fond of doing the docu-work on Nagios (all programmers hate text that doesn't compile). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dan at synaptic.net.nz Tue Jan 11 19:51:18 2005 From: dan at synaptic.net.nz (Dan Clark) Date: Wed, 12 Jan 2005 07:51:18 +1300 Subject: WAP Server Monitoring In-Reply-To: <6.2.0.14.0.20050111141603.03623b70@singnet.com.sg> References: <6.2.0.14.0.20050111112912.0387fa60@singnet.com.sg> <41E35676.30007@synaptic.net.nz> <6.2.0.14.0.20050111141603.03623b70@singnet.com.sg> Message-ID: <41E42026.1070808@synaptic.net.nz> maybe call a command line WAP browser from misccommands.cfg Jonathan Ong wrote: > Is it also possible to monitor the status of a url on the wap server? > > Regards, > Jonathan > > At 12:30 PM 11/1/2005, Dan Clark wrote: > >> if they have an IP address then you should be able to monitor weather >> or not they are up? >> >> or connect to the TCP port the WAP server listens on? >> >> Regards >> Dan >> >> >> Jonathan Ong wrote: >> >>> Hi, >>> >>> I'm looking for a Nagios plugin for monitoring WAP servers. Has >>> anyone done something like this? Appreciate any pointers. >>> >>> Thanks. >>> >>> Jonathan >>> >>> >>> >>> >>> ------------------------------------------------------- >>> The SF.Net email is sponsored by: Beat the post-holiday blues >>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 >> >> > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From EmmettH at Examen.com Tue Jan 11 21:29:03 2005 From: EmmettH at Examen.com (Emmett Hogan) Date: Tue, 11 Jan 2005 12:29:03 -0800 Subject: Hostgroup Question Message-ID: <41E4370F.2010805@Examen.com> (Y'all are probably getting sick and tired of me.) :-( Is there any way to *NOT* have a hostgroup displayed on the Hostgroup Web pages? For example....I group the hosts by the function, i.e. production, q/a, development...and I want them to display in those groups on the Hostgroup Overview and Summary pages. However, I also group them by OS (i.e. solaris, linux, windows)...so that I can have a set of service definitions which relate to a specific OS hostgroup. When I get a new solaris box, I just add it to the solaris hostgroup and magically I have a group of services being tested. However, I don't want the big long list of OS hostgroups displayed on the hostgroups page. Does this make sense? Is it possible? (And yes....I have read the docs). Thanks....again! -Emmett -- ================ Examen, Inc. ================ Emmett Hogan Senior UNIX Administrator emmetth at examen.com ==== Outside Counsel Management Solutions ==== CONFIDENTIAL - PRIVILEGED INFORMATION This e-mail may include confidential, trade secret or legally privileged information. If you are not the intended recipient, please do not read, copy, use, distribute or disclose this communication to anyone other than the intended recipient. Please notify the sender of any error in transmission or delivery and delete any misdirected e-mail from your system. -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 260 bytes Desc: not available URL: From EmmettH at Examen.com Tue Jan 11 20:39:20 2005 From: EmmettH at Examen.com (Emmett Hogan) Date: Tue, 11 Jan 2005 11:39:20 -0800 Subject: Dependencies - a little confused. In-Reply-To: References: <20050110172846.C4908BA05@www.prhobbies.com> Message-ID: <41E42B68.4060406@Examen.com> Okay...now I am REALLY confused. I do not understand why you would need to make all services dependent on a check_ping service when the Nagios Documentation states: In the "*Theory Of Operation" Chapter, Section entitled: "Determining status and reachability of network hosts":*** Whenever a service check results in a non-OK status level, Nagios will attempt to check and see if the host that the service is running on is "alive". Typically this is done by pinging the host and seeing if any response is received. If the host check command returns a non-OK state, Nagios assumes that there is a problem with the host. In this situation Nagios will "silence" all potential alerts for services running on the host and just notify the appropriate contacts that the host is down or unreachable. If the host check command returns an OK state, Nagios will recognize that the host is alive and will send out an alert for the service that is misbehaving. *By adding the dependency on a check_ping service aren't you adding another level of complexity that is already handled by default?? * *-Emmett * Leonardo Henrique Machado wrote: >>I think I'm a little confused about dependencies. I'm running Nagios 1.2 and >> >> > >Change to Nagios 2.0. It's much better regarding dependencies. Now it >supports inheritance and the new state PENDING. > > > >>1. Hosts dependencies only effect host checks. >> >> > >Host dependencies affect only notifications. > >If a service fails, Nagios checks the host. But it has nothing to do >with dependencies. It is just like that by default. > > > >>2. Is it wise to have all services dependant on a check_ping service check? >>Pros? Cons? >> >> > >That is what I do here. Without PING, no other service should be >checked! I see just Pros. > > > -- ================ Examen, Inc. ================ Emmett Hogan Senior UNIX Administrator emmetth at examen.com ==== Outside Counsel Management Solutions ==== CONFIDENTIAL - PRIVILEGED INFORMATION This e-mail may include confidential, trade secret or legally privileged information. If you are not the intended recipient, please do not read, copy, use, distribute or disclose this communication to anyone other than the intended recipient. Please notify the sender of any error in transmission or delivery and delete any misdirected e-mail from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 260 bytes Desc: not available URL: From GWCOOK at mactec.com Tue Jan 11 22:55:17 2005 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 11 Jan 2005 14:55:17 -0700 Subject: Hostgroup Question Message-ID: <41FD7929498A174DAB86C45F28E0EC0DDE54CF@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > (Y'all are probably getting sick and tired of me.) :-( > > Is there any way to *NOT* have a hostgroup displayed on the Hostgroup > Web pages? > [snip] > > -Emmett Use register 0 in the hostgroup definition. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.273.5050 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From johnsonmlw at yahoo.com Tue Jan 11 21:41:06 2005 From: johnsonmlw at yahoo.com (Matt Johnson) Date: Tue, 11 Jan 2005 20:41:06 +0000 (GMT) Subject: http through firewall In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC835EF3@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC835EF3@mismail.ena.com> Message-ID: <20050111204106.76535.qmail@web50810.mail.yahoo.com> --- Marc Powell wrote: > > Now I'm trying to test a service on a host the > other > > side of a firewall. The firewall is *very* > > restrictive. I can get through to the webserver > > running on the host the other side, but the > check_http > > times out the socket...? > > > > I can wget (from bash, so proxy must be set > correct I > > think) from the host ip and also view pages in > firefox > > - all *through* the firewall completely fine. > > > > Any ideas why I can't get nagios to get an http > test > > through the same firewall? > > If you must use a proxy to get out then you also > have to tell check_http > to use that proxy. Something like the following > should do -- > > # 'check_caching' command definition > define command{ > command_name check_caching > command_line $USER1$/ check_http -H > www.yourtestedsite.com -I > ip.of.proxy.host --onredirect follow -p 8080 -wt 20 > -ct 30 -to 35 -u > http://www.yourtestedsite.com -R \/HTML > } > > Of course www.mytestedsite.com could be a macro > argument passed by your > service definition ($ARG1$). Thanks for this advice. I ran it from command line and chenged the syntax for a couple of hours, but the closest I got was "no data received", which seemed closer than "socket timed out". I'm going to investigate the possibility of having a host send a mail via smtp to the nagios host and having that as proof that the host is still "up". I'll start a new thread :) -- Matt ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From johnsonmlw at yahoo.com Tue Jan 11 21:45:04 2005 From: johnsonmlw at yahoo.com (Matt Johnson) Date: Tue, 11 Jan 2005 20:45:04 +0000 (GMT) Subject: passive checks via smtp? or similar Message-ID: <20050111204504.93108.qmail@web50806.mail.yahoo.com> Hi all, I'm trying to monitor a host the other side of a very restrictive firewall. The host *can* send mail via smtp to the nagios server (my side). Is there a simple (and not very secure) way of having nagios expect regular emails from a host, or it registers that host as unknown or down? I know this has flaws, but it *seems* to be all I have..? Thanks for any advice to think round this one. -- Matt Johnson ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From shawn at nccsc.k12.in.us Tue Jan 11 23:22:07 2005 From: shawn at nccsc.k12.in.us (Shawn Iverson) Date: Tue, 11 Jan 2005 17:22:07 -0500 Subject: Nagios Authentication with Active Directory (Slightly Off-Topic) Message-ID: <7ADE11986184154083869D43D0B06D447B7CDE@exchange.nccsc.k12.in.us> Kerberos Error 52 solution I have discovered your problem. The 1.2.x release of Kerberos does not support TCP communications with the KDC. You need to be using at least Kerberos 1.3.x Since you are using CentOS, you will need to remove the packages from your system and compile from source. Please see below: (From the MIT Kerberos website http://web.mit.edu/kerberos/www/krb5-1.3/krb5-1.3.html) The client libraries can now use TCP to connect to the KDC. This may be necessary when talking to Microsoft KDCs (domain controllers), if they issue you tickets with lots of PAC data. Shawn Iverson Technology Associate MCP W2K3S and W2KP, Linux+, Network+, A+ New Castle Community School Corporation shawn at nccsc.k12.in.us ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Jan 11 21:56:49 2005 From: marc at ena.com (Marc Powell) Date: Tue, 11 Jan 2005 14:56:49 -0600 Subject: Hostgroup Question Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835F4B@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Emmett Hogan > Sent: Tuesday, January 11, 2005 2:29 PM > To: Nagios Users List > Subject: [Nagios-users] Hostgroup Question > > (Y'all are probably getting sick and tired of me.) :-( > > Is there any way to *NOT* have a hostgroup displayed on the Hostgroup > Web pages? > > For example....I group the hosts by the function, i.e. production, q/a, > development...and I want them to display in those groups on the > Hostgroup Overview and Summary pages. However, I also group them by OS > (i.e. solaris, linux, windows)...so that I can have a set of service > definitions which relate to a specific OS hostgroup. When I get a new > solaris box, I just add it to the solaris hostgroup and magically I have > a group of services being tested. However, I don't want the big long > list of OS hostgroups displayed on the hostgroups page. > > Does this make sense? Is it possible? (And yes....I have read the docs). Yes, it is. The key is that with CGI authentication enabled, logged in users only see hosts and services that they are authorized contacts for. Configure CGI authentication as detailed at http://nagios.sourceforge.net/docs/1_0/cgiauth.html. I believe that there are no significant changes between 1.x and 2.0 in this regard but you should review the docs for the version you are running. I'll presume that you're still running 1.x. Once you've done that, create two new .htaccess users; one that you would log in as to see your hosts grouped by function and then an [optional] second user that you would log in as to see the hosts grouped by OS. I'll call these two users 'functionuser' and 'osuser' for example. Add new contact definitions for each of these users and set their host_notification_period and service_notification_period to none because they don't need to receive notifications. If you already have different contact_groups created for each of your two hostgroup types above then all you need to do is add functionuser to the contact_group for the Functional hostgroups and osuser to the contact_group for the OS based hostgroups. If you do not already have two different contact_groups for each hostgroup type then you'll need to create those and either replace your current contact_groups entry in the hostgroup definition or add the new one as a secondary if you create new contact_groups that only contain After that's done you'll simply go to the web interface, log in as 'functionuser' with the appropriate password and you should only see those hostgroups that 'functionuser' is associated with via the contact_group. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Jan 11 23:29:19 2005 From: marc at ena.com (Marc Powell) Date: Tue, 11 Jan 2005 16:29:19 -0600 Subject: passive checks via smtp? or similar Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835F5C@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Matt Johnson > Sent: Tuesday, January 11, 2005 2:45 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] passive checks via smtp? or similar > > Hi all, > > I'm trying to monitor a host the other side of a very > restrictive firewall. > > The host *can* send mail via smtp to the nagios server > (my side). Is there a simple (and not very secure) way > of having nagios expect regular emails from a host, or > it registers that host as unknown or down? > > I know this has flaws, but it *seems* to be all I > have..? > > Thanks for any advice to think round this one. 2 ways off the top -- Write a quick plugin that checks the maillog or mail file (or whatever you like) for the message. Compare the receipt timestamp with whatever logic you like and exit with the appropriate exit code (OK, ERROR, WARNING). Execute this check as you would any other. http://nagiosplug.sourceforge.net/developer-guidelines.html the existing plugin check_log2.pl is likely to be usable for this task if writing your own is not possible. -or- Use passive checks and freshness checks. Have the email address you send to on your Nagios machine execute a script that simply submits the service OK external command to Nagios via the command pipe as a passive check. Use freshness checks to verify you've received a result in a timely manner. http://nagios.sourceforge.net/docs/1_0/extcommands.html http://nagios.sourceforge.net/docs/1_0/passivechecks.html http://nagios.sourceforge.net/docs/1_0/freshness.html -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From johnsonmlw at yahoo.com Tue Jan 11 22:24:45 2005 From: johnsonmlw at yahoo.com (Matt Johnson) Date: Tue, 11 Jan 2005 21:24:45 +0000 (GMT) Subject: passive checks via smtp? or similar In-Reply-To: <20050111204504.93108.qmail@web50806.mail.yahoo.com> References: <20050111204504.93108.qmail@web50806.mail.yahoo.com> Message-ID: <20050111212445.92846.qmail@web50810.mail.yahoo.com> --- Matt Johnson wrote: > Hi all, > > I'm trying to monitor a host the other side of a > very > restrictive firewall. > > The host *can* send mail via smtp to the nagios > server > (my side). Is there a simple (and not very secure) > way > of having nagios expect regular emails from a host, > or > it registers that host as unknown or down? > > I know this has flaws, but it *seems* to be all I > have..? Appologies. I'll look into "Naplax" which I just stumbled across. I'll continue this thread if it doesn't work out. -- Matt ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From itamar at traiana.com Wed Jan 12 00:21:58 2005 From: itamar at traiana.com (Itamar Lavender) Date: Wed, 12 Jan 2005 01:21:58 +0200 Subject: check http using specific SSL certificate, help... Message-ID: <32E0C0122549944A8D0E06EAA512295D46AC81@scorpion.Traiana.INT> Hey All, I'm trying to monitor one of my HTTPS servers which I must access trough SSL with a specific certificate using the check_http plugin The server doesn't supply a certificate but check if you have it. I'm currently monitoring all my other servers & it works great.... this is my favorite tool :-) If someone thinks he can help I'll be thankful... Any idea for new script that uses check_http will be blessed. Itamar. -------------- next part -------------- An HTML attachment was scrubbed... URL: From strombrg at dcs.nac.uci.edu Tue Jan 11 22:52:42 2005 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Tue, 11 Jan 2005 13:52:42 -0800 Subject: passive checks via smtp? or similar In-Reply-To: <20050111204504.93108.qmail@web50806.mail.yahoo.com> References: <20050111204504.93108.qmail@web50806.mail.yahoo.com> Message-ID: <1105480362.6118.34.camel@localhost.localdomain> If your firewall allows through ssh connections, you might be able to use check_by_ssh. Alternatively, you might be able to set up passive monitoring so that the mail server, or other host behind the firewall, pushes monitoring results out to your main nagios server. On Tue, 2005-01-11 at 20:45 +0000, Matt Johnson wrote: > Hi all, > > I'm trying to monitor a host the other side of a very > restrictive firewall. > > The host *can* send mail via smtp to the nagios server > (my side). Is there a simple (and not very secure) way > of having nagios expect regular emails from a host, or > it registers that host as unknown or down? > > I know this has flaws, but it *seems* to be all I > have..? > > Thanks for any advice to think round this one. > > -- > Matt Johnson > > > > > > ___________________________________________________________ > ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From johnsonmlw at yahoo.com Tue Jan 11 23:02:16 2005 From: johnsonmlw at yahoo.com (Matt Johnson) Date: Tue, 11 Jan 2005 22:02:16 +0000 (GMT) Subject: passive checks via smtp? or similar In-Reply-To: <1105480362.6118.34.camel@localhost.localdomain> References: <1105480362.6118.34.camel@localhost.localdomain> Message-ID: <20050111220216.11390.qmail@web50809.mail.yahoo.com> --- Dan Stromberg wrote: > > If your firewall allows through ssh connections, you > might be able to > use check_by_ssh. Sadly not. > Alternatively, you might be able to set up passive > monitoring so that > the mail server, or other host behind the firewall, > pushes monitoring > results out to your main nagios server. This may be a way forward. I'll look into it. Thanks. -- Matt ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sudheer at tgs-solutions.com Tue Jan 11 23:06:17 2005 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Tue, 11 Jan 2005 17:06:17 -0500 Subject: CHECK_NRPE is not working In-Reply-To: <20050106190415.GJ1816@zippy.toger.us> References: <41DD6A2E.50103@tgs-solutions.com> <20050106164704.GG1816@zippy.toger.us> <41DD898D.5010506@tgs-solutions.com> <20050106190415.GJ1816@zippy.toger.us> Message-ID: <41E44DD9.40401@tgs-solutions.com> Nothing is there in checkcommands.cfg file or misccommands.cfg are empty. I am running debian linux. All the packages were installed frpm .deb packages. Thanks, Sudheer Jason Martin wrote: >On Thu, Jan 06, 2005 at 01:55:09PM -0500, Sudheer Muddappa wrote: > > >>Correct me if I wrong, it should not matter for the host where I am >>running check_nrpe from. ( as long as it has the permission to run it) >> >> >Correct, it does not matter. > > > >>So, i guess you want to know what I have it in nrpe.cfg file for >>check_disk1 plugin. >> >>command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 -c 10 -p >>/dev/dsk/c0t0d0s0 >> >> >Actually I'm more interested in your command defintion for >check_nrpe. Somewhere in your nagios config is a stanza: > >define command { > command_name check_nrpe > [...] > } > >That is the part I'm concerned about. You've verified that your >NRPE configuration is good by manually executing check_nrpe. > >-Jason Martin > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Jan 11 23:18:48 2005 From: marc at ena.com (Marc Powell) Date: Tue, 11 Jan 2005 16:18:48 -0600 Subject: Hostgroup Question Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835F59@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Cook, Garry > Sent: Tuesday, January 11, 2005 3:55 PM > To: Emmett Hogan; Nagios Users List > Subject: RE: [Nagios-users] Hostgroup Question > > nagios-users-admin at lists.sourceforge.net wrote: > > (Y'all are probably getting sick and tired of me.) :-( > > > > Is there any way to *NOT* have a hostgroup displayed on the Hostgroup > > Web pages? > > > [snip] > > > > -Emmett > > Use > > register 0 > > in the hostgroup definition. Are you using this? If it does work it seems like a hack. Is the internal logic loose enough to allow a host to be a member of a template hostgroup but not a 'real' hostgroup, either through use of the template or its addition to another real hostgroup? It has the feeling of a bug and I suspect that notifications wouldn't go out for hosts in that hostgroup at the least. I guess my question is: Is an unapplied template hostgroup with hosts defined internally equivalent in all ways to a real hostgroup definition as far as the deamon is concerned? -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From shasanbeg at gmail.com Wed Jan 12 01:11:36 2005 From: shasanbeg at gmail.com (S. H.) Date: Wed, 12 Jan 2005 11:11:36 +1100 Subject: check jboss or tomcat are running Message-ID: <359aca410501111611317d32b0@mail.gmail.com> Hi everyone, I was wondering how would I go about chekcing that JBoss or Tomcat or any other UNIX/Linux program are running using Nagios (ver 1.2)? Somehting to do with using NRPE? Sorry i'm a bit new to all this linux stuff. Thanx a alot. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From michael.johnston at kirtland.af.mil Wed Jan 12 01:56:10 2005 From: michael.johnston at kirtland.af.mil (Johnston Michael J Contr AFRL/DES) Date: Wed, 12 Jan 2005 00:56:10 -0000 Subject: Icons coming up with red X in main window Message-ID: I'm having a strange problem with my new install of 2.0b1. I have all the checks working fine, but I can't get the icons to come up in the main display. The side.html displays the gifs just find (greendot.gif for example) but any time I click on a link the CGI page shows that it cannot find the /nagios/share/images folder. It says "Not Available" when I look at the properties of any of the red x's. Did I skip something? All the files are at 755 and owned by apache. I've tried changing them to be owned by nagios, but that didn't work. Any help would be great! Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Wed Jan 12 00:32:05 2005 From: jhmartin at toger.us (Jason Martin) Date: Tue, 11 Jan 2005 15:32:05 -0800 Subject: Hostgroup Question In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0DDE54CF@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0DDE54CF@golden-m.mactec.com> Message-ID: <20050111233205.GU1816@zippy.toger.us> On Tue, Jan 11, 2005 at 02:55:17PM -0700, Cook, Garry wrote: > Use > register 0 > in the hostgroup definition. Won't that cause problems for his services that reference the Solaris hostgroup? -Jason Martin -- Do invisible cats drink evaporated milk? This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From dmourati at cm.math.uiuc.edu Wed Jan 12 00:37:28 2005 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 11 Jan 2005 17:37:28 -0600 (CST) Subject: passive checks via smtp? or similar In-Reply-To: <20050111204504.93108.qmail@web50806.mail.yahoo.com> References: <20050111204504.93108.qmail@web50806.mail.yahoo.com> Message-ID: On Tue, 11 Jan 2005, Matt Johnson wrote: > Hi all, > > I'm trying to monitor a host the other side of a very > restrictive firewall. > > The host *can* send mail via smtp to the nagios server > (my side). Is there a simple (and not very secure) way > of having nagios expect regular emails from a host, or > it registers that host as unknown or down? > > I know this has flaws, but it *seems* to be all I > have..? > > Thanks for any advice to think round this one. I'm doing exactly this for the same reasons you mention above. I figured outbound SMTP would be perceived as innocuous by even the most anal (best) firewall admin. In my case, I have many distributed Nagios boxes talking to one central. I use global service event handlers to send the data through SMTP after first passing it to GPG for encryption. The messages arrive at the central box and are GPG decrypted and dumped into the nagios.cmd command pipe for processing. I set up a single freshness check on a service called distributed-nagios. This way, a break in the flow of SMTP messages will trigger an alert that indicates an underlying problem as oppsed to a problem on the distributed side itself. Hope that helps. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mklaphek at cedarpath.com Wed Jan 12 02:07:27 2005 From: mklaphek at cedarpath.com (Michael S. Klapheke) Date: Tue, 11 Jan 2005 20:07:27 -0500 Subject: Nagios View Discrepancies Message-ID: <003801c4f843$198a0730$6701c80a@Network1> Hi. Please pardon me if this has been asked - I checked the list and didn't see anything under a search. I have Nagios (2.01b) configured and monitoring some devices. However, I am having two issues: 1. Under the Service Detail Screen, the "Last Check" and "Status Information" fields look right. However, under the Host Detail Screen, only the first device listed displays the right information in the "Last Check" and "Status Information" fields. For the other devices, the "Last Check" field is N/A and the "Status Information" is (null). I'm not sure why they're different. 2. I tried to install the plugins, and some of them installed properly, while others didn't seem to. I'm not sure what happened, but I get errors like the following: Can't locate Cache.pm in @INC (@INC contains:.) Any help at all is appreciated. Thanks! Mike Mike Klapheke Consulting Engineer Cedar Path Solutions Group, Inc. 315.430.4788 eFax: 208.728.2682 mklaphek at cedarpath.com www.cedarpath.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 5454 bytes Desc: not available URL: From jhmartin at toger.us Wed Jan 12 00:52:21 2005 From: jhmartin at toger.us (Jason Martin) Date: Tue, 11 Jan 2005 15:52:21 -0800 Subject: CHECK_NRPE is not working In-Reply-To: <41E44DD9.40401@tgs-solutions.com> References: <41DD6A2E.50103@tgs-solutions.com> <20050106164704.GG1816@zippy.toger.us> <41DD898D.5010506@tgs-solutions.com> <20050106190415.GJ1816@zippy.toger.us> <41E44DD9.40401@tgs-solutions.com> Message-ID: <20050111235221.GV1816@zippy.toger.us> On Tue, Jan 11, 2005 at 05:06:17PM -0500, Sudheer Muddappa wrote: > Nothing is there in checkcommands.cfg file or misccommands.cfg are empty. > I am running debian linux. All the packages were installed frpm .deb > packages. Well there must be a definition somewhere, otherwise Nagios would not know how to execute the command. -Jason Martin -- Do invisible cats drink evaporated milk? This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From jrhett at meer.net Wed Jan 12 01:02:26 2005 From: jrhett at meer.net (Joe Rhett) Date: Tue, 11 Jan 2005 16:02:26 -0800 Subject: More on notifications and reboot monitoring In-Reply-To: References: <41E1CE26.18032.492BC3@localhost> Message-ID: <20050112000225.GB82822@meer.net> On Mon, Jan 10, 2005 at 03:06:51AM -0500, Carson Gaspar wrote: > I can't. They just don't scale to the number of hosts I need to monitor, in > Nagios's current incarnations (including 2.0 beta). ... > Is anyone else here using Nagios to monitor >1000 hosts? I'm not sure where you get your analysis of lack of scale, but I've done implementations that have either a larger amount of hosts (2723 last I checked) or a larger amount of checks (700 hosts with 8-12 active checks each) on a single nagios server. The only sites where I've deployed distributed monitoring were due to the need for de-centralized testing. -- Joe Rhett Senior Geek Meer.net ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jrhett at meer.net Wed Jan 12 01:05:50 2005 From: jrhett at meer.net (Joe Rhett) Date: Tue, 11 Jan 2005 16:05:50 -0800 Subject: More on notifications and reboot monitoring In-Reply-To: <3D2C87FC4D5D7C7EB4B5E8AE@[192.168.21.2]> References: <6F4FD66684CCE85DFACC5523@taltos.ny.fw.gs.com> <20050108225325.GB41694@meer.net> <3D2C87FC4D5D7C7EB4B5E8AE@[192.168.21.2]> Message-ID: <20050112000549.GC82822@meer.net> > >effectively writing active monitoring support, and it requires both more > >extra code/complexity and more resources than just using normal ping > >checks and scheduled downtime. On Sun, Jan 09, 2005 at 03:34:12AM -0500, Carson Gaspar wrote: > If you'd care to re-write Nagios in such a way that it can scale to 10,000 > hosts using active checks, I'd be more than happy to use it. Sadly, the > current 1 fork (and an exec for non embedded perl checks) per data point > just doesn't scale well. You are again making statements as facts that you have not yet provided any documentation for. And since many of us on this list are RIGHT NOW using nagios in a manner that you claim it doesn't scale to, we are having trouble with your "facts" -- Joe Rhett Senior Geek Meer.net ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ongsheau at singnet.com.sg Wed Jan 12 02:53:11 2005 From: ongsheau at singnet.com.sg (Jonathan Ong) Date: Wed, 12 Jan 2005 09:53:11 +0800 Subject: WAP Server Monitoring In-Reply-To: <41E3AAB1.5050305@op5.se> References: <6.2.0.14.0.20050111112912.0387fa60@singnet.com.sg> <41E35676.30007@synaptic.net.nz> <6.2.0.14.0.20050111141603.03623b70@singnet.com.sg> <41E3AAB1.5050305@op5.se> Message-ID: <6.2.0.14.0.20050112094900.04918eb0@singnet.com.sg> Thanks. The check_http plugin works, although I had to tweak it to use an User Agent string of that of a WAP browser, so that the server will return wap pages. Regards, Jonathan At 06:30 PM 11/1/2005, Andreas Ericsson wrote: >Jonathan Ong wrote: >>Is it also possible to monitor the status of a url on the wap server? > >You want the check_http plugin. Wap-pages are really just web-pages with a >funny format. > >>Regards, >>Jonathan >>At 12:30 PM 11/1/2005, Dan Clark wrote: >> >>>if they have an IP address then you should be able to monitor weather or >>>not they are up? >>> >>>or connect to the TCP port the WAP server listens on? >>> >>>Regards >>>Dan >>> >>> >>>Jonathan Ong wrote: >>> >>>>Hi, >>>> >>>>I'm looking for a Nagios plugin for monitoring WAP servers. Has anyone >>>>done something like this? Appreciate any pointers. >>>> >>>>Thanks. >>>> >>>>Jonathan >>>> >>>> >>>> >>>> >>>>------------------------------------------------------- >>>>The SF.Net email is sponsored by: Beat the post-holiday blues >>>>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>>>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>>>_______________________________________________ >>>>Nagios-users mailing list >>>>Nagios-users at 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 >>> >> >> >>------------------------------------------------------- >>The SF.Net email is sponsored by: Beat the post-holiday blues >>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at 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 > >-- >Andreas Ericsson andreas.ericsson at op5.se >OP5 AB www.op5.se >Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From greg at montgomeryhouse.net Wed Jan 12 06:04:16 2005 From: greg at montgomeryhouse.net (Greg Montgomery) Date: Wed, 12 Jan 2005 00:04:16 -0500 Subject: Non-standard HTTP checking Message-ID: <009401c4f864$2ac81430$26f0190a@pumatech.com> Hi, I'm trying to do two non-standard web checks with Nagios that are causing me problems: 1) We have an app server that responds to standard HTTP requests but returns type Content-Type "application/octet-stream" (not valid HTML). check_http barfs on the output. I need something almost exactly like check_http but will accept arbitrary output. Any ideas on how do to this? 2) I have a web application that I want to monitor the log in process. The way it works is I POST credentials to a login web page, which then sets a cookie, and sends me a redirect. The redirected web page checks the cookie and then displays some data. check_http obviously does nothing with the cookies, so that doesn't work. I need something that will return the cookie properly. A lot of the web test script frameworks don't even appear to do that. Any thoughts on how to accomplish this? Thanks! Greg -------------- next part -------------- An HTML attachment was scrubbed... URL: From ralf.prengel at comline.de Wed Jan 12 08:11:15 2005 From: ralf.prengel at comline.de (Ralf Prengel) Date: Wed, 12 Jan 2005 08:11:15 +0100 Subject: Subversion server and nagios Message-ID: <41E4CD93.2020106@comline.de> Hallo, I ve to manag a subversion server. My idea is to use nagios for the monitoring. Are there anywhere any hints how to do it. Thanks Ralf Prengel ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From xavier at rootshell.be Wed Jan 12 08:20:25 2005 From: xavier at rootshell.be (Xavier) Date: Wed, 12 Jan 2005 08:20:25 +0100 (CET) Subject: "Servicegroup" escalation? Message-ID: Hi, I'm using "hostgroupescalation" to define escalation for a set of servers in the same time. But I can't find something like "servicegroupescalation", to define a default escalation value for a set of services? Or, is there another way to achieve this? Xavier -- Veni, Vidi, ROFL -- I came, I saw, I -laughed-! ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dsniff at gmx.net Wed Jan 12 10:05:58 2005 From: dsniff at gmx.net (Josef Ender) Date: Wed, 12 Jan 2005 10:05:58 +0100 Subject: Non-standard HTTP checking In-Reply-To: <009401c4f864$2ac81430$26f0190a@pumatech.com> References: <009401c4f864$2ac81430$26f0190a@pumatech.com> Message-ID: <41E4E876.6010101@gmx.net> Hello Greg 1. can you use a different URL (check_http -u) producing "clean" output? 2. For such cases I would write a test scripts in perl with LWP module: http://www.perldoc.com/perl5.8.0/lib/LWP/UserAgent.html#METHODS regards, Josef -- Josef Ender, Bitspot AG http://www.bitspot.com Greg Montgomery wrote: > > 1) We have an app server that responds to standard HTTP requests but > returns type Content-Type "application/octet-stream" (not valid > > 2) I have a web application that I want to monitor the log in > process. The way it works is I POST credentials to a login web page, > which then sets a cookie, and sends me a redirect. The redirected > web page checks the cookie and then displays some data. check_http ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dsniff at gmx.net Wed Jan 12 10:30:06 2005 From: dsniff at gmx.net (Josef Ender) Date: Wed, 12 Jan 2005 10:30:06 +0100 Subject: Subversion server and nagios In-Reply-To: <41E4CD93.2020106@comline.de> References: <41E4CD93.2020106@comline.de> Message-ID: <41E4EE1E.5090305@gmx.net> Ralf Prengel wrote: > I ve to manag a subversion server. > My idea is to use nagios for the monitoring. > Are there anywhere any hints how to do it. Hello Do you have a svnserve or http server? the quick and dirty way if you just want to monitor if the server is available: http: check with check_http svnserv: define a check command similar to: "svn list svn://svnhost/repository" regards, Josef -- Josef Ender, Bitspot AG http://www.bitspot.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From vincent at wallix.com Wed Jan 12 15:25:17 2005 From: vincent at wallix.com (Vincent Renardias) Date: Wed, 12 Jan 2005 15:25:17 +0100 Subject: Problem with obsessive commands... Message-ID: <1105539917.19095.28.camel@vincent> Hello, I have the following problem with nagios 1.3: I'm trying to feed the check results to a database via the 'ocsp_command=' directive. It's working great for the active checks (information is received correctly), but the script never gets called for results received via passive checks. Anybody know a way to fix that? More exactly my nagios.cfg says: ocsp_command=data-catcher and data-catcher is defined as: /usr/local/sbin/data-catcher.pl "\"$HOSTNAME$\"" "\"$HOSTSTATE$\"" "\"$SERVICEDESC$\"" "\"$SERVICESTATE$\"" "\"$OUTPUT$\"" Any way to get this to work for passive checks too? Thanks in advance... Best regards, -- Vincent Renardias ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Philipp.Sand at sycor.de Wed Jan 12 15:52:47 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 12 Jan 2005 15:52:47 +0100 Subject: Read Only Web Interface User Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C9549@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, Sorry when I'm to blind, but I can't find this in the Documentation... I'm using 2.0a1 with cgi authentication "1". Now I want to set up an user for an customer, who should view some hosts, do some reports, but who shouldn't access the extinfo.cgi to commit acknowlegements or other service/host commands. Until now, I use the contact_groups definition to add users/groups, who have access to view the service/host. Problem is, that those users are automiatically allowed to access the extinfo.cgi when they are contact to the service/host. What can I do? Thanks in advance, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rplantec at cvf.fr Wed Jan 12 16:34:52 2005 From: rplantec at cvf.fr (Ronan PLANTEC) Date: Wed, 12 Jan 2005 16:34:52 +0100 Subject: Problem with the compilation of the Nagios plugins (nagios-plugins-1.4-beta1.tar.gz) Message-ID: <41E5439C.7020308@cvf.fr> I don't find any mailing list for the Nagios plugins so I post here... I am using a Debian testing sarge. I am installing nagios 2.0b with the following plugins . My problem is that I can't compil the plugins with the make command although the result of the configure command seems to be OK. (N.B.: the name of my computer is NMStest). ------------------------------------------------------------------------------------------------------------------------------------------------------------------- NMStest:/usr/local/src/nagios-plugins-1.4-beta1# ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-cgiurl=/nagios/cgi-bin . . . config.status: creating po/Makefile --with-cgiurl: /nagios/cgi-bin --with-nagios-user: nagios --with-nagios-group: nagios --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin --with-ping-command: /bin/ping -n -U -w %d -c %d %s --with-ping6-command: --with-lwres: no --with-ipv6: yes --with-openssl: no --enable-emulate-getaddrinfo: no NMStest:/usr/local/src/nagios-plugins-1.4-beta1# ------------------------------------------------------------------------------------------------------------------------------------------------------------------- NMStest:/usr/local/src/nagios-plugins-1.4-beta1# make make all-recursive make[1]: Entering directory `/usr/local/src/nagios-plugins-1.4-beta1' Making all in intl make[2]: Entering directory `/usr/local/src/nagios-plugins-1.4-beta1/intl' make[2]: Rien ? faire pour ? all ?. make[2]: Leaving directory `/usr/local/src/nagios-plugins-1.4-beta1/intl' Making all in lib make[2]: Entering directory `/usr/local/src/nagios-plugins-1.4-beta1/lib' make all-am make[3]: Entering directory `/usr/local/src/nagios-plugins-1.4-beta1/lib' make[3]: Rien ? faire pour ? all-am ?. make[3]: Leaving directory `/usr/local/src/nagios-plugins-1.4-beta1/lib' make[2]: Leaving directory `/usr/local/src/nagios-plugins-1.4-beta1/lib' Making all in plugins make[2]: Entering directory `/usr/local/src/nagios-plugins-1.4-beta1/plugins' gcc -g -O2 -L. -o check_smtp check_smtp.o netutils.o utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a -lnsl -lresolv -I/include check_smtp.o(.text+0x909): In function `process_arguments': /usr/local/src/nagios-plugins-1.4-beta1/plugins/check_smtp.c:456: undefined reference to `terminate' collect2: ld a retourn? 1 code d'?tat d'ex?cution make[2]: *** [check_smtp] Erreur 1 make[2]: Leaving directory `/usr/local/src/nagios-plugins-1.4-beta1/plugins' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/usr/local/src/nagios-plugins-1.4-beta1' make: *** [all] Erreur 2 NMStest:/usr/local/src/nagios-plugins-1.4-beta1# ------------------------------------------------------------------------------------------------------------------------------------------------------------------ The plugins check_ping, check_disk, check_dhcp etc are recorded in this directory /usr/local/src/nagios-plugins-1.4-beta1/plugins instead of /usr/local/nagios/libexec as described in the documentation. Does anyone can help me to compil please ? Regards ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From GWCOOK at mactec.com Wed Jan 12 17:21:11 2005 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 12 Jan 2005 09:21:11 -0700 Subject: Hostgroup Question Message-ID: <41FD7929498A174DAB86C45F28E0EC0DDE54DE@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> admin at lists.sourceforge.net] On Behalf Of Cook, Garry >> Sent: Tuesday, January 11, 2005 3:55 PM >> To: Emmett Hogan; Nagios Users List >> Subject: RE: [Nagios-users] Hostgroup Question >> >> nagios-users-admin at lists.sourceforge.net wrote: >>> (Y'all are probably getting sick and tired of me.) :-( >>> >>> Is there any way to *NOT* have a hostgroup displayed on the >>> Hostgroup Web pages? >>> >> [snip] >>> >>> -Emmett >> >> Use >> >> register 0 >> >> in the hostgroup definition. > > Are you using this? If it does work it seems like a hack. Is the > internal logic loose enough to allow a host to be a member of > a template > hostgroup but not a 'real' hostgroup, either through use of > the template > or its addition to another real hostgroup? It has the feeling of a bug > and I suspect that notifications wouldn't go out for hosts in that > hostgroup at the least. > > I guess my question is: Is an unapplied template hostgroup with hosts > defined internally equivalent in all ways to a real hostgroup > definition as far as the deamon is concerned? I use 'register 0' in some hostgroup definitions in my hostgroups.cfg file. I do this for hostgroups that contain hosts that are already used in other groups. For instance, I have three geographic regions, which all have hosts requiring check_icmp, and notifications to three different contact groups. However, 90% of these hosts are BGP routers that require check_bgp. Since I'm still using 1.2, which does not support exclusion of particular hosts when configuring a service to check a hostgroup, I created a new hostgroup containing only the BGP routers. I then set this group up to be checked with check_bgp in services.cfg. In hostgroups.cfg I give it a 'register 0', and it then does not appear in the cgis that display hostgroups. Someone else mentioned that this would not address a specific portion of the original posters question. This is quite possible, as I may have misunderstood their intent. Either way, you should now have a better understanding of what I meant. I thought that this was 'common knowledge', and well documented, but I may have been mistaken. I do believe that I found this in the docs, and do not think it is a hack/bug of some sort. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.273.5050 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carsten.Schmitz at aegon.com Wed Jan 12 17:37:47 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Wed, 12 Jan 2005 17:37:47 +0100 Subject: check jboss or tomcat are running Message-ID: <49977F7CEA035C46A2D47108CE0F032F014135@ANGELIA.aegon.com> Hi, > I was wondering how would I go about chekcing that JBoss or Tomcat or > any other UNIX/Linux program are running using Nagios (ver 1.2)? If JBoss and Tomcat display web pages (in my understanding they usually are) you can use check_http to check those. If not, and they run on the same machine as Nagios, you could easily make your own plugin. A shell script that does something like "ps -ef | grep ", checks the return code of grep (different return code if lines found, or if no lines found, see "man grep") and does "exit 0" if process found, or "exit 2" if not works for me. You can also count the processes ( | wc -l or such) and "exit 1" (warning) if the number of running procs seems not right. Define your script in misccommands.cfg and thats it - your very own plugin. All this applies to Nagios 1.2, dunno about 2.0 but should be similar. Also, there are probably existing plugins that do this. Also, when grepping in ps you might need to append an "| grep -v grep" cause on some systems I find the output sometimes includes the grep process itself. If they run on a different machine, Google a bit, I'm sure someone has tried to check processes running on different machines with Nagios before. There might be a plugin or some sort. Or, you could develop a way for your plugin to log into the remote machine and check the process there - ssh can be configured with its key mechanism to run from scripts without needing a password (like a trust relationship), and ssh can run commands on remote boxes this way. Hope this helps. Cheers, ---------------------------------------------------------------------- Carsten Schmitz AEGON N.V. System Administrator AEGONplein 50 Group Information Management 2591TV The Hague The Netherlands Phone: +31 (0)70 344 8308 "Unix is not user unfriendly. It's just picky about its friends" ---------------------------------------------------------------------- -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of S. H. Sent: Wednesday, January 12, 2005 1:12 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check jboss or tomcat are running Hi everyone, I was wondering how would I go about chekcing that JBoss or Tomcat or any other UNIX/Linux program are running using Nagios (ver 1.2)? Somehting to do with using NRPE? Sorry i'm a bit new to all this linux stuff. Thanx a alot. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From loyd at cyber.kodak.com Wed Jan 12 18:55:06 2005 From: loyd at cyber.kodak.com (Eric Loyd) Date: Wed, 12 Jan 2005 12:55:06 -0500 Subject: Dependencies - a little confused. In-Reply-To: <41E42B68.4060406@Examen.com> References: <20050110172846.C4908BA05@www.prhobbies.com> <41E42B68.4060406@Examen.com> Message-ID: <41E5647A.8080909@cyber.kodak.com> Emmett Hogan wrote: > Okay...now I am REALLY confused. I do not understand why you would > need to make all services dependent on a check_ping service when the > Nagios Documentation states: > > *By adding the dependency on a check_ping service aren't you adding > another level of complexity that is already handled by default?? > * > Yes, you are, unless you're doing something else for your host check (or you've disabled them). In our case, we can't ping. We can, however, SSH from the Nagios server to (most) of the remote boxes. Our host check is, therefore, a check_ssh module check (is SSH running on remote host? If so, host is up. If not, host is down). So we wrap a bunch of modules in an SSH tunnel, and any checks that require this SSH connectivity that fail will cause a host check to be performed, which checks SSH connectivity. So we don't have to make a dependency upon ssh services. Short answer: Don't make services dependent upon network connectivity. Nagios handles that. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JoeRegular at gov.nl.ca Wed Jan 12 19:47:46 2005 From: JoeRegular at gov.nl.ca (Joe Regular) Date: Wed, 12 Jan 2005 15:17:46 -0330 Subject: 2.0b1 Missing Files Message-ID: I just downloaded and attempted to install Nagios 2.0b1 on a Fedora C3 server. Much to my surprise after completing the make all, make install, make install-init, and make install-config protions of the setup, my /usr/local/nagios/etc folder does not exist. I tried creating the folder myself and copying the sample files from my downloaded tarball but there is some missing sample files. Where can I find out what my tarball is missing and where do I get these sample files? I've tried diwnloading from several different mirrors without any luck. Joe Regular ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From loyd at cyber.kodak.com Wed Jan 12 18:59:40 2005 From: loyd at cyber.kodak.com (Eric Loyd) Date: Wed, 12 Jan 2005 12:59:40 -0500 Subject: check http using specific SSL certificate, help... In-Reply-To: <32E0C0122549944A8D0E06EAA512295D46AC81@scorpion.Traiana.INT> References: <32E0C0122549944A8D0E06EAA512295D46AC81@scorpion.Traiana.INT> Message-ID: <41E5658C.1020504@cyber.kodak.com> I got tired of all of the idiosynchracies of check_http and our network and SSL and proxies and stuff, so I wrote my own check_http which wraps things into a curl request, which has a lot more options available to is (such as SSL certs and other options). If you're interested, I could provide a (modified) version of the module that has our specific stuff stripped out of it. -Eric Itamar Lavender wrote: > Hey All, > > I'm trying to monitor one of my HTTPS servers which I must access > trough SSL with a specific certificate using the check_http plugin > > The server doesn't supply a certificate but check if you have it. > > I'm currently monitoring all my other servers & it works great.... > this is my favorite tool :-) > If someone thinks he can help I'll be thankful... > Any idea for new script that uses check_http will be blessed. > > > Itamar. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmosh at shaw.ca Wed Jan 12 20:19:29 2005 From: jmosh at shaw.ca (Joubin Moshrefzadeh) Date: Wed, 12 Jan 2005 11:19:29 -0800 Subject: storing host/service down events in database Message-ID: <166ac37166c464.166c464166ac37@shaw.ca> ----- Original Message ----- From: Marc Powell Date: Monday, January 10, 2005 2:15 pm Subject: RE: [Nagios-users] storing host/service down events in database > Only the current values are stored in the database. We use > postgres and > used a simple trigger to copy the data on INSERT or UPDATE into > anothertable for longer-term storage and eventual migration to MSSQL. OK, so there is an easy workaround... Do you know if MySQL supports the same functionality? ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ratty at they.org Wed Jan 12 20:19:22 2005 From: ratty at they.org (frank) Date: Wed, 12 Jan 2005 11:19:22 -0800 (PST) Subject: 2.0b1 Missing Files In-Reply-To: References: Message-ID: I'm new here too and have been having similar problems. The solution I came across this morning was the CVS tarball. http://nagios.sourceforge.net/download/cvs/nagios-cvs.tar.gz With a little bit of editing I was able to get the RPM to build with the included .spec file. On an "ancient" RH7.3 system even, tho I did need to upgrade things like autoconf/automake/gd... First untar the ball and edit nagios.spec: (change "contrib" to "config") 271c271 < cp sample-contrib/httpd.conf ${RPM_BUILD_ROOT}/etc/httpd/conf.d/nagios.conf --- > cp sample-config/httpd.conf ${RPM_BUILD_ROOT}/etc/httpd/conf.d/nagios.conf Next, rename the base directory from "nagios-cvs" to "nagios-2.0b1". Finally, re-tar your renamed directory. I named my new source file nagios-2.0b1.tar.gz. On an RPM based system you now should be able to run: # rpm -ta path/to/new-tarball.gz If all goes as planned you will have 3 RPMs and 1 SRPM at the end. Hope this helps. -frank On Wed, 12 Jan 2005, Joe Regular wrote: > Date: Wed, 12 Jan 2005 15:17:46 -0330 > From: Joe Regular > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] 2.0b1 Missing Files > > I just downloaded and attempted to install Nagios 2.0b1 on a Fedora C3 > server. Much to my surprise after completing the make all, make > install, make install-init, and make install-config protions of the > setup, my /usr/local/nagios/etc folder does not exist. I tried creating > the folder myself and copying the sample files from my downloaded > tarball but there is some missing sample files. > > Where can I find out what my tarball is missing and where do I get > these sample files? I've tried diwnloading from several different > mirrors without any luck. > > Joe Regular > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mykea at SES-Ins.COM Wed Jan 12 20:31:16 2005 From: mykea at SES-Ins.COM (Michael Adams) Date: Wed, 12 Jan 2005 11:31:16 -0800 Subject: check jboss or tomcat are running In-Reply-To: <49977F7CEA035C46A2D47108CE0F032F014135@ANGELIA.aegon.com> References: <49977F7CEA035C46A2D47108CE0F032F014135@ANGELIA.aegon.com> Message-ID: <200501121929.LAA01083@lincoln.SES-Ins.COM> I am currently monitoring several Jrun servers on Solaris boxes by using check_tcp and checking to see if the ports are responding. You could also use nrpe in conjunction with a 'ps -ef | grep' script for the process name. ------------------------------------ SES Insurance Services, Inc. ------------------------------------ Michael Adams Senior Systems Network Administrator michael.adams at ses-ins.com ------------------------------------ -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Schmitz, Carsten Sent: Wednesday, January 12, 2005 8:38 AM To: S. H.; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check jboss or tomcat are running Hi, > I was wondering how would I go about chekcing that JBoss or Tomcat or > any other UNIX/Linux program are running using Nagios (ver 1.2)? If JBoss and Tomcat display web pages (in my understanding they usually are) you can use check_http to check those. If not, and they run on the same machine as Nagios, you could easily make your own plugin. A shell script that does something like "ps -ef | grep ", checks the return code of grep (different return code if lines found, or if no lines found, see "man grep") and does "exit 0" if process found, or "exit 2" if not works for me. You can also count the processes ( | wc -l or such) and "exit 1" (warning) if the number of running procs seems not right. Define your script in misccommands.cfg and thats it - your very own plugin. All this applies to Nagios 1.2, dunno about 2.0 but should be similar. Also, there are probably existing plugins that do this. Also, when grepping in ps you might need to append an "| grep -v grep" cause on some systems I find the output sometimes includes the grep process itself. If they run on a different machine, Google a bit, I'm sure someone has tried to check processes running on different machines with Nagios before. There might be a plugin or some sort. Or, you could develop a way for your plugin to log into the remote machine and check the process there - ssh can be configured with its key mechanism to run from scripts without needing a password (like a trust relationship), and ssh can run commands on remote boxes this way. Hope this helps. Cheers, ---------------------------------------------------------------------- Carsten Schmitz AEGON N.V. System Administrator AEGONplein 50 Group Information Management 2591TV The Hague The Netherlands Phone: +31 (0)70 344 8308 "Unix is not user unfriendly. It's just picky about its friends" ---------------------------------------------------------------------- -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of S. H. Sent: Wednesday, January 12, 2005 1:12 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check jboss or tomcat are running Hi everyone, I was wondering how would I go about chekcing that JBoss or Tomcat or any other UNIX/Linux program are running using Nagios (ver 1.2)? Somehting to do with using NRPE? Sorry i'm a bit new to all this linux stuff. Thanx a alot. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Wed Jan 12 20:25:14 2005 From: jhmartin at toger.us (Jason Martin) Date: Wed, 12 Jan 2005 11:25:14 -0800 Subject: check http using specific SSL certificate, help... In-Reply-To: <41E5658C.1020504@cyber.kodak.com> References: <32E0C0122549944A8D0E06EAA512295D46AC81@scorpion.Traiana.INT> <41E5658C.1020504@cyber.kodak.com> Message-ID: <20050112192514.GW1816@zippy.toger.us> On Wed, Jan 12, 2005 at 12:59:40PM -0500, Eric Loyd wrote: > I got tired of all of the idiosynchracies of check_http and our network > and SSL and proxies and stuff, so I wrote my own check_http which wraps > things into a curl request, which has a lot more options available to is > (such as SSL certs and other options). If you're interested, I could > provide a (modified) version of the module that has our specific stuff > stripped out of it. I think that would be useful. Can you please post it to the nagiosplug 'New Plugins' tracker at http://www.6URL.com/9UW please? Thanks, -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From jgiles at joeman1.com Wed Jan 12 21:43:39 2005 From: jgiles at joeman1.com (Joe Giles) Date: Wed, 12 Jan 2005 20:43:39 +0000 Subject: NRPE Plugin timed out after 10 seconds Message-ID: <41E58BFB.3010101@joeman1.com> Ok, I'm kind of new to this NRPE thing and I don't understand something. I have it all set up on a remote host and I have a number of plug ins working and reporting OK on my end. However, just for testing, I stop my pop server (check_pop), it comes back as critical, and the pop and the host turn red and I get my e-mails/pages and its working great. However, when I start the pop service back up, the POP services changes back to OK, but the host still shows down and this info Plug in timed out after 10 seconds. This happens while all the other services are ok. The only way to get it to show good again is to stop and restart the Nagios daemon on the host server. Then, its ok. How can I fix this. Its quite annoying. Also, the e-mails I get are generic stating that the host is down and doesn't tell me that the pop server is down. Any help would be appreciated!!! Thanks Joe ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.shipway at auckland.ac.nz Wed Jan 12 21:46:47 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 13 Jan 2005 09:46:47 +1300 Subject: Big Brother migration to Nagios Message-ID: <02a901c4f8e7$d53a2d30$01fea8c0@itss.auckland.ac.nz> Hello, everyone... We are currently working to migrate some Big Brother monitored hosts to Nagios. To do this, in the interim, I can set up passive Services with a freshness check that returns 'unknown', and then get the BigBrother status notifications to go to Nagios instead. What I need is a daemon, a bit like NSCA, that receives BigBrother notifications on port 1984 and then sends the appropriate status change to the Nagios command socket. Has anyone written one of those yet, or should I go ahead and do it? In the long term, we'll get pNSclient and NRPE on the hosts, but since those are active checks and BB is passive it will require firewall changes ate which is a long and tedious process. In the interim, using the BB agent with Nagios is the best way to go. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From jgiles at joeman1.com Wed Jan 12 21:50:05 2005 From: jgiles at joeman1.com (Joe Giles) Date: Wed, 12 Jan 2005 20:50:05 +0000 Subject: NRPE Plugin timed out after 10 seconds In-Reply-To: <41E58BFB.3010101@joeman1.com> References: <41E58BFB.3010101@joeman1.com> Message-ID: <41E58D7D.9020400@joeman1.com> Joe Giles wrote: > Ok, I'm kind of new to this NRPE thing and I don't understand something. > > I have it all set up on a remote host and I have a number of plug ins > working and reporting OK on my end. However, just for testing, I stop > my pop server (check_pop), it comes back as critical, and the pop and > the host turn red and I get my e-mails/pages and its working great. > However, when I start the pop service back up, the POP services > changes back to OK, but the host still shows down and this info Plug > in timed out after 10 seconds. > > This happens while all the other services are ok. The only way to get > it to show good again is to stop and restart the Nagios daemon on the > host server. Then, its ok. > > How can I fix this. Its quite annoying. Also, the e-mails I get are > generic stating that the host is down and doesn't tell me that the pop > server is down. > > Any help would be appreciated!!! > > Thanks > > Joe > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 Ok, I forgot to mention.... This is for Linux (Gentoo), using Nagios version 1.2 and version 2.0 of NRPE. Thanks!!! ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Jan 12 22:04:20 2005 From: marc at ena.com (Marc Powell) Date: Wed, 12 Jan 2005 15:04:20 -0600 Subject: storing host/service down events in database Message-ID: <349555FA607F3A4CBDA9326035D1A7FC835FE2@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Joubin Moshrefzadeh > Sent: Wednesday, January 12, 2005 1:19 PM > To: Marc Powell > Cc: nagios_list > Subject: Re: RE: [Nagios-users] storing host/service down events in > database > > > > ----- Original Message ----- > From: Marc Powell > Date: Monday, January 10, 2005 2:15 pm > Subject: RE: [Nagios-users] storing host/service down events in database > > > Only the current values are stored in the database. We use > > postgres and > > used a simple trigger to copy the data on INSERT or UPDATE into > > anothertable for longer-term storage and eventual migration to MSSQL. > > OK, so there is an easy workaround... Do you know if MySQL supports the > same functionality? I do not. A quick check features section of the mysql web site would probably answer that though. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.shipway at auckland.ac.nz Wed Jan 12 21:43:34 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 13 Jan 2005 09:43:34 +1300 Subject: Non-standard HTTP checking In-Reply-To: <009401c4f864$2ac81430$26f0190a@pumatech.com> References: <009401c4f864$2ac81430$26f0190a@pumatech.com> Message-ID: <02a301c4f8e7$62eab7e0$01fea8c0@itss.auckland.ac.nz> Greg wrote: 1) We have an app server that responds to standard HTTP requests but returns type Content-Type "application/octet-stream" (not valid HTML). check_http barfs on the output. I need something almost exactly like check_http but will accept arbitrary output. Any ideas on how do to this? 2) I have a web application that I want to monitor the log in process. The way it works is I POST credentials to a login web page, which then sets a cookie, and sends me a redirect. The redirected web page checks the cookie and then displays some data. check_http obviously does nothing with the cookies, so that doesn't work. I need something that will return the cookie properly. A lot of the web test script frameworks don't even appear to do that. Any thoughts on how to accomplish this? I replied... 1) You should be able to do this with check_http. Just check the HTTP response code rather than the content, it works correctly for me. 2) This is the sort of case that I wrote check_website to cope with -- where you have to do a sequence of multiple GET or POST requests, coping with redirects and cookies and parameters. I am using it here to log in to a web site, make a selection, and then log out. Grab a beta copy from http://www.steveshipway.org/software in the Nagios section, and let me know how you get on with it. There are some example config files included with it to show you how to configure a test script for check_website to follow. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From jhmartin at toger.us Wed Jan 12 21:53:19 2005 From: jhmartin at toger.us (Jason Martin) Date: Wed, 12 Jan 2005 12:53:19 -0800 Subject: NRPE Plugin timed out after 10 seconds In-Reply-To: <41E58BFB.3010101@joeman1.com> References: <41E58BFB.3010101@joeman1.com> Message-ID: <20050112205319.GX1816@zippy.toger.us> On Wed, Jan 12, 2005 at 08:43:39PM +0000, Joe Giles wrote: > How can I fix this. Its quite annoying. Also, the e-mails I get are > generic stating that the host is down and doesn't tell me that the pop > server is down. It sounds like your host check scripts aren't working, so once nagios bothers to check the host (in response to a service down state) it never detects the host back up and thus doesn't send any service alerts. -Jason MArtin -- Where does the fire go when the fire goes out? This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From loyd at cyber.kodak.com Wed Jan 12 21:56:41 2005 From: loyd at cyber.kodak.com (Eric Loyd) Date: Wed, 12 Jan 2005 15:56:41 -0500 Subject: check http using specific SSL certificate, help... In-Reply-To: <20050112192514.GW1816@zippy.toger.us> References: <32E0C0122549944A8D0E06EAA512295D46AC81@scorpion.Traiana.INT> <41E5658C.1020504@cyber.kodak.com> <20050112192514.GW1816@zippy.toger.us> Message-ID: <41E58F09.8060503@cyber.kodak.com> Okay. Lots of people have asked me for this script. I need to clean it up (ie - remove proprietary information) and then I'll post it. It won't be until Monday, most likely, but I'll shoot for tomorrow (and I'm off Friday). >On Wed, Jan 12, 2005 at 12:59:40PM -0500, Eric Loyd wrote: > > >>I got tired of all of the idiosynchracies of check_http and our network >>and SSL and proxies and stuff, so I wrote my own check_http which wraps >>things into a curl request, which has a lot more options available to is >>(such as SSL certs and other options). If you're interested, I could >>provide a (modified) version of the module that has our specific stuff >>stripped out of it. >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From johnsonmlw at yahoo.com Wed Jan 12 23:58:01 2005 From: johnsonmlw at yahoo.com (Matt Johnson) Date: Wed, 12 Jan 2005 22:58:01 +0000 (GMT) Subject: passive checks via smtp? or similar In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC835F5C@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC835F5C@mismail.ena.com> Message-ID: <20050112225801.56705.qmail@web50810.mail.yahoo.com> > Use passive checks and freshness checks. Have the > email address you send > to on your Nagios machine execute a script that > simply submits the > service OK external command to Nagios via the > command pipe as a passive > check. Use freshness checks to verify you've > received a result in a > timely manner. Thanks for this. I have it working. Sorted. To get the pipe to work, I had to mess with permissions. I was getting problems with using the nagios.cmd pipe. I tried to change the user that exim ran the aliases/pipe command as, but it stopped the aliases pipe working altogether. The way round it was to chmod 777 /var/run/nagios/nagios.cmd. There must be a more elegant solution (especially as I have to chmod it again after every service restart). Anyways - *much* thanks for the pointers. It's sorted my situation. -- Matt ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From L.Leung at enspire.com.au Thu Jan 13 00:13:16 2005 From: L.Leung at enspire.com.au (Lydia Leung) Date: Thu, 13 Jan 2005 10:13:16 +1100 Subject: What does "(Connection refused) " mean in the host status information? Message-ID: <36CFEC552CCBE44E894C85A79F633B844A8599@itumailsrv.enspire.local> I got some services alert as Connection refused for some hosts. But not all the services are having this refusion. What does that mean? Cheers, Lydia -------------- next part -------------- An HTML attachment was scrubbed... URL: From L.Leung at enspire.com.au Thu Jan 13 01:24:08 2005 From: L.Leung at enspire.com.au (Lydia Leung) Date: Thu, 13 Jan 2005 11:24:08 +1100 Subject: not auhorized to disale check of the service Message-ID: <36CFEC552CCBE44E894C85A79F633B844A85A0@itumailsrv.enspire.local> Hi guys, When I tried to disable check of service, I was told "Sorry, but you are not authorized to commit the specified command.". I check the cgi.cfg. The username I m using is nagiosadmin. I have got the below authorization configured. authorized_for_system_commands=nagiosadmin authorized_for_all_service_commands=nagioadmin authorized_for_all_host_commands=nagiosadmin I also checked the permission of /nagios/sbin/. And changed all the .cgi into 777. But I still can not commit the command. Can anyone tell me what happened? Thanks a lot, Lydia -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at mm.quex.org Thu Jan 13 02:28:39 2005 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Thu, 13 Jan 2005 09:28:39 +0800 Subject: What does "(Connection refused) " mean in the host status information? In-Reply-To: <36CFEC552CCBE44E894C85A79F633B844A8599@itumailsrv.enspire.local> References: <36CFEC552CCBE44E894C85A79F633B844A8599@itumailsrv.enspire.local> Message-ID: <20050113012839.GA11473@quex.org> On Thu, Jan 13, 2005 at 10:13:16AM +1100, Lydia Leung wrote: > I got some services alert as Connection refused for some hosts. But > not all the services are having this refusion. > > What does that mean? "Connection refused" is a standard error for connection-based protocols, such as TCP. It means the host is not accepting connections for the specified port, i.e. no program or service on the machine is listening on the port. This can be caused by a problem such as the software that usually accepts such connections no longer running, e.g. if the web server or mail server or whatever has crashed - the machine itself is still running, but the software providing the service has died. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Philipp.Sand at sycor.de Thu Jan 13 07:55:47 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Thu, 13 Jan 2005 07:55:47 +0100 Subject: Read Only Web Interface User Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C954B@SYGOMAIL.GOE.AD.SYCOR.DE> In the cgi.cfg, I can only find the param to give a user the right to view ALL hosts /services with the authorized_for_all_hosts/services. What I want, is to have a user for each customer, who can just view a few hosts, and who cannot acknowledge Problems or something like that. > -----Original Message----- > From: Nathan Oyler [mailto:noyler at khimetrics.com] > Sent: Wednesday, January 12, 2005 6:35 PM > To: Sand Philipp > Subject: RE: [Nagios-users] Read Only Web Interface User > > Isn't that config in cgi.cgi? > > I don't have time to check, but there's where I think it is. > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Sand Philipp > > Sent: Wednesday, January 12, 2005 7:53 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Read Only Web Interface User > > > > Hi, > > > > Sorry when I'm to blind, but I can't find this in the > Documentation... > > I'm using 2.0a1 with cgi authentication "1". > > Now I want to set up an user for an customer, who should view some > > hosts, do some reports, but who shouldn't access the extinfo.cgi to > > commit acknowlegements or other service/host commands. > > > > Until now, I use the contact_groups definition to add users/groups, > > who have access to view the service/host. Problem is, that > those users > > are automiatically allowed to access the extinfo.cgi when they are > > contact to the service/host. > > > > What can I do? > > Thanks in advance, > > Philipp > > > > > > _____________________________ > > > > Philipp Sand > > OC-CC-TEC-SYS > > > > SYCOR GmbH > > Heinrich-von-Stephan-Stra?e 1-5 > > D - 37073 G?ttingen > > > > Telefon +49 (0) 551 / 490 - 0 > > Telefax +49 (0) 551 / 490 - 232468 > > > > philipp.sand at sycor.de > > www.sycor.de > > ------------------------------------------------ > > > > > > > > ************************************************ > > > > sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie > > > > www.sycor-plastics.de > > > > ************************************************ > > > > > > > > > > Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche > > Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e > > Empf?nger sind, l?schen Sie bitte die E-Mail und deren > Anh?nge sofort > > und benachrichtigen Sie uns dar?ber. Die Firma sycor > willigt in keine > > Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt > > rechtsverbindliche Angebote, die in Form von E-Mail > versandt werden, > > sofern dies nicht ausdr?cklich in schriftlicher Form > zwischen den Parteien vereinbart wurde. > > > > This e-mail is confidential and may contain personal and/or > privileged > > information. If you are not the intended recipient please > delete this > > e- mail and all attachments immediately and inform us. The company > > sycor does not agree with contracts or contract obligations sent by > > e-mail, neither do we transmit legally binding offers by e-mail, > > unless this is not expressly agreed upon between the > parties and documented in written form. > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by: Beat the post-holiday blues Get a > > FREE limited edition SourceForge.net t-shirt from ThinkGeek. > > It's fun and FREE -- well, > almost....http://www.thinkgeek.com/sfshirt > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ralf.prengel at comline.de Thu Jan 13 09:10:13 2005 From: ralf.prengel at comline.de (Ralf Prengel) Date: Thu, 13 Jan 2005 09:10:13 +0100 Subject: nagios book (only in German) Message-ID: <41E62CE5.2080002@comline.de> http://www.opensourcepress.de/index.php?26&backPID=72&tt_products=19 planed for 7/2005 Ralf ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Stephan.Janosch at interface-business.de Thu Jan 13 09:19:11 2005 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Thu, 13 Jan 2005 09:19:11 +0100 Subject: not auhorized to disale check of the service In-Reply-To: <36CFEC552CCBE44E894C85A79F633B844A85A0@itumailsrv.enspire.local> References: <36CFEC552CCBE44E894C85A79F633B844A85A0@itumailsrv.enspire.local> Message-ID: <41E62EFF.4070609@interface-business.de> Lydia Leung wrote: > Hi guys, > > > > When I tried to disable check of service, I was told ?*Sorry, but you > are not authorized to commit the specified command*.?. > > > > I check the cgi.cfg. The username I m using is nagiosadmin. I have got > the below authorization configured. > > *authorized_for_system_commands=nagiosadmin* > > *authorized_for_all_service_commands=nagioadmin* > > *authorized_for_all_host_commands=nagiosadmin* > > > > I also checked the permission of */nagios/sbin*/. And changed all the > .cgi into *777*. > > > > But I still can not commit the command. > > > > Can anyone tell me what happened? > > > > Thanks a lot, > > Lydia > > > As what person you authenticate on the nagios website? Do you have a .htaccess there? ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From timothy at icts.uct.ac.za Thu Jan 13 10:00:53 2005 From: timothy at icts.uct.ac.za (Timothy Carr) Date: Thu, 13 Jan 2005 11:00:53 +0200 Subject: nagios book (only in German) In-Reply-To: <41E62CE5.2080002@comline.de> References: <41E62CE5.2080002@comline.de> Message-ID: <41E638C5.8070803@icts.uct.ac.za> excellent stuff ... Ralf Prengel wrote: > http://www.opensourcepress.de/index.php?26&backPID=72&tt_products=19 > planed for 7/2005 > > Ralf > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carsten.Schmitz at aegon.com Thu Jan 13 12:51:00 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Thu, 13 Jan 2005 12:51:00 +0100 Subject: Ping processes piling up? Message-ID: <49977F7CEA035C46A2D47108CE0F032F014138@ANGELIA.aegon.com> Hi, This is not a core Nagios question but I figure some of you using Nagios might have seen it. On my "Red Hat Linux release 7.3 (Valhalla)" box, for some weeks now, the pings started by Nagios keep piling up, meaning that I have ping processes running that are several days old. After a while the box gets slow, and I can't sleep coz I keep having those mysterious dreams of process table slot limitations. Anyone seen this before? Is my assumption correct that Nagios pings should die on the same day they were started (unless ping started 23:59:59 of course ;) At the moment all I can do is "killall /bin/ping" every couple of days, whats the expected impact of this on Nagios? (I'd expect that if I kill a ping that Nagios currently "looks at" then the service soft alert gets triggered but since all my services have retry=3 I don't expect any problems - still don't like to put killall into cron, would rather have a clean solution). Thanks, ---------------------------------------------------------------------- Carsten Schmitz System Administrator Group Information Management Aegon N.V. ---------------------------------------------------------------------- "My password is my cat's name. Its called x6>B8e at 7w_4. I rename it every 30 days." ---------------------------------------------------------------------- ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leonardomachado at gmail.com Thu Jan 13 13:30:22 2005 From: leonardomachado at gmail.com (Leonardo Henrique Machado) Date: Thu, 13 Jan 2005 10:30:22 -0200 Subject: Dependencies - a little confused. In-Reply-To: <41E5647A.8080909@cyber.kodak.com> References: <20050110172846.C4908BA05@www.prhobbies.com> <41E42B68.4060406@Examen.com> <41E5647A.8080909@cyber.kodak.com> Message-ID: On Wed, 12 Jan 2005 12:55:06 -0500, Eric Loyd wrote: > Emmett Hogan wrote: > Okay...now I am REALLY confused. I do not understand why you would need to > make all services dependent on a check_ping service when the Nagios > Documentation states: > >"Whenever a service check results in a non-OK status level, Nagios will attempt to > check and see if the host that the service is running on is "alive". Typically this is > done by pinging the host and seeing if any response is received. If the host check > command returns a non-OK state, Nagios assumes that there is a problem with >the host. In this situation Nagios will "silence" all potential alerts for services >running on the host and just notify the appropriate contacts that the host is down > or unreachable. If the host check command returns an OK state, Nagios will > recognize that the host is alive and will send out an alert for the service that is > misbehaving." It says "silence alerts" and not "stop all service checks". Isn't it related just to notifications? -- Leonardo Henrique Machado ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leonardomachado at gmail.com Thu Jan 13 13:21:18 2005 From: leonardomachado at gmail.com (Leonardo Henrique Machado) Date: Thu, 13 Jan 2005 10:21:18 -0200 Subject: Service Dependencys (2.0b1) In-Reply-To: <1105447904.27890.28.camel@raptor.lenze.com> References: <1105447904.27890.28.camel@raptor.lenze.com> Message-ID: > define servicedependency{ > register 0 > name dependUponA > host_name thisHost > dependent_host_name thisHost > service_description A > execution_failure_criteria u,c,p > notification_failure_criteria u,c,p > } According to the documentation, there's no "name" variable in servicedependency definition. Why are you using that? Try without it. If it still does not work, tell us. -- Leonardo Henrique Machado ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Schimpke at Lenze.de Thu Jan 13 14:29:09 2005 From: Schimpke at Lenze.de (Schimpke, Dr. Thomas / bhn) Date: Thu, 13 Jan 2005 14:29:09 +0100 Subject: Service Dependencys (2.0b1) Message-ID: <1105622949.17376.11.camel@raptor.lenze.com> Hi Leonardo, this is just a template (hence the "register 0"). I use that template in service dependencies that follow. Kind regards, Thomas On Thu, 2005-01-13 at 13:21, Leonardo Henrique Machado wrote: > > define servicedependency{ > > register 0 > > name dependUponA > > host_name thisHost > > dependent_host_name thisHost > > service_description A > > execution_failure_criteria u,c,p > > notification_failure_criteria u,c,p > > } > > According to the documentation, there's no "name" variable in > servicedependency definition. Why are you using that? Try without it. > If it still does not work, tell us. > > -- > Leonardo Henrique Machado -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From amoore at dekalbmemorial.com Thu Jan 13 14:53:43 2005 From: amoore at dekalbmemorial.com (Aaron K. Moore) Date: Thu, 13 Jan 2005 08:53:43 -0500 Subject: Big Brother migration to Nagios Message-ID: <60D398EB2DB948409CA1F50D8AF1225732245D@exch1.dekalbmemorial.local> When I migrated us from BB to Nagios I converted all of my custom service checks to passive Nagios checks that submitted their results via send_nsca to the Nagios server. -- Aaron Kent Moore Information Technology Services DeKalb Memorial Hospital, Inc. Auburn, IN Phone: 260.920.2808 E-mail: amoore at dekalbmemorial.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Steve Shipway Sent: Wednesday, January 12, 2005 3:47 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Big Brother migration to Nagios Hello, everyone... We are currently working to migrate some Big Brother monitored hosts to Nagios. To do this, in the interim, I can set up passive Services with a freshness check that returns 'unknown', and then get the BigBrother status notifications to go to Nagios instead. What I need is a daemon, a bit like NSCA, that receives BigBrother notifications on port 1984 and then sends the appropriate status change to the Nagios command socket. Has anyone written one of those yet, or should I go ahead and do it? In the long term, we'll get pNSclient and NRPE on the hosts, but since those are active checks and BB is passive it will require firewall changes ate which is a long and tedious process. In the interim, using the BB agent with Nagios is the best way to go. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mklaphek at cedarpath.com Thu Jan 13 14:59:44 2005 From: mklaphek at cedarpath.com (Michael S. Klapheke) Date: Thu, 13 Jan 2005 08:59:44 -0500 Subject: Nagios View Discrepancies Message-ID: <002101c4f978$250e9180$8269650a@Network1> Hi I'm getting differences between the output from the Service Detail Screen and the Host Detail screen for the same host during a ping check. Has anyone else seen this? I'm new to Nagios, and I was wondering if the database may have gotten corrupt? I don't know how to fix this, so any help is appreciated. Also, are there any special requirements for removing a host (other than removing it from the hosts.cfg, services.cfg, etc.) Thanks! Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From loyd at cyber.kodak.com Thu Jan 13 15:11:10 2005 From: loyd at cyber.kodak.com (Eric Loyd) Date: Thu, 13 Jan 2005 09:11:10 -0500 Subject: check http using specific SSL certificate, help... In-Reply-To: <41E58F09.8060503@cyber.kodak.com> References: <32E0C0122549944A8D0E06EAA512295D46AC81@scorpion.Traiana.INT> <41E5658C.1020504@cyber.kodak.com> <20050112192514.GW1816@zippy.toger.us> <41E58F09.8060503@cyber.kodak.com> Message-ID: <41E6817E.8040906@cyber.kodak.com> It has been decided that, since the development of the code was done on company time, that it is the intellectual property of the company, and therefore, at this time, I cannot share it. I will, of course, develop another version on my own time that I can share. My apologies (for now) to people who asked for it. Eric Loyd wrote: > Okay. Lots of people have asked me for this script. I need to clean > it up (ie - remove proprietary information) and then I'll post it. It > won't be until Monday, most likely, but I'll shoot for tomorrow (and > I'm off Friday). > >>On Wed, Jan 12, 2005 at 12:59:40PM -0500, Eric Loyd wrote: >> >> >>>I got tired of all of the idiosynchracies of check_http and our network >>>and SSL and proxies and stuff, so I wrote my own check_http which wraps >>>things into a curl request, which has a lot more options available to is >>>(such as SSL certs and other options). If you're interested, I could >>>provide a (modified) version of the module that has our specific stuff >>>stripped out of it. >>> >>> -- Eric Loyd loyd at cyber.kodak.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From fred.blaise at excilan.com Thu Jan 13 15:44:29 2005 From: fred.blaise at excilan.com (Fred Blaise) Date: Thu, 13 Jan 2005 15:44:29 +0100 Subject: daemon restart scripts Message-ID: <1105627469.32164.40.camel@localhost.localdomain> Hello all What would be the easiest way to implement restart scripts, for when a daemon is down, to try to bring it back up? Any pointers greatly appreciated. Thanks. ))fred -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From ovig.degrouard at jouy.inra.fr Thu Jan 13 16:29:32 2005 From: ovig.degrouard at jouy.inra.fr (Ovig Degrouard) Date: Thu, 13 Jan 2005 16:29:32 +0100 Subject: Error: Could not read object configuration data! Message-ID: <41E693DC.70908@jouy.inra.fr> Hello, I have a problem with nagios 2.0a1 running with apache 2.0 on mandrake 10.1. It has been installed with urpmi. There are no errors messages in apache logs. Nagios is running on the server and nrpe on one client. The nagios cfg files seems to be OK. The error message is: Whoops! *Error: Could not read object configuration data!* Here are some things you should check in order to resolve this error: 1. Verify configuration options using the *-v* command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. Thank you, O. Degrouard ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From loyd at cyber.kodak.com Thu Jan 13 16:45:28 2005 From: loyd at cyber.kodak.com (Eric Loyd) Date: Thu, 13 Jan 2005 10:45:28 -0500 Subject: daemon restart scripts In-Reply-To: <1105627469.32164.40.camel@localhost.localdomain> References: <1105627469.32164.40.camel@localhost.localdomain> Message-ID: <41E69798.7010406@cyber.kodak.com> Hard to answer. Here's what we do. Most of our checks are done on remote hosts as active checks that we wrap in an SSH tunnel first. Therefore, we know that on machine X, service Y failed. So our restart script (which is the same script for all event handlers) uses the service name to figure out what the daemon is that failed, SSHs to the remote machine and executes a local copy of itself with parameters that tell it what service failed. Now, the remote machine (still running the same script) knows what to do - the script has logic telling it what steps to take to restart service X, service Y, and service Z. When it finishes, the SSH runnel ends, the restart script on the Nagios box looks at some return codes, populates an Oracle tracking database, and ends execution. End result? All services can be restarted by one modular event handler. If a new service is added that needs a new series of restart steps, then a function is added to the restart script to do the work, and all else just "works." So the answer to your question is: The easiest way to implment restart scripts depends on what you're restarting. :-) Fred Blaise wrote: >Hello all > >What would be the easiest way to implement restart scripts, for when a >daemon is down, to try to bring it back up? > >Any pointers greatly appreciated. > >Thanks. > > ))fred > > -- Eric Loyd loyd at cyber.kodak.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jamie.baddeley at vpc.co.nz Thu Jan 13 19:15:26 2005 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 14 Jan 2005 07:15:26 +1300 Subject: Ping processes piling up? In-Reply-To: <49977F7CEA035C46A2D47108CE0F032F014138@ANGELIA.aegon.com> References: <49977F7CEA035C46A2D47108CE0F032F014138@ANGELIA.aegon.com> Message-ID: <1105640126.2310.5.camel@munter> On Thu, 2005-01-13 at 12:51 +0100, Schmitz, Carsten wrote: > Hi, > > This is not a core Nagios question but I figure some of you using > Nagios might have seen it. > > On my "Red Hat Linux release 7.3 (Valhalla)" box, for some weeks now, > the pings started by Nagios keep piling up, meaning that I have ping > processes running that are several days old. After a while the box > gets slow, and I can't sleep coz I keep having those mysterious dreams > of process table slot limitations. > > Anyone seen this before? > > Is my assumption correct that Nagios pings should die on the same day > they were started (unless ping started 23:59:59 of course ;) > > At the moment all I can do is "killall /bin/ping" every couple of > days, whats the expected impact of this on Nagios? (I'd expect that if > I kill a ping that Nagios currently "looks at" then the service soft > alert gets triggered but since all my services have retry=3 I don't > expect any problems - still don't like to put killall into cron, would > rather have a clean solution). I had a similar problem. I moved to check_icmp. That fixed it. http://oss.op5.se/nagios/ ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Lane.Williams at jhuapl.edu Thu Jan 13 18:39:13 2005 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Thu, 13 Jan 2005 12:39:13 -0500 Subject: Big Brother migration to Nagios Message-ID: Bbnt2ns.pl I believe it is still on the netsaint site...or http://bulldog.tzo.org/netsaint/......... I used it for our VMS servers...worked fine. Lane -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Aaron K. Moore Sent: Thursday, January 13, 2005 8:54 AM To: Steve Shipway; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Big Brother migration to Nagios When I migrated us from BB to Nagios I converted all of my custom service checks to passive Nagios checks that submitted their results via send_nsca to the Nagios server. -- Aaron Kent Moore Information Technology Services DeKalb Memorial Hospital, Inc. Auburn, IN Phone: 260.920.2808 E-mail: amoore at dekalbmemorial.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Steve Shipway Sent: Wednesday, January 12, 2005 3:47 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Big Brother migration to Nagios Hello, everyone... We are currently working to migrate some Big Brother monitored hosts to Nagios. To do this, in the interim, I can set up passive Services with a freshness check that returns 'unknown', and then get the BigBrother status notifications to go to Nagios instead. What I need is a daemon, a bit like NSCA, that receives BigBrother notifications on port 1984 and then sends the appropriate status change to the Nagios command socket. Has anyone written one of those yet, or should I go ahead and do it? In the long term, we'll get pNSclient and NRPE on the hosts, but since those are active checks and BB is passive it will require firewall changes ate which is a long and tedious process. In the interim, using the BB agent with Nagios is the best way to go. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lgetschel at denver.westerngeco.slb.com Thu Jan 13 20:59:36 2005 From: lgetschel at denver.westerngeco.slb.com (Lewis Getschel) Date: Thu, 13 Jan 2005 12:59:36 -0700 Subject: check jboss or tomcat are running In-Reply-To: <359aca410501111611317d32b0@mail.gmail.com> References: <359aca410501111611317d32b0@mail.gmail.com> Message-ID: <41E6D328.1060308@denver.westerngeco.slb.com> Other replies pointed toward checking web pages, or a tcp port. Here is my "plugin" that I run by calling nrpe. I need to check for the presence of 2 daemons for a process hence, 2 if's. I don't have a Warning state for this, it's either working or it's not. This seems to do it. (maybe not very elegantly, At the moment I can't remember WHY I piped it to head, I think that's a leftover from a previous version where I was checking for a combination of output from ps ??? ) FWIW Lewis ----- cut here ---- #!/bin/sh if [ "`ps -ef | grep -v grep | /bin/grep nqsdaemon | /usr/bin/head -n 1 | /bin/awk '{print $9}'`" == "nqsdaemon" ] then if [ "`ps -ef | grep -v grep | /bin/grep netdaemon | /usr/bin/head -n 1 | /bin/awk '{print $9}'`" == "netdaemon" ] then echo OK - NQS is running exit 0 else echo CRITICAL - NQS netdaemon is NOT running exit 2 fi else echo CRITICAL - NQS nqsdaemon is NOT running exit 2 fi ---- cut here ---- S. H. wrote: >Hi everyone, > >I was wondering how would I go about chekcing that JBoss or Tomcat or >any other UNIX/Linux program are running using Nagios (ver 1.2)? >Somehting to do with using NRPE? Sorry i'm a bit new to all this linux >stuff. > >Thanx a alot. > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > > > -- Lewis Getschel | Today is done... WesternGeco | Today was fun... 1625 Broadway | Tommorrow is another one. Denver, CO 80202 | Direct Phone - 303-389-4407| -- Dr. Seuss -- ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Jan 13 21:23:41 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 13 Jan 2005 21:23:41 +0100 Subject: daemon restart scripts In-Reply-To: <41E69798.7010406@cyber.kodak.com> References: <1105627469.32164.40.camel@localhost.localdomain> <41E69798.7010406@cyber.kodak.com> Message-ID: <41E6D8CD.6090408@op5.se> Eric Loyd wrote: > Hard to answer. Here's what we do. > > Most of our checks are done on remote hosts as active checks that we > wrap in an SSH tunnel first. Therefore, we know that on machine X, > service Y failed. So our restart script (which is the same script for > all event handlers) uses the service name to figure out what the daemon > is that failed, SSHs to the remote machine and executes a local copy of > itself with parameters that tell it what service failed. > > Now, the remote machine (still running the same script) knows what to do > - the script has logic telling it what steps to take to restart service > X, service Y, and service Z. When it finishes, the SSH runnel ends, the > restart script on the Nagios box looks at some return codes, populates > an Oracle tracking database, and ends execution. > > End result? All services can be restarted by one modular event > handler. If a new service is added that needs a new series of restart > steps, then a function is added to the restart script to do the work, > and all else just "works." > This would be easier still if the service_description is the same as the name of the init script. > So the answer to your question is: The easiest way to implment restart > scripts depends on what you're restarting. :-) > > > Fred Blaise wrote: > >> Hello all >> >> What would be the easiest way to implement restart scripts, for when a >> daemon is down, to try to bring it back up? >> >> Any pointers greatly appreciated. >> >> Thanks. >> >> ))fred >> >> > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Jan 13 08:13:52 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 13 Jan 2005 08:13:52 +0100 Subject: Problem with the compilation of the Nagios plugins (nagios-plugins-1.4-beta1.tar.gz) In-Reply-To: <41E5439C.7020308@cvf.fr> References: <41E5439C.7020308@cvf.fr> Message-ID: <41E61FB0.7000900@op5.se> Ronan PLANTEC wrote: > I don't find any mailing list for the Nagios plugins so I post here... > Look again. This is a known issue. Download CVS HEAD and compile. > I am using a Debian testing sarge. > I am installing nagios 2.0b with the following plugins . > My problem is that I can't compil the plugins with the make command > although the result of the configure command seems to be OK. > (N.B.: the name of my computer is NMStest). > > ------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > NMStest:/usr/local/src/nagios-plugins-1.4-beta1# ./configure > --prefix=/usr/local/nagios --with-nagios-user=nagios > --with-nagios-group=nagios --with-cgiurl=/nagios/cgi-bin > . > . > . > config.status: creating po/Makefile > --with-cgiurl: /nagios/cgi-bin > --with-nagios-user: nagios > --with-nagios-group: nagios > --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin > --with-ping-command: /bin/ping -n -U -w %d -c %d %s > --with-ping6-command: > --with-lwres: no > --with-ipv6: yes > --with-openssl: no > --enable-emulate-getaddrinfo: no > NMStest:/usr/local/src/nagios-plugins-1.4-beta1# > ------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > > NMStest:/usr/local/src/nagios-plugins-1.4-beta1# make > make all-recursive > make[1]: Entering directory `/usr/local/src/nagios-plugins-1.4-beta1' > Making all in intl > make[2]: Entering directory `/usr/local/src/nagios-plugins-1.4-beta1/intl' > make[2]: Rien ? faire pour ? all ?. > make[2]: Leaving directory `/usr/local/src/nagios-plugins-1.4-beta1/intl' > Making all in lib > make[2]: Entering directory `/usr/local/src/nagios-plugins-1.4-beta1/lib' > make all-am > make[3]: Entering directory `/usr/local/src/nagios-plugins-1.4-beta1/lib' > make[3]: Rien ? faire pour ? all-am ?. > make[3]: Leaving directory `/usr/local/src/nagios-plugins-1.4-beta1/lib' > make[2]: Leaving directory `/usr/local/src/nagios-plugins-1.4-beta1/lib' > Making all in plugins > make[2]: Entering directory > `/usr/local/src/nagios-plugins-1.4-beta1/plugins' > gcc -g -O2 -L. -o check_smtp check_smtp.o netutils.o utils.o > ../lib/libnagiosplug.a ../lib/libcoreutils.a -lnsl -lresolv -I/include > check_smtp.o(.text+0x909): In function `process_arguments': > /usr/local/src/nagios-plugins-1.4-beta1/plugins/check_smtp.c:456: > undefined reference to `terminate' > collect2: ld a retourn? 1 code d'?tat d'ex?cution > make[2]: *** [check_smtp] Erreur 1 > make[2]: Leaving directory > `/usr/local/src/nagios-plugins-1.4-beta1/plugins' > make[1]: *** [all-recursive] Erreur 1 > make[1]: Leaving directory `/usr/local/src/nagios-plugins-1.4-beta1' > make: *** [all] Erreur 2 > NMStest:/usr/local/src/nagios-plugins-1.4-beta1# > ------------------------------------------------------------------------------------------------------------------------------------------------------------------ > > The plugins check_ping, check_disk, check_dhcp etc are recorded in this > directory /usr/local/src/nagios-plugins-1.4-beta1/plugins instead of > /usr/local/nagios/libexec as described in the documentation. > > Does anyone can help me to compil please ? > > Regards > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan_maxwell at hilton.com Thu Jan 13 21:29:50 2005 From: alan_maxwell at hilton.com (Alan Maxwell) Date: Thu, 13 Jan 2005 14:29:50 -0600 Subject: check jboss or tomcat are running In-Reply-To: <41E6D328.1060308@denver.westerngeco.slb.com> References: <359aca410501111611317d32b0@mail.gmail.com> <41E6D328.1060308@denver.westerngeco.slb.com> Message-ID: <1105648190.15978.1.camel@amaxred.hilton.com> There is also a plug-in for this type of situation check_procs use the --help to see the syntax. On Thu, 2005-01-13 at 13:59, Lewis Getschel wrote: > Other replies pointed toward checking web pages, or a tcp port. Here is > my "plugin" that I run by calling nrpe. I need to check for the presence > of 2 daemons for a process hence, 2 if's. I don't have a Warning state > for this, it's either working or it's not. This seems to do it. (maybe > not very elegantly, At the moment I can't remember WHY I piped it to > head, I think that's a leftover from a previous version where I was > checking for a combination of output from ps ??? ) > FWIW > Lewis > > ----- cut here ---- > #!/bin/sh > if [ "`ps -ef | grep -v grep | /bin/grep nqsdaemon | /usr/bin/head -n 1 > | /bin/awk '{print $9}'`" == "nqsdaemon" ] > then > if [ "`ps -ef | grep -v grep | /bin/grep netdaemon | /usr/bin/head > -n 1 | /bin/awk '{print $9}'`" == "netdaemon" ] > then > echo OK - NQS is running > exit 0 > else > echo CRITICAL - NQS netdaemon is NOT running > exit 2 > fi > else > echo CRITICAL - NQS nqsdaemon is NOT running > exit 2 > fi > ---- cut here ---- > > S. H. wrote: > > >Hi everyone, > > > >I was wondering how would I go about chekcing that JBoss or Tomcat or > >any other UNIX/Linux program are running using Nagios (ver 1.2)? > >Somehting to do with using NRPE? Sorry i'm a bit new to all this linux > >stuff. > > > >Thanx a alot. > > > > > >------------------------------------------------------- > >The SF.Net email is sponsored by: Beat the post-holiday blues > >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at 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 > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alan_maxwell at hilton.com Thu Jan 13 20:34:13 2005 From: alan_maxwell at hilton.com (Alan Maxwell) Date: Thu, 13 Jan 2005 13:34:13 -0600 Subject: Can't configure with --status-map Message-ID: <1105644852.8949.24.camel@amaxred.hilton.com> Here is my setup: Solaris 9 using nagios 1.2 I downloaded and installed gd-2.0.33 and it seemed to compile and install fine. I believe the libraries installed into /usr/local/lib. Here is my problem: No matter where I point the configure script for nagios, it complains it can't find the graphics libraries. Any ideas on how to make it work? -------------- next part -------------- An HTML attachment was scrubbed... URL: From scott_yem at agilent.com Thu Jan 13 22:29:31 2005 From: scott_yem at agilent.com (scott_yem at agilent.com) Date: Thu, 13 Jan 2005 13:29:31 -0800 Subject: Can't configure with --status-map Message-ID: <65213341217E8D458E7C78E6640C7495044BFE4C@waglmb01.labs.agilent.com> Check your output from the configure script. I saw this and after finally reading the output, I found I needed the libpng-devel and libjpeg-devel libraries. Scott Yem Research Computing Services Agilent Laboratories _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Alan Maxwell Sent: Thursday, January 13, 2005 11:34 AM To: nagios-list Subject: [Nagios-users] Can't configure with --status-map Here is my setup: Solaris 9 using nagios 1.2 I downloaded and installed gd-2.0.33 and it seemed to compile and install fine. I believe the libraries installed into /usr/local/lib. Here is my problem: No matter where I point the configure script for nagios, it complains it can't find the graphics libraries. Any ideas on how to make it work? -------------- next part -------------- An HTML attachment was scrubbed... URL: From gmueller at netways.de Thu Jan 13 22:20:36 2005 From: gmueller at netways.de (Gerd Mueller) Date: Thu, 13 Jan 2005 22:20:36 +0100 Subject: Announcement: KDE-KickerApplet to Nagios Message-ID: <1105651236.5731.2.camel@localhost> Hi all, since I like our tlight project at netways very much, I wanted a trafficlight on my notebook. My notebook's OS is linux and I am using kde as windowmanager. So I decided to write a kickerapplet. It is a very small and simple applet but for me it is very usefull. I published it under http://www.nagiosexchange.org -> Addon Projects -> Notifications -> KTLight. The applet is my very first KickerApplet and the actual release is the version 0.2. So please regard this version still as alpha even though it 's stable and runing without any problems. Please post every featurerequest as comment to this project on www.nagiosexchange.org. Of course all other comments are welcome as well. Right now there is no documentation for this kickerapplet but it's very simple. All you have to do is right click on it an configure it. "Nagios URL" is used to open a browser Window after left clicking on the applet. Copy the attached index2.html to your Nagios folder and configure it (eg.: http://nagios.foobar.org/nagios/index2.html). "Nagios cgi-bin" is the url to the nagios cgis. So please but something like http://nagios.foobar.org/nagios/cgi-bin/ in. I hope the applet is usefull. Gerd ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Jan 13 16:38:59 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 13 Jan 2005 16:38:59 +0100 Subject: daemon restart scripts In-Reply-To: <1105627469.32164.40.camel@localhost.localdomain> References: <1105627469.32164.40.camel@localhost.localdomain> Message-ID: <41E69613.4040804@op5.se> Fred Blaise wrote: > Hello all > > What would be the easiest way to implement restart scripts, for when a > daemon is down, to try to bring it back up? > Something like this; rm -f daemon.{pid,lock} killall -9 daemon /etc/init.d/daemon start. In plaintext; Remove all pid- and lockfiles. Kill any stragglers. Start the daemon the way it's usually started. > Any pointers greatly appreciated. > > Thanks. > > ))fred -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mklaphek at cedarpath.com Thu Jan 13 22:48:58 2005 From: mklaphek at cedarpath.com (Michael S. Klapheke) Date: Thu, 13 Jan 2005 16:48:58 -0500 Subject: Nagios View Discrepancies Message-ID: <002201c4f9b9$b1530310$8269650a@Network1> Nathan, Thanks for the reply. This has been going on for a little while longer. Hopefully the image below will come through: HOST DETAIL: Host Sort by host name (ascending)Sort by host name (descending) Status Sort by host status (ascending)Sort by host status (descending) Last Check Sort by last check time (ascending)Sort by last check time (descending) Duration Sort by state duration (ascending)Sort by state duration time (descending) Status Information metro-c6506-1 View Service Details For This Host UP 01-11-2005 15:03:45 1d 21h 41m 50s PING OK - Packet loss = 0%, RTA = 0.71 ms scsd-metro-pix-1 View Service Details For This Host UP N/A 1d 20h 0m 50s (null) Service DETAIL: Host Sort by host name (ascending)Sort by host name (descending) Service Sort by service name (ascending)Sort by service name (descending) Status Sort by service status (ascending)Sort by service status (descending) Last Check Sort by last check time (ascending)Sort by last check time (descending) Duration Sort by state duration (ascending)Sort by state duration time (descending) Attempt Sort by current attempt (ascending)Sort by current attempt (descending) Status Information metro-c6506-1 PING OK 01-13-2005 12:43:44 1d 21h 45m 11s 1/3 PING OK - Packet loss = 0%, RTA = 0.75 ms scsd-metro-pix-1 PING OK 01-13-2005 12:44:59 1d 20h 4m 11s 1/3 PING OK - Packet loss = 0%, RTA = 20.41 ms I just don't understand why they're different..any ideas? I tried restarting Nagios and rebooting the Linux machine, but neither one heped. Thanks again. Mike -----Original Message----- From: Nathan Oyler [mailto:noyler at khimetrics.com] Sent: Thursday, January 13, 2005 9:31 AM To: Michael S. Klapheke Subject: RE: [Nagios-users] Nagios View Discrepancies I've seen that once when I restarted a nagios, when a system was down, but when up during the nagios restart. It corrected itself in about a day. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michael S. Klapheke Sent: Thursday, January 13, 2005 7:00 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios View Discrepancies Hi I'm getting differences between the output from the Service Detail Screen and the Host Detail screen for the same host during a ping check. Has anyone else seen this? I'm new to Nagios, and I was wondering if the database may have gotten corrupt? I don't know how to fix this, so any help is appreciated. Also, are there any special requirements for removing a host (other than removing it from the hosts.cfg, services.cfg, etc.) Thanks! Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 73 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 846 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.gif Type: image/gif Size: 848 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.gif Type: image/gif Size: 957 bytes Desc: not available URL: From ae at op5.se Thu Jan 13 13:54:21 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 13 Jan 2005 13:54:21 +0100 Subject: Dependencies - a little confused. In-Reply-To: References: <20050110172846.C4908BA05@www.prhobbies.com> <41E42B68.4060406@Examen.com> <41E5647A.8080909@cyber.kodak.com> Message-ID: <41E66F7D.7080900@op5.se> Leonardo Henrique Machado wrote: > On Wed, 12 Jan 2005 12:55:06 -0500, Eric Loyd wrote: > >> Emmett Hogan wrote: >> Okay...now I am REALLY confused. I do not understand why you would need to >>make all services dependent on a check_ping service when the Nagios >>Documentation states: >> >>"Whenever a service check results in a non-OK status level, Nagios > > will attempt to > check and see if the host that the service is > running on is "alive". Typically this is > done by pinging the host > and seeing if any response is received. If the host check > command > returns a non-OK state, Nagios assumes that there is a problem with > >>the host. In this situation Nagios will "silence" all potential > > alerts for services > >>running on the host and just notify the appropriate contacts that the > > host is down > or unreachable. If the host check command returns an OK > state, Nagios will > >>recognize that the host is alive and will send out an alert for the service that is > > > misbehaving." > > It says "silence alerts" and not "stop all service checks". Isn't it > related just to notifications? > Yes, but host checks aren't normally carried out until a service changes state, so you wouldn't know if the host came back up without actually performing the service checks. Having all services depend on a ping service is a rather good idea. It should save you some trouble later on. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.shipway at auckland.ac.nz Thu Jan 13 21:20:23 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 14 Jan 2005 09:20:23 +1300 Subject: Big Brother migration to Nagios In-Reply-To: References: Message-ID: <000901c4f9ad$4fb44850$01fea8c0@itss.auckland.ac.nz> >Bbnt2ns.pl I believe it is still on the netsaint site...or >http://bulldog.tzo.org/netsaint/......... I used it for our >VMS servers...worked fine. I now have implemented this, and it works well (although I needed to make a few changes to it to support UNIX responses, and generic responses -- email me if you want a copy). Longer term, we'll be converting the custom scripts to send_nsca rather than BB, and replacing the BB agents with NRPE or pNSclient, but that takes change request procedures and firewall modifications so it's a slow process. Anyone who wants more details of how we're making this migration, send me a private email. Thanks to the list for the quick assistance! Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From L.Leung at enspire.com.au Thu Jan 13 22:54:17 2005 From: L.Leung at enspire.com.au (Lydia Leung) Date: Fri, 14 Jan 2005 08:54:17 +1100 Subject: not auhorized to disale check of the service Message-ID: <36CFEC552CCBE44E894C85A79F633B844A85BE@itumailsrv.enspire.local> Yes, I do have .htaccess, and nagiosadmin is one of the user inside. Cheers, Lydia -----Original Message----- From: Stephan Janosch [mailto:Stephan.Janosch at interface-business.de] Sent: Thursday, 13 January 2005 7:19 PM To: Lydia Leung Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] not auhorized to disale check of the service Lydia Leung wrote: > Hi guys, > > > > When I tried to disable check of service, I was told "*Sorry, but you > are not authorized to commit the specified command*.". > > > > I check the cgi.cfg. The username I m using is nagiosadmin. I have got > the below authorization configured. > > *authorized_for_system_commands=nagiosadmin* > > *authorized_for_all_service_commands=nagioadmin* > > *authorized_for_all_host_commands=nagiosadmin* > > > > I also checked the permission of */nagios/sbin*/. And changed all the > .cgi into *777*. > > > > But I still can not commit the command. > > > > Can anyone tell me what happened? > > > > Thanks a lot, > > Lydia > > > As what person you authenticate on the nagios website? Do you have a .htaccess there? ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Jan 13 13:08:18 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 13 Jan 2005 13:08:18 +0100 Subject: Ping processes piling up? In-Reply-To: <49977F7CEA035C46A2D47108CE0F032F014138@ANGELIA.aegon.com> References: <49977F7CEA035C46A2D47108CE0F032F014138@ANGELIA.aegon.com> Message-ID: <41E664B2.3000309@op5.se> Schmitz, Carsten wrote: > Hi, > > This is not a core Nagios question but I figure some of you using > Nagios might have seen it. > > On my "Red Hat Linux release 7.3 (Valhalla)" box, for some weeks now, > the pings started by Nagios keep piling up, meaning that I have ping > processes running that are several days old. After a while the box > gets slow, and I can't sleep coz I keep having those mysterious > dreams of process table slot limitations. > > Anyone seen this before? > > Is my assumption correct that Nagios pings should die on the same day > they were started (unless ping started 23:59:59 of course ;) > Yes, assuming they actually time out, and assuming they can receive signals from the Nagios process or the program parsing the output of the ping program. ping, usually being setsuid, wouldn't normally accept signals, so it would be wise to make sure it receives the -n flag with a parameter, making it die properly when signals are sent. I believe the nagios process might otherwise kill the check_ping plugin, causing the ping program to become an orphan. init (process nr 1) should normally take over those processes and reap (and ignore) their exit statuse every once in a while, but apparently they do not. Do you have any kernel patches in place affecting the wait4 system call, or do you have a non-standard init program? A solution might be to use the check_icmp program, which doesn't fork ping and thus can be killed properly by ist parent process (nagios). > At the moment all I can do is "killall /bin/ping" every couple of > days, whats the expected impact of this on Nagios? (I'd expect that > if I kill a ping that Nagios currently "looks at" then the service > soft alert gets triggered but since all my services have retry=3 I > don't expect any problems - still don't like to put killall into > cron, would rather have a clean solution). > > Thanks, > > ---------------------------------------------------------------------- > Carsten Schmitz System Administrator Group Information Management > Aegon N.V. > ---------------------------------------------------------------------- > "My password is my cat's name. Its called x6>B8e at 7w_4. I rename it > every 30 days." > ---------------------------------------------------------------------- > > > > ------------------------------------------------------- The SF.Net > email is sponsored by: Beat the post-holiday blues Get a FREE limited > edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- > well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ Nagios-users mailing > list Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leonardomachado at gmail.com Fri Jan 14 00:26:44 2005 From: leonardomachado at gmail.com (Leonardo Henrique Machado) Date: Thu, 13 Jan 2005 21:26:44 -0200 Subject: Service Dependencys (2.0b1) In-Reply-To: <1105622949.17376.11.camel@raptor.lenze.com> References: <1105622949.17376.11.camel@raptor.lenze.com> Message-ID: Sorry. I missed "resgister 0". I checked your config many times over and over. I could not find any error. Perhaps nagios is caching service states and, although the web interface shows PENDING, in the internal cache it's "OK". Try deleting all your .{cache,log}and other related files ... Let me know if you solve it. Good luck! On Thu, 13 Jan 2005 14:29:09 +0100, Schimpke, Dr. Thomas / bhn wrote: > Hi Leonardo, > > this is just a template (hence the "register 0"). I use that template in > service dependencies that follow. > > Kind regards, > > Thomas > > On Thu, 2005-01-13 at 13:21, Leonardo Henrique Machado wrote: > > > define servicedependency{ > > > register 0 > > > name dependUponA > > > host_name thisHost > > > dependent_host_name thisHost > > > service_description A > > > execution_failure_criteria u,c,p > > > notification_failure_criteria u,c,p > > > } > > > > According to the documentation, there's no "name" variable in > > servicedependency definition. Why are you using that? Try without it. > > If it still does not work, tell us. > > > > -- > > Leonardo Henrique Machado > > > -- Leonardo Henrique Machado ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From g.vickers at qut.edu.au Fri Jan 14 00:36:37 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Fri, 14 Jan 2005 09:36:37 +1000 Subject: Nagios View Discrepancies In-Reply-To: <002201c4f9b9$b1530310$8269650a@Network1> References: <002201c4f9b9$b1530310$8269650a@Network1> Message-ID: <41E70605.10403@qut.edu.au> Hi Michael From your email you are showing two different things: HOST detail and SERVICE detail. Your HOSTs are being checked with a ping when one of their services goes into a non-OK state. (I'm assuming that's how you've got Nagios configured) So when you look at your HOST status you see the result of the HOST check, i.e. a ping result. In your SERVICE detail, you have a ping SERVICE defined. (Service name "PING") which (unlike a host check) is regularly scheduled. (Host checks are only performed when a service enters a non-OK state.) So. The PING SERVICE on metro-c6506-1 returns a non-OK (i.e. stops responding to pings) THEN the host check is placed into the check queue and is executed later (to confirm host reachability.) Hence you will see two different results from your HOST check (a ping) and your SERVICE check (also a ping) because they get executed at different times. HTH, Greg Michael S. Klapheke wrote: > Nathan, > > Thanks for the reply. This has been going on for a little while > longer. Hopefully the image below will come through: > > HOST DETAIL: > > > > *Host Sort by host name (ascending) > Sort > by host name (descending)* > > > > *Status Sort by host status (ascending)Sort by host status (descending)* > > > > *Last Check Sort by last check time (ascending)Sort by last check time > (descending)* > > > > *Duration Sort by state duration (ascending)Sort by state duration time > (descending)* > > > > *Status Information* > > metro-c6506-1 > > > > View Service Details For This Host > > > > UP > > > > 01-11-2005 15:03:45 > > > > 1d 21h 41m 50s > > > > PING OK - Packet loss = 0%, RTA = 0.71 ms > > scsd-metro-pix-1 > > > > View Service Details For This Host > > > > UP > > > > N/A > > > > 1d 20h 0m 50s > > > > (null) > > > > Service DETAIL: > > *Host Sort by host name (ascending)Sort by host name (descending)* > > > > *Service Sort by service name (ascending)Sort by service name (descending)* > > > > *Status Sort by service status (ascending)Sort by service status > (descending)* > > > > *Last Check Sort by last check time (ascending)Sort by last check time > (descending)* > > > > *Duration Sort by state duration (ascending)Sort by state duration time > (descending)* > > > > *Attempt Sort by current attempt (ascending)Sort by current attempt > (descending)* > > > > *Status Information* > > metro-c6506-1 > > > > > > > > PING > > > > > > > > OK > > > > 01-13-2005 12:43:44 > > > > 1d 21h 45m 11s > > > > 1/3 > > > > PING OK - Packet loss = 0%, RTA = 0.75 ms > > > > > > > > > > > > > > scsd-metro-pix-1 > > > > > > > > PING > > > > > > > > OK > > > > 01-13-2005 12:44:59 > > > > 1d 20h 4m 11s > > > > 1/3 > > > > PING OK - Packet loss = 0%, RTA = 20.41 ms > > > > > > I just don?t understand why they?re different?.any ideas? I tried > restarting Nagios and rebooting the Linux machine, but neither one heped. > > > > Thanks again. > > > > Mike > > -----Original Message----- > *From:* Nathan Oyler [mailto:noyler at khimetrics.com] > *Sent:* Thursday, January 13, 2005 9:31 AM > *To:* Michael S. Klapheke > *Subject:* RE: [Nagios-users] Nagios View Discrepancies > > > > I?ve seen that once when I restarted a nagios, when a system was down, > but when up during the nagios restart. > > > > It corrected itself in about a day. > > > > ------------------------------------------------------------------------ > > *From:* nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] *On Behalf Of *Michael > S. Klapheke > *Sent:* Thursday, January 13, 2005 7:00 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Nagios View Discrepancies > > > > Hi I?m getting differences between the output from the Service Detail > Screen and the Host Detail screen for the same host during a ping > check. Has anyone else seen this? I?m new to Nagios, and I was > wondering if the database may have gotten corrupt? I don?t know how to > fix this, so any help is appreciated. > > > > Also, are there any special requirements for removing a host (other than > removing it from the hosts.cfg, services.cfg, etc.) > > > > Thanks! > > Mike > > > -- Greg Vickers Security Engineer Network Services Information Technology Services Queensland University of Technology email: g.vickers at qut.edu.au phone: (07) 3864 9536 CIROS code: 00213J ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From leonardomachado at gmail.com Fri Jan 14 00:56:59 2005 From: leonardomachado at gmail.com (Leonardo Henrique Machado) Date: Thu, 13 Jan 2005 21:56:59 -0200 Subject: Error: Could not read object configuration data! In-Reply-To: <41E693DC.70908@jouy.inra.fr> References: <41E693DC.70908@jouy.inra.fr> Message-ID: > 1. Verify configuration options using the *-v* command-line option to > check for errors. have you tried step 1? /nagios -v /nagios.cfg What about the variabel main_config_file in cgi.cfg file? What does it say? example: main_config_file=/opt/nagios/etc/nagios.cfg Is yours correct? -- Leonardo Henrique Machado ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan_maxwell at hilton.com Thu Jan 13 23:46:39 2005 From: alan_maxwell at hilton.com (Alan Maxwell) Date: Thu, 13 Jan 2005 16:46:39 -0600 Subject: Can't configure with --status-map In-Reply-To: <1105644852.8949.24.camel@amaxred.hilton.com> References: <1105644852.8949.24.camel@amaxred.hilton.com> Message-ID: <1105656399.15978.7.camel@amaxred.hilton.com> Turns out I had more than one problem but I have solved them. Firstly I went to sunfreeware.com and dowloaded several packages: -rw-r--r-- 1 root other 1184768 Jan 12 16:45 libpng-1.2.8-sol9-sparc-local -rw-r--r-- 1 root other 1104384 Jan 12 16:47 jpeg-6b-sol9-sparc-local -rw-r--r-- 1 root other 2586624 Jan 13 15:45 libiconv-1.8-sol9-sparc-local -rw-r--r-- 1 root other 6503936 Jan 13 15:45 freetype-2.1.7-sol9-sparc-local -rw-r--r-- 1 root other 317440 Jan 13 15:45 zlib-1.2.1-sol9-sparc-local -rw-r--r-- 1 root other 2038272 Jan 13 15:45 gd-2.0.28-sol9-sparc-loc So instead of compiling the gd I installed this package version. (and the other packages too) Once I did that , the second big problem is that BEFORE running configure again, I did a make clean. Then the configure found the gd libraries no problem. On Thu, 2005-01-13 at 13:34, Alan Maxwell wrote: > Here is my setup: > Solaris 9 > using nagios 1.2 > I downloaded and installed gd-2.0.33 and it seemed to compile and > install fine. > I believe the libraries installed into /usr/local/lib. > > Here is my problem: > No matter where I point the configure script for nagios, it complains > it can't find the graphics libraries. > > Any ideas on how to make it work? > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rdrake at stayonline.net Fri Jan 14 03:08:09 2005 From: rdrake at stayonline.net (Robert Drake) Date: Thu, 13 Jan 2005 21:08:09 -0500 Subject: nagios 2.0b1 Message-ID: <20050114020809.GG6020@ipsek.net> Hey, I'm running the CVS version and I've had a couple of weird problems recently. Some I think I've worked out (I'll find out tomorrow when I look at whats down again) but in other cases I don't know whats causing it. #1. This one isn't a problem really, but just a question. In the old versions of nagios the daemon didn't have to be running for you to pull status info. It was usually a good idea to have it running, but if it went down for a few minutes nobody would notice. Now we get a message that says "Error: Could not read host and service status information!" Which is good, but what happens if you want to move the webpages to another server? It seems like people used to do that for better web performance. I was thinking about creating a 128Mb ramdrive on another host and scp'ing the current data onto the webserver every 5 minutes. Now I'm not sure that works anymore. #2. The second problem we're having is that every few minutes the web cgi's will error out for some reason, showing the user an "Internal server error" page. Checking the apache logs shows this: [Thu Jan 13 20:01:57 2005] [error] [client 63.173.114.141] Premature end of script headers: /usr/local/nagios/sbin/status.cgi I don't think this started happening until I started using the nagios-db NEB module, but that may be coincidence since they shouldn't really be related. Please let me know if you want configs, or more information (I've been tweaking performance stuff in the configs for the last few days trying to get nagios to run on schedule, so things might be screwed up in there anyway :) Thanks, Robert -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From leonardomachado at gmail.com Fri Jan 14 00:47:28 2005 From: leonardomachado at gmail.com (Leonardo Henrique Machado) Date: Thu, 13 Jan 2005 21:47:28 -0200 Subject: not auhorized to disale check of the service In-Reply-To: <41E62EFF.4070609@interface-business.de> References: <36CFEC552CCBE44E894C85A79F633B844A85A0@itumailsrv.enspire.local> <41E62EFF.4070609@interface-business.de> Message-ID: What does your web server says about that? Show me the last lines of your webserver's log just after a failure logon. Checking the logs we will be able to tell if it's a wrong permisison on directory, error in authentications, or just mispelling in .htacces. -- Leonardo Henrique Machado ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From don.alfredo at pandora.be Fri Jan 14 00:53:14 2005 From: don.alfredo at pandora.be (Don Alfredo) Date: Fri, 14 Jan 2005 00:53:14 +0100 Subject: setup yaps In-Reply-To: <268E9CA2-5A55-11D9-A18A-000A95864E06@pancentric.com> References: <268E9CA2-5A55-11D9-A18A-000A95864E06@pancentric.com> Message-ID: <200501140053.14564.don.alfredo@pandora.be> we are using gnokii with a nokia , serial connected ; the checkcommands are below (put it somewhere in your checkcommands.cfg or mischecks.cfg) we have troubles with overly long output lines, for example the complete text of an windows-eventlog entry (SMS protocol is limited to 160 characters) ; "cutting" the output to 160 chars seems not to give the expected result, i suspect a limitation of output chars within nagios itself ? - . If there is an overly long output, the SMS is never sent, gnokii is not even called. This is why the output is kept short in these commands; ---------- # 'notify-by-gnokii' command definition define command{ command_name notify-by-gnokii command_line /usr/bin/printf "%b" "** Nagios **\nHost: $HOSTALIAS$\n$SERVICEDESC$ is: $SERVICESTATE$\n$DATETIME$" | /usr/bin/gnokii --sendsms $CONTACTPAGER$ --long 160 2 > /dev/null } # 'notify-by-gnokii' command definition #define command{ # command_name notify-by-gnokii # command_line /usr/bin/printf "$OUTPUT$" | /usr/bin/gnokii --sendsms $CONTACTPAGER$ 2 > /dev/null # } # 'host-notify-by-gnokii' command definition define command{ command_name host-notify-by-gnokii command_line /usr/bin/printf "%b" "** Nagios ** \nHost: $HOSTALIAS$ is $HOSTSTATE$\n$DATETIME$" | /usr/bin/gnokii --sendsms $CONTACTPAGER$ 2 > /dev/null } ############ Use these to DEBUG Gnokii ############## ##################################################### # 'notify-by-gnokii' command definition #define command{ # command_name notify-by-gnokii # command_line /usr/bin/printf "TEST-From-Nagios" | /usr/bin/gnokii --sendsms $CONTACTPAGER$ 2 > /dev/null # } # 'host-notify-by-gnokii' command definition #define command{ # command_name host-notify-by-gnokii # command_line /usr/bin/printf "TEST-From-Nagios" | /usr/bin/gnokii --sendsms $CONTACTPAGER$ 2 > /dev/null # } -------------------- On Thursday 30 December 2004 12:22, Gabriel Granger wrote: > Hi All, > > I'm wanting to setup Nagios to send out sms via my nokia mobile which > is connected via serial. I've installed yaps, but cant find much > information about setting it up for talking to a mobile via serial. > Does anyone know how to go about setting this up easily? > > Many thanks for your help, > > --- > Merry Christmas & Happy new year > > Gabe Granger > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Juliet_Tree at cotyinc.com Fri Jan 14 02:00:22 2005 From: Juliet_Tree at cotyinc.com (Juliet_Tree at cotyinc.com) Date: Fri, 14 Jan 2005 01:00:22 +0000 Subject: Juliet Tree/ASHFORD/UK/COTY is out of the office. Message-ID: I will be out of the office starting 13/01/2005 and will not return until 17/01/2005. I am away so please contact Paul Seal on 2261 for any urgent issues. Thankyou Thanks. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bench at silentmedia.com Fri Jan 14 03:48:46 2005 From: bench at silentmedia.com (Ben) Date: Thu, 13 Jan 2005 18:48:46 -0800 (PST) Subject: nagios 2.0b1 In-Reply-To: <20050114020809.GG6020@ipsek.net> References: <20050114020809.GG6020@ipsek.net> Message-ID: Well, if your database server you're using is underpowered, it may be that the NEB status callbacks are taking a long time and somehow holding up nagios processing of the status file, which the CGIs read.... so maybe that's something to look at? On Thu, 13 Jan 2005, Robert Drake wrote: > Hey, > > I'm running the CVS version and I've had a couple of weird problems > recently. > > Some I think I've worked out (I'll find out tomorrow when I look at > whats down again) but in other cases I don't know whats causing it. > > #1. This one isn't a problem really, but just a question. In the old > versions of nagios the daemon didn't have to be running for you to pull > status info. It was usually a good idea to have it running, but if it > went down for a few minutes nobody would notice. > > Now we get a message that says "Error: Could not read host and service > status information!" > > Which is good, but what happens if you want to move the webpages to > another server? It seems like people used to do that for better web > performance. I was thinking about creating a 128Mb ramdrive on another > host and scp'ing the current data onto the webserver every 5 minutes. > Now I'm not sure that works anymore. > > #2. The second problem we're having is that every few minutes the > web cgi's will error out for some reason, showing the user an "Internal > server error" page. > > Checking the apache logs shows this: > > [Thu Jan 13 20:01:57 2005] [error] [client 63.173.114.141] Premature end > of script headers: /usr/local/nagios/sbin/status.cgi > > > I don't think this started happening until I started using the nagios-db > NEB module, but that may be coincidence since they shouldn't really be > related. > > Please let me know if you want configs, or more information (I've been > tweaking performance stuff in the configs for the last few days trying > to get nagios to run on schedule, so things might be screwed up in there > anyway :) > > Thanks, > Robert > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jkanimea at itc.gov.fj Fri Jan 14 05:47:23 2005 From: jkanimea at itc.gov.fj (Jack A. Kanimea) Date: Fri, 14 Jan 2005 16:47:23 +1200 Subject: Help on Nagios Installation Message-ID: <215C20B52BAEB9439EF08A32483AE9DCD45861@suvxch02.govnet.local> Help, Am new to this install of nmis. After download and install the configuration files. When I type /usr/local/nagios/bin/nagios -v nagios.cfg Total Warnings: 2 Total Errors: 8 Error: Service notification command 'notify-by-email' specified for contact 'customer' is not defined anywhere! Error: Host notification command 'host-notify-by-email' specified for contact 'customer' is not defined anywhere! Question? Have check the notify-by-email commands but I can't find it in /bin all I have done copied the default definition sample example. Do I have created this notify-by-email script files Any help is greatly appreciated thanks Jack K ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Anthony.Caetano at t-systems.co.za Fri Jan 14 08:51:54 2005 From: Anthony.Caetano at t-systems.co.za (Anthony.Caetano at t-systems.co.za) Date: Fri, 14 Jan 2005 09:51:54 +0200 Subject: heads up on freshness checking and your check_period Message-ID: Hi I have spent upwards of 4 hours trying to get freshness checking working in Nagios 2.0b1. So I am just posting this so it is in the archives. The nagios documentation says to set for the service you passively monitor active_checks_enabled 0 The documentation doesn't make mention of the check_period... I had set my check period to none since there would be no checks. Contrary to the docs I set active_checks_enabled to 1 in an attempt to avoid all the "red" for disabled services. (This is also recommended by the naplax.sf.net REL package which i was using for the passive checks) active_checks_enabled 1 check_period none No freshness checks were done, ever. I later saw that the Nagios documentation says to disable active checks. So I then had this active_checks_enabled 0 check_period none No freshness checks were done, ever. Only after looking at the code did i see in check.c /* see if the time is right... */ if(check_time_against_period(current_time,temp_service->check_period)==ERROR) continue; So basically you MUST set the equivalent of check_period 24x7 Otherwise the actual freshness check on that service is aborted. cheers -ant ************ Any views expressed in this message are those of the individual sender and not necessarily that of T-Systems South Africa (Pty) Ltd, its directors or employees, and accordingly no liability can be accepted therefore. Although this message has been scanned for the possible presence of computer viruses prior to dispatch, T-Systems South Africa (Pty) Ltd cannot be held responsible for the transmission of any virus or other material transmitted with, or part of, this message. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mnadir at sympatico.ca Fri Jan 14 06:55:15 2005 From: mnadir at sympatico.ca (Mark Nadir) Date: Fri, 14 Jan 2005 00:55:15 -0500 Subject: Error: Could not read object configuration data! In-Reply-To: <41E693DC.70908@jouy.inra.fr> References: <41E693DC.70908@jouy.inra.fr> Message-ID: <41E75EC3.4040609@sympatico.ca> My suggestion would be to do exactly what the error message says and run a verification check on your nagios configuration by running /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg {assuming that you installed in the default location} Once that is done, look at the output of the error message and drop it here if needed. Mark Nadir. Ovig Degrouard wrote: > Hello, > > I have a problem with nagios 2.0a1 running with apache 2.0 on mandrake > 10.1. > It has been installed with urpmi. There are no errors messages in > apache logs. > Nagios is running on the server and nrpe on one client. The nagios cfg > files seems to be OK. > The error message is: > > > Whoops! > > *Error: Could not read object configuration data!* > > Here are some things you should check in order to resolve this error: > > 1. Verify configuration options using the *-v* command-line option to > check for errors. > 2. Check the Nagios log file for messages relating to startup or > status data errors. > 3. Make sure you've compiled the main program and the CGIs to use the > same object data storage options (i.e. default text file or > template-based file). > > Make sure you read the documentation on installing, configuring and > running Nagios thoroughly before continuing. If all else fails, try > sending a message to one of the mailing lists. More information can be > found at http://www.nagios.org. > > > Thank you, > > O. Degrouard > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ovig.degrouard at jouy.inra.fr Fri Jan 14 10:18:39 2005 From: ovig.degrouard at jouy.inra.fr (Ovig Degrouard) Date: Fri, 14 Jan 2005 10:18:39 +0100 Subject: Error: Could not read object configuration data! In-Reply-To: References: <41E693DC.70908@jouy.inra.fr> Message-ID: <41E78E6F.2040102@jouy.inra.fr> Leonardo Henrique Machado wrote: >> 1. Verify configuration options using the *-v* command-line option to >> check for errors. >> >> > >have you tried step 1? > >/nagios -v /nagios.cfg > > I have no problems with the step 1: Nagios 2.0a1 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 11-18-2003 License: GPL [ . . . ] Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check >What about the variabel main_config_file in cgi.cfg file? What does it say? > >example: main_config_file=/opt/nagios/etc/nagios.cfg > >Is yours correct? > > The variable main_config_file is OK. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carsten.Schmitz at aegon.com Fri Jan 14 10:48:52 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Fri, 14 Jan 2005 10:48:52 +0100 Subject: Help on Nagios Installation Message-ID: <49977F7CEA035C46A2D47108CE0F032F014141@ANGELIA.aegon.com> Hi, check /etc/misccommands.cfg for 'notify-by-email' and 'host-notify-by-email'. Works like this: contacts.cfg defines command name being used ---> found with that name in misccommands.cfg ---> points to the mailing binary You either need to change contacts.cfg so it uses a valid command as found in misccommands.cfg, or add 'notify-by-email' (and the host one, too) to misccommands.cfg. For your convinience, you can add this to misccommands.cfg: # 'notify-by-email' command definition 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: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } # '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: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } (Above is from Nagios 1.2 example files, should work for 2.x I guess) Cheers Carsten -- My password is my cat's name. Its called x6>B8e at 7w_4. I rename it every 30 days. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jack A. Kanimea Sent: Friday, January 14, 2005 5:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help on Nagios Installation Help, Am new to this install of nmis. After download and install the configuration files. When I type /usr/local/nagios/bin/nagios -v nagios.cfg Total Warnings: 2 Total Errors: 8 Error: Service notification command 'notify-by-email' specified for contact 'customer' is not defined anywhere! Error: Host notification command 'host-notify-by-email' specified for contact 'customer' is not defined anywhere! Question? Have check the notify-by-email commands but I can't find it in /bin all I have done copied the default definition sample example. Do I have created this notify-by-email script files Any help is greatly appreciated thanks Jack K ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gmueller at netways.de Fri Jan 14 09:44:54 2005 From: gmueller at netways.de (Gerd Mueller) Date: Fri, 14 Jan 2005 09:44:54 +0100 (CET) Subject: daemon restart scripts In-Reply-To: <1105627469.32164.40.camel@localhost.localdomain> References: <1105627469.32164.40.camel@localhost.localdomain> Message-ID: <20050114084454.466EB4F4002@desire.netways.de> Hi Fred search for "Event Handlers" inside the documentation. - Gerd Mueller (Gerd.Mueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=1336 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carsten.Schmitz at aegon.com Fri Jan 14 11:01:11 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Fri, 14 Jan 2005 11:01:11 +0100 Subject: Ping processes piling up? Message-ID: <49977F7CEA035C46A2D47108CE0F032F014142@ANGELIA.aegon.com> > Do you have any kernel patches in place affecting the wait4 system call, > or do you have a non-standard init program? Nope, nothing special. Just plain RedHat kernel and init, and on that box only "official" patches that came with RedHats "up2date". I'll give check_icmp a try. Many thanks, Carsten -- My password is my cat's name. Its called x6>B8e at 7w_4. I rename it every 30 days. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Andreas Ericsson Sent: Thursday, January 13, 2005 1:08 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Ping processes piling up? Schmitz, Carsten wrote: > Hi, > > This is not a core Nagios question but I figure some of you using > Nagios might have seen it. > > On my "Red Hat Linux release 7.3 (Valhalla)" box, for some weeks now, > the pings started by Nagios keep piling up, meaning that I have ping > processes running that are several days old. After a while the box > gets slow, and I can't sleep coz I keep having those mysterious > dreams of process table slot limitations. > > Anyone seen this before? > > Is my assumption correct that Nagios pings should die on the same day > they were started (unless ping started 23:59:59 of course ;) > Yes, assuming they actually time out, and assuming they can receive signals from the Nagios process or the program parsing the output of the ping program. ping, usually being setsuid, wouldn't normally accept signals, so it would be wise to make sure it receives the -n flag with a parameter, making it die properly when signals are sent. I believe the nagios process might otherwise kill the check_ping plugin, causing the ping program to become an orphan. init (process nr 1) should normally take over those processes and reap (and ignore) their exit statuse every once in a while, but apparently they do not. Do you have any kernel patches in place affecting the wait4 system call, or do you have a non-standard init program? A solution might be to use the check_icmp program, which doesn't fork ping and thus can be killed properly by ist parent process (nagios). > At the moment all I can do is "killall /bin/ping" every couple of > days, whats the expected impact of this on Nagios? (I'd expect that > if I kill a ping that Nagios currently "looks at" then the service > soft alert gets triggered but since all my services have retry=3 I > don't expect any problems - still don't like to put killall into > cron, would rather have a clean solution). > > Thanks, > > ---------------------------------------------------------------------- > Carsten Schmitz System Administrator Group Information Management > Aegon N.V. > ---------------------------------------------------------------------- > "My password is my cat's name. Its called x6>B8e at 7w_4. I rename it > every 30 days." > ---------------------------------------------------------------------- > > > > ------------------------------------------------------- The SF.Net > email is sponsored by: Beat the post-holiday blues Get a FREE limited > edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- > well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ Nagios-users mailing > list Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From richard.luys at vanderlet.nl Fri Jan 14 15:02:30 2005 From: richard.luys at vanderlet.nl (Richard Luys) Date: Fri, 14 Jan 2005 15:02:30 +0100 Subject: Progress and MS-SQL monitoring Message-ID: Hi All, It's been a while since I read the posts on this list, and do not have time to check them all now, so forgive me if this is already asked... We need to monitor Progress and MS-SQL databases on a short notice, but we could not find any check-scripts for this. Is anybody aware of scripts that check these databases? Is somebody working on them? Please let me know if there is a solution already for this, or if we have to start from scratch. If the latter, I make sure the scripts become available for the community! Kind regards, Richard Luys ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gebhardt at hrz.uni-marburg.de Fri Jan 14 14:35:02 2005 From: gebhardt at hrz.uni-marburg.de (Gebhardt Thomas) Date: Fri, 14 Jan 2005 14:35:02 +0100 Subject: Announcement: KDE-KickerApplet to Nagios In-Reply-To: <1105651236.5731.2.camel@localhost> References: <1105651236.5731.2.camel@localhost> Message-ID: <200501141435.03432.gebhardt@hrz.uni-marburg.de> Hi, just tried to get ktlight running. But here the "light" is just a blank area (just occasionally becoming green) and the tooltip always says "everything is in order" even if there is an alert. Probably I somehow missed index2.html (configured index.html instead) > Copy the attached index2.html to your Nagios folder and configure it There is no attachment within your mail. Maybe the mailing list software has stripped it off? Cheers, Thomas ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mklaphek at cedarpath.com Fri Jan 14 15:58:50 2005 From: mklaphek at cedarpath.com (Michael S. Klapheke) Date: Fri, 14 Jan 2005 09:58:50 -0500 Subject: Nagios Plugin help In-Reply-To: <200501140053.14564.don.alfredo@pandora.be> References: <200501140053.14564.don.alfredo@pandora.be> Message-ID: <001501c4fa49$92fb5d00$8269650a@Network1> Hi. I'm sure that this is posted, but I searched through the archives and couldn't find anything relevant. Many of the plugins seem to work; however, a few that I'm interested in (check_ifstatus and check_ifoperstatus) won't compile. They seem to stop at the following line: use Net::SNMP. I also get the following error: Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/lib/perl5/5.8.0/i386-linux-th read-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_pe rl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/ven dor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at ./check_ifstatus line 39. BEGIN failed--compilation aborted at ./check_ifstatus line 39. I'm sure this is something simple I need to do...any help is appreciated. Thanks! Mike ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gmueller at netways.de Fri Jan 14 16:13:14 2005 From: gmueller at netways.de (Gerd Mueller) Date: Fri, 14 Jan 2005 16:13:14 +0100 (CET) Subject: Progress and MS-SQL monitoring In-Reply-To: References: Message-ID: <20050114151314.5EA164F4002@desire.netways.de> Hi Richard please check this: http://www.nagios.org/faqs/viewfaq.php?faq_id=156 and check_pgsql inside the plugin package - Gerd Mueller (Gerd.Mueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=1382 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gmueller at netways.de Fri Jan 14 15:00:05 2005 From: gmueller at netways.de (Gerd Mueller) Date: Fri, 14 Jan 2005 15:00:05 +0100 Subject: Announcement: KDE-KickerApplet to Nagios In-Reply-To: <200501141435.03432.gebhardt@hrz.uni-marburg.de> References: <1105651236.5731.2.camel@localhost> <200501141435.03432.gebhardt@hrz.uni-marburg.de> Message-ID: <1105711205.5497.36.camel@localhost> Hi Thomas, thank you for giving it a try :-). For me and a few other guys it works, so I guess the configuration of your cgi-bin path is not right. Please click on the green area with the 3 mouse button (in the middle). Than you should see the page (without &embedded=1) my applet checks.So please have a look at it. Also please keep in mind that the applet does not alert acknowledged or soft alerts by default. You can switch on soft and acknowledged alerts over the configuration. If there are further questions or problems do not hesitate to mail me. Cheers, Gerd Am Fr, den 14.01.2005 schrieb Gebhardt Thomas um 14:35: > Hi, > > just tried to get ktlight running. But here the "light" is just a blank area > (just occasionally becoming green) and the tooltip always says "everything > is in order" even if there is an alert. > > Probably I somehow missed index2.html (configured index.html instead) > > Copy the attached index2.html to your Nagios folder and configure it > There is no attachment within your mail. Maybe the mailing list software > has stripped it off? > > Cheers, Thomas ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Fri Jan 14 16:35:10 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 14 Jan 2005 16:35:10 +0100 Subject: Progress and MS-SQL monitoring In-Reply-To: References: Message-ID: <41E7E6AE.4050406@op5.se> Richard Luys wrote: > > We need to monitor Progress and MS-SQL databases on a short notice, but > we could not find any check-scripts for this. Is anybody aware of > scripts that check these databases? Is somebody working on them? > Check in the contrib section. Manual hacking might be required. You will need the freetds libs and a bunch of perl modules or the tsql binary, but you should find at least two plugins that can check MSSQL (it shamelessly uses the tabular datastream protocol, so you will be able to check sybase servers with the same plugin). I've never heard of a Progress database server before. Sounds like ripoff of the well-known and much-loved Postgres if you ask me. check_pgsql is included in the standard plugin distribution. You need the postgres development files (headers) as well as the shared (or static) client libraries installed for the plugin distribution to find it. > Please let me know if there is a solution already for this, or if we > have to start from scratch. > > If the latter, I make sure the scripts become available for the community! > > > Kind regards, > Richard Luys > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Fri Jan 14 16:36:17 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 14 Jan 2005 16:36:17 +0100 Subject: Nagios Plugin help In-Reply-To: <001501c4fa49$92fb5d00$8269650a@Network1> References: <001501c4fa49$92fb5d00$8269650a@Network1> Message-ID: <41E7E6F1.3080201@op5.se> Michael S. Klapheke wrote: > Hi. I'm sure that this is posted, but I searched through the archives and > couldn't find anything relevant. Many of the plugins seem to work; however, > a few that I'm interested in (check_ifstatus and check_ifoperstatus) won't > compile. They seem to stop at the following line: use Net::SNMP. > > I also get the following error: > > Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec > /usr/lib/perl5/5.8.0/i386-linux-th > read-multi /usr/lib/perl5/5.8.0 > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/site_pe > rl/5.8.0 /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/ven > dor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at ./check_ifstatus line 39. > BEGIN failed--compilation aborted at ./check_ifstatus line 39. > > I'm sure this is something simple I need to do...any help is appreciated. > Install the Net::SNMP perl modules, and use the 'man' and 'info' commands every once in a while. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ryan.suarez at sheridanc.on.ca Fri Jan 14 15:22:35 2005 From: ryan.suarez at sheridanc.on.ca (Ryan Suarez) Date: Fri, 14 Jan 2005 09:22:35 -0500 Subject: Displaying a different status info for a service check Message-ID: <41E7D5AB.3070106@sheridanc.on.ca> Greetings list, We are using nagios 2.0b1 on debian linux. I use check_snmp to check the status of a printer. It returns 'idle', 'printing', or 'other'. These results are displayed in the 'status information' column. Can we substitute another message in 'status information' for this service? The service goes to critical if the result is 'other'. But that's not very useful information. Instead, I would like to display the reason. regards, Ryan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ryan.suarez at sheridanc.on.ca Fri Jan 14 16:50:18 2005 From: ryan.suarez at sheridanc.on.ca (Ryan Suarez) Date: Fri, 14 Jan 2005 10:50:18 -0500 Subject: Displaying a different status info for a service check In-Reply-To: <1105715104.5497.44.camel@localhost> References: <41E7D5AB.3070106@sheridanc.on.ca> <1105715104.5497.44.camel@localhost> Message-ID: <41E7EA3A.40301@sheridanc.on.ca> Hi Gerd, Thanks for the reply. check_snmp -H $HOSTADDRESS$ -o HOST-RESOURCES-MIB::hrPrinterStatus.1 -r "(idle|printing)" This checks if the printer is ready for printing. The printer will return 'idle', 'printing', or 'other'. But ,in the status info on the web interface, I would like to display the results of this instead: snmpwalk -v1 -c public -Ov $host mib-2.43.16.5.1.2.1 This shows whats on on the printers display. So for example, if the service check goes to critical with 'other', the status info will show 'Toner Low' or 'Paper Jam', 'Hardware Error', etc... thanks, Ryan Gerd Mueller wrote: >Hi Ryan, > >could you please mail us the definition of your check command. I believe >'idle','printing' or 'other' returns is getting check_snmp directly from >your printer... > >Thank you > >Gerd > >Am Fr, den 14.01.2005 schrieb Ryan Suarez um 15:22: > > >>Greetings list, >> >>We are using nagios 2.0b1 on debian linux. >> >>I use check_snmp to check the status of a printer. It returns 'idle', >>'printing', or 'other'. These results are displayed in the 'status >>information' column. >> >>Can we substitute another message in 'status information' for this service? >> >>The service goes to critical if the result is 'other'. But that's not >>very useful information. Instead, I would like to display the reason. >> >>regards, >>Ryan >> >> >>------------------------------------------------------- >>The SF.Net email is sponsored by: Beat the post-holiday blues >>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at 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 >> >> >Mit freundlichen Gr??en aus N?rnberg, > >Gerd M?ller > > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Stephan.Janosch at interface-business.de Fri Jan 14 16:43:08 2005 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Fri, 14 Jan 2005 16:43:08 +0100 Subject: Nagios Plugin help In-Reply-To: <001501c4fa49$92fb5d00$8269650a@Network1> References: <001501c4fa49$92fb5d00$8269650a@Network1> Message-ID: <41E7E88C.9020109@interface-business.de> Michael S. Klapheke wrote: > Hi. I'm sure that this is posted, but I searched through the archives and > couldn't find anything relevant. Many of the plugins seem to work; however, > a few that I'm interested in (check_ifstatus and check_ifoperstatus) won't > compile. They seem to stop at the following line: use Net::SNMP. > > I also get the following error: > > Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec > /usr/lib/perl5/5.8.0/i386-linux-th > read-multi /usr/lib/perl5/5.8.0 > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/site_pe > rl/5.8.0 /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/ven > dor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at ./check_ifstatus line 39. > BEGIN failed--compilation aborted at ./check_ifstatus line 39. > > I'm sure this is something simple I need to do...any help is appreciated. > > Thanks! > > Mike > > > You need to install the snmp module of perl. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gebhardt at hrz.uni-marburg.de Fri Jan 14 17:25:49 2005 From: gebhardt at hrz.uni-marburg.de (Gebhardt Thomas) Date: Fri, 14 Jan 2005 17:25:49 +0100 Subject: Announcement: KDE-KickerApplet to Nagios In-Reply-To: <1105717390.5482.5.camel@localhost> References: <1105651236.5731.2.camel@localhost> <200501141620.28808.gebhardt@hrz.uni-marburg.de> <1105717390.5482.5.camel@localhost> Message-ID: <200501141725.49974.gebhardt@hrz.uni-marburg.de> Hi, > I updated the source on nagiosexchange.org. Now this little applet will > recognize if it failed to fetch a status page and turn the "light" into > orange (unknown state). But I think that's not your problem - which the > working 3rd mousebutton demonstrates. I never heard from this turning > into grey problem :-( Maybe it's caused by your screensaver. Did you > restart kde after installing? Which kde version are you using? > > If you believe there is an error, but ktlight does not show it right, > please check if the problem is already acknowledged or still in soft > state or change ktlight config :-) thanks you for your help! I got the "grey problem" now: I've enabled the panel transparency option. This wipes out the ktlight area. Thinking of that I'd already disabled that option (and pressed "APPLY" ) but did not restart the kicker panel. Now I restarted the panel and I get a colored area (orange or green). The second problem remains, however. There is a service in critical (hard) state that is not ackowledged. I configured "All" in the "View" menu and unchecked the hide buttons there. But klight stays green. (BTW: I:m running KDE 3.3.1 on debian sarge) Have a nice weekend! Cheers, Thomas ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gmueller at netways.de Fri Jan 14 16:05:04 2005 From: gmueller at netways.de (Gerd Mueller) Date: Fri, 14 Jan 2005 16:05:04 +0100 Subject: Displaying a different status info for a service check In-Reply-To: <41E7D5AB.3070106@sheridanc.on.ca> References: <41E7D5AB.3070106@sheridanc.on.ca> Message-ID: <1105715104.5497.44.camel@localhost> Hi Ryan, could you please mail us the definition of your check command. I believe 'idle','printing' or 'other' returns is getting check_snmp directly from your printer... Thank you Gerd Am Fr, den 14.01.2005 schrieb Ryan Suarez um 15:22: > Greetings list, > > We are using nagios 2.0b1 on debian linux. > > I use check_snmp to check the status of a printer. It returns 'idle', > 'printing', or 'other'. These results are displayed in the 'status > information' column. > > Can we substitute another message in 'status information' for this service? > > The service goes to critical if the result is 'other'. But that's not > very useful information. Instead, I would like to display the reason. > > regards, > Ryan > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 Mit freundlichen Gr??en aus N?rnberg, Gerd M?ller -- Gerd M?ller NETWAYS GmbH Senior Systems Engineer Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-33 gmueller at netways.de http://www.netways.de ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mscandian at FreeBSDBrasil.Com.Br Fri Jan 14 17:41:15 2005 From: mscandian at FreeBSDBrasil.Com.Br (Mario Sergio Candian) Date: Fri, 14 Jan 2005 14:41:15 -0200 (BRST) Subject: Problem with check radius Message-ID: <20050114143251.R466@cyberdine.freebsdbrasil.com.br> Hi list, I have a FreeBSD box, with Nagios installed. I configured it, and its work fine. I need to monitor my radius. In my checkcommands.cfg I put this: # 'check_radius' command definition define command{ command_name check_radius command_line $USER1$/check_udp -H $HOSTADDRESS$ -p 1645 } # 'check_radius_account' command definition define command{ command_name check_radius_account command_line $USER1$/check_udp -H $HOSTADDRESS$ -p 1646 But, I get this error message: (root at firewall)~# /usr/local/libexec/nagios/check_udp -H localhost -p 1645 No data was recieved from host! No response from host on port 1645 Exit 2 And I have the radius working in my box. Is this command wrong? What can I do to fix it? All the services that the nagios monitor is fine, except the radius. Thanks for all. Mario Sergio - "Dreams as if you'll live forever. Live as if you'll die today" -- James Dean ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ovig.degrouard at jouy.inra.fr Fri Jan 14 17:49:10 2005 From: ovig.degrouard at jouy.inra.fr (Ovig Degrouard) Date: Fri, 14 Jan 2005 17:49:10 +0100 Subject: PROBLEME SOLVED Re: Error: Could not read object configuration data! In-Reply-To: <41E7EEEA.7040302@op5.se> References: <41E693DC.70908@jouy.inra.fr> <41E75EC3.4040609@sympatico.ca> <41E7E6FF.1040902@jouy.inra.fr> <41E7EEEA.7040302@op5.se> Message-ID: <41E7F806.50403@jouy.inra.fr> Thank you for all your answers! I've found and solved the problem. I hadn't got the good rights for objects.cache. O. Degrouard Andreas Ericsson wrote: > Ovig Degrouard wrote: > >> The return of syntax chekc is ok. There is no erros. >> Now i've build a new nagios from CVS tarball (2.0b1) >> >> I ve exactly the same error when i try to execute one CGI as status.cgi >> >> >> >> >> Error: Could not read object configuration data! >> >> Here are some things you should check in order to resolve this error: >> >> 1. Verify configuration options using the -v command-line option to >> check for errors. >> 2. Check the Nagios log file for messages relating to startup or >> status >> data errors. >> 3. Make sure you've compiled the main program and the CGIs to use the >> same object data storage options (i.e. default text file or >> template-based >> file). >> >> > > su - thewebuserofyoursystem > cd ~nagios > cat var/objects.cache > > Read error message and take appropriate actions. > >> >> >> Step 1 is ok : no errors un cfg files >> Step 2 : Some error mesg about services not configured. >> [1105715151] SERVICE ALERT: localhost;HTTPS;CRITICAL;HARD;1;Connection >> refused >> [1105715271] SERVICE ALERT: localhost;HTTPS;WARNING;HARD;1;HTTP WARNING: >> HTTP/1.1 403 Forbidden >> >> >> >> But i don't think this is the problem. >> >> I think the problem was about access to the "object data storage": >> right, >> location or maybe suexec ... >> >> So i've another question: >> - Where nagios store the results of information collect ? In which >> file ? >> >> thanks >> >> >> >> >> >> Mark Nadir wrote: >> >>> My suggestion would be to do exactly what the error message says and >>> run a verification check on your nagios configuration by running >>> >>> /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg >>> >>> {assuming that you installed in the default location} >>> >>> Once that is done, look at the output of the error message and drop >>> it here if needed. >>> >>> Mark Nadir. >> >> >> >> >> >>> >>> Ovig Degrouard wrote: >>> >>>> Hello, >>>> >>>> I have a problem with nagios 2.0a1 running with apache 2.0 on >>>> mandrake 10.1. >>>> It has been installed with urpmi. There are no errors messages in >>>> apache logs. >>>> Nagios is running on the server and nrpe on one client. The nagios >>>> cfg files seems to be OK. >>>> The error message is: >>>> >>>> >>>> Whoops! >>>> >>>> *Error: Could not read object configuration data!* >>>> >>>> Here are some things you should check in order to resolve this error: >>>> >>>> 1. Verify configuration options using the *-v* command-line >>>> option to >>>> check for errors. >>>> 2. Check the Nagios log file for messages relating to startup or >>>> status data errors. >>>> 3. Make sure you've compiled the main program and the CGIs to use >>>> the >>>> same object data storage options (i.e. default text file or >>>> template-based file). >>>> >>>> Make sure you read the documentation on installing, configuring and >>>> running Nagios thoroughly before continuing. If all else fails, try >>>> sending a message to one of the mailing lists. More information can >>>> be found at http://www.nagios.org. >>>> >>>> >>>> Thank you, >>>> >>>> O. Degrouard >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> The SF.Net email is sponsored by: Beat the post-holiday blues >>>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>>> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at 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 >>>> >>> >>> >>> >> >> >> >> ------------------------------------------------------- >> The SF.Net email is sponsored by: Beat the post-holiday blues >> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gebhardt at hrz.uni-marburg.de Fri Jan 14 16:20:28 2005 From: gebhardt at hrz.uni-marburg.de (Gebhardt Thomas) Date: Fri, 14 Jan 2005 16:20:28 +0100 Subject: Announcement: KDE-KickerApplet to Nagios In-Reply-To: <1105711205.5497.36.camel@localhost> References: <1105651236.5731.2.camel@localhost> <200501141435.03432.gebhardt@hrz.uni-marburg.de> <1105711205.5497.36.camel@localhost> Message-ID: <200501141620.28808.gebhardt@hrz.uni-marburg.de> Hi Gerd, > For me and a few other guys it works, so I guess the configuration of > your cgi-bin path is not right. Please click on the green area with the > 3 mouse button (in the middle). Than you should see the page (without > &embedded=1) my applet checks.So please have a look at it. Also please > keep in mind that the applet does not alert acknowledged or soft alerts > by default. You can switch on soft and acknowledged alerts over the > configuration. > > If there are further questions or problems do not hesitate to mail me. Thanks for your help! Here is what I get: When I unlocked the screensaver of my workstation, the ktlight area was green, changing immediately to grey (=background color, does that mean: state=UNKNOWN?). Clicking with the middle mouse botton on that area gives me a browser window with the URL https://nagiosadmin@/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=20&serviceprops=42 (I configured the nagios cgi-bin to "https:///nagios/cgi-bin/") That page shows me the network, host, and the service status; one of the services is in critical state. The ktlight tooltip says "everything is in order" , however. I'm pretty shure that the nagiosadmin password is ok. Thanks for any hint, Thomas ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ovig.degrouard at jouy.inra.fr Fri Jan 14 16:36:31 2005 From: ovig.degrouard at jouy.inra.fr (Ovig Degrouard) Date: Fri, 14 Jan 2005 16:36:31 +0100 Subject: Error: Could not read object configuration data! In-Reply-To: <41E75EC3.4040609@sympatico.ca> References: <41E693DC.70908@jouy.inra.fr> <41E75EC3.4040609@sympatico.ca> Message-ID: <41E7E6FF.1040902@jouy.inra.fr> The return of syntax chekc is ok. There is no erros. Now i've build a new nagios from CVS tarball (2.0b1) I ve exactly the same error when i try to execute one CGI as status.cgi Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Step 1 is ok : no errors un cfg files Step 2 : Some error mesg about services not configured. [1105715151] SERVICE ALERT: localhost;HTTPS;CRITICAL;HARD;1;Connection refused [1105715271] SERVICE ALERT: localhost;HTTPS;WARNING;HARD;1;HTTP WARNING: HTTP/1.1 403 Forbidden But i don't think this is the problem. I think the problem was about access to the "object data storage": right, location or maybe suexec ... So i've another question: - Where nagios store the results of information collect ? In which file ? thanks Mark Nadir wrote: > My suggestion would be to do exactly what the error message says and > run a verification check on your nagios configuration by running > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > {assuming that you installed in the default location} > > Once that is done, look at the output of the error message and drop it > here if needed. > > Mark Nadir. > > Ovig Degrouard wrote: > >> Hello, >> >> I have a problem with nagios 2.0a1 running with apache 2.0 on >> mandrake 10.1. >> It has been installed with urpmi. There are no errors messages in >> apache logs. >> Nagios is running on the server and nrpe on one client. The nagios >> cfg files seems to be OK. >> The error message is: >> >> >> Whoops! >> >> *Error: Could not read object configuration data!* >> >> Here are some things you should check in order to resolve this error: >> >> 1. Verify configuration options using the *-v* command-line option to >> check for errors. >> 2. Check the Nagios log file for messages relating to startup or >> status data errors. >> 3. Make sure you've compiled the main program and the CGIs to use the >> same object data storage options (i.e. default text file or >> template-based file). >> >> Make sure you read the documentation on installing, configuring and >> running Nagios thoroughly before continuing. If all else fails, try >> sending a message to one of the mailing lists. More information can >> be found at http://www.nagios.org. >> >> >> Thank you, >> >> O. Degrouard >> >> >> >> ------------------------------------------------------- >> The SF.Net email is sponsored by: Beat the post-holiday blues >> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> > > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gmueller at netways.de Fri Jan 14 16:43:10 2005 From: gmueller at netways.de (Gerd Mueller) Date: Fri, 14 Jan 2005 16:43:10 +0100 Subject: Announcement: KDE-KickerApplet to Nagios In-Reply-To: <200501141620.28808.gebhardt@hrz.uni-marburg.de> References: <1105651236.5731.2.camel@localhost> <200501141435.03432.gebhardt@hrz.uni-marburg.de> <1105711205.5497.36.camel@localhost> <200501141620.28808.gebhardt@hrz.uni-marburg.de> Message-ID: <1105717390.5482.5.camel@localhost> Hi Thomas, I updated the source on nagiosexchange.org. Now this little applet will recognize if it failed to fetch a status page and turn the "light" into orange (unknown state). But I think that's not your problem - which the working 3rd mousebutton demonstrates. I never heard from this turning into grey problem :-( Maybe it's caused by your screensaver. Did you restart kde after installing? Which kde version are you using? If you believe there is an error, but ktlight does not show it right, please check if the problem is already acknowledged or still in soft state or change ktlight config :-) Thank you Gerd Am Fr, den 14.01.2005 schrieb Gebhardt Thomas um 16:20: > Hi Gerd, > > > For me and a few other guys it works, so I guess the configuration of > > your cgi-bin path is not right. Please click on the green area with the > > 3 mouse button (in the middle). Than you should see the page (without > > &embedded=1) my applet checks.So please have a look at it. Also please > > keep in mind that the applet does not alert acknowledged or soft alerts > > by default. You can switch on soft and acknowledged alerts over the > > configuration. > > > > If there are further questions or problems do not hesitate to mail me. > > Thanks for your help! > > Here is what I get: > > When I unlocked the screensaver of my workstation, the ktlight area was > green, changing immediately to grey (=background color, does that mean: > state=UNKNOWN?). Clicking with the middle mouse botton on that > area gives me a browser window with the URL > https://nagiosadmin@/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=20&serviceprops=42 > (I configured the nagios cgi-bin to "https:///nagios/cgi-bin/") > That page shows me the network, host, and the service status; one > of the services is in critical state. The ktlight tooltip says "everything is > in order" , however. > > I'm pretty shure that the nagiosadmin password is ok. > > Thanks for any hint, Thomas Mit freundlichen Gr??en aus N?rnberg, Gerd M?ller -- Gerd M?ller NETWAYS GmbH Senior Systems Engineer Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-33 gmueller at netways.de http://www.netways.de ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Stephan.Janosch at interface-business.de Fri Jan 14 16:45:41 2005 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Fri, 14 Jan 2005 16:45:41 +0100 Subject: Progress and MS-SQL monitoring In-Reply-To: References: Message-ID: <41E7E925.3040005@interface-business.de> Richard Luys wrote: > Hi All, > > It's been a while since I read the posts on this list, and do not have > time to check them all now, so forgive me if this is already asked... > > We need to monitor Progress and MS-SQL databases on a short notice, but > we could not find any check-scripts for this. Is anybody aware of > scripts that check these databases? Is somebody working on them? > > Please let me know if there is a solution already for this, or if we > have to start from scratch. > > If the latter, I make sure the scripts become available for the community! > > > Kind regards, > Richard Luys > You need the headers / libaries for mysql/ psql. Then the plugins get compiled for them. At least I beleive. ;) Stephan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Fri Jan 14 17:10:18 2005 From: ae at op5.se (Andreas Ericsson) Date: Fri, 14 Jan 2005 17:10:18 +0100 Subject: Error: Could not read object configuration data! In-Reply-To: <41E7E6FF.1040902@jouy.inra.fr> References: <41E693DC.70908@jouy.inra.fr> <41E75EC3.4040609@sympatico.ca> <41E7E6FF.1040902@jouy.inra.fr> Message-ID: <41E7EEEA.7040302@op5.se> Ovig Degrouard wrote: > The return of syntax chekc is ok. There is no erros. > Now i've build a new nagios from CVS tarball (2.0b1) > > I ve exactly the same error when i try to execute one CGI as status.cgi > > > > > Error: Could not read object configuration data! > > Here are some things you should check in order to resolve this error: > > 1. Verify configuration options using the -v command-line option to > check for errors. > 2. Check the Nagios log file for messages relating to startup or status > data errors. > 3. Make sure you've compiled the main program and the CGIs to use the > same object data storage options (i.e. default text file or template-based > file). > > su - thewebuserofyoursystem cd ~nagios cat var/objects.cache Read error message and take appropriate actions. > > > Step 1 is ok : no errors un cfg files > Step 2 : Some error mesg about services not configured. > [1105715151] SERVICE ALERT: localhost;HTTPS;CRITICAL;HARD;1;Connection > refused > [1105715271] SERVICE ALERT: localhost;HTTPS;WARNING;HARD;1;HTTP WARNING: > HTTP/1.1 403 Forbidden > > > > But i don't think this is the problem. > > I think the problem was about access to the "object data storage": right, > location or maybe suexec ... > > So i've another question: > - Where nagios store the results of information collect ? In which file ? > > thanks > > > > > > Mark Nadir wrote: > >> My suggestion would be to do exactly what the error message says and >> run a verification check on your nagios configuration by running >> >> /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg >> >> {assuming that you installed in the default location} >> >> Once that is done, look at the output of the error message and drop it >> here if needed. >> >> Mark Nadir. > > > > >> >> Ovig Degrouard wrote: >> >>> Hello, >>> >>> I have a problem with nagios 2.0a1 running with apache 2.0 on >>> mandrake 10.1. >>> It has been installed with urpmi. There are no errors messages in >>> apache logs. >>> Nagios is running on the server and nrpe on one client. The nagios >>> cfg files seems to be OK. >>> The error message is: >>> >>> >>> Whoops! >>> >>> *Error: Could not read object configuration data!* >>> >>> Here are some things you should check in order to resolve this error: >>> >>> 1. Verify configuration options using the *-v* command-line option to >>> check for errors. >>> 2. Check the Nagios log file for messages relating to startup or >>> status data errors. >>> 3. Make sure you've compiled the main program and the CGIs to use the >>> same object data storage options (i.e. default text file or >>> template-based file). >>> >>> Make sure you read the documentation on installing, configuring and >>> running Nagios thoroughly before continuing. If all else fails, try >>> sending a message to one of the mailing lists. More information can >>> be found at http://www.nagios.org. >>> >>> >>> Thank you, >>> >>> O. Degrouard >>> >>> >>> >>> ------------------------------------------------------- >>> The SF.Net email is sponsored by: Beat the post-holiday blues >>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 >>> >> >> >> > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From keith at orourkes.us Fri Jan 14 22:54:32 2005 From: keith at orourkes.us (Keith ORourke) Date: Fri, 14 Jan 2005 14:54:32 -0700 Subject: WAP acknowledgement Message-ID: <20050114215432.GA15268@blockhead> I know that a couple of days ago someone sent a sample of a link that could be sent through email so that a person could acknowledge an alarm by clicking on the link in the email. I am wondering if anyone has a similiar link which is using the WAP interface. I would like to include both links in any notifications sent out from nagios. This way if someone was getting email on a blackberry they could follow the WAP link. Thanks Keith -- ________________________________________________________________ | Keith ORourke keith at orourkes.us | | __o http://orourkes.us | | _ \<,_ "A good plan violently executed now is better than | | _(_)/_(_)_ than a perfect plan executed next week" GS Patton | |________________________________________________________________| ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dmourati at cm.math.uiuc.edu Sat Jan 15 04:17:36 2005 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 14 Jan 2005 21:17:36 -0600 (CST) Subject: Monitoring Power With Nagios In-Reply-To: <60b4a87c050114182223035d42@mail.gmail.com> References: <60b4a87c050114182223035d42@mail.gmail.com> Message-ID: On Fri, 14 Jan 2005, Kaushal Patel wrote: > Hello All, > > I have a question. So far I've seen that Nagios is used mostly for > network monitoring only. What I wanted to know is, is it possible to > display the electrical quantities like power, voltage, current etc > with Nagios ? > > For this, I've an energy meter with a webserver on board and it can > connect to ethernet. So, with the use of Nagios can we display these > results on WWW remotely ? More precisely, what I plan to do is display > those quantities in a manner similar to some online energy montioring > services available. However those are very costly, whereas the very > fundamental logic of Nagios is monitoring for free, but this time > electrical parameters. > > I hope I've mentioned clearly without any confusion and hoping to > expect some detailed suggestions. > The answer to your question is most likely yes, you can do it. Hook up your "energy meter" and fire up its webserver. Then try using the check_http plugin to query the device. If check_http doesn't do what you want, you may end up writing your own plugin to do it. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kaushalpatel at gmail.com Sat Jan 15 03:22:39 2005 From: kaushalpatel at gmail.com (Kaushal Patel) Date: Fri, 14 Jan 2005 21:22:39 -0500 Subject: Monitoring Power With Nagios Message-ID: <60b4a87c050114182223035d42@mail.gmail.com> Hello All, I have a question. So far I've seen that Nagios is used mostly for network monitoring only. What I wanted to know is, is it possible to display the electrical quantities like power, voltage, current etc with Nagios ? For this, I've an energy meter with a webserver on board and it can connect to ethernet. So, with the use of Nagios can we display these results on WWW remotely ? More precisely, what I plan to do is display those quantities in a manner similar to some online energy montioring services available. However those are very costly, whereas the very fundamental logic of Nagios is monitoring for free, but this time electrical parameters. I hope I've mentioned clearly without any confusion and hoping to expect some detailed suggestions. Thanks, Kaushal Patel MSEE, The State University of New York at Buffalo 90 Cornell Street Buffalo, NY 14214 Ph: 716-836-5674 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From yokoyoko at rd.aisin.co.jp Sat Jan 15 10:13:30 2005 From: yokoyoko at rd.aisin.co.jp (yokoyoko at rd.aisin.co.jp) Date: Sat, 15 Jan 2005 18:13:30 +0900 Subject: Auto reload Message-ID: <49256F8A.0032ABC1.00@mta.aisin.co.jp> Hi,everyone. I have one problem about Auto reload on Nagios. One IE can't reload of status.cgi etc., others IE can. So, I would like to know the method of reloading and the cause of no reloading. Please help me. System Nagios Ver. 2.0b1 Client IE Ver. 6.0 OS WindowsXP Please help me ! ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From benoit.mortier at opensides.be Sat Jan 15 11:57:02 2005 From: benoit.mortier at opensides.be (Benoit Mortier) Date: Sat, 15 Jan 2005 11:57:02 +0100 Subject: Windows Eventlog->NSCA agent v1.3 In-Reply-To: <01f801c4f77c$5dfd8e40$01fea8c0@itss.auckland.ac.nz> References: <01f801c4f77c$5dfd8e40$01fea8c0@itss.auckland.ac.nz> Message-ID: <200501151157.03195.benoit.mortier@opensides.be> Le Mardi 11 Janvier 2005 02:24, Steve Shipway a ?crit?: > The latest version of this (v1.3), which should correct a suspected > memory leak, is now available for download from > http://www.steveshipway.org/software in the Nagios section. > > Also available there are the check_website plugin (v0.2), check_esx (for > VMWare ESX), check_tsm (requires TSM and TSM::Log Perl modules) and some > other junk. Hi, could you submit your plugins to the new plugins tracker on the nagiosplug project at sourceforge thanks. -- Benoit Mortier Linux Engineer www.opensides.be ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gmueller at netways.de Sat Jan 15 12:16:54 2005 From: gmueller at netways.de (Gerd Mueller) Date: Sat, 15 Jan 2005 12:16:54 +0100 Subject: Announcement: KDE-KickerApplet to Nagios In-Reply-To: <200501141620.28808.gebhardt@hrz.uni-marburg.de> References: <1105651236.5731.2.camel@localhost> <200501141435.03432.gebhardt@hrz.uni-marburg.de> <1105711205.5497.36.camel@localhost> <200501141620.28808.gebhardt@hrz.uni-marburg.de> Message-ID: <1105787814.5463.8.camel@localhost> Hi Thomas, first I hope I solved the transparency problem. Now I paint a coloured box also. And second I think you are using Nagios V1.3, aren't you? The servicereport is diffrent in this version and that format **wasn't** supported in ktlight. I published the new version (v.0.2.2) as usual on www.nagiosexchange.org . Please let me now if both problems are solved now. Thank you Gerd ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From joelseph at watchtv.net Sat Jan 15 17:03:51 2005 From: joelseph at watchtv.net (Joel Dunifon) Date: Sat, 15 Jan 2005 11:03:51 -0500 Subject: Problems with make install-config Message-ID: <000001c4fb1b$cea009a0$6402a8c0@JoelSeph> I want to try out nagios-2 but after installing and running a make install-config for sample config it appears as though there are sample configs missing. Anyone else had this problem? Error are as follows: /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/etc /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/nagios.cfg /usr/local/nagios/etc/nagios.cfg-sample /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/cgi.cfg /usr/local/nagios/etc/cgi.cfg-sample /usr/bin/install -c -m 660 -o nagios -g nagios sample-config/resource.cfg /usr/local/nagios/etc/resource.cfg-sample /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/template-object/checkcommands.cfg /usr/local/nagios/etc/checkcommands.cfg-sample /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/template-object/contactgroups.cfg /usr/local/nagios/etc/contactgroups.cfg-sample install: sample-config/template-object/contactgroups.cfg: No such file or directory *** Error code 71 Stop in /usr/home/admin/nagios-2.0b1. I found message board posts from folks that suggested copying configs from previous versions. After doing so and getting things running, it appears as though there are problems even with the configs provided with the nagios-2 tarball: Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line 868 (UNKNOWN VARIABLE) Any ideas? Anyone know where I can get a bundle of working sample configs for nagios-2.0b1? Mayhaps I should wait for a non beta version I suppose... -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Sat Jan 15 23:27:59 2005 From: ae at op5.se (Andreas Ericsson) Date: Sat, 15 Jan 2005 23:27:59 +0100 Subject: Auto reload In-Reply-To: <49256F8A.0032ABC1.00@mta.aisin.co.jp> References: <49256F8A.0032ABC1.00@mta.aisin.co.jp> Message-ID: <41E998EF.1060105@op5.se> yokoyoko at rd.aisin.co.jp wrote: > Hi,everyone. > > I have one problem about Auto reload on Nagios. > One IE can't reload of status.cgi etc., others IE can. > So, I would like to know the method of reloading and the cause of no reloading. > Please help me. > > System > Nagios Ver. 2.0b1 > > Client > IE Ver. 6.0 > OS WindowsXP > > Please help me ! > Check the cache settings of the IE that can't reload. It most likely doesn't cache the index-page, and so reloads it whenever F5 is pressed (or it has spyware installed which tracks the IE contents inside an invisible frame that doesn't understand what to reload). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From yokoyoko at rd.aisin.co.jp Sun Jan 16 06:51:16 2005 From: yokoyoko at rd.aisin.co.jp (yokoyoko at rd.aisin.co.jp) Date: Sun, 16 Jan 2005 14:51:16 +0900 Subject: Auto reload Message-ID: <49256F8B.002026B0.00@mta.aisin.co.jp> Thank you for the rapid reply. But... > > Hi,everyone. > > > > I have one problem about Auto reload on Nagios. > > One IE can't reload of status.cgi etc., others IE can. > > So, I would like to know the method of reloading and the cause of no reloading. > > Please help me. > > > > System > > Nagios Ver. 2.0b1 > > > > Client > > IE Ver. 6.0 > > OS WindowsXP > > > > Please help me ! > > > > Check the cache settings of the IE that can't reload. It most likely > doesn't cache the index-page, and so reloads it whenever F5 is pressed > (or it has spyware installed which tracks the IE contents inside an > invisible frame that doesn't understand what to reload). > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer < Bad one > OS Windows2003 Server IE Ver. 6.0 Cache setting of IE is automatically. F5 is active. But, when nagios updated time, the page (status.cgi etc.) isn't reloaded. I would like to use this client (windows 2003 server) as a main nagios monitoring. Please tell me another check points. Yoshinari Yokota yokoyoko at rd.aisin.co.jp ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From scoutts at bcs.org.uk Sun Jan 16 11:25:40 2005 From: scoutts at bcs.org.uk (Steven Coutts) Date: Sun, 16 Jan 2005 10:25:40 +0000 Subject: Network Discovery Message-ID: <41EA4124.8090400@bcs.org.uk> Is there anyway for Nagios to do automatic network discovery? Or do I have to manually have to type all my hosts in the hosts.cfg file? Regards -- Steven Coutts B.Sc.(Hons) MBCS scoutts at bcs.org.uk PGP Public Key ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From scoutts at bcs.org.uk Sun Jan 16 13:01:19 2005 From: scoutts at bcs.org.uk (Steven Coutts) Date: Sun, 16 Jan 2005 12:01:19 +0000 Subject: Could not lock status data tables Message-ID: <41EA578F.9070305@bcs.org.uk> Error: Could not lock status data tables in database 'nagios' I have started Nagios and am getting this error in the logs, anyone any ideas? Regards -- Steven Coutts B.Sc.(Hons) MBCS scoutts at bcs.org.uk PGP Public Key ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Sun Jan 16 13:34:32 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 16 Jan 2005 13:34:32 +0100 Subject: Network Discovery In-Reply-To: <41EA4124.8090400@bcs.org.uk> References: <41EA4124.8090400@bcs.org.uk> Message-ID: <41EA5F58.50209@op5.se> Steven Coutts wrote: > Is there anyway for Nagios to do automatic network discovery? > man nmap man grep man sed Something like this should work; for ip in `nmap -sP -T Insane 192.168.0.1-254 | grep "appears to be up" | gawk '{ print $2 }'`; do sed "s/@host@/$ip/" host.in >> hosts.cfg done Where host.in look something like this define host{ use default-host-template host_name @host at -name address @host@ alias @host at -alias } Then, supposing you have some way of getting a tab/comma/semi-colon/whatever separated list of hostnames, ip's and descriptions (in field order), you can do cat that_list | while read host_name ip alias; do sed -i -e "s/$ip-name/$host_name/" -e "s/$ip-alias/$alias/" hosts.cfg done Mind the line-breaks. > Or do I have to manually have to type all my hosts in the hosts.cfg file? > Then add a service PING to all hosts, as such; define service { use default-service service_description PING host_name * check_command check_ping!100.0,40%!500.0,80% } Delete the nodes you don't want to monitor, and keep fiddling a bit. I suggest you then divide the hosts into various groups depending on what you want to check on them and simply add a bunch of services to the proper hostgroups. It will save you a lot of typing. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gmueller at netways.de Sun Jan 16 13:46:37 2005 From: gmueller at netways.de (Gerd Mueller) Date: Sun, 16 Jan 2005 13:46:37 +0100 (CET) Subject: Network Discovery In-Reply-To: <41EA4124.8090400@bcs.org.uk> References: <41EA4124.8090400@bcs.org.uk> Message-ID: <20050116124637.CFC4C4F4002@desire.netways.de> Hi Steven have a look at http://www.nagiosexchange.org/Configuration.40.0.html?&tx_ netnagext_pi1[p_view]=147 Cheers, Gerd ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=1419 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From zsitfa at axelero.hu Sun Jan 16 21:00:15 2005 From: zsitfa at axelero.hu (Horvath Tamas) Date: Sun, 16 Jan 2005 21:00:15 +0100 Subject: Passive checks via Exim Message-ID: <200501162000.j0GK0EqS010677@fe07.axelero.hu> Hi List Members! I run Nagios 1.2 on Debian 3.1. It seems to me, that I'll have some type of checks which can send their results via E-Mail. My MTA is Exim! Now I'm reading the documentation of Exim. I think the method of doing passive check results form e-mails is something like this: I run a cron process periodically which reads mails sent to nagios and runs some own script which can handle these. However I would like to know the best method. Is there any programs which can easy my effort? Or is there somebiody in the field, who've done it already? Any suggstions, ideas would be appreciated. Thanks in advance, Tamas! ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Sun Jan 16 21:49:12 2005 From: jhmartin at toger.us (Jason Martin) Date: Sun, 16 Jan 2005 12:49:12 -0800 Subject: Passive checks via Exim In-Reply-To: <200501162000.j0GK0EqS010677@fe07.axelero.hu> References: <200501162000.j0GK0EqS010677@fe07.axelero.hu> Message-ID: <20050116204912.GH22548@zippy.toger.us> On Sun, Jan 16, 2005 at 09:00:15PM +0100, Horvath Tamas wrote: > However I would like to know the best method. Is there any programs which > can easy my effort? Or is there somebiody in the field, who've done it > already? You can write a procmail script such that the messages will be processed as soon as they are received. Procmail can then call another script that will write the appropriate data into the command file. -Jason Martin -- I float like an anchor and sting like a moth. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From johnsonmlw at yahoo.com Sun Jan 16 21:50:02 2005 From: johnsonmlw at yahoo.com (Matt Johnson) Date: Sun, 16 Jan 2005 20:50:02 +0000 (GMT) Subject: Passive checks via Exim In-Reply-To: <200501162000.j0GK0EqS010677@fe07.axelero.hu> References: <200501162000.j0GK0EqS010677@fe07.axelero.hu> Message-ID: <20050116205002.95602.qmail@web50809.mail.yahoo.com> --- Horvath Tamas wrote: > Hi List Members! > > I run Nagios 1.2 on Debian 3.1. It seems to me, that > I'll have some type of > checks which can send their results via E-Mail. My > MTA is Exim! Yes, I did this last week with some success. Go into /etc/exim4/conf.d My config file is split into, so I go into the /router directory. Find 400-exim4-config_system_aliases file and uncomment "user = list" and "group = mail". Also uncomment pipe_transport = address_pipe Now go into /etc/aliases and put a nagios alias to pipe mail to nagios to a command. You can pipe to the command: nagios | /usr/lib/nagios/plugins/eventhandlers/submit_check_result which expects arguments after the command (the host, service, code "0" etc. It's all in the docs for passive checks, freshness checks and volatile services. I had to chmod 777 /var/run/nagios/nagios.cmd every time I restarted nagios to get this to work. All the best. Ask more questions if needed. -- Matt ___________________________________________________________ ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Sun Jan 16 23:30:18 2005 From: jhmartin at toger.us (Jason Martin) Date: Sun, 16 Jan 2005 14:30:18 -0800 Subject: Passive checks via Exim In-Reply-To: <20050116205002.95602.qmail@web50809.mail.yahoo.com> References: <200501162000.j0GK0EqS010677@fe07.axelero.hu> <20050116205002.95602.qmail@web50809.mail.yahoo.com> Message-ID: <20050116223018.GI22548@zippy.toger.us> On Sun, Jan 16, 2005 at 08:50:02PM +0000, Matt Johnson wrote: > I had to chmod 777 /var/run/nagios/nagios.cmd every > time I restarted nagios to get this to work. I believe setting the rw dir to 777 will have the same effect w/o having to do it every time. -Jason Martin -- Would I ask you a rhetorical question? This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From darren at adam.com.au Mon Jan 17 06:41:42 2005 From: darren at adam.com.au (darren kruse) Date: Mon, 17 Jan 2005 16:11:42 +1030 Subject: nagios upgrade / migration from 1.2 to 2.0b1 Message-ID: <41EB5016.3080607@adam.com.au> Hi, I am a very happy user of nagios 1.2 and am interested in upgrading / migration to the new 2.0b1 version. My question is quite simialr to Michael?s (he didn get an on-list answer I can see) http://article.gmane.org/gmane.network.nagios.user/26449 I cannot afford to have my production nagios 1.2 system down while I try to fix stuff. So I?ll ask this a few different ways .. - Is an inplace migration safe , and if so, what is the reccomended process ? - Will a generic 2.0 install simply overwrite existing nagios binaries, and will nagios 2.0 choke on my nagios 1.2 config files ? - Is changing the default prefix to /usr/local/nagios2 in ./configure enough to make an install of nagios 2 parallel to the existing nagio 1.2 install ? It looks like this is what Rudi did : http://article.gmane.org/gmane.network.nagios.user/26466/match=upgrade For backward compatibility.. it would seem that the new nagiostats utility is not liking my existing nagios.cfg ( I compiled nagios2 on a different machine, then moved the nagiostats binary to the production machine. eg : ferret# ./nagiostats /usr/local/etc/nagios/nagios.cfg Nagios Stats 2.0b1 Copyright (c) 2003-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 12-15-2005 License: GPL Error processing config file '/usr/local/nagios/etc/nagios.cfg' ferret# If I can?t safely upgrade to nagios 2 , then I?ll settle for now for being able to run nagiostats over my existing nagios 1.2 installation. Is this possible ? thanks, darren Darren Kruse Network Operations Centre Adam Internet sip://darren at adam.com.au or +618 82754050 Office Address: 117 King William St, Adelaide 5000 Postal Address: G.P.O. Box 121, Adelaide 5001 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rudi at darx.com Mon Jan 17 08:31:30 2005 From: rudi at darx.com (Rudi Heitbaum) Date: Mon, 17 Jan 2005 18:31:30 +1100 Subject: nagios upgrade / migration from 1.2 to 2.0b1 In-Reply-To: <41EB5016.3080607@adam.com.au> References: <41EB5016.3080607@adam.com.au> Message-ID: <20050117073130.GD15137@darx.com> Hi Darren, My migration running nangios 2 and nagios concurrently was fine, and the best way for us to test and qa the environment. You need to edit a couple of files thus this was the best for us. On Mon, Jan 17, 2005 at 04:11:42PM +1030, darren kruse wrote: > Hi, > I am a very happy user of nagios 1.2 and am interested in upgrading / > migration to the new 2.0b1 version. > > My question is quite simialr to Michael??s (he didn get an on-list answer > I can see) > http://article.gmane.org/gmane.network.nagios.user/26449 > > I cannot afford to have my production nagios 1.2 system down while I try > to fix stuff. So I??ll ask this a few different ways .. > > - Is an inplace migration safe , and if so, what is the reccomended > process ? > > - Will a generic 2.0 install simply overwrite existing nagios binaries, > and will nagios 2.0 choke on my nagios 1.2 config files ? > > - Is changing the default prefix to /usr/local/nagios2 in ./configure > enough to make an install of nagios 2 parallel to the existing nagio 1.2 > install ? > It looks like this is what Rudi did : > http://article.gmane.org/gmane.network.nagios.user/26466/match=upgrade > > For backward compatibility.. it would seem that the new nagiostats > utility is not liking my existing nagios.cfg ( I compiled nagios2 on a > different machine, then moved the nagiostats binary to the production > machine. > > eg : > ferret# ./nagiostats /usr/local/etc/nagios/nagios.cfg > > Nagios Stats 2.0b1 > Copyright (c) 2003-2004 Ethan Galstad (nagios at nagios.org) > Last Modified: 12-15-2005 > License: GPL > > Error processing config file '/usr/local/nagios/etc/nagios.cfg' > ferret# > > If I can??t safely upgrade to nagios 2 , then I??ll settle for now for > being able to run nagiostats over my existing nagios 1.2 installation. > Is this possible ? > > thanks, > darren > > Darren Kruse > Network Operations Centre > Adam Internet > sip://darren at adam.com.au or +618 82754050 > Office Address: 117 King William St, Adelaide 5000 Postal Address: > G.P.O. Box 121, Adelaide 5001 > Regards Rudi -- Rudi Heitbaum Ph: +61-3-8371 7444 Managing Director Fax: +61-3-8371 7445 DARX Consulting Pty Ltd Mobile: 04-1122 6244 mailto:rudi at darx.com http://www.darx.com/ ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cornelius.koelbel at lsexperts.de Mon Jan 17 09:40:00 2005 From: cornelius.koelbel at lsexperts.de (=?ISO-8859-15?Q?Cornelius_K=F6lbel?=) Date: Mon, 17 Jan 2005 09:40:00 +0100 Subject: Host is still check, although it does no longer appear in the configs Message-ID: <41EB79E0.8060208@lsexperts.de> Hello list, once I had a definition and checks for a specific host in my configs. Then the host lost its importance, so I removed the host from the configs. In fact I commented it out using '#'. I restarted nagios. This was already several weeks ago. But I still receive host down warnings from nagios, although there is not trace of this host in the config files any more. What's up? I am using nagios 1.3 on a debian. Thanks for all hints Cornelius ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Jan 17 09:51:44 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 17 Jan 2005 09:51:44 +0100 Subject: nagios upgrade / migration from 1.2 to 2.0b1 In-Reply-To: <41EB5016.3080607@adam.com.au> References: <41EB5016.3080607@adam.com.au> Message-ID: <41EB7CA0.8000104@op5.se> darren kruse wrote: > Hi, > I am a very happy user of nagios 1.2 and am interested in upgrading / > migration to the new 2.0b1 version. > > My question is quite simialr to Michael??s (he didn get an on-list > answer I can see) > http://article.gmane.org/gmane.network.nagios.user/26449 > > I cannot afford to have my production nagios 1.2 system down while I try > to fix stuff. So I??ll ask this a few different ways .. > If you can't afford downtime, you need redundant systems. Buy anothe first and install Nagios 2 on it. > - Is an inplace migration safe , and if so, what is the reccomended > process ? > Yes, with minimal (30 seconds) downtime. Compile nagios 2.x. Copy configuration to a separate directory and make the necessary changes there (you can point nagios.cfg to different object config files and run the preflight check on the new config). > - Will a generic 2.0 install simply overwrite existing nagios binaries, That depends entirely on you. I would suggest not running make install before having made sure everything works as you expect. > and will nagios 2.0 choke on my nagios 1.2 config files ? > Yes, hence the copy/fix/replace order above. > - Is changing the default prefix to /usr/local/nagios2 in ./configure > enough to make an install of nagios 2 parallel to the existing nagio 1.2 > install ? Assuming no other paths clash, yes. > It looks like this is what Rudi did : > http://article.gmane.org/gmane.network.nagios.user/26466/match=upgrade > > For backward compatibility.. it would seem that the new nagiostats > utility is not liking my existing nagios.cfg ( I compiled nagios2 on a > different machine, then moved the nagiostats binary to the production > machine. > Yes. Some of the nagios.cfg options are obsolete with 2.0, and contacts are specified per host instead of per hostgroup now adays. > eg : > ferret# ./nagiostats /usr/local/etc/nagios/nagios.cfg > > Nagios Stats 2.0b1 > Copyright (c) 2003-2004 Ethan Galstad (nagios at nagios.org) > Last Modified: 12-15-2005 > License: GPL > > Error processing config file '/usr/local/nagios/etc/nagios.cfg' > ferret# > > If I can??t safely upgrade to nagios 2 , then I??ll settle for now for > being able to run nagiostats over my existing nagios 1.2 installation. > Is this possible ? > No, it is not. > thanks, > darren > > Darren Kruse > Network Operations Centre > Adam Internet > sip://darren at adam.com.au or +618 82754050 > Office Address: 117 King William St, Adelaide 5000 Postal Address: > G.P.O. Box 121, Adelaide 5001 > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Jan 17 09:54:22 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 17 Jan 2005 09:54:22 +0100 Subject: Host is still check, although it does no longer appear in the configs In-Reply-To: <41EB79E0.8060208@lsexperts.de> References: <41EB79E0.8060208@lsexperts.de> Message-ID: <41EB7D3E.6010609@op5.se> Cornelius K?lbel wrote: > Hello list, > > once I had a definition and checks for a specific host in my configs. > Then the host lost its importance, so I removed the host from the > configs. In fact I commented it out using '#'. > > I restarted nagios. This was already several weeks ago. > > But I still receive host down warnings from nagios, although there is > not trace of this host in the config files any more. > What's up? > You have multiple Nagios processes running (it's a bug in the init-script, I believe). Run /etc/init.d/nagios stop; killall -9 nagios; /etc/init.d/nagios start and all will be well. > I am using nagios 1.3 on a debian. > > Thanks for all hints You're welcome. > Cornelius > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ominyx at yahoo.com Mon Jan 17 10:00:40 2005 From: ominyx at yahoo.com (Austine Omiunu) Date: Mon, 17 Jan 2005 01:00:40 -0800 (PST) Subject: starting nagios In-Reply-To: <20050116041138.6E40F33ABD@sc8-sf-spam1.sourceforge.net> References: <20050116041138.6E40F33ABD@sc8-sf-spam1.sourceforge.net> Message-ID: <20050117090040.96938.qmail@web14301.mail.yahoo.com> Hello, Iam trying to implement nagios 1.2 and anytime i try to start nagios i get the error- ps:error: list of procees IDs must follow -p I'm also relatively new to linux so any assiatance will be greatly encouraging and appreciated thanks __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Mon Jan 17 11:20:54 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Mon, 17 Jan 2005 11:20:54 +0100 Subject: Problems with make install-config In-Reply-To: <000001c4fb1b$cea009a0$6402a8c0@JoelSeph> References: <000001c4fb1b$cea009a0$6402a8c0@JoelSeph> Message-ID: <41EB9186.1060400@interface-business.de> Joel Dunifon wrote: > I want to try out nagios-2 but after installing and running a make > install-config for sample config it appears as though there are sample > configs missing. Anyone else had this problem? Error are as follows: > > /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/etc > /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/nagios.cfg > /usr/local/nagios/etc/nagios.cfg-sample > /usr/bin/install -c -m 664 -o nagios -g nagios sample-config/cgi.cfg > /usr/local/nagios/etc/cgi.cfg-sample > /usr/bin/install -c -m 660 -o nagios -g nagios > sample-config/resource.cfg /usr/local/nagios/etc/resource.cfg-sample > /usr/bin/install -c -m 664 -o nagios -g nagios > sample-config/template-object/checkcommands.cfg > /usr/local/nagios/etc/checkcommands.cfg-sample > /usr/bin/install -c -m 664 -o nagios -g nagios > sample-config/template-object/contactgroups.cfg > /usr/local/nagios/etc/contactgroups.cfg-sample > install: sample-config/template-object/contactgroups.cfg: No such file > or directory > *** Error code 71 > > Stop in /usr/home/admin/nagios-2.0b1. > I found message board posts from folks that suggested copying > configs from previous versions. After doing so and getting things > running, it appears as though there are problems even with the configs > provided with the nagios-2 tarball: > > Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line > 868 (UNKNOWN VARIABLE) > > Any ideas? Anyone know where I can get a bundle of working sample > configs for nagios-2.0b1? Mayhaps I should wait for a non beta version > I suppose... > Nothing serious. You can copy the examples by hand. Some filenames were changed. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gebhardt at hrz.uni-marburg.de Mon Jan 17 12:35:48 2005 From: gebhardt at hrz.uni-marburg.de (Gebhardt Thomas) Date: Mon, 17 Jan 2005 12:35:48 +0100 Subject: Announcement: KDE-KickerApplet to Nagios In-Reply-To: <1105787814.5463.8.camel@localhost> References: <1105651236.5731.2.camel@localhost> <200501141620.28808.gebhardt@hrz.uni-marburg.de> <1105787814.5463.8.camel@localhost> Message-ID: <200501171235.50160.gebhardt@hrz.uni-marburg.de> Hi, > I published the new version (v.0.2.2) as usual on www.nagiosexchange.org > > Please let me now if both problems are solved now. thank you very much! Now it works pretty fine for me! (I'm using nagios 1.2) Cheers, Thomas ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Ralf-Lists at RalfGross.de Mon Jan 17 13:55:55 2005 From: Ralf-Lists at RalfGross.de (Ralf Gross) Date: Mon, 17 Jan 2005 13:55:55 +0100 (CET) Subject: How to use the $CONTACTADDRESSx$ for winpopup messages to serveral hosts? Message-ID: <45353.141.113.101.32.1105966555.squirrel@webmail.ssorgflar.de> Hi, I recently moved from nagios 1.2 to nagios 2.0b1. With 1.2, I used the alias directive (macro $CONTACTALIAS$) in contacts.cfg to send winpopup alerts to this windows clients. Nagios 2.0b1 has the new $CONTACTADDRESSx$ macro, I can define up to 6 different addresses for one contact. The winpopup section in my misccommands.cfg looks like this: ...nagios stuff...| /usr/bin/smbclient -U "Nagios" -M $CONTACTALIAS$ If a contact has just one address defined, I could just replace $CONTACTALIAS$ with $CONTACTADDRESS1$. But some people have serveral hosts which should get the popup alert. Do I have to create different commands in misccommands.cfg, eg. notify-by-winpopup-host-1, notify-by-winpopup-host-2...? I think there must be a simpler way to accomplish that. Any ideas? Ralf ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From loyd at cyber.kodak.com Mon Jan 17 14:31:15 2005 From: loyd at cyber.kodak.com (Eric Loyd) Date: Mon, 17 Jan 2005 08:31:15 -0500 Subject: daemon restart scripts In-Reply-To: <41E6D8CD.6090408@op5.se> References: <1105627469.32164.40.camel@localhost.localdomain> <41E69798.7010406@cyber.kodak.com> <41E6D8CD.6090408@op5.se> Message-ID: <41EBBE23.8090904@cyber.kodak.com> Andreas Ericsson wrote: > Eric Loyd wrote: [snip] >> End result? All services can be restarted by one modular event >> handler. If a new service is added that needs a new series of >> restart steps, then a function is added to the restart script to do >> the work, and all else just "works." >> > > This would be easier still if the service_description is the same as > the name of the init script. That's true, assuming that only init scripts are used to restart services. In some cases, "services" are really components of other services such as caches and so forth that require hitting a web page to flush a cache. So what we've really done is to name the service_descriptions things like SSH:Service:Instance and Service:Instance:Parameter. This lets us know if the service is tunneled over SSH or not, the name of the service (we'll say "Web" or "DNS" for instance), the specific instance of the service (port numbers in the case of web servers, other things for other services) and a parameter type attribute for things like caches. The restart script looks for functions called do_ and passes various parameters to it. So the modularity comes in needing to just write a single function in the restart script (say, do_web) that restarts web services. Within that function, instances and other parameters can be parsed to determine if a full restart is required, a cache needs to be flushed, or whatever else we want to do. It works for us. Your mileage may vary. -- Eric Loyd loyd at cyber.kodak.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Jan 17 14:41:21 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 17 Jan 2005 14:41:21 +0100 Subject: How to use the $CONTACTADDRESSx$ for winpopup messages to serveral hosts? In-Reply-To: <45353.141.113.101.32.1105966555.squirrel@webmail.ssorgflar.de> References: <45353.141.113.101.32.1105966555.squirrel@webmail.ssorgflar.de> Message-ID: <41EBC081.8020303@op5.se> Ralf Gross wrote: > Hi, > > I recently moved from nagios 1.2 to nagios 2.0b1. > > With 1.2, I used the alias directive (macro $CONTACTALIAS$) in > contacts.cfg to send winpopup alerts to this windows clients. Nagios 2.0b1 > has the new $CONTACTADDRESSx$ macro, I can define up to 6 different > addresses for one contact. > The winpopup section in my misccommands.cfg looks like this: > > ...nagios stuff...| /usr/bin/smbclient -U "Nagios" -M $CONTACTALIAS$ > > If a contact has just one address defined, I could just replace > $CONTACTALIAS$ with $CONTACTADDRESS1$. But some people have serveral hosts > which should get the popup alert. > Do I have to create different commands in misccommands.cfg, eg. > notify-by-winpopup-host-1, notify-by-winpopup-host-2...? I think there > must be a simpler way to accomplish that. > Any ideas? > Create a wrapper script that can handle several arguments and doesn't barf if it is fed an empty one (in case you want to quote it in the command definition). Iterate like so; msg="$1" network_user="$2" shift; shift for host_to_send_to in "$@"; do test -z "$host_to_send_to" && continue echo "$msg" | smbclient -U "$network_user" -M "$host_to_send_to" done Simple enough. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Jan 17 14:44:18 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 17 Jan 2005 14:44:18 +0100 Subject: daemon restart scripts In-Reply-To: <41EBBE23.8090904@cyber.kodak.com> References: <1105627469.32164.40.camel@localhost.localdomain> <41E69798.7010406@cyber.kodak.com> <41E6D8CD.6090408@op5.se> <41EBBE23.8090904@cyber.kodak.com> Message-ID: <41EBC132.3020900@op5.se> Eric Loyd wrote: > > > Andreas Ericsson wrote: > >> Eric Loyd wrote: > > > [snip] > >>> End result? All services can be restarted by one modular event >>> handler. If a new service is added that needs a new series of >>> restart steps, then a function is added to the restart script to do >>> the work, and all else just "works." >>> >> >> This would be easier still if the service_description is the same as >> the name of the init script. > > > That's true, assuming that only init scripts are used to restart > services. In some cases, "services" are really components of other > services such as caches and so forth that require hitting a web page to > flush a cache. So what we've really done is to name the > service_descriptions things like SSH:Service:Instance and > Service:Instance:Parameter. This lets us know if the service is > tunneled over SSH or not, the name of the service (we'll say "Web" or > "DNS" for instance), the specific instance of the service (port numbers > in the case of web servers, other things for other services) and a > parameter type attribute for things like caches. > > The restart script looks for functions called do_ and passes > various parameters to it. Be cautious with the (future?) support for auto-adding hosts that have services that receive passive check results. Possibly nsca (or the web-user) can be fooled into executing commands on any host through the service restart thingie. > So the modularity comes in needing to just > write a single function in the restart script (say, do_web) that > restarts web services. Within that function, instances and other > parameters can be parsed to determine if a full restart is required, a > cache needs to be flushed, or whatever else we want to do. > > It works for us. Your mileage may vary. > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From loyd at cyber.kodak.com Mon Jan 17 14:55:00 2005 From: loyd at cyber.kodak.com (Eric Loyd) Date: Mon, 17 Jan 2005 08:55:00 -0500 Subject: daemon restart scripts In-Reply-To: <41EBC132.3020900@op5.se> References: <1105627469.32164.40.camel@localhost.localdomain> <41E69798.7010406@cyber.kodak.com> <41E6D8CD.6090408@op5.se> <41EBBE23.8090904@cyber.kodak.com> <41EBC132.3020900@op5.se> Message-ID: <41EBC3B4.5040100@cyber.kodak.com> > > Be cautious with the (future?) support for auto-adding hosts that have > services that receive passive check results. Possibly nsca (or the > web-user) can be fooled into executing commands on any host through > the service restart thingie. I think, maybe, you misunderstand. (And we don't use nsca because of firewalls - that's why we wrap in SSH). The event_handler parameter is set to something like "generic_restart.sh" for all services. The service_descriptions for all services are in a format that allows for easy parsing to figure out what instance of what service (and maybe what sub-instance) it refers to. The generic_restart.sh script then figures out whether it's hard or soft, what failure number it is, and (maybe) takes action. Action simply consists of trying to find a function within generic_restart.sh called do_service. It passes a bunch of arguments to this service and the function determines what needs to be done. This does not mean that random code is sent - the function clearly defines what steps need to be taken (kill -QUIT, /foo/bar/svc.stop, sleep 10, /foo/bar/svc.start, send mail, whatever). There is no auto-adding of hosts. There is no passing of code. There is no passive check results. Since the Nagios machine is running active checks remotely via SSH, only checks executed by Nagios are considered. -- Eric Loyd loyd at cyber.kodak.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dmaher at acetechnology.com Mon Jan 17 15:20:06 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Mon, 17 Jan 2005 09:20:06 -0500 Subject: Monitoring Power With Nagios Message-ID: If the energy meter has a webserver on board, why do you need Nagios to display the results? Surely the webserver on the energy meter has some sort of interface for this purpose? If your concern is to monitor, alert on, and trend the data that the energy meter is gathering, then this is where Nagios would be useful. Does the energy meter speak SNMP? If so, it should be a reasonably straightforward exercise to write a script to poll and pull into Nagios. If it does not, then your task may prove to be more difficult... Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Kaushal Patel [mailto:kaushalpatel at gmail.com] Sent: January 14, 2005 9:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring Power With Nagios Hello All, I have a question. So far I've seen that Nagios is used mostly for network monitoring only. What I wanted to know is, is it possible to display the electrical quantities like power, voltage, current etc with Nagios ? For this, I've an energy meter with a webserver on board and it can connect to ethernet. So, with the use of Nagios can we display these results on WWW remotely ? More precisely, what I plan to do is display those quantities in a manner similar to some online energy montioring services available. However those are very costly, whereas the very fundamental logic of Nagios is monitoring for free, but this time electrical parameters. I hope I've mentioned clearly without any confusion and hoping to expect some detailed suggestions. Thanks, Kaushal Patel MSEE, The State University of New York at Buffalo 90 Cornell Street Buffalo, NY 14214 Ph: 716-836-5674 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cornelius.koelbel at lsexperts.de Mon Jan 17 16:34:57 2005 From: cornelius.koelbel at lsexperts.de (=?ISO-8859-1?Q?Cornelius_K=F6lbel?=) Date: Mon, 17 Jan 2005 16:34:57 +0100 Subject: Host is still check, although it does no longer appear in the configs In-Reply-To: <41EB7D3E.6010609@op5.se> References: <41EB79E0.8060208@lsexperts.de> <41EB7D3E.6010609@op5.se> Message-ID: <41EBDB21.5040804@lsexperts.de> Cool thanks, now it works fine. Cornelius > > You have multiple Nagios processes running (it's a bug in the > init-script, I believe). > Run > /etc/init.d/nagios stop; killall -9 nagios; /etc/init.d/nagios start > and all will be well. > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From elmarvmo at gmail.com Mon Jan 17 16:20:35 2005 From: elmarvmo at gmail.com (Elmar van Mourik) Date: Mon, 17 Jan 2005 16:20:35 +0100 Subject: Monitoring Power With Nagios In-Reply-To: <60b4a87c050114182223035d42@mail.gmail.com> References: <60b4a87c050114182223035d42@mail.gmail.com> Message-ID: Allmost everything is possible. I created some scripts( on linux) to collect data from web pages. First, get the desired webpage to your naguios box with wget and filter out the data you want with grep and awk. Please be more precise so I can help. Elmar On Fri, 14 Jan 2005 21:22:39 -0500, Kaushal Patel wrote: > Hello All, > > I have a question. So far I've seen that Nagios is used mostly for > network monitoring only. What I wanted to know is, is it possible to > display the electrical quantities like power, voltage, current etc > with Nagios ? > > For this, I've an energy meter with a webserver on board and it can > connect to ethernet. So, with the use of Nagios can we display these > results on WWW remotely ? More precisely, what I plan to do is display > those quantities in a manner similar to some online energy montioring > services available. However those are very costly, whereas the very > fundamental logic of Nagios is monitoring for free, but this time > electrical parameters. > > I hope I've mentioned clearly without any confusion and hoping to > expect some detailed suggestions. > > Thanks, > Kaushal Patel > MSEE, The State University of New York at Buffalo > 90 Cornell Street > Buffalo, NY 14214 > Ph: 716-836-5674 > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andy at strugglers.net Mon Jan 17 17:08:44 2005 From: andy at strugglers.net (Andy Smith) Date: Mon, 17 Jan 2005 16:08:44 +0000 Subject: multiple IPs for a host? Message-ID: <20050117160844.GA99565@caffreys.strugglers.net> Hi, We have a production network and a management network, with all our administrative traffic going over the management network and every production server having at least two interfaces. We don't want to have nagios only monitor across one of the networks though, because then we run the risk (however minor) of a network problem isolating all our servers from the outside world while nagios happily reaches them over the management network and does not warn us. So, what I would like to do is have nagios ping the production IP but do all the other service checks over the management IP. Is it possible to define a host as having two addresses and have nagios ping one but do service checks on the other? Or will every host need to be split into two hosts so that one of them can have the production address and be set as parent for all the others? Cheers, Andy -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From NIWestmancoat at somerset.gov.uk Mon Jan 17 18:12:05 2005 From: NIWestmancoat at somerset.gov.uk (Nick Westmancoat) Date: Mon, 17 Jan 2005 17:12:05 -0000 Subject: Solaris make utils.o Message-ID: <11E5B86B4CF37346819100DFE3ACCC9E01978589@EXCHANGEVS1.somerset.gov.uk> I have just compiled nagios 2.2 on solaris 9. cd ./base && gmake gmake[1]: Entering directory `/export/home/source/nagios-2.0b1/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o notifications.o sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o -lm -lnsl -lsocket -lpthread -ldl -lrt Undefined first referenced symbol in file setenv utils.o unsetenv utils.o ld: fatal: Symbol referencing errors. No output written to nagios collect2: ld returned 1 exit status gmake[1]: *** [nagios] Error 1 gmake[1]: Leaving directory `/export/home/source/nagios-2.0b1/base' gmake: *** [all] Error 2 To fix this comment out the two lines in utils.c containing setenv and unsetenv with /* eg. /* setenv make clean ./configure make all I was looking to post this as a bug but cannot find the right place. If anyone knows please forward this. Thanks Nick This communication is intended solely for the person (s) or organisation to whom it is addressed. It may contain privileged and confidential information and if you are not the intended recipient (s), you must not copy, distribute or take any action in reliance on it. If you have received this e-mail in error please notify the sender and copy the message to ICTDHelp at somerset.gov.uk Individuals are advised that by replying to, or sending an e-mail message to Somerset County Council, you accept that you have no explicit or implicit expectation of privacy. In line with the Surveillance and Monitoring Policy, any e-mail messages (and attachments) transmitted over the Council's network may be subject to scrutiny. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dmaher at acetechnology.com Mon Jan 17 17:45:19 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Mon, 17 Jan 2005 11:45:19 -0500 Subject: alerts for a service that is not defined anymore..? Message-ID: Hello all, I'm currently receiving alerts for a service that no longer exists, and is no longer defined in Nagios. I commented out the service entry in services.cfg, and restarted (clean, not HUP) the Nagios process. The service is not visible in any part of the web interface, and all traces of it in the configuration files are commented out; yet, I am still receiving alerts every 10 minutes about the fact that the service is in a critical state. Any ideas? I'm getting tired of deleting these alerts. :( Daniel Maher System Engineer ACE TECHNOLOGY INC. 100, boul. Alexis-Nihon, suite 593 St-Laurent (Qu?bec) H4M 2P1 Tel: 514-485-2307 Fax: 514-485-3494 dmaher at acetechnology.com www.acetechnology.com ? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Mon Jan 17 17:59:06 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Mon, 17 Jan 2005 10:59:06 -0600 Subject: multiple IPs for a host? In-Reply-To: <20050117160844.GA99565@caffreys.strugglers.net> References: <20050117160844.GA99565@caffreys.strugglers.net> Message-ID: <1105981147.14789.71.camel@localhost> On Mon, 2005-01-17 at 10:08 -0600, Andy Smith wrote: > We have a production network and a management network, with all our > administrative traffic going over the management network and every > production server having at least two interfaces. If there's a consistent "system" of addressing (like, if internal is 10.0.0.123, external is 4.5.6.123) it wouldn't be hard to write a "check external interface" wrapper for check_tcp or check_ping. Just pass it the $HOSTADDRESS$ and do some math/regex on it. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From loyd at cyber.kodak.com Mon Jan 17 18:10:19 2005 From: loyd at cyber.kodak.com (Eric Loyd) Date: Mon, 17 Jan 2005 12:10:19 -0500 Subject: multiple IPs for a host? In-Reply-To: <20050117160844.GA99565@caffreys.strugglers.net> References: <20050117160844.GA99565@caffreys.strugglers.net> Message-ID: <41EBF17B.5080406@cyber.kodak.com> If your machines are consistently named BOX and BOX-MGT (or something like that) you can teach your ping script to ping $HOSTADDRESS$-MGT, which means you don't have to do anything other than add services to BOX. Or vice-versa. Whatever is appropriate. If your machines are not consistently named, you could make your check-host-alive be a script which does a table lookup of some sort to get the appropriate name to ping and continue on that way. Nagios need never know there are two interfaces unless you want it to know . Andy Smith wrote: >Hi, > >We have a production network and a management network, with all our >administrative traffic going over the management network and every >production server having at least two interfaces. > >We don't want to have nagios only monitor across one of the networks >though, because then we run the risk (however minor) of a network >problem isolating all our servers from the outside world while >nagios happily reaches them over the management network and does not >warn us. > >So, what I would like to do is have nagios ping the production IP >but do all the other service checks over the management IP. > >Is it possible to define a host as having two addresses and have >nagios ping one but do service checks on the other? Or will every >host need to be split into two hosts so that one of them can have >the production address and be set as parent for all the others? > >Cheers, >Andy > > -- Eric Loyd loyd at cyber.kodak.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Mon Jan 17 18:43:52 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Mon, 17 Jan 2005 11:43:52 -0600 Subject: alerts for a service that is not defined anymore..? In-Reply-To: References: Message-ID: <1105983832.14789.75.camel@localhost> On Mon, 2005-01-17 at 10:45 -0600, Daniel maher wrote: > I'm currently receiving alerts for a service that no longer exists, > and is no longer defined in Nagios. I commented out the service entry > in services.cfg, and restarted (clean, not HUP) the Nagios process. > The service is not visible in any part of the web interface, and all > traces of it in the configuration files are commented out; yet, I am > still receiving alerts every 10 minutes about the fact that the > service is in a critical state. If you stop nagios (not restart) is there a lingering "zombie" nagios process? You need to kill -9 it. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From srunschke at abit.de Mon Jan 17 18:45:59 2005 From: srunschke at abit.de (Sascha Runschke) Date: Mon, 17 Jan 2005 18:45:59 +0100 Subject: Antwort: alerts for a service that is not defined anymore..? [Virus scanned] Message-ID: That question has just been answered today... Do a: /etc/init.d/nagios stop && killall -9 nagios && /etc/init.d/nagios start And you will be fine. regards sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. "Daniel maher" Gesendet von: nagios-users-admin at lists.sourceforge.net 17.01.2005 17:45 An: Kopie: Thema: [Nagios-users] alerts for a service that is not defined anymore..? [Virus scanned] Hello all, I'm currently receiving alerts for a service that no longer exists, and is no longer defined in Nagios. I commented out the service entry in services.cfg, and restarted (clean, not HUP) the Nagios process. The service is not visible in any part of the web interface, and all traces of it in the configuration files are commented out; yet, I am still receiving alerts every 10 minutes about the fact that the service is in a critical state. Any ideas? I'm getting tired of deleting these alerts. :( Daniel Maher System Engineer ACE TECHNOLOGY INC. 100, boul. Alexis-Nihon, suite 593 St-Laurent (Qu?bec) H4M 2P1 Tel: 514-485-2307 Fax: 514-485-3494 dmaher at acetechnology.com www.acetechnology.com ? -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmaher at acetechnology.com Mon Jan 17 19:04:24 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Mon, 17 Jan 2005 13:04:24 -0500 Subject: alerts for a service that is not defined anymore..? Message-ID: Well, that was it! I can't believe I didn't notice that - chalk it up to Monday I guess. Thanks for the (obvious) help. :) Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: January 17, 2005 12:41 PM To: Daniel maher; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] alerts for a service that is not defined anymore..? This is a classic symptom of having multiple Nagios processes running or of a failed restart. Are you sure the restart worked? I'd suggest you stop Nagios, use ps to verify that all processes are stopped, kill any that remain and restart Nagios. -- Marc -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jan 17 18:41:10 2005 From: marc at ena.com (Marc Powell) Date: Mon, 17 Jan 2005 11:41:10 -0600 Subject: alerts for a service that is not defined anymore..? Message-ID: <349555FA607F3A4CBDA9326035D1A7FC836253@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Daniel maher > Sent: Monday, January 17, 2005 10:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] alerts for a service that is not defined > anymore..? > > Hello all, > > I'm currently receiving alerts for a service that no longer exists, and is > no longer defined in Nagios. I commented out the service entry in > services.cfg, and restarted (clean, not HUP) the Nagios process. The > service is not visible in any part of the web interface, and all traces of > it in the configuration files are commented out; yet, I am still receiving > alerts every 10 minutes about the fact that the service is in a critical > state. > > Any ideas? I'm getting tired of deleting these alerts. :( This is a classic symptom of having multiple Nagios processes running or of a failed restart. Are you sure the restart worked? I'd suggest you stop Nagios, use ps to verify that all processes are stopped, kill any that remain and restart Nagios. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kjohnson at vateatea.as Mon Jan 17 20:30:47 2005 From: kjohnson at vateatea.as (Kyle Johnson) Date: Mon, 17 Jan 2005 08:30:47 -1100 Subject: Alerts not filling in Date/Time or "Additional Info" In-Reply-To: References: Message-ID: All- I've just installed Nagios 2.0b1 on a RHEL 3.xx server (32 bit) It appears that the alerts aren't able to pull their values properly, as when I get alerts from this server, they look like this... (note Date/Time and Additional Info:) ***** Nagios ***** Notification Type: PROBLEM Service: Load Host: Someserver.mydomain.tld Address: Someserver.mydomain.tld State: CRITICAL Date/Time: $ Additional Info: $ Anybody got a quick fix for me? Many thanks! Kyle ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From benny at bennyvision.com Mon Jan 17 20:21:14 2005 From: benny at bennyvision.com (C. Bensend) Date: Mon, 17 Jan 2005 13:21:14 -0600 (CST) Subject: Antwort: alerts for a service that is not defined anymore..? [Virus scanned] In-Reply-To: References: Message-ID: <2577.134.244.169.17.1105989674.squirrel@134.244.169.17> > That question has just been answered today... > Do a: > > /etc/init.d/nagios stop && killall -9 nagios && /etc/init.d/nagios start > > And you will be fine. Be sure to verify what platform the OP is running before recommending 'killall' - it doesn't mean what you think it does, on say, AIX. :) Benny -- "I'm on the Zoloft to keep from killing y'all." -- Mike Tyson ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bob at cdsinc.com Mon Jan 17 20:54:58 2005 From: bob at cdsinc.com (Bob Cunningham) Date: Mon, 17 Jan 2005 09:54:58 -1000 Subject: Solaris make utils.o In-Reply-To: <11E5B86B4CF37346819100DFE3ACCC9E01978589@EXCHANGEVS1.somerset.gov.uk> References: <11E5B86B4CF37346819100DFE3ACCC9E01978589@EXCHANGEVS1.somerset.gov.uk> Message-ID: Same thing here (setenv/unsetenv problem with nagios 2.x on Solaris 9). What I did was cut & paste those trivial functions from: http://article.gmane.org/gmane.network.nagios.devel/1443 ... and added those into base/utils.c of nagios 2.2. To be precise, here is a diff of base/utils.c for you: 225,236d224 < int setenv(const char *name, const char *value, int overwrite) { < if (!overwrite && getenv(name) != NULL) < return 0; < char* e = malloc(strlen(name) + strlen(value) + 3); < if (e == NULL) return -1; < *e = 0; < strcat(e, name); < strcat(e, "="); < strcat(e, value); < return putenv(e); < // should not free e, and we can't safely free any former value. < } 238,249d225 < /* see < http://viewcvs.globus.org/viewcvs.cgi/gatekeeper/source/unsetenv.c? rev=HEAD&content-type=text/vnd.viewcvs-markup < */ < static char * < __findenv(name, offset) < register const char *name; < long *offset; < { < extern char **environ; < register int len; < register const char *np; < register char **p, *c; 251,279d226 < if (name == NULL || environ == NULL) < return (NULL); < for (np = name; *np && *np != '='; ++np) < continue; < len = np - name; < for (p = environ; (c = *p) != NULL; ++p) < if (strncmp(c, name, len) == 0 && c[len] == '=') { < *offset = (long)(p - environ); < return (c + len + 1); < } < return (NULL); < } < void < unsetenv(name) < const char *name; < { < extern char **environ; < register char **p; < long offset; < < while (__findenv(name, &offset)) /* if set multiple times */ < for (p = &environ[offset];; ++p) < if (!(*p = *(p + 1))) < break; < } < < < < ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From naman.latif at inamed.com Mon Jan 17 20:28:46 2005 From: naman.latif at inamed.com (Naman Latif) Date: Mon, 17 Jan 2005 11:28:46 -0800 Subject: Host Dependencies and Recovery Notifications Message-ID: <7BEA54411F802C4CB84E72EB6AD509F612B8F4@sigma.inamed.com> Hi, With the Host Dependencies defined the Failure notifications are successfully suppressed as desired. However the Recovery Notifications for dependents are still sent out. Is there a way to fix this ? I cannot disable the notifications for dependents as that means that No notifications will be sent, when just that particular dependent host goes down. Thanks \\ Naman ? ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Mon Jan 17 22:24:15 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Mon, 17 Jan 2005 15:24:15 -0600 Subject: Alerts not filling in Date/Time or "Additional Info" In-Reply-To: References: Message-ID: <1105997056.14789.87.camel@localhost> As has been discussed, at length, the Macros have changed. Check out the archives and/or the docs of the latest CVS. On Mon, 2005-01-17 at 13:30 -0600, Kyle Johnson wrote: > All- > > I've just installed Nagios 2.0b1 on a RHEL 3.xx server (32 bit) > > It appears that the alerts aren't able to pull their values properly, > as > when I get alerts from this server, they look like this... (note > Date/Time > and Additional Info:) > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: Load > Host: Someserver.mydomain.tld > Address: Someserver.mydomain.tld > State: CRITICAL > > Date/Time: $ > > Additional Info: > > $ > > Anybody got a quick fix for me? > > Many thanks! > > Kyle > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dmaher at acetechnology.com Mon Jan 17 22:26:01 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Mon, 17 Jan 2005 16:26:01 -0500 Subject: Alerts not filling in Date/Time or "Additional Info" Message-ID: Yep, the macro keywords in 2.x changed (they're better now! :) ). http://nagios.sourceforge.net/docs/2_0/macros.html You'll need to adjust your misccommands.cfg to reflect the new macros. Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Kyle Johnson [mailto:kjohnson at vateatea.as] Sent: January 17, 2005 2:31 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Alerts not filling in Date/Time or "Additional Info" All- I've just installed Nagios 2.0b1 on a RHEL 3.xx server (32 bit) It appears that the alerts aren't able to pull their values properly, as when I get alerts from this server, they look like this... (note Date/Time and Additional Info:) ***** Nagios ***** Notification Type: PROBLEM Service: Load Host: Someserver.mydomain.tld Address: Someserver.mydomain.tld State: CRITICAL Date/Time: $ Additional Info: $ Anybody got a quick fix for me? Many thanks! Kyle ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jan 17 23:07:52 2005 From: marc at ena.com (Marc Powell) Date: Mon, 17 Jan 2005 16:07:52 -0600 Subject: Alerts not filling in Date/Time or "Additional Info" Message-ID: <349555FA607F3A4CBDA9326035D1A7FC8362A4@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Kyle Johnson > Sent: Monday, January 17, 2005 1:31 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Alerts not filling in Date/Time or "Additional > Info" > > All- > > I've just installed Nagios 2.0b1 on a RHEL 3.xx server (32 bit) > > It appears that the alerts aren't able to pull their values properly, as > when I get alerts from this server, they look like this... (note Date/Time > and Additional Info:) > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: Load > Host: Someserver.mydomain.tld > Address: Someserver.mydomain.tld > State: CRITICAL > > Date/Time: $ > > Additional Info: > > $ > > Anybody got a quick fix for me? Look at your service-notify-by-email command and make sure you're using the correct macros and they're in the same format as the others that do work -- http://nagios.sourceforge.net/docs/2_0/macros.html If you don't see a discrepancy, post the command definition here so we don't have to guess. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jfountain at rbinc.com Tue Jan 18 00:55:44 2005 From: jfountain at rbinc.com (Jennifer Fountain) Date: Mon, 17 Jan 2005 18:55:44 -0500 Subject: Escalations Issues Message-ID: <263BA4045D3FA84D9C1B09F5F959B9B6060153AA@picasso.rb.net> I am having escalations issues that have been making my eyes roll back into my head. All was working fine up until a couple weeks ago and I cannot figure out way. Here is a copy of my escalation.cfg (hostnames were removed) define hostgroupescalation{ name Zeroeth_Escalation first_notification 1 last_notification 2 notification_interval 10 register 0 } define hostgroupescalation{ name First_Escalation contact_groups FYI-Contacts,First_Escalation_Contacts first_notification 3 last_notification 5 notification_interval 10 register 0 } define hostgroupescalation{ name Second_Escalation contact_groups Second_Escalation_Contacts first_notification 6 last_notification 0 notification_interval 10 register 0 } define hostgroupescalation{ name First_Fax_Escalation contact_groups Net_Admins first_notification 3 last_notification 0 notification_interval 10 register 0 } define hostgroupescalation{ name First_Clock_Escalation contact_groups Colmar_Clock_Contacts first_notification 1 last_notification 1 notification_interval 0 register 0 } define hostgroupescalation{ name Helpdesk_Escalation contact_groups Helpdesk_Contacts first_notification 1 last_notification 1 notification_interval 0 register 0 } # Real Escalations For Host Alerts define hostgroupescalation{ name Windows_Zeroeth_Escalation contact_groups Windows_Primary_Contacts hostgroup_name hostgrp1 use Zeroeth_Escalation } define hostgroupescalation{ name Network_Zeroeth_Escalation contact_groups Network_Primary_Contacts hostgroup_name hostgrp1 use Zeroeth_Escalation } define hostgroupescalation{ hostgroup_name hostgrp1 use First_Escalation } define hostgroupescalation{ hostgroup_name hostgrp1 use Second_Escalation } define hostgroupescalation{ hostgroup_name Colmar_Fax contact_groups Colmar_Fax_Contacts use Zeroeth_Escalation } define hostgroupescalation{ hostgroup_name Colmar_Fax use First_Fax_Escalation } define hostgroupescalation{ hostgroup_name Time_Clocks use First_Clock_Escalation } define hostgroupescalation{ hostgroup_name helpdesk_alert_hosts use Helpdesk_Escalation } # # # Service Escalation Templates # Note: This template is used for multiple Contact Groups define serviceescalation{ name Zeroeth_Escalation_Service service_description * first_notification 1 last_notification 2 notification_interval 10 register 0 } # Note: Theses templates are used for the contact groups listed only define serviceescalation{ name First_Escalation_Service service_description * contact_groups FYI-Contacts,First_Escalation_Contacts first_notification 3 last_notification 5 notification_interval 10 register 0 } define serviceescalation{ name Second_Escalation_Service service_description * contact_groups Second_Escalation_Contacts first_notification 6 last_notification 0 notification_interval 10 register 0 } define serviceescalation{ name First_Fax_Escalation_Service service_description * contact_groups Net_Admins first_notification 3 last_notification 0 notification_interval 10 register 0 } define serviceescalation{ name First_Clock_Escalation_Service service_description * contact_groups Colmar_Clock_Contacts first_notification 1 last_notification 1 notification_interval 0 register 0 } define serviceescalation{ name Helpdesk_Escalation_Service service_description * contact_groups Helpdesk_Contacts first_notification 1 last_notification 1 notification_interval 0 register 0 } define serviceescalation{ name App_Escalation_Service service_description * contact_groups FYI-Contacts first_notification 1 last_notification 0 notification_interval 10 register 0 } # Real Service Escalations define serviceescalation{ name Windows_Zeroeth_Escalation_Service contact_groups Windows_Primary_Contacts hostgroup_name hostgrp1 use Zeroeth_Escalation_Service } define serviceescalation{ name Network_Zeroeth_Escalation_Service contact_groups Network_Primary_Contacts hostgroup_name hostgrp1 use Zeroeth_Escalation_Service } define serviceescalation{ hostgroup_name hostgrp1 use First_Escalation_Service } define serviceescalation{ hostgroup_name Hostgrp1 use Second_Escalation_Service } define serviceescalation{ hostgroup_name Fax use First_Fax_Escalation_Service } define serviceescalation{ hostgroup_name Time_Clocks use First_Clock_Escalation_Service } define serviceescalation{ host_name * use Helpdesk_Escalation_Service } Any direction would be great. My eyes have become crossed! Thanks in advance. Kind Regards, Jennifer Fountain Systems Administrator/Security R&B Distribution 3400 E Walnut Street Colmar, PA 18915 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios-u-rb at bossecker.de Tue Jan 18 00:50:43 2005 From: nagios-u-rb at bossecker.de (Robert Bossecker) Date: Tue, 18 Jan 2005 00:50:43 +0100 Subject: multiple IPs for a host? In-Reply-To: <20050117160844.GA99565@caffreys.strugglers.net> References: <20050117160844.GA99565@caffreys.strugglers.net> Message-ID: <41EC4F53.4030408@bossecker.de> Hi, in the past i had to check multi homed hosts as well cause we had the same problems :-) internal network works and some other important interfaces were not reachable, i wrote a script which retrieves all address records for that name from the DNS and pings all of them, unfortunately the script is not longer available, but it worked like doing a gethostbyname and and doing a loop over the complete address array doing pings, so one failed ping should raise a CRITICAL error. I will scan my disks if i will find some of those code. Regards Robert Andy Smith wrote: >Hi, > >We have a production network and a management network, with all our >administrative traffic going over the management network and every >production server having at least two interfaces. > >We don't want to have nagios only monitor across one of the networks >though, because then we run the risk (however minor) of a network >problem isolating all our servers from the outside world while >nagios happily reaches them over the management network and does not >warn us. > >So, what I would like to do is have nagios ping the production IP >but do all the other service checks over the management IP. > >Is it possible to define a host as having two addresses and have >nagios ping one but do service checks on the other? Or will every >host need to be split into two hosts so that one of them can have >the production address and be set as parent for all the others? > >Cheers, >Andy > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jfountain at rbinc.com Tue Jan 18 01:57:19 2005 From: jfountain at rbinc.com (Jennifer Fountain) Date: Mon, 17 Jan 2005 19:57:19 -0500 Subject: Escalations Issues - resend Message-ID: <263BA4045D3FA84D9C1B09F5F959B9B6050D517D@picasso.rb.net> I am having escalations issues that have been making my eyes roll back into my head. All was working fine up until a couple weeks ago and I cannot figure out way. More information - if a host or service goes down, one email is sent to the primary contact but nothing else. So, I am getting notified. Here is a copy of my escalation.cfg (hostnames were removed) define hostgroupescalation{ name Zeroeth_Escalation first_notification 1 last_notification 2 notification_interval 10 register 0 } define hostgroupescalation{ name First_Escalation contact_groups FYI-Contacts,First_Escalation_Contacts first_notification 3 last_notification 5 notification_interval 10 register 0 } define hostgroupescalation{ name Second_Escalation contact_groups Second_Escalation_Contacts first_notification 6 last_notification 0 notification_interval 10 register 0 } define hostgroupescalation{ name First_Fax_Escalation contact_groups Net_Admins first_notification 3 last_notification 0 notification_interval 10 register 0 } define hostgroupescalation{ name First_Clock_Escalation contact_groups Colmar_Clock_Contacts first_notification 1 last_notification 1 notification_interval 0 register 0 } define hostgroupescalation{ name Helpdesk_Escalation contact_groups Helpdesk_Contacts first_notification 1 last_notification 1 notification_interval 0 register 0 } # Real Escalations For Host Alerts define hostgroupescalation{ name Windows_Zeroeth_Escalation contact_groups Windows_Primary_Contacts hostgroup_name hostgrp1 use Zeroeth_Escalation } define hostgroupescalation{ name Network_Zeroeth_Escalation contact_groups Network_Primary_Contacts hostgroup_name hostgrp1 use Zeroeth_Escalation } define hostgroupescalation{ hostgroup_name hostgrp1 use First_Escalation } define hostgroupescalation{ hostgroup_name hostgrp1 use Second_Escalation } define hostgroupescalation{ hostgroup_name Colmar_Fax contact_groups Colmar_Fax_Contacts use Zeroeth_Escalation } define hostgroupescalation{ hostgroup_name Colmar_Fax use First_Fax_Escalation } define hostgroupescalation{ hostgroup_name Time_Clocks use First_Clock_Escalation } define hostgroupescalation{ hostgroup_name helpdesk_alert_hosts use Helpdesk_Escalation } # # # Service Escalation Templates # Note: This template is used for multiple Contact Groups define serviceescalation{ name Zeroeth_Escalation_Service service_description * first_notification 1 last_notification 2 notification_interval 10 register 0 } # Note: Theses templates are used for the contact groups listed only define serviceescalation{ name First_Escalation_Service service_description * contact_groups FYI-Contacts,First_Escalation_Contacts first_notification 3 last_notification 5 notification_interval 10 register 0 } define serviceescalation{ name Second_Escalation_Service service_description * contact_groups Second_Escalation_Contacts first_notification 6 last_notification 0 notification_interval 10 register 0 } define serviceescalation{ name First_Fax_Escalation_Service service_description * contact_groups Net_Admins first_notification 3 last_notification 0 notification_interval 10 register 0 } define serviceescalation{ name First_Clock_Escalation_Service service_description * contact_groups Colmar_Clock_Contacts first_notification 1 last_notification 1 notification_interval 0 register 0 } define serviceescalation{ name Helpdesk_Escalation_Service service_description * contact_groups Helpdesk_Contacts first_notification 1 last_notification 1 notification_interval 0 register 0 } define serviceescalation{ name App_Escalation_Service service_description * contact_groups FYI-Contacts first_notification 1 last_notification 0 notification_interval 10 register 0 } # Real Service Escalations define serviceescalation{ name Windows_Zeroeth_Escalation_Service contact_groups Windows_Primary_Contacts hostgroup_name hostgrp1 use Zeroeth_Escalation_Service } define serviceescalation{ name Network_Zeroeth_Escalation_Service contact_groups Network_Primary_Contacts hostgroup_name hostgrp1 use Zeroeth_Escalation_Service } define serviceescalation{ hostgroup_name hostgrp1 use First_Escalation_Service } define serviceescalation{ hostgroup_name Hostgrp1 use Second_Escalation_Service } define serviceescalation{ hostgroup_name Fax use First_Fax_Escalation_Service } define serviceescalation{ hostgroup_name Time_Clocks use First_Clock_Escalation_Service } define serviceescalation{ host_name * use Helpdesk_Escalation_Service } Any direction would be great. My eyes have become crossed! Thanks in advance. Kind Regards, Jennifer Fountain Systems Administrator/Security R&B Distribution 3400 E Walnut Street Colmar, PA 18915 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From AlOclarit at aol.com Tue Jan 18 02:43:20 2005 From: AlOclarit at aol.com (AlOclarit at aol.com) Date: Mon, 17 Jan 2005 20:43:20 -0500 Subject: net appfiler icons Message-ID: <54FFDB1A.05890FFC.021D000F@aol.com> this is just a cosmetic thing but for some reason my netapp filer icons appear everywhere fine except in the status map. There I get every other icon but for the filers I get a ?. Funny thing is when I hoover the mouse over it to see the details the icon appears in there. Weird or what ? I'm running gentoo with nagios 1.2 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From amontibello at gmail.com Tue Jan 18 06:39:49 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 18 Jan 2005 00:39:49 -0500 Subject: multiple IPs for a host? In-Reply-To: <20050117160844.GA99565@caffreys.strugglers.net> References: <20050117160844.GA99565@caffreys.strugglers.net> Message-ID: We are doing something similar at my company by defining a second check_ping service check in the checkcommands.cfg command_name check_ping2 command_line $USER1$/check_ping -H $ARG1$ -w $ARG2$ -c $ARG3$ -p 3 instead of just using check_ping with the $HostAddress$ it uses whatever IP you pass to it. From your description it sounds like you do not want to modify your host IP, because your host would not be down on a failed ping, the interface to the production network may be down but not the host. (Host checks are only executed if a service check fails so having the check in a host check only will not help if all the services on the management network are in an OK state when the production IP goes down) The disadvantage of adding a second ping service check like this is more typing and more prone for inconsistencies if things change on the network. However the advantage is you can have as many ping checks registered to a single host as you want. (Using this also assumes that your nagios server is also on both networks.) Another alternative solution might be to have your production hosts do a passive check ping to their router or firewall and send that result to the nagios server to be monitored. Good Luck Tony On Mon, 17 Jan 2005 16:08:44 +0000, Andy Smith wrote: > Hi, > > We have a production network and a management network, with all our > administrative traffic going over the management network and every > production server having at least two interfaces. > > We don't want to have nagios only monitor across one of the networks > though, because then we run the risk (however minor) of a network > problem isolating all our servers from the outside world while > nagios happily reaches them over the management network and does not > warn us. > > So, what I would like to do is have nagios ping the production IP > but do all the other service checks over the management IP. > > Is it possible to define a host as having two addresses and have > nagios ping one but do service checks on the other? Or will every > host need to be split into two hosts so that one of them can have > the production address and be set as parent for all the others? > > Cheers, > Andy > > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Philipp.Sand at sycor.de Tue Jan 18 09:40:54 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 18 Jan 2005 09:40:54 +0100 Subject: Problem with check_http Plugin Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C95A5@SYGOMAIL.GOE.AD.SYCOR.DE> Hi list, I got a little Problem with the check_http Plugin. I'm using it, to check, if our Remoteboards are available via HTTP. Problem is, that the check is working with some of the Remoteboards, but not with all. Here's the Output: # check_http -I 192.168.19.29 -v GET / HTTP/1.0 User-Agent: check_http/1.60 (nagios-plugins 1.4.0alpha2) CRITICAL - Socket timeout after 10 seconds When I do a simple telnet on Port 80 it looks like that: # telnet 192.168.19.29 80 Trying 192.168.19.29... Connected to 192.168.19.29. Escape character is '^]'. Get test HTTP/1.1 405 Method Not Allowed Content-Type:text/html Remote Insight

Request Error

HTTP/1.1 405 Method Not Allowed Connection closed by foreign host. Is it possible, that there is a Problem with HTTP/1.1 and the check_http Plugin? Thanks in advance! Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ovig.degrouard at jouy.inra.fr Tue Jan 18 10:11:27 2005 From: ovig.degrouard at jouy.inra.fr (Ovig Degrouard) Date: Tue, 18 Jan 2005 10:11:27 +0100 Subject: check_ping unknown Message-ID: <41ECD2BF.7080201@jouy.inra.fr> Hello, I have this message in service detail. Connectivity : UNKNOWN 01-18-2005 09:54:16 0d 20h 41m 39s 1/3 /bin/ping -n -U -w 10 -c 5 138.122.22.222 This is my file services.cfg define service { use generic-service hostgroup_name localhost-servers service_description Connectivity is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups localhost-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } I don't understand because the command /bin/ping -n -U -w 10 -c 5 138.122.22.222 works but Nagios shows an unknown status. Thank you, O. Degrouard ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jan 18 10:56:42 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 18 Jan 2005 10:56:42 +0100 Subject: multiple IPs for a host? In-Reply-To: <41EC4F53.4030408@bossecker.de> References: <20050117160844.GA99565@caffreys.strugglers.net> <41EC4F53.4030408@bossecker.de> Message-ID: <41ECDD5A.3000008@op5.se> Robert Bossecker wrote: > Hi, > > in the past i had to check multi homed hosts as well cause we had the > same problems :-) internal network works and > some other important interfaces were not reachable, i wrote a script > which retrieves all address records > for that name from the DNS and pings all of them, unfortunately the > script is not longer available, The replacement for check_icmp, which will be ready to roll in 3 or 4 days has the ability to do this. > > but it worked like doing a gethostbyname and and doing a loop over the > complete address array > doing pings, so one failed ping should raise a CRITICAL error. > I will scan my disks if i will find some of those code. > > Regards > Robert > > Andy Smith wrote: > >> Hi, >> >> We have a production network and a management network, with all our >> administrative traffic going over the management network and every >> production server having at least two interfaces. >> >> We don't want to have nagios only monitor across one of the networks >> though, because then we run the risk (however minor) of a network >> problem isolating all our servers from the outside world while >> nagios happily reaches them over the management network and does not >> warn us. >> >> So, what I would like to do is have nagios ping the production IP >> but do all the other service checks over the management IP. >> >> Is it possible to define a host as having two addresses and have >> nagios ping one but do service checks on the other? Or will every >> host need to be split into two hosts so that one of them can have >> the production address and be set as parent for all the others? >> >> Cheers, >> Andy >> >> > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sjoy at peavey-eu.com Tue Jan 18 10:32:23 2005 From: sjoy at peavey-eu.com (Stephen Joy) Date: Tue, 18 Jan 2005 09:32:23 +0000 Subject: Not authorized to add comments Message-ID: Hi, When i try to add a comment to a host or service i get this error. "Sorry, but you are not authorized to commit the specified command." I am loging in as nagiosadmin. In my cgi.cfg among others i have; authorized_for_system_commands=nagiosadmin authorized_for_all_service_commands=naigosadmin authorized_for_all_host_commands=nagiosadmin which i thought would be enough. also i did a make install-commandmode which seemed to go ok. Any ideas would be great. Thanks. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carsten.Schmitz at aegon.com Tue Jan 18 11:17:45 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Tue, 18 Jan 2005 11:17:45 +0100 Subject: check_ping unknown Message-ID: <49977F7CEA035C46A2D47108CE0F032F014153@ANGELIA.aegon.com> Hi, Please post your checkcommands.cfg entry on check_ping, too. Are you using /bin/ping from checkcommands.cfg instead of the check_ping or check_icmp plugins? If yes, any specific reason? I dunno, could be that the combination of -w 10 and -c 5 makes Nagios think there's a timeout before your ping command finishes? Did you try lower values? When you say the command works on the shell, did you do that as the same user that Nagios runs as? Cheers Carsten -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Ovig Degrouard Sent: Tuesday, January 18, 2005 10:11 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_ping unknown Hello, I have this message in service detail. Connectivity : UNKNOWN 01-18-2005 09:54:16 0d 20h 41m 39s 1/3 /bin/ping -n -U -w 10 -c 5 138.122.22.222 This is my file services.cfg define service { use generic-service hostgroup_name localhost-servers service_description Connectivity is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups localhost-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } I don't understand because the command /bin/ping -n -U -w 10 -c 5 138.122.22.222 works but Nagios shows an unknown status. Thank you, O. Degrouard ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jan 18 11:00:39 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 18 Jan 2005 11:00:39 +0100 Subject: Solaris make utils.o In-Reply-To: <11E5B86B4CF37346819100DFE3ACCC9E01978589@EXCHANGEVS1.somerset.gov.uk> References: <11E5B86B4CF37346819100DFE3ACCC9E01978589@EXCHANGEVS1.somerset.gov.uk> Message-ID: <41ECDE47.7070600@op5.se> Nick Westmancoat wrote: > I have just compiled nagios 2.2 on solaris 9. > An extraordinary feat considering Nagios 2.0 is still in beta. > cd ./base && gmake > gmake[1]: Entering directory `/export/home/source/nagios-2.0b1/base' > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o > checks.o config.o commands.o events.o flapping.o logging.o notifications.o > sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o > xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o > xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o > xdowntime-base.o -lm -lnsl -lsocket -lpthread -ldl -lrt > Undefined first referenced > symbol in file > setenv utils.o > unsetenv utils.o > ld: fatal: Symbol referencing errors. No output written to nagios > collect2: ld returned 1 exit status > gmake[1]: *** [nagios] Error 1 > gmake[1]: Leaving directory `/export/home/source/nagios-2.0b1/base' > gmake: *** [all] Error 2 > > > > To fix this comment out the two lines in utils.c containing setenv and > unsetenv with /* eg. > /* setenv > This is a known problem. Download latest CVS and try again. > make clean > ./configure > make all > > I was looking to post this as a bug but cannot find the right place. If > anyone knows please forward this. > That would be on the nagios-devel list. The issue has been solved, however, so there's no need ranting on about it. > Thanks > > Nick > > > This communication is intended solely for the person (s) or organisation to > whom it is addressed. It may contain privileged and confidential > information and if you are not the intended recipient (s), you must not > copy, distribute or take any action in reliance on it. If you have received > this e-mail in error please notify the sender and copy the message to > ICTDHelp at somerset.gov.uk > > Individuals are advised that by replying to, or sending an e-mail message to > Somerset County Council, you accept that you have no explicit or implicit > expectation of privacy. > > In line with the Surveillance and Monitoring Policy, any e-mail messages > (and attachments) transmitted over the Council's network may be subject to > scrutiny. > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jan 18 11:05:22 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 18 Jan 2005 11:05:22 +0100 Subject: net appfiler icons In-Reply-To: <54FFDB1A.05890FFC.021D000F@aol.com> References: <54FFDB1A.05890FFC.021D000F@aol.com> Message-ID: <41ECDF62.1000808@op5.se> AlOclarit at aol.com wrote: > this is just a cosmetic thing but for some reason my netapp filer > icons appear everywhere fine except in the status map. There I get > every other icon but for the filers I get a ?. Funny thing is when I > hoover the mouse over it to see the details the icon appears in > there. Weird or what ? > statusmap_image versus icon_image. Read the docs and then copy your icon_image value string to the statusmap_image variable. > I'm running gentoo with nagios 1.2 > > > > > ------------------------------------------------------- The SF.Net > email is sponsored by: Beat the post-holiday blues Get a FREE limited > edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- > well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ Nagios-users mailing > list Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hjp+nagios at wsr.ac.at Tue Jan 18 11:39:35 2005 From: hjp+nagios at wsr.ac.at (Peter J. Holzer) Date: Tue, 18 Jan 2005 11:39:35 +0100 Subject: multiple IPs for a host? In-Reply-To: <20050117160844.GA99565@caffreys.strugglers.net> References: <20050117160844.GA99565@caffreys.strugglers.net> Message-ID: <20050118103935.GT25155@wsr.ac.at> On 2005-01-17 16:08:44 +0000, Andy Smith wrote: > We have a production network and a management network, with all our > administrative traffic going over the management network and every > production server having at least two interfaces. [...] > So, what I would like to do is have nagios ping the production IP > but do all the other service checks over the management IP. Should those services be available only on the management network or also on the production network? In the latter case you probably should check them on the production network as well. Otherwise you won't notice if a service goes down only on the production network. hp -- _ | Peter J. Holzer | If the code is old but the problem is new |_|_) | Sysadmin WSR / LUGA | then the code probably isn't the problem. | | | hjp at wsr.ac.at | __/ | http://www.hjp.at/ | -- Tim Bunce on dbi-users, 2004-11-05 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 388 bytes Desc: not available URL: From Philipp.Sand at sycor.de Tue Jan 18 12:36:02 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 18 Jan 2005 12:36:02 +0100 Subject: Not authorized to add comments Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C95A9@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, Did you realize your spelling mistake there? authorized_for_all_service_commands=naigosadmin should be nagiosadmin I suppose ;) Regards, Philipp > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Stephen Joy > Sent: Tuesday, January 18, 2005 10:32 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Not authorized to add comments > > Hi, > > When i try to add a comment to a host or service i get this error. > > "Sorry, but you are not authorized to commit the specified command." > > I am loging in as nagiosadmin. > > In my cgi.cfg among others i have; > > authorized_for_system_commands=nagiosadmin > authorized_for_all_service_commands=naigosadmin > authorized_for_all_host_commands=nagiosadmin > > which i thought would be enough. > > also i did a make install-commandmode which seemed to go ok. > > Any ideas would be great. > > Thanks. > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From NIWestmancoat at somerset.gov.uk Tue Jan 18 13:18:51 2005 From: NIWestmancoat at somerset.gov.uk (Nick Westmancoat) Date: Tue, 18 Jan 2005 12:18:51 -0000 Subject: Solaris make utils.o Message-ID: <11E5B86B4CF37346819100DFE3ACCC9E0197858A@EXCHANGEVS1.somerset.gov.uk> Download latest CVS and try again? I'm am using 2.0b1 have you got a newer one? Thanks Nick This communication is intended solely for the person (s) or organisation to whom it is addressed. It may contain privileged and confidential information and if you are not the intended recipient (s), you must not copy, distribute or take any action in reliance on it. If you have received this e-mail in error please notify the sender and copy the message to ICTDHelp at somerset.gov.uk Individuals are advised that by replying to, or sending an e-mail message to Somerset County Council, you accept that you have no explicit or implicit expectation of privacy. In line with the Surveillance and Monitoring Policy, any e-mail messages (and attachments) transmitted over the Council's network may be subject to scrutiny. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jan 18 13:51:46 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 18 Jan 2005 13:51:46 +0100 Subject: Solaris make utils.o In-Reply-To: <11E5B86B4CF37346819100DFE3ACCC9E0197858A@EXCHANGEVS1.somerset.gov.uk> References: <11E5B86B4CF37346819100DFE3ACCC9E0197858A@EXCHANGEVS1.somerset.gov.uk> Message-ID: <41ED0662.1090104@op5.se> Nick Westmancoat wrote: > Download latest CVS and try again? > > I'm am using 2.0b1 have you got a newer one? > Yes. Latest CVS. The 2.0b1 release isn't by far the newest. www.sourceforge.net/projects/nagios for instructions on how to use the cvs command to your advantage. > Thanks > > Nick > > > > This communication is intended solely for the person (s) or organisation to > whom it is addressed. It may contain privileged and confidential > information and if you are not the intended recipient (s), you must not > copy, distribute or take any action in reliance on it. If you have received > this e-mail in error please notify the sender and copy the message to > ICTDHelp at somerset.gov.uk > > Individuals are advised that by replying to, or sending an e-mail message to > Somerset County Council, you accept that you have no explicit or implicit > expectation of privacy. > > In line with the Surveillance and Monitoring Policy, any e-mail messages > (and attachments) transmitted over the Council's network may be subject to > scrutiny. > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andy at strugglers.net Tue Jan 18 14:02:26 2005 From: andy at strugglers.net (Andy Smith) Date: Tue, 18 Jan 2005 13:02:26 +0000 Subject: multiple IPs for a host? In-Reply-To: <20050118103935.GT25155@wsr.ac.at> References: <20050117160844.GA99565@caffreys.strugglers.net> <20050118103935.GT25155@wsr.ac.at> Message-ID: <20050118130226.GE82728@caffreys.strugglers.net> On Tue, Jan 18, 2005 at 11:39:35AM +0100, Peter J. Holzer wrote: > On 2005-01-17 16:08:44 +0000, Andy Smith wrote: > > So, what I would like to do is have nagios ping the production IP > > but do all the other service checks over the management IP. > > Should those services be available only on the management network or > also on the production network? In the latter case you probably should > check them on the production network as well. Otherwise you won't notice > if a service goes down only on the production network. The thinking here is that we don't want all the service checks going over the production network, so as long as the production network IP is reachable and the services are all available over the management IP then we would assume that the services are also available over the production IP. Is this a reasonable assumption? Thanks for all the replies so far, btw. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From ovig.degrouard at jouy.inra.fr Tue Jan 18 14:44:26 2005 From: ovig.degrouard at jouy.inra.fr (Ovig Degrouard) Date: Tue, 18 Jan 2005 14:44:26 +0100 Subject: check_ping unknown In-Reply-To: <49977F7CEA035C46A2D47108CE0F032F014153@ANGELIA.aegon.com> References: <49977F7CEA035C46A2D47108CE0F032F014153@ANGELIA.aegon.com> Message-ID: <41ED12BA.3060807@jouy.inra.fr> Schmitz, Carsten wrote: >Hi, > >Please post your checkcommands.cfg entry on check_ping, too. > > This is the lines about check_ping in checkcommands.cfg # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } >Are you using /bin/ping from checkcommands.cfg instead of the check_ping or check_icmp plugins? If yes, any specific reason? > > I don't know which method I'm using to ping. I only know that service detail print this message: Connectivity : UNKNOWN 01-18-2005 09:54:16 0d 20h 41m 39s 1/3 /bin/ping -n -U -w 10 -c 5 138.122.22.222 >I dunno, could be that the combination of -w 10 and -c 5 makes Nagios think there's a timeout before your ping command finishes? Did you try lower values? When you say the command works on the shell, did you do that as the same user that Nagios runs as? > > I execute the command on a shell with root and I can ping. I don't understand why Nagios couldn't give me the OK status. >Cheers >Carsten > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Ovig >Degrouard >Sent: Tuesday, January 18, 2005 10:11 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] check_ping unknown > > >Hello, > > >I have this message in service detail. >Connectivity : UNKNOWN 01-18-2005 09:54:16 0d 20h 41m 39s 1/3 /bin/ping >-n -U -w 10 -c 5 138.122.22.222 > > >This is my file services.cfg >define service { > use generic-service > hostgroup_name localhost-servers > service_description Connectivity > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups localhost-admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > check_command check_ping!100.0,20%!500.0,60% >} > >I don't understand because the command /bin/ping -n -U -w 10 -c 5 >138.122.22.222 works but Nagios shows an unknown status. > > >Thank you, >O. Degrouard > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > > > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carsten.Schmitz at aegon.com Tue Jan 18 15:18:30 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Tue, 18 Jan 2005 15:18:30 +0100 Subject: check_ping unknown Message-ID: <49977F7CEA035C46A2D47108CE0F032F01415E@ANGELIA.aegon.com> > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c Hm okay so you use the plugin. Then I'm puzzled ... sorry, don't have an answer. > I execute the command on a shell with root and I can ping. I don't Rule of thumb: Always run the commands as the user who runs Nagios (and that shouldn't be root for security reasons). This may not help you with the ping problem, but if you use the shell to see if the commands work or not, using the Nagios user ensures that you have the same permissions etc. It can be frustrating to find that a command worked for root but failed for Nagios due to permissions (I speak from experience here ;) Cheers Carsten -----Original Message----- From: Ovig Degrouard [mailto:ovig.degrouard at jouy.inra.fr] Sent: Tuesday, January 18, 2005 2:44 PM To: Schmitz, Carsten Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_ping unknown Schmitz, Carsten wrote: >Hi, > >Please post your checkcommands.cfg entry on check_ping, too. > > This is the lines about check_ping in checkcommands.cfg # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } >Are you using /bin/ping from checkcommands.cfg instead of the check_ping or check_icmp plugins? If yes, any specific reason? > > I don't know which method I'm using to ping. I only know that service detail print this message: Connectivity : UNKNOWN 01-18-2005 09:54:16 0d 20h 41m 39s 1/3 /bin/ping -n -U -w 10 -c 5 138.122.22.222 >I dunno, could be that the combination of -w 10 and -c 5 makes Nagios think there's a timeout before your ping command finishes? Did you try lower values? When you say the command works on the shell, did you do that as the same user that Nagios runs as? > > I execute the command on a shell with root and I can ping. I don't understand why Nagios couldn't give me the OK status. >Cheers >Carsten > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Ovig >Degrouard >Sent: Tuesday, January 18, 2005 10:11 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] check_ping unknown > > >Hello, > > >I have this message in service detail. >Connectivity : UNKNOWN 01-18-2005 09:54:16 0d 20h 41m 39s 1/3 /bin/ping >-n -U -w 10 -c 5 138.122.22.222 > > >This is my file services.cfg >define service { > use generic-service > hostgroup_name localhost-servers > service_description Connectivity > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups localhost-admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > check_command check_ping!100.0,20%!500.0,60% >} > >I don't understand because the command /bin/ping -n -U -w 10 -c 5 >138.122.22.222 works but Nagios shows an unknown status. > > >Thank you, >O. Degrouard > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > > > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ovig.degrouard at jouy.inra.fr Tue Jan 18 15:44:46 2005 From: ovig.degrouard at jouy.inra.fr (Ovig Degrouard) Date: Tue, 18 Jan 2005 15:44:46 +0100 Subject: check_ping unknown In-Reply-To: <49977F7CEA035C46A2D47108CE0F032F01415E@ANGELIA.aegon.com> References: <49977F7CEA035C46A2D47108CE0F032F01415E@ANGELIA.aegon.com> Message-ID: <41ED20DE.9030807@jouy.inra.fr> Schmitz, Carsten wrote: >> command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c >> >> > >Hm okay so you use the plugin. Then I'm puzzled ... sorry, don't have an answer. > > > > >>I execute the command on a shell with root and I can ping. I don't >> >> > >Rule of thumb: Always run the commands as the user who runs Nagios (and that shouldn't be root for security reasons). This may not help you with the ping problem, but if you use the shell to see if the commands work or not, using the Nagios user ensures that you have the same permissions etc. It can be frustrating to find that a command worked for root but failed for Nagios due to permissions (I speak from experience here ;) > > OK thank you! The command works with the user nagios. I could ping without the plugin. How to do? ;) O. Degrouard >Cheers >Carsten > > >-----Original Message----- >From: Ovig Degrouard [mailto:ovig.degrouard at jouy.inra.fr] >Sent: Tuesday, January 18, 2005 2:44 PM >To: Schmitz, Carsten >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] check_ping unknown > > >Schmitz, Carsten wrote: > > > >>Hi, >> >>Please post your checkcommands.cfg entry on check_ping, too. >> >> >> >> >This is the lines about check_ping in checkcommands.cfg > ># 'check_ping' command definition >define command{ > command_name check_ping > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c >$ARG2$ -p 5 > } > > > >>Are you using /bin/ping from checkcommands.cfg instead of the check_ping or check_icmp plugins? If yes, any specific reason? >> >> >> >> >I don't know which method I'm using to ping. I only know that service >detail print this message: Connectivity : UNKNOWN 01-18-2005 09:54:16 0d >20h 41m 39s 1/3 /bin/ping -n -U -w 10 -c 5 138.122.22.222 > > > >>I dunno, could be that the combination of -w 10 and -c 5 makes Nagios think there's a timeout before your ping command finishes? Did you try lower values? When you say the command works on the shell, did you do that as the same user that Nagios runs as? >> >> >> >> >I execute the command on a shell with root and I can ping. I don't >understand why Nagios couldn't give me the OK status. > > > > > > >>Cheers >>Carsten >> >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Ovig >>Degrouard >>Sent: Tuesday, January 18, 2005 10:11 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] check_ping unknown >> >> >>Hello, >> >> >>I have this message in service detail. >>Connectivity : UNKNOWN 01-18-2005 09:54:16 0d 20h 41m 39s 1/3 /bin/ping >>-n -U -w 10 -c 5 138.122.22.222 >> >> >>This is my file services.cfg >>define service { >> use generic-service >> hostgroup_name localhost-servers >> service_description Connectivity >> is_volatile 0 >> check_period 24x7 >> max_check_attempts 3 >> normal_check_interval 5 >> retry_check_interval 1 >> contact_groups localhost-admins >> notification_interval 120 >> notification_period 24x7 >> notification_options c,r >> check_command check_ping!100.0,20%!500.0,60% >>} >> >>I don't understand because the command /bin/ping -n -U -w 10 -c 5 >>138.122.22.222 works but Nagios shows an unknown status. >> >> >>Thank you, >>O. Degrouard >> >> >> >>------------------------------------------------------- >>The SF.Net email is sponsored by: Beat the post-holiday blues >>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at 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 >> >> >> >> >> >> > > > > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From m.borsani at it.net Tue Jan 18 16:39:47 2005 From: m.borsani at it.net (Marco Borsani) Date: Tue, 18 Jan 2005 16:39:47 +0100 Subject: Notify on sigle events In-Reply-To: <49977F7CEA035C46A2D47108CE0F032F01415E@ANGELIA.aegon.com> References: <49977F7CEA035C46A2D47108CE0F032F01415E@ANGELIA.aegon.com> Message-ID: Hi all ! I should find a way to notify some events (using NRPE agent on Unix systems) which have not a particular exit status. I will try to explain you better... An oracle application write in a file many and many events. Some of those I have to notify via mail and pager; I do not know if this is possible because there are not status changing (OK -> CRITICAL -> OK) like usually. Have you got any idea? Regards Marco ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carsten.Schmitz at aegon.com Tue Jan 18 16:44:49 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Tue, 18 Jan 2005 16:44:49 +0100 Subject: check_ping unknown Message-ID: <49977F7CEA035C46A2D47108CE0F032F014169@ANGELIA.aegon.com> > I could ping without the plugin. How to do? ;) Don't quite understand - your question is how to ping without using the plugin? Well, you could call ping directly from checkcommands.cfg (and coincidencially it seems to give the correct exit codes, 0 for okay or 2 for host not found) but I don't advise to do this. If you can't solve your problem any other way, try check_icmp from http://oss.op5.se/nagios/ (download, unzip, run make, copy to libexec or wherever your plugins are, and define in checkcommands.cfg). The syntax might be a bit different, run check_icmp --help to find out. Does the same as check_ping, just without spawning "real" ping processes. Cheers Carsten -----Original Message----- From: Ovig Degrouard [mailto:ovig.degrouard at jouy.inra.fr] Sent: Tuesday, January 18, 2005 3:45 PM To: Schmitz, Carsten Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_ping unknown Schmitz, Carsten wrote: >> command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c >> >> > >Hm okay so you use the plugin. Then I'm puzzled ... sorry, don't have an answer. > > > > >>I execute the command on a shell with root and I can ping. I don't >> >> > >Rule of thumb: Always run the commands as the user who runs Nagios (and that shouldn't be root for security reasons). This may not help you with the ping problem, but if you use the shell to see if the commands work or not, using the Nagios user ensures that you have the same permissions etc. It can be frustrating to find that a command worked for root but failed for Nagios due to permissions (I speak from experience here ;) > > OK thank you! The command works with the user nagios. I could ping without the plugin. How to do? ;) O. Degrouard >Cheers >Carsten > > >-----Original Message----- >From: Ovig Degrouard [mailto:ovig.degrouard at jouy.inra.fr] >Sent: Tuesday, January 18, 2005 2:44 PM >To: Schmitz, Carsten >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] check_ping unknown > > >Schmitz, Carsten wrote: > > > >>Hi, >> >>Please post your checkcommands.cfg entry on check_ping, too. >> >> >> >> >This is the lines about check_ping in checkcommands.cfg > ># 'check_ping' command definition >define command{ > command_name check_ping > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c >$ARG2$ -p 5 > } > > > >>Are you using /bin/ping from checkcommands.cfg instead of the check_ping or check_icmp plugins? If yes, any specific reason? >> >> >> >> >I don't know which method I'm using to ping. I only know that service >detail print this message: Connectivity : UNKNOWN 01-18-2005 09:54:16 0d >20h 41m 39s 1/3 /bin/ping -n -U -w 10 -c 5 138.122.22.222 > > > >>I dunno, could be that the combination of -w 10 and -c 5 makes Nagios think there's a timeout before your ping command finishes? Did you try lower values? When you say the command works on the shell, did you do that as the same user that Nagios runs as? >> >> >> >> >I execute the command on a shell with root and I can ping. I don't >understand why Nagios couldn't give me the OK status. > > > > > > >>Cheers >>Carsten >> >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Ovig >>Degrouard >>Sent: Tuesday, January 18, 2005 10:11 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] check_ping unknown >> >> >>Hello, >> >> >>I have this message in service detail. >>Connectivity : UNKNOWN 01-18-2005 09:54:16 0d 20h 41m 39s 1/3 /bin/ping >>-n -U -w 10 -c 5 138.122.22.222 >> >> >>This is my file services.cfg >>define service { >> use generic-service >> hostgroup_name localhost-servers >> service_description Connectivity >> is_volatile 0 >> check_period 24x7 >> max_check_attempts 3 >> normal_check_interval 5 >> retry_check_interval 1 >> contact_groups localhost-admins >> notification_interval 120 >> notification_period 24x7 >> notification_options c,r >> check_command check_ping!100.0,20%!500.0,60% >>} >> >>I don't understand because the command /bin/ping -n -U -w 10 -c 5 >>138.122.22.222 works but Nagios shows an unknown status. >> >> >>Thank you, >>O. Degrouard >> >> >> >>------------------------------------------------------- >>The SF.Net email is sponsored by: Beat the post-holiday blues >>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at 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 >> >> >> >> >> >> > > > > > ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Mark.Duling at biola.edu Tue Jan 18 18:40:00 2005 From: Mark.Duling at biola.edu (Mark Duling) Date: Tue, 18 Jan 2005 09:40:00 -0800 Subject: Monitoring Power With Nagios In-Reply-To: <60b4a87c050114182223035d42@mail.gmail.com> References: <60b4a87c050114182223035d42@mail.gmail.com> Message-ID: Kaushal Patel on Friday, January 14, 2005 at 6:22 PM -0800 wrote: >I have a question. So far I've seen that Nagios is used mostly for >network monitoring only. What I wanted to know is, is it possible to >display the electrical quantities like power, voltage, current etc >with Nagios ? > >For this, I've an energy meter with a webserver on board and it can >connect to ethernet. So, with the use of Nagios can we display these >results on WWW remotely ? More precisely, what I plan to do is display >those quantities in a manner similar to some online energy montioring >services available. However those are very costly, whereas the very >fundamental logic of Nagios is monitoring for free, but this time >electrical parameters. > >I hope I've mentioned clearly without any confusion and hoping to >expect some detailed suggestions. Your case sounds identical to Esensors HVAC monitor, a webserver enabled temp/humid/light sensor that is advertised right on the main nagios.org page. Take a look at their Perl Nagios plugin here: http://nagios.sourceforge.net/download/contrib/plugins/esensors/ It grabs the status web page, parses the stats into variables and processes the values to calculate whether the values are OK, warning, or critical in the normal Nagios way. If one wanted to see the stats of the last check, one could check Service Detail -> Status Information Nagios page. Since I prefer not to do my graphs in Nagios, I also hacked their plugin to provide data for NRG (an MRTG competitor). You could also hack it to grab and parse the output for your energy meter. This script will tell you *one* way of parsing the http result into variables for use in an external application, Nagios or any other. Mark ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bakers at web-ster.com Tue Jan 18 19:05:58 2005 From: bakers at web-ster.com (Scott Baker) Date: Tue, 18 Jan 2005 10:05:58 -0800 Subject: Nagios in a frame? Message-ID: <41ED5006.3030308@web-ster.com> I'm having problems with Nagios not display in the two frame layout. Probably 50% of the time when I click on a report to show the left frame disappears and the report frame takes up the whole screen. There doesn't appear to be any rhyme or reason. Is there a way to fix that? -- Scott Baker Canby Telephone - Network Administrator - RHCE Ph: 503.266.8253 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From beckhardt at infonow.com Tue Jan 18 18:53:05 2005 From: beckhardt at infonow.com (Bob Eckhardt) Date: Tue, 18 Jan 2005 10:53:05 -0700 Subject: probably already known issue, but i am new here. In-Reply-To: <49977F7CEA035C46A2D47108CE0F032F014169@ANGELIA.aegon.com> References: <49977F7CEA035C46A2D47108CE0F032F014169@ANGELIA.aegon.com> Message-ID: nagios wizards, nagios version 1.2 New install, checking certain hosts, mostly with ping for now. However 2 hosts that I use NRPE with will show green/ok for all the service checks but then out of the blue I get ..... hostname DOWN 01-17-2005 16:11:30 0d 23h 17m 49s (No output returned from host check) Host Status: DOWN Status Information: (No output returned from host check) If I restart nagios it says "host assumed to be up" and it is green ....for a while.....then the above happens again.......huh? It's like the "host" check (whatever that is) fails, how can it not think the "host" is ok if it can check all the "services" on the host without a hitch? Bob ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Tue Jan 18 20:09:31 2005 From: jhmartin at toger.us (Jason Martin) Date: Tue, 18 Jan 2005 11:09:31 -0800 Subject: probably already known issue, but i am new here. In-Reply-To: References: <49977F7CEA035C46A2D47108CE0F032F014169@ANGELIA.aegon.com> Message-ID: <20050118190930.GT22548@zippy.toger.us> On Tue, Jan 18, 2005 at 10:53:05AM -0700, Bob Eckhardt wrote: > It's like the "host" check (whatever that is) fails, how can it not think > the "host" is ok if it can > check all the "services" on the host without a hitch? Host checks are seperate. Check that the check_command you have defined in your host definition is working properly. It sounds like it is failing. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From LYates at lear.com Tue Jan 18 19:21:11 2005 From: LYates at lear.com (Yates, Larry) Date: Tue, 18 Jan 2005 13:21:11 -0500 Subject: How do I get Nagios working after an RPM install???? Message-ID: Hi, I am a new Nagios user, All thought I have not even been able to get Nagios working as of yet.... At least I felt as if I was getting close. I tried installing from the "nagios-2.0b1.tar.gz" file. After word all I could get was the home and documentation pages. None of the CGI stuff would work. So I shutdown apache, removed the /usr/local/nagios directory Replaced the httpd.conf with the original, started apache and installed the "Stable" RPM version of nagios and the plugins: ># rpm -i nagios-1.2-1.1.fc3.rf.i386.rpm ># rpm -i nagios-plugins-1.3.1-1.9.i386.rpm After restarting apache again,,, I do not even see the html pages any more..... Nor have I been able to find any instructions or a "HOW-TO" Configure Nagios after an RPM install. Now what should I do? Thanks a bunch PS: I am running Fedora 3 with gd-2.0.33 installed. Anyone PLEASE~! ********************** ** LEGAL DISCLAIMER ** ********************** This E-mail message and any attachments may contain legally privileged, confidential or proprietary information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this E-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this E-mail message from your computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: From LYates at lear.com Tue Jan 18 22:05:26 2005 From: LYates at lear.com (Yates, Larry) Date: Tue, 18 Jan 2005 16:05:26 -0500 Subject: how do I Configure Nagios after an RPM install????? Message-ID: Well Now I am up to ware I was with the Bata version.... I can see the html, but the cgi stuff still doesn't work. What should I do?????? Please see below: Thanks! ================================================ [root at dell-p3 httpd]# tail -f error_log [Tue Jan 18 15:49:02 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Tue Jan 18 15:49:03 2005] [notice] Digest: generating secret for digest authentication ... [Tue Jan 18 15:49:03 2005] [notice] Digest: done [Tue Jan 18 15:49:03 2005] [notice] LDAP: Built with OpenLDAP LDAP SDK [Tue Jan 18 15:49:03 2005] [notice] LDAP: SSL support unavailable [Tue Jan 18 15:49:03 2005] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.[Tue Jan 18 15:49:04 2005] [notice] Apache/2.0.52 (Fedora) configured -- resuming normal operations [Tue Jan 18 15:49:58 2005] [error] [client 10.96.52.146] (13)Permission denied: exec of '/usr/lib/nagios/cgi/tac.cgi' failed, referer: http://dell-p3/nagios/side.html [Tue Jan 18 15:49:58 2005] [error] [client 10.96.52.146] Premature end of script headers: tac.cgi, referer: http://dell-p3/nagios/side.html [Tue Jan 18 15:50:07 2005] [error] [client 10.96.52.146] (13)Permission denied: exec of '/usr/lib/nagios/cgi/status.cgi' failed, referer: http://dell-p3/nagios/side.html [Tue Jan 18 15:50:07 2005] [error] [client 10.96.52.146] Premature end of script headers: status.cgi, referer: http://dell-p3/nagios/side.html Hi, I am a new Nagios user, All thought I have not even been able to get Nagios working as of yet.... At least I felt as if I was getting close. I tried installing from the "nagios-2.0b1.tar.gz" file. After word all I could get was the home and documentation pages. None of the CGI stuff would work. So I shutdown apache, removed the /usr/local/nagios directory Replaced the httpd.conf with the original, started apache and installed the "Stable" RPM version of nagios and the plugins: ># rpm -i nagios-1.2-1.1.fc3.rf.i386.rpm ># rpm -i nagios-plugins-1.3.1-1.9.i386.rpm After restarting apache again,,, I do not even see the html pages any more..... Nor have I been able to find any instructions or a "HOW-TO" Configure Nagios after an RPM install. Now what should I do? Thanks a bunch PS: I am running Fedora 3 with gd-2.0.33 installed. PLEASE~! ********************** ** LEGAL DISCLAIMER ** ********************** This E-mail message and any attachments may contain legally privileged, confidential or proprietary information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this E-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this E-mail message from your computer. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Jan 18 20:30:33 2005 From: marc at ena.com (Marc Powell) Date: Tue, 18 Jan 2005 13:30:33 -0600 Subject: probably already known issue, but i am new here. Message-ID: <349555FA607F3A4CBDA9326035D1A7FC83631F@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Bob Eckhardt > Sent: Tuesday, January 18, 2005 11:53 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] probably already known issue, but i am new here. > > nagios wizards, > > nagios version 1.2 > > New install, checking certain hosts, mostly with ping for now. However > > 2 hosts that I use NRPE with will show green/ok for all the service checks > but then > out of the blue I get ..... > > hostname DOWN 01-17-2005 16:11:30 0d 23h 17m 49s (No output > returned from host check) > > Host Status: DOWN > > Status Information: (No output returned from host check) > > > If I restart nagios it says "host assumed to be up" and it is green > ....for > a while.....then the above > happens again.......huh? > > It's like the "host" check (whatever that is) fails, how can it not think > the "host" is ok if it can > check all the "services" on the host without a hitch? One of the services must have had a 'hitch'. Nagios never checks the status of the host unless a service check fails. When one does, Nagios will execute the host check_command that you have defined for that particular host. It would seem that your host check_command for this host isn't working or isn't valid. Try running it as you have it defined in [mis]commands.cfg and the host definition as the Nagios user to make sure that it runs and returns expected output. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From RLAdams at Kelsey-Seybold.com Tue Jan 18 22:21:51 2005 From: RLAdams at Kelsey-Seybold.com (Adams, Russell L.) Date: Tue, 18 Jan 2005 15:21:51 -0600 Subject: Monitoring Power With Nagios In-Reply-To: <60b4a87c050114182223035d42@mail.gmail.com> References: <60b4a87c050114182223035d42@mail.gmail.com> Message-ID: <20050118212151.GB17655@pingu.ksnet.com> AKCP makes a generic network sensor that can attach temp/humid, water, power, air movement, etc detection modules. It has an internal webserver and SNMP, plus additional connection methods. I'm testing one right now for temp/humidity checking. AKCP's website is at http://www.akcpinc.com/ , however I bought mine through Optrics at http://shop.optrics.com/shop/category.asp?catid=5 , AKCP's sales team never returned my emails or calls... Optrics was very quick and had the basic 2 sensor kit from AKCP w/ temp+humidity in one for $325. Russell On Fri, Jan 14, 2005 at 09:22:39PM -0500, Kaushal Patel wrote: > Hello All, > > I have a question. So far I've seen that Nagios is used mostly for > network monitoring only. What I wanted to know is, is it possible to > display the electrical quantities like power, voltage, current etc > with Nagios ? > > For this, I've an energy meter with a webserver on board and it can > connect to ethernet. So, with the use of Nagios can we display these > results on WWW remotely ? More precisely, what I plan to do is display > those quantities in a manner similar to some online energy montioring > services available. However those are very costly, whereas the very > fundamental logic of Nagios is monitoring for free, but this time > electrical parameters. > > I hope I've mentioned clearly without any confusion and hoping to > expect some detailed suggestions. > > Thanks, > Kaushal Patel > MSEE, The State University of New York at Buffalo > 90 Cornell Street > Buffalo, NY 14214 > Ph: 716-836-5674 > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jkanimea at itc.gov.fj Tue Jan 18 23:06:37 2005 From: jkanimea at itc.gov.fj (Jack A. Kanimea) Date: Wed, 19 Jan 2005 10:06:37 +1200 Subject: Help on Alerts Nagios Message-ID: <215C20B52BAEB9439EF08A32483AE9DCD45902@suvxch02.govnet.local> Help, I have also been received alerts with funny error messages the Alerts is saying the plugin timed out but say the Host is down as below. ______________________________________________________ ***** Nagios ***** Notification Type: PROBLEM Host: r_suv_health State: DOWN Address: 10.1.56.1 Info: $ Date/Time: $ ________________________________________________________ The nagios webpage shows it as Plugin timed out. ________________________________________________________________________________________________ r_suv_health DOWN 01-18-2005 09:53:37 0d 8h 21m 22s CRITICAL - Plugin timed out after 10 seconds _________________________________________________________________________________________________ Initially a thought the host was down but when I do a [root at whois etc]# ping 10.1.56.1 PING 10.1.56.1 (10.1.56.1) 56(84) bytes of data. 64 bytes from 10.1.56.1: icmp_seq=1 ttl=254 time=3.00 ms 64 bytes from 10.1.56.1: icmp_seq=2 ttl=254 time=2.94 ms 64 bytes from 10.1.56.1: icmp_seq=3 ttl=254 time=3.28 ms 64 bytes from 10.1.56.1: icmp_seq=4 ttl=254 time=3.01 ms 64 bytes from 10.1.56.1: icmp_seq=5 ttl=254 time=3.01 ms 64 bytes from 10.1.56.1: icmp_seq=6 ttl=254 time=3.01 ms 64 bytes from 10.1.56.1: icmp_seq=7 ttl=254 time=3.05 ms Any ideas on where the problem may be. I have also setup other hosts also its showing the Ping OK . Am bit confuse here any ideas cause if it was ping problem the other host would have been giving the alerts. Any ideas / suggestion / pointer thanks in advance, Jack K ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jan 19 00:49:39 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 19 Jan 2005 00:49:39 +0100 Subject: Help on Alerts Nagios In-Reply-To: <215C20B52BAEB9439EF08A32483AE9DCD45902@suvxch02.govnet.local> References: <215C20B52BAEB9439EF08A32483AE9DCD45902@suvxch02.govnet.local> Message-ID: <41EDA093.9030903@op5.se> Jack A. Kanimea wrote: > Help, > I have also been received alerts with funny error messages the Alerts is saying the plugin timed out but say the Host is down as below. > Read the "what's new" section of the changelog docs. Macros have been renamed, so you need to update your notification commands accordingly. ______________________________________________________ > ***** Nagios ***** > > Notification Type: PROBLEM > Host: r_suv_health > State: DOWN > Address: 10.1.56.1 > Info: $ > > Date/Time: $ > ________________________________________________________ > > The nagios webpage shows it as Plugin timed out. > ________________________________________________________________________________________________ > r_suv_health DOWN 01-18-2005 09:53:37 0d 8h 21m 22s CRITICAL - Plugin timed out after 10 seconds > _________________________________________________________________________________________________ > > Initially a thought the host was down but when I do a > > [root at whois etc]# ping 10.1.56.1 > PING 10.1.56.1 (10.1.56.1) 56(84) bytes of data. > 64 bytes from 10.1.56.1: icmp_seq=1 ttl=254 time=3.00 ms > 64 bytes from 10.1.56.1: icmp_seq=2 ttl=254 time=2.94 ms > 64 bytes from 10.1.56.1: icmp_seq=3 ttl=254 time=3.28 ms > 64 bytes from 10.1.56.1: icmp_seq=4 ttl=254 time=3.01 ms > 64 bytes from 10.1.56.1: icmp_seq=5 ttl=254 time=3.01 ms > 64 bytes from 10.1.56.1: icmp_seq=6 ttl=254 time=3.01 ms > 64 bytes from 10.1.56.1: icmp_seq=7 ttl=254 time=3.05 ms > > > Any ideas on where the problem may be. I have also setup other hosts also its showing the Ping OK . Am bit confuse here any ideas cause if it was ping problem the other host would have been giving the alerts. Any ideas / suggestion / pointer > > thanks in advance, > Jack K > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jan 18 23:11:34 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 18 Jan 2005 23:11:34 +0100 Subject: How do I get Nagios working after an RPM install???? In-Reply-To: References: Message-ID: <41ED8996.6030304@op5.se> Yates, Larry wrote: > Hi, I am a new Nagios user, > > All thought I have not even been able to get Nagios working as of yet.... > > At least I felt as if I was getting close. > > > > I tried installing from the "nagios-2.0b1.tar.gz" file. > > After word all I could get was the home and documentation pages. > > None of the CGI stuff would work. > > > > So I shutdown apache, removed the /usr/local/nagios directory > > Replaced the httpd.conf with the original, started apache and installed the > "Stable" > > RPM version of nagios and the plugins: > > > > >># rpm -i nagios-1.2-1.1.fc3.rf.i386.rpm > > >># rpm -i nagios-plugins-1.3.1-1.9.i386.rpm > > > > > After restarting apache again,,, I do not even see the html pages any > more..... > > Nor have I been able to find any instructions or a "HOW-TO" > > Configure Nagios after an RPM install. > > > > Now what should I do? > Point your browser to http://www.nagios.org/support/ and read. When you're done reading, you'll have some configuring to do. Have fun. > > > Thanks a bunch > > > > PS: > > I am running Fedora 3 with gd-2.0.33 installed. > > > > Anyone PLEASE~! > > > > ********************** > ** LEGAL DISCLAIMER ** > ********************** > > This E-mail message and any attachments may contain > legally privileged, confidential or proprietary > information. If you are not the intended recipient(s), > or the employee or agent responsible for delivery of > this message to the intended recipient(s), you are > hereby notified that any dissemination, distribution > or copying of this E-mail message is strictly > prohibited. If you have received this message in > error, please immediately notify the sender and > delete this E-mail message from your computer. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From strombrg at dcs.nac.uci.edu Tue Jan 18 23:14:52 2005 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Tue, 18 Jan 2005 14:14:52 -0800 Subject: Network Discovery In-Reply-To: <41EA5F58.50209@op5.se> References: <41EA4124.8090400@bcs.org.uk> <41EA5F58.50209@op5.se> Message-ID: <1106086492.26953.68.camel@localhost.localdomain> Actually, isn't there some sort of script already available that does this? I'm cozy with nmap+grep+sed, you're cozy with nmap+grep+sed, but a significant fraction of the world is not. On Sun, 2005-01-16 at 13:34 +0100, Andreas Ericsson wrote: > Steven Coutts wrote: > > Is there anyway for Nagios to do automatic network discovery? > > > > man nmap > man grep > man sed > > Something like this should work; > for ip in `nmap -sP -T Insane 192.168.0.1-254 | grep "appears to be up" > | gawk '{ print $2 }'`; do > sed "s/@host@/$ip/" host.in >> hosts.cfg > done > > Where host.in look something like this > define host{ > use default-host-template > host_name @host at -name > address @host@ > alias @host at -alias > } > > Then, supposing you have some way of getting a > tab/comma/semi-colon/whatever separated list of hostnames, ip's and > descriptions (in field order), you can do > cat that_list | while read host_name ip alias; do > sed -i -e "s/$ip-name/$host_name/" -e "s/$ip-alias/$alias/" hosts.cfg > done > > Mind the line-breaks. > > > Or do I have to manually have to type all my hosts in the hosts.cfg file? > > > > Then add a service PING to all hosts, as such; > define service { > use default-service > service_description PING > host_name * > check_command check_ping!100.0,40%!500.0,80% > } > > Delete the nodes you don't want to monitor, and keep fiddling a bit. > > I suggest you then divide the hosts into various groups depending on > what you want to check on them and simply add a bunch of services to the > proper hostgroups. It will save you a lot of typing. > > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From ae at op5.se Tue Jan 18 23:25:28 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 18 Jan 2005 23:25:28 +0100 Subject: Network Discovery In-Reply-To: <1106086492.26953.68.camel@localhost.localdomain> References: <41EA4124.8090400@bcs.org.uk> <41EA5F58.50209@op5.se> <1106086492.26953.68.camel@localhost.localdomain> Message-ID: <41ED8CD8.4020200@op5.se> Dan Stromberg wrote: > Actually, isn't there some sort of script already available that does > this? > I think so, but thinking up the code was faster than finding the link (which would have been the inevitable second question). > I'm cozy with nmap+grep+sed, you're cozy with nmap+grep+sed, but a > significant fraction of the world is not. > Yes, and it's a shame that those un-cozy folks aren't so cozy with google and 10-15 minutes of navigating the www.nagios.org either. I know the nmap2nagios is there somewhere. Anyways, Mr. Coutts. I believe you should be able to find nmap2nagios somewhere on www.nagios.org if you aren't cozy enough with nmap+grep+sed to copy-paste the script in my original post (although I'm fairly certain it should work ok). > On Sun, 2005-01-16 at 13:34 +0100, Andreas Ericsson wrote: > >>Steven Coutts wrote: >> >>>Is there anyway for Nagios to do automatic network discovery? >>> >> >>man nmap >>man grep >>man sed >> >>Something like this should work; >>for ip in `nmap -sP -T Insane 192.168.0.1-254 | grep "appears to be up" >>| gawk '{ print $2 }'`; do >> sed "s/@host@/$ip/" host.in >> hosts.cfg >>done >> >>Where host.in look something like this >>define host{ >> use default-host-template >> host_name @host at -name >> address @host@ >> alias @host at -alias >>} >> >>Then, supposing you have some way of getting a >>tab/comma/semi-colon/whatever separated list of hostnames, ip's and >>descriptions (in field order), you can do >>cat that_list | while read host_name ip alias; do >> sed -i -e "s/$ip-name/$host_name/" -e "s/$ip-alias/$alias/" hosts.cfg >>done >> >>Mind the line-breaks. >> >> >>>Or do I have to manually have to type all my hosts in the hosts.cfg file? >>> >> >>Then add a service PING to all hosts, as such; >>define service { >> use default-service >> service_description PING >> host_name * >> check_command check_ping!100.0,40%!500.0,80% >>} >> >>Delete the nodes you don't want to monitor, and keep fiddling a bit. >> >>I suggest you then divide the hosts into various groups depending on >>what you want to check on them and simply add a bunch of services to the >>proper hostgroups. It will save you a lot of typing. >> >> -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From don.alfredo at pandora.be Tue Jan 18 23:28:19 2005 From: don.alfredo at pandora.be (Don Alfredo) Date: Tue, 18 Jan 2005 23:28:19 +0100 Subject: Network Discovery In-Reply-To: <41EA4124.8090400@bcs.org.uk> References: <41EA4124.8090400@bcs.org.uk> Message-ID: <200501182328.20043.don.alfredo@pandora.be> On Sunday 16 January 2005 11:25, Steven Coutts wrote: > Is there anyway for Nagios to do automatic network discovery? > > Or do I have to manually have to type all my hosts in the hosts.cfg file? > > Regards Tweak attached perl script to match your network and nagios environment (currently it 's working for a SuSE 9.1 install out-of-the-box; so paths ARE different than all other distro's) ; or use nmap2nagios ... attached script can scan a given network range grtz, Fred -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios-plugin-conf.pl Type: application/x-perl Size: 17794 bytes Desc: not available URL: From jkmoseley at jump.net Wed Jan 19 02:37:18 2005 From: jkmoseley at jump.net (James) Date: Tue, 18 Jan 2005 19:37:18 -0600 Subject: upgrade to 2.0b1 / event handlers broken Message-ID: <1106098638.41edb9ce568c9@webmail.jkm.net> I'm running a BSD box that monitors another Nagios host. I decided to upgrade from 1.2 (the slave box) to the latest version to make use of the 'inherits_parent' directive in the dependencies config - I have not yet upgraded the plugins nor changed any of the macro defs, accordingly. After upgrading, I made a few changes to the hosts.cfg and hostgroups.cfg files (to fix the contact_group issues) and all works fine. However, host/service event handlers seem to be broken now. I can take the service or host down I am monitoring with EV's, and sure enough, I see the references in the log files: [1106090538] SERVICE EVENT HANDLER: tx-svr-1;NAGIOS;CRITICAL;HARD;2;handle-master-proc-event [1106090658] SERVICE EVENT HANDLER: tx-svr-1;NAGIOS;OK;HARD;2;handle-master-proc-event However, the event scripts simply aren't being called by the nagios process as verified by modifications I made to them for testing purposes. Running the EV scripts manually works, so it's not broken scripts. Addtionally, all the config files/scripts are owned by the same user that the nagios and httpd processes run as. Thanks in advance. James ---------------------------------------------------- This mail sent through jkm.NET secure webmail server ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jasondinsdale at gmail.com Wed Jan 19 04:21:44 2005 From: jasondinsdale at gmail.com (Jason Dinsdale) Date: Wed, 19 Jan 2005 03:21:44 +0000 (UTC) Subject: Is is possible to setup an 'aggregate service'? Message-ID: I have Nagios installed and running just fine, and what a great tool it is too ... kudos to Ethan. I have a Q about whether it is possible to setup what I like to call an 'aggregate' service - a check of the doco gave me nothing. (and leads me to believe that this cannot be done currently?); our company has several business- level (or abstract) services that are in fact comprised of multiple host-level services, all of which contribute to this high-level service being 'up' or not. For example, for this high-level service to be deemed as 'up' by the business, the following all need to be OK: - Host A - 3 x processes, and 2 x specific established TCP connections. - Host B - 3 x processes, and 2 x specific established TCP connections. - Host C - DNS service, 2 x specific processes. - Host D - WWW service. - Host E - Database up and responding to queries. What I'd like to do is setup an 'aggregate service' who's state is dependant on the state of these specific services on hosts A, B, C, D & E so that: - If all services on A,B,C,D & E are OK, then the aggregate services is OK. - If one of the services on A,B,C,D & E is in a WARNING state, then the aggregate services is also in a WARNING state. - As above, but with CRITICAL. A further real-world wrinkle to this is that hosts A & B are in a load- balanced config, so that if one host is down (CRITICAL) this is not actually a CRITICAL problem for the 'aggregate' service since it can still function using host B, and so it would be more appropriate to give the aggregate service a 'WARNING' condition. This being the case it would be ideal if there was some way of describing these dependencies. So can this be done, or is this really a new feature request? Some of you might suggest that I just write a check for all these conditions and use a simple service check, but to me it makes a lot of sense to just leverage the existing service/check infrastructure and associated status info within Nagios. Unfortunately I'm not much of a developer (not at this level anyway) so it's beyond me to write a mod to Nagios itself... :( Thanks, Jason ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bnunn at loyno.edu Wed Jan 19 02:46:03 2005 From: bnunn at loyno.edu (Bruce Nunn) Date: Tue, 18 Jan 2005 19:46:03 -0600 (CST) Subject: Network Discovery In-Reply-To: <41ED8CD8.4020200@op5.se> References: <41EA4124.8090400@bcs.org.uk> <41EA5F58.50209@op5.se> <1106086492.26953.68.camel@localhost.localdomain> <41ED8CD8.4020200@op5.se> Message-ID: Yes, it is a shame many don't spend a little time reading. I spent about an hour on the Nagios site reading the FAQ back when I installed 1.2 on FreeBSD 5.2. The documentation there is very good. Andreas Ericsson Rocks! -- Bruce Nunn Loyola University 6363 St. Charles Ave. New Orleans, LA 70118 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jkmoseley at jump.net Wed Jan 19 05:06:57 2005 From: jkmoseley at jump.net (James) Date: Tue, 18 Jan 2005 22:06:57 -0600 Subject: Is is possible to setup an 'aggregate service'? In-Reply-To: References: Message-ID: <1106107617.41eddce13a362@webmail.jkm.net> Most, if not all, of your requests can be done using event handlers. Basically, in an existing service or host definition, you use the 'event_handler' directive to execute a script if a service or host is up/down/critical, etc. If one of the services on a host goes down, that script could simply be setup to email (using Nagios utilities if you wish) or page with a predefined message stating 'High Level Service problem - Service X on Host B down' or whatever... Check out the redundant monitoring section of the docs for more info on event handlers... James Quoting Jason Dinsdale : > > I have Nagios installed and running just fine, and what a great tool it is > too ... kudos to Ethan. > > I have a Q about whether it is possible to setup what I like to call > an 'aggregate' service - a check of the doco gave me nothing. (and leads me > to > believe that this cannot be done currently?); our company has several > business- > level (or abstract) services that are in fact comprised of multiple > host-level > services, all of which contribute to this high-level service being 'up' or > not. For example, for this high-level service to be deemed as 'up' by the > business, the following all need to be OK: > > - Host A - 3 x processes, and 2 x specific established TCP connections. > - Host B - 3 x processes, and 2 x specific established TCP connections. > - Host C - DNS service, 2 x specific processes. > - Host D - WWW service. > - Host E - Database up and responding to queries. > > What I'd like to do is setup an 'aggregate service' who's state is dependant > on the state of these specific services on hosts A, B, C, D & E so that: > > - If all services on A,B,C,D & E are OK, then the aggregate services is OK. > - If one of the services on A,B,C,D & E is in a WARNING state, then the > aggregate services is also in a WARNING state. > - As above, but with CRITICAL. > > A further real-world wrinkle to this is that hosts A & B are in a load- > balanced config, so that if one host is down (CRITICAL) this is not actually > a > CRITICAL problem for the 'aggregate' service since it can still function > using > host B, and so it would be more appropriate to give the aggregate service > a 'WARNING' condition. This being the case it would be ideal if there was > some way of describing these dependencies. > > So can this be done, or is this really a new feature request? Some of you > might suggest that I just write a check for all these conditions and use a > simple service check, but to me it makes a lot of sense to just leverage the > existing service/check infrastructure and associated status info within > Nagios. > Unfortunately I'm not much of a developer (not at this level anyway) so it's > beyond me to write a mod to Nagios itself... :( > > Thanks, > > Jason > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 mail sent through jkm.NET secure webmail server ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jkmoseley at jump.net Wed Jan 19 05:49:35 2005 From: jkmoseley at jump.net (James) Date: Tue, 18 Jan 2005 22:49:35 -0600 Subject: upgrade to 2.0b1 / event handlers broken In-Reply-To: <014e01c4fddb$8c6486c0$01fea8c0@itss.auckland.ac.nz> References: <014e01c4fddb$8c6486c0$01fea8c0@itss.auckland.ac.nz> Message-ID: <1106110175.41ede6df26ae3@webmail.jkm.net> Yeah, using full paths to executables (especially when a process is running as a user that you may not have setup a profile for...) is good. Unfortunately, these shell scripts don't work with or without an executable at the beginning of the command line... James Quoting Steve Shipway : > James Mosley wrote: > >[1106090538] SERVICE EVENT HANDLER: > >tx-svr-1;NAGIOS;CRITICAL;HARD;2;handle-master-proc-event > >[1106090658] SERVICE EVENT HANDLER: > >tx-svr-1;NAGIOS;OK;HARD;2;handle-master-proc-event > > > >However, the event scripts simply aren't being called by the > >nagios process as verified by modifications I made to them for > >testing purposes. Running the EV scripts manually works, so > >it's not broken scripts. Addtionally, all the config > > I've had similar behaviour under Nagios 1.2. An event handler script > (written in perl) ran fine from the command line, but not as an event > handler. > > I found that, if I specified the perl executable on the commandline, or even > wrapped it in a shellscript, it worked: > command_line /usr/bin/perl $USER2$/eh-send-bb.pl $SERVICESTATE$ > $STATETYPE$ $SERVICEATTEMPT$ $HOSTADDRESS$ "$SERVICEDESC$" > > No idea why, but this might help you if the scripts are perl or shell > scripts? > > Steve > > --- > Steve Shipway: ITSS, University of Auckland > Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ > ** We can only discover new oceans when we have the ** > ** courage to lose sight of the shore. ** > ---------------------------------------------------- This mail sent through jkm.NET secure webmail server ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From psanchez at ipowerweb.com Wed Jan 19 04:45:45 2005 From: psanchez at ipowerweb.com (Peter Sanchez) Date: Tue, 18 Jan 2005 19:45:45 -0800 Subject: Nagios notifications / external script Message-ID: <99B3A654-69CC-11D9-A2E0-000A9585654A@ipowerweb.com> I am wondering if its possible to have Nagios execute an external script every time a server/service goes into critical mode? Even if the server/service is scheduled for downtime or has notifications turned off. Is this possible? I tried searching the FAQ and mailing list archives, but didnt find much info. Thanks! Peter ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.shipway at auckland.ac.nz Wed Jan 19 05:01:26 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 19 Jan 2005 17:01:26 +1300 Subject: upgrade to 2.0b1 / event handlers broken In-Reply-To: <1106098638.41edb9ce568c9@webmail.jkm.net> References: <1106098638.41edb9ce568c9@webmail.jkm.net> Message-ID: <014e01c4fddb$8c6486c0$01fea8c0@itss.auckland.ac.nz> James Mosley wrote: >[1106090538] SERVICE EVENT HANDLER: >tx-svr-1;NAGIOS;CRITICAL;HARD;2;handle-master-proc-event >[1106090658] SERVICE EVENT HANDLER: >tx-svr-1;NAGIOS;OK;HARD;2;handle-master-proc-event > >However, the event scripts simply aren't being called by the >nagios process as verified by modifications I made to them for >testing purposes. Running the EV scripts manually works, so >it's not broken scripts. Addtionally, all the config I've had similar behaviour under Nagios 1.2. An event handler script (written in perl) ran fine from the command line, but not as an event handler. I found that, if I specified the perl executable on the commandline, or even wrapped it in a shellscript, it worked: command_line /usr/bin/perl $USER2$/eh-send-bb.pl $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ $HOSTADDRESS$ "$SERVICEDESC$" No idea why, but this might help you if the scripts are perl or shell scripts? Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From hmann at itgroundwork.com Wed Jan 19 06:45:18 2005 From: hmann at itgroundwork.com (Harper Mann) Date: Tue, 18 Jan 2005 21:45:18 -0800 Subject: Nagios notifications / external script In-Reply-To: <99B3A654-69CC-11D9-A2E0-000A9585654A@ipowerweb.com> References: <99B3A654-69CC-11D9-A2E0-000A9585654A@ipowerweb.com> Message-ID: Hi Peter, Did you try setting up an eventhandler? I think they run whether notifications are enabled or not. There are global ones and you can set up logic to catch the hard state transition. http://nagios.sourceforge.net/docs/1_0/eventhandlers.html - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) http://itgroundwork.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Peter Sanchez Sent: Tuesday, January 18, 2005 7:46 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios notifications / external script I am wondering if its possible to have Nagios execute an external script every time a server/service goes into critical mode? Even if the server/service is scheduled for downtime or has notifications turned off. Is this possible? I tried searching the FAQ and mailing list archives, but didnt find much info. Thanks! Peter ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hmann at itgroundwork.com Wed Jan 19 07:30:16 2005 From: hmann at itgroundwork.com (Harper Mann) Date: Tue, 18 Jan 2005 22:30:16 -0800 Subject: Is is possible to setup an 'aggregate service'? In-Reply-To: <1106107617.41eddce13a362@webmail.jkm.net> References: <1106107617.41eddce13a362@webmail.jkm.net> Message-ID: I wonder if check_cluster2 from the nagios-plugins contrib directory would work for you. It checks a list of services / hosts and alarms if X are in alarm: [hmann at milano contrib]$ ./check_cluster2 --help ./check_cluster2: unrecognized option `--help' Invalid arguments supplied Host/Service Cluster Plugin for Nagios 2 Copyright (c) 2000-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 03-11-2004 License: GPL Usage: ./check_cluster2 (-s | -h) [-l label] [-w threshold] [-c threshold] [-d val1,val2,...,valn] Options: -s, --service = Check service cluster status -h, --host = Check host cluster status -l, --label = Optional prepended text output (i.e. "Host cluster") -w, --warning = Specifies the number of hosts or services in cluster that must be in a non-OK state in order to return a WARNING status level -c, --critical = Specifies the number of hosts or services in cluster that must be in a non-OK state in order to return a CRITICAL status level -d, --data = The status codes of the hosts or services in the cluster, separated by commas Hope that works! - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) http://itgroundwork.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of James Sent: Tuesday, January 18, 2005 8:07 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Is is possible to setup an 'aggregate service'? Most, if not all, of your requests can be done using event handlers. Basically, in an existing service or host definition, you use the 'event_handler' directive to execute a script if a service or host is up/down/critical, etc. If one of the services on a host goes down, that script could simply be setup to email (using Nagios utilities if you wish) or page with a predefined message stating 'High Level Service problem - Service X on Host B down' or whatever... Check out the redundant monitoring section of the docs for more info on event handlers... James Quoting Jason Dinsdale : > > I have Nagios installed and running just fine, and what a great tool it is > too ... kudos to Ethan. > > I have a Q about whether it is possible to setup what I like to call > an 'aggregate' service - a check of the doco gave me nothing. (and leads me > to > believe that this cannot be done currently?); our company has several > business- > level (or abstract) services that are in fact comprised of multiple > host-level > services, all of which contribute to this high-level service being 'up' or > not. For example, for this high-level service to be deemed as 'up' by the > business, the following all need to be OK: > > - Host A - 3 x processes, and 2 x specific established TCP connections. > - Host B - 3 x processes, and 2 x specific established TCP connections. > - Host C - DNS service, 2 x specific processes. > - Host D - WWW service. > - Host E - Database up and responding to queries. > > What I'd like to do is setup an 'aggregate service' who's state is dependant > on the state of these specific services on hosts A, B, C, D & E so that: > > - If all services on A,B,C,D & E are OK, then the aggregate services is OK. > - If one of the services on A,B,C,D & E is in a WARNING state, then the > aggregate services is also in a WARNING state. > - As above, but with CRITICAL. > > A further real-world wrinkle to this is that hosts A & B are in a load- > balanced config, so that if one host is down (CRITICAL) this is not actually > a > CRITICAL problem for the 'aggregate' service since it can still function > using > host B, and so it would be more appropriate to give the aggregate service > a 'WARNING' condition. This being the case it would be ideal if there was > some way of describing these dependencies. > > So can this be done, or is this really a new feature request? Some of you > might suggest that I just write a check for all these conditions and use a > simple service check, but to me it makes a lot of sense to just leverage the > existing service/check infrastructure and associated status info within > Nagios. > Unfortunately I'm not much of a developer (not at this level anyway) so it's > beyond me to write a mod to Nagios itself... :( > > Thanks, > > Jason > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 mail sent through jkm.NET secure webmail server ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jan 19 09:29:36 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 19 Jan 2005 09:29:36 +0100 Subject: upgrade to 2.0b1 / event handlers broken In-Reply-To: <014e01c4fddb$8c6486c0$01fea8c0@itss.auckland.ac.nz> References: <014e01c4fddb$8c6486c0$01fea8c0@itss.auckland.ac.nz> Message-ID: <41EE1A70.2080002@op5.se> Steve Shipway wrote: > James Mosley wrote: > >>[1106090538] SERVICE EVENT HANDLER: >>tx-svr-1;NAGIOS;CRITICAL;HARD;2;handle-master-proc-event >>[1106090658] SERVICE EVENT HANDLER: >>tx-svr-1;NAGIOS;OK;HARD;2;handle-master-proc-event >> >>However, the event scripts simply aren't being called by the >>nagios process as verified by modifications I made to them for >>testing purposes. Running the EV scripts manually works, so >>it's not broken scripts. Addtionally, all the config > > > I've had similar behaviour under Nagios 1.2. An event handler script > (written in perl) ran fine from the command line, but not as an event > handler. > > I found that, if I specified the perl executable on the commandline, or even > wrapped it in a shellscript, Shell-scripts always work with decently recent shells, since popen and system actually "run /bin/sh -c " to get things done. > it worked: > command_line /usr/bin/perl $USER2$/eh-send-bb.pl $SERVICESTATE$ > $STATETYPE$ $SERVICEATTEMPT$ $HOSTADDRESS$ "$SERVICEDESC$" > The shell should take care of it provided the +x bit is set for the user who's trying to execute and a properly formatted hashbang line is present at the very top of the script. chmod 755 script takes care of the permissions. The hashbang line should look like so; #!/usr/bin/perl (i.e. without spaces and such to ensure workability with older shells). > No idea why, but this might help you if the scripts are perl or shell > scripts? > > Steve > > --- > Steve Shipway: ITSS, University of Auckland > Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ > ** We can only discover new oceans when we have the ** > ** courage to lose sight of the shore. ** -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jan 19 09:32:18 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 19 Jan 2005 09:32:18 +0100 Subject: Nagios notifications / external script In-Reply-To: References: Message-ID: <41EE1B12.9080004@op5.se> Harper Mann wrote: > Hi Peter, > > Did you try setting up an eventhandler? I think they run whether > notifications are enabled or not. There are global ones and you can set up > logic to catch the hard state transition. > Eventhandlers won't kick in when hosts are in scheduled downtime though (which is what nearly everybody wants). > http://nagios.sourceforge.net/docs/1_0/eventhandlers.html > > - Harper > > Harper Mann > Groundwork Open Source Solutions > 510-599-2075 (cell) > http://itgroundwork.com > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Peter Sanchez > Sent: Tuesday, January 18, 2005 7:46 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios notifications / external script > > I am wondering if its possible to have Nagios execute an external > script every time a server/service goes into critical mode? Even if the > server/service is scheduled for downtime or has notifications turned > off. Is this possible? I tried searching the FAQ and mailing list > archives, but didnt find much info. > > Thanks! > > Peter > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jan 19 09:43:31 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 19 Jan 2005 09:43:31 +0100 Subject: Is is possible to setup an 'aggregate service'? In-Reply-To: References: Message-ID: <41EE1DB3.90906@op5.se> Jason Dinsdale wrote: > I have Nagios installed and running just fine, and what a great tool it is > too ... kudos to Ethan. > > I have a Q about whether it is possible to setup what I like to call > an 'aggregate' service - a check of the doco gave me nothing. (and leads me to > believe that this cannot be done currently?); our company has several business- > level (or abstract) services that are in fact comprised of multiple host-level > services, all of which contribute to this high-level service being 'up' or > not. For example, for this high-level service to be deemed as 'up' by the > business, the following all need to be OK: > > - Host A - 3 x processes, and 2 x specific established TCP connections. > - Host B - 3 x processes, and 2 x specific established TCP connections. > - Host C - DNS service, 2 x specific processes. > - Host D - WWW service. > - Host E - Database up and responding to queries. > > What I'd like to do is setup an 'aggregate service' who's state is dependant > on the state of these specific services on hosts A, B, C, D & E so that: > Most likely it is not. Monitoring needs to be in detail so the admins get to know where things are failing. If you're talking about creating SLA reports from the data you can simply add all the services to a servicegroup. > - If all services on A,B,C,D & E are OK, then the aggregate services is OK. > - If one of the services on A,B,C,D & E is in a WARNING state, then the > aggregate services is also in a WARNING state. > - As above, but with CRITICAL. > > A further real-world wrinkle to this is that hosts A & B are in a load- > balanced config, so that if one host is down (CRITICAL) this is not actually a > CRITICAL problem for the 'aggregate' service since it can still function using > host B, and so it would be more appropriate to give the aggregate service > a 'WARNING' condition. This being the case it would be ideal if there was > some way of describing these dependencies. > You want 3 services (one for each loadbalanced server), servicedependencies and the check_dummy plugin that always returns CRITICAL (for the "master") or WARNING (for the services depending on the loadbalanced servers) respectively. You will have to reset the WARNING and CRITICAL services that use the check_dummy plugin manually (or concoct some eventhandler to use for all the other services). > So can this be done, or is this really a new feature request? It can, with some tweaking and warping of the config. > Some of you > might suggest that I just write a check for all these conditions and use a > simple service check, but to me it makes a lot of sense to just leverage the > existing service/check infrastructure and associated status info within Nagios. > Unfortunately I'm not much of a developer (not at this level anyway) so it's > beyond me to write a mod to Nagios itself... :( > Pick up K&R's "The C programming language" to remedy that. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Javier.Castillo at alhambra-eidos.com Wed Jan 19 09:25:26 2005 From: Javier.Castillo at alhambra-eidos.com (Javier Castillo Alcibar) Date: Wed, 19 Jan 2005 09:25:26 +0100 Subject: Strange problem Message-ID: <1515E176F4AD2E4AA41D92D7C006BC4701235096@ALHM4SRV.alhpridom.as> Hello all!, I have an strange problem with nagios. When I have many hosts down, because of a network problem, nagios starts failing with hosts that are ok. Nagios gets always "Service Check Timed Out" when checking service PING (check_ping or check_fping) in hosts that are working nicely..... It seems a bug, but I'm not sure..... with NetSaint, I did never faced this problem.... Any ideas? Thx in advance, Javier. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Mels.Kooijman at vanderlet.nl Wed Jan 19 09:39:34 2005 From: Mels.Kooijman at vanderlet.nl (Mels.Kooijman at vanderlet.nl) Date: Wed, 19 Jan 2005 09:39:34 +0100 Subject: NRPE plugins for AIX Message-ID: Hello all, I have an problem with compiling the NRPE plugins for AIX-5. The output: mode=aix /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib -g -c `test -f 'check_disk.c' || echo './'`check_disk.c 1506-507 (W) No licenses available. Contact your program supplier to add additional users. Compilation will proceed shortly and it stops with: cc -g -L. -o check_disk check_disk.o utils.o ../lib/libnagiosplug.a popen.o -lsnprintf -lsnprintf ld: 0711-317 ERROR: Undefined symbol: .VA_COPY ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: 1254-004 The error code from the last command is 8. Because it is a production system i cannot experiment with the system. Anyone has a solution or maybe compiled plugins? Thanks Mels Kooijman ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jan 19 09:44:03 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 19 Jan 2005 09:44:03 +0100 Subject: Strange problem In-Reply-To: <1515E176F4AD2E4AA41D92D7C006BC4701235096@ALHM4SRV.alhpridom.as> References: <1515E176F4AD2E4AA41D92D7C006BC4701235096@ALHM4SRV.alhpridom.as> Message-ID: <41EE1DD3.3040600@op5.se> Javier Castillo Alcibar wrote: > Hello all!, > > I have an strange problem with nagios. When I have many hosts down, > because of a network problem, nagios starts failing with hosts that are > ok. Nagios gets always "Service Check Timed Out" when checking service > PING (check_ping or check_fping) in hosts that are working nicely..... > > It seems a bug, but I'm not sure..... with NetSaint, I did never faced > this problem.... > Perhaps this is a load issue? > > Any ideas? > > Thx in advance, > Javier. > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From gmueller at netways.de Wed Jan 19 09:53:11 2005 From: gmueller at netways.de (Gerd Mueller) Date: Wed, 19 Jan 2005 09:53:11 +0100 Subject: Network Discovery In-Reply-To: <41ED8CD8.4020200@op5.se> References: <41EA4124.8090400@bcs.org.uk> <41EA5F58.50209@op5.se> <1106086492.26953.68.camel@localhost.localdomain> <41ED8CD8.4020200@op5.se> Message-ID: <1106124791.5484.5.camel@localhost> > Yes, and it's a shame that those un-cozy folks aren't so cozy with > google and 10-15 minutes of navigating the www.nagios.org either. I know > the nmap2nagios is there somewhere. hmm, I already posted an answer to this thread with an link to nmap2nagios on sunday ... /Gerd ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Javier.Castillo at alhambra-eidos.com Wed Jan 19 10:53:44 2005 From: Javier.Castillo at alhambra-eidos.com (Javier Castillo Alcibar) Date: Wed, 19 Jan 2005 10:53:44 +0100 Subject: Strange problem Message-ID: <1515E176F4AD2E4AA41D92D7C006BC470123509E@ALHM4SRV.alhpridom.as> I don't think so..... why only fails ping based checks?? The hosts that are ok, not only are checked using ping, but the only tests that nagios signals as "timed out" are those based in ping.... Also, vmstat and top didn't show nothing special.... load(1m) < 1 Is there a way to enable some kind of test tracing or verbosity in nagios? Javier. -----Mensaje original----- De: Andreas Ericsson [mailto:ae at op5.se] Enviado el: mi?rcoles, 19 de enero de 2005 9:44 Para: Javier Castillo Alcibar CC: nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] Strange problem Javier Castillo Alcibar wrote: > Hello all!, > > I have an strange problem with nagios. When I have many hosts down, > because of a network problem, nagios starts failing with hosts that are > ok. Nagios gets always "Service Check Timed Out" when checking service > PING (check_ping or check_fping) in hosts that are working nicely..... > > It seems a bug, but I'm not sure..... with NetSaint, I did never faced > this problem.... > Perhaps this is a load issue? > > Any ideas? > > Thx in advance, > Javier. > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jan 19 11:06:05 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 19 Jan 2005 11:06:05 +0100 Subject: NRPE plugins for AIX In-Reply-To: References: Message-ID: <41EE310D.7020200@op5.se> Mels.Kooijman at vanderlet.nl wrote: > > > Hello all, > > I have an problem with compiling the NRPE plugins for AIX-5. The > output: mode=aix /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I. > -I. -I. -I. -I. -I. -I.. -I../lib -g -c `test -f > 'check_disk.c' > > || echo './'`check_disk.c > > 1506-507 (W) No licenses available. Contact your program supplier to > add additional users. Compilation will proceed shortly > > and it stops with: cc -g -L. -o check_disk check_disk.o utils.o > ../lib/libnagiosplug.a popen.o -lsnprintf -lsnprintf > > ld: 0711-317 ERROR: Undefined symbol: .VA_COPY > > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more > information. > Try the -bnoquiet option. It should tell you details on the problem. Incidentally, .VA_COPY (which probably refers to va_copy(3)) is an ANSI C macro from the C99 standard, so you might not be able to work this out at all on any system with software from the previous millenium. > make: 1254-004 The error code from the last command is 8. > > > Because it is a production system i cannot experiment with the > system. Anyone has a solution or maybe compiled plugins? > > Thanks Mels Kooijman > > > ------------------------------------------------------- The SF.Net > email is sponsored by: Beat the post-holiday blues Get a FREE limited > edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- > well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ Nagios-users mailing > list Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Ton.Voon at egg.com Wed Jan 19 11:00:58 2005 From: Ton.Voon at egg.com (Voon, Ton) Date: Wed, 19 Jan 2005 10:00:58 -0000 Subject: NRPE plugins for AIX Message-ID: Mels, Compiling on a production system? Better keep that quiet :) Firstly, you are compiling the nagios plugins, not NRPE. Secondly, you have a problem with your compiler. Looks like it is unlicenced. Either sort out the licence or use gcc. Thirdly, you haven't specified which version of the plugins you are compiling. Use the latest snapshot at http://nagiosplug.sf.net/snapshot as this has lots of fixes for AIX. Ton -----Original Message----- From: Mels.Kooijman at vanderlet.nl [mailto:Mels.Kooijman at vanderlet.nl] Sent: 19 January 2005 08:40 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE plugins for AIX Hello all, I have an problem with compiling the NRPE plugins for AIX-5. The output: mode=aix /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib -g -c `test -f 'check_disk.c' || echo './'`check_disk.c 1506-507 (W) No licenses available. Contact your program supplier to add additional users. Compilation will proceed shortly and it stops with: cc -g -L. -o check_disk check_disk.o utils.o ../lib/libnagiosplug.a popen.o -lsnprintf -lsnprintf ld: 0711-317 ERROR: Undefined symbol: .VA_COPY ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: 1254-004 The error code from the last command is 8. Because it is a production system i cannot experiment with the system. Anyone has a solution or maybe compiled plugins? Thanks Mels Kooijman ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 ----------------------------------------- Egg is a trading name of the Egg group of companies which includes: Egg plc (reg no 2448340), Egg Financial Products ltd (reg no 3319027), Egg International ltd (reg no 4059266), Egg Financial Intermediation ltd (reg no 382828), Egg Investments ltd (reg no 3403963) and Egg Banking plc (reg no 2999842. Egg Investments Ltd, Egg Banking plc and Egg Financial Intermediation Ltd are authorised and regulated by the Financial Services Authority (FSA) and are entered in the FSA register under numbers 190518, 205621 and 309551 respectively. These members of the Egg group are registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. This e-mail is confidential and for use by the addressee only. If you are not the intended recipient of this e-mail and have received it in error, please return the message to the sender by replying to it and then delete it from your mailbox. Internet e-mails are not necessarily secure. The Egg group of companies do not accept responsibility for changes made to this message after it was sent. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by the Egg group of companies in this regard and the recipient should carry out such virus and other checks as it considers appropriate. This communication does not create or modify any contract. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Mels.Kooijman at vanderlet.nl Wed Jan 19 11:20:27 2005 From: Mels.Kooijman at vanderlet.nl (Mels.Kooijman at vanderlet.nl) Date: Wed, 19 Jan 2005 11:20:27 +0100 Subject: NRPE plugins 1.3.1 for AIX Message-ID: Ton, >Compiling on a production system? Better keep that quiet :) >Firstly, you are compiling the nagios plugins, not NRPE. Thats correct, nrpe was no problem compiling. >Secondly, you have a problem with your compiler. Looks like it is >unlicenced. Either sort out the licence or use gcc. >Thirdly, you haven't specified which version of the plugins you are >compiling. Use the latest snapshot at http://nagiosplug.sf.net/snapshot as >this has lots of fixes for AIX. Sorry, the plugins version: 1.3.1 I can work friday on the system, i try the latest snapshot. Mels ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Wed Jan 19 13:20:25 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Wed, 19 Jan 2005 13:20:25 +0100 Subject: Notify on sigle events In-Reply-To: References: Message-ID: <41EE5089.5070202@interface-business.de> Marco Borsani wrote: > Hi all ! > > I should find a way to notify some events (using NRPE agent on Unix systems) > which have not a particular exit status. > > I will try to explain you better... > > An oracle application write in a file many and many events. Some of those I > have to notify via mail and pager; I do not know if this is possible because > there are not status changing (OK -> CRITICAL -> OK) like usually. > > Have you got any idea? > > Regards > > Marco Perhaps you can write a wrapper or a plugin which can handle this particular situation. Stephan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From magnus.olofsson at itk.lulea.se Wed Jan 19 13:21:00 2005 From: magnus.olofsson at itk.lulea.se (Magnus Olofsson) Date: Wed, 19 Jan 2005 13:21:00 +0100 Subject: Nagios Tray Icon - https Message-ID: <41EE50AC.9090809@itk.lulea.se> Hello, I'm trying to connect with Nagios Tray Icon to our Nagios site which running https. The error message says "IOhandler value is not valid". Is there some workaround to get Nagios Tray Icon work with https? /Magnus ########################################### This message has been scanned by F-Secure Anti-Virus for Internet Mail. For more information, connect to http://www.F-Secure.com/ ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nico_thx at yahoo.fr Wed Jan 19 13:46:37 2005 From: nico_thx at yahoo.fr (thioux nicolas) Date: Wed, 19 Jan 2005 13:46:37 +0100 (CET) Subject: NAGIOS on SLACKWARE 10 Message-ID: <20050119124637.1771.qmail@web50205.mail.yahoo.com> Hi, I 'm looking for people who install Nagios on a SLACKWARE 10, (problems etc...), Thanks for all, Nicolas --------------------------------- D?couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Cr?ez votre Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.borsani at it.net Wed Jan 19 14:19:07 2005 From: m.borsani at it.net (Marco Borsani) Date: Wed, 19 Jan 2005 14:19:07 +0100 Subject: R: Notify on sigle events In-Reply-To: <41EE5089.5070202@interface-business.de> References: <41EE5089.5070202@interface-business.de> Message-ID: -}Perhaps you can write a wrapper or a plugin which can handle this -}particular situation. -} -}Stephan -} I wrote the plugin to check the log file, but I have not idea how to handle the notifications because there are not CRITICAL and (after) OK status (like usual). Marco ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ron.gage at handleman.com Wed Jan 19 15:10:59 2005 From: ron.gage at handleman.com (Gage, Ron) Date: Wed, 19 Jan 2005 09:10:59 -0500 Subject: NAGIOS on SLACKWARE 10 Message-ID: <283990F4F0B37641AF824B7AC258E1BE03C016AA@troy-exch3.handleman.com> Using it here. Monitoring 127 services across 44 servers from a single IBM Thinkpad A21 with no issues. This same Thinkpad also is running MRTG against our Cisco 6509 Core Switch. CPU typically under 0.05. Slackware 10.0 with no patches - kernel 2.4.26. Ron Gage - IT Support Team (IBM) Handleman Corp. Troy, Michigan (248) 362-4400 x4626 ron.gage at handleman.com _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of thioux nicolas Sent: Wednesday, January 19, 2005 7:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NAGIOS on SLACKWARE 10 Hi, I 'm looking for people who install Nagios on a SLACKWARE 10, (problems etc...), Thanks for all, Nicolas _____ D?couvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! Cr?ez votre Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.borsani at it.net Wed Jan 19 15:16:37 2005 From: m.borsani at it.net (Marco Borsani) Date: Wed, 19 Jan 2005 15:16:37 +0100 Subject: R: R: Notify on sigle events In-Reply-To: <41EE668E.2060905@interface-business.de> References: <41EE668E.2060905@interface-business.de> Message-ID: -}Marco Borsani wrote: -}> -}Perhaps you can write a wrapper or a plugin which can handle this -}> -}particular situation. -}> -} -}> -}Stephan -}> -} -}> -}> I wrote the plugin to check the log file, but I have not idea -}how to handle -}> the notifications because there are not CRITICAL and (after) OK -}status (like -}> usual). -}> -}> Marco -}> -} -}Perhaps I missunderstood your problem. But If you need to monitor -}something, than you also need to know, when there is a problem. If you -}can't see at least two different states, I have no idea to monitor -}something. -} Well, my customer want to receive notifications every time some particular strings are written inside that log file. Probably Nagios can not do this .... Marco ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hjp+nagios at wsr.ac.at Wed Jan 19 15:19:29 2005 From: hjp+nagios at wsr.ac.at (Peter J. Holzer) Date: Wed, 19 Jan 2005 15:19:29 +0100 Subject: multiple IPs for a host? In-Reply-To: <20050118130226.GE82728@caffreys.strugglers.net> References: <20050117160844.GA99565@caffreys.strugglers.net> <20050118103935.GT25155@wsr.ac.at> <20050118130226.GE82728@caffreys.strugglers.net> Message-ID: <20050119141929.GL8739@wsr.ac.at> On 2005-01-18 13:02:26 +0000, Andy Smith wrote: > On Tue, Jan 18, 2005 at 11:39:35AM +0100, Peter J. Holzer wrote: > > On 2005-01-17 16:08:44 +0000, Andy Smith wrote: > > > So, what I would like to do is have nagios ping the production IP > > > but do all the other service checks over the management IP. > > > > Should those services be available only on the management network or > > also on the production network? In the latter case you probably should > > check them on the production network as well. Otherwise you won't notice > > if a service goes down only on the production network. > > The thinking here is that we don't want all the service checks going > over the production network, so as long as the production network IP is > reachable and the services are all available over the management IP > then we would assume that the services are also available over the > production IP. > > Is this a reasonable assumption? That depends on the services, and maybe the OS. For example, if a server binds every interface explicitely (Bind does this, and Apache in many configurations), it is entirely possbile that it succeeds to bind to the management interface, but fails to open the production interface (e.g., because the production interface was down during a restart, or a hung process was still using it). Then you can ping the production interface, and access the service at the management interface, but still not access the service at the production interface. If the service binds to any interface (0.0.0.0), then I think your assumption would be correct (but I'm still not 100% sure). My rule of thumb is: If you want to know whether X works, try to test X directly, instead of testing Y and Z and reasoning that if Y and Z work then X must work, too. Of course I realize that this is not always possible. hp -- _ | Peter J. Holzer | If the code is old but the problem is new |_|_) | Sysadmin WSR / LUGA | then the code probably isn't the problem. | | | hjp at wsr.ac.at | __/ | http://www.hjp.at/ | -- Tim Bunce on dbi-users, 2004-11-05 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 388 bytes Desc: not available URL: From stephan.janosch at interface-business.de Wed Jan 19 14:54:22 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Wed, 19 Jan 2005 14:54:22 +0100 Subject: R: Notify on sigle events In-Reply-To: References: Message-ID: <41EE668E.2060905@interface-business.de> Marco Borsani wrote: > -}Perhaps you can write a wrapper or a plugin which can handle this > -}particular situation. > -} > -}Stephan > -} > > I wrote the plugin to check the log file, but I have not idea how to handle > the notifications because there are not CRITICAL and (after) OK status (like > usual). > > Marco > Perhaps I missunderstood your problem. But If you need to monitor something, than you also need to know, when there is a problem. If you can't see at least two different states, I have no idea to monitor something. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From v-alloo at ti.com Wed Jan 19 15:12:57 2005 From: v-alloo at ti.com (Alloo, Vincent) Date: Wed, 19 Jan 2005 15:12:57 +0100 Subject: Services dependancy Message-ID: Hello, We are using Nagios 1.2 to monitor thousand of servers for few services. Very helpful tool !! Here is my question: - for server1..150 (hostgroup1), I have 3 services: ping, service1, service2 How can I setup Nagios to check service1 and service2 only if ping is OK? There is no dependences between hosts. Thanks for your help? Vincent Alloo TI France Design Systems Operations Manager Europe and Middle East IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Wed Jan 19 16:09:48 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 19 Jan 2005 09:09:48 -0600 Subject: R: R: Notify on sigle events In-Reply-To: References: Message-ID: <1106147388.10734.2.camel@localhost> On Wed, 2005-01-19 at 08:16 -0600, Marco Borsani wrote: > -}> I wrote the plugin to check the log file, but I have not idea > -}how to handle > -}> the notifications because there are not CRITICAL and (after) OK > -}status (like > -}> usual). > -}Perhaps I missunderstood your problem. But If you need to monitor > -}something, than you also need to know, when there is a problem. If > you > -}can't see at least two different states, I have no idea to monitor > -}something. > Well, my customer want to receive notifications every time some > particular > strings are written inside that log file. > Probably Nagios can not do this .... Have you had a look at check_log? It does exactly what you are (apparently) asking. Although, your statement that there is no OK/CRITICAL state is confusing. Wouldn't the writing of 'some particular string' to the log file be the Critical state (and, obviously, the string not being there be the OK state)? At least, that's how we all do it. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jaap.hogenberg at marketxs.com Wed Jan 19 15:44:30 2005 From: jaap.hogenberg at marketxs.com (Jaap Hogenberg) Date: Wed, 19 Jan 2005 15:44:30 +0100 Subject: Announcement: KDE-KickerApplet to Nagios In-Reply-To: <1105651236.5731.2.camel@localhost> References: <1105651236.5731.2.camel@localhost> Message-ID: <1106145870.21851.15.camel@kyle> Hi Gerd, Thanks for your applet, it's exactly what I was looking for. I have a problem though, I'm using nagios 1.2 and the applet is always showing red (when I have the config set to version 1.x) and on "mouse-over" it shows a bunch of services that are in fact acknowledged. But if I look at the page from your "index2.html" those do not show, and looking at the line in index2.html w.r.t. the serviceprops and servicestatustype etc. I'm a bit confused about how the applet parses the information..... could you explain how the applet filters the alerts ? BTW, I found that it's not compatible with my (old , I know) KDE 3.2 but configure was OK with it, but during make I got: /usr/lib/qt-3.2.1/bin/uic -L /opt/kde/lib/kde3/plugins/designer -nounload -o prefsoundlayout.h ./prefsoundlayout.ui uic: File generated with too recent version of Qt Designer (3.3 vs. 3.2.1) Maybe configure should check the version of uic too ? Regards, Jaap Hogenberg On Thu, 2005-01-13 at 22:20, Gerd Mueller wrote: > Hi all, > > since I like our tlight project at netways very much, I wanted a > trafficlight on my notebook. My notebook's OS is linux and I am using > kde as windowmanager. So I decided to write a kickerapplet. It is a very > small and simple applet but for me it is very usefull. > > I published it under http://www.nagiosexchange.org -> Addon Projects -> > Notifications -> KTLight. > > The applet is my very first KickerApplet and the actual release is the > version 0.2. So please regard this version still as alpha even though it > 's stable and runing without any problems. > > Please post every featurerequest as comment to this project on > www.nagiosexchange.org. Of course all other comments are welcome as > well. > > Right now there is no documentation for this kickerapplet but it's very > simple. All you have to do is right click on it an configure it. "Nagios > URL" is used to open a browser Window after left clicking on the applet. > Copy the attached index2.html to your Nagios folder and configure it > (eg.: http://nagios.foobar.org/nagios/index2.html). "Nagios cgi-bin" is > the url to the nagios cgis. So please but something like > http://nagios.foobar.org/nagios/cgi-bin/ in. > > I hope the applet is usefull. > > Gerd > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Stephan.Janosch at interface-business.de Wed Jan 19 15:59:49 2005 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Wed, 19 Jan 2005 15:59:49 +0100 Subject: R: R: Notify on sigle events In-Reply-To: References: Message-ID: <41EE75E5.4070408@interface-business.de> Marco Borsani wrote: > -}Marco Borsani wrote: > -}> -}Perhaps you can write a wrapper or a plugin which can handle this > -}> -}particular situation. > -}> -} > -}> -}Stephan > -}> -} > -}> > -}> I wrote the plugin to check the log file, but I have not idea > -}how to handle > -}> the notifications because there are not CRITICAL and (after) OK > -}status (like > -}> usual). > -}> > -}> Marco > -}> > -} > -}Perhaps I missunderstood your problem. But If you need to monitor > -}something, than you also need to know, when there is a problem. If you > -}can't see at least two different states, I have no idea to monitor > -}something. > -} > > Well, my customer want to receive notifications every time some particular > strings are written inside that log file. > Probably Nagios can not do this .... > > Marco > Ah...that's the point. That works with the help of check_log2.pl. I made a servicecheck with that. Because of the nature of check_log2.pl my service looks like this: define service { name some_template host_name some_host active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 0 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 0 check_period some_period notification_interval 0 notification_period 24x7 notification_options w,u,c,r contact_groups some_contact is_volatile 1 max_check_attempts 1 normal_check_interval 180 retry_check_interval 1 register 0 } define service { use some_template service_description some_service_name check_command check_by_ssh!some_user!'/some/path/check_log2.pl -l /path/to/logfile.log -s /some/path/seek_file_for_check_log2.pl -p some_string_to_look_for' } The command is somehow complex, it's a combination of check_by_ssh and check_log2.pl. Regards Stephan ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jkmoseley at jump.net Wed Jan 19 16:03:38 2005 From: jkmoseley at jump.net (James) Date: Wed, 19 Jan 2005 09:03:38 -0600 Subject: upgrade to 2.0b1 / event handlers broken In-Reply-To: <41EE1A70.2080002@op5.se> References: <014e01c4fddb$8c6486c0$01fea8c0@itss.auckland.ac.nz> <41EE1A70.2080002@op5.se> Message-ID: <1106147018.41ee76ca3e199@webmail.jkm.net> Like I said, I seriously doubt this is a 'shell' issue. The event handlers were properly executed before the upgrade. Everything else works OK after upgrading, except that the nagios process appears to *not* be calling the scripts... One script handler is supposed to be called when the check_nrpe check fails to detect the nagios process running on another box. The check_nrpe plugin was recently built and an alarm condition is generated when Nagios is killed on the other system - so I don't think the problem is outdated plugins, either... James Quoting Andreas Ericsson : > Steve Shipway wrote: > > James Mosley wrote: > > > >>[1106090538] SERVICE EVENT HANDLER: > >>tx-svr-1;NAGIOS;CRITICAL;HARD;2;handle-master-proc-event > >>[1106090658] SERVICE EVENT HANDLER: > >>tx-svr-1;NAGIOS;OK;HARD;2;handle-master-proc-event > >> > >>However, the event scripts simply aren't being called by the > >>nagios process as verified by modifications I made to them for > >>testing purposes. Running the EV scripts manually works, so > >>it's not broken scripts. Addtionally, all the config > > > > > > I've had similar behaviour under Nagios 1.2. An event handler script > > (written in perl) ran fine from the command line, but not as an event > > handler. > > > > I found that, if I specified the perl executable on the commandline, or > even > > wrapped it in a shellscript, > > Shell-scripts always work with decently recent shells, since popen and > system actually "run /bin/sh -c " to get things done. > > > it worked: > > command_line /usr/bin/perl $USER2$/eh-send-bb.pl $SERVICESTATE$ > > $STATETYPE$ $SERVICEATTEMPT$ $HOSTADDRESS$ "$SERVICEDESC$" > > > > The shell should take care of it provided the +x bit is set for the user > who's trying to execute and a properly formatted hashbang line is > present at the very top of the script. > chmod 755 script takes care of the permissions. The hashbang line should > look like so; > #!/usr/bin/perl > (i.e. without spaces and such to ensure workability with older shells). > > > No idea why, but this might help you if the scripts are perl or shell > > scripts? > > > > Steve > > > > --- > > Steve Shipway: ITSS, University of Auckland > > Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ > > ** We can only discover new oceans when we have the ** > > ** courage to lose sight of the shore. ** > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 mail sent through jkm.NET secure webmail server ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jan 19 16:18:32 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 19 Jan 2005 16:18:32 +0100 Subject: Services dependancy In-Reply-To: References: Message-ID: <41EE7A48.1080305@op5.se> Alloo, Vincent wrote: > Hello, > We are using Nagios 1.2 to monitor thousand of servers for few services. > Very helpful tool !! > Here is my question: > - for server1..150 (hostgroup1), I have 3 services: ping, service1, > service2 > How can I setup Nagios to check service1 and service2 only if ping is > OK? Assuming you're using ping to check if the host is alive, you don't have to do anything at all. They will all depend on the host-check returning OK, or notifications will be supressed. > There is no dependences between hosts. > > Thanks for your help? > > Vincent Alloo > TI France Design Systems Operations Manager > Europe and Middle East IT Services > Texas Instruments France > > E-Mail: v-alloo at ti.com > Phone: +33 4 93 22 26 97 > Mobile: +33 6 82 13 00 80 > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kidd1270 at gmail.com Wed Jan 19 17:09:44 2005 From: kidd1270 at gmail.com (Kidd Chaos) Date: Wed, 19 Jan 2005 11:09:44 -0500 Subject: services and service notifications and escalations help Message-ID: <91a3540905011908095060ee86@mail.gmail.com> ---------- my question ---- Does anyone have an example service and service escalation they can post? I need an example. I tried to do like the doc examples..no luck. For some reason I do not get any service notifications (escalation emails) and service escalations....so my setup must be incorrect. I DO get host down/up notifications...so I know email works. Thanks -kidd ------------- end question --- ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carsten.Schmitz at aegon.com Wed Jan 19 17:17:23 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Wed, 19 Jan 2005 17:17:23 +0100 Subject: R: Notify on sigle events Message-ID: <49977F7CEA035C46A2D47108CE0F032F014178@ANGELIA.aegon.com> > Well, my customer want to receive notifications every time some particular > strings are written inside that log file. > Probably Nagios can not do this .... Dunno, there is a ./check_log in the regular plugin distribution but I don't think it does what you need. The plain way (without Nagios) would probably be like this: An entry (which signifies a problem I guess) gets written into an Oracle log file, script greps for that string from cron, and if the grep finds a corresponding line (that'd be [ "$?" -eq "0" ] I think) then it would trigger an e-mail/pager/carrier pigeon to alert some person. You could do that without using Nagios at all, but you need to add some logic so it doesn't email people repeatedly for the same entry (if your log file has time stamps, its only a matter of extracting it (awk) and making a lock file for that time stamp in /tmp (carefull if your /tmp is wiped at reboot ;) If you want to invoke Nagios, it depends on your procedure. Is someone reacting to the alert by looking at the system and "fixing" Oracle? If yes, you could require him to take some action which "acknowledges" the problem and makes your check script assume "ok" for this particular log entry, returning a final "ok" (read: exit 0) to Nagios if no other "unacknowledged" entries are present. Or maybe you could even work with Nagios built-in "Problem Acknowledgment" feature (dunno if it can have an event handler of some sort). But if 10 log entries are added in short time, the poor guy will have to do a lot of "acknowledgeing". Depends on the type of log entry you monitor, and your working procedures for handling the log entry I guess. Hence, my $0.02 (actually, that'd be 0.02 eurocents) is that in most cases i'd probably just use cron for this one (or, I'd do a search for log file monitors on sf.net, someone must have invented that wheel before :) Cheers, ---------------------------------------------------------------------- Carsten Schmitz AEGON N.V. System Administrator AEGONplein 50 Group Information Management 2591TV The Hague The Netherlands ---------------------------------------------------------------------- "My password is my cat's name. Its called x6>B8e at 7w_4. I rename it every 30 days." ---------------------------------------------------------------------- -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Marco Borsani Sent: Wednesday, January 19, 2005 3:17 PM To: Stephan Janosch Cc: nagios-users at lists.sourceforge.net Subject: R: R: [Nagios-users] Notify on sigle events -}Marco Borsani wrote: -}> -}Perhaps you can write a wrapper or a plugin which can handle this -}> -}particular situation. -}> -} -}> -}Stephan -}> -} -}> -}> I wrote the plugin to check the log file, but I have not idea -}how to handle -}> the notifications because there are not CRITICAL and (after) OK -}status (like -}> usual). -}> -}> Marco -}> -} -}Perhaps I missunderstood your problem. But If you need to monitor -}something, than you also need to know, when there is a problem. If you -}can't see at least two different states, I have no idea to monitor -}something. -} Well, my customer want to receive notifications every time some particular strings are written inside that log file. Probably Nagios can not do this .... Marco ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From m.borsani at it.net Wed Jan 19 17:21:07 2005 From: m.borsani at it.net (Marco Borsani) Date: Wed, 19 Jan 2005 17:21:07 +0100 Subject: R: R: Notify on sigle events In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC83636D@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC83636D@mismail.ena.com> Message-ID: > -}> Well, my customer want to receive notifications every time some -}particular -}> strings are written inside that log file. -}> Probably Nagios can not do this .... -} -}Yes, certainly it can and there are plugins that do it. I know of at -}least three check_log plugins that are included with the standard -}plugins distribution -- -} -}./plugins-scripts/check_log.sh -}./plugins-scripts/check_log -}./contrib/check_log2.pl -} -}Read the scripts to see what each is capable of and how to use them and -}choose the one that suits your needs. Failing that, and it should work -}for you, you could always use the guide on SNMP trap integration as an -}alternative method as they both have similar requirements -- -} -}http://nagios.sourceforge.net/docs/2_0/int-snmptrap.html -} -}I would encourage you to use the check_log scripts though as the latter -}method is really overkill. -} -}-- -}Marc -} Well, I know check_log plugin but it still "change the status" when match the "pattern" (third arguments of the check_log) in Critical and back to normal if nothing change inside the log file. The problem is that I need to send only one notification when match the "pattern" but mainteining the OK status. Marco ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Jan 19 16:46:38 2005 From: marc at ena.com (Marc Powell) Date: Wed, 19 Jan 2005 09:46:38 -0600 Subject: R: Notify on sigle events Message-ID: <349555FA607F3A4CBDA9326035D1A7FC83636D@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Marco Borsani > Sent: Wednesday, January 19, 2005 8:17 AM > To: Stephan Janosch > Cc: nagios-users at lists.sourceforge.net > Subject: R: R: [Nagios-users] Notify on sigle events > > > -}Marco Borsani wrote: > -}> -}Perhaps you can write a wrapper or a plugin which can handle this > -}> -}particular situation. > -}> -} > -}> -}Stephan > -}> -} > -}> > -}> I wrote the plugin to check the log file, but I have not idea > -}how to handle > -}> the notifications because there are not CRITICAL and (after) OK > -}status (like > -}> usual). > -}> > -}> Marco > -}> > -} > -}Perhaps I missunderstood your problem. But If you need to monitor > -}something, than you also need to know, when there is a problem. If you > -}can't see at least two different states, I have no idea to monitor > -}something. > -} > > Well, my customer want to receive notifications every time some particular > strings are written inside that log file. > Probably Nagios can not do this .... Yes, certainly it can and there are plugins that do it. I know of at least three check_log plugins that are included with the standard plugins distribution -- ./plugins-scripts/check_log.sh ./plugins-scripts/check_log ./contrib/check_log2.pl Read the scripts to see what each is capable of and how to use them and choose the one that suits your needs. Failing that, and it should work for you, you could always use the guide on SNMP trap integration as an alternative method as they both have similar requirements -- http://nagios.sourceforge.net/docs/2_0/int-snmptrap.html I would encourage you to use the check_log scripts though as the latter method is really overkill. -- Marc ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jan 19 18:14:49 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 19 Jan 2005 18:14:49 +0100 Subject: Services dependancy In-Reply-To: References: Message-ID: <41EE9589.70109@op5.se> Bergstr?m Sebastian wrote: > Hi! > > I think Vincent Alloos question is interesting... Can you set > dependencies between service checks? Like for instance, when using > check_nt - can you define that if a service check doesn't get through > for any reason the next service check on the host will not be run? > Yes you can, but you'd have to type more than you want, and the result wouldn't most likely be what you want. Instead, you would want to disable notifications for the other services until any of them return OK. This would be easier to implement if the config could handle something like classes, where one service is 'master' of other services (it can be done with servicedependencies too, but not in a very intuitive way). > > Best regards, Sebastian Bergstroem > > -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] > Sent: den 19 januari 2005 16:19 To: > nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] > Services dependancy > > Alloo, Vincent wrote: > >> Hello, We are using Nagios 1.2 to monitor thousand of servers for >> few services. Very helpful tool !! Here is my question: - for >> server1..150 (hostgroup1), I have 3 services: ping, service1, >> service2 How can I setup Nagios to check service1 and service2 only >> if ping is OK? > > > Assuming you're using ping to check if the host is alive, you don't > have to do anything at all. They will all depend on the host-check > returning OK, or notifications will be supressed. > > >> There is no dependences between hosts. >> >> Thanks for your help? >> >> Vincent Alloo TI France Design Systems Operations Manager Europe >> and Middle East IT Services Texas Instruments France >> >> E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 >> 00 80 >> >> >> >> >> ------------------------------------------------------- The SF.Net >> email is sponsored by: Beat the post-holiday blues Get a FREE >> limited edition SourceForge.net t-shirt from ThinkGeek. It's fun >> and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >> _______________________________________________ Nagios-users >> mailing list Nagios-users at 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 >> > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From idavidso at juniper.net Wed Jan 19 18:21:24 2005 From: idavidso at juniper.net (Ian Davidson) Date: Wed, 19 Jan 2005 17:21:24 +0000 Subject: Tying nagios logins to AD Message-ID: Hi there, Does anyone know if it's possible to tie the authentication process (username/passwd) for logging into nagios to a Windows ActiveDirectory such that the username and passwds are in sync? Ian -- Ian Davidson Corporate Network Services Juniper Networks Tel: +44-1372-385653 GSM: +44-7952-173703 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sjoy at peavey-eu.com Wed Jan 19 17:53:37 2005 From: sjoy at peavey-eu.com (Stephen Joy) Date: Wed, 19 Jan 2005 16:53:37 +0000 Subject: Not authorized to add comments Message-ID: Hi, thanks for the suggestion but that error was just my typing in the email i have checked for spelling in the config file and it is fine. Anymore idea from anyone would really be appriciated. >>> "Sand Philipp" 01/18/05 11:36am >>> Hi, Did you realize your spelling mistake there? authorized_for_all_service_commands=naigosadmin should be nagiosadmin I suppose ;) Regards, Philipp > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Stephen Joy > Sent: Tuesday, January 18, 2005 10:32 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Not authorized to add comments > > Hi, > > When i try to add a comment to a host or service i get this error. > > "Sorry, but you are not authorized to commit the specified command." > > I am loging in as nagiosadmin. > > In my cgi.cfg among others i have; > > authorized_for_system_commands=nagiosadmin > authorized_for_all_service_commands=naigosadmin > authorized_for_all_host_commands=nagiosadmin > > which i thought would be enough. > > also i did a make install-commandmode which seemed to go ok. > > Any ideas would be great. > > Thanks. > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ************************************************ sycor plastics - die neue Branchenl?sung fnr die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann darnber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemS e EmpfSnger sind, l?schen Sie bitte die E-Mail und deren AnhSnge sofort und benachrichtigen Sie uns darnber. Die Firma sycor willigt in keine VertrSge oder vertragliche Verpflichtungen ein oder nbermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdrncklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mister.roy at gmail.com Wed Jan 19 18:34:17 2005 From: mister.roy at gmail.com (Brian Roy) Date: Wed, 19 Jan 2005 11:34:17 -0600 Subject: Tying nagios logins to AD In-Reply-To: References: Message-ID: <1316644905011909342419ee5b@mail.gmail.com> On Wed, 19 Jan 2005 17:21:24 +0000, Ian Davidson wrote: > Hi there, > > Does anyone know if it's possible to tie the authentication process > (username/passwd) for logging into nagios to a Windows ActiveDirectory such > that the username and passwds are in sync? > Ian, There was a rather lengthy thread on this just a few weeks ago with several suggestions on how one would go about doing this. Please take a look at the archives for details. As a keyword search, you might try winbind. -Brian ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From boinger at tradingtechnologies.com Wed Jan 19 19:50:31 2005 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 19 Jan 2005 12:50:31 -0600 Subject: R: R: Notify on sigle events In-Reply-To: References: Message-ID: <1106160631.10734.17.camel@localhost> On Wed, 2005-01-19 at 10:21 -0600, Marco Borsani wrote: > Well, I know check_log plugin but it still "change the status" when > match > the "pattern" (third arguments of the check_log) in Critical and back > to > normal if nothing change inside the log file. > The problem is that I need to send only one notification when match > the > "pattern" but mainteining the OK status. So have it set to not volatile (is_volatile 0), max_check_attempts of 1, obsess_over_service to 1, and set an ocsp_command to reset the service. This should rarely, if ever, actually *show* a Hard Critical, but you'll get an alert each time it changes. You probably would want to set your notifications to c (or c,u), though. Else you'll get two alerts each time. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Jan 19 18:58:56 2005 From: marc at ena.com (Marc Powell) Date: Wed, 19 Jan 2005 11:58:56 -0600 Subject: R: Notify on sigle events Message-ID: <349555FA607F3A4CBDA9326035D1A7FC83638D@mismail.ena.com> > -----Original Message----- > From: Marco Borsani [mailto:m.borsani at it.net] > Sent: Wednesday, January 19, 2005 10:21 AM > To: Marc Powell; Stephan Janosch > Cc: nagios-users at lists.sourceforge.net > Subject: R: R: [Nagios-users] Notify on sigle events > > > > -}> Well, my customer want to receive notifications every time some > -}particular > -}> strings are written inside that log file. > -}> Probably Nagios can not do this .... > -} > -}Yes, certainly it can and there are plugins that do it. I know of at > -}least three check_log plugins that are included with the standard > -}plugins distribution -- > -} > -}./plugins-scripts/check_log.sh > -}./plugins-scripts/check_log > -}./contrib/check_log2.pl > -} > -}Read the scripts to see what each is capable of and how to use them and > -}choose the one that suits your needs. Failing that, and it should work > -}for you, you could always use the guide on SNMP trap integration as an > -}alternative method as they both have similar requirements -- > -} > -}http://nagios.sourceforge.net/docs/2_0/int-snmptrap.html > -} > -}I would encourage you to use the check_log scripts though as the latter > -}method is really overkill. > -} > -}-- > -}Marc > -} > > Well, I know check_log plugin but it still "change the status" when match > the "pattern" (third arguments of the check_log) in Critical and back to > normal if nothing change inside the log file. > The problem is that I need to send only one notification when match the > "pattern" but mainteining the OK status. What will happen is this -- Check 1 - check_log checks the log file, doesn't find the pattern returns OK [rinse, wash, repeat] Pattern is logged to the log file. Check x - check_log checks the log file, finds the pattern, status is set to critical, Nagios sends notification Check x+1 - check_log checks the log file, doesn't find the pattern, returns OK [rinse, wash, repeat] As long as you have Nagios configured to send alerts on the first non-OK state _and_ not to send notification on recovery, you'll only receive one alert and it will only show critical in the interface until the next scheduled check. Nagios will *have* to change the status internally for the duration of the single check in order to send an alert. This is completely appropriate behavior as there is a 'problem' with the service as you've defined 'problem'. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Wed Jan 19 20:05:30 2005 From: marc at ena.com (Marc Powell) Date: Wed, 19 Jan 2005 13:05:30 -0600 Subject: Multiple sites, no web server Message-ID: <349555FA607F3A4CBDA9326035D1A7FC83639D@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Chuck Lidderdale > Sent: Wednesday, January 19, 2005 11:01 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Multiple sites, no web server > > I have 3 locations, each with several boxes I want to monitor. > Each site has a box perfect for holding Nagios and overseeing > the other boxes. There is no web server on any of the boxes. > As I see it, not a problem, Nagios just sends email alarms/ > alerts to a central box with Nagios ... or a GUI to display > and handle the emails. Is there a way for Nagios on the > outlying boxes to communicate with the central GUI? > > Anyone ever worked this situation or had a like problem? Many people use distributed monitoring. http://nagios.sourceforge.net/docs/2_0/distributed.html -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From chuck at blackforest-co.com Wed Jan 19 18:00:38 2005 From: chuck at blackforest-co.com (Chuck Lidderdale) Date: Wed, 19 Jan 2005 10:00:38 -0700 Subject: Multiple sites, no web server Message-ID: <41EE9236.7050002@blackforest-co.com> I have 3 locations, each with several boxes I want to monitor. Each site has a box perfect for holding Nagios and overseeing the other boxes. There is no web server on any of the boxes. As I see it, not a problem, Nagios just sends email alarms/ alerts to a central box with Nagios ... or a GUI to display and handle the emails. Is there a way for Nagios on the outlying boxes to communicate with the central GUI? Anyone ever worked this situation or had a like problem? Thanks ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Wed Jan 19 19:27:48 2005 From: jhmartin at toger.us (Jason Martin) Date: Wed, 19 Jan 2005 10:27:48 -0800 Subject: R: R: Notify on sigle events In-Reply-To: <1106147388.10734.2.camel@localhost> References: <1106147388.10734.2.camel@localhost> Message-ID: <20050119182748.GA22548@zippy.toger.us> On Wed, Jan 19, 2005 at 09:09:48AM -0600, jeff vier wrote: > > Well, my customer want to receive notifications every time > > some particular > > strings are written inside that log file. > > Probably Nagios can not do this .... > Have you had a look at check_log? > It does exactly what you are (apparently) asking. If you are looking for an alert *every time* a string appears, then using an active check won't work. Nagios will alert once *per polling interval* that a string appeared, but if the string appeared 3 times in an interval then you'll only get one alert. To get individual alerts you'll need to use a passive check and set the service to volitile. -Jason Martin -- Hackito ergo sum. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From ae at op5.se Wed Jan 19 20:32:25 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 19 Jan 2005 20:32:25 +0100 Subject: R: R: Notify on sigle events In-Reply-To: References: Message-ID: <41EEB5C9.4040309@op5.se> Marco Borsani wrote: > -}> Well, my customer want to receive notifications every time some > -}particular > -}> strings are written inside that log file. > -}> Probably Nagios can not do this .... > -} > -}Yes, certainly it can and there are plugins that do it. I know of at > -}least three check_log plugins that are included with the standard > -}plugins distribution -- > -} > -}./plugins-scripts/check_log.sh > -}./plugins-scripts/check_log > -}./contrib/check_log2.pl > -} > -}Read the scripts to see what each is capable of and how to use them and > -}choose the one that suits your needs. Failing that, and it should work > -}for you, you could always use the guide on SNMP trap integration as an > -}alternative method as they both have similar requirements -- > -} > -}http://nagios.sourceforge.net/docs/2_0/int-snmptrap.html > -} > -}I would encourage you to use the check_log scripts though as the latter > -}method is really overkill. > -} > -}-- > -}Marc > -} > > Well, I know check_log plugin but it still "change the status" when match > the "pattern" (third arguments of the check_log) in Critical and back to > normal if nothing change inside the log file. > The problem is that I need to send only one notification when match the > "pattern" but mainteining the OK status. > Use the check_log2.pl plugin. It maintains status between tries in a seekfile, so you'll only get one hit per pattern. Make sure you set your max_check_attempts to 1 though. > Marco > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jan 19 20:34:31 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 19 Jan 2005 20:34:31 +0100 Subject: R: R: Notify on sigle events In-Reply-To: <20050119182748.GA22548@zippy.toger.us> References: <1106147388.10734.2.camel@localhost> <20050119182748.GA22548@zippy.toger.us> Message-ID: <41EEB647.4000706@op5.se> Jason Martin wrote: > On Wed, Jan 19, 2005 at 09:09:48AM -0600, jeff vier wrote: > >>>Well, my customer want to receive notifications every time >>>some particular >>>strings are written inside that log file. >>>Probably Nagios can not do this .... >> >>Have you had a look at check_log? >>It does exactly what you are (apparently) asking. > > If you are looking for an alert *every time* a string appears, > then using an active check won't work. Nagios will alert once > *per polling interval* that a string appeared, but if the string > appeared 3 times in an interval then you'll only get one alert. > > To get individual alerts you'll need to use a passive check and > set the service to volitile. > No. The check_log2.pl file can lseek into the file and only scan the new part. It will reset to okay immediately on the second attempt though, so one will need max_check_attempts 1. > -Jason Martin -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Wed Jan 19 20:35:29 2005 From: ae at op5.se (Andreas Ericsson) Date: Wed, 19 Jan 2005 20:35:29 +0100 Subject: Tying nagios logins to AD In-Reply-To: <1316644905011909342419ee5b@mail.gmail.com> References: <1316644905011909342419ee5b@mail.gmail.com> Message-ID: <41EEB681.1040803@op5.se> Brian Roy wrote: > On Wed, 19 Jan 2005 17:21:24 +0000, Ian Davidson wrote: > >>Hi there, >> >>Does anyone know if it's possible to tie the authentication process >>(username/passwd) for logging into nagios to a Windows ActiveDirectory such >>that the username and passwds are in sync? >> > > > Ian, > > There was a rather lengthy thread on this just a few weeks ago with > several suggestions on how one would go about doing this. Please take > a look at the archives for details. As a keyword search, you might try > winbind. > Or ldap (check out mod_ldap for apache). > -Brian > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sudheer at tgs-solutions.com Wed Jan 19 20:42:04 2005 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Wed, 19 Jan 2005 14:42:04 -0500 Subject: Hostext info Message-ID: <41EEB80C.7030405@tgs-solutions.com> I have a tables for service and host ext info, and xeddb_host etc in cgi.cfg file. Do i need to create the files for hostextinfo.cfg and serviceextinfo.cfg files? or type in the values in cgi.cfg file it self? All other information is stored in DB. Thanks, -- Sudheer Muddappa ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Wed Jan 19 20:45:00 2005 From: jhmartin at toger.us (Jason Martin) Date: Wed, 19 Jan 2005 11:45:00 -0800 Subject: Notify on single events In-Reply-To: <41EEB647.4000706@op5.se> References: <1106147388.10734.2.camel@localhost> <20050119182748.GA22548@zippy.toger.us> <41EEB647.4000706@op5.se> Message-ID: <20050119194459.GC22548@zippy.toger.us> On Wed, Jan 19, 2005 at 08:34:31PM +0100, Andreas Ericsson wrote: > >To get individual alerts you'll need to use a passive check and > >set the service to volitile. > No. The check_log2.pl file can lseek into the file and only scan the new > part. It will reset to okay immediately on the second attempt though, so > one will need max_check_attempts 1. You misunderstood my concern. I understand that check_log2 seeks to its last position in the file. However, imagine the following timeline: 1: check_log2 polls the file. 2: Error 1 gets written to the file 3: Error 2 gets written to the file 4: check_log2 polls the file and alerts about the error. If the original poster wanted individual alerts about steps 2,3 then passive checks are the only way to go. If he just wanted to know that >= 1 error messages were written between steps 1,4 then active checks will work. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From mathwig at gmx.de Wed Jan 19 21:00:30 2005 From: mathwig at gmx.de (Lars Mathwig) Date: Wed, 19 Jan 2005 21:00:30 +0100 Subject: Tying nagios logins to AD References: Message-ID: <004101c4fe61$87ed5fa0$0c0618ac@athlon> Hi Ian, in Linux we use SMBAuth for Apache 1.3 and Pam Smb for Apache 2.0. Pam Smb additionally requires valid user in /etc/passwd (known bug), but it gets the passwords from Active Directory. In HP-UX 11.0 we use Microsoft Services for Unix. The Windows service changes the passwords synchronously in the Unix passwd. Lars Mathwig Liebherr Elektronik GmbH ----- Original Message ----- From: "Ian Davidson" To: Sent: Wednesday, January 19, 2005 6:21 PM Subject: [Nagios-users] Tying nagios logins to AD > Hi there, > > Does anyone know if it's possible to tie the authentication process > (username/passwd) for logging into nagios to a Windows ActiveDirectory such > that the username and passwds are in sync? > > Ian > -- > Ian Davidson > Corporate Network Services > Juniper Networks > Tel: +44-1372-385653 > GSM: +44-7952-173703 > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From shawn at nccsc.k12.in.us Wed Jan 19 21:57:19 2005 From: shawn at nccsc.k12.in.us (Shawn Iverson) Date: Wed, 19 Jan 2005 15:57:19 -0500 Subject: Tying nagios logins to AD Message-ID: <7ADE11986184154083869D43D0B06D447B7D06@exchange.nccsc.k12.in.us> Kerberos is probably the most secure method to use. I would also recommend Services for Unix, if you plan to make all of your *nix machines authenticate with AD usernames and passwords. If you decide to use Kerberos, make certain that you are using version krb5-workstation-1.3.x or newer. You won't necessarily need to use winbind if you are exclusively performing web authentication, though. Shawn Iverson Technology Associate MCP W2K3S and W2KP, Linux+, Network+, A+ New Castle Community School Corporation shawn at nccsc.k12.in.us On Wednesday, January 19, 2005 12:21 PM Ian wrote: > >Hi there, > >Does anyone know if it's possible to tie the authentication process >(username/passwd) for logging into nagios to a Windows >ActiveDirectory such that the username and passwds are in sync? > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nuffers at tsainc.com Wed Jan 19 21:57:22 2005 From: nuffers at tsainc.com (nuffers at tsainc.com) Date: Wed, 19 Jan 2005 14:57:22 -0600 Subject: NRPE plugins for AIX In-Reply-To: <20050119171635.E9BA6893F0@sc8-sf-spam1.sourceforge.net> References: <20050119171635.E9BA6893F0@sc8-sf-spam1.sourceforge.net> Message-ID: I had the same problem with AIX 5.2. I contacted IBM and they tried to track it down. As they were doing that, I tried to compile the newest version of plugins, nagios-plugins-1.4.0alpha2, and had no problem Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From funraps at yahoo.com Wed Jan 19 22:53:10 2005 From: funraps at yahoo.com (funraps too) Date: Wed, 19 Jan 2005 13:53:10 -0800 (PST) Subject: common-footer.ssi or any custom SSI Message-ID: <20050119215310.75509.qmail@web41112.mail.yahoo.com> Hello group, I've used the common-footer and header many times in the past, however recently Nagios started to ignore them (2.1b) and does not load them any more, not matter what is in there, Anyone experience this before and might be able to shed some light of some troubleshooting tips? Thanks Fun --------------------------------- Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. Learn more. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nuffers at tsainc.com Wed Jan 19 22:53:33 2005 From: nuffers at tsainc.com (nuffers at tsainc.com) Date: Wed, 19 Jan 2005 15:53:33 -0600 Subject: Editing Config Files In-Reply-To: <20050119171635.E9BA6893F0@sc8-sf-spam1.sourceforge.net> References: <20050119171635.E9BA6893F0@sc8-sf-spam1.sourceforge.net> Message-ID: I'm currently using NagMin to manage the config files for Nagios 1.2 instead of doing it manually? What are people using for nagios 2.0? Editing manually? Front end program? Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasondinsdale at gmail.com Thu Jan 20 00:42:14 2005 From: jasondinsdale at gmail.com (Jason Dinsdale) Date: Wed, 19 Jan 2005 23:42:14 +0000 (UTC) Subject: Is is possible to setup an 'aggregate service'? References: Message-ID: Jason Dinsdale gmail.com> writes: Gents, Thanks for the quick responses, and Harper you were right on the money - the check_cluster2 is pretty much what I need, the boolean logic part not withstanding. I even took a look at the source, and Andreas you will be pleased to know that even I can read code ... who knows I might even write a few enhancements myself! I havent got my head around event handlers just yet (too busy with Net-SNMP and MIBs) but James you can be sure I will investigate. The only athetic problem I have with check_cluster2 is that the service command ends up being horrendously long ... 250 chars or more with 10 cluster services ... does Nagios support multi-line statements in the object config files out of the box? Jason ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From psanchez at ipowerweb.com Thu Jan 20 01:17:09 2005 From: psanchez at ipowerweb.com (Peter Sanchez) Date: Wed, 19 Jan 2005 16:17:09 -0800 Subject: Nagios notifications / external script In-Reply-To: <41EE1B12.9080004@op5.se> References: <41EE1B12.9080004@op5.se> Message-ID: On Jan 19, 2005, at 12:32 AM, Andreas Ericsson wrote: > > Eventhandlers won't kick in when hosts are in scheduled downtime > though (which is what nearly everybody wants). That's what I thought. Is there a handler that can be used even when an item is scheduled for downtime? > >> http://nagios.sourceforge.net/docs/1_0/eventhandlers.html >> - Harper >> Harper Mann >> Groundwork Open Source Solutions >> 510-599-2075 (cell) >> http://itgroundwork.com >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Peter >> Sanchez >> Sent: Tuesday, January 18, 2005 7:46 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Nagios notifications / external script >> I am wondering if its possible to have Nagios execute an external >> script every time a server/service goes into critical mode? Even if >> the server/service is scheduled for downtime or has notifications >> turned off. Is this possible? I tried searching the FAQ and mailing >> list archives, but didnt find much info. >> Thanks! >> Peter >> ------------------------------------------------------- >> The SF.Net email is sponsored by: Beat the post-holiday blues >> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> ------------------------------------------------------- >> The SF.Net email is sponsored by: Beat the post-holiday blues >> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ross.minkov at hp.com Thu Jan 20 02:02:16 2005 From: ross.minkov at hp.com (Minkov, Ross) Date: Wed, 19 Jan 2005 20:02:16 -0500 Subject: How to monitor CPU utilization for a single process? Message-ID: <192E38594ACFAF4EB4F40E1C4B60472306014BE0@tayexc13.americas.cpqcorp.net> Hi Nagios Gurus, I'm a Nagios newb and have been playing with agentless monitoring so far. How can I monitor the cpu utilization of a single process? Say if the process is using more than 90% of a CPU trigger an event. I assume I'll have to install some "agent" on the monitored server. TIA, Ross ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jkmoseley at jump.net Thu Jan 20 02:44:21 2005 From: jkmoseley at jump.net (James) Date: Wed, 19 Jan 2005 19:44:21 -0600 Subject: upgrade to 2.0b1 / event handlers broken In-Reply-To: <1106147018.41ee76ca3e199@webmail.jkm.net> References: <014e01c4fddb$8c6486c0$01fea8c0@itss.auckland.ac.nz> <41EE1A70.2080002@op5.se> <1106147018.41ee76ca3e199@webmail.jkm.net> Message-ID: <1106185461.41ef0cf5edc72@webmail.jkm.net> Like a dumb ass, I couldn't put two and two together... The problem all along was that the macro variable defined in the misccommands config file has become outdated in version 2 of Nagios. Updated the macro names according to docs and all is fine now... FYI and thanks. James Quoting James : > Like I said, I seriously doubt this is a 'shell' issue. The event handlers > were > properly executed before the upgrade. Everything else works OK after > upgrading, > except that the nagios process appears to *not* be calling the scripts... > One > script handler is supposed to be called when the check_nrpe check fails to > detect the nagios process running on another box. The check_nrpe plugin was > recently built and an alarm condition is generated when Nagios is killed on > the > other system - so I don't think the problem is outdated plugins, either... > > James > > Quoting Andreas Ericsson : > > > Steve Shipway wrote: > > > James Mosley wrote: > > > > > >>[1106090538] SERVICE EVENT HANDLER: > > >>tx-svr-1;NAGIOS;CRITICAL;HARD;2;handle-master-proc-event > > >>[1106090658] SERVICE EVENT HANDLER: > > >>tx-svr-1;NAGIOS;OK;HARD;2;handle-master-proc-event > > >> > > >>However, the event scripts simply aren't being called by the > > >>nagios process as verified by modifications I made to them for > > >>testing purposes. Running the EV scripts manually works, so > > >>it's not broken scripts. Addtionally, all the config > > > > > > > > > I've had similar behaviour under Nagios 1.2. An event handler script > > > (written in perl) ran fine from the command line, but not as an event > > > handler. > > > > > > I found that, if I specified the perl executable on the commandline, or > > even > > > wrapped it in a shellscript, > > > > Shell-scripts always work with decently recent shells, since popen and > > system actually "run /bin/sh -c " to get things done. > > > > > it worked: > > > command_line /usr/bin/perl $USER2$/eh-send-bb.pl $SERVICESTATE$ > > > $STATETYPE$ $SERVICEATTEMPT$ $HOSTADDRESS$ "$SERVICEDESC$" > > > > > > > The shell should take care of it provided the +x bit is set for the user > > who's trying to execute and a properly formatted hashbang line is > > present at the very top of the script. > > chmod 755 script takes care of the permissions. The hashbang line should > > look like so; > > #!/usr/bin/perl > > (i.e. without spaces and such to ensure workability with older shells). > > > > > No idea why, but this might help you if the scripts are perl or shell > > > scripts? > > > > > > Steve > > > > > > --- > > > Steve Shipway: ITSS, University of Auckland > > > Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ > > > ** We can only discover new oceans when we have the ** > > > ** courage to lose sight of the shore. ** > > > > -- > > Andreas Ericsson andreas.ericsson at op5.se > > OP5 AB www.op5.se > > Lead Developer > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by: Beat the post-holiday blues > > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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 mail sent through jkm.NET secure webmail server > ---------------------------------------------------- This mail sent through jkm.NET secure webmail server ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jkmoseley at jump.net Thu Jan 20 02:46:44 2005 From: jkmoseley at jump.net (James) Date: Wed, 19 Jan 2005 19:46:44 -0600 Subject: latest check_nagios does not parse 2.0b1 status log... In-Reply-To: <1106176834.41eeeb424ad99@webmail.jkm.net> References: <1106176834.41eeeb424ad99@webmail.jkm.net> Message-ID: <1106185604.41ef0d844f17e@webmail.jkm.net> Sent this to the plug-ins list first. Thought perhaps someone on this list would have something to contribute. Thanks. Quoting James : > I've searched net and mailing list, read the docs, etc, and have not found a > patch/suggestion on how to change the source code of check_nagios to > correctly > parse the new format of the status log in Nagios 2.0b1. > > Basically, the old status.log got continuously appended line by line with a > Unix > time stamp at the beginning of each line. The new status.log is in the form > of > stanzas with the following at the beginning of each stanza: > > info { > created=1106176717 > version=2.0b1 > } > > Has anyone rewritten the code to properly parse the new format? > > James ---------------------------------------------------- This mail sent through jkm.NET secure webmail server ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Jan 20 05:23:26 2005 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 20 Jan 2005 15:23:26 +1100 Subject: 2.0b1 bug in scheduled downtime for all services in hostgroup. Message-ID: <20050120042325.GB45297@IPAustralia.Gov.AU> Dear Folks, I am writing with what may be a bug in scheduled downtime in 2.0b1. After scheduling downtime for all hosts in a hostgroup and - selecting the 'for hosts too' check box - selecting flexible downtime - entering a downtime interval and - entering a comment firstly, the comment was _not_ affixed to the hosts in the host group (the generic comment 'this host has entered a period of scheduled downtime from 12:00 to 14:00 for 24 hours [24 hours was the downtime interval] was what appeared), but worse, notifications were sent out. between even the (wrongly interpreted 2 hour) period of scheduled downtime. The comments (the generic only) persisted only in comments.dat for 2 hours. Here is how one of the comments appeared in comments.dat comment_data=This service has been scheduled for flexible downtime starting between 20-01-2005 12:44:42 and 20-01-2005 14:44:42 and l asting for a period of 24 hours and 0 minutes. Notifications for the service will not be sent out during that time period. Yours sincerely. -- Stanley Hopcroft IP Australia Ph: (02) 6283 3189 Fax: (02) 6281 1353 PO Box 200 Woden ACT 2606 http://www.ipaustralia.gov.au -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Jan 20 05:56:58 2005 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 20 Jan 2005 15:56:58 +1100 Subject: 2.0b1 bug in scheduled downtime for all services in hostgroup - more info. Message-ID: <20050120045657.GC45297@IPAustralia.Gov.AU> Left out of former PR >From the Nag log Thu Jan 20 12:45:10 EXTERNAL COMMAND: SCHEDULE_HOSTGROUP_SVC_DOWNTIME;Canberra Data - Foo Building;1106185482;1106192682;0;0;86400;Stanley Hopcroft;Change of switch agent IP Addresses (A. U. Thor)) Thu Jan 20 12:45:11 EXTERNAL COMMAND: SCHEDULE_HOSTGROUP_HOST_DOWNTIME;Canberra Data - Foo Building;1106185482;1106192682;0;86400;Stanley Hopcroft;Change of switch agent IP Addresses (A. U. Thor) .. Thu Jan 20 13:45:07 HOST NOTIFICATION: networks;SC1R22-C35-R-61;DOWN;host-notify-by-epager;CRITICAL - Plugin timed out after 10 seconds define hostgroup{ hostgroup_name Canberra Data - Foo Building alias LAN infrastructure in Foo Building members ..,SC1R22-C35-R-61,.. } Log does not contain records like 'Host has entered a period of scheduled downtime ..' Lastly, the downtime was scheduled from the CGIs, not sent directly from a script into the command input named pipe. -- Stanley Hopcroft IP Australia Ph: (02) 6283 3189 Fax: (02) 6281 1353 PO Box 200 Woden ACT 2606 http://www.ipaustralia.gov.au -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From ae at op5.se Thu Jan 20 07:49:50 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 20 Jan 2005 07:49:50 +0100 Subject: Is is possible to setup an 'aggregate service'? In-Reply-To: References: Message-ID: <41EF548E.6000508@op5.se> Jason Dinsdale wrote: > Jason Dinsdale gmail.com> writes: > > Gents, > > Thanks for the quick responses, and Harper you were right on the money - the > check_cluster2 is pretty much what I need, the boolean logic part not > withstanding. I even took a look at the source, and Andreas you will be > pleased to know that even I can read code ... who knows I might even write a > few enhancements myself! I havent got my head around event handlers just > yet (too busy with Net-SNMP and MIBs) but James you can be sure I will > investigate. > > The only athetic problem I have with check_cluster2 is that the service > command ends up being horrendously long ... 250 chars or more with 10 cluster > services ... does Nagios support multi-line statements in the object config > files out of the box? > No. You would have to type it all in one line, or create a wrapper script. The latter is probably preferrable, as it lets you edit the check on the fly without reloading nagios. > Jason > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Jan 20 07:51:23 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 20 Jan 2005 07:51:23 +0100 Subject: Nagios notifications / external script In-Reply-To: References: <41EE1B12.9080004@op5.se> Message-ID: <41EF54EB.2060001@op5.se> Peter Sanchez wrote: > > On Jan 19, 2005, at 12:32 AM, Andreas Ericsson wrote: > >> >> Eventhandlers won't kick in when hosts are in scheduled downtime >> though (which is what nearly everybody wants). > > > That's what I thought. Is there a handler that can be used even when an > item is scheduled for downtime? > No, but you can write a neb_module for it if you like. I'm sure the nagios-db project module should suit you farely well. It already hooks into all events going on in nagios, so the main part is already done. >> >>> http://nagios.sourceforge.net/docs/1_0/eventhandlers.html >>> - Harper >>> Harper Mann >>> Groundwork Open Source Solutions >>> 510-599-2075 (cell) >>> http://itgroundwork.com >>> -----Original Message----- >>> From: nagios-users-admin at lists.sourceforge.net >>> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Peter >>> Sanchez >>> Sent: Tuesday, January 18, 2005 7:46 PM >>> To: nagios-users at lists.sourceforge.net >>> Subject: [Nagios-users] Nagios notifications / external script >>> I am wondering if its possible to have Nagios execute an external >>> script every time a server/service goes into critical mode? Even if >>> the server/service is scheduled for downtime or has notifications >>> turned off. Is this possible? I tried searching the FAQ and mailing >>> list archives, but didnt find much info. >>> Thanks! >>> Peter >>> ------------------------------------------------------- >>> The SF.Net email is sponsored by: Beat the post-holiday blues >>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 >>> ------------------------------------------------------- >>> The SF.Net email is sponsored by: Beat the post-holiday blues >>> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at 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 >> >> >> -- >> Andreas Ericsson andreas.ericsson at op5.se >> OP5 AB www.op5.se >> Lead Developer >> >> >> ------------------------------------------------------- >> The SF.Net email is sponsored by: Beat the post-holiday blues >> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Thu Jan 20 07:52:44 2005 From: ae at op5.se (Andreas Ericsson) Date: Thu, 20 Jan 2005 07:52:44 +0100 Subject: How to monitor CPU utilization for a single process? In-Reply-To: <192E38594ACFAF4EB4F40E1C4B60472306014BE0@tayexc13.americas.cpqcorp.net> References: <192E38594ACFAF4EB4F40E1C4B60472306014BE0@tayexc13.americas.cpqcorp.net> Message-ID: <41EF553C.1080609@op5.se> Minkov, Ross wrote: > Hi Nagios Gurus, > > I'm a Nagios newb and have been playing with agentless monitoring so > far. How can I monitor the cpu utilization of a single process? Say if > the process is using more than 90% of a CPU trigger an event. I assume > I'll have to install some "agent" on the monitored server. > Yes. As you will have to if you want to look at any local parameter (disk usage et. al). There are several to choose from, snmp being the most widespread although not exactly designed for use with Nagios. > TIA, > Ross > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Thu Jan 20 09:11:51 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Thu, 20 Jan 2005 09:11:51 +0100 Subject: R: R: Notify on sigle events In-Reply-To: References: Message-ID: <41EF67C7.4070602@interface-business.de> Marco Borsani wrote: > -}> Well, my customer want to receive notifications every time some > -}particular > -}> strings are written inside that log file. > -}> Probably Nagios can not do this .... > -} > -}Yes, certainly it can and there are plugins that do it. I know of at > -}least three check_log plugins that are included with the standard > -}plugins distribution -- > -} > -}./plugins-scripts/check_log.sh > -}./plugins-scripts/check_log > -}./contrib/check_log2.pl > -} > -}Read the scripts to see what each is capable of and how to use them and > -}choose the one that suits your needs. Failing that, and it should work > -}for you, you could always use the guide on SNMP trap integration as an > -}alternative method as they both have similar requirements -- > -} > -}http://nagios.sourceforge.net/docs/2_0/int-snmptrap.html > -} > -}I would encourage you to use the check_log scripts though as the latter > -}method is really overkill. > -} > -}-- > -}Marc > -} > > Well, I know check_log plugin but it still "change the status" when match > the "pattern" (third arguments of the check_log) in Critical and back to > normal if nothing change inside the log file. > The problem is that I need to send only one notification when match the > "pattern" but mainteining the OK status. > > Marco Ah okay. Notifications are only sent out, if a status goes to WARNING OR CRTITCAL. So you need a plugin which changes its status otherwise you won't get a notification. If you don't want a state change in nagios, you can still setup a cron job. It looks like, a cron job in cunjunction with a small shell script around check_log2.pl fits your needs much better, than nagios. Another question: Why is it so important to maintain OK status? Where is the problem, if the state changes? ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From m.borsani at it.net Thu Jan 20 10:19:52 2005 From: m.borsani at it.net (Marco Borsani) Date: Thu, 20 Jan 2005 10:19:52 +0100 Subject: R: R: R: Notify on sigle events In-Reply-To: <41EF67C7.4070602@interface-business.de> References: <41EF67C7.4070602@interface-business.de> Message-ID: -}> Well, I know check_log plugin but it still "change the status" -}when match -}> the "pattern" (third arguments of the check_log) in Critical and back to -}> normal if nothing change inside the log file. -}> The problem is that I need to send only one notification when match the -}> "pattern" but mainteining the OK status. -}> -}> Marco -} -}Ah okay. Notifications are only sent out, if a status goes to WARNING OR -}CRTITCAL. So you need a plugin which changes its status otherwise you -}won't get a notification. If you don't want a state change in nagios, -}you can still setup a cron job. -} -}It looks like, a cron job in cunjunction with a small shell script -}around check_log2.pl fits your needs much better, than nagios. -} -}Another question: Why is it so important to maintain OK status? Where is -}the problem, if the state changes? I will never receive a message to return to an "OK status", so if nagios set a "Critical status", nagios will maintain it forever! If would be possible to set "manually" a service state (for example with a shell script) to OK, I will not have any problem. In this case I could receive one notifications when "the strings" are written in the log file, but none "RED ALERT" appears in the web interface! ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cdoblado at pulsartec.com Thu Jan 20 11:17:25 2005 From: cdoblado at pulsartec.com (C.Doblado) Date: Thu, 20 Jan 2005 11:17:25 +0100 Subject: check_snmp and SNMPv2 Message-ID: <41EF8535.6040405@pulsartec.com> Hello, I'm using check_snmp (nagios-plugins 1.3.1) 1.24.2.2 and need to use password authentication of SNMPv2. The documentation about this version of check_snmp says that it works with versions 1 and 3 of SNMP. Is there a way i can work with check_snmp and SNMPv2? Thank you, Cristina ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Thu Jan 20 11:37:37 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Thu, 20 Jan 2005 11:37:37 +0100 Subject: R: R: R: Notify on sigle events In-Reply-To: References: Message-ID: <41EF89F1.4070409@interface-business.de> Marco Borsani wrote: > -}> Well, I know check_log plugin but it still "change the status" > -}when match > -}> the "pattern" (third arguments of the check_log) in Critical and back to > -}> normal if nothing change inside the log file. > -}> The problem is that I need to send only one notification when match the > -}> "pattern" but mainteining the OK status. > -}> > -}> Marco > -} > -}Ah okay. Notifications are only sent out, if a status goes to WARNING OR > -}CRTITCAL. So you need a plugin which changes its status otherwise you > -}won't get a notification. If you don't want a state change in nagios, > -}you can still setup a cron job. > -} > -}It looks like, a cron job in cunjunction with a small shell script > -}around check_log2.pl fits your needs much better, than nagios. > -} > -}Another question: Why is it so important to maintain OK status? Where is > -}the problem, if the state changes? > > I will never receive a message to return to an "OK status", so if nagios set > a "Critical status", nagios will maintain it forever! > > If would be possible to set "manually" a service state (for example with a > shell script) to OK, I will not have any problem. In this case I could > receive one notifications when "the strings" are written in the log file, > but none "RED ALERT" appears in the web interface! check_log2.pl goes back to green, if there is no new string in the logfile appearing. Example: -check_log2 goes through your logfile -> nothing found -> return 0 -> OK -your app writes something new into the logfile, NOT the expected string -check_log2 realises the grown logfile, so checks only new stuff and finds nothing -> return 0 -> OK -your app logs the expected string -check_log2 again checks only the new stuff, finds the string -> return 1 -> WARNING -your app writes something new into the logfile, NOT the expected string -check_log2 realises the grown logfile, so checks only new stuff and finds nothing -> return 0 -> OK As you could see, we have a state change here. OK -> WARNING -> OK That is how check_log2.pl works. I have it here in hot use, and it works very well. So I don't understand you, when you say, Nagios stays in "critical" (or warning) status. That is simply incorrect. You don't need to set the service status back to OK. This is done by the logic of check_log2.pl. I hope, my explainations are understandable! Stephan ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From idavidso at juniper.net Thu Jan 20 13:56:46 2005 From: idavidso at juniper.net (Ian Davidson) Date: Thu, 20 Jan 2005 12:56:46 -0000 Subject: Printf issues with $output$ Message-ID: <472FE86FF098CE46B2FEBD299E262652031C89@up.jnpr.net> I've seen a few questions on this subject but have yet to find the solution, so apologies if I'm going over old ground here. I'm monitoring some Windows server disks and the resulting output is along the lines of: 'c:\ - total: 16.92 Gb - used: 11.92 Gb (70%) - free 5.00 Gb (30%)', but printf is cutting off everything after the 'c:' in the email alerts as it is processing the backslash as an exit request. Any ideas how to get around this?? Cheers, Ian --- Ian Davidson Corporate Network Services Email: idavidso at juniper.net GSM: +44-7952-173703 Tel: +44-1372-385653 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Thu Jan 20 14:25:27 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Thu, 20 Jan 2005 14:25:27 +0100 Subject: Editing Config Files In-Reply-To: References: Message-ID: <41EFB147.9050502@interface-business.de> nuffers at tsainc.com wrote: > > I'm currently using NagMin to manage the config files for Nagios 1.2 > instead of doing it manually? > > What are people using for nagios 2.0? > > Editing manually? > > Front end program? > > Steve > The flexibilty of templates is hard to beat with a program. But there are guys out, who use some personalized tools. Perhaps the Database Project for Nagios brings some basics for a new generation of config-tools. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dmaher at acetechnology.com Thu Jan 20 15:12:32 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Thu, 20 Jan 2005 09:12:32 -0500 Subject: Strange problem Message-ID: I had a similar problem just the other night. One of our servers crashed and needed to be rebooted. When it crashed, and before we had brought it back up, Nagios reported a failed ping (as it should have). The problem is that it /continued/ to report a failed ping all night, even when the machine had clearly come back up. When I forced a check through the web interface the next morning, it cleared the state. Any ideas? Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Javier Castillo Alcibar [mailto:Javier.Castillo at alhambra-eidos.com] Sent: January 19, 2005 3:25 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Strange problem Hello all!, I have an strange problem with nagios. When I have many hosts down, because of a network problem, nagios starts failing with hosts that are ok. Nagios gets always "Service Check Timed Out" when checking service PING (check_ping or check_fping) in hosts that are working nicely..... It seems a bug, but I'm not sure..... with NetSaint, I did never faced this problem.... Any ideas? Thx in advance, Javier. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 17/01/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 17/01/2005 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ovig.degrouard at jouy.inra.fr Thu Jan 20 15:58:21 2005 From: ovig.degrouard at jouy.inra.fr (Ovig Degrouard) Date: Thu, 20 Jan 2005 15:58:21 +0100 Subject: No lock file Message-ID: <41EFC70D.2090601@jouy.inra.fr> Hi, I've download today the nagios-CVS I've this error message when I execute service nagios start Starting network monitor: nagios No lock file found in /usr/local/nagios/var/nagios.lock Thank you O. Degrouard ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jkmoseley at jump.net Thu Jan 20 16:07:35 2005 From: jkmoseley at jump.net (James) Date: Thu, 20 Jan 2005 09:07:35 -0600 Subject: No lock file In-Reply-To: <41EFC70D.2090601@jouy.inra.fr> References: <41EFC70D.2090601@jouy.inra.fr> Message-ID: <1106233655.41efc937efb95@webmail.jkm.net> This is an ambiguous error you will see when there are errors in the config file(s). Run nagios with the -v flag to have it check config files for errors. Make sure, also, that you are pointing Nagios to it's main config when starting: /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg The -d flag is simply telling Nagios to run in daemon mode. James Quoting Ovig Degrouard : > Hi, > > I've download today the nagios-CVS > I've this error message when I execute service nagios start > > Starting network monitor: nagios > No lock file found in /usr/local/nagios/var/nagios.lock > > Thank you > O. Degrouard > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 mail sent through jkm.NET secure webmail server ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From nagios-user at proy.org Thu Jan 20 16:40:46 2005 From: nagios-user at proy.org (Patrick Proy) Date: Thu, 20 Jan 2005 16:40:46 +0100 Subject: How to monitor CPU utilization for a single process? Message-ID: <20050120154047.26FCDAB6E3@www.manubulon.com> If you have SNMP enable, you can use "check_snmp_process.pl" (http://www.manubulon.com/nagios/) : it can also check cpu & memory used. Patrick nagios AT proy.org > -----Message d'origine----- > De : nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] De la part de > Minkov, Ross Envoy? : jeudi 20 janvier 2005 02:02 ? : > nagios-users at lists.sourceforge.net > Objet : [Nagios-users] How to monitor CPU utilization for a single > process? > > > Hi Nagios Gurus, > > I'm a Nagios newb and have been playing with agentless monitoring so > far. How can I monitor the cpu utilization of a single process? Say if > the process is using more than 90% of a CPU trigger an event. I assume > I'll have to install some "agent" on the monitored server. > > TIA, > Ross > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive > Reporting Tool for open source databases. Create drag-&-drop reports. > Save time by over 75%! Publish reports on the web. > Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dmccallum at nemsys.com Thu Jan 20 16:35:34 2005 From: dmccallum at nemsys.com (don mccallum) Date: Thu, 20 Jan 2005 10:35:34 -0500 Subject: Can not acknowledge problems. Message-ID: Hello all, I am running Nagios 2.01b on and everything is working perfectly, except for my ability to acknowledge problems. The error I receive on the Nagios console is "an error occurred while processing your command" and in my error_log file I receive "user mccallum: authentication failure for "/nagios/cgi-bin/status.cgi": Password Mismatch, referer: http://nagios.nemsys.com/side.html" Here is the ll list of the sbin directory: -rwxrwxrwt 1 nagios nagios 4482 Dec 16 2003 apan-sql.cgi -rwxrwxrwt 1 nagios nagios 170176 Jan 4 16:15 avail.cgi -rwxrwxrwt 1 nagios nagios 167044 Jan 4 16:15 cmd.cgi -rwxrwxrwt 1 nagios nagios 129048 Jan 4 16:15 config.cgi -rwxrwxrwt 1 nagios nagios 184468 Jan 4 16:15 extinfo.cgi -rwxrwxrwt 1 nagios nagios 1822 Dec 16 2003 generate-sql.cgi -rwxrwxrwt 1 nagios nagios 137600 Jan 4 16:15 histogram.cgi -rwxrwxrwt 1 nagios nagios 121544 Jan 4 16:15 history.cgi -rwxrwxrwt 1 nagios nagios 122096 Jan 4 16:15 notifications.cgi -rwxrwxrwt 1 nagios nagios 113344 Jan 4 16:15 outages.cgi -rwxrwxrwt 1 nagios nagios 110592 Jan 4 16:15 showlog.cgi -rwxrwxrwt 1 nagios nagios 170832 Jan 4 16:15 status.cgi -rwxrwxrwt 1 nagios nagios 131624 Jan 4 16:15 statusmap.cgi -rwxrwxrwt 1 nagios nagios 125680 Jan 4 16:15 statuswml.cgi -rwxrwxrwt 1 nagios nagios 114024 Jan 4 16:15 statuswrl.cgi -rwxrwxrwt 1 nagios nagios 132808 Jan 4 16:15 summary.cgi -rwxrwxrwt 1 nagios nagios 130120 Jan 4 16:15 tac.cgi -rwxrwxrwt 1 nagios nagios 145848 Jan 4 16:15 trends.cgi I can however perform all the other commands using the "mccallum" login. I can stop and start service and host checks etc. It is only this one feature that is giving me the password failure. My .htaccess file is as follows: AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user And mccallum:hash is the only entry in /usr/local/nagios/etc/htpasswd.users. Authentication is setup in my cgi.cfg but I do not see a line item that defines access to acknowledge items. All other items are set for mccallum to have access. Any clues would be helpful. Thanks in advance, -Don ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Michael.Huettig at Medien-Systempartner.de Thu Jan 20 16:58:01 2005 From: Michael.Huettig at Medien-Systempartner.de (Michael =?windows-1250?q?H=FCttig?=) Date: Thu, 20 Jan 2005 16:58:01 +0100 Subject: Strange problem In-Reply-To: References: Message-ID: <200501201658.01556.Michael.Huettig@Medien-Systempartner.de> Am Donnerstag, 20. Januar 2005 15:12 schrieb Daniel maher: > I had a similar problem just the other night. One of our servers crashed > and needed to be rebooted. When it crashed, and before we had brought it > back up, Nagios reported a failed ping (as it should have). > > The problem is that it /continued/ to report a failed ping all night, even > when the machine had clearly come back up. When I forced a check through > the web interface the next morning, it cleared the state. > > Any ideas? you are not alone, using nagios-1.3 from cvs shows the same problem in our environment. If everything is allright, nagios works great, but in trouble situation nagios fails to reach a lot of hosts. I think this happens when nagios has to work a lot with retry-check-intervall. So i configured mostly hosts with host-dependencies and also mostly services with service-dependencies, but this doesn?t bring me help. I?m looking further for any hints, if you have some good ideas, please let me know. with best regards Michael > > Daniel Maher > System Engineer > ACE TECHNOLOGY INC. > > > -----Original Message----- > From: Javier Castillo Alcibar [mailto:Javier.Castillo at alhambra-eidos.com] > Sent: January 19, 2005 3:25 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Strange problem > > Hello all!, > > I have an strange problem with nagios. When I have many hosts down, > because of a network problem, nagios starts failing with hosts that are > ok. Nagios gets always "Service Check Timed Out" when checking service > PING (check_ping or check_fping) in hosts that are working nicely..... > > It seems a bug, but I'm not sure..... with NetSaint, I did never faced > this problem.... > > > Any ideas? > > Thx in advance, > Javier. > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carsten.Schmitz at aegon.com Thu Jan 20 17:04:17 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Thu, 20 Jan 2005 17:04:17 +0100 Subject: Printf issues with $output$ Message-ID: <49977F7CEA035C46A2D47108CE0F032F014183@ANGELIA.aegon.com> > it is processing the backslash as an exit request. Any ideas how to get > around this?? As someone who has never really used printf (at least not outside C), any reason you can't use echo? Seems to work: /usr/local/nagios/libexec# printf "tes\t" tes /usr/local/nagios/libexec# echo "tes\t" tes\t Should work similar to this: FILE=`mktemp /tmp/nagios_XXXXXX` && echo "my_text_with_backshashes" > $FILE && cat $FILE | mail -s "mytext" recipient at example.com ; rm $FILE (and there's probably a way to do this without temp files and my "useless use of cat", too ;) Cheers, Carsten -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Ian Davidson Sent: Thursday, January 20, 2005 1:57 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Printf issues with $output$ I've seen a few questions on this subject but have yet to find the solution, so apologies if I'm going over old ground here. I'm monitoring some Windows server disks and the resulting output is along the lines of: 'c:\ - total: 16.92 Gb - used: 11.92 Gb (70%) - free 5.00 Gb (30%)', but printf is cutting off everything after the 'c:' in the email alerts as it is processing the backslash as an exit request. Any ideas how to get around this?? Cheers, Ian --- Ian Davidson Corporate Network Services Email: idavidso at juniper.net GSM: +44-7952-173703 Tel: +44-1372-385653 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jayj at yahoo-inc.com Thu Jan 20 17:22:01 2005 From: jayj at yahoo-inc.com (Jay Janssen) Date: Thu, 20 Jan 2005 08:22:01 -0800 Subject: Servicegroup limit? Message-ID: <20050120082201.155827049.jayj@yahoo-inc.com> Hi, I seem to have hit some kind of limit in my nagios config. I am defining a generic service escalation model for all of my services divided into two servicegruops, services-priority-high and services-priority-low. This seems to work well, until I reach some limit on the number of services I have in my services-priority-high group (~1300 services). I have narrowed it down if I add one more service (which actually results in about 150 being added to the service group, because that service is on a ~150 hosts), I experience the following when I load my web interface: > Whoops! > > Error: Could not read object configuration data! When I back out that one service from the service group, the error goes away. Throughout all of this my nagios daemon restarts happily without any errors (nor any errors from nagios -v) Does anyone have any thoughts/experiences with this? Jay Janssen ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Javier.Castillo at alhambra-eidos.com Thu Jan 20 17:14:25 2005 From: Javier.Castillo at alhambra-eidos.com (Javier Castillo Alcibar) Date: Thu, 20 Jan 2005 17:14:25 +0100 Subject: Strange problem Message-ID: <1515E176F4AD2E4AA41D92D7C006BC4701235136@ALHM4SRV.alhpridom.as> Hello Michael, I'm sure this is a bug (sorry, nagios people), because I did never find this problem with netsaint, with the same number of services and hosts monitored... and I had netsaint running on an slower machine!! With this config, I have problems: - interval_length = 60 (default, it's recommended) - nomal_check_interval = 1 - error_check_interval = 1 - enable_flap_detection = 1 - max_concurrent_checks = 0 Now, I made a less aggressive configuration, and nagios seems to be stable: - interval_length = 60 (default, it's recommended) - nomal_check_interval = 3 (I don't like, 3 minutes in some services is a lot....) - error_check_interval = 2 ( :( ) - enable_flap_detection = 0 ( In Netsaint, I didn't have this enabled, so ....) - max_concurrent_checks = 30 ( Although "vmstat" and "top" always show me an idle machine (DL380 G3 P4 HPT + 2Gb ram), I tried this...) So, my situation now is: nagios working fine, but the configuration is not 100% fine for my needs... I hope this helps you.... Javier. -----Mensaje original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] En nombre de Michael H?ttig Enviado el: jueves, 20 de enero de 2005 16:58 Para: nagios-users at lists.sourceforge.net CC: Daniel maher Asunto: Re: [Nagios-users] Strange problem Am Donnerstag, 20. Januar 2005 15:12 schrieb Daniel maher: > I had a similar problem just the other night. One of our servers crashed > and needed to be rebooted. When it crashed, and before we had brought it > back up, Nagios reported a failed ping (as it should have). > > The problem is that it /continued/ to report a failed ping all night, even > when the machine had clearly come back up. When I forced a check through > the web interface the next morning, it cleared the state. > > Any ideas? you are not alone, using nagios-1.3 from cvs shows the same problem in our environment. If everything is allright, nagios works great, but in trouble situation nagios fails to reach a lot of hosts. I think this happens when nagios has to work a lot with retry-check-intervall. So i configured mostly hosts with host-dependencies and also mostly services with service-dependencies, but this doesn?t bring me help. I?m looking further for any hints, if you have some good ideas, please let me know. with best regards Michael > > Daniel Maher > System Engineer > ACE TECHNOLOGY INC. > > > -----Original Message----- > From: Javier Castillo Alcibar [mailto:Javier.Castillo at alhambra-eidos.com] > Sent: January 19, 2005 3:25 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Strange problem > > Hello all!, > > I have an strange problem with nagios. When I have many hosts down, > because of a network problem, nagios starts failing with hosts that are > ok. Nagios gets always "Service Check Timed Out" when checking service > PING (check_ping or check_fping) in hosts that are working nicely..... > > It seems a bug, but I'm not sure..... with NetSaint, I did never faced > this problem.... > > > Any ideas? > > Thx in advance, > Javier. > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Thu Jan 20 18:12:21 2005 From: jhmartin at toger.us (Jason Martin) Date: Thu, 20 Jan 2005 09:12:21 -0800 Subject: Multiple Nagios instances + NSCA Message-ID: <20050120171221.GF22548@zippy.toger.us> Has anyone done any work to manage multiple Nagios instances on one machine and also make use of NSCA? The problem I see is that NSCA doesn't have any concept of multiple Nagios instances and so can't route the message to the appropriate instance. One could install multiple NSCA ports, but I am hoping to avoid that to simplify firewall configurations. It looks like it'll be necessary to put some sort of intermediary between NSCA and the nagios command files that can determine where to send the message. Has anyone implementing such a thing? Thanks, -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From jhmartin at toger.us Thu Jan 20 18:43:41 2005 From: jhmartin at toger.us (Jason Martin) Date: Thu, 20 Jan 2005 09:43:41 -0800 Subject: Multiple Nagios instances + NSCA In-Reply-To: References: <20050120171221.GF22548@zippy.toger.us> Message-ID: <20050120174341.GG22548@zippy.toger.us> On Thu, Jan 20, 2005 at 06:28:38PM +0100, Jan Luedeke wrote: > the dead-lock is the external command file. > You have to use a separate named pipe for each Nagios instance. I'm assuming that the NSCA daemon would be reconfigured to write to a different named pipe to this 'message router' instead of the Nagios named pipe. The message router would then have to determine to which Nagios name pipe the message should be written. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From lhaig at haigmail.com Thu Jan 20 19:06:33 2005 From: lhaig at haigmail.com (Lance Haig) Date: Thu, 20 Jan 2005 18:06:33 +0000 Subject: statusmap.cgi In-Reply-To: References: Message-ID: <41EFF329.6020204@haigmail.com> I don't seem to have a statusmap.cgi Should this be created automatically or do I have to manually create it. I am running nagios 1.2 on Fedora 2 Thanks Lance ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Thu Jan 20 19:22:58 2005 From: marc at ena.com (Marc Powell) Date: Thu, 20 Jan 2005 12:22:58 -0600 Subject: statusmap.cgi Message-ID: <349555FA607F3A4CBDA9326035D1A7FC836411@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Lance Haig > Sent: Thursday, January 20, 2005 12:07 PM > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] statusmap.cgi > > I don't seem to have a statusmap.cgi > > Should this be created automatically or do I have to manually create it. > > I am running nagios 1.2 on Fedora 2 Did you meet the pre-requisites? You must have gd and gd-devel installed. When you run configure, if you see -- "Boutell's GD library is required to compile the statusmap, trends" "and histogram CGIs. Get it from http://www.boutell.com/gd/, compile" "it, and use the --with-gd-lib and --with-gd-inc arguments to specify" "the locations of the GD library and include files." Then they aren't installed or aren't in standard locations. Search for statusmap.cgi in the FAQ for more information. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jkmoseley at jump.net Thu Jan 20 19:24:37 2005 From: jkmoseley at jump.net (James) Date: Thu, 20 Jan 2005 12:24:37 -0600 Subject: statusmap.cgi In-Reply-To: <41EFF329.6020204@haigmail.com> References: <41EFF329.6020204@haigmail.com> Message-ID: <1106245477.41eff7656f3eb@webmail.jkm.net> All cgi's should be compiled when you do a 'make all'. However, this cgi, the trends cgi, and one other, I believe, will not compile if you don't have the GD, PNG, and JPEG libraries installed. Read the docs for more info on these libraries and where to obtain them. If you do have these libraries installed, rerun configure with the following options: ./configure --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include Replace the paths above with where your libraries are. James Quoting Lance Haig : > I don't seem to have a statusmap.cgi > > Should this be created automatically or do I have to manually create it. > > I am running nagios 1.2 on Fedora 2 > > Thanks > > Lance > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 mail sent through jkm.NET secure webmail server -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: SpamAssassinReport.txt URL: From sudheer at tgs-solutions.com Thu Jan 20 22:40:03 2005 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Thu, 20 Jan 2005 16:40:03 -0500 Subject: Hostext info In-Reply-To: <41EEB80C.7030405@tgs-solutions.com> References: <41EEB80C.7030405@tgs-solutions.com> Message-ID: <41F02533.80501@tgs-solutions.com> Guys, Can some one help me on this? I have these parameters in my cgi.cfg file # DG EXTENDED DATA # Note: These config directives are only used if you compiled # in database support for extended data! # The user you specify here only needs SELECT privileges on the # 'hostextinfo' table in the database. xeddb_host=localhost xeddb_port=3306 xeddb_database=abc xeddb_username=abc xeddb_password=abc and xedteplate_config_file=/etc/nagios/hostextinfo.cfg in hostexetinfo.cfg i have this entry. define hostextinfo{ host_name netmonitor notes_url none icon_image debian.png vrml_image debian.png gd2_icon_image debian.gd2 icon_image_alt Debian Server statusmap_image debian.gd2 2d_coords 100,200 3d_coords 100.0,50.0,75.0 } Is this right? Do i need to configure anything else? Other severvices of nagios are managed by mysql db. THanks, Sudheer Sudheer Muddappa wrote: > I have a tables for service and host ext info, and xeddb_host etc in > cgi.cfg file. > > Do i need to create the files for hostextinfo.cfg and > serviceextinfo.cfg files? or type in the values in cgi.cfg file it self? > All other information is stored in DB. > > Thanks, > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rrogerio at grovenetworks.com Thu Jan 20 23:04:13 2005 From: rrogerio at grovenetworks.com (Rodrigo F. Rogerio) Date: Thu, 20 Jan 2005 17:04:13 -0500 Subject: Problems Aknowledging Problems or posting comments Message-ID: <9E6E8272B29AA64E85B686AE241F9BB61F9425@SERV01.grovenetworks.com> I've been receiving this error any time I try to post something or change Over the web interface ------------------------------------------------------------------------ Sorry, but you are not authorized to commit the specified command. Read the section of the documentation that deals with authentication and authorization in the CGIs for more information. ------------------------------------------------------------------------ - Still couldn't find a solution for it !!1 Thank's for any help !!! ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cmailhebuau at nerim.net Thu Jan 20 23:55:16 2005 From: cmailhebuau at nerim.net (Christophe Mailhebuau) Date: Thu, 20 Jan 2005 23:55:16 +0100 Subject: ssh protocol tunning Message-ID: <20050120225516.GA8713@elohim.justlinux.org> Hi, I have a problem with lot of checks used by ssh, i have lot of reset connexion/opensession reset. do you know a tunning tcp/ip or ssh to tuning lot of connexion/opensession ? -- Cordialement, Christophe Mailhebuau http://www.justlinux.org http://www.abul.org GPG: 1024D/75B07F8D: BD18 2D01 D954 A339 E35B 9EA1 4240 0410 75B0 7F8D -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From shawn at nccsc.k12.in.us Fri Jan 21 01:09:09 2005 From: shawn at nccsc.k12.in.us (Shawn Iverson) Date: Thu, 20 Jan 2005 19:09:09 -0500 Subject: statusmap.cgi Message-ID: <7ADE11986184154083869D43D0B06D447B7D13@exchange.nccsc.k12.in.us> RTM --> browse the nagios FAQ. Shawn Iverson Technology Associate MCP W2K3S and W2KP, Linux+, Network+, A+ New Castle Community School Corporation shawn at nccsc.k12.in.us On Thursday, January 20, 2005 1:07 PM Lance wrote: > >I don't seem to have a statusmap.cgi > >Should this be created automatically or do I have to manually >create it. > >I am running nagios 1.2 on Fedora 2 > >Thanks > >Lance > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bryan at danielit.com Fri Jan 21 03:43:37 2005 From: bryan at danielit.com (Bryan Pennington) Date: Thu, 20 Jan 2005 20:43:37 -0600 Subject: Monitoring an ACD/IVR phone system Message-ID: An HTML attachment was scrubbed... URL: From nagios-u-rb at bossecker.de Fri Jan 21 05:17:39 2005 From: nagios-u-rb at bossecker.de (Robert Bossecker) Date: Fri, 21 Jan 2005 05:17:39 +0100 Subject: Services dependancy In-Reply-To: <41EE9589.70109@op5.se> References: <41EE9589.70109@op5.se> Message-ID: <41F08263.6050805@bossecker.de> Andreas Ericsson wrote: > Bergstr?m Sebastian wrote: > >> Hi! >> >> I think Vincent Alloos question is interesting... Can you set >> dependencies between service checks? Like for instance, when using >> check_nt - can you define that if a service check doesn't get through >> for any reason the next service check on the host will not be run? >> > > Yes you can, but you'd have to type more than you want, and the result > wouldn't most likely be what you want. Instead, you would want to > disable notifications for the other services until any of them return > OK. This would be easier to implement if the config could handle > something like classes, where one service is 'master' of other > services (it can be done with servicedependencies too, but not in a > very intuitive way). > we use service dependencies a lot to prevent from hauling about all other services which are checked via one service. Is this feature somewhere available to build a 'master' for other services?? I have setup nagios 2.0b1 Actual we have for every host several servicedependencies which i can now reduce hopefully to at least one servicedependency definition using service patterns. After reducing the service definitions more than 50% by using wildcards and regexps i also want to get rid of dependency definitions for standard situations. As i understand the documentation i can actually define a servicedependency using wildcards for the host_name and the dependent_host_name which i suppose to rely the service of all expanded hosts from dependent_host_name on the service on all hosts expanded from host_name But to reduce them more, the config parser should have some "Macro" like 'thishost' which may have the semantik to create separate servicedependency definitions according to specific host matched by a host pattern. e.g. define servicedependency{ host_name ^host1 service_description remote_checkd dependent_host_name ^host1 dependent_service_description raid execution_failure_criteria c,u ; These are the criteria for which check execution will be supressed notification_failure_criteria c,u ; These are the criteria for which notifications will be supressed } may turn into define servicedependency{ host_name ^host.* service_description remote_checkd dependent_host_name $thishost$ dependent_service_description raid execution_failure_criteria c,u ; These are the criteria for which check execution will be supressed notification_failure_criteria c,u ; These are the criteria for which notifications will be supressed } which means when there are host1 host2 host3 and so on that the internal expanded version should look like: define servicedependency{ host_name host1 service_description remote_checkd dependent_host_name host1 dependent_service_description raid execution_failure_criteria c,u ; These are the criteria for which check execution will be supressed notification_failure_criteria c,u ; These are the criteria for which notifications will be supressed } define servicedependency{ host_name host2 service_description remote_checkd dependent_host_name host2 dependent_service_description raid execution_failure_criteria c,u ; These are the criteria for which check execution will be supressed notification_failure_criteria c,u ; These are the criteria for which notifications will be supressed } define servicedependency{ host_name host3 service_description remote_checkd dependent_host_name host3 dependent_service_description raid execution_failure_criteria c,u ; These are the criteria for which check execution will be supressed notification_failure_criteria c,u ; These are the criteria for which notifications will be supressed } >> >> Best regards, Sebastian Bergstroem >> >> -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] >> Sent: den 19 januari 2005 16:19 To: >> nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] >> Services dependancy >> >> Alloo, Vincent wrote: >> >>> Hello, We are using Nagios 1.2 to monitor thousand of servers for >>> few services. Very helpful tool !! Here is my question: - for >>> server1..150 (hostgroup1), I have 3 services: ping, service1, >>> service2 How can I setup Nagios to check service1 and service2 only >>> if ping is OK? >> >> >> >> Assuming you're using ping to check if the host is alive, you don't >> have to do anything at all. They will all depend on the host-check >> returning OK, or notifications will be supressed. >> >> > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From v-alloo at ti.com Fri Jan 21 10:37:19 2005 From: v-alloo at ti.com (Alloo, Vincent) Date: Fri, 21 Jan 2005 10:37:19 +0100 Subject: Services dependancy Message-ID: It is exactly what I'd love to have ! define servicedependency{ host_name ^host.* service_description remote_checkd dependent_host_name $thishost$ dependent_service_description raid execution_failure_criteria c,u notification_failure_criteria c,u } Vincent. -----Message d'origine----- De?: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Robert Bossecker Envoy??: vendredi 21 janvier 2005 05:18 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] Services dependancy Andreas Ericsson wrote: > Bergstr?m Sebastian wrote: > >> Hi! >> >> I think Vincent Alloos question is interesting... Can you set >> dependencies between service checks? Like for instance, when using >> check_nt - can you define that if a service check doesn't get through >> for any reason the next service check on the host will not be run? >> > > Yes you can, but you'd have to type more than you want, and the result > wouldn't most likely be what you want. Instead, you would want to > disable notifications for the other services until any of them return > OK. This would be easier to implement if the config could handle > something like classes, where one service is 'master' of other > services (it can be done with servicedependencies too, but not in a > very intuitive way). > we use service dependencies a lot to prevent from hauling about all other services which are checked via one service. Is this feature somewhere available to build a 'master' for other services?? I have setup nagios 2.0b1 Actual we have for every host several servicedependencies which i can now reduce hopefully to at least one servicedependency definition using service patterns. After reducing the service definitions more than 50% by using wildcards and regexps i also want to get rid of dependency definitions for standard situations. As i understand the documentation i can actually define a servicedependency using wildcards for the host_name and the dependent_host_name which i suppose to rely the service of all expanded hosts from dependent_host_name on the service on all hosts expanded from host_name But to reduce them more, the config parser should have some "Macro" like 'thishost' which may have the semantik to create separate servicedependency definitions according to specific host matched by a host pattern. e.g. define servicedependency{ host_name ^host1 service_description remote_checkd dependent_host_name ^host1 dependent_service_description raid execution_failure_criteria c,u ; These are the criteria for which check execution will be supressed notification_failure_criteria c,u ; These are the criteria for which notifications will be supressed } may turn into define servicedependency{ host_name ^host.* service_description remote_checkd dependent_host_name $thishost$ dependent_service_description raid execution_failure_criteria c,u ; These are the criteria for which check execution will be supressed notification_failure_criteria c,u ; These are the criteria for which notifications will be supressed } which means when there are host1 host2 host3 and so on that the internal expanded version should look like: define servicedependency{ host_name host1 service_description remote_checkd dependent_host_name host1 dependent_service_description raid execution_failure_criteria c,u ; These are the criteria for which check execution will be supressed notification_failure_criteria c,u ; These are the criteria for which notifications will be supressed } define servicedependency{ host_name host2 service_description remote_checkd dependent_host_name host2 dependent_service_description raid execution_failure_criteria c,u ; These are the criteria for which check execution will be supressed notification_failure_criteria c,u ; These are the criteria for which notifications will be supressed } define servicedependency{ host_name host3 service_description remote_checkd dependent_host_name host3 dependent_service_description raid execution_failure_criteria c,u ; These are the criteria for which check execution will be supressed notification_failure_criteria c,u ; These are the criteria for which notifications will be supressed } >> >> Best regards, Sebastian Bergstroem >> >> -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] >> Sent: den 19 januari 2005 16:19 To: >> nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] >> Services dependancy >> >> Alloo, Vincent wrote: >> >>> Hello, We are using Nagios 1.2 to monitor thousand of servers for >>> few services. Very helpful tool !! Here is my question: - for >>> server1..150 (hostgroup1), I have 3 services: ping, service1, >>> service2 How can I setup Nagios to check service1 and service2 only >>> if ping is OK? >> >> >> >> Assuming you're using ping to check if the host is alive, you don't >> have to do anything at all. They will all depend on the host-check >> returning OK, or notifications will be supressed. >> >> > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From am-nagios at sernet.de Fri Jan 21 11:18:53 2005 From: am-nagios at sernet.de (Alexander Mueller) Date: Fri, 21 Jan 2005 11:18:53 +0100 Subject: Nagios-users -- confirmation of subscription -- request 894615 In-Reply-To: <20050121101702.9CB2E89769@sc8-sf-spam1.sourceforge.net> References: <20050121101702.9CB2E89769@sc8-sf-spam1.sourceforge.net> Message-ID: ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From amontibello at gmail.com Fri Jan 21 12:24:40 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 21 Jan 2005 06:24:40 -0500 Subject: NC_Net - Event Log Checks Now Implemented Message-ID: Hi Everyone, I see several of you have downloaded NC_Net (the drop in replacement for ns_client), I hope that it has been for the most part Trouble free. The new version is now available for downloading. v1.07 This version includes the ability to Check Event Logs. However, to report the results to nagios a new version of Check_nt needs to have this option added. I started working on it, and I am planning on submitting my code to the developers very soon. But, it can still be tested using the test console. You can Download it from Either the official web site www.shatterit.com/NC_Net or from http://www.nagiosexchange.org/ The syntax for what to check will be a comma separated string. check_nt -H XYZ -v EVENTLOG -l "ARG1,ARG2,ARG3,ARGList4,ARGLIST5,ARGLIST6" Base Arguments to start the List. 1) checks any single event log or all event logs. - it can check custom Event logs - instead of typing the event log name type 'any' for all logs 2)Checks for a single event type or all event types - it can check all types by entering 'any' - it should be able to test custom event log types (if these can be created?) 3) time interval in min - enter a 0 for check all events in Logs. - default is 10 min. Additional Filters. - the additional filters take the form of a comma separated list - the first element(required for each filter) is the number of strings in the list - 0 is to ignore the filter. - positive number is to include only entries that match the filter - negative number is to exclude all entries that match the filter 4) Source type - list of Source types to use as a filter 5) Message filter - this filter list accepts regular expressions -(NON STANDARD) DOT NET Regular expressions options - ignore padded whitespace and treat ^ and $ to function on lines (inside a string variable via \n )instead of meaning beginning and end of the string variable. 6) event ID - list of Event ID to look for or exclude. for example to check any log for Information type, within the past 45 min for anything that started or stopped you should be able to use the command: ./check_nt -H XYZ -v EVENTLOG -l "any,Information,45,0,1,(start|stop),0 The following should give the same result: ./check_nt -H XYZ -v EVENTLOG -l "any,Information,45,0,2,start,stop,0 (better examples will be posted on web site after a new version of check_nt) The result should be critical if an event occurred in the time interval, and a list of event ID with the with the message field of the last event that was written to the event log. NOTE: NC_Net is also in the process of being upgraded to do Passive checks via NSCA. Currently a C# class for the send_nsca client has been completed and tested. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From al at battrick.org Fri Jan 21 13:00:48 2005 From: al at battrick.org (Alastair Battrick) Date: Fri, 21 Jan 2005 12:00:48 +0000 Subject: Monitoring MySQL replication and rSync backups Message-ID: <41F0EEF0.1030801@battrick.org> Any idea how I can check if 2 servers are correctly MySQL replicated and correctly rSync'd ? TIA Alastair ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Stephan.Janosch at interface-business.de Fri Jan 21 13:11:14 2005 From: Stephan.Janosch at interface-business.de (Stephan Janosch) Date: Fri, 21 Jan 2005 13:11:14 +0100 Subject: Problems Aknowledging Problems or posting comments In-Reply-To: <9E6E8272B29AA64E85B686AE241F9BB61F9425@SERV01.grovenetworks.com> References: <9E6E8272B29AA64E85B686AE241F9BB61F9425@SERV01.grovenetworks.com> Message-ID: <41F0F162.6050201@interface-business.de> Rodrigo F. Rogerio wrote: > I've been receiving this error any time I try to post something or > change > Over the web interface > > ------------------------------------------------------------------------ > Sorry, but you are not authorized to commit the specified command. > > > Read the section of the documentation that deals with authentication and > authorization in the CGIs for more information. > > ------------------------------------------------------------------------ > - > > Still couldn't find a solution for it !!1 > > Thank's for any help !!! > Look there: http://nagios.sourceforge.net/docs/2_0/cgiauth.html ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sjoy at peavey-eu.com Fri Jan 21 13:36:08 2005 From: sjoy at peavey-eu.com (Stephen Joy) Date: Fri, 21 Jan 2005 12:36:08 +0000 Subject: Not authorized to add comments Message-ID: Hi, Unfortunatly i am still suffering from this problem and i really need it fixed. Any more ideas anyone might have would be great. I have read the Docs at lenth and belive that i have followed all the appropriate instructions. Thanks in advance. >>> "Stephen Joy" 01/19/05 04:53pm >>> Hi, thanks for the suggestion but that error was just my typing in the email i have checked for spelling in the config file and it is fine. Anymore idea from anyone would really be appriciated. >>> "Sand Philipp" 01/18/05 11:36am >>> Hi, Did you realize your spelling mistake there? authorized_for_all_service_commands=naigosadmin should be nagiosadmin I suppose ;) Regards, Philipp > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Stephen Joy > Sent: Tuesday, January 18, 2005 10:32 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Not authorized to add comments > > Hi, > > When i try to add a comment to a host or service i get this error. > > "Sorry, but you are not authorized to commit the specified command." > > I am loging in as nagiosadmin. > > In my cgi.cfg among others i have; > > authorized_for_system_commands=nagiosadmin > authorized_for_all_service_commands=naigosadmin > authorized_for_all_host_commands=nagiosadmin > > which i thought would be enough. > > also i did a make install-commandmode which seemed to go ok. > > Any ideas would be great. > > Thanks. > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ************************************************ sycor plastics - die neue Branchenl?sung fnr die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann darnber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemS e EmpfSnger sind, l?schen Sie bitte die E-Mail und deren AnhSnge sofort und benachrichtigen Sie uns darnber. Die Firma sycor willigt in keine VertrSge oder vertragliche Verpflichtungen ein oder nbermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdrncklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From srunschke at abit.de Fri Jan 21 15:08:17 2005 From: srunschke at abit.de (Sascha Runschke) Date: Fri, 21 Jan 2005 15:08:17 +0100 Subject: Antwort: Printf issues with $output$ [Virus scanned] Message-ID: I've already tried to address that problem, but sadly to no avail. That behaviour of printf basically lies in the "bogus" interpretation of "\ followed by a space" by /usr/bin/printf on some platforms. The built-in Bash extension "printf" does not have that problem. Therefor I am currently using a rather ugly construct to circumvent it: define command{ command_name notify-by-email command_line /bin/bash -c "printf \"%b\" \"***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nDescription: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATE$ $TIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\"" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } It would be much more appealing if the "illegal_macro_output_chars" would be parsed correctly. Even though I have \ in there, it doesn't get stripped. sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. "Ian Davidson" Gesendet von: nagios-users-admin at lists.sourceforge.net 20.01.2005 13:56 An: Kopie: Thema: [Nagios-users] Printf issues with $output$ [Virus scanned] I've seen a few questions on this subject but have yet to find the solution, so apologies if I'm going over old ground here. I'm monitoring some Windows server disks and the resulting output is along the lines of: 'c:\ - total: 16.92 Gb - used: 11.92 Gb (70%) - free 5.00 Gb (30%)', but printf is cutting off everything after the 'c:' in the email alerts as it is processing the backslash as an exit request. Any ideas how to get around this?? Cheers, Ian --- Ian Davidson Corporate Network Services Email: idavidso at juniper.net GSM: +44-7952-173703 Tel: +44-1372-385653 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From srunschke at abit.de Fri Jan 21 15:14:57 2005 From: srunschke at abit.de (Sascha Runschke) Date: Fri, 21 Jan 2005 15:14:57 +0100 Subject: Antwort: RE: Printf issues with $output$ [Virus scanned] Message-ID: The use of printf is necessary so you can nicely format the output as mail. echo does not easily support linebreaks and such. You could force them of course by using quoting ^M into the output, but that might pose other unforeseen problems. sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. "Schmitz, Carsten" Gesendet von: nagios-users-admin at lists.sourceforge.net 20.01.2005 17:04 An: "Ian Davidson" , Kopie: Thema: RE: [Nagios-users] Printf issues with $output$ [Virus scanned] > it is processing the backslash as an exit request. Any ideas how to get > around this?? As someone who has never really used printf (at least not outside C), any reason you can't use echo? Seems to work: /usr/local/nagios/libexec# printf "tes\t" tes /usr/local/nagios/libexec# echo "tes\t" tes\t Should work similar to this: FILE=`mktemp /tmp/nagios_XXXXXX` && echo "my_text_with_backshashes" > $FILE && cat $FILE | mail -s "mytext" recipient at example.com ; rm $FILE (and there's probably a way to do this without temp files and my "useless use of cat", too ;) Cheers, Carsten -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Ian Davidson Sent: Thursday, January 20, 2005 1:57 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Printf issues with $output$ I've seen a few questions on this subject but have yet to find the solution, so apologies if I'm going over old ground here. I'm monitoring some Windows server disks and the resulting output is along the lines of: 'c:\ - total: 16.92 Gb - used: 11.92 Gb (70%) - free 5.00 Gb (30%)', but printf is cutting off everything after the 'c:' in the email alerts as it is processing the backslash as an exit request. Any ideas how to get around this?? Cheers, Ian --- Ian Davidson Corporate Network Services Email: idavidso at juniper.net GSM: +44-7952-173703 Tel: +44-1372-385653 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sudheer at tgs-solutions.com Fri Jan 21 16:20:13 2005 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Fri, 21 Jan 2005 10:20:13 -0500 Subject: Hostext info] ANYBODY?????? Message-ID: <41F11DAD.1070708@tgs-solutions.com> Guys, Can some one help me on this? I have these parameters in my cgi.cfg file # DG EXTENDED DATA # Note: These config directives are only used if you compiled # in database support for extended data! # The user you specify here only needs SELECT privileges on the # 'hostextinfo' table in the database. xeddb_host=localhost xeddb_port=3306 xeddb_database=abc xeddb_username=abc xeddb_password=abc and xedteplate_config_file=/etc/nagios/hostextinfo.cfg in hostexetinfo.cfg i have this entry. define hostextinfo{ host_name netmonitor notes_url none icon_image debian.png vrml_image debian.png gd2_icon_image debian.gd2 icon_image_alt Debian Server statusmap_image debian.gd2 2d_coords 100,200 3d_coords 100.0,50.0,75.0 } Is this right? Do i need to configure anything else? Other severvices of nagios are managed by mysql db. THanks, Sudheer Sudheer Muddappa wrote: > I have a tables for service and host ext info, and xeddb_host etc in > cgi.cfg file. > > Do i need to create the files for hostextinfo.cfg and > serviceextinfo.cfg files? or type in the values in cgi.cfg file it self? > All other information is stored in DB. > > Thanks, > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From cortez at tiscali.it Fri Jan 21 16:24:50 2005 From: cortez at tiscali.it (Luca Corti) Date: Fri, 21 Jan 2005 16:24:50 +0100 Subject: Broken image generation Message-ID: <1106321090.1866.7.camel@luca> Hello, I'm on debian woody + nagios 1.2 from www.backports.org. Statusmap and trend graphs generation shows a broken image link. What could the cause be? libgd2 is installed. thnaks Luca ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Fri Jan 21 16:59:39 2005 From: marc at ena.com (Marc Powell) Date: Fri, 21 Jan 2005 09:59:39 -0600 Subject: Hostext info] ANYBODY?????? Message-ID: <349555FA607F3A4CBDA9326035D1A7FC83646B@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Sudheer Muddappa > Sent: Friday, January 21, 2005 9:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Hostext info] ANYBODY?????? > > Guys, > > Can some one help me on this? > > I have these parameters in my cgi.cfg file > # DG EXTENDED DATA > # Note: These config directives are only used if you compiled > # in database support for extended data! > # The user you specify here only needs SELECT privileges on the > # 'hostextinfo' table in the database. > > xeddb_host=localhost > xeddb_port=3306 > xeddb_database=abc > xeddb_username=abc > xeddb_password=abc If you've compiled Nagios with extended data in a database (as you indicate above) then everything below is pointless. Nagios will look for the extinfo definitions in the database, not hostextinfo.cfg. http://nagios.sourceforge.net/docs/1_0/xdata-db.html#config_extinfo You'll need to create the appropriate tables and populate them with your extinfo data. -- Marc > > and > > xedteplate_config_file=/etc/nagios/hostextinfo.cfg > > in hostexetinfo.cfg i have this entry. > > define hostextinfo{ > host_name netmonitor > notes_url none > icon_image debian.png > vrml_image debian.png > gd2_icon_image debian.gd2 > icon_image_alt Debian Server > statusmap_image debian.gd2 > 2d_coords 100,200 > 3d_coords 100.0,50.0,75.0 > } > > Is this right? Do i need to configure anything else? > > Other severvices of nagios are managed by mysql db. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Philipp.Sand at sycor.de Fri Jan 21 17:06:08 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Fri, 21 Jan 2005 17:06:08 +0100 Subject: Flapping Thresholds Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C95D7@SYGOMAIL.GOE.AD.SYCOR.DE> Hi, In the Documentation it's said, that the flapping functionality uses the last 21 check results to calculate the % of flapping. Is it possible change that array into maybe 80 instead of 21 check results stored in an array? Is it safe to hack it into the sourcecode? Has anyone experiences with it? Is there any other way to configure it? Thanks in advance! Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From richard.baker at presence-systems.com Fri Jan 21 17:16:52 2005 From: richard.baker at presence-systems.com (Richard Baker) Date: Fri, 21 Jan 2005 16:16:52 +0000 Subject: NSCA server bind failure Message-ID: Hi everyone, I'm using NSCA to submit passive checks to Nagios from the web via srvcheck.cgi but am encountering difficulties. srvcheck.cgi correctly displays the return value of the check but the check is not submitted to Nagios as a passive check. On the return page from srvcheck.cgi I get "Error: Server closed connection before init packet was received Error: Could not read init packet from server" and in /var/log/messages I get: "Network server bind failure (98: Address already in use)". I have mapped port 5667 to nsca in /etc/services and netstat -anp | grep 5667 reveals nothing else trying to use that port. The web page, cgi and NSCA are all on the same server as nagios. NSCA is running under xinetd. Does anyone have any ideas what this error might be and how to fix it? Or is there another way of triggering a service check manually then submitting the result to Nagios. I'm looking for something that is friendly to use. Richard Baker -- CONFIDENTIALITY NOTICE The information contained in this e-mail is intended only for the confidential use of the above named recipient. If you are not the intended recipient or person responsible for delivering it to the intended recipient, you have received this communication in error and must not distribute or copy it. Please accept the sender's apologies, notify the sender immediately by return e-mail and delete this communication. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Fri Jan 21 17:22:46 2005 From: jhmartin at toger.us (Jason Martin) Date: Fri, 21 Jan 2005 08:22:46 -0800 Subject: Monitoring MySQL replication and rSync backups In-Reply-To: <41F0EEF0.1030801@battrick.org> References: <41F0EEF0.1030801@battrick.org> Message-ID: <20050121162245.GL22548@zippy.toger.us> On Fri, Jan 21, 2005 at 12:00:48PM +0000, Alastair Battrick wrote: > Any idea how I can check if 2 servers are correctly MySQL replicated and > correctly rSync'd ? One could write a plugin that does a SHOW MASTER STATUS / SHOW SLAVE STATUS against the appropriate servers and check that the log positions are not more than X positions apart. It looks like this book (http://6URL.com/AAZ) has some sample code, although it isn't in the form of a Nagios plugin. rSync backups could be monitored by having the job log and monitoring the logfile or making the backup job a passive check. -Jason Martin -- Are dog biscuits made from collie flour? This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From gmueller at netways.de Fri Jan 21 17:51:22 2005 From: gmueller at netways.de (Gerd Mueller) Date: Fri, 21 Jan 2005 17:51:22 +0100 (CET) Subject: Monitoring MySQL replication and rSync backups In-Reply-To: <41F0EEF0.1030801@battrick.org> References: <41F0EEF0.1030801@battrick.org> Message-ID: <20050121165122.F1BF54F4002@desire.netways.de> Hi Alastair have a look at http://www.nagiosexchange.org/Databases.57.0.html?&tx_netn agext_pi1[p_view]=4 - Gerd ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=1706 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Fri Jan 21 17:58:39 2005 From: jhmartin at toger.us (Jason Martin) Date: Fri, 21 Jan 2005 08:58:39 -0800 Subject: NSCA server bind failure In-Reply-To: References: Message-ID: <20050121165839.GN22548@zippy.toger.us> On Fri, Jan 21, 2005 at 04:16:52PM +0000, Richard Baker wrote: > /etc/services and netstat -anp | grep 5667 reveals nothing else trying to > use that port. The web page, cgi and NSCA are all on the same server as > nagios. NSCA is running under xinetd. Are you running NSCA with the -i (inetd) option? Otherwise it will attempt to bind to 5667 at startup and you would get the behavior you are seeing. -Jason Martin -- Are dog biscuits made from collie flour? This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From strombrg at dcs.nac.uci.edu Fri Jan 21 18:35:57 2005 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Fri, 21 Jan 2005 09:35:57 -0800 Subject: Antwort: RE: Printf issues with $output$ [Virus scanned] In-Reply-To: References: Message-ID: <1106328957.21404.227.camel@localhost.localdomain> Actually, you can get pretty good linebreak support out of echo, by combining it with tr. EG, a line without a newline might look like: echo "Foo bar " | tr -d '\012' This is very portable. On Fri, 2005-01-21 at 15:14 +0100, Sascha Runschke wrote: > > The use of printf is necessary so you can nicely format the output as > mail. > echo does not easily support linebreaks and such. You could force > them > of course by using quoting ^M into the output, but that might pose > other > unforeseen problems. > > sash > > -------------------------------------------------- > Sascha Runschke > Netzwerk Administration > IT-Services > > ABIT AG > Robert-Bosch-Str. 1 > 40668 Meerbusch > > Tel.:+49 (0) 2150.9153.226 > mailto:SRunschke at abit.de > > http://www.abit.net > http://www.abit-epos.net > http://www.my-academy.net > -------------------------------------------------- > Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den > bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene > Adressat dieser Email oder dessen Vertreter sein sollten, so beachten > Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, > Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig > ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation > per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte > grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation > besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren > Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. > Herzlichen Dank > > The information and any attachments contained in this email are > intended solely for the addressee. Access to this email by anyone else > is unauthorized. If you are not the intended recipient, any form of > disclosure, reproduction, distribution or any action taken or > refrained from in reliance on it, is prohibited and may be unlawful. > We also like to inform you that communication via email over the > internet is insecure because third parties may have the possibility to > access and manipulate emails. If you have received the message in > error, please advise the sender and delete the message and any > attachments. Thank you very much. > > > > "Schmitz, Carsten" > > Gesendet von: nagios- > users- > admin at lists.sourceforge.net > > 20.01.2005 17:04 > > > > > An: "Ian > Davidson" > , > users at lists.sourceforge.net> > Kopie: > Thema: > RE: [Nagios-users] > Printf issues with > $output$ [Virus > scanned] > > > > > > it is processing the backslash as an exit request. Any ideas how to > get > > around this?? > > As someone who has never really used printf (at least not outside C), > any reason you can't use echo? Seems to work: > > /usr/local/nagios/libexec# printf "tes\t" > tes > > /usr/local/nagios/libexec# echo "tes\t" > tes\t > > Should work similar to this: > > FILE=`mktemp /tmp/nagios_XXXXXX` && echo "my_text_with_backshashes" > > $FILE && cat $FILE | mail -s "mytext" recipient at example.com ; rm $FILE > > (and there's probably a way to do this without temp files and my > "useless use of cat", too ;) > > Cheers, > > Carsten > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Ian > Davidson > Sent: Thursday, January 20, 2005 1:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Printf issues with $output$ > > > I've seen a few questions on this subject but have yet to find the > solution, so apologies if I'm going over old ground here. > > I'm monitoring some Windows server disks and the resulting output is > along the lines of: > > 'c:\ - total: 16.92 Gb - used: 11.92 Gb (70%) - free 5.00 Gb (30%)', > but > printf is cutting off everything after the 'c:' in the email alerts as > it is processing the backslash as an exit request. Any ideas how to > get > around this?? > > Cheers, > > Ian > --- > Ian Davidson > Corporate Network Services > Email: idavidso at juniper.net > GSM: +44-7952-173703 > Tel: +44-1372-385653 > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive > Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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: IntelliVIEW -- Interactive > Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From strombrg at dcs.nac.uci.edu Fri Jan 21 18:48:02 2005 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Fri, 21 Jan 2005 09:48:02 -0800 Subject: Monitoring MySQL replication and rSync backups In-Reply-To: <20050121162245.GL22548@zippy.toger.us> References: <41F0EEF0.1030801@battrick.org> <20050121162245.GL22548@zippy.toger.us> Message-ID: <1106329682.21404.238.camel@localhost.localdomain> I wrote this script for basically this purpose: http://dcs.nac.uci.edu/~strombrg/verify.html It was written for verifying the correct data transfer from a suspect source, to a suspect source, using md5 and a statistical sample of the files transfered, with a user-specified sampling rate. :) HTH. On Fri, 2005-01-21 at 08:22 -0800, Jason Martin wrote: > On Fri, Jan 21, 2005 at 12:00:48PM +0000, Alastair Battrick wrote: > > Any idea how I can check if 2 servers are correctly MySQL replicated and > > correctly rSync'd ? > One could write a plugin that does a SHOW MASTER STATUS / SHOW > SLAVE STATUS against the appropriate servers and check that the > log positions are not more than X positions apart. It looks like > this book (http://6URL.com/AAZ) has some sample code, although > it isn't in the form of a Nagios plugin. > > rSync backups could be monitored by having the job log and > monitoring the logfile or making the backup job a passive > check. > > -Jason Martin > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From jgiles at joeman1.com Fri Jan 21 19:17:56 2005 From: jgiles at joeman1.com (Joe Giles) Date: Fri, 21 Jan 2005 11:17:56 -0700 Subject: Not authorized to add comments In-Reply-To: References: Message-ID: <41F14754.7050304@joeman1.com> Stephen Joy wrote: >Hi, > >Unfortunatly i am still suffering from this problem and i really need it fixed. Any more ideas anyone might have would be great. I have read the Docs at lenth and belive that i have followed all the appropriate instructions. > >Thanks in advance. > > > >>>>"Stephen Joy" 01/19/05 04:53pm >>> >>>> >>>> >Hi, > >thanks for the suggestion but that error was just my typing in the email i have checked for spelling in the config file and it is fine. > >Anymore idea from anyone would really be appriciated. > > > >>>>"Sand Philipp" 01/18/05 11:36am >>> >>>> >>>> >Hi, > >Did you realize your spelling mistake there? >authorized_for_all_service_commands=naigosadmin should be nagiosadmin I >suppose ;) > >Regards, >Philipp > > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf >>Of Stephen Joy >>Sent: Tuesday, January 18, 2005 10:32 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Not authorized to add comments >> >>Hi, >> >>When i try to add a comment to a host or service i get this error. >> >>"Sorry, but you are not authorized to commit the specified command." >> >>I am loging in as nagiosadmin. >> >>In my cgi.cfg among others i have; >> >>authorized_for_system_commands=nagiosadmin >>authorized_for_all_service_commands=naigosadmin >>authorized_for_all_host_commands=nagiosadmin >> >>which i thought would be enough. >> >>also i did a make install-commandmode which seemed to go ok. >> >>Any ideas would be great. >> >>Thanks. >> >> >> >>------------------------------------------------------- >>The SF.Net email is sponsored by: Beat the post-holiday blues >>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS >>when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> >> >> > > >************************************************ > >sycor plastics - die neue Branchenl?sung fnr die Kunststoffindustrie > >www.sycor-plastics.de > >************************************************ > > > > >Diese E-Mail ist vertraulich und kann darnber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgemS e EmpfSnger sind, l?schen Sie bitte die E-Mail und deren AnhSnge sofort und benachrichtigen Sie uns darnber. Die Firma sycor willigt in keine VertrSge oder vertragliche Verpflichtungen ein oder nbermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdrncklich in schriftlicher Form zwischen den Parteien vereinbart wurde. > >This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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: IntelliVIEW -- Interactive Reporting >Tool for open source databases. Create drag-&-drop reports. Save time >by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >Download a FREE copy at http://www.intelliview.com/go/osdn_nl >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > > Hello, I am new to this list, so I don't know if this was solved or not, but I ran into this same issue. No matter what user I put in the config file to be able to do this, it would not work. What I ended up doing was chown the nagios.cmd file to the user:apache and chmod 660 the file. I also had to mod the startup script and add these lines: chown $Nagion:apache $NagiosCmd chmod 660 $NagiosCmd at about line 110 in the init script (Right in the start area under the sleep1 command. Hope this helps!!! Joe ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Fri Jan 21 19:23:43 2005 From: jhmartin at toger.us (Jason Martin) Date: Fri, 21 Jan 2005 10:23:43 -0800 Subject: Not authorized to add comments In-Reply-To: <41F14754.7050304@joeman1.com> References: <41F14754.7050304@joeman1.com> Message-ID: <20050121182342.GP22548@zippy.toger.us> On Fri, Jan 21, 2005 at 11:17:56AM -0700, Joe Giles wrote: > chown $Nagion:apache $NagiosCmd > chmod 660 $NagiosCmd Having to do this usually means that the the directory containing $NagiosCmd is not owned by the correct user or does not have the sticky bit set. Chown the directory to $Nagios:apache and chmod g+s and ug=rwx it. When nagios creates the $NagiosCmd file it will be writable by apache. -Jason Martin -- The name is Baud... James Baud. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From jgiles at joeman1.com Fri Jan 21 19:29:02 2005 From: jgiles at joeman1.com (Joe Giles) Date: Fri, 21 Jan 2005 11:29:02 -0700 Subject: Not authorized to add comments In-Reply-To: <20050121182342.GP22548@zippy.toger.us> References: <41F14754.7050304@joeman1.com> <20050121182342.GP22548@zippy.toger.us> Message-ID: <41F149EE.3040908@joeman1.com> Jason Martin wrote: >On Fri, Jan 21, 2005 at 11:17:56AM -0700, Joe Giles wrote: > > >>chown $Nagion:apache $NagiosCmd >>chmod 660 $NagiosCmd >> >> >Having to do this usually means that the the directory containing >$NagiosCmd is not owned by the correct user or does not have the >sticky bit set. > >Chown the directory to $Nagios:apache and chmod g+s and ug=rwx it. When >nagios creates the $NagiosCmd file it will be writable by >apache. > >-Jason Martin > > Good Tip. I haven't been doing that and it has been working great, however, I think I will look at your idea as well. Thanks!!! Joe ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sudheer at tgs-solutions.com Fri Jan 21 20:09:07 2005 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Fri, 21 Jan 2005 14:09:07 -0500 Subject: Hostext info] ANYBODY?????? In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC83646B@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC83646B@mismail.ena.com> Message-ID: <41F15353.60201@tgs-solutions.com> I have populated the hostextinfo table wit the data. Still its not working. Marc Powell wrote: > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Sudheer Muddappa >>Sent: Friday, January 21, 2005 9:20 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Hostext info] ANYBODY?????? >> >>Guys, >> >>Can some one help me on this? >> >>I have these parameters in my cgi.cfg file >># DG EXTENDED DATA >># Note: These config directives are only used if you compiled >># in database support for extended data! >># The user you specify here only needs SELECT privileges on the >># 'hostextinfo' table in the database. >> >>xeddb_host=localhost >>xeddb_port=3306 >>xeddb_database=abc >>xeddb_username=abc >>xeddb_password=abc >> >> > >If you've compiled Nagios with extended data in a database (as you >indicate above) then everything below is pointless. Nagios will look for >the extinfo definitions in the database, not hostextinfo.cfg. > >http://nagios.sourceforge.net/docs/1_0/xdata-db.html#config_extinfo > >You'll need to create the appropriate tables and populate them with your >extinfo data. > >-- >Marc > > >>and >> >>xedteplate_config_file=/etc/nagios/hostextinfo.cfg >> >>in hostexetinfo.cfg i have this entry. >> >>define hostextinfo{ >> host_name netmonitor >> notes_url none >> icon_image debian.png >> vrml_image debian.png >> gd2_icon_image debian.gd2 >> icon_image_alt Debian Server >> statusmap_image debian.gd2 >> 2d_coords 100,200 >> 3d_coords 100.0,50.0,75.0 >> } >> >>Is this right? Do i need to configure anything else? >> >>Other severvices of nagios are managed by mysql db. >> >> > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >Tool for open source databases. Create drag-&-drop reports. Save time >by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >Download a FREE copy at http://www.intelliview.com/go/osdn_nl >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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 > > > > -- Sudheer Muddappa TCIS Ph 732-212-5045 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rdrake at stayonline.net Fri Jan 21 22:51:48 2005 From: rdrake at stayonline.net (Robert Drake) Date: Fri, 21 Jan 2005 16:51:48 -0500 Subject: Service Check Timed Out in nagios 2.0b1 Message-ID: <20050121215148.GA30737@ipsek.net> I'm seeing alot of these for some reason. Recently we got rid of all our slow service checks so we changed the interval from 20 minutes to 5. We've got 4600 services (4300 hosts). Currently we've got 42 hosts down, 4 unreachable. We've got 64 service check failures (90% of those being Service Check Timed Out) The problem is that alot of these timeouts are false positives. Even though it takes 2 seconds to check a host (even when down) nagios times them out. The box isn't overloaded, usually the load average is around 1.0. With that many service checks spread over 5 minutes you should see about 15-16 processes/sec running. Instead it fluctuates up and down, sometimes you'll only see 2 sometimes you'll see 30. It's running behind schedule too, which is weird. It's always run behind schedule, but I don't understand why it can't make a schedule it can kind of match. Here's my nagios.cfg: log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/et_list.cfg cfg_file=/usr/local/nagios/etc/dev_list.cfg cfg_file=/usr/local/nagios/etc/commands.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/dyn_hostgroups.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/cache/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=1 command_file=/usr/local/nagios/var/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=0 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 host_inter_check_delay_method=s service_inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=60 service_reaper_frequency=1 sleep_time=0.25 service_check_timeout=60 host_check_timeout=60 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=300 use_retained_program_state=1 use_retained_scheduling_info=1 interval_length=60 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 obsess_over_services=0 check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=iso8601 admin_email=sos at stayonline.net admin_pager=sos at stayonline.net illegal_macro_output_chars=`~$^&"|'<>; broker_module=/usr/local/nagios/bin/inserter.o event_broker_options=-1 It seems like this question has been asked a few times before, but nobody seems to have a good answer for it. Is there a magic command I'm missing that makes things better? Thanks, Robert -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From sudheer at tgs-solutions.com Fri Jan 21 23:15:32 2005 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Fri, 21 Jan 2005 17:15:32 -0500 Subject: Hostext info] ANYBODY?????? In-Reply-To: <41F15353.60201@tgs-solutions.com> References: <349555FA607F3A4CBDA9326035D1A7FC83646B@mismail.ena.com> <41F15353.60201@tgs-solutions.com> Message-ID: <41F17F04.6010809@tgs-solutions.com> Any of you guys using hostextinfo and serviceextinfo with mysql? Sudheer Muddappa wrote: > I have populated the hostextinfo table wit the data. Still its not > working. > > > Marc Powell wrote: > >> >> >>>-----Original Message----- >>>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>>admin at lists.sourceforge.net] On Behalf Of Sudheer Muddappa >>>Sent: Friday, January 21, 2005 9:20 AM >>>To: nagios-users at lists.sourceforge.net >>>Subject: [Nagios-users] Hostext info] ANYBODY?????? >>> >>>Guys, >>> >>>Can some one help me on this? >>> >>>I have these parameters in my cgi.cfg file >>># DG EXTENDED DATA >>># Note: These config directives are only used if you compiled >>># in database support for extended data! >>># The user you specify here only needs SELECT privileges on the >>># 'hostextinfo' table in the database. >>> >>>xeddb_host=localhost >>>xeddb_port=3306 >>>xeddb_database=abc >>>xeddb_username=abc >>>xeddb_password=abc >>> >>> >> >>If you've compiled Nagios with extended data in a database (as you >>indicate above) then everything below is pointless. Nagios will look for >>the extinfo definitions in the database, not hostextinfo.cfg. >> >>http://nagios.sourceforge.net/docs/1_0/xdata-db.html#config_extinfo >> >>You'll need to create the appropriate tables and populate them with your >>extinfo data. >> >>-- >>Marc >> >> >>>and >>> >>>xedteplate_config_file=/etc/nagios/hostextinfo.cfg >>> >>>in hostexetinfo.cfg i have this entry. >>> >>>define hostextinfo{ >>> host_name netmonitor >>> notes_url none >>> icon_image debian.png >>> vrml_image debian.png >>> gd2_icon_image debian.gd2 >>> icon_image_alt Debian Server >>> statusmap_image debian.gd2 >>> 2d_coords 100,200 >>> 3d_coords 100.0,50.0,75.0 >>> } >>> >>>Is this right? Do i need to configure anything else? >>> >>>Other severvices of nagios are managed by mysql db. >>> >>> >> >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >>Tool for open source databases. Create drag-&-drop reports. Save time >>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at 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 >> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthijs.macare at xs4all.nl Sat Jan 22 01:04:56 2005 From: matthijs.macare at xs4all.nl (Matthijs Macaré) Date: Sat, 22 Jan 2005 01:04:56 +0100 Subject: Debian, Nagios, CGI, Good config... Still errors !! Message-ID: After fixing a MySQL-bug in the 40.23-1 and upgraded to 4.0.23-3 I ran into following problem and I did before with the text-version. Anyone else having problems getting Nagios cgi scripts to run on Debian Sarge. I installed it this and previous week but it's not running so good. But I I get the message: "It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file." No matter what I've tried, I can't get around this, whether I enable or disable authentication. Anyone know if the newest deb package for Nagios is broken? I currently have authentication turned on. It appears to be working fine, as I am requested to log in with the nagiosadmin account when first accessing the web site or see "tactical overview". But then, any link that accesses status.cgi (and some others) come back with the above message. When I set all the permissions on * in cgi.cfg and go to: Service Detail Host Detail Status Overview Status Summary Status Grid Status Map 3-D Status Map I get the error again. All the .htaccess files are good, permission on the files are good. Things as: Service Problems Host Problems Network Outages Comments Downtime Process Info Performance Info Scheduling Queue Are accesable but there are no things displayed that's been monitoring. Only the DefaultGateway that Nagios has discovered by installing it is beeing seen and has been checked for ping but in items like Report it isn't displayed, I also can't see the details of that devices because of permissions. I don't think its an apache issue. I created my own hello.cgi and put it in the same directory as the nagios scripts and that works fine. also the perlcheck works great ! I've checked and rechecked that I don't have any typos in the various cfg files that require a username to access certain nagios cgi's. What can be wrong ?? Is the problem in the APT-GET install of nagios ? I hope someone will help me because I can't get out and hear great sounds of nagios ! Thanks for any help !! ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Sat Jan 22 01:54:03 2005 From: marc at ena.com (Marc Powell) Date: Fri, 21 Jan 2005 18:54:03 -0600 Subject: Debian, Nagios, CGI, Good config... Still errors !! Message-ID: <349555FA607F3A4CBDA9326035D1A7FC8364F4@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Matthijs Macar? > Sent: Friday, January 21, 2005 6:05 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Debian, Nagios, CGI, Good config... Still errors > !! > > After fixing a MySQL-bug in the 40.23-1 and upgraded to 4.0.23-3 I ran > into > following problem and I did before with the text-version. > > Anyone else having problems getting Nagios cgi scripts to run on Debian > Sarge. I installed it this and previous week but it's not running so > good. > But I > > I get the message: > "It appears as though you do not have permission to view information for > any of the hosts you requested... If you believe this is an error, check > the HTTP server authentication requirements for accessing this CGI and > check the authorization options in your CGI configuration file." > > No matter what I've tried, I can't get around this, whether I enable or > disable authentication. Anyone know if the newest deb package for > Nagios is broken? > > I currently have authentication turned on. It appears to be working > fine, as I am requested to log in with the nagiosadmin account when > first accessing the web site or see "tactical overview". But then, any > link > that accesses > status.cgi (and some others) come back with the above message. > Just some common pointers to maybe get you going in the right direction: Do you have the .htaccess file in nagios' sbin directory or just the share directory? It needs to be in the sbin directory. When you log in, does nagios show you as logged in with that username? (upper left, Logged In As ) Is the above user a member of the contactgroup for the hosts that you are expecting to see? Have you reviewed the documentation on configuring authorization for the CGI's to make sure you didn't miss a step? http://nagios.sourceforge.net/docs/2_0/cgiauth.html Since you've installed from a package, you'll probably need to do some mental transformations to get the paths right. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matthijs.macare at xs4all.nl Sat Jan 22 02:21:36 2005 From: matthijs.macare at xs4all.nl (Matthijs Macaré) Date: Sat, 22 Jan 2005 02:21:36 +0100 Subject: Debian, Nagios, CGI, Good config... Still errors !! References: <349555FA607F3A4CBDA9326035D1A7FC8364F4@mismail.ena.com> Message-ID: Some manuals (I have read a several one) told me that I only needed to put a .htacces in the /usr/lib/cgi-bin/nagios and not in the /etc/nagios when I don't wanted to mass secure it. So I didn't do that, maybe in a later stadium. I think I have tried it but didn't know for sure anymore. Yes the username is shown and it's also member of the contactgroup for the hosts that I will see. I see the host in the Scheduling Qeueu but can't access the extra info when I click there on the Host or the Service that it has running. Ik get the error: "It appears as though you do not have permission to view information for this host... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file." Yes I have read the CGI-configuration for a hundred times now I think. I have also searched where I can set the Perl-path for these CGI's because when I put a "hello.cgi" in the nagios-cgi dir with the right perlpath in it, it runs great (this after removing the .htaccess there offcourse). I think also that the perl-path isn't right, but the strange thing is that I can access the "Scheduling Qeueu" "Marc Powell" schreef in bericht news:349555FA607F3A4CBDA9326035D1A7FC8364F4 at mismail.ena.com... > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Matthijs Macar? > Sent: Friday, January 21, 2005 6:05 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Debian, Nagios, CGI, Good config... Still errors > !! > > After fixing a MySQL-bug in the 40.23-1 and upgraded to 4.0.23-3 I ran > into > following problem and I did before with the text-version. > > Anyone else having problems getting Nagios cgi scripts to run on Debian > Sarge. I installed it this and previous week but it's not running so > good. > But I > > I get the message: > "It appears as though you do not have permission to view information for > any of the hosts you requested... If you believe this is an error, check > the HTTP server authentication requirements for accessing this CGI and > check the authorization options in your CGI configuration file." > > No matter what I've tried, I can't get around this, whether I enable or > disable authentication. Anyone know if the newest deb package for > Nagios is broken? > > I currently have authentication turned on. It appears to be working > fine, as I am requested to log in with the nagiosadmin account when > first accessing the web site or see "tactical overview". But then, any > link > that accesses > status.cgi (and some others) come back with the above message. > Just some common pointers to maybe get you going in the right direction: Do you have the .htaccess file in nagios' sbin directory or just the share directory? It needs to be in the sbin directory. When you log in, does nagios show you as logged in with that username? (upper left, Logged In As ) Is the above user a member of the contactgroup for the hosts that you are expecting to see? Have you reviewed the documentation on configuring authorization for the CGI's to make sure you didn't miss a step? http://nagios.sourceforge.net/docs/2_0/cgiauth.html Since you've installed from a package, you'll probably need to do some mental transformations to get the paths right. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From trevorwarren at gmail.com Sat Jan 22 03:38:27 2005 From: trevorwarren at gmail.com (Trevor Warren) Date: Sat, 22 Jan 2005 08:08:27 +0530 Subject: modifying email alerts : Defaults do not suffice Message-ID: <559e3cb605012118387f709712@mail.gmail.com> Morning Friends, I have been a user of nagios for quite some time now. At one of my customers locations we are having issues with the email alerts being obtained from NAGIOS. If you see the emails Nagios is sending out you will notice that there is no information of the service which has gone down but only a change of state to "State : DOWN". This is getting a little painful since these alerts are sent to VP's and MD's of the organisation and i would like to send across alerts with the right information in it. Plese check these emails below and suggest what modification in need to perform in the "misccommands" file to have the emails send out proper "Service" information. Thanks in advance friends. Trevor ##################### #Alert Email ##################### nagios to me Show options Jan 21 (15 hours ago) ***** Nagios ***** Notification Type: PROBLEM Host: tinsvr1 State: DOWN Address: 172.16.12.14 Info: (No output!) Date/Time: Fri Jan 21 16:17:08 IST 2005 - Hide quoted text - begin 666 InterScan_Disclaimer.txt ##################### #Alert Acknowledgement ##################### nagios to me Show options Jan 21 (15 hours ago) ***** Nagios ***** Notification Type: ACKNOWLEDGEMENT Host: tinsvr1 State: DOWN Address: 172.16.12.14 Info: Checked by Trevor on 21st Jan 2005 Date/Time: Fri Jan 21 16:21:36 IST 2005 - Hide quoted text - begin 666 InterScan_Disclaimer.txt M*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ*BHJ -- ___________________________________ ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \____________________________________/ _|_| ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From trevorwarren at gmail.com Sat Jan 22 04:02:27 2005 From: trevorwarren at gmail.com (Trevor Warren) Date: Sat, 22 Jan 2005 08:32:27 +0530 Subject: NRPE DB2 Alerts displayed but not escalated Message-ID: <559e3cb605012119022c6392e2@mail.gmail.com> Morning Friends, We are using Nagios with NRPE on the remote servers(AIX 5.2 and RHEL 3) which capture information with respect to DB2 and escalate the same to the Central Nagios host. The process is as following: > The sed/awk/bash scripts on the DB2 servers get the DB2 stats and create the requisite text files with the stats in it. > Nagios Nrpe does a cat of the file on the remote machine and pulls the information across to it. The message are either of the type: "DB2 Buffer Pool Hit Ratio WARNING : Buffer Pool Hit Ratio Low" or "DB2 Buffer Pool Hit Ratio OK : Buffer Pool Hit Ratio Low Fine". But irrespective of which message nrpe pulls from the DB2 servers all you can see is the services showing up via the nagios web interfaces in "OK" in green. This is a lil nausseating, i know its a config issue on my part but i cant figure out what i should be passing via NPRE to nagios such that it displays the "Warnings" in Yellow and "Critical" in Red. Please suggest. Thanks in advance guys. Trevor -- ___________________________________ ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \____________________________________/ _|_| ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From trevorwarren at gmail.com Sat Jan 22 04:11:06 2005 From: trevorwarren at gmail.com (Trevor Warren) Date: Sat, 22 Jan 2005 08:41:06 +0530 Subject: db2 & websphere alerts In-Reply-To: <559e3cb605012119094563a416@mail.gmail.com> References: <559e3cb605012119094563a416@mail.gmail.com> Message-ID: <559e3cb6050121191148f56dcb@mail.gmail.com> Morning Guys, At one of my customers premises we are making use of Tivoli to pull Operating System - DB2 -Apache and WebSphere statistics to a centralised Tivoli Monitoring Region Server. Tivoli is getting to be a nightmare and hence i had a long time ago deployed Nagios which the customer uses increasingly in production rather than Tivoli. I have achieved DB2 monitoring through Nagios and now want to monitor WebSphere too. Do you of any way of obtaining the WebSphere monitoring parameters from the host operating system on which it resides. All i know is that WAS has its own Performance Monitoring Interface which we can be polled for purposes of obtaining information with respect to the current status of the WAS instance. How do we go about achieving this???. If anyone needs any help with DB2 monitoring please lemme know. Take care and be in touch and thanks in advance dear. Trevor -- ___________________________________ ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \____________________________________/ _|_| ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhein at netways.de Sat Jan 22 10:35:16 2005 From: jhein at netways.de (Julian Hein) Date: Sat, 22 Jan 2005 10:35:16 +0100 Subject: Monitoring Power With Nagios Message-ID: Hi Kaushal, > For this, I've an energy meter with a webserver on board and it can > connect to ethernet. So, with the use of Nagios can we display these > results on WWW remotely ? More precisely, what I plan to do is display > those quantities in a manner similar to some online energy montioring > services available. However those are very costly, whereas the very > fundamental logic of Nagios is monitoring for free, but this time > electrical parameters. I am very interested in the device you are using to monitor power. Do you have a link or any other pointer, where to get that device? Thanks, Julian ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lhaig at haigmail.com Sat Jan 22 13:40:42 2005 From: lhaig at haigmail.com (Lance Haig) Date: Sat, 22 Jan 2005 12:40:42 +0000 Subject: statusmap.cgi In-Reply-To: <41EFF329.6020204@haigmail.com> References: <41EFF329.6020204@haigmail.com> Message-ID: <41F249CA.2050001@haigmail.com> Just to let youguys know that I have solved the problem. RTFM would have been better :-) Lance Lance Haig wrote: > I don't seem to have a statusmap.cgi > > Should this be created automatically or do I have to manually create it. > > I am running nagios 1.2 on Fedora 2 > > Thanks > > Lance > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From treed at astate.edu Sat Jan 22 17:57:34 2005 From: treed at astate.edu (Todd Reed) Date: Sat, 22 Jan 2005 10:57:34 -0600 Subject: Nagios-Nagiosgraph Assistance Message-ID: <892CC2C451D0414B90159D10B5BDAA657E79A9@EXCHANGE.astate.edu> I've installed Nagios and Nagiosgraph and I'm having trouble getting the image to appear in the detailed status page of nagios for nagiosgraph. I'm running 1.2 on FreeBSD 5.3. Below are links to my configuration files. Nagios appear to be working. I keep reading through the readme files of both nagios and nagiosgraph, but I do not see my errors. If anybody can assist me, I would greatly appreciate it. If anyone has any suggestions to better these configs, I would appreciate that, too. They are mostly default configs. Nagios Configuration Files http://fido.astate.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Sun Jan 23 20:51:42 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 23 Jan 2005 20:51:42 +0100 Subject: Servicegroup limit? In-Reply-To: <20050120082201.155827049.jayj@yahoo-inc.com> References: <20050120082201.155827049.jayj@yahoo-inc.com> Message-ID: <41F4004E.1080101@op5.se> Jay Janssen wrote: > Hi, I seem to have hit some kind of limit in my nagios config. I am > defining a generic service escalation model for all of my services > divided into two servicegruops, services-priority-high and > services-priority-low. This seems to work well, until I reach some > limit on the number of services I have in my services-priority-high > group (~1300 services). I have narrowed it down if I add one more > service (which actually results in about 150 being added to the > service group, because that service is on a ~150 hosts), I experience > the following when I load my web interface: > >> Whoops! >> >> Error: Could not read object configuration data! > > > When I back out that one service from the service group, the error > goes away. Throughout all of this my nagios daemon restarts happily > without any errors (nor any errors from nagios -v) Does anyone have > any thoughts/experiences with this? > It seems like you're reaching the max line number. What happens then is that it will read the part that will fit in the buffer, find the keyword and its corresponding value and then continue to read the same line, but thinking it's the next line. > > Jay Janssen > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Sun Jan 23 20:54:15 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 23 Jan 2005 20:54:15 +0100 Subject: Hostext info In-Reply-To: <41F02533.80501@tgs-solutions.com> References: <41EEB80C.7030405@tgs-solutions.com> <41F02533.80501@tgs-solutions.com> Message-ID: <41F400E7.1040005@op5.se> Sudheer Muddappa wrote: > Guys, > Can some one help me on this? > What's the problem? > I have these parameters in my cgi.cfg file > # DG EXTENDED DATA > # Note: These config directives are only used if you compiled > # in database support for extended data! > # The user you specify here only needs SELECT privileges on the > # 'hostextinfo' table in the database. > > xeddb_host=localhost > xeddb_port=3306 > xeddb_database=abc > xeddb_username=abc > xeddb_password=abc > > and > > xedteplate_config_file=/etc/nagios/hostextinfo.cfg > Mind the spelling. > in hostexetinfo.cfg i have this entry. > > define hostextinfo{ > host_name netmonitor > notes_url none > icon_image debian.png > vrml_image debian.png > gd2_icon_image debian.gd2 > icon_image_alt Debian Server > statusmap_image debian.gd2 > 2d_coords 100,200 > 3d_coords 100.0,50.0,75.0 > } > > Is this right? Do i need to configure anything else? > Read the docs. They explain everything in a very concise and polite manner. > Other severvices of nagios are managed by mysql db. > > THanks, > Sudheer > > > Sudheer Muddappa wrote: > >> I have a tables for service and host ext info, and xeddb_host etc in >> cgi.cfg file. >> >> Do i need to create the files for hostextinfo.cfg and >> serviceextinfo.cfg files? or type in the values in cgi.cfg file it self? >> All other information is stored in DB. >> >> Thanks, >> > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Sun Jan 23 21:04:47 2005 From: ae at op5.se (Andreas Ericsson) Date: Sun, 23 Jan 2005 21:04:47 +0100 Subject: Flapping Thresholds In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E011C95D7@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E011C95D7@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <41F4035F.6010001@op5.se> Sand Philipp wrote: > Hi, > > In the Documentation it's said, that the flapping functionality uses > the last 21 check results to calculate the % of flapping. Is it > possible change that array into maybe 80 instead of 21 check results > stored in an array? Yes, but with a rather violent increase in memory used by a running Nagios process. It's (sizeof(ptrdiff_t) * 59 * (hosts + services)) byte increase in allocated memory only. The data PTE will grow even more (it's bloated already, but still). > Is it safe to hack it into the sourcecode? Yes. It's a computer program we're talking about, not The Bomb. > Has anyone experiences with it? Kernighan & Ritchie have extensive, as does a couple of hundred million people worldwide. C is a very wellknown language, after all. > Is there any other way to configure it? > No. The proper way to do it would probably be to add it as a macro so it can be easily tweaked. The size of the a result array should ofcourse be determined by the same macro. > Thanks in advance! Philipp > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From skylar at cs.earlham.edu Sun Jan 23 21:14:02 2005 From: skylar at cs.earlham.edu (Skylar Thompson) Date: Sun, 23 Jan 2005 15:14:02 -0500 Subject: DNS plugin problem Message-ID: <20050123201402.GA71046@quark.cs.earlham.edu> I'm using the check_dns plugin to monitor our BIND DNS servers. Many times a day, the plugin marks one BIND server as down with this error message: SERVICE ALERT: hopper;DNS;CRITICAL;HARD;3;DNS CRITICAL - '/usr/bin/nslookup -sil' output parsing exited with no address It then comes back up about 10 minutes later: SERVICE ALERT: hopper;DNS;OK;HARD;3;DNS ok - 1 seconds response time, Address(es) is/are 216.109.118.74 This machine runs FreeBSD 4.7 and uses BIND 8.3. We have two other DNS servers, running on FreeBSD 4.10 and using BIND 9.2. The trouble machine is nominally outside my control, but I could make a case to those administrators to do an upgrade to BIND 9. Would this likely solve the problem, or is it something else? -- -- Skylar Thompson (skylar at cs.earlham.edu) -- http://www.cs.earlham.edu/~skylar/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Mon Jan 24 01:08:08 2005 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 24 Jan 2005 11:08:08 +1100 Subject: db2 & websphere alerts In-Reply-To: <20050122041115.5821213301@sc8-sf-spam2.sourceforge.net> References: <20050122041115.5821213301@sc8-sf-spam2.sourceforge.net> Message-ID: <20050124000807.GE33553@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Fri, Jan 21, 2005 at 08:09:47PM -0800, nagios-users-request at lists.sourceforge.net wrote: > > Message: 6 > Date: Sat, 22 Jan 2005 08:41:06 +0530 > From: Trevor Warren > Subject: [Nagios-users] db2 & websphere alerts > > Morning Guys, > > At one of my customers premises we are making use of Tivoli to pull > Operating System - DB2 -Apache and WebSphere statistics to a > centralised Tivoli Monitoring Region Server. Tivoli is getting to be a > nightmare and hence i had a long time ago deployed Nagios which the > customer uses increasingly in production rather than Tivoli. > He he. One thing you may like to consider is using Nagios to get better value from the Tivoli investment by using the more responsive Nag CGIs to provide - scheduled downtime - acknowledgements with comments - disabling notifications - periodic re-notification (without TEC rules) for hosts equipped with Tivoli agents. This approach also moves escalation for such hosts from TEC rules into Nagios configuration - a huge advantage. The TEC rules could invoke a program that classifies the Tivoli event (into corresponding Nagios services eg TEC disk, TEC cpu, .. TEC misc) and submit a passive service check result (with ssh or NCSA etc). Incidentally, this may be a way of dealing with your current problems of getting events into Nag - have your existing processes simply format their findings as Nag service check results ( http://your_nag_host/nagios/docs/passivechecks.html ) and get them to Nag somehow ( ssh Nag_Host echo 'Service_Check_Result' > /path/to/Nag/var/rw/nagios.cmd is pretty easy ) This means that all managed elements are visible to Nagios and subject to per service Nagios processing (for notifications etc) configuration. There is a _considerable_ difference in responsiveness and utility between the Nagios CGIs and the Tivoli console viewers (both X and web based). [snip] > > Trevor > Yours sincerely. -- Stanley Hopcroft IP Australia Ph: (02) 6283 3189 Fax: (02) 6281 1353 PO Box 200 Woden ACT 2606 http://www.ipaustralia.gov.au -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From kurt at raschke.net Mon Jan 24 01:31:31 2005 From: kurt at raschke.net (Kurt Raschke) Date: Sun, 23 Jan 2005 19:31:31 -0500 Subject: 2.0b1 broken macro handling In-Reply-To: <41E30745.10688.3256007@localhost> References: <1105128480.4683.187.camel@hostmaster.org> <41E30745.10688.3256007@localhost> Message-ID: <4B7E69F0-6D9F-11D9-B826-000393A4839E@raschke.net> On Jan 10, 2005, at 11:52 PM, Ethan Galstad wrote: > This was a fun one to track down. Basically, there was a bug in the > macro expansion code, which resulted in the said macros being left as > strings (i.e. "$SERVICEDESC$", "$SERVICESTATE$", etc.), which then > got nuked by the environment an converted to "$". Fix should be in > CVS shortly. > > I'm still noticing this behavior in a version I checked out from CVS just a few hours ago; has the bugfix been checked in yet, or is this a new/different bug? Thanks, Kurt Raschke ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From s.shipway at auckland.ac.nz Mon Jan 24 04:13:03 2005 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 24 Jan 2005 16:13:03 +1300 Subject: NSCA server bind failure In-Reply-To: References: Message-ID: <000401c501c2$9e56f7b0$01fea8c0@itss.auckland.ac.nz> Richard Baker wrote: On the return page from srvcheck.cgi I get "Error: Server closed connection before init packet was received Error: Could not read init packet from server" and in /var/log/messages I get: "Network server bind failure (98: Address already in use)". I have mapped port 5667 to nsca in /etc/services and netstat -anp | grep 5667 reveals nothing else trying to use that port. The web page, cgi and NSCA are all on the same server as nagios. NSCA is running under xinetd. And I replied thusly: Sounds as if you have missed out the essential --inetd parameter. service nsca { flags = REUSE socket_type = stream wait = no user = nagios group = nagios server = /u01/nagios/bin/nsca server_args = -c /u01/nagios/etc/nsca.cfg --inetd disable = no # only_from = ... only_from = 130.216.4.0 instances = UNLIMITED # conn. per sec, seconds to disable for when exceeded cps = 60 10 } Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From knitterb at blandsite.org Mon Jan 24 05:29:39 2005 From: knitterb at blandsite.org (Brandon Knitter) Date: Sun, 23 Jan 2005 20:29:39 -0800 Subject: Nagios 2.0b1 - Notifications Not Working Message-ID: <20050123202939.dii0xecr3qkosc4o@hurl.moil.blandsite.org> I am using the minimal setup just to test out Nagios 2.0. Also, I have turned on notification logging in the nagios.cfg. When a service fails the 4 of 4 times, I'm getting no notifications, and no notifications are being logged. I have checked that everything is configured to notify (notifications_enabled 1). When I go through the GUI to View Configs and look at the service, and everything up the chain from there (including host, all groups, contact groups, contacts, etc) I find that everything has notification enabled. The GUI display of the service even says "Notifications: 0", so I know it's not even trying to get to the point where it notifies me. Has anyone run into this with Nagios 2.0 or shall I send in my configs? Thanks, -- -bk ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From knitterb at blandsite.org Mon Jan 24 05:37:37 2005 From: knitterb at blandsite.org (Brandon Knitter) Date: Sun, 23 Jan 2005 20:37:37 -0800 Subject: SOLVED: Nagios 2.0b1 - Notifications Not Working In-Reply-To: <20050123202939.dii0xecr3qkosc4o@hurl.moil.blandsite.org> References: <20050123202939.dii0xecr3qkosc4o@hurl.moil.blandsite.org> Message-ID: <20050123203737.jb8sycbcnf14c4cc@hurl.moil.blandsite.org> Oh, found it. The notifications_options is blank in the shipped minimal.cfg! Sorry about that. Right after sending my email I went back and checked again, for the 15th time! :) -- -bk Quoting Brandon Knitter : > I am using the minimal setup just to test out Nagios 2.0. Also, I > have turned > on notification logging in the nagios.cfg. When a service fails the 4 of 4 > times, I'm getting no notifications, and no notifications are being > logged. I > have checked that everything is configured to notify > (notifications_enabled 1). > > When I go through the GUI to View Configs and look at the service, and > everything up the chain from there (including host, all groups, > contact groups, > contacts, etc) I find that everything has notification enabled. > > The GUI display of the service even says "Notifications: 0", so I > know it's not > even trying to get to the point where it notifies me. > > Has anyone run into this with Nagios 2.0 or shall I send in my configs? > > Thanks, > > -- > -bk > > > > > > > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > > !DSPAM:41f479e4195022221661292! > > > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From rainer at ultra-secure.de Mon Jan 24 06:53:27 2005 From: rainer at ultra-secure.de (Rainer Duffner) Date: Mon, 24 Jan 2005 06:53:27 +0100 Subject: Monitoring Hosts with dyndns dynamic IPs Message-ID: <41F48D57.6020107@ultra-secure.de> Hi, I'm considering monitoring some hosts of customers that have dynamic IPs and are accessible via dyndns-urls. Is that possible ? In my hosts.cfg I've only used IP-addresses so far (because the manual and the examples suggested so). So I would just replace that IP with the dyndns-hostname ? cheers, Rainer -- =================================================== ~ Rainer Duffner - rainer at ultra-secure.de ~ ~ Freising - Munich - Germany ~ ~ Unix - Linux - BSD - OpenSource - Security ~ ~ http://www.ultra-secure.de/~rainer/pubkey.pgp ~ =================================================== ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Javier.Castillo at alhambra-eidos.com Mon Jan 24 09:00:38 2005 From: Javier.Castillo at alhambra-eidos.com (Javier Castillo Alcibar) Date: Mon, 24 Jan 2005 09:00:38 +0100 Subject: Service Check Timed Out in nagios 2.0b1 Message-ID: <1515E176F4AD2E4AA41D92D7C006BC4701235183@ALHM4SRV.alhpridom.as> Hello Robert, How did you define "normal_check_interval" in services.cfg? -----Mensaje original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] En nombre de Robert Drake Enviado el: viernes, 21 de enero de 2005 22:52 Para: nagios-users at lists.sourceforge.net Asunto: [Nagios-users] Service Check Timed Out in nagios 2.0b1 I'm seeing alot of these for some reason. Recently we got rid of all our slow service checks so we changed the interval from 20 minutes to 5. We've got 4600 services (4300 hosts). Currently we've got 42 hosts down, 4 unreachable. We've got 64 service check failures (90% of those being Service Check Timed Out) The problem is that alot of these timeouts are false positives. Even though it takes 2 seconds to check a host (even when down) nagios times them out. The box isn't overloaded, usually the load average is around 1.0. With that many service checks spread over 5 minutes you should see about 15-16 processes/sec running. Instead it fluctuates up and down, sometimes you'll only see 2 sometimes you'll see 30. It's running behind schedule too, which is weird. It's always run behind schedule, but I don't understand why it can't make a schedule it can kind of match. Here's my nagios.cfg: log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/et_list.cfg cfg_file=/usr/local/nagios/etc/dev_list.cfg cfg_file=/usr/local/nagios/etc/commands.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/dyn_hostgroups.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/cache/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=1 command_file=/usr/local/nagios/var/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=0 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 host_inter_check_delay_method=s service_inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=60 service_reaper_frequency=1 sleep_time=0.25 service_check_timeout=60 host_check_timeout=60 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=300 use_retained_program_state=1 use_retained_scheduling_info=1 interval_length=60 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 obsess_over_services=0 check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=iso8601 admin_email=sos at stayonline.net admin_pager=sos at stayonline.net illegal_macro_output_chars=`~$^&"|'<>; broker_module=/usr/local/nagios/bin/inserter.o event_broker_options=-1 It seems like this question has been asked a few times before, but nobody seems to have a good answer for it. Is there a magic command I'm missing that makes things better? Thanks, Robert ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhein at netways.de Mon Jan 24 09:10:30 2005 From: jhein at netways.de (Julian Hein) Date: Mon, 24 Jan 2005 09:10:30 +0100 (CET) Subject: Monitoring Hosts with dyndns dynamic IPs In-Reply-To: <41F48D57.6020107@ultra-secure.de> References: <41F48D57.6020107@ultra-secure.de> Message-ID: <20050124081030.88BAE4F4002@desire.netways.de> Hi Rainer > I'm considering monitoring some hosts of customers that have > dynamic IPs and are accessible via dyndns-urls. > > Is that possible ? Yes it is, but why didn't you just try it. Writing this message definitly took longer :-) Julian ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From brian at icecomms.net Mon Jan 24 11:55:43 2005 From: brian at icecomms.net (brian at icecomms.net) Date: Mon, 24 Jan 2005 10:55:43 -0000 (GMT) Subject: (no subject) Message-ID: <17494.213.202.150.247.1106564143.squirrel@www.icecomms.net> Can anyone tell me how to activate audible alerts in nagios? I've searched the docs, faw and google and can;t find anything. Thanks for any help, Brian ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matthijs.macare at xs4all.nl Mon Jan 24 12:07:48 2005 From: matthijs.macare at xs4all.nl (Matthijs Macaré) Date: Mon, 24 Jan 2005 12:07:48 +0100 Subject: (no subject) References: <17494.213.202.150.247.1106564143.squirrel@www.icecomms.net> Message-ID: At the bottom in cgi.cfg, just above the DB-settings. schreef in bericht news:17494.213.202.150.247.1106564143.squirrel at www.icecomms.net... Can anyone tell me how to activate audible alerts in nagios? I've searched the docs, faw and google and can;t find anything. Thanks for any help, Brian ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Thomas.Zimmer at oppenheim.de Mon Jan 24 12:09:43 2005 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Mon, 24 Jan 2005 12:09:43 +0100 Subject: AW: (no subject) Message-ID: <3B1F009121A0D411AD7B0010E37C5BEC0B14C0D7@of-mxs02.oppenheim.de> Sounds are activated by default, as far as i know, there?s no switch to turn them off. You may configure your soundfile-names in cgi.cfg, the files have to live under /share/media Documentation: "CGI-Configuration Options --> Audio Alerts" (Nagios 1.x) ---------------------------------------------------------------------------- ----------------- Thomas Zimmer Sal. Oppenheim jr. & Cie. Praktikant / IT Tel.: 069 7134 5319 ---------------------------------------------------------------------------- ------------ -----Urspr?ngliche Nachricht----- Von: brian at icecomms.net [mailto:brian at icecomms.net] Gesendet: Montag, 24. Januar 2005 11:56 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] (no subject) Can anyone tell me how to activate audible alerts in nagios? I've searched the docs, faw and google and can;t find anything. Thanks for any help, Brian ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From hjp+nagios at wsr.ac.at Mon Jan 24 12:29:37 2005 From: hjp+nagios at wsr.ac.at (Peter J. Holzer) Date: Mon, 24 Jan 2005 12:29:37 +0100 Subject: Servicegroup limit? In-Reply-To: <41F4004E.1080101@op5.se> References: <20050120082201.155827049.jayj@yahoo-inc.com> <41F4004E.1080101@op5.se> Message-ID: <20050124112936.GG25084@wsr.ac.at> On 2005-01-23 20:51:42 +0100, Andreas Ericsson wrote: > Jay Janssen wrote: > >When I back out that one service from the service group, the error > >goes away. Throughout all of this my nagios daemon restarts happily > >without any errors (nor any errors from nagios -v) Does anyone have > >any thoughts/experiences with this? > > It seems like you're reaching the max line number. Did you mean "maximum line length"? > What happens then is that it will read the part that will fit in the > buffer, find the keyword and its corresponding value and then continue > to read the same line, but thinking it's the next line. Sounds like fgets. hp -- _ | Peter J. Holzer | If the code is old but the problem is new |_|_) | Sysadmin WSR / LUGA | then the code probably isn't the problem. | | | hjp at wsr.ac.at | __/ | http://www.hjp.at/ | -- Tim Bunce on dbi-users, 2004-11-05 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 388 bytes Desc: not available URL: From ae at op5.se Mon Jan 24 12:57:31 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 24 Jan 2005 12:57:31 +0100 Subject: Servicegroup limit? In-Reply-To: <20050124112936.GG25084@wsr.ac.at> References: <20050120082201.155827049.jayj@yahoo-inc.com> <41F4004E.1080101@op5.se> <20050124112936.GG25084@wsr.ac.at> Message-ID: <41F4E2AB.9070802@op5.se> Peter J. Holzer wrote: > On 2005-01-23 20:51:42 +0100, Andreas Ericsson wrote: > >>Jay Janssen wrote: >> >>>When I back out that one service from the service group, the error >>>goes away. Throughout all of this my nagios daemon restarts happily >>>without any errors (nor any errors from nagios -v) Does anyone have >>>any thoughts/experiences with this? >> >>It seems like you're reaching the max line number. > > > Did you mean "maximum line length"? > > Yes, ofcourse. Sorry about the confusion. >>What happens then is that it will read the part that will fit in the >>buffer, find the keyword and its corresponding value and then continue >>to read the same line, but thinking it's the next line. > > > Sounds like fgets. > Actually, it's supposed to be mmap(), but apparently something else is going on or this problem wouldn't happen. You're obviously hitting some form of buffer boundary limit that cuts the line. Just how long is it in its expanded form? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Roberto.Balestra at getronics.com Mon Jan 24 13:04:21 2005 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Mon, 24 Jan 2005 13:04:21 +0100 Subject: Hostext info] ANYBODY?????? Message-ID: <4E3FFB397E161940867E0B56F0B640D72044CA@excbebr203.europe.unity> Hi, I have hostextinfo and serviceextinfo on mysql (3.23.58) on RH 7.3 using Nagios 1.2 In cgi.cfg I had comment hostextinfo and serviextinfo rows and I have added host, post, db, user and password as you. I have insert into table parametres that I want. Nothing else. If it doesn't work try to see your configuration of mysql, permission or case character. Try to connect to your mysql with: mysql -u abc -pabc -D abc and then run command select * from hostextinfo; Please, give me a feedback. Bye Roberto -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Sudheer Muddappa Sent: venerd? 21 gennaio 2005 23.16 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Hostext info] ANYBODY?????? Any of you guys using hostextinfo and serviceextinfo with mysql? Sudheer Muddappa wrote: I have populated the hostextinfo table wit the data. Still its not working. Marc Powell wrote: -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [ mailto:nagios-users- admin at lists.sourceforge.net] On Behalf Of Sudheer Muddappa Sent: Friday, January 21, 2005 9:20 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Hostext info] ANYBODY?????? Guys, Can some one help me on this? I have these parameters in my cgi.cfg file # DG EXTENDED DATA # Note: These config directives are only used if you compiled # in database support for extended data! # The user you specify here only needs SELECT privileges on the # 'hostextinfo' table in the database. xeddb_host=localhost xeddb_port=3306 xeddb_database=abc xeddb_username=abc xeddb_password=abc If you've compiled Nagios with extended data in a database (as you indicate above) then everything below is pointless. Nagios will look for the extinfo definitions in the database, not hostextinfo.cfg. http://nagios.sourceforge.net/docs/1_0/xdata-db.html#config_extinfo You'll need to create the appropriate tables and populate them with your extinfo data. -- Marc and xedteplate_config_file=/etc/nagios/hostextinfo.cfg in hostexetinfo.cfg i have this entry. define hostextinfo{ host_name netmonitor notes_url none icon_image debian.png vrml_image debian.png gd2_icon_image debian.gd2 icon_image_alt Debian Server statusmap_image debian.gd2 2d_coords 100,200 3d_coords 100.0,50.0,75.0 } Is this right? Do i need to configure anything else? Other severvices of nagios are managed by mysql db. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rainer at ultra-secure.de Mon Jan 24 14:19:40 2005 From: rainer at ultra-secure.de (Rainer Duffner) Date: Mon, 24 Jan 2005 14:19:40 +0100 Subject: Monitoring Hosts with dyndns dynamic IPs In-Reply-To: <20050124081030.88BAE4F4002@desire.netways.de> References: <41F48D57.6020107@ultra-secure.de> <20050124081030.88BAE4F4002@desire.netways.de> Message-ID: <41F4F5EC.3090607@ultra-secure.de> Julian Hein wrote: >Hi Rainer > > > > > >>I'm considering monitoring some hosts of customers that have >> >> > > > >>dynamic IPs and are accessible via dyndns-urls. >> >> > > > > > > >>Is that possible ? >> >> > > > >Yes it is, but why didn't you just try it. Writing this message > definitly took longer :-) > > > > Because I want to ask the customer first, if I'm actually allowed to do it (and he'll pay for it...) :-) cheers, Rainer -- =================================================== ~ Rainer Duffner - rainer at ultra-secure.de ~ ~ Freising - Munich - Germany ~ ~ Unix - Linux - BSD - OpenSource - Security ~ ~ http://www.ultra-secure.de/~rainer/pubkey.pgp ~ =================================================== ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ignacio.vidal at telmex.com Mon Jan 24 13:33:48 2005 From: ignacio.vidal at telmex.com (Vidal, Ignacio - (Arg)) Date: Mon, 24 Jan 2005 09:33:48 -0300 Subject: Issuing check_disk under HP-UX Message-ID: Hello: I've got a problem trying to use check_disk under HP-UX. I get "unable to read output" when issuing this command: # /opt/nrpe/libexec/check_disk -w 8 -c 3 -p /archive/TESTCC -m Unable to read output: /usr/bin/df -Pk /archive/TESTCC /dev/vg_bkp18/lvol1 I think that's because the command "df -Pk" shows results for a particular filesystem in two lines. How can I solve this? Is there a version of check_disk "adapted" to this behaviour under hp-ux? Thanks in advance Ignacio ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Mon Jan 24 14:02:44 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Mon, 24 Jan 2005 14:02:44 +0100 Subject: Service Check Timed Out in nagios 2.0b1 In-Reply-To: <20050121215148.GA30737@ipsek.net> References: <20050121215148.GA30737@ipsek.net> Message-ID: <41F4F1F4.50300@interface-business.de> Robert Drake wrote: > I'm seeing alot of these for some reason. Recently we got rid of all > our slow service checks so we changed the interval from 20 minutes to 5. > > We've got 4600 services (4300 hosts). > > Currently we've got 42 hosts down, 4 unreachable. We've got 64 service > check failures (90% of those being Service Check Timed Out) > > The problem is that alot of these timeouts are false positives. Even > though it takes 2 seconds to check a host (even when down) nagios times > them out. > > The box isn't overloaded, usually the load average is around 1.0. > > With that many service checks spread over 5 minutes you should see about > 15-16 processes/sec running. Instead it fluctuates up and down, > sometimes you'll only see 2 sometimes you'll see 30. It's running > behind schedule too, which is weird. It's always run behind schedule, > but I don't understand why it can't make a schedule it can kind of > match. > > Here's my nagios.cfg: [snip] Do you have checks via ssh? If yes, you can specify a special timeout there. If check_by_ssh times out, it returns 2. If the check called by check_by_ssh times out, check_by_ssh will return -1 (UNKNOWN). > service_reaper_frequency=1 > sleep_time=0.25 I guess, these are the best values for you. So a modifaction would be pointless, or? did you tried other combinations there? A service_reaper_frequency of 5 and a sleed_time of 0.2 are not better, or? Another idea: Your nagios user has enough resources? I don't know the max number of processes of you OS. Perhaps there is a way to tune a bit? bandwidth should be no problem....no more ideas. :-/ ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Philipp.Sand at sycor.de Mon Jan 24 14:26:37 2005 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 24 Jan 2005 14:26:37 +0100 Subject: Flapping Thresholds Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E011C95E8@SYGOMAIL.GOE.AD.SYCOR.DE> > Sand Philipp wrote: > > Hi, > > > > In the Documentation it's said, that the flapping > functionality uses > > the last 21 check results to calculate the % of flapping. Is it > > possible change that array into maybe 80 instead of 21 > check results > > stored in an array? > Yes, but with a rather violent increase in memory used by a > running Nagios process. It's (sizeof(ptrdiff_t) * 59 * (hosts > + services)) byte increase in allocated memory only. The data > PTE will grow even more (it's bloated already, but still). Ok, i think I'll check it out. Can you please give a hint, where to look in the sourcecode? > > Is it safe to hack it into the sourcecode? > Yes. It's a computer program we're talking about, not The Bomb. You never know :-p > > Has anyone experiences with it? > Kernighan & Ritchie have extensive, as does a couple of > hundred million people worldwide. C is a very wellknown > language, after all. Ah..ok... :-/ Thanks, Philipp ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Mon Jan 24 14:35:39 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 24 Jan 2005 14:35:39 +0100 Subject: Flapping Thresholds In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E011C95E8@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E011C95E8@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <41F4F9AB.3090406@op5.se> Sand Philipp wrote: >>Sand Philipp wrote: >> >>>Hi, >>> >>>In the Documentation it's said, that the flapping >> >>functionality uses >> >>>the last 21 check results to calculate the % of flapping. Is it >>>possible change that array into maybe 80 instead of 21 >> >>check results >> >>>stored in an array? >> >>Yes, but with a rather violent increase in memory used by a >>running Nagios process. It's (sizeof(ptrdiff_t) * 59 * (hosts >>+ services)) byte increase in allocated memory only. The data >>PTE will grow even more (it's bloated already, but still). > > Ok, i think I'll check it out. Can you please give a hint, where to look > in the sourcecode? > Just a wild guess off the top of my head, but base/flapping.c seems like a reasonable place to at least learn the variable names. You'll probably want to look at something in xdata/*.h to find the macro that defines the max number of preserved states for flapping reasons. > >>>Is it safe to hack it into the sourcecode? >> >>Yes. It's a computer program we're talking about, not The Bomb. > > You never know :-p > > >>>Has anyone experiences with it? >> >>Kernighan & Ritchie have extensive, as does a couple of >>hundred million people worldwide. C is a very wellknown >>language, after all. > > Ah..ok... :-/ > > > Thanks, > Philipp > > > ************************************************ > > sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie > > www.sycor-plastics.de > > ************************************************ > > > > > Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. > > This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sheeri.kritzer at tufts.edu Mon Jan 24 15:17:35 2005 From: sheeri.kritzer at tufts.edu (Sheeri Kritzer) Date: Mon, 24 Jan 2005 09:17:35 -0500 Subject: Monitoring MySQL replication and rSync backups In-Reply-To: <20050121162245.GL22548@zippy.toger.us> References: <41F0EEF0.1030801@battrick.org> <20050121162245.GL22548@zippy.toger.us> Message-ID: <1106576255.41f5037fc4d65@webmail.tufts.edu> We have done that ourselves; see the attached for a plugin ready to go. We've been using it for a few months now and it works swimmingly. -Sheeri Kritzer Systems Administrator University Systems Group Tufts University 617-627-3925 sheeri.kritzer at tufts.edu Quoting Jason Martin : > On Fri, Jan 21, 2005 at 12:00:48PM +0000, Alastair Battrick wrote: > > Any idea how I can check if 2 servers are correctly MySQL replicated and > > correctly rSync'd ? > One could write a plugin that does a SHOW MASTER STATUS / SHOW > SLAVE STATUS against the appropriate servers and check that the > log positions are not more than X positions apart. It looks like > this book (http://6URL.com/AAZ) has some sample code, although > it isn't in the form of a Nagios plugin. > > rSync backups could be monitored by having the job log and > monitoring the logfile or making the backup job a passive > check. > > -Jason Martin > > -- > Are dog biscuits made from collie flour? > This message is PGP/MIME signed. > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_mysql_rep.pl URL: From ae at op5.se Mon Jan 24 15:53:19 2005 From: ae at op5.se (Andreas Ericsson) Date: Mon, 24 Jan 2005 15:53:19 +0100 Subject: check_rta (aka check_icmp 0.9) Message-ID: <41F50BDF.90607@op5.se> Hello all. Sorry for cross-posting, and sorry for posting twice to nagiosplug-devel (just thought I'd bring it in in a fresh thread). After an almost complete rewrite of check_icmp, I'm looking for some testers of the check_rta plugin. check_rta is basically the work-name of the next check_icmp release, so if you're using check_icmp you might want to try this one instead. It would be particularly useful for me if you could get it to work on something other than GNU/Linux systems. You can find it at http://oss.op5.se/nagios which will be the only point of distribution until I'm satisfied enough with it to relinquish CVS control to the official developers, at which point it should take the place of the now-present check_icmp plugin. Feedback would be extremely welcome. Features in general (also found in check_icmp) ---------------------------------------------- It doesn't spawn an external process to read the output of another program (like check_ping and check_fping does) and should thus be more portable (at least easier to port), more lenient on CPU cycles and a bit faster. New features (not found in check_icmp) -------------------------------------- Faster DOWN determination. It can properly interpret icmp messages from other hosts (routers usually) and foresee when a host will be down definitely. Try strace ./check_rta 193.201.96.145 (which doesn't exist) to see what I mean. Faster UP determination. If a host responds promptly to a ping packet and has no packets on the wire, check_rta will pelt it with packets as fast as it can. Sending of pings won't be delayed as long as the host hasn't got any packets en route, but it will wait the packet interval (-i flag) before sending a new if any previous packet hasn't either come back or generated an icmp error somewhere along the route. Sourcequench backoff. Intervals are increased when routers/hosts advertise they are loosing packets due to high send ratio (currently hardcoded backoff factor, but I'll fix that later). check_host mode. ln -s check_rta check_host. check_host will ping all the resolved IP-addresses for the host (if fed a DNS name, or all given IP-addresses otherwise) and will return OK on any packet received what so ever, making it superfast for host checks. This overrides -w and -c. perfparse output for multiple hosts/addresses. Bug fixes --------- RTA precision is now more accurate. No u_sleep() calls are made, which would obfuscate rta values in check_icmp, causing them to be higher for a higher packet interval (since the program sometimes was in u_sleep() when packets came in). Code is cleaner and compiles without warnings with stricter rules on all GCC's from 2.95.3 through 3.4.3. It should never try to do anything that is forbidden on any system (like call select(2) with bad args) and tries hard to only use portable functions and system calls (no asprintf() or other gnu extensions here). Please download a copy and try it out. I need to know if it works properly on the OS'es supported by nagios plugins before I drop the old check_icmp in favor of this one and relinquish CVS control of it to the official plugin developers. Developers; The get_timevar() and get_timevaldiff() functions might be useful in utils.c, although they deal in micro-seconds. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kar at kakidata.dk Mon Jan 24 16:14:42 2005 From: kar at kakidata.dk (Kaare Rasmussen) Date: Mon, 24 Jan 2005 16:14:42 +0100 Subject: Double ssh Message-ID: <200501241614.42986.kar@kakidata.dk> Hi I wonder if what I try to do is not kosher. I try to check a disk in server B that I can only see through server A. If run on the command line as the nagios user, I get a disk size as expected. If run thwough Nagios I get: Could not open pipe: /usr/bin/ssh '/home/nagios/plugins/check_by_ssh -H -C "/home/nagios/plugins/check_disk -w 20% -c 10% -p "' ssh, check_by_ssh and check_disk are placed in the correct directories (of course, how would I get the correct result when running it manually otherwise...) -- Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582 Kaki Data tshirts, merchandize Fax: 3816 2501 Nordre Fasanvej 12 ?ben 12.00-18.00 Email: kar at kakidata.dk 2000 Frederiksberg L?rdag 12.00-16.00 Web: www.suse.dk ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bernd at firmix.at Mon Jan 24 16:20:48 2005 From: bernd at firmix.at (Bernd Petrovitsch) Date: Mon, 24 Jan 2005 16:20:48 +0100 Subject: Double ssh In-Reply-To: <200501241614.42986.kar@kakidata.dk> References: <200501241614.42986.kar@kakidata.dk> Message-ID: <1106580047.19192.8.camel@tara.firmix.at> On Mon, 2005-01-24 at 16:14 +0100, Kaare Rasmussen wrote: [...] > Could not open pipe: /usr/bin/ssh man ssh /pseudo-tty Bernd -- Firmix Software GmbH http://www.firmix.at/ mobil: +43 664 4416156 fax: +43 1 7890849-55 Embedded Linux Development and Services ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sudheer at tgs-solutions.com Mon Jan 24 18:37:41 2005 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Mon, 24 Jan 2005 12:37:41 -0500 Subject: Hostext info In-Reply-To: <41F400E7.1040005@op5.se> References: <41EEB80C.7030405@tgs-solutions.com> <41F02533.80501@tgs-solutions.com> <41F400E7.1040005@op5.se> Message-ID: <41F53265.2040209@tgs-solutions.com> Andreas Ericsson wrote: > Sudheer Muddappa wrote: > >> Guys, >> Can some one help me on this? >> > > What's the problem? > Problem is I dont see anything other than circles in statusmap > >> I have these parameters in my cgi.cfg file >> # DG EXTENDED DATA >> # Note: These config directives are only used if you compiled >> # in database support for extended data! >> # The user you specify here only needs SELECT privileges on the >> # 'hostextinfo' table in the database. >> >> xeddb_host=localhost >> xeddb_port=3306 >> xeddb_database=abc >> xeddb_username=abc >> xeddb_password=abc >> >> and >> >> xedteplate_config_file=/etc/nagios/hostextinfo.cfg >> > > Mind the spelling. > >> in hostexetinfo.cfg i have this entry. >> >> define hostextinfo{ >> host_name netmonitor >> notes_url none >> icon_image debian.png >> vrml_image debian.png >> gd2_icon_image debian.gd2 >> icon_image_alt Debian Server >> statusmap_image debian.gd2 >> 2d_coords 100,200 >> 3d_coords 100.0,50.0,75.0 >> } >> >> Is this right? Do i need to configure anything else? >> > > Read the docs. They explain everything in a very concise and polite > manner. > >> Other severvices of nagios are managed by mysql db. >> >> THanks, >> Sudheer >> >> >> Sudheer Muddappa wrote: >> >>> I have a tables for service and host ext info, and xeddb_host etc in >>> cgi.cfg file. >>> >>> Do i need to create the files for hostextinfo.cfg and >>> serviceextinfo.cfg files? or type in the values in cgi.cfg file it >>> self? >>> All other information is stored in DB. >>> >>> Thanks, >>> >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >> Tool for open source databases. Create drag-&-drop reports. Save time >> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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 >> > -- Sudheer Muddappa TCIS Ph 732-212-5045 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sudheer at tgs-solutions.com Mon Jan 24 18:49:45 2005 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Mon, 24 Jan 2005 12:49:45 -0500 Subject: Hostext info] ANYBODY?????? In-Reply-To: <4E3FFB397E161940867E0B56F0B640D72044CA@excbebr203.europe.unity> References: <4E3FFB397E161940867E0B56F0B640D72044CA@excbebr203.europe.unity> Message-ID: <41F53539.40007@tgs-solutions.com> Hi Roberto, This is what I have in my hostextinfo table. mysql> select * from hostextinfo; +------------+-------------------+------------+------------+----------------+----------------+------+------+----------+----------+---------+----------------+----------------+ | host_name | notes_url | icon_image | vrml_image | gd2_icon_image | icon_image_alt | x_2d | y_2d | x_3d | y_3d | z_3d | have_2d_coords | have_3d_coords | +------------+-------------------+------------+------------+----------------+----------------+------+------+----------+----------+---------+----------------+----------------+ | netmonitor | http://netmonitor | debian.png | debian.png | debian.gd2 | Debian | 100 | 200 | 100.0000 | 50.0000 | 75.0000 | 5 | 5 | | gw198 | none | debian.png | debian.png | debian.gd2 | Debian | 100 | 200 | 100.0000 | 50.0000 | 75.0000 | 5 | 5 | +------------+-------------------+------------+------------+----------------+----------------+------+------+----------+----------+---------+----------------+----------------+ Thanks, Sudheer Balestra, Roberto wrote: > Hi, > I have hostextinfo and serviceextinfo on mysql (3.23.58) on RH 7.3 > using Nagios 1.2 > In cgi.cfg I had comment hostextinfo and serviextinfo rows and I have > added host, post, db, user and password as you. > I have insert into table parametres that I want. > Nothing else. > If it doesn't work try to see your configuration of mysql, permission > or case character. Try to connect to your mysql with: > mysql -u abc -pabc -D abc > and then run command > select * from hostextinfo; > Please, give me a feedback. > Bye > Roberto > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Sudheer Muddappa > Sent: venerd? 21 gennaio 2005 23.16 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Hostext info] ANYBODY?????? > > Any of you guys using hostextinfo and serviceextinfo with mysql? > > Sudheer Muddappa wrote: > >> I have populated the hostextinfo table wit the data. Still its >> not working. >> >> >> Marc Powell wrote: >> >>> >>> >>>>-----Original Message----- >>>>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>>>admin at lists.sourceforge.net] On Behalf Of Sudheer Muddappa >>>>Sent: Friday, January 21, 2005 9:20 AM >>>>To: nagios-users at lists.sourceforge.net >>>>Subject: [Nagios-users] Hostext info] ANYBODY?????? >>>> >>>>Guys, >>>> >>>>Can some one help me on this? >>>> >>>>I have these parameters in my cgi.cfg file >>>># DG EXTENDED DATA >>>># Note: These config directives are only used if you compiled >>>># in database support for extended data! >>>># The user you specify here only needs SELECT privileges on the >>>># 'hostextinfo' table in the database. >>>> >>>>xeddb_host=localhost >>>>xeddb_port=3306 >>>>xeddb_database=abc >>>>xeddb_username=abc >>>>xeddb_password=abc >>>> >>>> >>> >>>If you've compiled Nagios with extended data in a database (as you >>>indicate above) then everything below is pointless. Nagios will look for >>>the extinfo definitions in the database, not hostextinfo.cfg. >>> >>>http://nagios.sourceforge.net/docs/1_0/xdata-db.html#config_extinfo >>> >>>You'll need to create the appropriate tables and populate them with your >>>extinfo data. >>> >>>-- >>>Marc >>> >>> >>>>and >>>> >>>>xedteplate_config_file=/etc/nagios/hostextinfo.cfg >>>> >>>>in hostexetinfo.cfg i have this entry. >>>> >>>>define hostextinfo{ >>>> host_name netmonitor >>>> notes_url none >>>> icon_image debian.png >>>> vrml_image debian.png >>>> gd2_icon_image debian.gd2 >>>> icon_image_alt Debian Server >>>> statusmap_image debian.gd2 >>>> 2d_coords 100,200 >>>> 3d_coords 100.0,50.0,75.0 >>>> } >>>> >>>>Is this right? Do i need to configure anything else? >>>> >>>>Other severvices of nagios are managed by mysql db. >>>> >>>> >>> >>> >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >>>Tool for open source databases. Create drag-&-drop reports. Save time >>>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>>Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at 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 >>> >>> >>> >>> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From EmmettH at Examen.com Mon Jan 24 19:00:02 2005 From: EmmettH at Examen.com (Emmett Hogan) Date: Mon, 24 Jan 2005 10:00:02 -0800 Subject: Double ssh In-Reply-To: <200501241614.42986.kar@kakidata.dk> References: <200501241614.42986.kar@kakidata.dk> Message-ID: <41F537A2.3000602@Examen.com> deep-ssh may be what you need.... Via NagiosExchange: http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1[p_view]=39 Project Home Page: http://dcs.nac.uci.edu/~strombrg/deep-ssh.html According to the Web Page: Basically, deep-ssh just constructs a bunch of ssh's that call other ssh's, until you're at your destination, at which point, a command is run. Hope this helps! -Emmett Kaare Rasmussen wrote: >Hi > >I wonder if what I try to do is not kosher. I try to check a disk in server B >that I can only see through server A. If run on the command line as the >nagios user, I get a disk size as expected. If run thwough Nagios I get: > >Could not open pipe: /usr/bin/ssh >'/home/nagios/plugins/check_by_ssh -H -C >"/home/nagios/plugins/check_disk -w 20% -c 10% -p "' > >ssh, check_by_ssh and check_disk are placed in the correct directories (of >course, how would I get the correct result when running it manually >otherwise...) > > > -- ================ Examen, Inc. ================ Emmett Hogan Senior UNIX Administrator emmetth at examen.com ==== Outside Counsel Management Solutions ==== CONFIDENTIAL - PRIVILEGED INFORMATION This e-mail may include confidential, trade secret or legally privileged information. If you are not the intended recipient, please do not read, copy, use, distribute or disclose this communication to anyone other than the intended recipient. Please notify the sender of any error in transmission or delivery and delete any misdirected e-mail from your system. -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 271 bytes Desc: not available URL: From andy at strugglers.net Mon Jan 24 19:14:17 2005 From: andy at strugglers.net (Andy Smith) Date: Mon, 24 Jan 2005 18:14:17 +0000 Subject: DNS plugin problem In-Reply-To: <20050123201402.GA71046@quark.cs.earlham.edu> References: <20050123201402.GA71046@quark.cs.earlham.edu> Message-ID: <20050124181417.GX82728@caffreys.strugglers.net> On Sun, Jan 23, 2005 at 03:14:02PM -0500, Skylar Thompson wrote: > I'm using the check_dns plugin to monitor our BIND DNS servers. Many times > a day, the plugin marks one BIND server as down with this error message: > > SERVICE ALERT: hopper;DNS;CRITICAL;HARD;3;DNS CRITICAL - '/usr/bin/nslookup > -sil' output parsing exited with no address > > It then comes back up about 10 minutes later: > > SERVICE ALERT: hopper;DNS;OK;HARD;3;DNS ok - 1 seconds response time, > Address(es) is/are 216.109.118.74 Does the problem go away if you modify your check to use check_dig instead? (nslookup is deprecated, although that probably isn't your problem let's stop using it anyway) BTW I am at the moment trying to write my first plugin which will use Net::DNS perl module to get the SOA of an rbldnsd-hosted zone, giving warning or critical based on how old the SOA timestamp is. Has anyone else written that before (google does not help)? If not, if anyone wants it when I've finished then drop me a mail.. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From rrogerio at grovenetworks.com Mon Jan 24 19:28:13 2005 From: rrogerio at grovenetworks.com (Rodrigo F. Rogerio) Date: Mon, 24 Jan 2005 13:28:13 -0500 Subject: NSCA Message-ID: <9E6E8272B29AA64E85B686AE241F9BB61F9449@SERV01.grovenetworks.com> Does anybody knows where can I find a good how to about Passive Checks ?! Thank you ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Mon Jan 24 19:34:34 2005 From: marc at ena.com (Marc Powell) Date: Mon, 24 Jan 2005 12:34:34 -0600 Subject: NSCA Message-ID: <349555FA607F3A4CBDA9326035D1A7FC83655C@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Rodrigo F. Rogerio > Sent: Monday, January 24, 2005 12:28 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NSCA > > Does anybody knows where can I find a good how to about Passive Checks > ?! http://nagios.sourceforge.net/docs/2_0/passivechecks.html and http://nagios.sourceforge.net/docs/2_0/distributed.html pretty much cover all the important bases. What more are you looking for? -- Marc p.s. The docs referenced above are for 2.x. If you're using 1.2 you should consult the doccos for that version of course. They'll be very similar though. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From strombrg at dcs.nac.uci.edu Mon Jan 24 20:15:34 2005 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Mon, 24 Jan 2005 11:15:34 -0800 Subject: Issuing check_disk under HP-UX In-Reply-To: References: Message-ID: <1106594134.18133.25.camel@localhost.localdomain> No direct experience on this, but one relatively simple solution might be to get a copy of GNU df for HPUX, and use that instead for the check_disk plugin. On Mon, 2005-01-24 at 09:33 -0300, Vidal, Ignacio - (Arg) wrote: > Hello: > I've got a problem trying to use check_disk under HP-UX. > > I get "unable to read output" when issuing this command: > > # /opt/nrpe/libexec/check_disk -w 8 -c 3 -p /archive/TESTCC -m > Unable to read output: > /usr/bin/df -Pk /archive/TESTCC > /dev/vg_bkp18/lvol1 > > I think that's because the command "df -Pk" shows results for a > particular filesystem in two lines. > > How can I solve this? > Is there a version of check_disk "adapted" to this behaviour under > hp-ux? > > Thanks in advance > > Ignacio > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From benoit.mortier at opensides.be Mon Jan 24 20:50:12 2005 From: benoit.mortier at opensides.be (Benoit Mortier) Date: Mon, 24 Jan 2005 20:50:12 +0100 Subject: Monitoring MySQL replication and rSync backups In-Reply-To: <1106576255.41f5037fc4d65@webmail.tufts.edu> References: <41F0EEF0.1030801@battrick.org> <20050121162245.GL22548@zippy.toger.us> <1106576255.41f5037fc4d65@webmail.tufts.edu> Message-ID: <200501242050.13419.benoit.mortier@opensides.be> Le Lundi 24 Janvier 2005 15:17, Sheeri Kritzer a ?crit?: > We have done that ourselves; see the attached for a plugin ready to go. > We've been using it for a few months now and it works swimmingly. hello, could you submit it to the new plugins tracker at the nagiosplug project in sourceforge. Thanks -- Benoit Mortier Linux Engineer www.opensides.be ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ignacio.vidal at telmex.com Mon Jan 24 21:18:16 2005 From: ignacio.vidal at telmex.com (Vidal, Ignacio - (Arg)) Date: Mon, 24 Jan 2005 17:18:16 -0300 Subject: Issuing check_disk under HP-UX Message-ID: Thanks Dan. I was using version 1.3* for the plugins, and this morning I began to use version 1.4* This version works fine. Besides this I'll try your suggestion. Regards Ignacio > -----Mensaje original----- > De: Dan Stromberg [mailto:strombrg at dcs.nac.uci.edu] > Enviado el: Lunes, 24 de Enero de 2005 16:16 > Para: Vidal, Ignacio - (Arg) > CC: strombrg at dcs.nac.uci.edu; nagios-users at lists.sourceforge.net > Asunto: Re: [Nagios-users] Issuing check_disk under HP-UX > > > > No direct experience on this, but one relatively simple solution might > be to get a copy of GNU df for HPUX, and use that instead for the > check_disk plugin. > > On Mon, 2005-01-24 at 09:33 -0300, Vidal, Ignacio - (Arg) wrote: > > Hello: > > I've got a problem trying to use check_disk under HP-UX. > > > > I get "unable to read output" when issuing this command: > > > > # /opt/nrpe/libexec/check_disk -w 8 -c 3 -p /archive/TESTCC -m > > Unable to read output: > > /usr/bin/df -Pk /archive/TESTCC > > /dev/vg_bkp18/lvol1 > > > > I think that's because the command "df -Pk" shows results for a > > particular filesystem in two lines. > > > > How can I solve this? > > Is there a version of check_disk "adapted" to this behaviour under > > hp-ux? > > > > Thanks in advance > > > > Ignacio > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IntelliVIEW -- > Interactive Reporting > > Tool for open source databases. Create drag-&-drop reports. > Save time > > by over 75%! Publish reports on the web. Export to DOC, > XLS, RTF, etc. > > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From chris.stankaitis at datawire.net Mon Jan 24 21:19:12 2005 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Mon, 24 Jan 2005 15:19:12 -0500 Subject: Environmental monitoring Message-ID: <41F55840.7040303@datawire.net> Can anyone recommend any good environment monitors that work well with Nagios. Pre-requisite is Temperature and water Sensor, the water sensor should have a nice long sensor cable, IP preferred, but serial is fine too.. I know for the longest time Nagios website has been advertising the TampTrax, now I see them advertising the EM01 HVAC Monitor. Does anyone have any recommendations for a good sensor that will work well with Nagios? even if there is no plugin for it if it has SUMP or something that I can write a plugin for that would be fine to. --Chris ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From chuck at blackforest-co.com Mon Jan 24 22:24:33 2005 From: chuck at blackforest-co.com (Chuck Lidderdale) Date: Mon, 24 Jan 2005 14:24:33 -0700 Subject: Getting Distributed Monitoring to work Message-ID: <41F56791.4040208@blackforest-co.com> I keep re-reading the Distributed Monitoring web page - and ok, I give, I'm stuck. In nagios.cfg ocsp_command=submit_check_result obsess_over_services=1 enable_notifications=0 (but I still get [1106590085] SERVICE NOTIFICATION: OnCall;cost1mx0;CkDf;CRITICAL; notify-by-email;60% /usr/users in ..var/nagios.log) In service.cfg "define service { ... check_command check_nrpe!check_DF } and it runs just fine checkcommands.cfg is a cut'n paste from the doc. submit_check_result shell is cut'n paste but it's still not doing anything. If I run it by hand I see data go to the central box. HELP!! Thanks ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From RNathan at baxglobal.com Mon Jan 24 22:55:48 2005 From: RNathan at baxglobal.com (Ranga Nathan) Date: Mon, 24 Jan 2005 13:55:48 -0800 Subject: VRML plug-in for Mozilla Firefox? Message-ID: For sometime I have been unsuccessful in finding a VRML plug-in for Mozilla and now Firefox. I like the 3-D status map but I have to switch to MSIE for that. Anyone been successful? ____________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From csmith at RadioFrameNetworks.com Mon Jan 24 23:01:29 2005 From: csmith at RadioFrameNetworks.com (Christopher Smith) Date: Mon, 24 Jan 2005 14:01:29 -0800 Subject: [Possible Spam] - VRML plug-in for Mozilla Firefox? Message-ID: <4EE8236B66247849BD4E1B5383AF4F4816C02D@exchwaus01.redmond.radioframenetworks.com> I too use Firefox and the VRML plugin that I utilize is the Cortona VRML client from Parallel Graphics (www.parallelgraphics.com). Works quite nicely. -=CS=- -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ranga Nathan Sent: Monday, January 24, 2005 1:56 PM To: nagios-users at lists.sourceforge.net Subject: [Possible Spam] - [Nagios-users] VRML plug-in for Mozilla Firefox? For sometime I have been unsuccessful in finding a VRML plug-in for Mozilla and now Firefox. I like the 3-D status map but I have to switch to MSIE for that. Anyone been successful? ____________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From djhobbs at ndasj.com Tue Jan 25 00:27:12 2005 From: djhobbs at ndasj.com (Dan Hobbs) Date: Mon, 24 Jan 2005 15:27:12 -0800 Subject: Cannot make nagios 2.01b Message-ID: <002901c5026c$3e4eead0$6702090a@svly.avizatechnology.com> When I try to make Nagios 2.01b I keep getting an error on a missing library. I am running on Solaris 2.9 with GCC. My config.log is This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:606: checking for a BSD compatible install configure:667: checking host system type configure:691: checking for gcc configure:804: checking whether the C compiler (gcc ) works configure:820: gcc -o conftest conftest.c 1>&5 configure:846: checking whether the C compiler (gcc ) is a cross-compiler configure:851: checking whether we are using GNU C configure:860: gcc -E conftest.c configure:879: checking whether gcc accepts -g configure:911: checking whether make sets ${MAKE} configure:940: checking for strip configure:975: checking how to run the C preprocessor configure:996: gcc -E conftest.c >/dev/null 2>conftest.out configure:1055: checking for ANSI C header files configure:1068: gcc -E conftest.c >/dev/null 2>conftest.out configure:1135: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1159: checking whether time.h and sys/time.h may both be included configure:1173: gcc -c -g -O2 conftest.c 1>&5 configure:1194: checking for sys/wait.h that is POSIX.1 compatible configure:1215: gcc -c -g -O2 conftest.c 1>&5 configure:1239: checking for arpa/inet.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for ctype.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for dirent.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for errno.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for fcntl.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for getopt.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1245:20: getopt.h: No such file or directory configure: failed program was: #line 1244 "configure" #include "confdefs.h" #include configure:1239: checking for grp.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for limits.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for math.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for netdb.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for netinet/in.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for pthread.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for pthreads.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1245:22: pthreads.h: No such file or directory configure: failed program was: #line 1244 "configure" #include "confdefs.h" #include configure:1239: checking for pwd.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for regex.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for signal.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for socket.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1245:20: socket.h: No such file or directory configure: failed program was: #line 1244 "configure" #include "confdefs.h" #include configure:1239: checking for strings.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for string.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for syslog.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for unistd.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for uio.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1245:17: uio.h: No such file or directory configure: failed program was: #line 1244 "configure" #include "confdefs.h" #include configure:1239: checking for sys/mman.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for sys/types.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for sys/time.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for sys/resource.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for sys/wait.h configure:1239: checking for sys/socket.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for sys/stat.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for sys/timeb.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for sys/un.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for sys/ipc.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for sys/msg.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1239: checking for sys/poll.h configure:1249: gcc -E conftest.c >/dev/null 2>conftest.out configure:1277: checking for working const configure:1331: gcc -c -g -O2 conftest.c 1>&5 configure:1352: checking whether struct tm is in sys/time.h or time.h configure:1365: gcc -c -g -O2 conftest.c 1>&5 configure:1386: checking for tm_zone in struct tm configure:1399: gcc -c -g -O2 conftest.c 1>&5 configure: In function `main': configure:1395: structure has no member named `tm_zone' configure: failed program was: #line 1391 "configure" #include "confdefs.h" #include #include int main() { struct tm tm; tm.tm_zone; ; return 0; } configure:1419: checking for tzname configure:1434: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1456: checking for mode_t configure:1489: checking for pid_t configure:1522: checking for size_t configure:1555: checking return type of signal handlers configure:1577: gcc -c -g -O2 conftest.c 1>&5 configure:1596: checking for uid_t in sys/types.h configure:1630: checking type of array argument to getgroups configure:1663: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1702: checking for main in -lnsl configure:1717: gcc -o conftest -g -O2 conftest.c -lnsl 1>&5 configure:1738: checking for socket in -lsocket configure:1757: gcc -o conftest -g -O2 conftest.c -lsocket 1>&5 configure:1781: checking for strdup configure:1809: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1781: checking for strstr configure:1809: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1793: warning: conflicting types for built-in function `strstr' configure:1781: checking for strtoul configure:1809: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1781: checking for initgroups configure:1809: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1835: checking for type of socket size configure:1847: gcc -c -g -O2 conftest.c 1>&5 configure:1871: checking for pthread_create in -lcma configure:1890: gcc -o conftest -g -O2 conftest.c -lcma 1>&5 ld: fatal: library -lcma: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 1879 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pthread_create(); int main() { pthread_create() ; return 0; } configure:1915: checking for pthread_create in -lpthread configure:1934: gcc -o conftest -g -O2 conftest.c -lpthread 1>&5 configure:2140: checking for library containing nanosleep configure:2158: gcc -o conftest -g -O2 conftest.c 1>&5 Undefined first referenced symbol in file nanosleep /var/tmp//cckdBDZ5.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 2147 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char nanosleep(); int main() { nanosleep() ; return 0; } configure:2180: gcc -o conftest -g -O2 conftest.c -lrt 1>&5 configure:2268: checking for mail configure:2482: checking for main in -liconv configure:2497: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -liconv -lrt 1>&5 ld: fatal: library -liconv: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 2490 "configure" #include "confdefs.h" int main() { main() ; return 0; } configure:2520: checking for gdImagePng in -lgd (order 1) configure:2539: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lgd -lz -lttf -lm -lpng -ljpeg -lrt 1>&5 ld: fatal: library -lttf: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 2528 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gdImagePng(); int main() { gdImagePng() ; return 0; } configure:2566: checking for gdImagePng in -lgd (order 2) configure:2585: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lgd -lz -lm -lpng -ljpeg -lrt 1>&5 configure:2887: checking for ltdl.h configure:2897: gcc -E conftest.c >/dev/null 2>conftest.out configure:2893:18: ltdl.h: No such file or directory configure: failed program was: #line 2892 "configure" #include "confdefs.h" #include configure:2969: checking for dlfcn.h configure:2979: gcc -E conftest.c >/dev/null 2>conftest.out configure:2997: checking for dlopen in -ldl configure:3016: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -ldl -lrt 1>&5 configure:3061: checking for extra flags needed to export symbols configure:3080: gcc -o conftest -g -O2 -Wl,-export-dynamic conftest.c -lrt 1>&5 ld: fatal: entry point symbol `xport-dynamic' is undefined collect2: ld returned 1 exit status configure: failed program was: #line 3073 "configure" #include "confdefs.h" int main() { ; return 0; } configure:3097: gcc -o conftest -g -O2 -Wl,-Bexport conftest.c -lrt 1>&5 ld: fatal: option -B has illegal argument `export' ld: fatal: Flags processing errors collect2: ld returned 1 exit status configure: failed program was: #line 3090 "configure" #include "confdefs.h" int main() { ; return 0; } configure:3118: checking for linker flags for loadable modules configure:3244: checking for traceroute configure:3289: checking for snprintf configure:3317: gcc -o conftest -g -O2 -L/usr/local/lib conftest.c -lrt 1>&5 configure:3343: checking for type va_list configure:3360: gcc -c -g -O2 conftest.c 1>&5 configure:3386: checking for perl The config.status is #! /bin/sh # Generated automatically by configure. # Run this file to recreate the current configuration. # This directory was configured as follows, # on host snort: # # ./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-command-user=nobody --with-command-group-nobody --with-gd-lib=/usr/local/lib --with-gd-include=/usr/local/include # # Compiler output produced by configure, useful for debugging # configure, is in ./config.log if it exists. ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]" for ac_option do case "$ac_option" in -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) echo "running ${CONFIG_SHELL-/bin/sh} ./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-command-user=nobody --with-command-group-nobody --with-gd-lib=/usr/local/lib --with-gd-include=/usr/local/include --no-create --no-recursion" exec ${CONFIG_SHELL-/bin/sh} ./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-command-user=nobody --with-command-group-nobody --with-gd-lib=/usr/local/lib --with-gd-include=/usr/local/include --no-create --no-recursion ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) echo "./config.status generated by autoconf version 2.13" exit 0 ;; -help | --help | --hel | --he | --h) echo "$ac_cs_usage"; exit 0 ;; *) echo "$ac_cs_usage"; exit 1 ;; esac done ac_given_srcdir=. ac_given_INSTALL="./install-sh -c" trap 'rm -fr Makefile subst pkginfo base/Makefile common/Makefile contrib/Makefile cgi/Makefile html/Makefile module/Makefile include/Makefile xdata/Makefile daemon-init html/index.html html/side.html include/config.h include/snprintf.h include/nagios.h include/cgiutils.h conftest*; exit 1' 1 2 15 # Protect against being on the right side of a sed subst in config.status. sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g; s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF /^[ ]*VPATH[ ]*=[^:]*$/d s%@SHELL@%/bin/sh%g s%@CFLAGS@%-g -O2%g s%@CPPFLAGS@%%g s%@CXXFLAGS@%%g s%@FFLAGS@%%g s%@DEFS@%-DHAVE_CONFIG_H%g s%@LDFLAGS@% -L/usr/local/lib%g s%@LIBS@%-lrt %g s%@exec_prefix@%${prefix}%g s%@prefix@%/usr/local/nagios%g s%@program_transform_name@%s,x,x,%g s%@bindir@%${exec_prefix}/bin%g s%@sbindir@%${exec_prefix}/sbin%g s%@libexecdir@%${exec_prefix}/libexec%g s%@datadir@%${prefix}/share%g s%@sysconfdir@%${prefix}/etc%g s%@sharedstatedir@%${prefix}/com%g s%@localstatedir@%${prefix}/var%g s%@libdir@%${exec_prefix}/lib%g s%@includedir@%${prefix}/include%g s%@oldincludedir@%/usr/include%g s%@infodir@%${prefix}/info%g s%@mandir@%${prefix}/man%g s%@INSTALL_PROGRAM@%${INSTALL}%g s%@INSTALL_SCRIPT@%${INSTALL_PROGRAM}%g s%@INSTALL_DATA@%${INSTALL} -m 644%g s%@INSTALL@%./install-sh -c%g s%@host@%sparc-sun-solaris2.9%g s%@host_alias@%sparc-sun-solaris2.9%g s%@host_cpu@%sparc%g s%@host_vendor@%sun%g s%@host_os@%solaris2.9%g s%@CC@%gcc%g s%@SET_MAKE@%%g s%@STRIP@%/usr/ccs/bin/strip%g s%@CPP@%gcc -E%g s%@SOCKETLIBS@% -lnsl -lsocket%g s%@THREADLIBS@% -lpthread%g s%@nagios_user@%nagios%g s%@nagios_grp@%nagios%g s%@INSTALL_OPTS@%-o nagios -g nagios%g s%@command_user@%nobody%g s%@command_grp@%nagios%g s%@COMMAND_OPTS@%-o nobody -g nagios%g s%@MAIL_PROG@%/usr/bin/mail%g s%@init_dir@%/etc/init.d%g s%@lockfile@%${prefix}/var/nagios.lock%g s%@XSDC@%xsddefault.c%g s%@XSDH@%xsddefault.h%g s%@XCDC@%xcddefault.c%g s%@XCDH@%xcddefault.h%g s%@XRDC@%xrddefault.c%g s%@XRDH@%xrddefault.h%g s%@XODC@%xodtemplate.c%g s%@XODH@%xodtemplate.h%g s%@XPDC@%xpddefault.c%g s%@XPDH@%xpddefault.h%g s%@XDDC@%xdddefault.c%g s%@XDDH@%xdddefault.h%g s%@htmurl@%/nagios%g s%@cgiurl@%/nagios/cgi-bin%g s%@BROKER_LDFLAGS@%%g s%@BROKERLIBS@% -ldl%g s%@MOD_CFLAGS@%%g s%@MOD_LDFLAGS@%-G%g s%@BROKER_O@%broker.o nebmods.o%g s%@BROKER_H@%../include/broker.h ../include/nebmods.h ../include/nebmodules.h ../include/nebcallbacks.h ../include/neberrors.h%g s%@nagios_name@%nagios%g s%@nagiostats_name@%nagiostats%g s%@PATH_TO_TRACEROUTE@%/usr/sbin/traceroute%g s%@PACKDIR@%/export/home/dhobbs/nagios-2.0b1/pkg%g s%@VERSION@%%g s%@SNPRINTF_O@%%g s%@CGIEXTRAS@% statuswrl.cgi statusmap.cgi trends.cgi histogram.cgi%g s%@GDLIBS@%-lgd -lz -lm -lpng -ljpeg%g s%@PERLLIBS@%%g s%@PERLDIR@%%g s%@PERLXSI_O@%%g s%@BASEEXTRALIBS@%%g s%@INITDIR@%%g s%@INSTALLPERLSTUFF@%no%g s%@PERL@%/usr/bin/perl%g CEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. ac_file=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_cmds # Line after last line for current file. ac_more_lines=: ac_sed_cmds="" while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file else sed "${ac_end}q" conftest.subs > conftest.s$ac_file fi if test ! -s conftest.s$ac_file; then ac_more_lines=false rm -f conftest.s$ac_file else if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f conftest.s$ac_file" else ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" fi ac_file=`expr $ac_file + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_cmds` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi CONFIG_FILES=${CONFIG_FILES-"Makefile subst pkginfo base/Makefile common/Makefile contrib/Makefile cgi/Makefile html/Makefile module/Makefile include/Makefile xdata/Makefile daemon-init html/index.html html/side.html"} for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; *) ac_file_in="${ac_file}.in" ;; esac # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. # Remove last slash and all that follows it. Not all systems have dirname. ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. test ! -d "$ac_dir" && mkdir "$ac_dir" ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" # A "../" for each directory in $ac_dir_suffix. ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` else ac_dir_suffix= ac_dots= fi case "$ac_given_srcdir" in .) srcdir=. if test -z "$ac_dots"; then top_srcdir=. else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; *) # Relative path. srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" top_srcdir="$ac_dots$ac_given_srcdir" ;; esac case "$ac_given_INSTALL" in [/$]*) INSTALL="$ac_given_INSTALL" ;; *) INSTALL="$ac_dots$ac_given_INSTALL" ;; esac echo creating "$ac_file" rm -f "$ac_file" configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." case "$ac_file" in *Makefile*) ac_comsub="1i\\ # $configure_input" ;; *) ac_comsub= ;; esac ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` sed -e "$ac_comsub s%@configure_input@%$configure_input%g s%@srcdir@%$srcdir%g s%@top_srcdir@%$top_srcdir%g s%@INSTALL@%$INSTALL%g " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file fi; done rm -f conftest.s* # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' ac_dC='\3' ac_dD='%g' # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='\([ ]\)%\1#\2define\3' ac_uC=' ' ac_uD='\4%g' # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_eB='$%\1#\2define\3' ac_eC=' ' ac_eD='%g' if test "${CONFIG_HEADERS+set}" != set; then CONFIG_HEADERS="include/config.h include/snprintf.h include/nagios.h include/cgiutils.h" fi for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case "$ac_file" in *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; *) ac_file_in="${ac_file}.in" ;; esac echo creating $ac_file rm -f conftest.frag conftest.in conftest.out ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` cat $ac_file_inputs > conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in cat > conftest.frag < conftest.out rm -f conftest.in mv conftest.out conftest.in rm -f conftest.frag conftest.h echo "/* $ac_file. Generated automatically by configure. */" > conftest.h cat conftest.in >> conftest.h rm -f conftest.in if cmp -s $ac_file conftest.h 2>/dev/null; then echo "$ac_file is unchanged" rm -f conftest.h else # Remove last slash and all that follows it. Not all systems have dirname. ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. test ! -d "$ac_dir" && mkdir "$ac_dir" fi rm -f $ac_file mv conftest.h $ac_file fi fi; done exit 0 I have had no issues in installing nagios 1.2. What am I missing? thank you Dan Hobbs -------------- next part -------------- An HTML attachment was scrubbed... URL: From RNathan at baxglobal.com Tue Jan 25 00:45:35 2005 From: RNathan at baxglobal.com (Ranga Nathan) Date: Mon, 24 Jan 2005 15:45:35 -0800 Subject: [Possible Spam] - VRML plug-in for Mozilla Firefox? In-Reply-To: <4EE8236B66247849BD4E1B5383AF4F4816C030@exchwaus01.redmond.radioframenetworks.com> References: <4EE8236B66247849BD4E1B5383AF4F4816C030@exchwaus01.redmond.radioframenetworks.com> Message-ID: Ah, thanks CS. However when I click the 3-D status map, I get the VRML output in MSIE. And the links on the diagram fail as they refer to a local url on my c: drive! __________________________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840 "Christopher Smith" 01/24/2005 02:03 PM To "Ranga Nathan" cc Subject RE: [Possible Spam] - [Nagios-users] VRML plug-in for Mozilla Firefox? I too use Firefox and the VRML plugin that I utilize is the Cortona VRML client from Parallel Graphics (www.parallelgraphics.com). Works quite nicely. -=CS=- -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ranga Nathan Sent: Monday, January 24, 2005 1:56 PM To: nagios-users at lists.sourceforge.net Subject: [Possible Spam] - [Nagios-users] VRML plug-in for Mozilla Firefox? For sometime I have been unsuccessful in finding a VRML plug-in for Mozilla and now Firefox. I like the 3-D status map but I have to switch to MSIE for that. Anyone been successful? ____________________________ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From e.vanmourik at wshd.nl Tue Jan 25 07:32:03 2005 From: e.vanmourik at wshd.nl (Elmar van Mourik) Date: Tue, 25 Jan 2005 07:32:03 +0100 Subject: Environmental monitoring Message-ID: <8DA75072BA437146A23E36D54D7059B4013821F8@WOLK.wshd.waterschap.adm> Hi Chris, I'm using two SensorProbe2 and one SensorProbe8 from AKCP with Nagios. I'm using it for temperature and humidity monitoring and on one location with a water sensor. It comes standard with a combined 1 foot temperature and humidity sensor. A lot of different sensors with different cable length can be combined with it. The SensorProbe has a build in web interface and is snmp enabled. Check http://www.akcpinc.com/ for the full details. I'm collecting the data with Nagios (with warnings) and the performance data is put into a rrd for graphing it with Cacti. In other words: Works Great! Elmar -----Oorspronkelijk bericht----- Van: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Namens Chris Stankaitis Verzonden: maandag 24 januari 2005 21:19 Aan: nagios-users at lists.sourceforge.net Onderwerp: [Nagios-users] Environmental monitoring Can anyone recommend any good environment monitors that work well with Nagios. Pre-requisite is Temperature and water Sensor, the water sensor should have a nice long sensor cable, IP preferred, but serial is fine too.. I know for the longest time Nagios website has been advertising the TampTrax, now I see them advertising the EM01 HVAC Monitor. Does anyone have any recommendations for a good sensor that will work well with Nagios? even if there is no plugin for it if it has SUMP or something that I can write a plugin for that would be fine to. --Chris ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 Per 1 januari 2005 is waterschap Hollandse Delta ontstaan uit het samengaan van de waterschappen De Brielse Dijkring, Goeree-Overflakkee, De Groote Waard en IJsselmonde en een deel van Zuiveringsschap Hollandse Eilanden en Waarden. Voor meer informatie: www.wshd.nl Waterschap Hollandse Delta besteedt grote zorg aan de afhandeling van e-mail. Het kan echter nooit garanderen dat door u of door ons verzonden berichten de geadresseerde(n) daadwerkelijk bereiken. Ook kan geen absolute garantie gegeven worden dat berichten niet door derden onderschept zijn. Waterschap Hollandse Delta accepteert dan ook geen enkele aansprakelijkheid met betrekking tot e-mailberichten of de inhoud daarvan. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From kar at kakidata.dk Tue Jan 25 09:06:14 2005 From: kar at kakidata.dk (Kaare Rasmussen) Date: Tue, 25 Jan 2005 09:06:14 +0100 Subject: Double ssh In-Reply-To: <41F537A2.3000602@Examen.com> References: <200501241614.42986.kar@kakidata.dk> <41F537A2.3000602@Examen.com> Message-ID: <200501250906.14709.kar@kakidata.dk> > deep-ssh may be what you need.... It does indeed seem so. I'll give it a try, thanks! ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Tue Jan 25 10:37:44 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Tue, 25 Jan 2005 10:37:44 +0100 Subject: Can someone have a look, please? Message-ID: <41F61368.90801@interface-business.de> Hi nagios users! I'm trying to do a overview ov nagios' core objects. The objects needed for nagios to run. I also want to show the relations between these "core" objects. So I did a nice(?) image (look at mail attachement). Did i miss something? Thanks for your attention and sorry for sending an image to the list. I would also contribute this image to the manual, if it's useful. Especcially nagios starters have their difficulties to see the connections between the objects. If you want to give some critics to the image, feel free. regards, Stephan -------------- next part -------------- A non-text attachment was scrubbed... Name: img4.jpg Type: image/jpeg Size: 12314 bytes Desc: not available URL: From ae at op5.se Tue Jan 25 10:42:27 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 25 Jan 2005 10:42:27 +0100 Subject: [Nagiosplug-devel] check_rta (aka check_icmp 0.9) In-Reply-To: <41F50BDF.90607@op5.se> References: <41F50BDF.90607@op5.se> Message-ID: <41F61483.1030202@op5.se> Andreas Ericsson wrote: > Hello all. > > Sorry for cross-posting, and sorry for posting twice to nagiosplug-devel Those who have been kind enough to try the check_rta/(new)check_icmp should have a look at https://devel.op5.se/oss (oss.op5.se is down due to isp problems, I will arrange for mirroring when it goes back up so both locations should work properly from now on), where you will find the latest version available. It should build properly on linux, *bsd and solaris now, although I have only tested linux. If anyone would be kind enough to allow me some build-space on a solaris server (or anywhere else where nagios builds and runs, really) it would speed up development tremendously and contribute in a very real way to the progress. I will send my public SSH keys on request, so as to save the insecurities of distributing passwords. Add the user 'exon' in that case, if you please. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dan.hopkins at uk.easynet.net Tue Jan 25 12:42:58 2005 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Tue, 25 Jan 2005 11:42:58 -0000 Subject: DNS plugin problem Message-ID: <13E80BCA327C4D43AC2EFCE6B06E5314049563@exch0-tmshm.uk.easynet.corp> > -----Original Message----- > From: Andy Smith [mailto:andy at strugglers.net] > Sent: 24 January 2005 18:14 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] DNS plugin problem > > > On Sun, Jan 23, 2005 at 03:14:02PM -0500, Skylar Thompson wrote: > > I'm using the check_dns plugin to monitor our BIND DNS > servers. Many times > > a day, the plugin marks one BIND server as down with this > error message: > > > > SERVICE ALERT: hopper;DNS;CRITICAL;HARD;3;DNS CRITICAL - > '/usr/bin/nslookup > > -sil' output parsing exited with no address > > > > It then comes back up about 10 minutes later: > > > > SERVICE ALERT: hopper;DNS;OK;HARD;3;DNS ok - 1 seconds > response time, > > Address(es) is/are 216.109.118.74 > > Does the problem go away if you modify your check to use check_dig > instead? > > (nslookup is deprecated, although that probably isn't your problem > let's stop using it anyway) I doubt it's Skylar's choice to use nslookup - the problem is that the standard Nagios DNS plugin is dreadful. It parses nslookup output, badly, and will either work, display parsing errors, or even more fun just plain segfault. (this is the 1.3 plugin version, I'd hope it's been corrected in 1.4, but I've not looked recently) Dan ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From andy at strugglers.net Tue Jan 25 13:04:17 2005 From: andy at strugglers.net (Andy Smith) Date: Tue, 25 Jan 2005 12:04:17 +0000 Subject: DNS plugin problem In-Reply-To: <13E80BCA327C4D43AC2EFCE6B06E5314049563@exch0-tmshm.uk.easynet.corp> References: <13E80BCA327C4D43AC2EFCE6B06E5314049563@exch0-tmshm.uk.easynet.corp> Message-ID: <20050125120417.GL82728@caffreys.strugglers.net> On Tue, Jan 25, 2005 at 11:42:58AM -0000, Dan Hopkins wrote: > > -----Original Message----- > > From: Andy Smith [mailto:andy at strugglers.net] > > Does the problem go away if you modify your check to use check_dig > > instead? > > > > (nslookup is deprecated, although that probably isn't your problem > > let's stop using it anyway) > > > > I doubt it's Skylar's choice to use nslookup - the problem is that the > standard Nagios DNS plugin is dreadful. It parses nslookup output, badly, > and will either work, display parsing errors, or even more fun just plain > segfault. Well that's why I suggested check_dig; it parses dig output and can do anything that check_dns does, can't it? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From Carsten.Schmitz at aegon.com Tue Jan 25 13:25:20 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Tue, 25 Jan 2005 13:25:20 +0100 Subject: Can someone have a look please? Message-ID: <49977F7CEA035C46A2D47108CE0F032F01418D@ANGELIA.aegon.com> Hi Stefan, Its probably just the weird way my brain is wired ;) but if I imagine for a second knowing nothing about Nagios (okay, I don't know much anyway ;) then I'd have my difficulties with the pic and would start digging for a textual representation. Some ideas maybe: - the arrows could have a text in the middle of them, pointing out what actually happens. And include file names. Like this: PLUGIN --- is defined in ---> COMMAND DEFINITION --- is used to check ---> SERVICE (checkcommands.cfg) - maybe it could also be beneficial to make graphically clear that hostgroups are containers for hosts? Like having a few boxes for hosts pointing to a common hostgroup. Host1 Host2 Host3 [...] | | | | --------------------------- | Hostgroup 1 | --------------------------- Or even use simplified real life names, i.e. like this: Oracle Sybase Postgresql [...] | | | | --------------------------------- | Hostgroup DATABASE BOXES | --------------------------------- Exactly the same goes for contacts / contactgroups I guess. - In any case, a textual explaination should be nearby, on the same page or such. Just my $0.02 (oder, meine zwei Eurocent :) Cheers, Carsten -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Stephan Janosch Sent: Tuesday, January 25, 2005 11:28 AM To: Nagios Users List Subject: [Nagios-users] Can someone have a look please? Hi nagios users! I'm trying to do a overview of nagios' core objects. The objects needed for nagios to run. I also want to show the relations between these "core" objects. So I did a nice(?) image. http://momocat.de/nagios/img4.jpg Did i miss something? Thanks for your attention. I would also contribute this image to the manual, if you find it's useful. Especcially nagios starters have their difficulties to see the connections between the objects. If you want to give some critics to the image, feel free. regards, Stephan PS: As the list does not like images, I resent this mail with an URL link inside. This is the resent mail. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From EmmettH at Examen.com Tue Jan 25 14:57:02 2005 From: EmmettH at Examen.com (Emmett Hogan) Date: Tue, 25 Jan 2005 05:57:02 -0800 Subject: Windows Client... Message-ID: <41F6502E.4080007@Examen.com> Hi Everyone! Well....I have all my Un*x boxen now monitored (along with my networked HP printers...my NT admins LOVE getting emails about "Low Toner"....NOT!) :-) So, it's ime to move on to the Windoze machines, however I am getting mixed signals. What is the common method for monitoring Windows machines? I have seen references to: nsclient, ns_net, ns_client (maybe the same as nsclient), nrpe_nt, snmp, etc. I know, like PERL, there are lots of "right ways" to do what I want (basic monitoring of the systems and processes/services), but I want to go with one that is the "norm". I have seen that there might be memory leakage problems with nsclient (plus it's not currently being maintained)...so what is everyone using now? Thanks, Emmett -- ================ Examen, Inc. ================ Emmett Hogan Senior UNIX Administrator emmetth at examen.com ==== Outside Counsel Management Solutions ==== CONFIDENTIAL - PRIVILEGED INFORMATION This e-mail may include confidential, trade secret or legally privileged information. If you are not the intended recipient, please do not read, copy, use, distribute or disclose this communication to anyone other than the intended recipient. Please notify the sender of any error in transmission or delivery and delete any misdirected e-mail from your system. -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 260 bytes Desc: not available URL: From sudheer at tgs-solutions.com Tue Jan 25 15:18:55 2005 From: sudheer at tgs-solutions.com (Sudheer Muddappa) Date: Tue, 25 Jan 2005 09:18:55 -0500 Subject: install with APT-GET ? In-Reply-To: References: Message-ID: <41F6554F.9000501@tgs-solutions.com> I have installed nagios with dselect. I preferred using dselect than manual As it picks up all needed dependencies. Matthijs Macar? wrote: >Has anyone installed Nagios under Debian with APT-GET ? Did you have to do >some special settings ? > >This because of V1.3 that's installed with it, is 2.0 manual a better option >? > >Thanks, > > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >Tool for open source databases. Create drag-&-drop reports. Save time >by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >Download a FREE copy at http://www.intelliview.com/go/osdn_nl >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From AHKAPLAN at PARTNERS.ORG Tue Jan 25 15:23:29 2005 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 25 Jan 2005 09:23:29 -0500 Subject: Resolving Host Names via DNS Message-ID: <9C63A4713C4E3342B90428CE44806A730D50D4@PHSXMB5.partners.org> Hi there -- The Nagios server is currently using the /etc/hosts file to resolve hostnames to their ip addresses. The request has been made by my supervisors to have it resolve hosts via DNS. The order can be either /etc/hosts -> DNS or DNS -> /etc/hosts. What is the procedure for having DNS name resolution thrown into the mix? Thanks. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From skylar at cs.earlham.edu Tue Jan 25 02:21:54 2005 From: skylar at cs.earlham.edu (Skylar Thompson) Date: Mon, 24 Jan 2005 20:21:54 -0500 Subject: DNS plugin problem In-Reply-To: <20050124181417.GX82728@caffreys.strugglers.net> References: <20050123201402.GA71046@quark.cs.earlham.edu> <20050124181417.GX82728@caffreys.strugglers.net> Message-ID: <20050125012154.GA59950@quark.cs.earlham.edu> On Mon, Jan 24, 2005 at 06:14:17PM +0000, Andy Smith wrote: > On Sun, Jan 23, 2005 at 03:14:02PM -0500, Skylar Thompson wrote: > > I'm using the check_dns plugin to monitor our BIND DNS servers. Many times > > a day, the plugin marks one BIND server as down with this error message: > > > > SERVICE ALERT: hopper;DNS;CRITICAL;HARD;3;DNS CRITICAL - '/usr/bin/nslookup > > -sil' output parsing exited with no address > > > > It then comes back up about 10 minutes later: > > > > SERVICE ALERT: hopper;DNS;OK;HARD;3;DNS ok - 1 seconds response time, > > Address(es) is/are 216.109.118.74 > > Does the problem go away if you modify your check to use check_dig > instead? Does check_dig use only the DNS servers listed on the Nagios server? The DNS server in question is used by a separate subnet, but we're responsible for monitoring their machines and services. -- -- Skylar Thompson (skylar at cs.earlham.edu) -- http://www.cs.earlham.edu/~skylar/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From dan.hopkins at uk.easynet.net Tue Jan 25 13:13:22 2005 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Tue, 25 Jan 2005 12:13:22 -0000 Subject: DNS plugin problem Message-ID: <13E80BCA327C4D43AC2EFCE6B06E5314049564@exch0-tmshm.uk.easynet.corp> > -----Original Message----- > From: Andy Smith [mailto:andy at strugglers.net] > Sent: 25 January 2005 12:04 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] DNS plugin problem > > > On Tue, Jan 25, 2005 at 11:42:58AM -0000, Dan Hopkins wrote: > > > -----Original Message----- > > > From: Andy Smith [mailto:andy at strugglers.net] > > > Does the problem go away if you modify your check to use check_dig > > > instead? > > > > > > (nslookup is deprecated, although that probably isn't your problem > > > let's stop using it anyway) > > > > > > > > I doubt it's Skylar's choice to use nslookup - the problem > is that the > > standard Nagios DNS plugin is dreadful. It parses nslookup > output, badly, > > and will either work, display parsing errors, or even more > fun just plain > > segfault. > > Well that's why I suggested check_dig; it parses dig output and can > do anything that check_dns does, can't it? Yep, you're quite right. In my hurry to cuss check_dns, I missed you're properly useful suggestion. Apologies, Dan ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jan 25 15:30:45 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 25 Jan 2005 15:30:45 +0100 Subject: Resolving Host Names via DNS In-Reply-To: <9C63A4713C4E3342B90428CE44806A730D50D4@PHSXMB5.partners.org> References: <9C63A4713C4E3342B90428CE44806A730D50D4@PHSXMB5.partners.org> Message-ID: <41F65815.1000802@op5.se> Kaplan, Andrew H. wrote: > Hi there -- > > The Nagios server is currently using the /etc/hosts file to resolve hostnames to > their ip addresses. The request has been made by my supervisors > to have it resolve hosts via DNS. The order can be either /etc/hosts -> DNS or > DNS -> /etc/hosts. What is the procedure for having DNS name > resolution thrown into the mix? None what so ever. The default setting for virtually any sane distribution is (in /etc/host.conf or equivalent); order hosts,bind multi on Meaning that /etc/hosts will take priority over DNS lookups (order hosts,bind - DNS lookups won't be done in case an entry is found in /etc/hosts), although DNS lookups will be made if none is found (multi on). In general, it's desirable to keep /etc/hosts to a minimum (usually only an entry for localhost), so as to keep hostname configuration centralised through the ISC tools available for it. If this is not the case for your system, you need to sit down and think of a reason to keep it any other way. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carsten.Schmitz at aegon.com Tue Jan 25 15:33:12 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Tue, 25 Jan 2005 15:33:12 +0100 Subject: Resolving Host Names via DNS Message-ID: <49977F7CEA035C46A2D47108CE0F032F014191@ANGELIA.aegon.com> http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host says: "You can use a FQDN to identify the host instead of an IP address, but if DNS services are not availble this could cause problems." Though I imagine its fun having many services set up with paging alerts this way, and then DNS goes down ;) Cheers, Carsten -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Kaplan, Andrew H. Sent: Tuesday, January 25, 2005 3:23 PM To: Nagios-Users (E-mail) Subject: [Nagios-users] Resolving Host Names via DNS Hi there -- The Nagios server is currently using the /etc/hosts file to resolve hostnames to their ip addresses. The request has been made by my supervisors to have it resolve hosts via DNS. The order can be either /etc/hosts -> DNS or DNS -> /etc/hosts. What is the procedure for having DNS name resolution thrown into the mix? Thanks. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ovig.degrouard at jouy.inra.fr Tue Jan 25 15:59:53 2005 From: ovig.degrouard at jouy.inra.fr (Ovig Degrouard) Date: Tue, 25 Jan 2005 15:59:53 +0100 Subject: check_load Message-ID: <41F65EE9.8040607@jouy.inra.fr> Hi, I don't know which option write after check_local_load. I think there are some elements missing! I have this message: UNKNOWN 01-25-2005 15:50:40 0d 0h 37m 48s 3/3 Warning threshold must be float or float triplet! in my cfg files: define service { use generic-service host_name localhost service_description LOAD is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups localhost-admins notification_interval 5 notification_period 24x7 notification_options w,u,c,r _check_command check_local_load_ } # 'check_local_load' command definition define command{ command_name check_local_load command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ } Thanks, O. Degrouard ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From tearl at cacdhh.org Tue Jan 25 16:31:32 2005 From: tearl at cacdhh.org (Thomas Earl) Date: Tue, 25 Jan 2005 10:31:32 -0500 Subject: Checking if the phone was answered... Message-ID: <20050125153137.AB124BA05@www.prhobbies.com> Greetings to all, I'm wondering if anyone has written something that would check if a phone was answered. i.e. Nagios dials out, waits for an answer then hangs up and reports back. I'm really looking for a way to make sure our phone system is answering the phone since it is non-ip. Thanks, Tom -- Thomas Earl Network Engineer & Designer Communications Access Center (CAC) 1631 Miller Road Flint, Michigan, 48503 248-705-7408 (cell) 810-239-3112 (office) "Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming...'Wow! What a ride!!'" --Jack Wilson ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dmaher at acetechnology.com Tue Jan 25 16:47:05 2005 From: dmaher at acetechnology.com (Daniel maher) Date: Tue, 25 Jan 2005 10:47:05 -0500 Subject: install with APT-GET ? Message-ID: I installed Nagios 1.3 using apt under Debian testing, which picked up all of the dependencies automatically (a real bonus). I then grabbed Nagios 2.0x from CVS, and installed it manually (which was easy, because all of the dependencies were fulfilled from the apt install). I then removed the 1.3 install (again, via apt), but chose to keep all of the dependencies. I use "debfoster" to manage which packages are kept and which are removed, and it really helped to keep things in order for this process. Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Matthijs Macar? [mailto:matthijs.macare at xs4all.nl] Sent: January 25, 2005 8:21 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] install with APT-GET ? Has anyone installed Nagios under Debian with APT-GET ? Did you have to do some special settings ? This because of V1.3 that's installed with it, is 2.0 manual a better option ? Thanks, ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 24/01/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 24/01/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.3 - Release Date: 24/01/2005 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matthijs.macare at xs4all.nl Tue Jan 25 14:21:04 2005 From: matthijs.macare at xs4all.nl (Matthijs Macaré) Date: Tue, 25 Jan 2005 14:21:04 +0100 Subject: install with APT-GET ? Message-ID: Has anyone installed Nagios under Debian with APT-GET ? Did you have to do some special settings ? This because of V1.3 that's installed with it, is 2.0 manual a better option ? Thanks, ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From lionel.verscheure at inria.fr Tue Jan 25 16:08:33 2005 From: lionel.verscheure at inria.fr (Lionel Verscheure) Date: Tue, 25 Jan 2005 16:08:33 +0100 Subject: check_load In-Reply-To: <41F65EE9.8040607@jouy.inra.fr> References: <41F65EE9.8040607@jouy.inra.fr> Message-ID: <41F660F1.9060001@inria.fr> Hi, You have to specify parameter to your check_local_load command in your services.cfg files. Something like this : /check_command check_local_load!5,10,50!10,15,55/ Have fun ! Ovig Degrouard wrote: > Hi, > I don't know which option write after check_local_load. I think there > are some elements missing! > I have this message: UNKNOWN 01-25-2005 15:50:40 0d 0h 37m 48s 3/3 > Warning threshold must be float or float triplet! > > in my cfg files: > > define service { > use generic-service > host_name localhost > service_description LOAD > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups localhost-admins > notification_interval 5 > notification_period 24x7 > notification_options w,u,c,r > _check_command check_local_load_ > } > > # 'check_local_load' command definition > define command{ > command_name check_local_load > command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ > } > > Thanks, > O. Degrouard > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 -- Lionel Verscheure INRIA Futurs - Orsay Service des Moyens Informatiques Email : lionel.verscheure at inria.fr T?l. : 0172925966 T?l. portable : 0618387435 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Richard.Luys at vanderlet.nl Tue Jan 25 17:46:08 2005 From: Richard.Luys at vanderlet.nl (Richard.Luys at vanderlet.nl) Date: Tue, 25 Jan 2005 17:46:08 +0100 Subject: Progress and MS-SQL monitoring Message-ID: Andreas (and all the others who replied with suggestions), Thanks for your answers, I'll look into it immediately! 'Some hacking required' is not so much of a problem, we're already glad we do not have to start from scratch and/or reinvent the wheel... Regards, VANDERLET B.V. R. (Richard) Luys Unix Systeemspecialist Zoomstede 1 Postbus 1038 3430 BA Nieuwegein Tel: 030-600 00 33 Fax: 030-600 00 13 E-mail: SupportDesk at vanderlet.nl Internet: http://www.vanderlet.nl This e-mail message and its attachments are subject to the disclaimer published at the following website of VANDERLET: http://www.vanderlet.nl/disclaimer Richard Luys wrote: We need to monitor Progress and MS-SQL databases on a short notice, but we could not find any check-scripts for this. Is anybody aware of scripts that check these databases? Is somebody working on them? Check in the contrib section. Manual hacking might be required. You will need the freetds libs and a bunch of perl modules or the tsql binary, but you should find at least two plugins that can check MSSQL (it shamelessly uses the tabular datastream protocol, so you will be able to check sybase servers with the same plugin). I've never heard of a Progress database server before. Sounds like ripoff of the well-known and much-loved Postgres if you ask me. check_pgsql is included in the standard plugin distribution. You need the postgres development files (headers) as well as the shared (or static) client libraries installed for the plugin distribution to find it. Please let me know if there is a solution already for this, or if we have to start from scratch. If the latter, I make sure the scripts become available for the community! Kind regards, Richard Luys ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Nagios-users mailing list Nagios-users at 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 -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Richard.Luys at vanderlet.nl Tue Jan 25 17:51:43 2005 From: Richard.Luys at vanderlet.nl (Richard.Luys at vanderlet.nl) Date: Tue, 25 Jan 2005 17:51:43 +0100 Subject: Progress and MS-SQL monitoring Message-ID: Andreas, > I've never heard of a Progress database server before. Sounds like ripoff of the well- > known and much-loved Postgres if you ask me. check_pgsql is included in the standard > plugin distribution. You need the postgres development files (headers) as well as the > shared (or static) client libraries installed for the plugin distribution to find it. Unfortunately, it's not a rip-off (made it a whole lot easier if it was!), see http://www.progress.com for more information (this was NOT meant as an advertisement, merely informative. We believe there are better commercial and non-commercial databases out there, but unfortunately we have a customer using this one...) Again thanks for all the suggestions on where to look! Richard ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Tue Jan 25 13:37:03 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Tue, 25 Jan 2005 13:37:03 +0100 Subject: Can someone have a look please? In-Reply-To: <49977F7CEA035C46A2D47108CE0F032F01418D@ANGELIA.aegon.com> References: <49977F7CEA035C46A2D47108CE0F032F01418D@ANGELIA.aegon.com> Message-ID: <41F63D6F.4060902@interface-business.de> Schmitz, Carsten wrote: > Hi Stefan, > > Its probably just the weird way my brain is wired ;) but if I imagine for a second knowing nothing about Nagios (okay, I don't know much anyway ;) then I'd have my difficulties with the pic and would start digging for a textual representation. > > Some ideas maybe: > > - the arrows could have a text in the middle of them, pointing out what actually happens. And include file names. Like this: > > PLUGIN --- is defined in ---> COMMAND DEFINITION --- is used to check ---> SERVICE > (checkcommands.cfg) > > - maybe it could also be beneficial to make graphically clear that hostgroups are containers for hosts? Like having a few boxes for hosts pointing to a common hostgroup. > > Host1 Host2 Host3 [...] > | | | | > --------------------------- > | Hostgroup 1 | > --------------------------- > > Or even use simplified real life names, i.e. like this: > > Oracle Sybase Postgresql [...] > | | | | > --------------------------------- > | Hostgroup DATABASE BOXES | > --------------------------------- > > Exactly the same goes for contacts / contactgroups I guess. > > - In any case, a textual explaination should be nearby, on the same page or such. > > Just my $0.02 (oder, meine zwei Eurocent :) > > Cheers, > Carsten > > This image is firstly made for an presentation. You are right, there must be some explanation. In case of the presentation, my oral explaination will clear it up. This image is more an additional helper. The image shows also another fact. You have quiet a lot of arrows. If you want to do a config software for nagios, you have to implement all these arrows. I think that amount of work prevents the existence of a full (open source) featured config solution. Danke d?r die Eurocent. *fg* Stephan ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Tue Jan 25 11:28:15 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Tue, 25 Jan 2005 11:28:15 +0100 Subject: Can someone have a look please? Message-ID: <41F61F3F.7090309@interface-business.de> Hi nagios users! I'm trying to do a overview of nagios' core objects. The objects needed for nagios to run. I also want to show the relations between these "core" objects. So I did a nice(?) image. http://momocat.de/nagios/img4.jpg Did i miss something? Thanks for your attention. I would also contribute this image to the manual, if you find it's useful. Especcially nagios starters have their difficulties to see the connections between the objects. If you want to give some critics to the image, feel free. regards, Stephan PS: As the list does not like images, I resent this mail with an URL link inside. This is the resent mail. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Jan 25 18:55:10 2005 From: marc at ena.com (Marc Powell) Date: Tue, 25 Jan 2005 11:55:10 -0600 Subject: redhat 6.2 Message-ID: <349555FA607F3A4CBDA9326035D1A7FC8365FF@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Bob Eckhardt > Sent: Tuesday, January 25, 2005 11:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] redhat 6.2 > > Has anyone got nagios plugins or the NRPE to compile in redhat 6.2? I haven't tried a recent version ('If it ain't broke...'), but yes -- [mpowell at gwlite01 mpowell]$ cat /etc/redhat-release Red Hat Linux release 6.2 (Zoot) [mpowell at gwlite01 mpowell]$ /usr/local/bin/nrpe -V NRPE - NetSaint Remote Plugin Executor Copyright (c) 1999-2001 Ethan Galstad (netsaint at netsaint.org) Version: 1.2.4 Last Modified: 02-22-2001 License: GPL Usage: /usr/local/bin/nrpe <-i | -d> Options: -i Run as a service under inetd -d Run as a standalone daemon without inetd Notes: This program is designed to process requests from the check_nrpe plugin on the host(s) running NetSaint. It can run as a service under inetd (read the docs for info on this), or as a standalone daemon if you wish. Once a request is received from an authorized host, NRPE will execute the command/plugin (as defined in the config file) and return the plugin output and return code to the check_nrpe plugin. Also nagios-plugins-1.3.1 were compiled on this box. No special actions were taken that I am aware of. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From bench at silentmedia.com Tue Jan 25 19:18:32 2005 From: bench at silentmedia.com (Ben) Date: Tue, 25 Jan 2005 10:18:32 -0800 (PST) Subject: host check scheduling Message-ID: I'm confused about smart host check scheduling with the most recent nagios 2 from CVS. My understanding from the docs is that host checks only happen if a service on the host returns a non-OK status. While this is working well for most of my hosts, there are a couple dozen which have non-OK services that have been checked within 5 minutes, and yet haven't had a host check since friday. Is my understanding of smart host check scheduling incorrect? ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From beckhardt at infonow.com Tue Jan 25 19:41:40 2005 From: beckhardt at infonow.com (Bob Eckhardt) Date: Tue, 25 Jan 2005 11:41:40 -0700 Subject: redhat 6.2 In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC8365FF@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC8365FF@mismail.ena.com> Message-ID: i got it working, i found info in the mail-list here that helped.... -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Tuesday, January 25, 2005 10:55 AM To: Bob Eckhardt; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] redhat 6.2 > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Bob Eckhardt > Sent: Tuesday, January 25, 2005 11:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] redhat 6.2 > > Has anyone got nagios plugins or the NRPE to compile in redhat 6.2? I haven't tried a recent version ('If it ain't broke...'), but yes -- [mpowell at gwlite01 mpowell]$ cat /etc/redhat-release Red Hat Linux release 6.2 (Zoot) [mpowell at gwlite01 mpowell]$ /usr/local/bin/nrpe -V NRPE - NetSaint Remote Plugin Executor Copyright (c) 1999-2001 Ethan Galstad (netsaint at netsaint.org) Version: 1.2.4 Last Modified: 02-22-2001 License: GPL Usage: /usr/local/bin/nrpe <-i | -d> Options: -i Run as a service under inetd -d Run as a standalone daemon without inetd Notes: This program is designed to process requests from the check_nrpe plugin on the host(s) running NetSaint. It can run as a service under inetd (read the docs for info on this), or as a standalone daemon if you wish. Once a request is received from an authorized host, NRPE will execute the command/plugin (as defined in the config file) and return the plugin output and return code to the check_nrpe plugin. Also nagios-plugins-1.3.1 were compiled on this box. No special actions were taken that I am aware of. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jan 25 11:36:45 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 25 Jan 2005 11:36:45 +0100 Subject: Can someone have a look please? In-Reply-To: <41F61F3F.7090309@interface-business.de> References: <41F61F3F.7090309@interface-business.de> Message-ID: <41F6213D.6020802@op5.se> Stephan Janosch wrote: > Hi nagios users! > > I'm trying to do a overview of nagios' core objects. The objects needed > for nagios to run. I also want to show the relations between these > "core" objects. So I did a nice(?) image. > > http://momocat.de/nagios/img4.jpg > > Did i miss something? > Yes. Hostgroups can have services, and hosts and contacts both use commands and timeperiods. > Thanks for your attention. I > would also contribute this image to the manual, if you find it's useful. > Especcially nagios starters have their difficulties to see the > connections between the objects. > > If you want to give some critics to the image, feel free. > > regards, Stephan > > PS: As the list does not like images, I resent this mail with an URL > link inside. This is the resent mail. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ae at op5.se Tue Jan 25 15:23:00 2005 From: ae at op5.se (Andreas Ericsson) Date: Tue, 25 Jan 2005 15:23:00 +0100 Subject: Windows Client... In-Reply-To: <41F6502E.4080007@Examen.com> References: <41F6502E.4080007@Examen.com> Message-ID: <41F65644.6070904@op5.se> Emmett Hogan wrote: > Hi Everyone! > > Well....I have all my Un*x boxen now monitored (along with my networked > HP printers...my NT admins LOVE getting emails about "Low > Toner"....NOT!) :-) So, it's ime to move on to the Windoze machines, > however I am getting mixed signals. What is the common method for > monitoring Windows machines? I have seen references to: nsclient, > ns_net, ns_client (maybe the same as nsclient), nrpe_nt, snmp, etc. I > know, like PERL, there are lots of "right ways" to do what I want (basic > monitoring of the systems and processes/services), but I want to go with > one that is the "norm". I have seen that there might be memory leakage > problems with nsclient (plus it's not currently being maintained)...so > what is everyone using now? > NSClient (with any spelling) has been the dominant nagios agent for windows for a long time. Since it's not being actively maintained anymore we've decided to start testing with NC_Net, which is supposed to act as a drop-in replacement for NSClient. So far so good. It seems to work beautifully (although it consumes slightly more memory than NSClient) on all NT5 based platforms. Support for NT4 is not so good though, since .NET framework is required and seldom installed on older platforms. So... we're using NSClient, but moving to NC_Net (mainly due to the fact that NC_Net is being maintained). Hopefully others will do the same, so more people can contribute to it. > Thanks, > Emmett > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Millard.Matt at principal.com Tue Jan 25 20:28:38 2005 From: Millard.Matt at principal.com (Millard, Matt) Date: Tue, 25 Jan 2005 13:28:38 -0600 Subject: Resolving Host Names via DNS Message-ID: <6201DF063335254BA0D6AA7053D101170A62A157@pfgdsmmbx006.principalusa.corp.principal.com> One thing that someone said they were doing at the LISA conference this year was setting up a local non-authoritative DNS copy that gets all updates, but is restricted to only be accessed by the local host. Seemed like an interesting idea at the time. Matt -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Schmitz, Carsten Sent: Tuesday, January 25, 2005 8:33 AM To: Kaplan, Andrew H.; Nagios-Users (E-mail) Subject: RE: [Nagios-users] Resolving Host Names via DNS http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host says: "You can use a FQDN to identify the host instead of an IP address, but if DNS services are not availble this could cause problems." Though I imagine its fun having many services set up with paging alerts this way, and then DNS goes down ;) Cheers, Carsten -----Message Disclaimer----- This e-mail message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by reply email to Connect at principal.com and delete or destroy all copies of the original message and attachments thereto. Email sent to or from the Principal Financial Group or any of its member companies may be retained as required by law or regulation. Nothing in this message is intended to constitute an Electronic signature for purposes of the Uniform Electronic Transactions Act (UETA) or the Electronic Signatures in Global and National Commerce Act ("E-Sign") unless a specific statement to the contrary is included in this message. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matthijs.macare at xs4all.nl Tue Jan 25 16:36:23 2005 From: matthijs.macare at xs4all.nl (Matthijs Macaré) Date: Tue, 25 Jan 2005 16:36:23 +0100 Subject: install with APT-GET ? References: <41F6554F.9000501@tgs-solutions.com> Message-ID: You've installed the V1.3 under debian ? Did you had to set some strange settings that you haven't seen in the manual ? "Sudheer Muddappa" schreef in bericht news:41F6554F.9000501 at tgs-solutions.com... I have installed nagios with dselect. I preferred using dselect than manual As it picks up all needed dependencies. Matthijs Macar? wrote: >Has anyone installed Nagios under Debian with APT-GET ? Did you have to do >some special settings ? > >This because of V1.3 that's installed with it, is 2.0 manual a better >option ? > >Thanks, > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >Tool for open source databases. Create drag-&-drop reports. Save time >by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >Download a FREE copy at http://www.intelliview.com/go/osdn_nl >_______________________________________________ >Nagios-users mailing list >Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From agrajag at dragaera.net Tue Jan 25 19:36:38 2005 From: agrajag at dragaera.net (Sean Dilda) Date: Tue, 25 Jan 2005 13:36:38 -0500 Subject: Can someone have a look please? In-Reply-To: <41F61F3F.7090309@interface-business.de> References: <41F61F3F.7090309@interface-business.de> Message-ID: <41F691B6.4080002@dragaera.net> Stephan Janosch wrote: > Hi nagios users! > > I'm trying to do a overview of nagios' core objects. The objects needed > for nagios to run. I also want to show the relations between these > "core" objects. So I did a nice(?) image. > > http://momocat.de/nagios/img4.jpg > > Did i miss something? > > Thanks for your attention. I > would also contribute this image to the manual, if you find it's useful. > Especcially nagios starters have their difficulties to see the > connections between the objects. > > If you want to give some critics to the image, feel free. Time periods are used in service, host, and contact definitions. You only have them connected to service definitions. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From stephan.janosch at interface-business.de Tue Jan 25 12:23:12 2005 From: stephan.janosch at interface-business.de (Stephan Janosch) Date: Tue, 25 Jan 2005 12:23:12 +0100 Subject: Can someone have a look please? In-Reply-To: <41F6213D.6020802@op5.se> References: <41F61F3F.7090309@interface-business.de> <41F6213D.6020802@op5.se> Message-ID: <41F62C20.8080701@interface-business.de> Andreas Ericsson wrote: > Stephan Janosch wrote: > >> Hi nagios users! >> >> I'm trying to do a overview of nagios' core objects. The objects needed >> for nagios to run. I also want to show the relations between these >> "core" objects. So I did a nice(?) image. >> >> http://momocat.de/nagios/img4.jpg >> >> Did i miss something? >> > > Yes. Hostgroups can have services, and hosts and contacts both use > commands and timeperiods. > [snip] I tried to show the absolute _minimum_. If I would to show all possebilities, I would need a A2-sheet of paper or so. *g* I relooked the manual: the entry "check_period" is red, but I defined no check_periods in my nagios 2.0b1 config. Nagios did not complain about that. So I guess, no check_periods are needed for hosts, or? If so, the entry "check_period" can be colored black instead of red. Notification periods are needed for hosts, I forgot *O_o* . And yes, contacts need time periods, indeed. Here an updated version: http://momocat.de/nagios/img4_2.jpg Thanks again for looking at it. Stephan ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carsten.Schmitz at aegon.com Tue Jan 25 15:37:33 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Tue, 25 Jan 2005 15:37:33 +0100 Subject: Resolving Host Names via DNS Message-ID: <49977F7CEA035C46A2D47108CE0F032F014192@ANGELIA.aegon.com> Oops thought you said etc/hosts.cfg but you said /etc/hosts. Hence, my reply is probably off-topic. Sorry. -----Original Message----- From: Schmitz, Carsten Sent: Tuesday, January 25, 2005 3:33 PM To: 'Kaplan, Andrew H.'; Nagios-Users (E-mail) Subject: RE: [Nagios-users] Resolving Host Names via DNS http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host says: "You can use a FQDN to identify the host instead of an IP address, but if DNS services are not availble this could cause problems." Though I imagine its fun having many services set up with paging alerts this way, and then DNS goes down ;) Cheers, Carsten -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Kaplan, Andrew H. Sent: Tuesday, January 25, 2005 3:23 PM To: Nagios-Users (E-mail) Subject: [Nagios-users] Resolving Host Names via DNS Hi there -- The Nagios server is currently using the /etc/hosts file to resolve hostnames to their ip addresses. The request has been made by my supervisors to have it resolve hosts via DNS. The order can be either /etc/hosts -> DNS or DNS -> /etc/hosts. What is the procedure for having DNS name resolution thrown into the mix? Thanks. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From miclaro at netred.cl Tue Jan 25 21:13:34 2005 From: miclaro at netred.cl (Ingo Claro) Date: Tue, 25 Jan 2005 17:13:34 -0300 Subject: not authorized, config seems ok. In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC836623@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC836623@mismail.ena.com> Message-ID: Marc: In all the pages appears "logged in as miclaro", except in the error page, there it appears "logged in as ?" Regards, Ingo -----Mensaje original----- De: Marc Powell [mailto:marc at ena.com] Enviado el: Martes, 25 de Enero de 2005 16:59 Para: Ingo Claro; nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] not authorized, config seems ok. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ingo Claro > Sent: Tuesday, January 25, 2005 1:18 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] not authorized, config seems ok. > > Hello All, > > I configured nagios following the excelent documentation provided, but i'm > stuck with issuing commands from the web interface. > For excample i can't "Acknowledge this service problem" I get a "not > authorized" error. > > these are my settings, apache runs as nobody. > > /etc/group: nagcmd:x:5250:nobody,nagios > > drwxrwsr-x 2 nagios nagcmd 4096 Jan 25 12:42 rw > > cgi.cfg: > use_authentication=1 > > authorized_for_system_information=miclaro > authorized_for_configuration_information=miclaro > authorized_for_system_commands=miclaro > authorized_for_all_services=miclaro > authorized_for_all_hosts=miclaro > authorized_for_all_service_commands=miclaro > authorized_for_all_host_commands=miclaro Does Nagios see you logged in as miclaro? In the upper left hand corner of any page you should see 'Logged in as miclaro'. If you do not, your .htaccess file in the sbin directory isn't working properly. If you only have the htaccess file in your share directory, while you'll be prompted to login, that information will not be available to the CGI's. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From EmmettH at Examen.com Tue Jan 25 21:29:04 2005 From: EmmettH at Examen.com (Emmett Hogan) Date: Tue, 25 Jan 2005 12:29:04 -0800 Subject: Windows Client... In-Reply-To: <41F65644.6070904@op5.se> References: <41F6502E.4080007@Examen.com> <41F65644.6070904@op5.se> Message-ID: <41F6AC10.40405@Examen.com> Andreas Ericsson wrote: > NSClient (with any spelling) has been the dominant nagios agent for > windows for a long time. Since it's not being actively maintained > anymore we've decided to start testing with NC_Net, which is supposed > to act as a drop-in replacement for NSClient. So far so good. It seems > to work beautifully (although it consumes slightly more memory than > NSClient) on all NT5 based platforms. Support for NT4 is not so good > though, since .NET framework is required and seldom installed on older > platforms. Thanks for the info. Since we have a number of NT4 servers, I guess we'll stick with nsclient. I am having a problem determining the status of services and processes where the name contains one or more spaces. I have tried all manner of quoting but to no avail. Any suggestions on how to find out the exact service name to use? (We are using what shows up in the services dialog box on the NT machine). :-( Thanks again! -Emmett -------------- next part -------------- A non-text attachment was scrubbed... Name: EmmettH.vcf Type: text/x-vcard Size: 260 bytes Desc: not available URL: From beckhardt at infonow.com Tue Jan 25 18:53:47 2005 From: beckhardt at infonow.com (Bob Eckhardt) Date: Tue, 25 Jan 2005 10:53:47 -0700 Subject: redhat 6.2 Message-ID: Has anyone got nagios plugins or the NRPE to compile in redhat 6.2? thx Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: From Roberto.Balestra at getronics.com Tue Jan 25 10:26:19 2005 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Tue, 25 Jan 2005 10:26:19 +0100 Subject: Hostext info] ANYBODY?????? Message-ID: <4E3FFB397E161940867E0B56F0B640D72044CF@excbebr203.europe.unity> Hi, your output seems right. The only difference with mine is notes_url I have relative path but I don't think it may be a problem icon_image I have a gif image vrml_image I have a jpg image Try to convert format image. If it doen't work please,may you describe me what exactly happen to you. Thanks, Roberto -----Original Message----- From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com] Sent: luned? 24 gennaio 2005 18.50 To: Balestra, Roberto Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Hostext info] ANYBODY?????? Hi Roberto, This is what I have in my hostextinfo table. mysql> select * from hostextinfo; +------------+-------------------+------------+------------+----------------+----------------+------+------+----------+---------+---------+----------------+----------------+ | host_name | notes_url | icon_image | vrml_image | gd2_icon_image | icon_image_alt | x_2d | y_2d | x_3d | y_3d | z_3d | have_2d_coords | have_3d_coords | +------------+-------------------+------------+------------+----------------+----------------+------+------+----------+---------+---------+----------------+----------------+ | netmonitor | http://netmonitor | debian.png | debian.png | debian.gd2 | Debian | 100 | 200 | 100.0000 | 50.0000 | 75.0000 | 5 | 5 | | gw198 | none | debian.png | debian.png | debian.gd2 | Debian | 100 | 200 | 100.0000 | 50.0000 | 75.0000 | 5 | 5 | +------------+-------------------+------------+------------+----------------+----------------+------+------+----------+---------+---------+----------------+----------------+ Thanks, Sudheer Balestra, Roberto wrote: Hi, I have hostextinfo and serviceextinfo on mysql (3.23.58) on RH 7.3 using Nagios 1.2 In cgi.cfg I had comment hostextinfo and serviextinfo rows and I have added host, post, db, user and password as you. I have insert into table parametres that I want. Nothing else. If it doesn't work try to see your configuration of mysql, permission or case character. Try to connect to your mysql with: mysql -u abc -pabc -D abc and then run command select * from hostextinfo; Please, give me a feedback. Bye Roberto -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [ mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Sudheer Muddappa Sent: venerd? 21 gennaio 2005 23.16 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Hostext info] ANYBODY?????? Any of you guys using hostextinfo and serviceextinfo with mysql? Sudheer Muddappa wrote: I have populated the hostextinfo table wit the data. Still its not working. Marc Powell wrote: -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [ mailto:nagios-users- admin at lists.sourceforge.net] On Behalf Of Sudheer Muddappa Sent: Friday, January 21, 2005 9:20 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Hostext info] ANYBODY?????? Guys, Can some one help me on this? I have these parameters in my cgi.cfg file # DG EXTENDED DATA # Note: These config directives are only used if you compiled # in database support for extended data! # The user you specify here only needs SELECT privileges on the # 'hostextinfo' table in the database. xeddb_host=localhost xeddb_port=3306 xeddb_database=abc xeddb_username=abc xeddb_password=abc If you've compiled Nagios with extended data in a database (as you indicate above) then everything below is pointless. Nagios will look for the extinfo definitions in the database, not hostextinfo.cfg. http://nagios.sourceforge.net/docs/1_0/xdata-db.html#config_extinfo You'll need to create the appropriate tables and populate them with your extinfo data. -- Marc and xedteplate_config_file=/etc/nagios/hostextinfo.cfg in hostexetinfo.cfg i have this entry. define hostextinfo{ host_name netmonitor notes_url none icon_image debian.png vrml_image debian.png gd2_icon_image debian.gd2 icon_image_alt Debian Server statusmap_image debian.gd2 2d_coords 100,200 3d_coords 100.0,50.0,75.0 } Is this right? Do i need to configure anything else? Other severvices of nagios are managed by mysql db. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Jan 25 22:00:35 2005 From: marc at ena.com (Marc Powell) Date: Tue, 25 Jan 2005 15:00:35 -0600 Subject: not authorized, config seems ok. Message-ID: <349555FA607F3A4CBDA9326035D1A7FC836635@mismail.ena.com> That change is very odd. I haven't seen that happen before but it indicates that your web server isn't setting the REMOTE_USER environment variable properly for this CGI. Is cmd.cgi in the same directory as the other cgi's? Have you tried it with a different browser? At what point exactly do you see the error, i.e. when you click on 'Acknowledge this service problem' or other command or when you try to submit the parameters for the selected command? Also, what version of Nagios are you using, OS, web server, etc... -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ingo Claro > Sent: Tuesday, January 25, 2005 2:14 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] not authorized, config seems ok. > > Marc: > > In all the pages appears "logged in as miclaro", except in the error page, > there it appears "logged in as ?" > > Regards, > Ingo > > > > -----Mensaje original----- > De: Marc Powell [mailto:marc at ena.com] > Enviado el: Martes, 25 de Enero de 2005 16:59 > Para: Ingo Claro; nagios-users at lists.sourceforge.net > Asunto: RE: [Nagios-users] not authorized, config seems ok. > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Ingo Claro > > Sent: Tuesday, January 25, 2005 1:18 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] not authorized, config seems ok. > > > > Hello All, > > > > I configured nagios following the excelent documentation provided, but > i'm > > stuck with issuing commands from the web interface. > > For excample i can't "Acknowledge this service problem" I get a "not > > authorized" error. > > > > these are my settings, apache runs as nobody. > > > > /etc/group: nagcmd:x:5250:nobody,nagios > > > > drwxrwsr-x 2 nagios nagcmd 4096 Jan 25 12:42 rw > > > > cgi.cfg: > > use_authentication=1 > > > > authorized_for_system_information=miclaro > > authorized_for_configuration_information=miclaro > > authorized_for_system_commands=miclaro > > authorized_for_all_services=miclaro > > authorized_for_all_hosts=miclaro > > authorized_for_all_service_commands=miclaro > > authorized_for_all_host_commands=miclaro > > Does Nagios see you logged in as miclaro? In the upper left hand corner > of any page you should see 'Logged in as miclaro'. If you do not, your > .htaccess file in the sbin directory isn't working properly. If you only > have the htaccess file in your share directory, while you'll be prompted > to login, that information will not be available to the CGI's. > > -- > Marc > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From marc at ena.com Tue Jan 25 20:59:02 2005 From: marc at ena.com (Marc Powell) Date: Tue, 25 Jan 2005 13:59:02 -0600 Subject: not authorized, config seems ok. Message-ID: <349555FA607F3A4CBDA9326035D1A7FC836623@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ingo Claro > Sent: Tuesday, January 25, 2005 1:18 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] not authorized, config seems ok. > > Hello All, > > I configured nagios following the excelent documentation provided, but i'm > stuck with issuing commands from the web interface. > For excample i can't "Acknowledge this service problem" I get a "not > authorized" error. > > these are my settings, apache runs as nobody. > > /etc/group: nagcmd:x:5250:nobody,nagios > > drwxrwsr-x 2 nagios nagcmd 4096 Jan 25 12:42 rw > > cgi.cfg: > use_authentication=1 > > authorized_for_system_information=miclaro > authorized_for_configuration_information=miclaro > authorized_for_system_commands=miclaro > authorized_for_all_services=miclaro > authorized_for_all_hosts=miclaro > authorized_for_all_service_commands=miclaro > authorized_for_all_host_commands=miclaro Does Nagios see you logged in as miclaro? In the upper left hand corner of any page you should see 'Logged in as miclaro'. If you do not, your .htaccess file in the sbin directory isn't working properly. If you only have the htaccess file in your share directory, while you'll be prompted to login, that information will not be available to the CGI's. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From matthijs.macare at xs4all.nl Tue Jan 25 22:14:30 2005 From: matthijs.macare at xs4all.nl (Matthijs Macaré) Date: Tue, 25 Jan 2005 22:14:30 +0100 Subject: not authorized, config seems ok. References: <349555FA607F3A4CBDA9326035D1A7FC836623@mismail.ena.com> Message-ID: On what OS are you running and how did you install it ? "Ingo Claro" schreef in bericht news:E1CtX4Q-0003wZ-Tm at sc8-sf-mx2.sourceforge.net... > Marc: > > In all the pages appears "logged in as miclaro", except in the error page, > there it appears "logged in as ?" > > Regards, > Ingo > > > > -----Mensaje original----- > De: Marc Powell [mailto:marc at ena.com] > Enviado el: Martes, 25 de Enero de 2005 16:59 > Para: Ingo Claro; nagios-users at lists.sourceforge.net > Asunto: RE: [Nagios-users] not authorized, config seems ok. > > > >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> admin at lists.sourceforge.net] On Behalf Of Ingo Claro >> Sent: Tuesday, January 25, 2005 1:18 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] not authorized, config seems ok. >> >> Hello All, >> >> I configured nagios following the excelent documentation provided, but > i'm >> stuck with issuing commands from the web interface. >> For excample i can't "Acknowledge this service problem" I get a "not >> authorized" error. >> >> these are my settings, apache runs as nobody. >> >> /etc/group: nagcmd:x:5250:nobody,nagios >> >> drwxrwsr-x 2 nagios nagcmd 4096 Jan 25 12:42 rw >> >> cgi.cfg: >> use_authentication=1 >> >> authorized_for_system_information=miclaro >> authorized_for_configuration_information=miclaro >> authorized_for_system_commands=miclaro >> authorized_for_all_services=miclaro >> authorized_for_all_hosts=miclaro >> authorized_for_all_service_commands=miclaro >> authorized_for_all_host_commands=miclaro > > Does Nagios see you logged in as miclaro? In the upper left hand corner > of any page you should see 'Logged in as miclaro'. If you do not, your > .htaccess file in the sbin directory isn't working properly. If you only > have the htaccess file in your share directory, while you'll be prompted > to login, that information will not be available to the CGI's. > > -- > Marc > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From mnagel at willingminds.com Tue Jan 25 22:03:51 2005 From: mnagel at willingminds.com (Mark D. Nagel) Date: Tue, 25 Jan 2005 13:03:51 -0800 Subject: Windows Client... In-Reply-To: <41F6AC10.40405@Examen.com> References: <41F6502E.4080007@Examen.com> <41F65644.6070904@op5.se> <41F6AC10.40405@Examen.com> Message-ID: <41F6B437.7080704@willingminds.com> Emmett Hogan wrote: > Thanks for the info. Since we have a number of NT4 servers, I guess > we'll stick with nsclient. I am having a problem determining the > status of services and processes where the name contains one or more > spaces. I have tried all manner of quoting but to no avail. Any > suggestions on how to find out the exact service name to use? (We are > using what shows up in the services dialog box on the NT machine). :-( One way is to ask NSClient itself: /usr/lib/nagios/plugins/check_nt -H -v SERVICESTATE -d SHOWALL -l ALL This will emit a comma-separate list of services with names you would use to check via NSClient. However, I've see that the above seems to no longer work in Windows 2003, so it is not necessarily a reliable method to try. May have to switch to NC_Net as Andreas mentioned earlier. You can also use Perl Win32 modules to get this list -- below is a script that enumerates all service names and their execution account names on all domain servers -- feel free to adapt to your needs :). Mark use strict; use Win32; use Win32::NetAdmin; use Win32::Service; use Win32::Lanman; my $domain = Win32::DomainName(); my $PDC; my @servers1; my @servers2; my @servers3; Win32::NetAdmin::GetDomainController("", $domain, $PDC) or die "Unable to obtain the PDC name for $domain.\n"; Win32::NetAdmin::GetServers($PDC, $domain, 0x00000008, \@servers1) or die "Unable to read NetBios 0008.\n"; Win32::NetAdmin::GetServers($PDC, $domain, 0x00000010, \@servers2) or die "Unable to read NetBios 0010.\n"; Win32::NetAdmin::GetServers($PDC, $domain, 0x00008000, \@servers3) or die "Unable to read NetBios 8000.\n"; my @servers = (@servers1, @servers2, @servers3); for my $server (@servers) { print "$server\n"; my %service = (); Win32::Service::GetServices($server, \%service); for my $service (values %service) { my %config = (); if (!Win32::Lanman::QueryServiceConfig("\\\\$server", '', $service, \%config)) { print "$service: error querying configuration: ", Win32::FormatMessage(Win32::Lanman::GetLastError()), "\n"; next; } print "$service: $config{account}\n"; } print "\n"; } -- Mark D. Nagel, CCIE #3177 Principal Consultant, Willing Minds LLC tel: 714-630-4772, fax: 714-630-4773, web: http://www.willingminds.com/ ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From eltato_murcia-nagios at yahoo.es Tue Jan 25 21:23:33 2005 From: eltato_murcia-nagios at yahoo.es (eltato_murcia-nagios at yahoo.es) Date: Tue, 25 Jan 2005 21:23:33 +0100 (CET) Subject: Equivalent to NSClient for nsca Message-ID: <20050125202334.93689.qmail@web60105.mail.yahoo.com> I am trying to configure a really large network with routers, firewalls, etc. To solve this problem I am planning to use nsca in order to able to receive passive checks at the nagios server. My problem is that I can't find any software to make the same function of NSClient: disk space left, mem usage, etc. I have googled for information about this but I have just found information how to monitorize linux systems using bash scripting and then calling the send_nsca. But nothing about windows boxes. The more approximate solution that I have found is NC_Net, but the support for send_nsca probably will be added in february. For this moment I have found the send_nsca for win32 but any program to feed it with information. Suggestions please. ______________________________________________ Renovamos el Correo Yahoo!: ?250 MB GRATIS! Nuevos servicios, m?s seguridad http://correo.yahoo.es ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From miclaro at netred.cl Tue Jan 25 20:17:31 2005 From: miclaro at netred.cl (Ingo Claro) Date: Tue, 25 Jan 2005 16:17:31 -0300 Subject: not authorized, config seems ok. Message-ID: Hello All, I configured nagios following the excelent documentation provided, but i'm stuck with issuing commands from the web interface. For excample i can't "Acknowledge this service problem" I get a "not authorized" error. these are my settings, apache runs as nobody. /etc/group: nagcmd:x:5250:nobody,nagios drwxrwsr-x 2 nagios nagcmd 4096 Jan 25 12:42 rw cgi.cfg: use_authentication=1 authorized_for_system_information=miclaro authorized_for_configuration_information=miclaro authorized_for_system_commands=miclaro authorized_for_all_services=miclaro authorized_for_all_hosts=miclaro authorized_for_all_service_commands=miclaro authorized_for_all_host_commands=miclaro I log in as miclaro the log files show no information. Please help. thanks. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From trevorwarren at gmail.com Wed Jan 26 05:14:47 2005 From: trevorwarren at gmail.com (Trevor Warren) Date: Wed, 26 Jan 2005 09:44:47 +0530 Subject: no info of service escalation ..SOS...SOS Message-ID: <559e3cb605012520143414b2e0@mail.gmail.com> Morning Fellas, The emails being escalated do not show any information in it. It only describes the host and the service posing the error. Please push across any hints on inserting these comments into the email. Ideally when the error condition was met i would like to o/p the whole INFO pulled across from the other host to email. Please, pass on any pointers that you think might help. Pointers to RTFM will help. Trevor @@@@@@@@@@@@@@@@@@@@@@@@@ nagios to me Show options 8:28am (1 hour ago) ***** Nagios ***** Notification Type: ACKNOWLEDGEMENT Service: DB2 Sort OverFlow Ratio Host: db2_node1 #4 Address: 172.16.16.1 State: WARNING Date/Time: Wed Jan 26 08:28:41 IST 2005 Additional Info: SSD / CCC 08:37 @@@@@@@@@@@@@@@@@@@@@@@@@ Trevor -- ___________________________________ ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \____________________________________/ _|_| ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From amontibello at gmail.com Wed Jan 26 07:36:02 2005 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 26 Jan 2005 01:36:02 -0500 Subject: Windows Client... In-Reply-To: <41F6AC10.40405@Examen.com> References: <41F6502E.4080007@Examen.com> <41F65644.6070904@op5.se> <41F6AC10.40405@Examen.com> Message-ID: The Problem (in my opinion) is with Ns_client. It uses the registry and other dll's to accomplish its work. There is no way to give it a name that has spaces because it is limited in how it handles these. >>>>From the NS_client readme file>>>>>>>> should be the real name of the service, not the displayed name. You can find this information when going to the registry for the corresponding service : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services or use the free utility: 'Service Manager NT' : http://www-rnks.informatik.tu-cottbus.de/~fsch/english/nttols.htm <<< wrote: > > Thanks for the info. Since we have a number of NT4 servers, I guess > we'll stick with nsclient. I am having a problem determining the status > of services and processes where the name contains one or more spaces. I > have tried all manner of quoting but to no avail. Any suggestions on > how to find out the exact service name to use? (We are using what shows > up in the services dialog box on the NT machine). :-( > > Thanks again! > > -Emmett > > > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jhmartin at toger.us Tue Jan 25 21:43:46 2005 From: jhmartin at toger.us (Jason Martin) Date: Tue, 25 Jan 2005 12:43:46 -0800 Subject: Windows Client... In-Reply-To: <41F6AC10.40405@Examen.com> References: <41F6502E.4080007@Examen.com> <41F65644.6070904@op5.se> <41F6AC10.40405@Examen.com> Message-ID: <20050125204346.GW22548@zippy.toger.us> On Tue, Jan 25, 2005 at 12:29:04PM -0800, Emmett Hogan wrote: > Thanks for the info. Since we have a number of NT4 servers, I guess > we'll stick with nsclient. I am having a problem determining the status Along these lines, has anyone written anything that checks that all services marked startup 'Automatic' are in Running state? Such a thing would greatly simplify configuration. Thanks, -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From lnaves at asc.edu Tue Jan 25 15:14:41 2005 From: lnaves at asc.edu (Larry Naves) Date: Tue, 25 Jan 2005 08:14:41 -0600 Subject: Hostext info] ANYBODY?????? In-Reply-To: <4E3FFB397E161940867E0B56F0B640D72044CF@excbebr203.europe.unity> References: <4E3FFB397E161940867E0B56F0B640D72044CF@excbebr203.europe.unity> Message-ID: <200501251414.j0PEEffq029668@mail.asc.edu> Make sure that you have debian.* in the correct path. "/usr/local/nagios/share/images/logos/debian.png" Look at your apache (etc.) error logs and make sure it doesn't tell you that it can't find the debian image. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Balestra, Roberto Sent: Tuesday, January 25, 2005 3:26 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Hostext info] ANYBODY?????? Hi, your output seems right. The only difference with mine is notes_url I have relative path but I don't think it may be a problem icon_image I have a gif image vrml_image I have a jpg image Try to convert format image. If it doen't work please,may you describe me what exactly happen to you. Thanks, Roberto -----Original Message----- From: Sudheer Muddappa [mailto:sudheer at tgs-solutions.com] Sent: luned? 24 gennaio 2005 18.50 To: Balestra, Roberto Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Hostext info] ANYBODY?????? Hi Roberto, This is what I have in my hostextinfo table. mysql> select * from hostextinfo; +------------+-------------------+------------+------------+---------------- +----------------+------+------+----------+---------+---------+------------- ---+----------------+ | host_name | notes_url | icon_image | vrml_image | gd2_icon_image | icon_image_alt | x_2d | y_2d | x_3d | y_3d | z_3d | have_2d_coords | have_3d_coords | +------------+-------------------+------------+------------+---------------- +----------------+------+------+----------+---------+---------+------------- ---+----------------+ | netmonitor | HYPERLINK "http://netmonitor"http://netmonitor | debian.png | debian.png | debian.gd2 | Debian | 100 | 200 | 100.0000 | 50.0000 | 75.0000 | 5 | 5 | | gw198 | none | debian.png | debian.png | debian.gd2 | Debian | 100 | 200 | 100.0000 | 50.0000 | 75.0000 | 5 | 5 | +------------+-------------------+------------+------------+---------------- +----------------+------+------+----------+---------+---------+------------- ---+----------------+ Thanks, Sudheer Balestra, Roberto wrote: Hi, I have hostextinfo and serviceextinfo on mysql (3.23.58) on RH 7.3 using Nagios 1.2 In cgi.cfg I had comment hostextinfo and serviextinfo rows and I have added host, post, db, user and password as you. I have insert into table parametres that I want. Nothing else. If it doesn't work try to see your configuration of mysql, permission or case character. Try to connect to your mysql with: mysql -u abc -pabc -D abc and then run command select * from hostextinfo; Please, give me a feedback. Bye Roberto -----Original Message----- From: HYPERLINK "mailto:nagios-users-admin at lists.sourceforge.net"nagios-users-admin at lists.so urceforge.net [HYPERLINK "mailto:nagios-users-admin at lists.sourceforge.net"mailto:nagios-users-admin at l ists.sourceforge.net]On Behalf Of Sudheer Muddappa Sent: venerd? 21 gennaio 2005 23.16 To: HYPERLINK "mailto:nagios-users at lists.sourceforge.net"nagios-users at lists.sourceforge.ne t Subject: Re: [Nagios-users] Hostext info] ANYBODY?????? Any of you guys using hostextinfo and serviceextinfo with mysql? Sudheer Muddappa wrote: I have populated the hostextinfo table wit the data. Still its not working. Marc Powell wrote: -----Original Message----- From: HYPERLINK "mailto:nagios-users-admin at lists.sourceforge.net"nagios-users-admin at lists.so urceforge.net [HYPERLINK "mailto:nagios-users"mailto:nagios-users- HYPERLINK "mailto:admin at lists.sourceforge.net"admin at lists.sourceforge.net] On Behalf Of Sudheer Muddappa Sent: Friday, January 21, 2005 9:20 AM To: HYPERLINK "mailto:nagios-users at lists.sourceforge.net"nagios-users at lists.sourceforge.ne t Subject: [Nagios-users] Hostext info] ANYBODY?????? Guys, Can some one help me on this? I have these parameters in my cgi.cfg file # DG EXTENDED DATA # Note: These config directives are only used if you compiled # in database support for extended data! # The user you specify here only needs SELECT privileges on the # 'hostextinfo' table in the database. xeddb_host=localhost xeddb_port=3306 xeddb_database=abc xeddb_username=abc xeddb_password=abc If you've compiled Nagios with extended data in a database (as you indicate above) then everything below is pointless. Nagios will look for the extinfo definitions in the database, not hostextinfo.cfg. HYPERLINK "http://nagios.sourceforge.net/docs/1_0/xdata-db.html#config_extinfo"http:// nagios.sourceforge.net/docs/1_0/xdata-db.html#config_extinfo You'll need to create the appropriate tables and populate them with your extinfo data. -- Marc and xedteplate_config_file=/etc/nagios/hostextinfo.cfg in hostexetinfo.cfg i have this entry. define hostextinfo{ host_name netmonitor notes_url none icon_image debian.png vrml_image debian.png gd2_icon_image debian.gd2 icon_image_alt Debian Server statusmap_image debian.gd2 2d_coords 100,200 3d_coords 100.0,50.0,75.0 } Is this right? Do i need to configure anything else? Other severvices of nagios are managed by mysql db. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at HYPERLINK "http://www.intelliview.com/go/osdn_nl"http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list HYPERLINK "mailto:Nagios-users at lists.sourceforge.net"Nagios-users at lists.sourceforge.ne t HYPERLINK "https://lists.sourceforge.net/lists/listinfo/nagios-users"https://lists.sou rceforge.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 Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.2 - Release Date: 1/21/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.2 - Release Date: 1/21/2005 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Carsten.Schmitz at aegon.com Wed Jan 26 09:37:38 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Wed, 26 Jan 2005 09:37:38 +0100 Subject: Windows Client... Message-ID: <49977F7CEA035C46A2D47108CE0F032F014193@ANGELIA.aegon.com> > how to find out the exact service name to use? (We are using what shows > up in the services dialog box on the NT machine). :-( "net start" without further parameters shows you all the exact names of (started) services. Its probably the same as in the service dialog box though. I have used those names in batch files and as parameters for tools by simple enclosing in double quotes. Cheers, Carsten -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Emmett Hogan Sent: Tuesday, January 25, 2005 9:29 PM To: Andreas Ericsson Cc: Nagios Users List Subject: Re: [Nagios-users] Windows Client... Andreas Ericsson wrote: > NSClient (with any spelling) has been the dominant nagios agent for > windows for a long time. Since it's not being actively maintained > anymore we've decided to start testing with NC_Net, which is supposed > to act as a drop-in replacement for NSClient. So far so good. It seems > to work beautifully (although it consumes slightly more memory than > NSClient) on all NT5 based platforms. Support for NT4 is not so good > though, since .NET framework is required and seldom installed on older > platforms. Thanks for the info. Since we have a number of NT4 servers, I guess we'll stick with nsclient. I am having a problem determining the status of services and processes where the name contains one or more spaces. I have tried all manner of quoting but to no avail. Any suggestions on how to find out the exact service name to use? (We are using what shows up in the services dialog box on the NT machine). :-( Thanks again! -Emmett ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From philc at foundation-it.com Wed Jan 26 11:05:03 2005 From: philc at foundation-it.com (Phil Costelloe) Date: Wed, 26 Jan 2005 10:05:03 -0000 Subject: Windows Client... Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE92A8FD2@netfinity-1.foundation-it.local> Emmett Hogan wrote: > Thanks for the info. Since we have a number of NT4 servers, I guess > we'll stick with nsclient. I am having a problem determining the > status of services and processes where the name contains one or more > spaces. I have tried all manner of quoting but to no avail. Any > suggestions on how to find out the exact service name to use? (We are > using what shows up in the services dialog box on the NT machine). :-( On W2K and later, the actual service name (the one without embedded spaces) is displayed in the services dialog box as "Service Name". On NT4, you have to find the actual name from the registry as described in another reply. This can sometimes be trickier than you might think since the registry key name is the service name so you have to know it in order to find it. :) Phil ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From dan.hopkins at uk.easynet.net Wed Jan 26 10:43:56 2005 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Wed, 26 Jan 2005 09:43:56 -0000 Subject: DNS plugin problem Message-ID: <13E80BCA327C4D43AC2EFCE6B06E531405678A@exch0-tmshm.uk.easynet.corp> > -----Original Message----- > From: Skylar Thompson [mailto:skylar at cs.earlham.edu] > Sent: 25 January 2005 01:22 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] DNS plugin problem > On Mon, Jan 24, 2005 at 06:14:17PM +0000, Andy Smith wrote: > > On Sun, Jan 23, 2005 at 03:14:02PM -0500, Skylar Thompson wrote: > > > I'm using the check_dns plugin to monitor our BIND DNS > servers. Many times > > > a day, the plugin marks one BIND server as down with this > error message: > > > > > > SERVICE ALERT: hopper;DNS;CRITICAL;HARD;3;DNS CRITICAL - > '/usr/bin/nslookup > > > -sil' output parsing exited with no address > > > > > > It then comes back up about 10 minutes later: > > > > > > SERVICE ALERT: hopper;DNS;OK;HARD;3;DNS ok - 1 seconds > response time, > > > Address(es) is/are 216.109.118.74 > > > > Does the problem go away if you modify your check to use check_dig > > instead? > > Does check_dig use only the DNS servers listed on the Nagios > server? The > DNS server in question is used by a separate subnet, but > we're responsible > for monitoring their machines and services. check_dig will use the server you identify with -H The default check_dns action uses the resolver(s) configured on the nagios host, unless you override it with --server= check_dns primary function is to verify a DNS entry, although it will verify a specific server (poorly), hence the slightly confusing parameters Dan ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From philc at foundation-it.com Wed Jan 26 11:15:02 2005 From: philc at foundation-it.com (Phil Costelloe) Date: Wed, 26 Jan 2005 10:15:02 -0000 Subject: Windows Client... Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE92A8FD3@netfinity-1.foundation-it.local> Jason Martin wrote: > Along these lines, has anyone written anything that checks that all > services marked startup 'Automatic' are in Running state? Such a > thing would greatly simplify configuration. I do that using an NRPE_NT plugin called chkwin_service_auto that came originally from the tsmgsoftware.com forum when that was alive. It is indeed a very useful thing to have. You can get what I presume is the same plugin from the Nagios Exchange NRPE plugins page - http://www.nagiosexchange.org/NRPE_Plugins.66.0.html - and maybe also from the current NRPE_NT home (http://www.miwi-dv.com/nrpent/) and forum (http://forum.miwi-dv.net/nagios/). I'm not aware of an easy way to do it using NSCLient Phil ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From squadra.breno at telemigcelular.com.br Wed Jan 26 13:28:41 2005 From: squadra.breno at telemigcelular.com.br (Breno Andrade Cotta) Date: Wed, 26 Jan 2005 09:28:41 -0300 Subject: Send SNMP trap to management host Message-ID: <8E3A4AB6889F924DB69AA6B5CC3BD0382CAEBEA7@ajuda.celular.com.br> Hello All, I read about that documentation that explain how to send trap to management host in Nagios FAQs, but I dont understand how to do this. Anyone help me or explain, or yet send a example for configuration that show me this. I need that my critical alarms be send to another management host. Regards, -- Breno Andrade Cotta - adm. redes engenharia Rede de presta??o de servi?os e transmiss?o GPRS TC/AC Telemig Celular SA - Fone: +55 (31) 9977-2841 -------------- next part -------------- An HTML attachment was scrubbed... URL: From trevorwarren at gmail.com Wed Jan 26 13:06:26 2005 From: trevorwarren at gmail.com (Trevor Warren) Date: Wed, 26 Jan 2005 17:36:26 +0530 Subject: need to pass info in email Message-ID: <559e3cb60501260406655b9c9c@mail.gmail.com> Hey there guys, I need to pass along the entire peice of data that the nagios process gets via the nrpe plugins from the remote host when an error occurs. Only emails are going out without any informaition in them. Can someon please send me the "send-notify-email" command for the same. Thanks in advance and hoping for a reply. Trevor -- ___________________________________ ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \____________________________________/ _|_| ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From miclaro at netred.cl Wed Jan 26 13:14:48 2005 From: miclaro at netred.cl (Ingo Claro) Date: Wed, 26 Jan 2005 09:14:48 -0300 Subject: not authorized, config seems ok. Message-ID: In Linux, compiled from scratch following the manual instructions. But I "solved" the problem. I had the following .htaccess: AuthUserFile /path to passwords AuthGroupFile /dev/null AuthName Nagios AuthType Basic require user aaaaa require user bbbbbb require user miclaro So I could use the same passwords I already have. If I change it to the recommended .htaccess: AuthUserFile /path to passwords AuthName Nagios AuthType Basic require valid-user it works!. But now everybody has access to nagios, To limit it to a few logins I have to make another passwords file? Regards Ingo To: nagios-users at lists.sourceforge.net From: "Matthijs Macar?" Date: Tue, 25 Jan 2005 22:14:30 +0100 Reply-To: "Matthijs Macar?" Subject: [Nagios-users] Re: not authorized, config seems ok. On what OS are you running and how did you install it ? "Ingo Claro" schreef in bericht news:E1CtX4Q-0003wZ-Tm at sc8-sf-mx2.sourceforge.net... > Marc: > > In all the pages appears "logged in as miclaro", except in the error page, > there it appears "logged in as ?" > > Regards, > Ingo > > > > -----Mensaje original----- > De: Marc Powell [mailto:marc at ena.com] > Enviado el: Martes, 25 de Enero de 2005 16:59 > Para: Ingo Claro; nagios-users at lists.sourceforge.net > Asunto: RE: [Nagios-users] not authorized, config seems ok. > > > >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> admin at lists.sourceforge.net] On Behalf Of Ingo Claro >> Sent: Tuesday, January 25, 2005 1:18 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] not authorized, config seems ok. >> >> Hello All, >> >> I configured nagios following the excelent documentation provided, but > i'm >> stuck with issuing commands from the web interface. >> For excample i can't "Acknowledge this service problem" I get a "not >> authorized" error. >> >> these are my settings, apache runs as nobody. >> >> /etc/group: nagcmd:x:5250:nobody,nagios >> >> drwxrwsr-x 2 nagios nagcmd 4096 Jan 25 12:42 rw >> >> cgi.cfg: >> use_authentication=1 >> >> authorized_for_system_information=miclaro >> authorized_for_configuration_information=miclaro >> authorized_for_system_commands=miclaro >> authorized_for_all_services=miclaro >> authorized_for_all_hosts=miclaro >> authorized_for_all_service_commands=miclaro >> authorized_for_all_host_commands=miclaro > > Does Nagios see you logged in as miclaro? In the upper left hand corner > of any page you should see 'Logged in as miclaro'. If you do not, your > .htaccess file in the sbin directory isn't working properly. If you only > have the htaccess file in your share directory, while you'll be prompted > to login, that information will not be available to the CGI's. > > -- > Marc > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carsten.Schmitz at aegon.com Wed Jan 26 14:25:02 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Wed, 26 Jan 2005 14:25:02 +0100 Subject: check_snmp to monitor isdn if on cisco? Message-ID: <49977F7CEA035C46A2D47108CE0F032F014197@ANGELIA.aegon.com> Hi, Is anyone using Nagios to monitor the ISDN / SDSL ports on a Cisco 2600 or 828, respectively? The network folks told me I should be able to send queries with snmp. Did that before (I monitor Windows boxes with snmp which works fine). But I can't get data from the device and I think maybe I have the wrong "oid". I'm not an expert on snmp, I pieced together OIDs from ftp://ftp.cisco.com/pub/mibs/oid/CISCO-ISDN-MIB.oid and http://carsten.familie-doh.de/mibtree/cisco-isdn.html and end up with something like this: /usr/local/nagios/libexec/check_snmp -H ip_address -C community_string -o ".1.3.6.1.4.9.9.26.1.1.1.16" SNMP problem - No data recieved from host CMD: /usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c aegongs 212.29.172.2:161 .1.3.6.1.4.9.9.26.1.1.1.16 Anyone done this before and could confirm, or supply me with a valid OID? Thanks! Carsten ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From martin.mielke at thales-is.com Wed Jan 26 14:54:04 2005 From: martin.mielke at thales-is.com (Martin Mielke) Date: Wed, 26 Jan 2005 14:54:04 +0100 (CET) Subject: CHECK_NRPE: Error - Could not complete SSL handshake. Message-ID: <15143.194.69.224.7.1106747644.squirrel@194.69.224.7> Hello all, before posting to the list I've been searching on the archives but couldn't find my answers... let me waste some bandwidth :-) I have some IA64-based systems running HP-UX 11.23 which need to be monitored from a remote Nagios box. A check-host-alive works perfectly but problems arise when trying to use check_nrpe... Two different scenarios: a) NRPE being launched from the inetd: nrpe stream tcp nowait nagios /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i This produces the well-known error message "Could not complete SSL handshake." on the server side b) NRPE being launched as daemon: /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d This produces errors like "Could not read request from client, bailing out..." on the client side. Because these systems are IA64 the patch described under http://www.nagios.org/faqs/viewfaq.php?faq_id=191&expand=false&showdesc=false is not applicable. I was told by the HP Support that the /dev/*random issue has been fixed on patch 30286 and integrated on HP-UX from its version 11.20. The other 5 points described in the FAQ have been checked as well. So, has anyone stumbled with this problem on Itanium architectures under HP-UX 11.23 before and has found a solution for NRPE to work?? TIA and regards, Martin -- Martin Mielke - Senior UNIX SysAdmin - martin.mielke at thales-is.com THALES Information Systems - http://www.thales-is.com/ Tel.: (+34) 91 556 92 62 - Fax: (+34) 91 556 42 40 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Carsten.Schmitz at aegon.com Wed Jan 26 16:20:35 2005 From: Carsten.Schmitz at aegon.com (Schmitz, Carsten) Date: Wed, 26 Jan 2005 16:20:35 +0100 Subject: check_snmp to monitor isdn if on cisco? Message-ID: <49977F7CEA035C46A2D47108CE0F032F014198@ANGELIA.aegon.com> Hi, Many thanks for the reply. > What do you want to monitor for the isdn connections? I'd like to be able to fetch the status (up or down) of each of the eight ISDN lines from the 2600, and the status of the one DSL line from the 828. Eventually, I'd like to set up nine seperate Nagios service checks, one for each line, which reports "up" or "down". Thanks, Carsten -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Wednesday, January 26, 2005 4:05 PM To: Schmitz, Carsten Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_snmp to monitor isdn if on cisco? On Wed, 26 Jan 2005, Schmitz, Carsten wrote: > > Hi, > > Is anyone using Nagios to monitor the ISDN / SDSL ports on a Cisco 2600 or 828, respectively? > > The network folks told me I should be able to send queries with snmp. Did that before (I monitor Windows boxes with snmp which works fine). But I can't get data from the device and I think maybe I have the wrong "oid". > > I'm not an expert on snmp, I pieced together OIDs from > > ftp://ftp.cisco.com/pub/mibs/oid/CISCO-ISDN-MIB.oid and > http://carsten.familie-doh.de/mibtree/cisco-isdn.html > > and end up with something like this: > > /usr/local/nagios/libexec/check_snmp -H ip_address -C community_string -o ".1.3.6.1.4.9.9.26.1.1.1.16" > SNMP problem - No data recieved from host > CMD: /usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c aegongs 212.29.172.2:161 .1.3.6.1.4.9.9.26.1.1.1.16 > > Anyone done this before and could confirm, or supply me with a valid OID? I haven't done anything with this particular MIB - but your OID is incomplete for check_snmp. the base oid should be .1.3.6.1.4.9.9.26.1.1.1.1.16 (note four 1s between 26 and 16) To the base oid you need to append the table index values namely: 1. demandNbrPhysIf (the ifIndex value of the D channel for the neighbor) 2. demandNbrId (a table sequence number) Also the base oid above - is for RowStatus and does not tell you anything about the line being up/down . The NeighborTable only stores call information. for the object descriptions... ftp://ftp.cisco.com/pub/mibs/v2/CISCO-ISDN-MIB.my What do you want to monitor for the isdn connections? -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From Chuck at BlackForest-Co.com Wed Jan 26 19:56:25 2005 From: Chuck at BlackForest-Co.com (Chuck at BlackForest-Co.com) Date: Wed, 26 Jan 2005 11:56:25 -0700 (MST) Subject: Dist. Monitoring - need help Message-ID: <32975.166.34.160.148.1106765785.squirrel@www.blackforest-co.com> I've set every thing up, the script works(via command line), but after the service runs it doesn't call the submit script. Notifications = 0 Obsess = 1 ocsp_command=submit_check_result Am I missing something in the service.cfg file? Tks ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From jason.payne at iland.com Wed Jan 26 18:01:01 2005 From: jason.payne at iland.com (Jason Payne - iland Internet Solutions) Date: Wed, 26 Jan 2005 11:01:01 -0600 Subject: Debian + libpng + libgd +statusmap.cgi == :-( Message-ID: <7A626FF425518246801C933014AA98F00C2B59@hou-ex01.ihtx.iland.com> I cannot get the statusmap to work for the life of me. The image doesnn't show up but I can hover my mouse over it and the box will come up for the appropriate device. I've searched the mailing list and google and have not been able to simply get it working. It's a cut and dry Debian installation that is dedicated to nagios only, and has only the necessary dependencies installed. Do I need to download and install some dependencies manually? This is driving me nuts. I hope someone can help. I have done a: apt-get install libgd2 apt-get install libgd2-dev apt-get install libjpeg62 apt-get install libjpeg62-dev apt-get install libpng Here starts the pasting: nagios:~/nagios-1.2# ldconfig -p | grep libgd libgd.so.2 (libc6) => /usr/lib/libgd.so.2 nagios:~/nagios-1.2# ldconfig -p | grep libpng libpng.so.2 (libc6) => /usr/lib/libpng.so.2 nagios:~/nagios-1.2# ldconfig -p | grep libjp libjpeg.so.62 (libc6) => /usr/lib/libjpeg.so.62 I have the following files in /usr/lib: libgd.a libgd.so libgd.so.2 libgd.so.2.0.1 libpng.a libpng.so libpng.so.2 libpng.so.2.1.0.12 libjpeg.a libjpeg.la libjpeg.so libjpeg.so.62 libjpeg.so.62.0.0 nagios:~/nagios-1.2# rm config.cache nagios:~/nagios-1.2# configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include checking for gdImagePng in -lgd (order 1)... yes GD library was found! nagios.iland.com-error.log: [Wed Jan 26 10:52:10 2005] [error] [client 198.78.170.1] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi Jason Payne Network Operations jason.payne at iland.com voice: 1.800.697.7088 fax: 713.868.2268 http://www.iland.com/ iLand Internet Solutions Corporation __________________________________________________ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Jan 26 19:26:21 2005 From: marc at ena.com (Marc Powell) Date: Wed, 26 Jan 2005 12:26:21 -0600 Subject: Dist. Monitoring - need help Message-ID: <349555FA607F3A4CBDA9326035D1A7FC8366B1@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Chuck at BlackForest-Co.com > Sent: Wednesday, January 26, 2005 12:56 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Dist. Monitoring - need help > > I've set every thing up, the script works(via command line), but after the > service runs it doesn't call the submit script. > > Notifications = 0 > Obsess = 1 > ocsp_command=submit_check_result > > Am I missing something in the service.cfg file? Focusing exclusively on the execution of submit_check_result and presuming you're using 1.x, ocsp_command and obsess_over_services (not simply 'Obsess') should be in nagios.cfg and not service.cfg. In your service definitions or template you'll also need to set obsess_over_service to 1 for each service result you wish to send to the central server (probably all). Nagios must be restarted after making these changes/additions. You should also verify that submit_check_result can be executed by the user Nagios is running as. It's common to see that it runs as the root user but not as the Nagios user. Hth, Marc ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From ratty at they.org Wed Jan 26 19:29:12 2005 From: ratty at they.org (frank) Date: Wed, 26 Jan 2005 10:29:12 -0800 (PST) Subject: not authorized, config seems ok. In-Reply-To: References: Message-ID: I think your multiple "require" lines are cancelling each other out. Try: require user aaaaa bbbbbb miclaro -frank On Wed, 26 Jan 2005, Ingo Claro wrote: > Date: Wed, 26 Jan 2005 09:14:48 -0300 > From: Ingo Claro > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: not authorized, config seems ok. > > In Linux, compiled from scratch following the manual instructions. > > But I "solved" the problem. > > I had the following .htaccess: > AuthUserFile /path to passwords > AuthGroupFile /dev/null > AuthName Nagios > AuthType Basic > > require user aaaaa > require user bbbbbb > require user miclaro > > > So I could use the same passwords I already have. > > If I change it to the recommended .htaccess: > AuthUserFile /path to passwords > AuthName Nagios > AuthType Basic > require valid-user > > it works!. But now everybody has access to nagios, To limit it to a few > logins I have to make another passwords file? > > > Regards > Ingo > > > To: nagios-users at lists.sourceforge.net > From: "Matthijs Macar?" > Date: Tue, 25 Jan 2005 22:14:30 +0100 > Reply-To: "Matthijs Macar?" > Subject: [Nagios-users] Re: not authorized, config seems ok. > > On what OS are you running and how did you install it ? > > > "Ingo Claro" schreef in bericht > news:E1CtX4Q-0003wZ-Tm at sc8-sf-mx2.sourceforge.net... >> Marc: >> >> In all the pages appears "logged in as miclaro", except in the error page, >> there it appears "logged in as ?" >> >> Regards, >> Ingo >> >> >> >> -----Mensaje original----- >> De: Marc Powell [mailto:marc at ena.com] >> Enviado el: Martes, 25 de Enero de 2005 16:59 >> Para: Ingo Claro; nagios-users at lists.sourceforge.net >> Asunto: RE: [Nagios-users] not authorized, config seems ok. >> >> >> >>> -----Original Message----- >>> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>> admin at lists.sourceforge.net] On Behalf Of Ingo Claro >>> Sent: Tuesday, January 25, 2005 1:18 PM >>> To: nagios-users at lists.sourceforge.net >>> Subject: [Nagios-users] not authorized, config seems ok. >>> >>> Hello All, >>> >>> I configured nagios following the excelent documentation provided, but >> i'm >>> stuck with issuing commands from the web interface. >>> For excample i can't "Acknowledge this service problem" I get a "not >>> authorized" error. >>> >>> these are my settings, apache runs as nobody. >>> >>> /etc/group: nagcmd:x:5250:nobody,nagios >>> >>> drwxrwsr-x 2 nagios nagcmd 4096 Jan 25 12:42 rw >>> >>> cgi.cfg: >>> use_authentication=1 >>> >>> authorized_for_system_information=miclaro >>> authorized_for_configuration_information=miclaro >>> authorized_for_system_commands=miclaro >>> authorized_for_all_services=miclaro >>> authorized_for_all_hosts=miclaro >>> authorized_for_all_service_commands=miclaro >>> authorized_for_all_host_commands=miclaro >> >> Does Nagios see you logged in as miclaro? In the upper left hand corner >> of any page you should see 'Logged in as miclaro'. If you do not, your >> .htaccess file in the sbin directory isn't working properly. If you only >> have the htaccess file in your share directory, while you'll be prompted >> to login, that information will not be available to the CGI's. >> >> -- >> Marc >> >> >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >> Tool for open source databases. Create drag-&-drop reports. Save time >> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at 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: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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 > From v-alloo at ti.com Wed Jan 26 16:19:06 2005 From: v-alloo at ti.com (Alloo, Vincent) Date: Wed, 26 Jan 2005 16:19:06 +0100 Subject: CHECK_NRPE: Error - Could not complete SSL handshake. Message-ID: Martin, Did you check check_nrpe and nrpe have been compiled with the same SSL libraries (ldd nrpe, ldd check_nrpe)? Are these libraries available on both machines? You can also try without SSL support: nrpe stream tcp nowait nagios /usr/local/nagios/bin/nrpe -n -c /usr/local/nagios/etc/nrpe.cfg -i (notice the -n) with check_nrpe -n -H yourhost -c yourcommand -a yourarg_ifany Becarefull also on the arguments passed through check_npe. Regards, Vincent Alloo TI France Design Systems Operations Manager Europe and Middle East IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Martin Mielke > Sent: Wednesday, January 26, 2005 2:54 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] CHECK_NRPE: Error - Could not complete SSL > handshake. > > Hello all, > > before posting to the list I've been searching on the archives but > couldn't find my answers... let me waste some bandwidth :-) > > I have some IA64-based systems running HP-UX 11.23 which need to be > monitored from a remote Nagios box. > > A check-host-alive works perfectly but problems arise when trying to use > check_nrpe... > > Two different scenarios: > > a) NRPE being launched from the inetd: > > nrpe stream tcp nowait nagios /usr/local/nagios/bin/nrpe -c > /usr/local/nagios/etc/nrpe.cfg -i > > This produces the well-known error message "Could not complete SSL > handshake." on the server side > > b) NRPE being launched as daemon: > > /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d > > This produces errors like "Could not read request from client, bailing > out..." on the client side. > > Because these systems are IA64 the patch described under > http://www.nagios.org/faqs/viewfaq.php?faq_id=191&expand=false&showdesc= fa > lse > is not applicable. I was told by the HP Support that the /dev/*random > issue has been fixed on patch 30286 and integrated on HP-UX from its > version 11.20. > The other 5 points described in the FAQ have been checked as well. > > So, has anyone stumbled with this problem on Itanium architectures under > HP-UX 11.23 before and has found a solution for NRPE to work?? > > TIA and regards, > Martin > -- > Martin Mielke - Senior UNIX SysAdmin - martin.mielke at thales-is.com > THALES Information Systems - http://www.thales-is.com/ > Tel.: (+34) 91 556 92 62 - Fax: (+34) 91 556 42 40 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nagios-users mailing list > Nagios-users at 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: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From pawel at mandrake.pl Wed Jan 26 14:42:14 2005 From: pawel at mandrake.pl (Pawel) Date: Wed, 26 Jan 2005 14:42:14 +0100 Subject: Status map Message-ID: <200501261442.14909.pawel@mandrake.pl> Hello. I would like to ask about map of network (Status map).If map in Nagios can have couple of levels? I see about 150 different hosts and map is difficult to read. I sow same function in map from HP OpenView, where more than 200 hosts were regrouped in 12 localizations and on main map we sow just these localizations. When I check this localizations I sow that under main one were another hosts. Is this possible in Nagios? I use Nagios 1.2, but if is needed I can change for 2.0b1 Pawel ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From alan_maxwell at hilton.com Wed Jan 26 22:08:49 2005 From: alan_maxwell at hilton.com (Alan Maxwell) Date: Wed, 26 Jan 2005 15:08:49 -0600 Subject: Strange output on Solaris Message-ID: <1106773729.9080.68.camel@amaxred.hilton.com> /nagios/libexec/check_disk -e -m -w 10% -c 5% Unable to read output /usr/bin/df -k I'm trying to use the check_disk check , with the options so that it checks all mounted filesytems.. However, if there are no problems I get the above error... Oddly, if there are problems, it reports correctly the offending file system. What's up with that? -------------- next part -------------- An HTML attachment was scrubbed... URL: From djhobbs at ndasj.com Wed Jan 26 21:31:43 2005 From: djhobbs at ndasj.com (Dan Hobbs) Date: Wed, 26 Jan 2005 12:31:43 -0800 Subject: Update on 2.01b and Solaris Message-ID: <001f01c503e6$0fa30330$6702090a@svly.avizatechnology.com> I was able to use the latest CVS of 1-24-2005 to build 2.01b on Solaris 2.9. All works except Host Detail and Status Map. Host Detail does not give an Apache error. It just shows a line reading Host|
> I'm not an expert on snmp, I pieced together OIDs from > > ftp://ftp.cisco.com/pub/mibs/oid/CISCO-ISDN-MIB.oid and > http://carsten.familie-doh.de/mibtree/cisco-isdn.html > > and end up with something like this: > > /usr/local/nagios/libexec/check_snmp -H ip_address -C community_string -o ".1.3.6.1.4.9.9.26.1.1.1.16" > SNMP problem - No data recieved from host > CMD: /usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c aegongs 212.29.172.2:161 .1.3.6.1.4.9.9.26.1.1.1.16 > > Anyone done this before and could confirm, or supply me with a valid OID? I haven't done anything with this particular MIB - but your OID is incomplete for check_snmp. the base oid should be .1.3.6.1.4.9.9.26.1.1.1.1.16 (note four 1s between 26 and 16) To the base oid you need to append the table index values namely: 1. demandNbrPhysIf (the ifIndex value of the D channel for the neighbor) 2. demandNbrId (a table sequence number) Also the base oid above - is for RowStatus and does not tell you anything about the line being up/down . The NeighborTable only stores call information. for the object descriptions... ftp://ftp.cisco.com/pub/mibs/v2/CISCO-ISDN-MIB.my What do you want to monitor for the isdn connections? -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From sghosh at sghosh.org Thu Jan 27 02:32:05 2005 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 26 Jan 2005 20:32:05 -0500 (EST) Subject: check_snmp to monitor isdn if on cisco? In-Reply-To: <49977F7CEA035C46A2D47108CE0F032F014198@ANGELIA.aegon.com> References: <49977F7CEA035C46A2D47108CE0F032F014198@ANGELIA.aegon.com> Message-ID: On Wed, 26 Jan 2005, Schmitz, Carsten wrote: > > Hi, > > Many thanks for the reply. > >> What do you want to monitor for the isdn connections? > > I'd like to be able to fetch the status (up or down) of each of the > eight ISDN lines from the 2600, and the status of the one DSL line from > the 828. Eventually, I'd like to set up nine seperate Nagios service > checks, one for each line, which reports "up" or "down". > use check_ifoperstatus for individual interfaces (one service for each interface) Before you start - you need to run snmpwalk on the routers and get the ifIndex values for the interfaces you are interested in. Then supply the value to the -k parameter of check_ifoperstatus. Also be sure to have the IOS configuration nail down the ifIndex values... "snmp-server ifindex persistent" If you were interested in monitoring "all" the admin up interfaces on a router, then you can use "check_ifstatus" instead. It covers all interfaces that are supposed to be up - summary results report up/down/dormant interfaces. -- -sg ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From djhobbs at ndasj.com Thu Jan 27 03:00:40 2005 From: djhobbs at ndasj.com (Dan Hobbs) Date: Wed, 26 Jan 2005 18:00:40 -0800 Subject: Fw: Update on 2.01b and Solaris Message-ID: <004901c50414$0362f0c0$3c0417ac@svly.avizatechnology.com> ----- Original Message ----- From: Dan Hobbs To: nagios-users at lists.sourceforge.net Sent: Wednesday, January 26, 2005 12:31 PM Subject: Update on 2.01b and Solaris I was able to use the latest CVS of 1-24-2005 to build 2.01b on Solaris 2.9. All works except Host Detail and Status Map. Host Detail does not give an Apache error. It just shows a line reading Host| From ia2 at super.net.sg Thu Jan 27 08:33:52 2005 From: ia2 at super.net.sg (Sam Lee (ia2)) Date: Thu, 27 Jan 2005 15:33:52 +0800 Subject: Error: Could not read host and service status information! Message-ID: I hope someone is reading this. Have just finish installing and configuring Nagios 1.2 on my Fedora box. Everything seems to be working fine, except that the web interface keeps giving me this error message: Could not read host and service status information I'm testing Nagios right now and have started it using 'nagios nagios.cfg' in the terminal. Ran it using root. Also, when i click on the event log, it gave me an error message: Error: Could not open log file '/var/log/nagios/nagios.log' for reading! I've check that the path is valid. Any help/advice will be much appreciated! Regards, Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: From AlOclarit at aol.com Thu Jan 27 02:33:19 2005 From: AlOclarit at aol.com (AlOclarit at aol.com) Date: Wed, 26 Jan 2005 20:33:19 -0500 Subject: recovery message without prior warning/critical Message-ID: <17F287E7.108F447C.021D000F@aol.com> guys i'm running nagios 1.2 on gentoo 2.6.7 kernel. Every now and then one of my services (check_dns) will send a recovery alert for dns although it hadn't gone down or if yes nagios didn't send a warning/critical alert before. This is the secondary dns server. It's in no way different from the primary, yet the primary server never does that. Has anyone seen this ? Alex ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nagios-users mailing list Nagios-users at 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 From g.vickers at qut.edu.au Thu Jan 27 06:57:57 2005 From: g.vickers at qut.edu.au (Greg Vickers) Date: Thu, 27 Jan 2005 15:57:57 +1000 Subject: Problem with check_cluster2? Message-ID: <41F882E5.9020005@qut.edu.au> Hi all, I'm using Nagios to gather statistics on our central lab computers, and use that information to display availability graphs to the student body. These lab hosts have a 'Lab PC available' service which is passive and is in state OK if the PC is at the C-A-D screen and in state CRITICAL if it is not (logged on, rebooting, got coffee spilt on the motherboard...) We do a service cluster check on these services to see how many hosts are available (i.e. the PC is able to be logged onto) and we parse out the numbers from the cluster check of how many OK/CRITICAL states exist and convert that into a pretty web display. I've just moved to Nagios 2.0b1 from 1.2 and upgraded to check_cluster2 (due to the new format of the status record) and noticed something strange: The number that the cluster checks return do not add up to the numbers of OK and CRITICAL service checks that show up on the Service Status Details view of a given lab. Here's an example: A201 cluster check ok: 19 ok, 0 warning, 0 unknown, 2 critical There are 87 hosts in A201, so there should be a total of 87 OK/CRITICAL states returned by the cluster check. There are more than two critical 'Lab PC availability' services in the hostgroup for A201 and there are more than 19 'Lab PC availability' services in an OK state. For all the other cluster checks that are performed, only up to 22 results are included in the cluster check result, even though many more will be defined in the service definition and hence the cluster check (See example below.) I've had a squiz in the check_cluster2.c code and I can't see anything that would hiccup at >22 services being shoved into it. (I would expect an error to occur if there was a limit on the line length? Truncation would occur?) I've done testing and I've found the following results: 1) For the only lab that has <21 hosts, the cluster check works as expected. (Nine hosts in this lab.) 2) I incrementally changed the status of the 'Lab PC available' service in another lab to CRITICAL. As soon as have set the first 22 services to critical the cluster check will only return '1 ok, 21 critical' So it seems that the check_cluster2 plugin will only return the status of the first 22 services and then only returns '1 ok, 21 critical' when the first 22 services are all critical. Has anyone seen this problem before? Argh! Configs: (Service definition sanitised, the check_command line is all one line, it's wrapped by mail client) define service{ host_name service_description Lab PC availability in CA A201 check_command check_service_cluster!CA-A201!88!89!$SERVICESTATEID:CA-A201-PC01:Lab PC available$,$SERVICESTATEID:CA-A201-PC02:Lab PC available$,$SERVICESTATEID:CA-A201-PC03:Lab PC available$,$SERVICESTATEID:CA-A201-PC04:Lab PC available$,$SERVICESTATEID:CA-A201-PC84:Lab PC available$,$SERVICESTATEID:CA-A201-PC85:Lab PC available$,$SERVICESTATEID:CA-A201-PC86:Lab PC available$,$SERVICESTATEID:CA-A201-PC87:Lab PC available$ contact_groups use