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