From quanah at stanford.edu Thu Jul 1 01:11:44 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 30 Jun 2004 16:11:44 -0700 Subject: Load-Balance pools and Monitoring Message-ID: We have a series of systems that are currently load-balanced via software mechanisms. I know that Nagios has the method of lumping all the servers into a single "cluster" for checking, but this doesn't exactly suite my needs. Basically, I want to be paged if any server in the pool is down, but I also want it clear that (a) A server being down doesn't degrade the service and (b) in the statistics area, it would be wonderful to be able to graph the availability of the combined service, rather than the service on a single machine i.e., Graph the "http" service for www1-www9, instead of just the "http" service on www1, the "http" service on www2, etc, all individually, which really doesn't give me the availability metric I need. Does anyone have any suggestions? I was pondering creating two definitions -- A "cluster" set of the systems for the availability metric, and then the current definitions so that I can be alerted if any member of the cluster is degraded. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From quanah at stanford.edu Thu Jul 1 01:12:44 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 30 Jun 2004 16:12:44 -0700 Subject: Host DOWN alerts not passing pluging output In-Reply-To: <40E069EC.2040508@fragit.net> References: <40E04EB1.1050909@fragit.net> <40E059D4.6030209@elrick.ca> <40E069EC.2040508@fragit.net> Message-ID: --On Monday, June 28, 2004 2:56 PM -0400 Alex Burger wrote: > It looks like check_ping is expecting the 'From 10.36.39.219 icmp_seq=1 > Destination Host Unreachable' message to be sent to STDERR from ping, but > on my system it goes to STDOUT. > > To test, I created a script that outputs to STDERR a ping result, and > changed check_ping to call my script instead: > ># !/usr/bin/perl > select STDERR; > print "From 192.168.1.1 icmp_seq=1 Destination Host Unreachable\n"; > print "\n"; > print "--- 192.168.1.1 ping statistics ---\n"; > print "echo 1 packets transmitted, 0 received, +1 errors, 100% packet > loss, time 0ms\n"; > > Calling check_ping, I get: > > PING CRITICAL - Host Unreachable > > If I changed the script by removing 'select STDERR', I get: > > Error: Could not interpret output from ping command Have you filed a bug in the Nagios bug tracker (although be aware you may not hear anything on bugs filed there for many months)? --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From alex at fragit.net Thu Jul 1 03:55:22 2004 From: alex at fragit.net (Alex Burger) Date: Wed, 30 Jun 2004 21:55:22 -0400 Subject: Host DOWN alerts not passing pluging output In-Reply-To: References: <40E04EB1.1050909@fragit.net> <40E059D4.6030209@elrick.ca> <40E069EC.2040508@fragit.net> Message-ID: <40E36F0A.6060803@fragit.net> Quanah Gibson-Mount wrote: > --On Monday, June 28, 2004 2:56 PM -0400 Alex Burger > wrote: > >> It looks like check_ping is expecting the 'From 10.36.39.219 icmp_seq=1 >> Destination Host Unreachable' message to be sent to STDERR from ping, but >> on my system it goes to STDOUT. >> >> To test, I created a script that outputs to STDERR a ping result, and >> changed check_ping to call my script instead: >> >> # !/usr/bin/perl >> select STDERR; >> print "From 192.168.1.1 icmp_seq=1 Destination Host Unreachable\n"; >> print "\n"; >> print "--- 192.168.1.1 ping statistics ---\n"; >> print "echo 1 packets transmitted, 0 received, +1 errors, 100% packet >> loss, time 0ms\n"; >> >> Calling check_ping, I get: >> >> PING CRITICAL - Host Unreachable >> >> If I changed the script by removing 'select STDERR', I get: >> >> Error: Could not interpret output from ping command > > > Have you filed a bug in the Nagios bug tracker (although be aware you > may not hear anything on bugs filed there for many months)? The first thing I did was look for a bug tracker, but I couldn't find one. There are no trackers on the SF page and I see no mention of a bug tracking system on the home page. I found an email from Ethan in the dev list (Jan '04) saying to post bugs directly to nagios-devel. Is that still the best way? I'll post it to the list anyways. Alex > > --Quanah > > -- > Quanah Gibson-Mount > Principal Software Developer > ITSS/Shared Services > Stanford University > GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From quanah at stanford.edu Thu Jul 1 04:05:15 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 30 Jun 2004 19:05:15 -0700 Subject: Host DOWN alerts not passing pluging output In-Reply-To: <40E36F0A.6060803@fragit.net> References: <40E04EB1.1050909@fragit.net> <40E059D4.6030209@elrick.ca> <40E069EC.2040508@fragit.net> <40E36F0A.6060803@fragit.net> Message-ID: <0B3A39383043D655D19B5F8F@cadabra-dsl.stanford.edu> --On Wednesday, June 30, 2004 9:55 PM -0400 Alex Burger wrote: >> Have you filed a bug in the Nagios bug tracker (although be aware you >> may not hear anything on bugs filed there for many months)? > > The first thing I did was look for a bug tracker, but I couldn't find > one. There are no trackers on the SF page and I see no mention of a bug > tracking system on the home page. I found an email from Ethan in the dev > list (Jan '04) saying to post bugs directly to nagios-devel. Is that > still the best way? I'll post it to the list anyways. Hm, maybe the bug tracker only exists for the nagios plugins. ;) --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From alex at fragit.net Thu Jul 1 04:07:00 2004 From: alex at fragit.net (Alex Burger) Date: Wed, 30 Jun 2004 22:07:00 -0400 Subject: Host DOWN alerts not passing pluging output In-Reply-To: <40E36F0A.6060803@fragit.net> References: <40E04EB1.1050909@fragit.net> <40E059D4.6030209@elrick.ca> <40E069EC.2040508@fragit.net> <40E36F0A.6060803@fragit.net> Message-ID: <40E371C4.5010803@fragit.net> Alex Burger wrote: > Quanah Gibson-Mount wrote: > >> --On Monday, June 28, 2004 2:56 PM -0400 Alex Burger >> wrote: >> >>> It looks like check_ping is expecting the 'From 10.36.39.219 icmp_seq=1 >>> Destination Host Unreachable' message to be sent to STDERR from ping, >>> but >>> on my system it goes to STDOUT. . (snip) . >> >> >> Have you filed a bug in the Nagios bug tracker (although be aware you >> may not hear anything on bugs filed there for many months)? > > > The first thing I did was look for a bug tracker, but I couldn't find > one. There are no trackers on the SF page and I see no mention of a bug > tracking system on the home page. I found an email from Ethan in the > dev list (Jan '04) saying to post bugs directly to nagios-devel. Is > that still the best way? I'll post it to the list anyways. I just found that there is a plugins bug tracker, which is where this belongs.. I forgot that they were separate projects.. I found an existing bug report with the same problem, so I added my findings to it. https://sourceforge.net/tracker/index.php?func=detail&aid=946857&group_id=29880&atid=397597 Thanks Alex ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From quanah at stanford.edu Thu Jul 1 04:12:52 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 30 Jun 2004 19:12:52 -0700 Subject: Host DOWN alerts not passing pluging output In-Reply-To: <40E371C4.5010803@fragit.net> References: <40E04EB1.1050909@fragit.net> <40E059D4.6030209@elrick.ca> <40E069EC.2040508@fragit.net> <40E36F0A.6060803@fragit.net> <40E371C4.5010803@fragit.net> Message-ID: <5CF4570C58B0E815C94CB507@cadabra-dsl.stanford.edu> --On Wednesday, June 30, 2004 10:07 PM -0400 Alex Burger wrote: > I just found that there is a plugins bug tracker, which is where this > belongs.. I forgot that they were separate projects.. > > I found an existing bug report with the same problem, so I added my > findings to it. > > https://sourceforge.net/tracker/index.php?func=detail&aid=946857&group_id > =29880&atid=397597 Oh yeah, that's the place. ;) I just found this patch: Does it fix the problem? It looks like it *should* given the output changes it is parsing, which matches the output you sent. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From alex at fragit.net Thu Jul 1 04:22:28 2004 From: alex at fragit.net (Alex Burger) Date: Wed, 30 Jun 2004 22:22:28 -0400 Subject: Host DOWN alerts not passing pluging output In-Reply-To: <5CF4570C58B0E815C94CB507@cadabra-dsl.stanford.edu> References: <40E04EB1.1050909@fragit.net> <40E059D4.6030209@elrick.ca> <40E069EC.2040508@fragit.net> <40E36F0A.6060803@fragit.net> <40E371C4.5010803@fragit.net> <5CF4570C58B0E815C94CB507@cadabra-dsl.stanford.edu> Message-ID: <40E37564.9080205@fragit.net> Quanah Gibson-Mount wrote: > --On Wednesday, June 30, 2004 10:07 PM -0400 Alex Burger > wrote: > >> I just found that there is a plugins bug tracker, which is where this >> belongs.. I forgot that they were separate projects.. >> >> I found an existing bug report with the same problem, so I added my >> findings to it. >> >> https://sourceforge.net/tracker/index.php?func=detail&aid=946857&group_id >> =29880&atid=397597 > > > Oh yeah, that's the place. ;) > > I just found this patch: > > > > > Does it fix the problem? It looks like it *should* given the output > changes it is parsing, which matches the output you sent. It looks like the patch would be needed based on my output, but it doesn't look like it's going to help with the STDOUT / ERR issue. I will have to do some more testing when I get back to work. My testing was was Mandrake 10, but I only have 9.2 and SuSE 9.1 at home... I updated the bug report to say I was using 10. Alex ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From dmourati at cm.math.uiuc.edu Thu Jul 1 05:07:29 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 30 Jun 2004 22:07:29 -0500 (CDT) Subject: Load-Balance pools and Monitoring In-Reply-To: References: Message-ID: On Wed, 30 Jun 2004, Quanah Gibson-Mount wrote: > Basically, I want to be paged if any server in the pool is down, but I also > want it clear that > > (a) A server being down doesn't degrade the service > > (b) in the statistics area, it would be wonderful to be able to graph the > availability of the combined service, rather than the service on a single > machine > > Does anyone have any suggestions? For a, configure a custom check_http plugin to return a maximum state of WARNING. For b, Your load balancer has a VIP that listens on port 80 right? You monitor the VIP with check_http, then look at the graphs for the VIP. Easy. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From quanah at stanford.edu Thu Jul 1 05:36:53 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 30 Jun 2004 20:36:53 -0700 Subject: Load-Balance pools and Monitoring In-Reply-To: References: Message-ID: <7BA5D55F89CB8CA5DCAA3664@cadabra-dsl.stanford.edu> --On Wednesday, June 30, 2004 10:07 PM -0500 Demetri Mouratis wrote: > On Wed, 30 Jun 2004, Quanah Gibson-Mount wrote: > >> Basically, I want to be paged if any server in the pool is down, but I >> also want it clear that >> >> (a) A server being down doesn't degrade the service >> >> (b) in the statistics area, it would be wonderful to be able to graph the >> availability of the combined service, rather than the service on a single >> machine >> >> Does anyone have any suggestions? > > For a, configure a custom check_http plugin to return a maximum state of > WARNING. > > For b, Your load balancer has a VIP that listens on port 80 right? You > monitor the VIP with check_http, then look at the graphs for the VIP. There is no hardware load-balancer involved, but I can monitor "www.stanford.edu" as a particular service. Actually, just monitoring "www.stanford.edu" should be sufficient, thanks. :) --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From benny at bennyvision.com Thu Jul 1 05:33:07 2004 From: benny at bennyvision.com (C. Bensend) Date: Wed, 30 Jun 2004 22:33:07 -0500 (CDT) Subject: Load-Balance pools and Monitoring In-Reply-To: References: Message-ID: <56330.63.227.74.41.1088652809.squirrel@webmail.stinkweasel.net> > Does anyone have any suggestions? > > I was pondering creating two definitions -- A "cluster" set of the systems > for the availability metric, and then the current definitions so that I > can > be alerted if any member of the cluster is degraded. Sure, I do just this very thing. I have each individual server configured with the normal host up/down stuff, and the service it provides to the cluster. I have the service set to alert only during "normal human hours," because quite frankly I don't give a crap if I lose a backend webserver at four in the morning. Not worth the loss of sleep. Another possibility would be to only alert for a downed backend server once, and no re-notifications. I also have a virtual server that tests the service on the load-balanced failover IP. If that sucker fails, it pages the on-call folks 24x7x365, and escalates in 15 minutes to make sure people KNOW (some of us, myself for one, have spotty pager coverage and don't get all of our pages). Benny -- "You were doing well until everyone died." -- "God", Futurama ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From slade at cryptoflow.net Thu Jul 1 08:52:31 2004 From: slade at cryptoflow.net (Slade Edmonds) Date: Wed, 30 Jun 2004 23:52:31 -0700 Subject: AW: tell me how many are you.... In-Reply-To: <40E26738.1000503@op5.se> References: <6943DE9E9934CD42BBE4A20E0E28E10E04586A@SYGOMAIL.GOE.AD.SYCOR.DE> <20040629055728.71065.qmail@restricted.dyndns.org> <40E26738.1000503@op5.se> Message-ID: <40E3B4AF.2050609@cryptoflow.net> Andreas Ericsson wrote: > Neil wrote: > >> Thanks guys. I now have a baseline on how to spec our Nagios machine. >> I only have one more battle left and that is the management decision >> between choosing Servers Alive(M$0ft Window based) and Nagios. They >> like the Nagios because it is so flexible and we can write our own >> custom checks. I recently wrote a check that will return a value of >> CRITICAL(2) to Nagios if there is a deadlock going on in an MSSQL >> server. > > > Can you send that to me or publish it to the list? I've been looking > to do the same for some time now. > >> The only problem they have with Nagios is that it is open source. But >> I have given them tons of good information/advantages about >> opensource. I hope, within this week, we'll find out who the winner is. > > > I wish you the best of luck. > >> Thanks again. >> Neil >> > Hey I am interested in that check as well! Slade ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From timo.koskela at datavahti.fi Thu Jul 1 10:01:49 2004 From: timo.koskela at datavahti.fi (Timo Koskela) Date: Thu, 1 Jul 2004 11:01:49 +0300 Subject: Problem with trends and notification Message-ID: <001301c45f41$a9d8fee0$bd0fa8c0@fi.poltto> I have problems with trends in my distributed Nagios server. There are a couple of servers I want to monitor and take prints with trends because they are down too often. But trends just dont show anything. In trends where you usually see red and green area, are just white line. What could be the problem? And shouldn't it be possible to distributed server also send notifications, not just the central server? All contacts and contacts groups are configured ok. Or is't so, that only the central Nagios server contains the data from trend and notifications, and it isn't even possible to distributed server to send data to central Nagios server via NSCA, and still be able to notificate on it's own?? Here is my nagios.cfg file from the distributed Nagios (ver. 1.2) I hope someone could help me, please. ############################################################################## # # NAGIOS.CFG - Sample Main Config File for Nagios # # Read the documentation for more information on this configuration # file. I've provided some comments here, but things may not be so # clear without further explanation. # # Last Modified: 07-04-2002 ############################################################################### log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.log nagios_user=nagios nagios_group=nagios check_external_commands=0 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_service_checks=1 inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 sleep_time=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/nagios/var/status.sav retention_update_interval=60 use_retained_program_state=0 interval_length=60 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=0 obsess_over_services=1 ocsp_command=submit_check_result check_for_orphaned_services=0 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> admin_email=nagios admin_pager=pagenagios # EOF (End of file) Thanks, Timo Koskela -------------- next part -------------- An HTML attachment was scrubbed... URL: From Philipp.Sand at sycor.de Thu Jul 1 10:41:41 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Thu, 1 Jul 2004 10:41:41 +0200 Subject: front end management tool Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E068D9A@SYGOMAIL.GOE.AD.SYCOR.DE> Namin imports your current configuration into the mysql Database, so nothing should be lost. I tried out NagMin, but I'm not to happy with having WebMin installed on my Nagios Server for security reasons :-) At the end, I think you're way faster using vi to configure nagios. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Neil > Sent: Wednesday, June 30, 2004 7:43 PM > To: verdon at cict.fr > Cc: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: front end management tool > > Hi Carole, > > What if I already have existing running nagios, how does it > take care of my existings configs? > > YOu know what, I should try it :) > > carole verdon writes: > > > I use Nagmin to manage the configuration of nagios. Nagmin don't > > create temporary config files. It extract informations of tables of > > mysql database to put them in flat config files so that > nagios can read them. > > > > I am satisfied for this product. > > > > You can find others answers in mailing list or on > > http://nagmin.sourceforge.net/ > > > > Carole. > > > > Neil wrote: > > > >> Hey guys, > >> I know in nagios website, extras, there are links to front end for > >> managing nagios. Currently, I am a unix console fanatic. > :) I'm used > >> to it and it's no problem to me. I would like to seek your > experience > >> on which front end web based application you really did > like and was > >> easy to use. I am looking into something wherein it will > be easy for > >> us to create hosts, services, contacts and so on. I tried Nagmin, > >> Nagat but if I remember correctly, it creates a temporary > config file > >> which will be used for test run. It's nice but really messes up my > >> configs :( Anyways, please reply as to what webbased nagios > >> management tool you are using and that you're very happy about it. > >> Thanks. > >> Neil > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email sponsored by Black Hat Briefings & Training. > >> Attend Black Hat Briefings & Training, Las Vegas July > 24-29 - digital > >> self defense, top technical experts, no vendor pitches, unmatched > >> networking opportunities. Visit www.blackhat.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 > >> > >> > > > > -- > > ********************************** > > VERDON Carole > > Ing?nieur Syst?me > > CICT - Universit? Paul Sabatier > > 118, route de Narbonne > > 31062 Toulouse Cedex > > T?l.: 05.61.36.60.44 > > Fax: 05.61.52.14.58 > > Mail: verdon at cict.fr > > ********************************** > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 > - digital > > self defense, top technical experts, no vendor pitches, unmatched > > networking opportunities. Visit www.blackhat.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 > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor > pitches, unmatched networking opportunities. Visit > www.blackhat.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 > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From igor.sergejev at creanord.com Thu Jul 1 21:23:49 2004 From: igor.sergejev at creanord.com (Igor Sergejeff) Date: Thu, 1 Jul 2004 12:23:49 -0700 Subject: "Site logon simulator" (Was: Newbie question about Nagios) References: <001b01c45edf$25d3c510$c864a8c0@creanord2kserv> <40E29E95.7000403@debisschop.net> Message-ID: <021c01c45fa0$ef971ac0$c864a8c0@creanord2kserv> Hello, Thanks for reply. I actually need to log into the website through login form. I tried to do this: ./check_http -u=/login/CheckAllLogins.asp -P="company=nnn&username=demo&pass word=demo" --string="succesful" www.somecompany.com but it said to me "HTTP WARNING: HTTP/1.1 400 Bad Request". Where I am wrong, or this error related to specific web page ? I'm not strong in http, but it seems that my login page source look like: form NAME="loginform" METHOD="POST" ACTION="CheckAllLogins.asp" onSubmit="ToCheckLogin();"> Another login page with automated demo logon looks like:

Any ideas will welcome. Regards, ----- Original Message ----- From: "Karl DeBisschop" To: "Igor Sergejeff" Cc: Sent: Wednesday, June 30, 2004 4:05 AM Subject: Re: [Nagios-users] Newbie question about Nagios > Igor Sergejeff wrote: > > Hello, > > > > I'm new to Nagios, just installed it with some generic service checks, and > > it's working OK. Now I would like to make some more comlplicated check. The > > main task is to check on a periodical basis the contents of the some > > specific web page and if some value there is less or more some baseline, to > > send an alert, preferebly SNMP trap. Also it could be good to pass through > > login and password through SSL to this web page. I.e.: > > > > 1. Login to specific web page through SSL (https) > > 2. Check for "Value=NNN" string on this page (i.e. in html file) > > 3. Send an alert if NNN is less (more) than some baseline value > > > > Any idea, is it possible to do ? > > You can do 1 and 2, for 3 you can see is a string matches but there is > no concept of more or less. > > -- > Karl > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Enrique.Melero at reuters.com Thu Jul 1 11:31:53 2004 From: Enrique.Melero at reuters.com (Enrique.Melero at reuters.com) Date: Thu, 01 Jul 2004 11:31:53 +0200 Subject: Monitoring Cron jobs Message-ID: Anyone has a good way to monitor correct running of cron jobs using nagios ? We currently rely on mail to send stderr of the jobs. It would be a good idea to attach a service to each of the cron jobs . This could be done by defining a special shell that runs the jobs and will send the correct status to a defined service. My Cron would look like this: MYSHELL=/usr/local/bin/nagiosawaresh 00 * * * * check_Client_db_consistency %DB Consistency Checking% 01* * * * check_Products_db_consistency %DB Consistency Checking% 02 * * * * * my job 1 %Service 1 for which job 1 is important% * 10 * * * * my job 2 %Service 1 for which job 2 is important% The contents inside the percentage marks are passed through stdin to the shell , as per standard Visie Cron behaviour . The nagiosawareshell would capture STDERR and return status of the job and send the correct info the the nagios.cmd pipe . Is this making sense ? or is there another better way ? regards --------------------------------------------------------------- - Visit our Internet site at http://www.reuters.com Get closer to the financial markets with Reuters Messaging - for more information and to register, visit http://www.reuters.com/messaging Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From gebhardt at hrz.uni-marburg.de Thu Jul 1 11:42:07 2004 From: gebhardt at hrz.uni-marburg.de (Gebhardt Thomas) Date: Thu, 1 Jul 2004 11:42:07 +0200 Subject: Can't get process_performance_data working Message-ID: <200407011142.09191.gebhardt@hrz.uni-marburg.de> Hi, I've a problem getting process_performance_data working. Nagios seems not to start the host_perfdata_command/service_perfdata_command script. I'm using nagios 1.2 from debian (also tried with a self compiled version with --with-default-perfdata explicitely configured: still does not work.) My config: process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata in nagios.cfg process_perf_data 1 ; Process performance data in the services.cfg template and # 'process-service-perfdata' command definition define command{ command_name process-service-perfdata command_line /bin/touch /tmp/I_WAS_HERE } in misccommand.cfg Obviuosly I missed something. Any hints? Thanks, Thomas ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From verdon at cict.fr Thu Jul 1 11:55:24 2004 From: verdon at cict.fr (carole verdon) Date: Thu, 01 Jul 2004 11:55:24 +0200 Subject: front end management tool In-Reply-To: <20040630174319.30194.qmail@restricted.dyndns.org> References: <20040630050013.73452.qmail@restricted.dyndns.org> <40E2DAB6.1010005@cict.fr> <20040630174319.30194.qmail@restricted.dyndns.org> Message-ID: <40E3DF8C.4010501@cict.fr> In first, to use Nagmin, Nagios must built with mysql database support. That it was my case. Then, Nagmin use existings config files to build its own files. Neil wrote: > Hi Carole, > What if I already have existing running nagios, how does it take care > of my existings configs? > YOu know what, I should try it :) > carole verdon writes: > >> I use Nagmin to manage the configuration of nagios. Nagmin don't >> create temporary config files. It extract informations of tables of >> mysql database to put them in flat config files so that nagios can >> read them. >> I am satisfied for this product. >> You can find others answers in mailing list or on >> http://nagmin.sourceforge.net/ >> Carole. >> Neil wrote: >> >>> Hey guys, >>> I know in nagios website, extras, there are links to front end for >>> managing nagios. Currently, I am a unix console fanatic. :) I'm used >>> to it and it's no problem to me. I would like to seek your >>> experience on which front end web based application you really did >>> like and was easy to use. I am looking into something wherein it >>> will be easy for us to create hosts, services, contacts and so on. I >>> tried Nagmin, Nagat but if I remember correctly, it creates a >>> temporary config file which will be used for test run. It's nice but >>> really messes up my configs :( >>> Anyways, please reply as to what webbased nagios management tool you >>> are using and that you're very happy about it. >>> Thanks. >>> Neil >>> >>> ------------------------------------------------------- >>> This SF.Net email sponsored by Black Hat Briefings & Training. >>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >>> digital self defense, top technical experts, no vendor pitches, >>> unmatched networking opportunities. Visit www.blackhat.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 >>> >> >> -- >> ********************************** >> VERDON Carole >> Ing?nieur Syst?me >> CICT - Universit? Paul Sabatier >> 118, route de Narbonne >> 31062 Toulouse Cedex >> T?l.: 05.61.36.60.44 >> Fax: 05.61.52.14.58 >> Mail: verdon at cict.fr >> ********************************** >> >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by Black Hat Briefings & Training. >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital >> self defense, top technical experts, no vendor pitches, unmatched >> networking opportunities. Visit www.blackhat.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 > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.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 > > -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From h.baecker at ecofis.de Thu Jul 1 12:04:21 2004 From: h.baecker at ecofis.de (h.baecker at ecofis.de) Date: Thu, 1 Jul 2004 12:04:21 +0200 Subject: Can't get process_performance_data working In-Reply-To: <200407011142.09191.gebhardt@hrz.uni-marburg.de> References: <200407011142.09191.gebhardt@hrz.uni-marburg.de> Message-ID: Hi, if you have a file in /tmp called I-WAS-HERE it works as designed, but a little bit more efficent is perhaps something like this: define command{ command_name process-host-perfdata command_line /usr/bin/printf "$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$STATETYPE$\t$EXECUTIONTIME$\t$PERFDATA$\n" >> /tmp/host-perfdata } define command{ command_name process-service-perfdata command_line /usr/bin/printf "$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$STATETYPE$\t-E-$EXECUTIONTIME$\t-L-$LATENCY$\t$PERFDATA $\n" >> /tmp/service-perfdata } I added some -E- and -L- in the printf's to see which is the execution and the latency time, do whatever you want to... regards Hendrik Gebhardt Thomas Sent by: nagios-users-admin at lists.sourceforge.net 01.07.2004 11:42 To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Can't get process_performance_data working Hi, I've a problem getting process_performance_data working. Nagios seems not to start the host_perfdata_command/service_perfdata_command script. I'm using nagios 1.2 from debian (also tried with a self compiled version with --with-default-perfdata explicitely configured: still does not work.) My config: process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata in nagios.cfg process_perf_data 1 ; Process performance data in the services.cfg template and # 'process-service-perfdata' command definition define command{ command_name process-service-perfdata command_line /bin/touch /tmp/I_WAS_HERE } in misccommand.cfg Obviuosly I missed something. Any hints? Thanks, Thomas ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 -------------- An HTML attachment was scrubbed... URL: From gebhardt at hrz.uni-marburg.de Thu Jul 1 12:34:48 2004 From: gebhardt at hrz.uni-marburg.de (Gebhardt Thomas) Date: Thu, 1 Jul 2004 12:34:48 +0200 Subject: Can't get process_performance_data working In-Reply-To: References: Message-ID: <200407011234.49689.gebhardt@hrz.uni-marburg.de> On Thursday 01 July 2004 12:04, you wrote: Hi, thanks for your answer! > if you have a file in /tmp called I-WAS-HERE it works as designed, but a > little bit more efficent is perhaps something like this: well, unfortunately it does not work, this was the reason for my posting. Of course that I-WAS-HERE stuff is just a testing script in order to track down whether or not the process-host-perfdata command is executed. Actually it is not, and I'm trying to figure out why it does not behave as expected. > I added some -E- and -L- in the printf's to see which is the execution and > the latency time, do whatever you want to... Well this would be the next step if I could get the process-host-perfdata command actually started. Cheers, Thomas ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Thu Jul 1 12:38:41 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 01 Jul 2004 12:38:41 +0200 Subject: Monitoring Cron jobs In-Reply-To: References: Message-ID: <40E3E9B1.8040902@op5.se> Enrique.Melero at reuters.com wrote: > Anyone has a good way to monitor correct running of cron jobs using nagios ? > > We currently rely on mail to send stderr of the jobs. It would be a good idea > to attach a service to each of the cron jobs . > > This could be done by defining a special shell that runs the jobs and will send > the correct status to a defined service. > > My Cron would look like this: > > MYSHELL=/usr/local/bin/nagiosawaresh > 00 * * * * check_Client_db_consistency %DB Consistency Checking% > 01* * * * check_Products_db_consistency %DB Consistency Checking% > 02 * * * * * my job 1 %Service 1 for which job 1 is important% > * 10 * * * * my job 2 %Service 1 for which job 2 is important% > > The contents inside the percentage marks are passed through stdin to the shell , as per > standard Visie Cron behaviour . > > The nagiosawareshell would capture STDERR and return status of the job and > send the correct info the the nagios.cmd pipe . > > Is this making sense ? or is there another better way ? > Seems like an awful lot of work to me. Why don't you just let the cron-jobs themselves send a passive service check result to the nagios pipe, and set the check_freshness options to something appropriate? That way the jobs themselves have to define whether or not they succeeded, which seems like the right way to go. If the job doesn't run at all, nagios sends alerts since the service-check goes stale (providing nice monitoring of the cron daemon as well). -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Enrique.Melero at reuters.com Thu Jul 1 13:23:56 2004 From: Enrique.Melero at reuters.com (Enrique.Melero at reuters.com) Date: Thu, 01 Jul 2004 13:23:56 +0200 Subject: Monitoring Cron jobs Message-ID: On 07/01/2004 12:38:41 PM Andreas Ericsson wrote: > > The contents inside the percentage marks are passed through stdin to the > shell , as per > > standard Visie Cron behaviour . > > > > The nagiosawareshell would capture STDERR and return status of the job and > > send the correct info the the nagios.cmd pipe . > > > > Is this making sense ? or is there another better way ? > > > > Seems like an awful lot of work to me. Why don't you just let the > cron-jobs themselves send a passive service check result to the nagios > pipe, and set the check_freshness options to something appropriate? > That way the jobs themselves have to define whether or not they > succeeded, which seems like the right way to go. If the job doesn't run > at all, nagios sends alerts since the service-check goes stale > (providing nice monitoring of the cron daemon as well). Thanks for your answer. There are several reasons why I dont want to do it that manner: 1 If we ever change the way passive updates are done we would have to change each and any of the jobs. 2 Many of the jobs are like this echo "update a set b=c where d " | mysql and I cant figure out how to add there a passive update to notify OK or failure ... 3 I want to be able to group my jobs by service and be able to modify this without having to go through each and any of the jobs 4 There are dozens of cron jobs and maintained by different people. Having to add monitoring to each of them is far more effort than providing a generic solution based on standard return status and stderr generated by the jobs regards > -- > Sourcerer / Andreas Ericsson > OP5 AB > +46 (0)733 709032 > andreas.ericsson at op5.se > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 Enrique Melero G?mez Tel +41 22 718 5475 ----------------------------------------------------------------- Visit our Internet site at http://www.reuters.com Get closer to the financial markets with Reuters Messaging - for more information and to register, visit http://www.reuters.com/messaging Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From smalhotra at dataarmor.net Thu Jul 1 14:45:27 2004 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Thu, 1 Jul 2004 18:15:27 +0530 Subject: Host Check Scheduling ! Message-ID: <005c01c45f69$4b6324d0$0301a8c0@sumit> Hi All! I am using nagios 1.2 with nsca for monitoring hosts on Windows and Unix. Thinks Wok Great ! But as the feature of Passive Host Check is Missing. Many alert ( Against Services) comes up ! As the Firewall doesn't allow anything to reach to host. I devised my own hack to make it work .Here is what I did. I devised a Shell script who checks for service checks received within last n minutes and let it run as host check .. So if there is no check received since last n minutes then the alert will be fired . It works fine As i have suppressed the alerts to an extent. The Above " hack" works fine as along as Freshness check of the services of the host ( that has went down) is greater than the Time at which next host check is scheduled otherwise the same problem pops up again . Is there a way to schedule the host checks separately ? the configuration and other documentation states scheduling of Service check ... How to manipulate scheduling of host check ??? Thanks in Advance, Regards, Sumit -------------- next part -------------- An HTML attachment was scrubbed... URL: From gpadilla at cbct.com Thu Jul 1 15:06:59 2004 From: gpadilla at cbct.com (Guillermo Padilla) Date: Thu, 1 Jul 2004 09:06:59 -0400 Subject: posting to the list Message-ID: -------------- next part -------------- An HTML attachment was scrubbed... URL: From agrajag at dragaera.net Thu Jul 1 15:13:35 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Thu, 01 Jul 2004 09:13:35 -0400 Subject: Monitoring Cron jobs In-Reply-To: References: Message-ID: <1088687615.29281.47.camel@pel> On Thu, 2004-07-01 at 07:23, Enrique.Melero at reuters.com wrote: > > On 07/01/2004 12:38:41 PM Andreas Ericsson wrote: > > > The contents inside the percentage marks are passed through stdin to the > > shell , as per > > > standard Visie Cron behaviour . > > > > > > The nagiosawareshell would capture STDERR and return status of the job and > > > send the correct info the the nagios.cmd pipe . > > > > > > Is this making sense ? or is there another better way ? > > > > > > > Seems like an awful lot of work to me. Why don't you just let the > > cron-jobs themselves send a passive service check result to the nagios > > pipe, and set the check_freshness options to something appropriate? > > That way the jobs themselves have to define whether or not they > > succeeded, which seems like the right way to go. If the job doesn't run > > at all, nagios sends alerts since the service-check goes stale > > (providing nice monitoring of the cron daemon as well). > > Thanks for your answer. > There are several reasons why I dont want to do it that manner: > 1 If we ever change the way passive updates are done we would have to change each and any of the jobs. > 2 Many of the jobs are like this > echo "update a set b=c where d " | mysql > and I cant figure out how to add there a passive update to notify OK or failure ... > 3 I want to be able to group my jobs by service and be able to modify this without having to go > through each and any of the jobs > 4 There are dozens of cron jobs and maintained by different people. Having to add monitoring to each > of them is far more effort than providing a generic solution based on standard return status and stderr generated by the jobs All of those are easily solved. Write a wrapper script for your cron jobs. Cron will call the wrapper script with arguments telling it what really need to be done. The wrapper script will run the program, and based on the exit value, send the appropriate passive check status. If you ever have to change how the passive updates work, you just modify the one script and you're done. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From gpadilla at cbct.com Thu Jul 1 15:12:37 2004 From: gpadilla at cbct.com (Guillermo Padilla) Date: Thu, 1 Jul 2004 09:12:37 -0400 Subject: nagios stop script not killing all processes Message-ID: Wed, 30 June 2004 16:08 I\'ve been getting the following errors when i try to acknowledge or set anything through the GUI. something saying in the terms that i cant write to nagios.cmd or its not found. I stop nagios and when i do a grep for nagios i see that there are close to 200 nagios/ping process still runnin. I have to kill all of them manually and then restart nagios. Thats when i can finally acknowledge messages with no problem. any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 79 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 43 bytes Desc: image002.gif URL: From dhawal at netmagicsolutions.com Thu Jul 1 15:55:40 2004 From: dhawal at netmagicsolutions.com (Dhawal Doshy) Date: Thu, 01 Jul 2004 19:25:40 +0530 Subject: nagios stop script not killing all processes In-Reply-To: References: Message-ID: <40E417DC.20005@netmagicsolutions.com> Version: ?? Platform: ?? In any case try reading http://nagios.sourceforge.net/docs/1_0/commandfile.html - dhawal Guillermo Padilla wrote: > * * > > > > Wed, 30 June 2004 16:08 > > I\'ve been getting the following errors when i try to acknowledge or > set anything through the GUI. > > something saying in the terms that i cant write to nagios.cmd or its > not found. > > I stop nagios and when i do a grep for nagios i see that there are > close to 200 nagios/ping process still runnin. I have to kill all of > them manually and then restart nagios. Thats when i can finally > acknowledge messages with no problem. > > any ideas? > > * * > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From elvis at webspace4you.ch Thu Jul 1 15:56:51 2004 From: elvis at webspace4you.ch (E.Altherr) Date: Thu, 1 Jul 2004 15:56:51 +0200 Subject: AW: nagios stop script not killing all processes Message-ID: <7B121EA44EE8D6438CB3867C51DE79878262@svwin2kadm05.local.eyes4media.ch> Hi Guillermo You need to chmod to 777 the nagios.cmd file (usually in the /var/nagios/var/rw or in the path where your nagios is installed), after restarted the nagios daemon, then you can send commands (like Service Aknowledges) via the GUI best regards Elvis Note: you can kill all nagios related processes with the help of "killall - 9 " this shoud normally kill the father and all his child processes -----Ursprungliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Guillermo Padilla Gesendet: Donnerstag, 1. Juli 2004 15:13 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] nagios stop script not killing all processes Wed, 30 June 2004 16:08 I\'ve been getting the following errors when i try to acknowledge or set anything through the GUI. something saying in the terms that i cant write to nagios.cmd or its not found. I stop nagios and when i do a grep for nagios i see that there are close to 200 nagios/ping process still runnin. I have to kill all of them manually and then restart nagios. Thats when i can finally acknowledge messages with no problem. any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 79 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 43 bytes Desc: image002.gif URL: From benny at bennyvision.com Thu Jul 1 16:17:32 2004 From: benny at bennyvision.com (C. Bensend) Date: Thu, 1 Jul 2004 09:17:32 -0500 (CDT) Subject: AW: nagios stop script not killing all processes In-Reply-To: <7B121EA44EE8D6438CB3867C51DE79878262@svwin2kadm05.local.eyes4media.ch > References: <7B121EA44EE8D6438CB3867C51DE79878262@svwin2kadm05.local.eyes4media.ch> Message-ID: <3948.134.244.169.17.1088691474.squirrel@webmail.stinkweasel.net> > You need to chmod to 777 the nagios.cmd file (usually in the > /var/nagios/var/rw or in the path where your nagios is installed), after > restarted > the nagios daemon, then you can send commands (like Service Aknowledges) > via the GUI As a general rule, chmod'ing ANYTHING 0777 is A Bad Idea(tm). This might fix the immediate problem, but could very well introduce others. There are security risks (now, ANYONE with access to the machine can issue commands to Nagios), stability risks (Whoops, I didn't mean to write to THAT file!), etc. nagios.cmd needs to be writable by the nagios daemon and the webserver, no more, no less. Benny -- "You were doing well until everyone died." -- "God", Futurama ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From emmanuel.ricros at philips.com Thu Jul 1 16:47:57 2004 From: emmanuel.ricros at philips.com (emmanuel.ricros at philips.com) Date: Thu, 1 Jul 2004 16:47:57 +0200 Subject: Sending notifications to Lotus Sametime Message-ID: Hello all, Is anyone sending notifications to IBM Lotus Sametime Connect ? How do you do it ? We have heard of a Perl interface called Sanity, but I cannot find more info. With kind regards, -- Emmanuel Ricros - Software Configuration Team Leader Campus Information Systems - Philips France - Le Mans -------------- next part -------------- An HTML attachment was scrubbed... URL: From sjg at easynet.fr Thu Jul 1 17:15:38 2004 From: sjg at easynet.fr (Sebastien J. Gross) Date: Thu, 1 Jul 2004 17:15:38 +0200 Subject: Pending status problem Message-ID: <20040701151538.GE16720@easynet.fr> hi there, I am using nagios (version 1.1 Last Modified: 06-02-2003) with about 1500 hosts and around 2500 services. This works quite fine except sometimes some services are flapping from a known state (such as OK, WARNING, CRITICAL) to a PENDING state (which means the service hadn't been checked yet). This is a random beaviour. I noticed this happends when a pluggin ends in timeout. Sometimes ngios assumes the timeout is a critical states, sometimes nagios switches the service to a PENDING state. Does anyone here ever noticed this behaviour? Is there a way to fix it? Maybe try the CVS version? (I do not do so because this is a production plateform). I can provide further information about the plateform if needed. TIA -- Sebastien J. Gross ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From elvis at webspace4you.ch Thu Jul 1 17:44:34 2004 From: elvis at webspace4you.ch (E.Altherr) Date: Thu, 1 Jul 2004 17:44:34 +0200 Subject: AW: AW: nagios stop script not killing all processes Message-ID: <7B121EA44EE8D6438CB3867C51DE79878265@svwin2kadm05.local.eyes4media.ch> ok, you win :-) it's right, that 777 is a security risk (but i tried your solution under RH 9.0 and it doesn't work (on which reasons whatelse) best regards Elvis -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von C. Bensend Gesendet: Donnerstag, 1. Juli 2004 16:18 An: nagios-users at lists.sourceforge.net Betreff: Re: AW: [Nagios-users] nagios stop script not killing all processes > You need to chmod to 777 the nagios.cmd file (usually in the > /var/nagios/var/rw or in the path where your nagios is installed), after > restarted > the nagios daemon, then you can send commands (like Service Aknowledges) > via the GUI As a general rule, chmod'ing ANYTHING 0777 is A Bad Idea(tm). This might fix the immediate problem, but could very well introduce others. There are security risks (now, ANYONE with access to the machine can issue commands to Nagios), stability risks (Whoops, I didn't mean to write to THAT file!), etc. nagios.cmd needs to be writable by the nagios daemon and the webserver, no more, no less. Benny -- "You were doing well until everyone died." -- "God", Futurama ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From tguldener at monzoon.net Thu Jul 1 17:41:49 2004 From: tguldener at monzoon.net (Thomas Guldener) Date: Thu, 1 Jul 2004 17:41:49 +0200 Subject: nagios stop script not killing all processes In-Reply-To: <7B121EA44EE8D6438CB3867C51DE79878262@svwin2kadm05.local.eyes4media.ch> References: <7B121EA44EE8D6438CB3867C51DE79878262@svwin2kadm05.local.eyes4media.ch> Message-ID: If you compile Nagios from source use the option ?with-cmd-user ?with-cmd-group and take the nagios user and the webserver group Thomas _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of E.Altherr Sent: Donnerstag, 1. Juli 2004 15:57 To: nagios-users at lists.sourceforge.net Subject: AW: [Nagios-users] nagios stop script not killing all processes Hi Guillermo You need to chmod to 777 the nagios.cmd file (usually in the /var/nagios/var/rw or in the path where your nagios is installed), after restarted the nagios daemon, then you can send commands (like Service Aknowledges) via the GUI best regards Elvis Note: you can kill all nagios related processes with the help of "killall - 9 " this shoud normally kill the father and all his child processes -----Urspr?ngliche Nachricht----- Von: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Im Auftrag von Guillermo Padilla Gesendet: Donnerstag, 1. Juli 2004 15:13 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] nagios stop script not killing all processes Wed, 30 June 2004 16:08 I\'ve been getting the following errors when i try to acknowledge or set anything through the GUI. something saying in the terms that i cant write to nagios.cmd or its not found. I stop nagios and when i do a grep for nagios i see that there are close to 200 nagios/ping process still runnin. I have to kill all of them manually and then restart nagios. Thats when i can finally acknowledge messages with no problem. any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 79 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 43 bytes Desc: not available URL: From neil-on-nagios at restricted.dyndns.org Thu Jul 1 18:19:37 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Thu, 01 Jul 2004 11:19:37 -0500 Subject: front end management tool In-Reply-To: <40E3DF8C.4010501@cict.fr> References: <20040630050013.73452.qmail@restricted.dyndns.org> <40E2DAB6.1010005@cict.fr> <20040630174319.30194.qmail@restricted.dyndns.org> <40E3DF8C.4010501@cict.fr> Message-ID: <20040701161937.30474.qmail@restricted.dyndns.org> Ok, IIRC, support to database is going to be dropped in version 2 of Nagios carole verdon writes: > In first, to use Nagmin, Nagios must built with mysql database support. > > That it was my case. Then, Nagmin use existings config files to build its > own files. > > Neil wrote: > >> Hi Carole, >> What if I already have existing running nagios, how does it take care of >> my existings configs? >> YOu know what, I should try it :) >> carole verdon writes: >> >>> I use Nagmin to manage the configuration of nagios. Nagmin don't create >>> temporary config files. It extract informations of tables of mysql >>> database to put them in flat config files so that nagios can read them. >>> I am satisfied for this product. >>> You can find others answers in mailing list or on >>> http://nagmin.sourceforge.net/ >>> Carole. >>> Neil wrote: >>> >>>> Hey guys, >>>> I know in nagios website, extras, there are links to front end for >>>> managing nagios. Currently, I am a unix console fanatic. :) I'm used to >>>> it and it's no problem to me. I would like to seek your experience on >>>> which front end web based application you really did like and was easy >>>> to use. I am looking into something wherein it will be easy for us to >>>> create hosts, services, contacts and so on. I tried Nagmin, Nagat but >>>> if I remember correctly, it creates a temporary config file which will >>>> be used for test run. It's nice but really messes up my configs :( >>>> Anyways, please reply as to what webbased nagios management tool you >>>> are using and that you're very happy about it. >>>> Thanks. >>>> Neil >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email sponsored by Black Hat Briefings & Training. >>>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital >>>> self defense, top technical experts, no vendor pitches, unmatched >>>> networking opportunities. Visit www.blackhat.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 >>>> >>> >>> -- >>> ********************************** >>> VERDON Carole >>> Ing?nieur Syst?me >>> CICT - Universit? Paul Sabatier >>> 118, route de Narbonne >>> 31062 Toulouse Cedex >>> T?l.: 05.61.36.60.44 >>> Fax: 05.61.52.14.58 >>> Mail: verdon at cict.fr >>> ********************************** >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email sponsored by Black Hat Briefings & Training. >>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital >>> self defense, top technical experts, no vendor pitches, unmatched >>> networking opportunities. Visit www.blackhat.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 >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by Black Hat Briefings & Training. >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital >> self defense, top technical experts, no vendor pitches, unmatched >> networking opportunities. Visit www.blackhat.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 >> >> > > -- > ********************************** > VERDON Carole > Ing?nieur Syst?me > CICT - Universit? Paul Sabatier > 118, route de Narbonne > 31062 Toulouse Cedex > T?l.: 05.61.36.60.44 > Fax: 05.61.52.14.58 > Mail: verdon at cict.fr > ********************************** > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From benny at bennyvision.com Thu Jul 1 18:49:51 2004 From: benny at bennyvision.com (C. Bensend) Date: Thu, 1 Jul 2004 11:49:51 -0500 (CDT) Subject: AW: AW: nagios stop script not killing all processes In-Reply-To: <7B121EA44EE8D6438CB3867C51DE79878265@svwin2kadm05.local.eyes4media.ch > References: <7B121EA44EE8D6438CB3867C51DE79878265@svwin2kadm05.local.eyes4media.ch> Message-ID: <4979.134.244.169.17.1088700613.squirrel@webmail.stinkweasel.net> > it's right, that 777 is a security risk (but i tried your solution under > RH 9.0 and it doesn't work (on which reasons whatelse) What I do on my monitoring servers is create a group called 'nacmd'. I add the 'nagios' user (the user Nagios is going to run as) as well as 'www' (the user Apache runs as). Then, when I compile Nagios and the plugins, I specify --with-command-user=nagios and --with-command-grp=nacmd. This Just Works(tm), at least for me. :) Never tried it under RedHat 9. Benny -- "You were doing well until everyone died." -- "God", Futurama ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From anfa at edu.nykoping.se Thu Jul 1 20:25:42 2004 From: anfa at edu.nykoping.se (Falk) Date: Thu, 1 Jul 2004 20:25:42 +0200 Subject: All checks turns to pending when restart/reload. Message-ID: <200407012017265.SM05088@buitaf02> I installed Nagios 1.2 (the debian nagios-text_1.2-3.3_i386.deb) It all worked well in 1.2 fedora (nagios-1.2-0.rhfc1.dag) and 1.1 .deb. It does not read status.sav it seems. I set: retain_state_information=1 state_retention_file=/var/log/nagios/status.sav retention_update_interval=60 use_retained_program_state=1 Any Ideas? Regards Falk ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From krcalhoo at mtu.edu Thu Jul 1 21:44:20 2004 From: krcalhoo at mtu.edu (kevin) Date: Thu, 01 Jul 2004 15:44:20 -0400 Subject: plugin disappearing Message-ID: <40E46994.3090601@mtu.edu> I am having a problem with a plugin in disappearing. I have set up a check dhcp service. I am using the check_dhcp from nagios-plugins-1.4.0alpha1 in the contrib directory. When I first start nagios it will run once and returns DHCP ok: Received 1 DHCPOFFER(s)... However the second time it goes to run the check it returns error code 127 plugin may be missing. I have set log_initial_states=0 so it shouldn't be remembering anything from a previous state. For a test I also copied my dhcp-check service and made a dhcp-check2 service. It has the same behavior of running one and disappearing. I can run the check_dhcp check from the command line as root and as nagios without any problems. I used visudo so set sudo up. nagios ALL = NOPASSWD: /dcs/local/nagios/nagiosservices/libexec/check_dhcp Nagios Config files define service{ use generic-service hostgroup_name dhcp service_description dhcp-check contact_groups Administrators normal_check_interval 10 ; minutes check_command check-dhcp!141.219.70.126!192.168.0.21!eth0.4093!10 register 1 } define command{ command_name check-dhcp command_line sudo /dcs/local/nagios/nagiosservices/libexec/check_dhcp -s $ARG1$ -r $ARG2$ -i $ARG3$ -t $ARG4$ } File location # stat /dcs/local/nagios/nagiosservices/libexec/check_dhcp File: `/dcs/local/nagios/nagiosservices/libexec/check_dhcp' Size: 14145 Blocks: 32 IO Block: 4096 Regular File Device: 811h/2065d Inode: 1453063 Links: 1 Access: (0755/-rwxr-xr-x) Uid: ( 500/ nagios) Gid: ( 500/ nagios) Access: 2004-07-01 15:09:46.000000000 -0400 Modify: 2004-06-16 11:55:49.000000000 -0400 Change: 2004-06-16 13:46:38.000000000 -0400 Any help or more things to check would be appreciated. Kevin Calhoon ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From gpadilla at cbct.com Thu Jul 1 21:44:02 2004 From: gpadilla at cbct.com (Guillermo Padilla) Date: Thu, 1 Jul 2004 15:44:02 -0400 Subject: Nagmin configuration question Message-ID: I've set Webmin with nagmin but I'm stuck. I created the db for nagmin but when I go to the nagmin page on webmin the system databases column is blank. Any ideas? I've gone to the module config and cant seem to find anything missing. Thx -G -------------- next part -------------- An HTML attachment was scrubbed... URL: From phessler at triplecanopy.com Thu Jul 1 22:21:35 2004 From: phessler at triplecanopy.com (Peter Hessler) Date: Thu, 1 Jul 2004 13:21:35 -0700 Subject: Problems with cgi access In-Reply-To: <20040630114849.3ad22bc8@leela.theapt.org> References: <20040628113930.36e109b5@leela.theapt.org> <37574.134.244.172.10.1088450046.squirrel@webmail.stinkweasel.net> <20040628222140.6c57bfeb@leela.theapt.org> <20040630114849.3ad22bc8@leela.theapt.org> Message-ID: <20040701132135.41a76731@leela.theapt.org> Noone has any information/sugguestions about the line below not working? Nagios is broken on OpenBSD. On Wed, 30 Jun 2004 11:48:49 -0700 Peter Hessler wrote: :nagios_check_command=/home/nagios/libexec/check_dummy 0 -- If today is the first day of the rest of your life, what the hell was yesterday? ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From rnelson at windchannel.com Thu Jul 1 22:39:21 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Thu, 1 Jul 2004 16:39:21 -0400 Subject: Flapping / Problems Message-ID: Is there any way to get all hosts that are flapping (especially those that entered flapping while in an OK state) to show up under Problems? In my opinion, Flapping indicates a problem regardless of the OK/Warning/Critical state. Thanks. Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From james.eastman at fedex.com Fri Jul 2 00:16:28 2004 From: james.eastman at fedex.com (James Eastman) Date: Thu, 01 Jul 2004 17:16:28 -0500 Subject: Nagios / NRPE install on HP-UX 11.o and 11i Message-ID: <0I0700BF81XCKT@emmsvr02.prod.fedex.com> All: I hope this message finds you doing well. I am trying to install the Nagios NRPE daemon and Nagios plugins on a HP-UX machine and am having no success. I?ve read the FAQs at nagios.org and it says my ?make? error is probably caused by not having the glibc installed. I have installed the glibc and gmake on my HP-UX box and still I get the make errors. I have also searched the mailing list archives and have not found the magical HP-UX install instructions. If anyone knows the compile/install magic/magical documentation place for HP-UX, please point me to that spot so I can get my read/learn on. Thanks in advance for your help. Here?s a listing of my swlist so you can see the HP-UX packages I have installed on this box: # Swlist # Initializing... # Contacting target "nxpsL305"... # # Target: nxpsL305:/ # # # Bundle(s): # A5856A B.11.00.04 I2O RAID B2491BA B.11.00 MirrorDisk/UX B3693AA C.02.60.000 HP GlancePlus/UX for s800 11.0 B3701AA C.02.60.000 HP GlancePlus/UX Pak for s800 11.0 B3901BA B.11.01.07 HP C/ANSI C Developer's Bundle for HP-UX 11.00 (S800) B4967AA C.02.60.000 HP MeasureWare Server Agent for s800 11.0 B6192AA B.11.00.10 DCE/9000 Programming & Administration Tools Media and Manuals B6733AA B.11.00.10 DCE/9000 Kernel Threads Support B6848BA 1.4.gm.38.1 Ximian GNOME 1.4 GTK+ Libraries for HP-UX 11.00 and 11i ECSAuxiliary A.03.10 ECS Auxiliary ECSCmgNNMHP11 A.03.10 ECS Config/Mgmt GUI for NNM (including Japanese support) HPUXEng64RT B.11.00.01 English HP-UX 64-bit Runtime Environment HWE1100 B.11.00.0303.4 Hardware Enablement Patches for HP-UX 11.00, March 2003 Ignite-UX-11-00 B.4.1.61 HP-UX Installation Utilities for Installing 11.00 Systems J5315AA B.06.31.00 OV NNM Enterprise NNMEngHP11Doc B.06.31.00 Network Node Manager Online Runtime Manuals - English version NNMEngHP11full B.06.31.00 Network Node Manager NNMEngHP11man B.06.31.00 Network Node Manager Man Pages OnlineDiag B.11.00.24.11 HPUX 11.0 Support Tools Bundle, Mar 2003 QPK1100 B.11.00.60.4 Quality Pack for HP-UX 11.00, March 2003 Sendmail-811 B.11.00.01.001 Sendmail-8.11.1 special release upgrade UXCoreMedia B.11.00.02 HP-UX Media Kit (Reference Only. See Description) UnlimUserLic B.11.00.02 HP-UX Unlimited-User License XSWGR1100 B.11.00.47.08 General Release Patches, November 1999 (ACE) # # Product(s) not contained in a Bundle: # gcc 3.3.2 gcc glib 1.2.10 glib nxpsL305:root:/nagios-plugins-1.4.0alpha1 # Have a nice day. James Eastman --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.707 / Virus Database: 463 - Release Date: 6/15/2004 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Jul 2 00:24:46 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 2 Jul 2004 08:24:46 +1000 Subject: "Site logon simulator" (Was: Newbie question about Nagios) In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Thu, Jul 01, 2004 at 08:45:10AM -0700 References: Message-ID: <20040702082445.A237@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Thu, Jul 01, 2004 at 08:45:10AM -0700, nagios-users-request at lists.sourceforge.net wrote: > From: "Igor Sergejeff" > Date: Thu, 1 Jul 2004 12:23:49 -0700 > Subject: [Nagios-users] "Site logon simulator" (Was: Newbie question about Nagios) > > Hello, > > Thanks for reply. I actually need to log into the website through login > form. ... Yep. You need to roll your own plugin to simulate a users . siting each web form in turn . filling out the form appropriately . seeing the next expected page show up Tools to do this include :- Perl + HTTP::Recorder + WWW::Mechanize (all from CPAN; Perl >= 5.006) HTTP::Recorder will make a machine redable record of your browser session with the web server (recording all the stuff you send and what it gets back) suitable for input to WWW::Mechanize, which will play it back. Both these modules are popular, well conceived and actively developed. You can find a write up of HTTP::Recorder on http://Perl.COM/ A far cruder (more limitations and more work required by you) approach is Nagios::WebTransact (I use this method and it is effective on _common_ forms of this sort). Other approaches that _may_ work with fill out forms are lynx and webget. I generally only use these to examine the contents of single page resulting from a GET request (since lynx can parse the HTML into text, this is sometimes more useful than check_http). > Any ideas will welcome. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From benny at bennyvision.com Fri Jul 2 00:48:20 2004 From: benny at bennyvision.com (C. Bensend) Date: Thu, 1 Jul 2004 17:48:20 -0500 (CDT) Subject: Nagios / NRPE install on HP-UX 11.o and 11i In-Reply-To: <0I0700BF81XCKT@emmsvr02.prod.fedex.com> References: <0I0700BF81XCKT@emmsvr02.prod.fedex.com> Message-ID: <56505.63.227.74.41.1088722122.squirrel@webmail.stinkweasel.net> > I hope this message finds you doing well. I am trying to install the > Nagios > NRPE daemon and Nagios plugins on a HP-UX machine and am having no > success. > I?ve read the FAQs at nagios.org and it says my ?make? error is probably > caused by not having the glibc installed. I have installed the glibc and > gmake on my HP-UX box and still I get the make errors. I have also > searched > the mailing list archives and have not found the magical HP-UX install > instructions. If anyone knows the compile/install magic/magical > documentation place for HP-UX, please point me to that spot so I can get > my > read/learn on. Thanks in advance for your help. Here?s a listing of my > swlist so you can see the HP-UX packages I have installed on this box: Ummm... I don't see gmake anywhere there. What does: which gmake return? How about 'which gcc' ? Benny -- "You were doing well until everyone died." -- "God", Futurama ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From durist at euler.cr.usgs.gov Thu Jul 1 00:29:44 2004 From: durist at euler.cr.usgs.gov (Dan Urist) Date: Wed, 30 Jun 2004 16:29:44 -0600 Subject: smartmontools In-Reply-To: <20040630200259.40838.qmail@restricted.dyndns.org> References: <28A0F72B3EA0BC47A65E8E67CC1912821204EF@srv3057000552.ville.quebec.qc.ca> <20040630200259.40838.qmail@restricted.dyndns.org> Message-ID: <9632.89566939256$1088724119@news.gmane.org> On Wednesday 30 June 2004 14:02, Neil wrote: > This is cool. What if we want to monitor on Solaris? Here you go-- note that the version of smartmontools I'm running on Solaris (v. 5.30) has different args than the linux version that ships with redhat; also, does anybody know if smartmontools will work for FCAL disks on the v880? ================== #!/usr/local/bin/perl -w my $SMARTCTL = "/usr/local/smartmontools/sbin/smartctl"; open(CFGADM,"/usr/sbin/cfgadm -al|") or die "$0: Could not open pipe to cfgadm"; my @disks; my $disk; my @baddisks; while( my $line = ){ if( $line =~ /dsk\/(\S+)\s+disk/ ){ system("$SMARTCTL -Hq silent /dev/rdsk/" . $1 . "s2"); push(@baddisks, $1) if $?; } } if( scalar(@baddisks) ){ print "Bad Disks: ", join(",", at baddisks), "\n";; exit 1; } ================== Actually, because I'm lazy and want to have a single directory of scripts to distribute, I have all my linux-specific scripts named e.g. "chksmart.linux" and the solaris-specific scripts named e.g. "chksmart.solaris", and then I have a script called "launch" that is symlinked to "chksmart" (or any other scriptname that has an OS-specfic version, but without the extension); launch figures out what OS it's running on and calls the appropriate script. Here's launch: ================== #!/bin/sh case `uname` in Linux) exec $0.linux $@ ;; SunOS) exec $0.solaris $@ ;; *) echo "Unknown operating system!" exit 1 ;; esac ================== -- Dan Urist durist at euler.cr.usgs.gov ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From phessler at triplecanopy.com Fri Jul 2 01:32:48 2004 From: phessler at triplecanopy.com (Peter Hessler) Date: Thu, 1 Jul 2004 16:32:48 -0700 Subject: Problems with cgi access In-Reply-To: <20040701132135.41a76731@leela.theapt.org> References: <20040628113930.36e109b5@leela.theapt.org> <37574.134.244.172.10.1088450046.squirrel@webmail.stinkweasel.net> <20040628222140.6c57bfeb@leela.theapt.org> <20040630114849.3ad22bc8@leela.theapt.org> <20040701132135.41a76731@leela.theapt.org> Message-ID: <20040701163248.3beb7e2c@leela.theapt.org> Found it. Write permissions on /var/log/nagios prevented the status.log file from being created. I changed ownership of the directory, and it was created and all is good. Thanks for the help. -- In Lexington, Kentucky, it's illegal to carry an ice cream cone in your pocket. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From michael at halligan.org Fri Jul 2 01:48:35 2004 From: michael at halligan.org (Michael T. Halligan) Date: Thu, 1 Jul 2004 16:48:35 -0700 (PDT) Subject: Delayed notifications. In-Reply-To: <20040629224105.78781.qmail@web53504.mail.yahoo.com> References: <20040629224105.78781.qmail@web53504.mail.yahoo.com> Message-ID: I'm running the 1.2.0 Nagios rpms from DAG for RHEL3 right now. I'm wondering if there's just some problem with nagios 1.2.0's notifications? Notifications have been semi-flaky at best. I had a server go down yesterday morning at 4am. Nagios noted this, marked an alert, but didn't send out a notification until 1PM. Embarrassingly, we only knew the server was down because an affected user called about it. I'm finding this really hard to track, because the archived logs don't seem to have a time stamp. When I look on the web interface in Notification History for this host, it only shows notifications at 1Pm.. Clearly Nagios saw the alert but delayed 10 hours in sending out a notification. My configuration file for this server is as follows : define host { host_name some.server.name parents lbprod-gw-b.mypointsbeta.com alias some address IP.ADDR check_command check-host-alive max_check_attempts 3 checks_enabled 1 failure_prediction_enabled 1 retain_status_information 1 retain_nonstatus_information 1 notification_interval 120 } define service { host_name some.server.name service_description Connectivity check_command check_ping max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options c,r contact_groups admin } define service { host_name some.server.name service_description SSH check_command check_ssh max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options c,r contact_groups admin } define service { host_name some.server.name service_description HTTP check_command check_http max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options c,r contact_groups admin } define service { host_name some.server.name service_description https-tcp-443 check_command check_tcp!443 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options c,r contact_groups admin } ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From pikelner at rogers.com Fri Jul 2 06:18:39 2004 From: pikelner at rogers.com (Frank Pikelner) Date: Fri, 2 Jul 2004 00:18:39 -0400 Subject: Modify checkdisk script Message-ID: <002601c45feb$a7296e00$98aa6418@netcraftinc.int> Hello, I'm monitoring a Dell server and use check_disk script with an OID that returns % disk free. I would like to reverse the value to provide % disk used ( 1 - % disk free), but am not sure how to modify the script. Any help would be appreciated. Thank you in advance, Frank Pikelner at rogers.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From neil-on-nagios at restricted.dyndns.org Fri Jul 2 08:48:00 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 02 Jul 2004 01:48:00 -0500 Subject: setting a schedule on check Message-ID: <20040702064801.93985.qmail@restricted.dyndns.org> Hey guys, I would like to setup a check that should only be executed between 12:45am and 1:00am, daily. How can I do this? Thanks. Neil ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Christian.Bock at liz.lsa-net.de Fri Jul 2 09:16:41 2004 From: Christian.Bock at liz.lsa-net.de (Bock, Christian) Date: Fri, 2 Jul 2004 09:16:41 +0200 Subject: Can't get Nagios up ( again ) Message-ID: <53B7932F94C4DE49B3A9AD98715FCF2C1D4007@lrpc79.liz.lsa-net.de> Hello, it seems I am the only one having that problems since I did not find any previous mail soliving that problem: I added mysql-support to nagios. After restart of nagios had to check all services again, which did not surprise me, because no status data were in the database yet. But after restarting it again nagios does not seem to read these values and start checking services from scratch ( pending ) again. That results in a behaviour of delays of more than 2300 seconds. I never expirienced these high delays before. Strange now is that even after redoing the installation without mysql the problem persists. How to start that system with 321 services and 215 hosts? At the same time I introduced Nagmin, that's the reson for the lots of config files in nagios.cfg maybe that can cause the problem? Thanks a lot fo help :-) chris ---------------------------------------------------- The results from the -s option is as SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 321 Total hosts: 215 Command check interval: -1 sec Check reaper interval: 10 sec Inter-check delay method: SMART Average check interval: 299.439 sec Inter-check delay: 0.933 sec Interleave factor method: SMART Average services per host: 1.493 Service interleave factor: 2 Initial service check scheduling info: -------------------------------------- First scheduled check: 1088752094 -> Fri Jul 2 09:08:14 2004 Last scheduled check: 1088752393 -> Fri Jul 2 09:13:13 2004 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 11 Recommend value: 33 nagios.cfg log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/Command.cfg cfg_file=/usr/local/nagios/etc/Contact.cfg cfg_file=/usr/local/nagios/etc/ContactGroup.cfg cfg_file=/usr/local/nagios/etc/ContactTemplate.cfg cfg_file=/usr/local/nagios/etc/Host.cfg cfg_file=/usr/local/nagios/etc/HostDependency.cfg cfg_file=/usr/local/nagios/etc/HostEscalation.cfg cfg_file=/usr/local/nagios/etc/HostGroup.cfg cfg_file=/usr/local/nagios/etc/HostGroupEscalation.cfg cfg_file=/usr/local/nagios/etc/HostTemplate.cfg cfg_file=/usr/local/nagios/etc/Service.cfg cfg_file=/usr/local/nagios/etc/ServiceDependency.cfg cfg_file=/usr/local/nagios/etc/ServiceEscalation. resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.log nagios_user=nagios nagios_group=nagcmd check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=0 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 log_passive_service_checks=1 inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 sleep_time=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/nagios/var/status.sav retention_update_interval=60 use_retained_program_state=1 interval_length=60 use_agressive_host_checking=0 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=1 obsess_over_services=1 check_for_orphaned_services=1 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=de illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> admin_email=Christian.Bock at liz.lsa-net.de admin_pager=pagenagios xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log xpdfile_host_perfdata_template=$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA$ xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log xpdfile_service_perfdata_template=$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$O UTPUT$\t $PERFDATA$ ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From richard.luys at vanderlet.nl Fri Jul 2 10:58:27 2004 From: richard.luys at vanderlet.nl (Richard Luys) Date: Fri, 02 Jul 2004 10:58:27 +0200 Subject: Nagios / NRPE install on HP-UX 11.o and 11i In-Reply-To: <0I0700BF81XCKT@emmsvr02.prod.fedex.com> References: <0I0700BF81XCKT@emmsvr02.prod.fedex.com> Message-ID: On Thu, 01 Jul 2004 17:16:28 -0500, James Eastman wrote: > All: Hi James, > > > > I hope this message finds you doing well. I am trying to install the > Nagios > NRPE daemon and Nagios plugins on a HP-UX machine and am having no > success. If you really want to compile Nagios and the plugins yourself, I cannot help you, but wish you all the luck you need (As far as I understood it's not an easy task). Instead of 'reinventing the weel' you may take a look at this site: http://www.bennyvision.com/projects/nagios/index.php It contains complete depots for HP-UX 10.20, 11 and 11i; including some plugins. I've installed it and it works fine. If you're really stuck, I suggest you take a look there. --- Richard Luys Unix specialist Vanderlet B.V. The Netherlands ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From richard.luys at vanderlet.nl Fri Jul 2 11:06:03 2004 From: richard.luys at vanderlet.nl (Richard Luys) Date: Fri, 02 Jul 2004 11:06:03 +0200 Subject: setting a schedule on check In-Reply-To: <20040702064801.93985.qmail@restricted.dyndns.org> References: <20040702064801.93985.qmail@restricted.dyndns.org> Message-ID: On Fri, 02 Jul 2004 01:48:00 -0500, Neil wrote: > Hey guys, I would like to setup a check that should only be executed > between 12:45am and 1:00am, daily. How can I do this? Thanks. Neil > Create an entry in 'timeperiods.cfg' specific for this task. Use the 'check_period' directive with the name of the defined timeperiod as parameter in the host or service check you like to execute in that specific timeperiod. This should work if Nagios is running smoothly without great delays. If Nagios is too busy during that timeperiod to run the scheduled checks, it's possible that the check is delayed or not run at all... Other option: Use a cron-job to schedule the check, and let it send it's result to Nagios as a passive check. See the Nagios documentation for details on Passive Checks. Hope this answers your question, or at least gives you some hints on how to proceed... --- Richard Luys Unix Specialist Vanderlet B.V. The Netherlands ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From verdon at cict.fr Fri Jul 2 11:15:50 2004 From: verdon at cict.fr (carole verdon) Date: Fri, 02 Jul 2004 11:15:50 +0200 Subject: Pb with hostexinfo Message-ID: <40E527C6.1080109@cict.fr> Hi, I use nagios 1.2 and nagmin 2.1.0 to configure hosts and services on solaris boxe. I compiled nagios with mysql database support using the option --with-mysql-xdata. I see my hosts in statusmap but when i want to use hostextinfo to add an image or coordinates, nothing happens. I defined in table 'Host Extended Information' of Nagmin, those hosts: *Template* *Host Name* *Notes URL* *Icon Image* *Icon Image Alt* *VRML Image* *Statusmap Image* *2D Coordinates* *3D Coordinates* *Comment* aurore.cict.fr sun40.gif Sun Server sun.gd2 telline.cict.fr hpux.png HPUX Server hpux.gif 100,60 vae.cict.fr linux40.jpg Linux Server linux40.png 50,10 I have got serveral problems: 1. The gd2 images don't appear. If i execute ldd statusmap.cgi, it find the gd library libmysqlclient.so.10 => /usr/local/mysql/lib/mysql/libmysqlclient.so.10 libgd.so.2 => /usr/local/lib/libgd.so.2 libiconv.so.2 => /usr/local/lib/libiconv.so.2 libz.so => /usr/local/lib/libz.so libm.so.1 => /usr/lib/libm.so.1 libpng.so.3 => /usr/local/lib/libpng.so.3 libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 libc.so.1 => /usr/lib/libc.so.1 libz.so.1 (SUNW_1.1) => (version not found) libcrypt_i.so.1 => /usr/lib/libcrypt_i.so.1 libgen.so.1 => /usr/lib/libgen.so.1 libsocket.so.1 => /usr/lib/libsocket.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libXpm.so.4.11 => /usr/local/lib/libXpm.so.4.11 libX11.so.4 => /usr/lib/libX11.so.4 libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 libpng12.so.0 => /usr/local/lib/libpng12.so.0 libz.so.1 (SUNW_1.1) => (version not found) libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libmp.so.2 => /usr/lib/libmp.so.2 libXext.so.0 => /usr/openwin/lib/libXext.so.0 libz.so.1 (SUNW_1.1) => (version not found) /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1 I have even made this command: crle -l /usr/lib:/usr/local/lib, but that didn't change nothing # crle Configuration file [3]: /var/ld/ld.config Default Library Path (ELF): /usr/lib:/usr/local/lib Trusted Directories (ELF): /usr/lib/secure (system default) Command line: crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib 2. I create a new gd2 image in /usr/local/nagios/share/images/logos : pngtogd2 sun40.png sun.gd2 0 1 When i wanted to choose this new image in the 'Statusmap Image' field of nagmin, i didn't see it. I realized the directory that took into account was /opt/webmin/nagmin/images/logos. Why?????? 3. If i edit the /usr/local/nagios/etc/HostExtInfo.cfg, i see that extended informations of hosts are well created: ## NagMIN Configuration File (/usr/local/nagmin-2.1.0/nagios/HostExtInfo.cfg) for Host ## Generated Thu Jul 1 17:31:44 2004 ## NagMIN Configuration File (/usr/local/nagmin-2.1.0/nagios/HostExtInfo.cfg) for HostExtInfo ## Generated Thu Jul 1 17:31:44 2004 define hostextinfo { host_name aurore.cict.fr icon_image sun40.gif icon_image_alt Sun Server statusmap_image sun.gd2 } define hostextinfo { host_name telline.cict.fr icon_image hpux.png icon_image_alt HPUX Server statusmap_image hpux.gif 2d_coords 100,60 } define hostextinfo { host_name vae.cict.fr icon_image linux40.jpg icon_image_alt Linux Server statusmap_image linux40.png 2d_coords 50,10 } ## NagMIN Configuration File (/usr/local/nagmin-2.1.0/nagios/HostExtInfo.cfg) for HostExtTemplate ## Generated Thu Jul 1 17:31:44 2004 4. Another problem with nagmin is that if i want to modify coordinates of one host for example, that don't works. When i click on 'save' button, nothing changes. 5. I have a question. Is it possible in status map that one host becomes red when a service becomes critical or yellow when it becomes in warning? I cannot any more what make. Can someone help me, please? Thanks. Carole. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: sun40.gif Type: image/gif Size: 1903 bytes Desc: not available URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- gd2((?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????uuz??????????????????????????????????????????????????????????????????????????????????????????????????????????????????UUZ?????????||???????????????????????????????????????????????????????????????????????????????????????????????????????UUZ??????JJ???????xx}????????????????????????????????????????????????????????????????????????????????????????????????TTY??????BB~==|HH???????xx}??????????????????????????????????????????????????????????????????????????????????????????TTY??????DD?``????``?BB??????||?????????????????????????????????????????????????????????????????????????????????????NNT??????BB~gg??????????xx?==|??????uuz??????????????????????????????????????????????????????????????????????????????NNT??????DD?HH????????????????{{?@@}??????uuz????????????????????????????????????????????????????????????????????????JJN??????BBFF?TT??????????????????????==|??????uuz??????????????????????????????????????????????????????????????????JJN??????BBPP????rr?????????????????????????@@}??????nnr????????????????????????????????????????????????????????????FFJ??????@@}PP??????????xx?????????????????????????BB??????sst??????????????????????????????????????????????????????FFJ??????BBUU????????????????tt??????????????????????ii?@@}??????jjm????????????????????????????????????????????????FFJ??????@@}NN?xx???????????????????tt???????????????????{{?PP?BB~??????nnr??????????????????????????????????????????BBH??????BBPP????????????????????????????tt?????????????xx???????UU?BB??????jjm????????????????????????????????????BBF??????BB~NN??????????rr??????????????????????tt???????}}?????????????TT?BB~??????eei??????????????????????????????@@B??????DD?NN????????????????????????????????????????ZZ?ww???????????????????UU?FF???????eei????????????????????????@@B??????BBLL??????????????????????DD}nn????????????????UU??????????????????????ZZ?DDBB??????``e??????????????????==@??????DD?LL??????????????????????nn???????????????????????????????????????????{{???????ss?DD???????``e????????????@@B??????FF?JJ??????????????????????xx?????????????jj????ii??????????????????????{{?????????????ee?BB??????eei??????TTT??????FF?@@}?????????????????????xx????????????????xx?55wZZ????????????????????????????????????????=={FF?????????????==@??????NN?==|??????????????????xx???????????????????``?LL?ZZ????????????????}}??????????????????????;;z??????BBH???????????????NN?HH?????????????ww???????????????????????????????????????????ww??????????????????????HH???????BBH]]]?????????nnr??????UU?FF?xx?tt?nn???????????????????}}????????????????ee?xx?nn??????????????????????FF???????BBFTTT???????????????jjm??????UU?==|UU??????????????????????..r??????????????????==|?????????????????????FF???????+++]]]?????????????????????sstxxx???UU?JJ??????????????????????ee????????????????????????????????????????FF???????++3sst??????????????????????????????'''xxx???PP?FF??????????????????????ww??????????????????????nn??????????FF???????++3xxx????????????????????????????????????'''{{{???PP?JJ??????????????????????ww????????????????????????????FF???????++3{{{??????????????????????????????????????????'''~~~???NN?DD?nn???????????????????ww???????????????????ww?BB??????..5~~~????????????????????????????????????????????????'''~~~???NN?LL??????????????????????ww????????????????NN???????..5{{{??????????????????????????????????????????????????????'''~~~???NN?HH??????????????????????xx??????????BB??????..5???????????????????????????????????????????????????????????????+++??????NN?JJ??????????????????????gg????TT???????55;?????????????????????????????????????????????????????????????????????+++??????LL?JJ???????????????????UU?;;z??????55;???????????????????????????????????????????????????????????????????????????..3??????LL?JJ????????????????DD??????55;?????????????????????????????????????????????????????????????????????????????????+++??????JJ?JJ??????????HH???????;;B???????????????????????????????????????????????????????????????????????????????????????555??????NN?BB~BB~;;z??????;;B?????????????????????????????????????????????????????????????????????????????????????????????..3??????NN?@@}??????;;B???????????????????????????????????????????????????????????????????????????????????????????????????555??????ii????``e~~~??????????????????????????????????????????????????????????????????????????????????????????????????????555??????eeijjm????????????????????????????????????????????????????????????????????????????????????????????????????????????TTTTTY||}?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? -------------- next part -------------- A non-text attachment was scrubbed... Name: hpux.png Type: image/png Size: 662 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: hpux.gif Type: image/gif Size: 1097 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: linux40.jpg Type: image/jpeg Size: 1666 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: linux40.png Type: image/png Size: 1972 bytes Desc: not available URL: From verdon at cict.fr Fri Jul 2 14:22:51 2004 From: verdon at cict.fr (carole verdon) Date: Fri, 02 Jul 2004 14:22:51 +0200 Subject: Socket timeout Message-ID: <40E5539B.7070206@cict.fr> Hi, I receive a lot of notifications of services that indicate a timeout problem: CHECK_NRPE: Socket timeout after 10 seconds. So, for certain services, i put the timeout to 20s but that don't change anything. I receive always critical alerte with this message: CHECK_NRPE: Socket timeout after 20 seconds. Why do this happen? Is it possible that comes from the value of max_concurrent_checks (is set to 0 for the moment)? Any help would be appreciated. Carole. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From h.baecker at ecofis.de Fri Jul 2 15:44:26 2004 From: h.baecker at ecofis.de (h.baecker at ecofis.de) Date: Fri, 2 Jul 2004 15:44:26 +0200 Subject: WG: Nagios schedule question Message-ID: Hi, my last comment about the problem that I thought that Nagios is not able to start more than 60 events within one minute was not right. It seems that our Nagios have problems with starting the count of events in a Event Loop that it should start. I think (please correct me if I am wrong) that Nagios calculates the count of events per event loop out of the hole services and the average check interval. The Nagios "scheduler" now have his event list that look semilar like this: 13:00:00 - Start for example 50 Service Checks 13:00:01 - Reaper + other service checks starts 13:00:02 - Nagios could not start all the events out of the last loop and will do this now, means Nagios has now for example 50 regular NOW checks + 20 out of the last loop... and so on, and so on... out of this theory the latency for each service check will increase. If I am right, how can I tune up my Nagios to start the correct number of Service Checks / Events for each loop? Sorry for my bad english, I hope that someone understand me. Hendrik ----- Forwarded by Hendrik Baecker/ECODOR/ECOFIS on 02.07.2004 15:32 ----- h.baecker at ecofis.de Sent by: nagios-users-admin at lists.sourceforge.net 29.06.2004 12:49 To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] Nagios schedule question Hi List, I have some problems with our Nagios and I think the problems comes from the scheduler. But before some Info: OS: Suse Linux Kernel: 2.4.[unknown] CPU: 2x Intel Intel(R) Xeon(TM) CPU 2.00GHz Mem: 2.587.208K Nagios Version 1.1 Hosts: 616 Services: 2684 Average Service Check Intervall ~ 350 seconds. With the option inter_check_delay_method=s our nagios is not able to check all the services within 5 minutes (just 70%) and I can see out of the perfdata many latency about 100 up to 350 seconds. I tried to inter_check_delay_method=0.01 without any good result but an inter_check_delay_method=1.00 slows down nagios with his checks but doesn't throw out any latency. I think because of the unsigned long int for the time_t I guess that Nagios is not able to do more schedule events than 60 in 60 seconds. What can be done to screw up my Nagios Performance? Any ideas? Regards Hendrik -------------- next part -------------- An HTML attachment was scrubbed... URL: From tonij67 at hotmail.com Fri Jul 2 16:37:33 2004 From: tonij67 at hotmail.com (Tony Tissic) Date: Fri, 02 Jul 2004 09:37:33 -0500 Subject: At my wits end with GD libraries! It should work! Message-ID: Hi all, I have Nagios running on a Suse system which appears to have everything I need to get the statusmap/trends cgis working, but any option I give configure STILL complains with : *** GD, PNG, and/or JPEG libraries could not be located... ********* Here is what I have verified: JPEG: jpeg-6b-731 libjpeg-6.2.0-731 (some researched showed that libjpeg is supposed to include the devel. libraries for JPEG; is this true?) PNG: libpng-1.2.5-182.3 libpng-devel-1.2.5-11tr GD: gd-2.0.22-61 php4-gd-4.3.4-26 gdb-6.1-1 Per the instructions I did this: ldconfig make clean (more times than I can remember) configure configure --with-gd-lib --with-gd-inc configure /configure --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include /configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include The only thing I am not real clear on is the location of these mysterious libraries; how do I know if its in /usr/local or /usr/lib or /some_other_directory? Any info helpful here, _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar ? get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From verdon at cict.fr Fri Jul 2 16:47:32 2004 From: verdon at cict.fr (carole verdon) Date: Fri, 02 Jul 2004 16:47:32 +0200 Subject: Socket timeout In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E068DC0@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E068DC0@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <40E57584.4000403@cict.fr> There isn't a firewall between the hosts. This problem arrives only sometimes. For example for one particular host, ***** Nagios ***** Notification Type: RECOVERY Service: Total Process Host: gw3-mail.cict.fr Address: x.x.x.x State: OK Date/Time: Thu Jul 1 00:15:52 MEST 2004 Additional Info: PROCS OK: 118 processes ***** Nagios ***** Notification Type: PROBLEM Service: Total Process Host: gw3-mail.cict.fr Address: x.x.x.x State: CRITICAL Date/Time: Fri Jul 2 12:30:20 MEST 2004 Additional Info: CHECK_NRPE: Socket timeout after 20 seconds. ***** Nagios ***** Notification Type: RECOVERY Service: Total Process Host: gw3-mail.cict.fr Address: x.x.x.x State: OK Date/Time: Fri Jul 2 12:40:46 MEST 2004 Additional Info: PROCS OK: 109 processes Sand Philipp wrote: >I guess that you have a firewall between the hosts, make sure the Port >is open for NRPE. > > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf >>Of carole verdon >>Sent: Friday, July 02, 2004 2:23 PM >>To: Nagios Users >>Subject: [Nagios-users] Socket timeout >> >>Hi, >> >>I receive a lot of notifications of services that indicate a >>timeout problem: >> >>CHECK_NRPE: Socket timeout after 10 seconds. >> >>So, for certain services, i put the timeout to 20s but that >>don't change anything. I receive always critical alerte with >>this message: >> >>CHECK_NRPE: Socket timeout after 20 seconds. >> >>Why do this happen? >> >>Is it possible that comes from the value of >>max_concurrent_checks (is set to 0 for the moment)? >> >>Any help would be appreciated. >> >>Carole. >> >> >> >> >>------------------------------------------------------- >>This SF.Net email sponsored by Black Hat Briefings & Training. >>Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >>digital self defense, top technical experts, no vendor >>pitches, unmatched networking opportunities. Visit >>www.blackhat.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 >> >> >> > > >************************************************ > >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. > > > > > -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From gebhardt at hrz.uni-marburg.de Fri Jul 2 17:00:25 2004 From: gebhardt at hrz.uni-marburg.de (Gebhardt Thomas) Date: Fri, 2 Jul 2004 17:00:25 +0200 Subject: Can't get process_performance_data working In-Reply-To: References: Message-ID: <200407021700.28163.gebhardt@hrz.uni-marburg.de> Hi, thanks for your help! I finally found that a debian specific patch brakes performance data handling. Omitting that patch it works like designed :-) I submitted a bug report to the debian bug tracking system (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=257289). Cheers, Thomas ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From novickj at toysrus.com Fri Jul 2 17:25:48 2004 From: novickj at toysrus.com (Novick, Jeff) Date: Fri, 2 Jul 2004 11:25:48 -0400 Subject: At my wits end with GD libraries! It should w ork! Message-ID: <7CB57EABD6C23342AA8282DA820698990A8FDEFE@msg01psp.tru.com> Hi, Tony, On a SUSE system (or any other RPM distro) RPM will tell you where your libraries are installed. >From a command line: rpm -qil The following example is from my RH 6.2 (old, but still running Netsaint) system. Your locations will most likely will different: #rpm -qil libjpeg-devel Name : libjpeg-devel Relocations: (not relocateable) Version : 6b Vendor: Red Hat, Inc. Release : 10 Build Date: Fri 04 Feb 2000 09:54:42 PM EST Install date: Tue 22 Aug 2000 11:45:09 AM EDT Build Host: porky.devel.redha t.com Group : Development/Libraries Source RPM: libjpeg-6b-10.src.rpm Size : 405010 License: distributable Packager : Red Hat, Inc. Summary : Development tools for programs which will use the libjpeg library. Description : The libjpeg-devel package includes the header files and static libraries necessary for developing programs which will manipulate JPEG files using the libjpeg library. If you are going to develop programs which will manipulate JPEG images, you should install libjpeg-devel. You'll also need to have the libjpeg package installed. /usr/doc/libjpeg-devel-6b /usr/doc/libjpeg-devel-6b/coderules.doc /usr/doc/libjpeg-devel-6b/libjpeg.doc /usr/include/jconfig.h /usr/include/jerror.h /usr/include/jmorecfg.h /usr/include/jpeglib.h /usr/lib/libjpeg.a /usr/lib/libjpeg.la /usr/lib/libjpeg.so Jeff -----Original Message----- From: Tony Tissic [mailto:tonij67 at hotmail.com] Sent: Friday, July 02, 2004 10:38 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] At my wits end with GD libraries! It should work! Hi all, I have Nagios running on a Suse system which appears to have everything I need to get the statusmap/trends cgis working, but any option I give configure STILL complains with : *** GD, PNG, and/or JPEG libraries could not be located... ********* Here is what I have verified: JPEG: jpeg-6b-731 libjpeg-6.2.0-731 (some researched showed that libjpeg is supposed to include the devel. libraries for JPEG; is this true?) PNG: libpng-1.2.5-182.3 libpng-devel-1.2.5-11tr GD: gd-2.0.22-61 php4-gd-4.3.4-26 gdb-6.1-1 Per the instructions I did this: ldconfig make clean (more times than I can remember) configure configure --with-gd-lib --with-gd-inc configure /configure --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include /configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include The only thing I am not real clear on is the location of these mysterious libraries; how do I know if its in /usr/local or /usr/lib or /some_other_directory? Any info helpful here, _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 ======================================================================== This email message is for the sole use of the intended recipient (s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. To reply to our email administrator directly, send an email to EmailAdmin at toysrus.com. Toys "R" Us, Inc. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From christopher at bergeron.com Fri Jul 2 17:53:34 2004 From: christopher at bergeron.com (Christopher M Bergeron) Date: Fri, 02 Jul 2004 11:53:34 -0400 Subject: Best way to organzie data... In-Reply-To: <7CB57EABD6C23342AA8282DA820698990A8FDEFE@msg01psp.tru.com> References: <7CB57EABD6C23342AA8282DA820698990A8FDEFE@msg01psp.tru.com> Message-ID: <40E584FE.3070701@bergeron.com> Does anyone have any suggestions on how to logically group "things" in nagios? We have 2 datacenters with several racks at each data center. Each rack has several chassis' that contain about 24 blade-servers each. Should I group my data based on datacenter (as hostgroups) and within those put the racks, and then the blades? Should I create hostgroups based on services (for example, a disk space hostgroup, an apache hostgroup, etc)? Or should I create hostgroups based on customers? What are you guys doing for large scale network monitoring - and how should I arrange my hostgroups so they make the most sense? Thanks in advance! Chris Bergeron ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jason-sourceforge at microlnk.net Fri Jul 2 18:00:51 2004 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Fri, 02 Jul 2004 11:00:51 -0500 Subject: "max_check_attempts" being ignored? Message-ID: <40E586B3.3070705@microlnk.net> We've been using Nagios for awhile, but it seems to ignore our "max_check_attempts" setting. Why would it send out warnings after every host or service check failure? Can anyone offer suggestions as to how I'd fix this? We're using Nagios 1.2 on a Fedora Core 1 system. I have Webmin and NagMIN 2.1 to allow web-based administration of Nagios. I notice that the cfg files say Flap Detection is enabled, even though NagMIN is supposed to be set to disable this. Would Flap Detection cause trouble with max_check_attempts? Or what? Thanks very much for any assitance that can be offered! Here are the relevant config files... HostTemplate.cfg ---------------- ## NagMIN Configuration File (/usr/local/nagmin/nagios/HostTemplate.cfg) for HostTemplate ## Generated Fri Jul 2 10:31:34 2004 define host { name generic-host max_check_attempts 8 notification_interval 0 notification_options d,r notification_period 24x7 notifications_enabled 1 check_command check-host-alive checks_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 event_handler_enabled 1 register 0 } ServiceTemplate.cfg ------------------- ## NagMIN Configuration File (/usr/local/nagmin/nagios/ServiceTemplate.cfg) for ServiceTemplate ## Generated Fri Jul 2 10:31:34 2004 define service { name generic-service check_command check-host-alive check_period 24x7 notification_period 24x7 is_volatile 0 max_check_attempts 8 normal_check_interval 2 retry_check_interval 1 notification_interval 0 notification_options c,r active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } [SNIP: REMAINDER OF SERVICETEMPLATE.CFG] Host.cfg -------- ## NagMIN Configuration File (/usr/local/nagmin/nagios/Host.cfg) for Host ## Generated Fri Jul 2 10:31:25 2004 define host { use generic-host host_name NAME-REMOVED alias ALIAS REMOVED address IP ADDRESS REMOVED parents PARENT REMOVED check_command check-host-alive max_check_attempts 8 notification_interval 0 notification_period 24x7 notification_options d,r # comment COMMENT REMOVED } [SNIP: REMAINDER OF HOST.CFG] Service.cfg ----------- ## NagMIN Configuration File (/usr/local/nagmin/nagios/Service.cfg) for Service ## Generated Fri Jul 2 10:31:34 2004 [SNIP: DNS SERVICE DEFINITION] define service { use generic-service hostgroup_name Customers,Fremont,Lincoln,Mosaic,Omaha,Paypal,Saunders,Tekamah,York service_description PING contact_groups admins check_period 24x7 notification_interval 0 notification_options c,r notification_period 24x7 check_command check-host-alive max_check_attempts 8 normal_check_interval 2 retry_check_interval 1 } [SNIP: REMAINDER OF SERVICE.CFG] -- Jason Byrns System Administrator, MicroLnk ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jeff.vier at tradingtechnologies.com Fri Jul 2 18:06:58 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 02 Jul 2004 11:06:58 -0500 Subject: At my wits end with GD libraries! It should work! In-Reply-To: References: Message-ID: <1088784418.22373.145.camel@localhost> On Fri, 2004-07-02 at 09:37 -0500, Tony Tissic wrote: > *** GD, PNG, and/or JPEG libraries could not be located... ********* > Here is what I have verified: > JPEG: > jpeg-6b-731 > libjpeg-6.2.0-731 > (some researched showed that libjpeg is supposed to include the devel. > libraries for JPEG; is this true?) absolutely. You have to have the -devel side of things to compile against it. > ldconfig This doesn't do anything if you aren't changing your ld.so.conf here's mine: --- /usr/kerberos/lib /usr/X11R6/lib /usr/lib/qt-3.1/lib /usr/local/lib /usr/lib /lib /usr/local/lib/php/lib /usr/lib/qt-3.1/lib --- > make clean (more times than I can remember) if you're reconfiguring, do "make distclean" ("make clean" only removes previously compiled binaries, not config stuff) > configure > configure --with-gd-lib --with-gd-inc > configure > /configure --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include > /configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include I assume you meant ./configure... here is my configure statement (nag v2.0, but still similar), if this helps: ./configure --with-nagios-user=nagios --with-nagios-grp=nagios -- prefix=/usr/local/nagios-2.0 --with-file-perfdata --with-command- user=apache --with-command-grp=apache --with-lockfile=/usr/local/nagios- 2.0/var/nagios.lock --with-init-dir=/etc/init.d --enable-event-broker -- enable-embedded-perl --with-perlcache Note: no explicit library defs. your ld.so.conf should cover this. > The only thing I am not real clear on is the location of these mysterious > libraries; how do I know if its in /usr/local or /usr/lib or > /some_other_directory? try 'find / -name "libpng.so"' (or whatever) ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From dmourati at cm.math.uiuc.edu Fri Jul 2 18:13:24 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 2 Jul 2004 11:13:24 -0500 (CDT) Subject: Best way to organzie data... In-Reply-To: <40E584FE.3070701@bergeron.com> References: <40E584FE.3070701@bergeron.com> Message-ID: Hi Chris, I recommend making hostgroups based on services common among all hosts. For example, all your webservers could be in a www group and then you could create a www service and tie it to the www hostgroup. One neat trick that really helped me was to use register 0 in the hostgroup definition. That way, I can have hosts in multiple hostgroups without double-counting. You could create one-to-one top level groups based on your datacenter locations. Hope that helps. On Fri, 2 Jul 2004, Christopher M Bergeron wrote: > Does anyone have any suggestions on how to logically group "things" in > nagios? We have 2 datacenters with several racks at each data center. > Each rack has several chassis' that contain about 24 blade-servers each. > > Should I group my data based on datacenter (as hostgroups) and within > those put the racks, and then the blades? Should I create hostgroups > based on services (for example, a disk space hostgroup, an apache > hostgroup, etc)? Or should I create hostgroups based on customers? > > What are you guys doing for large scale network monitoring - and how > should I arrange my hostgroups so they make the most sense? > > > Thanks in advance! > Chris Bergeron > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 > --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jason-sourceforge at microlnk.net Fri Jul 2 18:21:00 2004 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Fri, 02 Jul 2004 11:21:00 -0500 Subject: "max_check_attempts" being ignored? In-Reply-To: <40E586B3.3070705@microlnk.net> References: <40E586B3.3070705@microlnk.net> Message-ID: <40E58B6C.1050502@microlnk.net> > We've been using Nagios for awhile, but it seems to ignore our > "max_check_attempts" setting. Why would it send out warnings after > every host or service check failure? Can anyone offer suggestions as to > how I'd fix this? I also notice mention of possibly related items in the Nagios docs. It seems to say any service check failure will cause an immediate host check. And if the host check also fails, the service is put into immediate hard error status regardless of the max_check_attempts setting. This sounds like it would cause an immediate notification every time. Almost all of our monitoring is simple ping tests, so having it ping for both service and host seems redundant to me. Perhaps I should disable service checks completely for any host I'm just pinging? And just rely on host checks for those? Thanks again if anyone can offer input! -- Jason Byrns System Administrator, MicroLnk ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From zsitfa at axelero.hu Fri Jul 2 18:25:50 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 02 Jul 2004 18:25:50 +0200 Subject: Problem with archive Message-ID: <1088785550.1329.20.camel@localhost.localdomain> Hi Everybody! Some weeks ago we talked about nagios-mm-dd-yyyy-23.log style files. I couldn't manage to figure out why nagios creates these files. I wrote a little shell script for this problem. I use it via root crontab. I tested it in every scenario which I can imagine and it seemed to me that it works. If someone needs this I can send it to her/him. Does someone a better solution to this problem? Bye, Tamas! ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From zsitfa at axelero.hu Fri Jul 2 18:28:34 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 02 Jul 2004 18:28:34 +0200 Subject: Sheduled Downtime for hostgroups Message-ID: <1088785714.1332.24.camel@localhost.localdomain> Hi Folks? As I know I can configure downtime for hosts. I tried to put hostgroup name to the text box in the web interface but Nagios refused it. Is it possible somehow to apply a scheduled downtime to an entire hostgroup? Thanks in advance, Tamas! ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jwhittington at tmfloyd.com Fri Jul 2 18:38:10 2004 From: jwhittington at tmfloyd.com (James Whittington) Date: Fri, 02 Jul 2004 12:38:10 -0400 Subject: Dependancy clarification Message-ID: <1088786289.2652.27.camel@localhost.localdomain> I am trying to better understand Host and service dependancies and if I really need them for the way I'm unsing nagios. I am checking a 30 - 40 internet facing services out of a backup internet link we have. Each website I manage is set as a host, the website hostgroup uses check_http to check websites. When there are hickups on the internet link I get 30 or so pages telling me all the sites are down. The current route would be: Nagios - SOHO - Cable modem - Internet - Pix - Websites I have tried to set up service dependancies where each segment of the way depends on each other: Cable Modem depends on SOHO being up Internet depends on Cable modem being up Pix depends on Internet access point being up Websites depend on PIX being up But I disconnected the cable modem and still got notifications that the sites were down. I saw a post with a similar discussion about parents, and it was said that when a host can not be reached because another host in front of it is down, you get a status of unreachable instead of down, so if you didn't notify on unreachable status you would be okay. So what the default behavior of Nagios 1.2 ? If a host goes down, are it's services down or unreachable? Whats the status of a host behind a downed host, is it considered unreachable? Thanks in advance for any guidance you all may provide. James Whittington Systems Administrator TM Floyd & Company ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From zsitfa at axelero.hu Fri Jul 2 18:49:11 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 02 Jul 2004 18:49:11 +0200 Subject: Running eventhandlers at every checks Message-ID: <1088786951.1332.45.camel@localhost.localdomain> Hi Folks! As I know service and host event handler commands are executed when a service or host: 1. is in a "soft" error state 2. initially goes into a "hard" error state 3. recovers from a "soft" or "hard" error state We monitor our customer's resources via a VPN tunnel. When this tunnel brokes the VPN Concentrator host goes down. In this scenario a local host event handler executes and tries to set up the tunnel again. Sometimes this can't be managed. We need an opportunity that this event hndler command executes regurarly (when a service check fails and Nagios tries to see whether the underlying host (VPN Concentrator) is up or down). Is it possible? Thanks in advance, Tamas! ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From leejr at soweb.com.br Fri Jul 2 18:46:11 2004 From: leejr at soweb.com.br (leejr) Date: Fri, 02 Jul 2004 16:46:11 GMT Subject: check_by_ssh Message-ID: <20040702164611.18578.qmail@mail2.bighost.com.br> Good Afternoon, I'm trying to use "check_by_ssh" to check the server in passive way. Could you send me how is the command line and how is the configuration in the file "checkcommands.cfg|services.cfg"? Thanks a lot for your attention. Ira Lee Junior ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From dmourati at cm.math.uiuc.edu Fri Jul 2 18:49:41 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 2 Jul 2004 11:49:41 -0500 (CDT) Subject: Sheduled Downtime for hostgroups In-Reply-To: <1088785714.1332.24.camel@localhost.localdomain> References: <1088785714.1332.24.camel@localhost.localdomain> Message-ID: On 2 Jul 2004, Horvath Tamas wrote: > Is it possible somehow to apply a scheduled downtime to an entire > hostgroup? Yes, go to the main Nagios page and click on the Status Overview bullet item in the left panel. Then find the hostgroup you'd like and click on the hostgroup alias, the text field inside the parens. From there, you will be presented with a list of Hostgroup Commands including "Schedule Downtime for all Hosts in this Hostgroup" and "Schedule Downtime for all Services in this Hostgroup." --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From zsitfa at axelero.hu Fri Jul 2 19:00:30 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 02 Jul 2004 19:00:30 +0200 Subject: Sheduled Downtime for hostgroups In-Reply-To: References: Message-ID: <1088787629.1329.57.camel@localhost.localdomain> Hi! Oooh! I've seen it sometimes ago, but I haven not use it yet. Sorry for this silly question! Thanks a lot!! Bye, Tamas! 2004-07-02, p keltez?ssel Demetri Mouratis ezt ?rta: > On 2 Jul 2004, Horvath Tamas wrote: > > > Is it possible somehow to apply a scheduled downtime to an entire > > hostgroup? > > Yes, go to the main Nagios page and click on the Status Overview bullet > item in the left panel. Then find the hostgroup you'd like and click on > the hostgroup alias, the text field inside the parens. From there, you > will be presented with a list of Hostgroup Commands including "Schedule > Downtime for all Hosts in this Hostgroup" and "Schedule Downtime for all > Services in this Hostgroup." > > --------------------------------------------------------------------- > Demetri Mouratis > dmourati at linfactory.com > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From pla at softflare.com Fri Jul 2 19:09:32 2004 From: pla at softflare.com (Paul L. Allen) Date: Fri, 02 Jul 2004 18:09:32 +0100 Subject: =?iso-8859-1?Q?=22max=5Fcheck=5Fattempts=22?= being ignored? In-Reply-To: <40E58B6C.1050502@microlnk.net> References: <40E586B3.3070705@microlnk.net> <40E58B6C.1050502@microlnk.net> Message-ID: <20040702170932.18816.qmail@minnow.softflare.net> Jason Byrns writes: > This sounds like it would cause an immediate notification every time. > Almost all of our monitoring is simple ping tests, so having it ping for > both service and host seems redundant to me. Perhaps I should disable > service checks completely for any host I'm just pinging? And just rely on > host checks for those? As I recall (I may be wrong, but it's been too long a day for me to go delving to double-check) host checks are not performed unless a service check fails. If there are no service checks then there can be no service check failures and therefore no host checks are made. Keep the service check but change the host check for those hosts to check_dummy. OTOH, if the machine is providing services then you really ought to check them. And if it's not running services but you need to ensure that it is working correctly then checking disk space, memory usage, etc. would be a good idea. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From rms at sibs.pt Fri Jul 2 19:34:53 2004 From: rms at sibs.pt (Rui Miguel Seabra) Date: Fri, 02 Jul 2004 18:34:53 +0100 Subject: At my wits end with GD libraries! It should work! In-Reply-To: <1088784418.22373.145.camel@localhost> References: <1088784418.22373.145.camel@localhost> Message-ID: <1088789693.2703.224.camel@roque> On Fri, 2004-07-02 at 11:06 -0500, jeff vier wrote: > On Fri, 2004-07-02 at 09:37 -0500, Tony Tissic wrote: > > *** GD, PNG, and/or JPEG libraries could not be located... ********* > > Here is what I have verified: > > JPEG: > > jpeg-6b-731 > > libjpeg-6.2.0-731 > > (some researched showed that libjpeg is supposed to include the devel. > > libraries for JPEG; is this true?) > > absolutely. You have to have the -devel side of things to compile > against it. solves nothing. the last stable version of map.cgi doesn't link with gd unless explicitly forced by fiddling with configure... -------------- 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 TWEdwards at cimplify.net Fri Jul 2 20:18:59 2004 From: TWEdwards at cimplify.net (Edwards, Thomas W.) Date: Fri, 2 Jul 2004 13:18:59 -0500 Subject: Best way to organzie data... Message-ID: How do you tie a service to a host group? Are you implying you make one service check and apply it to an entire host group instead of individually? Thanks. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Demetri Mouratis Sent: Friday, July 02, 2004 11:13 AM To: Christopher M Bergeron Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] Best way to organzie data... Hi Chris, I recommend making hostgroups based on services common among all hosts. For example, all your webservers could be in a www group and then you could create a www service and tie it to the www hostgroup. One neat trick that really helped me was to use register 0 in the hostgroup definition. That way, I can have hosts in multiple hostgroups without double-counting. You could create one-to-one top level groups based on your datacenter locations. Hope that helps. On Fri, 2 Jul 2004, Christopher M Bergeron wrote: > Does anyone have any suggestions on how to logically group "things" in > nagios? We have 2 datacenters with several racks at each data center. > Each rack has several chassis' that contain about 24 blade-servers each. > > Should I group my data based on datacenter (as hostgroups) and within > those put the racks, and then the blades? Should I create hostgroups > based on services (for example, a disk space hostgroup, an apache > hostgroup, etc)? Or should I create hostgroups based on customers? > > What are you guys doing for large scale network monitoring - and how > should I arrange my hostgroups so they make the most sense? > > > Thanks in advance! > Chris Bergeron > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 > --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From psimek at jcu.cz Fri Jul 2 20:29:45 2004 From: psimek at jcu.cz (Petr Simek) Date: Fri, 2 Jul 2004 20:29:45 +0200 (Central Europe Daylight Time) Subject: Socket timeout In-Reply-To: <40E57584.4000403@cict.fr> References: <40E57584.4000403@cict.fr> Message-ID: On Fri, 2 Jul 2004, carole verdon wrote: > There isn't a firewall between the hosts. > > This problem arrives only sometimes. For example for one particular host, > Additional Info: > > CHECK_NRPE: Socket timeout after 20 seconds. Socket timeout denote that packet is lost or dropped by firewall. If there is no firewall, next possible explanation is unstable or overloaded network between nagios and checked host where packets are lost sometime. > VERDON Carole *------------------------------------------------------------------------* | Petr Simek APS JU | | psimek at jcu.cz | *------------------------------------------------------------------------* ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From dbadrak at tco.census.gov Fri Jul 2 20:34:41 2004 From: dbadrak at tco.census.gov (Don Badrak) Date: Fri, 2 Jul 2004 14:34:41 -0400 Subject: periodic reports as PDF Message-ID: All, Hi. I'm trying to get the availability reports produced on a monthly basis for a hostgroup. What I'd like to do is run a cron job at the beginning of the month, and get the availability for a host group for the last month. I've got the parameters figured out for the CGI, but what is causing me problems is getting the output format properly. I can get the HTML. What I want to do is make that into PDF, and keep the colors in the chart. I've tried a couple html2ps, htmldoc, and HTML_ToPDF. None of them see to preserve the colors in the availability chart. Has anyone done this? Any ideas or suggestions? Don -- Don Badrak 301.763.5534 work Telecommunications Office 301.457.4438 fax U.S. Bureau of the Census Suitland MD, USA ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From psimek at jcu.cz Fri Jul 2 20:50:33 2004 From: psimek at jcu.cz (Petr Simek) Date: Fri, 2 Jul 2004 20:50:33 +0200 (Central Europe Daylight Time) Subject: Dependancy clarification In-Reply-To: <1088786289.2652.27.camel@localhost.localdomain> References: <1088786289.2652.27.camel@localhost.localdomain> Message-ID: On Fri, 2 Jul 2004, James Whittington wrote: > I am checking a 30 - 40 internet facing services out of a backup > internet link we have. Each website I manage is set as a host, the > website hostgroup uses check_http to check websites. > > When there are hickups on the internet link I get 30 or so pages telling > me all the sites are down. > > The current route would be: > Nagios - SOHO - Cable modem - Internet - Pix - Websites > > I have tried to set up service dependancies where each segment of the > way depends on each other: > Cable Modem depends on SOHO being up > Internet depends on Cable modem being up > Pix depends on Internet access point being up > Websites depend on PIX being up > > But I disconnected the cable modem and still got notifications that the > sites were down. See if cable modem DOWN state is detected before dependend sites are detected as DOWN (max_atempts x normal_check_interval). Then You can define in dependencies that next checks of dependent sites is supressed. > James Whittington *------------------------------------------------------------------------* | Petr Simek APS JU | | psimek at jcu.cz | *------------------------------------------------------------------------* ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jbautista at intercable.net.ve Fri Jul 2 20:54:21 2004 From: jbautista at intercable.net.ve (Jeyri Bautista) Date: Fri, 2 Jul 2004 14:54:21 -0400 Subject: periodic reports as PDF References: Message-ID: <011001c46065$fc8fea70$2605020a@bjeyri> Hi, I installed the Acrobat Reader Full Version, and when I am in the web pages of trends for example I select the File menu, Print and select Adobe PDF. Jeyri ----- Original Message ----- From: "Don Badrak" To: Sent: Friday, July 02, 2004 2:34 PM Subject: [Nagios-users] periodic reports as PDF > All, > > Hi. I'm trying to get the availability reports produced on a monthly > basis for a hostgroup. > > What I'd like to do is run a cron job at the beginning of the month, and > get the availability for a host group for the last month. I've got the > parameters figured out for the CGI, but what is causing me problems is > getting the output format properly. > > I can get the HTML. What I want to do is make that into PDF, and keep the > colors in the chart. > > I've tried a couple html2ps, htmldoc, and HTML_ToPDF. None of them see to > preserve the colors in the availability chart. > > Has anyone done this? Any ideas or suggestions? > > Don > -- > Don Badrak 301.763.5534 work > Telecommunications Office 301.457.4438 fax > U.S. Bureau of the Census > Suitland MD, USA > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From dbadrak at tco.census.gov Fri Jul 2 21:04:15 2004 From: dbadrak at tco.census.gov (Don Badrak) Date: Fri, 2 Jul 2004 15:04:15 -0400 Subject: periodic reports as PDF In-Reply-To: <011001c46065$fc8fea70$2605020a@bjeyri> References: <011001c46065$fc8fea70$2605020a@bjeyri> Message-ID: Jeryi, On Fri, 2 Jul 2004, Jeyri Bautista wrote: > Hi, I installed the Acrobat Reader Full Version, and when I am in the web > pages of trends for example I select the File menu, Print and select Adobe > PDF. Yeah, I've done that manually. I'd like to script the process, so it happens automatically, and then emails the reports to people. I can also print to PS from Mozilla, then convert that with ps2pdf. Don > ----- Original Message ----- > From: "Don Badrak" > To: > Sent: Friday, July 02, 2004 2:34 PM > Subject: [Nagios-users] periodic reports as PDF > > > > All, > > > > Hi. I'm trying to get the availability reports produced on a monthly > > basis for a hostgroup. > > > > What I'd like to do is run a cron job at the beginning of the month, and > > get the availability for a host group for the last month. I've got the > > parameters figured out for the CGI, but what is causing me problems is > > getting the output format properly. > > > > I can get the HTML. What I want to do is make that into PDF, and keep the > > colors in the chart. > > > > I've tried a couple html2ps, htmldoc, and HTML_ToPDF. None of them see to > > preserve the colors in the availability chart. > > > > Has anyone done this? Any ideas or suggestions? > > > > Don > > -- > > Don Badrak 301.763.5534 work > > Telecommunications Office 301.457.4438 fax > > U.S. Bureau of the Census > > Suitland MD, USA > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > digital self defense, top technical experts, no vendor pitches, > > unmatched networking opportunities. Visit www.blackhat.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 > -- Don Badrak 301.763.5534 work Telecommunications Office 301.457.4438 fax U.S. Bureau of the Census Suitland MD, USA ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From bruce at elrick.ca Fri Jul 2 22:53:41 2004 From: bruce at elrick.ca (Bruce Elrick) Date: Fri, 02 Jul 2004 14:53:41 -0600 Subject: Best way to organzie data... In-Reply-To: References: Message-ID: <40E5CB55.2040606@elrick.ca> Edwards, Thomas W. wrote: > How do you tie a service to a host group? Are you implying you make one > service check and apply it to an entire host group instead of > individually? > > Thanks. > Instead of host_name use hostgroup_name in the service definition: define service { use 24x7-unix-service hostgroup_name all-unix-servers service_description PING check_command check_ping!100.0,20%!500.0,60% } ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From tonij67 at hotmail.com Fri Jul 2 23:59:02 2004 From: tonij67 at hotmail.com (Tony Tissic) Date: Fri, 02 Jul 2004 16:59:02 -0500 Subject: At my wits end with GD libraries! It shouldwork! Message-ID: >From: jeff vier >To: Tony Tissic >CC: nagios-users >Subject: Re: [Nagios-users] At my wits end with GD libraries! It >shouldwork! >Date: Fri, 02 Jul 2004 11:06:58 -0500 > >On Fri, 2004-07-02 at 09:37 -0500, Tony Tissic wrote: > > *** GD, PNG, and/or JPEG libraries could not be located... ********* > > Here is what I have verified: > > JPEG: > > jpeg-6b-731 > > libjpeg-6.2.0-731 > > (some researched showed that libjpeg is supposed to include the devel. > > libraries for JPEG; is this true?) > >absolutely. You have to have the -devel side of things to compile >against it. > > > ldconfig > >This doesn't do anything if you aren't changing your ld.so.conf >here's mine: >--- >/usr/kerberos/lib >/usr/X11R6/lib >/usr/lib/qt-3.1/lib >/usr/local/lib >/usr/lib >/lib >/usr/local/lib/php/lib >/usr/lib/qt-3.1/lib >--- > > > make clean (more times than I can remember) > >if you're reconfiguring, do "make distclean" ("make clean" only removes >previously compiled binaries, not config stuff) > > > configure > > configure --with-gd-lib --with-gd-inc > > configure > > /configure --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include > > /configure --with-gd-lib=/usr/lib --with-gd-inc=/usr/include > >I assume you meant ./configure... > >here is my configure statement (nag v2.0, but still similar), if this >helps: >./configure --with-nagios-user=nagios --with-nagios-grp=nagios -- >prefix=/usr/local/nagios-2.0 --with-file-perfdata --with-command- >user=apache --with-command-grp=apache --with-lockfile=/usr/local/nagios- >2.0/var/nagios.lock --with-init-dir=/etc/init.d --enable-event-broker -- >enable-embedded-perl --with-perlcache > >Note: no explicit library defs. your ld.so.conf should cover this. > > > The only thing I am not real clear on is the location of these >mysterious > > libraries; how do I know if its in /usr/local or /usr/lib or > > /some_other_directory? > >try 'find / -name "libpng.so"' (or whatever) > I got it! Thanks for all the replies, turns out I didnt really have the gd devel. libraries installed! *smacks self* _________________________________________________________________ Is your PC infected? Get a FREE online computer virus scan from McAfee? Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From dmourati at cm.math.uiuc.edu Sat Jul 3 04:01:05 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 2 Jul 2004 21:01:05 -0500 (CDT) Subject: Best way to organzie data... In-Reply-To: References: Message-ID: On Fri, 2 Jul 2004, Edwards, Thomas W. wrote: > How do you tie a service to a host group? Are you implying you make one > service check and apply it to an entire host group instead of > individually? That's exactly what I'm saying. For more information, and to preserve your sanity, please see: http://nagios.sourceforge.net/docs/1_0/templatetricks.html --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From rnelson at windchannel.com Sat Jul 3 13:07:07 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Sat, 3 Jul 2004 07:07:07 -0400 Subject: Best way to organzie data... Message-ID: It depends on your organization. We're a wireless ISP, so we group based on POP, based on inter-POP connects, what's a client radio, what's client equipment, and in some cases, multiple clients in the same building. You can add a host to multiple groups, and only set notifications for one of those groups. IMO, it's easier to see all the services hanging from the same host than to see multiple hosts that are really the same host, just different services. In a company where there's a person who deals with *only* web sites and a person who deals with *only* ssh issues, however, I can see where you wouldn't want the Web guy getting a page if SSH on his box went down. But that's not where I work :) Either way, when you go to set downtime on a few hosts, it's a LOT easier to do if all the services are attached to the same host. Rob Nelson rnelson at windchannel.com -----Original Message----- From: Christopher M Bergeron [mailto:christopher at bergeron.com] Sent: Fri 7/2/2004 11:53 AM To: 'nagios-users at lists.sourceforge.net' Cc: Subject: [Nagios-users] Best way to organzie data... Does anyone have any suggestions on how to logically group "things" in nagios? We have 2 datacenters with several racks at each data center. Each rack has several chassis' that contain about 24 blade-servers each. Should I group my data based on datacenter (as hostgroups) and within those put the racks, and then the blades? Should I create hostgroups based on services (for example, a disk space hostgroup, an apache hostgroup, etc)? Or should I create hostgroups based on customers? What are you guys doing for large scale network monitoring - and how should I arrange my hostgroups so they make the most sense? Thanks in advance! Chris Bergeron ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From smitchell at slumberland.com Sat Jul 3 18:37:50 2004 From: smitchell at slumberland.com (Seth Mitchell) Date: Sat, 3 Jul 2004 11:37:50 -0500 Subject: Delay first notification for selected hosts Message-ID: We'd like to setup a selected group of hosts so that they are checked frequently (every three minutes), but we don't receive the first notification until two hours have passed. After that, we'd like our standard re-notifications every two hours (notification interval). The hosts/connections we're checking bounce frequently, and we'd prefer not to get notified until after they've been down for two hours. However, it's often important for us to have complete and accurate downtime data, so changing the check interval is out. Has anyone done this? Sorry if I missed some applicable posts in the archives on this - it seems like it should be simple, but I haven't figured it out yet. -Seth ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From psimek at jcu.cz Sat Jul 3 20:23:21 2004 From: psimek at jcu.cz (Petr Simek) Date: Sat, 3 Jul 2004 20:23:21 +0200 (Central Europe Daylight Time) Subject: Delay first notification for selected hosts In-Reply-To: References: Message-ID: On Sat, 3 Jul 2004, Seth Mitchell wrote: > We'd like to setup a selected group of hosts so that they are checked > frequently (every three minutes), but we don't receive the first > notification until two hours have passed. After that, we'd like our > standard re-notifications every two hours (notification interval). The > hosts/connections we're checking bounce frequently, and we'd prefer not to > get notified until after they've been down for two hours. However, it's > often important for us to have complete and accurate downtime data, so > changing the check interval is out. You can set dummy contact for this hosts where notifications goes to /dev/null and in escalations specify Your contact and notification parameters. > -Seth *------------------------------------------------------------------------* | Petr Simek APS JU | | psimek at jcu.cz | *------------------------------------------------------------------------* ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From zsitfa at axelero.hu Sat Jul 3 20:36:01 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 03 Jul 2004 20:36:01 +0200 Subject: Event ID Message-ID: <1088879760.1331.22.camel@localhost.localdomain> Hi Folks! I would like to add a unique event ID for every notifications. I wrote a script which combines PID of the a notification process with the actual time (in timet format). It works good, but I have one problem: almost every notification goes out in two froms: e-mail and SMS. I couldn't figure out how can I send the same ID in the two notification instances (SMS and E-Mail). Does anybody use a similar solution? As I know Nagios can't provide a unique ID for its notification? Is it right? Thanks in advance, Tamas! ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From james.kingston at gmail.com Sun Jul 4 00:17:34 2004 From: james.kingston at gmail.com (James Kingston) Date: Sat, 3 Jul 2004 15:17:34 -0700 Subject: Event ID In-Reply-To: <1088879760.1331.22.camel@localhost.localdomain> References: <1088879760.1331.22.camel@localhost.localdomain> Message-ID: <9d27c63204070315171041c032@mail.gmail.com> On 03 Jul 2004 20:36:01 +0200, Horvath Tamas wrote: > Hi Folks! > > I would like to add a unique event ID for every notifications. I wrote a > script which combines PID of the a notification process with the actual > time (in timet format). > We use hostname-(servicename|hostalert)-timet (although we re-use the same id until the host/service recovery) ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From adamemery at sbcglobal.net Sun Jul 4 03:41:36 2004 From: adamemery at sbcglobal.net (Adam Emery) Date: Sat, 3 Jul 2004 20:41:36 -0500 Subject: failover monitoring Message-ID: <000001c46168$0e6c2d00$0208090a@a1> Does anybody have an example of the script needed for failover monitoring. The docs only say to create a cron job that runs a script blah, blah, blah. Set up a cron job on the slave host that periodically (say every minute) runs a script that checks the staus of the Nagios process on the master host (using the check_nrpe plugin on the slave host and the nrpe daemon and check_nagios plugin on the master host). The script should check the return code of the check_nrpe plugin . If it returns a non-OK state, the script should send the appropriate commands to the external command file to enable both notifications and active service checks. If the plugin returns an OK state, the script should send commands to the external command file to disable both notifications and active checks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From zsitfa at axelero.hu Sun Jul 4 14:41:00 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 04 Jul 2004 14:41:00 +0200 Subject: Event ID In-Reply-To: <9d27c63204070315171041c032@mail.gmail.com> References: <1088879760.1331.22.camel@localhost.localdomain> <9d27c63204070315171041c032@mail.gmail.com> Message-ID: <1088944860.1353.6.camel@localhost.localdomain> Thanks James! I thought something like this method, but I send these info in the notification messages anyway. And our on-call support person replies the SMS and writes what he does to solve the actual problem (He couldn't access the web interface of Nagios from outside my company). We need lot of space from the available 160 to wrote correct answers and this type of ID is too long for us (We've tested it already.) Does anybody have a good solutiuon for a numeric ID? Thank 2004-07-04, v keltez?ssel James Kingston ezt ?rta: > On 03 Jul 2004 20:36:01 +0200, Horvath Tamas wrote: > > Hi Folks! > > > > I would like to add a unique event ID for every notifications. I wrote a > > script which combines PID of the a notification process with the actual > > time (in timet format). > > > > We use hostname-(servicename|hostalert)-timet (although we re-use the > same id until the host/service recovery) > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From james.kingston at gmail.com Sun Jul 4 18:27:13 2004 From: james.kingston at gmail.com (James Kingston) Date: Sun, 4 Jul 2004 09:27:13 -0700 Subject: Event ID In-Reply-To: <1088944860.1353.6.camel@localhost.localdomain> References: <1088879760.1331.22.camel@localhost.localdomain> <9d27c63204070315171041c032@mail.gmail.com> <1088944860.1353.6.camel@localhost.localdomain> Message-ID: <9d27c63204070409277f85fe3e@mail.gmail.com> Okay... same idea, take 2: Take the md5sum of the hostname-(servicename|hostalert)-timet string and return as many characters of it as you can afford given the space restraints. Using the last 10 chars from the md5sum would give you a 1 in a trillion chance of your IDs colliding. We use this idea to generate email Message-ID and In-Reply-To headers On 04 Jul 2004 14:41:00 +0200, Horvath Tamas wrote: > Thanks James! > > I thought something like this method, but I send these info in the > notification messages anyway. > > And our on-call support person replies the SMS and writes what he does > to solve the actual problem (He couldn't access the web interface of > Nagios from outside my company). We need lot of space from the available > 160 to wrote correct answers and this type of ID is too long for us > (We've tested it already.) > > Does anybody have a good solutiuon for a numeric ID? > > Thank > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From sjg at easynet.fr Mon Jul 5 11:20:50 2004 From: sjg at easynet.fr (Sebastien J. Gross) Date: Mon, 5 Jul 2004 11:20:50 +0200 Subject: failover monitoring In-Reply-To: <000001c46168$0e6c2d00$0208090a@a1> References: <000001c46168$0e6c2d00$0208090a@a1> Message-ID: <20040705092050.GA31609@easynet.fr> On Sat, Jul 03, 2004 at 08:41:36PM -0500, adamemery at sbcglobal.net wrote: > Does anybody have an example of the script needed for failover > monitoring. The docs only say to create a cron job that runs a script > blah, blah, blah. I use this one on the slave host: #!/bin/sh DELAY=1 HOST=[SET MASTER HOSTNAME HERE] NRPE=/usr/lib/nagios/plugins/check_nrpe CMD_FILE=/var/log/nagios/rw/nagios.cmd MYSQL_DEFAULTS_FILE=/etc/nagios/nagios.my.cnf CHECK_STATUS=/var/state/nagios/$HOST.status if ! test -d $(dirname $CHECK_STATUS); then mkdir -p $(dirname $CHECK_STATUS) fi while true; do $NRPE -H $HOST $* -c check_nagios > /dev/null 2>&1 n=$? mysql --defaults-file=$MYSQL_DEFAULTS_FILE -e "STATUS" -h $HOST > /dev/null 2>&1 m=$? echo "nagios=$n mysql=$m" >$CHECK_STATUS datetime=$(date +%s) if test -p $CMD_FILE; then if test $n -eq 0 -a $m -eq 0; then echo "Nagios is running" >> $CHECK_STATUS echo "[$datetime] DISABLE_NOTIFICATIONS;$datetime" >> $CMD_FILE echo "[$datetime] STOP_EXECUTING_SVC_CHECKS" >> $CMD_FILE else echo "Nagios is NOT running" >> $CHECK_STATUS echo "[$datetime] ENABLE_NOTIFICATIONS;$datetime" >> $CMD_FILE echo "[$datetime] START_EXECUTING_SVC_CHECKS" >> $CMD_FILE fi fi datetime=`date +%s` sleep $DELAY done It checks both nagios & mysql on the primary server and allows (or disallows) checks on slave if needed (either if nagios or mysql is down on slave). -- Sebastien J. Gross ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ari at ish.com.au Mon Jul 5 12:03:01 2004 From: ari at ish.com.au (Aristedes Maniatis) Date: Mon, 5 Jul 2004 20:03:01 +1000 Subject: Best way to organzie data... In-Reply-To: References: Message-ID: <7FBCE239-CE6A-11D8-ADCF-003065A9024A@ish.com.au> I am sorry if this repeats an earlier part of this thread, but I'm only new on this list. We have a related problem. It seems to stem from the fact that Nagios ties all services tightly to the concept of a "host", but there are a number of services which don't work in this way. For example, we might have a web site which is load balanced between two hosts. I'd like to associate the nagios service with the URL of the site, not the IP address of the machine. So a particular machine could be offline, but the web site working fine. Likewise, I've got some services that check for validity of SSL certificates. But which host do I attach them to? Is there a 'proper' way to set this up in Nagios? Ari Maniatis On 03/07/2004, at 9:07 PM, Robert Nelson wrote: > IMO, it's easier to see all the services hanging from the same host > than to see multiple hosts that are really the same host, just > different services. In a company where there's a person who deals with > *only* web sites and a person who deals with *only* ssh issues, > however, I can see where you wouldn't want the Web guy getting a page > if SSH on his box went down. But that's not where I work :) --------------------------> ish group pty ltd http://www.ish.com.au 7 Darghan St Glebe 2037 Australia phone +61 2 9660 1400 fax +61 2 9660 7400 PGP fingerprint 08 57 20 4B 80 69 59 E2 A9 BF 2D 48 C2 20 0C C8 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From m.borsani at it.net Mon Jul 5 17:07:34 2004 From: m.borsani at it.net (Marco Borsani) Date: Mon, 5 Jul 2004 17:07:34 +0200 Subject: notifications not useful In-Reply-To: <7B121EA44EE8D6438CB3867C51DE79878222@svwin2kadm05.local.eyes4media.ch> References: <7B121EA44EE8D6438CB3867C51DE79878222@svwin2kadm05.local.eyes4media.ch> Message-ID: Hi everybody ! I have following problem with my technicians. I have many check_tcp on same host. When CRITICAL messages arrive (via epager or via mail) the technicians can't see which ports have problems because the only information that they read is: "Socket timeout after 10 seconds" We have not the same problem when they receive OK messages because in that kind of messages NAGIOS write the port number: "TCP OK - 0.012 second response time on port 8080" Actually I can't modify "service name" (that could solve this problem putting the port number inside it!), have you got any idea about this situation? Regards Marco ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Mon Jul 5 17:46:48 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 05 Jul 2004 17:46:48 +0200 Subject: notifications not useful In-Reply-To: References: Message-ID: <40E977E8.1010704@op5.se> Marco Borsani wrote: > Hi everybody ! > > I have following problem with my technicians. > > I have many check_tcp on same host. When CRITICAL messages arrive (via > epager or via mail) the technicians can't see which ports have problems > because the only information that they read is: > "Socket timeout after 10 seconds" > We have not the same problem when they receive OK messages because in that > kind of messages NAGIOS write the port number: > "TCP OK - 0.012 second response time on port 8080" > > Actually I can't modify "service name" (that could solve this problem > putting the port number inside it!), have you got any idea about this > situation? > Just out of curiousity, why can't you change the service_description variable? It's there for the sole purpose of identifying the service to nagios AND the technicians. > Regards > > Marco -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From pla at softflare.com Mon Jul 5 19:14:12 2004 From: pla at softflare.com (Paul L. Allen) Date: Mon, 05 Jul 2004 18:14:12 +0100 Subject: Running eventhandlers at every checks In-Reply-To: <1088786951.1332.45.camel@localhost.localdomain> References: <1088786951.1332.45.camel@localhost.localdomain> Message-ID: <20040705171412.9266.qmail@minnow.softflare.net> Horvath Tamas writes: > We need an opportunity that this event hndler command executes regurarly > (when a service check fails and Nagios tries to see whether the > underlying host (VPN Concentrator) is up or down). Have the event handler echo the state to a file. Have a cron job check the contents of the file for a critical state and do whatever is necessary. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From zsitfa at axelero.hu Mon Jul 5 21:01:44 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 05 Jul 2004 21:01:44 +0200 Subject: Running eventhandlers at every checks In-Reply-To: <20040705171412.9266.qmail@minnow.softflare.net> References: <1088786951.1332.45.camel@localhost.localdomain> <20040705171412.9266.qmail@minnow.softflare.net> Message-ID: <1089054104.1336.4.camel@localhost.localdomain> Hi! Is this so simple?:) I always forget that I use Linux! It's great! Thanks in advance. I will try it!! Bye, Tamas! 2004-07-05, h keltez?ssel Paul L. Allen ezt ?rta: > Horvath Tamas writes: > > We need an opportunity that this event hndler command executes regurarly > > (when a service check fails and Nagios tries to see whether the > > underlying host (VPN Concentrator) is up or down). > > Have the event handler echo the state to a file. Have a cron job check > the contents of the file for a critical state and do whatever is necessary. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From zsitfa at axelero.hu Mon Jul 5 21:06:49 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 05 Jul 2004 21:06:49 +0200 Subject: Event ID In-Reply-To: <9d27c63204070409277f85fe3e@mail.gmail.com> References: <1088879760.1331.22.camel@localhost.localdomain> <9d27c63204070315171041c032@mail.gmail.com> <1088944860.1353.6.camel@localhost.localdomain> <9d27c63204070409277f85fe3e@mail.gmail.com> Message-ID: <1089054408.1336.10.camel@localhost.localdomain> Hi Jason! Thanks the idea! One last question: if I run md5sum twice for the same data it will produce the same output? This is important us to provide the same ID for same notifications which will be sent by SMS and by e-mail? I don't know much about MD5 tools, but I will read about it and try to use! Thanks again, Tamas! 2004-07-04, v keltez?ssel James Kingston ezt ?rta: > Okay... same idea, take 2: > > Take the md5sum of the hostname-(servicename|hostalert)-timet string > and return as many characters of it as you can afford given the space > restraints. Using the last 10 chars from the md5sum would give you a > 1 in a trillion chance of your IDs colliding. We use this idea to > generate email Message-ID and In-Reply-To headers > > On 04 Jul 2004 14:41:00 +0200, Horvath Tamas wrote: > > Thanks James! > > > > I thought something like this method, but I send these info in the > > notification messages anyway. > > > > And our on-call support person replies the SMS and writes what he does > > to solve the actual problem (He couldn't access the web interface of > > Nagios from outside my company). We need lot of space from the available > > 160 to wrote correct answers and this type of ID is too long for us > > (We've tested it already.) > > > > Does anybody have a good solutiuon for a numeric ID? > > > > Thank > > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From nemir at mindless.com Mon Jul 5 22:01:50 2004 From: nemir at mindless.com (nemir nemiria) Date: Tue, 06 Jul 2004 06:01:50 +1000 Subject: check_dns, check_ssh seem to time out.... Message-ID: <20040705200150.D529316402D@ws1-4.us4.outblaze.com> Hiya. I am monitoring two separate data centres, so I set up one nagios server in each to monitor all the local servers and each other. I figure that gives me pretty good coverage. I use gnokii to send sms messages, I don't want to get things doubled up so much. This works pretty great. I setup nagios under OpenBSD 3.5 in the first data centre without a hitch. Now I am setting up a similar setup in the second data centre, but under fedora core 2 this time. I got pretty much everything workign great, except that my check_dns and check_ssh services of the remote nagios server are giving me errors. When I run them from the command line, they return positive responses. The entries in checkcommands.cfg look like: # 'check_ssh' command definition define command{ command_name check_ssh command_line $USER1$/check_ssh -H $HOSTADDRESS$ } # 'check_dns' command definition define command{ command_name check_dns command_line $USER1$/check_dns -H www.mydomain.com -s $HOSTADDRESS$ } responses from command line checks are as follows: etc]# ../libexec/check_ssh -H 192.168.141.5 SSH OK - OpenSSH_3.8.1 (protocol 1.99) etc]# ../libexec/check_dns -H www.mydomain.com -s 192.168.141.5 DNS ok - 0 seconds response time, Address(es) is/are 192.168.141.5 (These are the same when I su - nagios) I am confused as to how a plugin could work from the command line, but not from the nagios daemon. Thanks for your attention Nemir -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From james.kingston at gmail.com Mon Jul 5 23:07:01 2004 From: james.kingston at gmail.com (James Kingston) Date: Mon, 5 Jul 2004 14:07:01 -0700 Subject: Event ID In-Reply-To: <1089054408.1336.10.camel@localhost.localdomain> References: <1088879760.1331.22.camel@localhost.localdomain> <9d27c63204070315171041c032@mail.gmail.com> <1088944860.1353.6.camel@localhost.localdomain> <9d27c63204070409277f85fe3e@mail.gmail.com> <1089054408.1336.10.camel@localhost.localdomain> Message-ID: <9d27c632040705140751ae3696@mail.gmail.com> > Thanks the idea! > > One last question: if I run md5sum twice for the same data it will > produce the same output? This is important us to provide the same ID for > same notifications which will be sent by SMS and by e-mail? > > I don't know much about MD5 tools, but I will read about it and try to > use! > > Thanks again, Tamas! > Yes... if the data you're providing to the checksum program/library is identical the checksum will be identical. if you're using perl for your script: sub getmsgid ($) { my $string = shift; use Digest::MD5; my $ctx = Digest::MD5->new; $ctx->add($string); return substr ($ctx->hexdigest, 22, 10); } I think in php there is also a md5sum($string) function ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From pla at softflare.com Tue Jul 6 03:39:20 2004 From: pla at softflare.com (Paul L. Allen) Date: Tue, 06 Jul 2004 02:39:20 +0100 Subject: Running eventhandlers at every checks In-Reply-To: <1089054104.1336.4.camel@localhost.localdomain> References: <1088786951.1332.45.camel@localhost.localdomain> <20040705171412.9266.qmail@minnow.softflare.net> <1089054104.1336.4.camel@localhost.localdomain> Message-ID: <20040706013920.21811.qmail@minnow.softflare.net> Horvath Tamas writes: > Is this so simple?:) Well, if you want it to be robust you'll have to go a little further... What happens if Nagios, for whatever reason (like a plugin timeout) reports the service as critical when it isn't? Is the command you run to start the service capable of correctly coping with the service being already running? You also need to get your logic right so that it does the right thing if the file is missing (which will be the case when you add a service definition for a new host). But these are mere implementation details and are left as an exercise for the reader. :) The point is that you can creatively abuse quite a lot of Nagios functionality to deal with special cases. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From cecil.williams at autozone.com Tue Jul 6 06:34:16 2004 From: cecil.williams at autozone.com (cecil.williams at autozone.com) Date: Mon, 5 Jul 2004 23:34:16 -0500 Subject: Cecil Williams/STS/AUTOZONE is out of the office. Message-ID: I will be out of the office starting 07/05/2004 and will not return until 07/08/2004. I will respond to your message when I return. ------------------------------------------------------------------------ The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From igor.sergejev at creanord.com Tue Jul 6 19:33:52 2004 From: igor.sergejev at creanord.com (Igor Sergejeff) Date: Tue, 6 Jul 2004 10:33:52 -0700 Subject: Sending SNMP traps ? Message-ID: <002d01c4637f$67ae0230$c864a8c0@creanord2kserv> Hello, I would like Nagios to sending SNMP traps to another host. I read the FAQ about this, saying "If you want to have Nagios send an SNMP trap to a management host in the event that a particular service has a problem, you will have to write a service event handler script and add it to the event_handler option of the service definition. If you have the NET-SNMP package installed on your host, you could have the script call the snmptrap command to actually send a trap message, depending on what type of service event occurred." Do I need to install NET-SNMP in order to sending traps ? Are there anything except this to make this working ? Regards, Igor. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From nemir at mindless.com Tue Jul 6 10:04:43 2004 From: nemir at mindless.com (nemir nemiria) Date: Tue, 06 Jul 2004 18:04:43 +1000 Subject: How can I minimise false alarms? Message-ID: <20040706080443.6936E101D7@ws1-3.us4.outblaze.com> Do any others get false alarms? I seem to get one or two a week from the remote site. Is there any way to minimise them? Each notification is an sms, and if a false alarm happens at an awkward hour it could wake me up (or worse! ;-) At first I thought it was probably caused by some sort of deprioritation of ping traffic, so I stopped checking ping, and just check dns and ssh now. Hasn't seemed to make much difference. I fear that before I fully roll out my nagios solution, the number of false alarms will escalate to the point where the monitoring system loses its integrity. Regards, Carlos -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From nemir at mindless.com Tue Jul 6 10:17:21 2004 From: nemir at mindless.com (nemir nemiria) Date: Tue, 06 Jul 2004 18:17:21 +1000 Subject: check_dns, check_ssh seem to time out.... Message-ID: <20040706081721.94D5116402D@ws1-4.us4.outblaze.com> I neglected to make totally clear the versions of things I was running. Data centre 1 - OpenBSD 3.5, nagios 1.2, nagios-plugins-1.3.1 and for sms notification gnokii 0.6.3. Data centre 2 - Fedora Core 2, nagios 1.2, nagios-plugins-1.3.1. gnokii 0.6.3. check_shs and check_dns seem to be working totally fine out of data centre 1, but not out of data centre 2. I have check_ssh working for all the systems in the local network, but not for the one remote host. Thanks for your attention Nemir -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Tue Jul 6 11:16:53 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 06 Jul 2004 11:16:53 +0200 Subject: check_dns, check_ssh seem to time out.... In-Reply-To: <20040705200150.D529316402D@ws1-4.us4.outblaze.com> References: <20040705200150.D529316402D@ws1-4.us4.outblaze.com> Message-ID: <40EA6E05.10808@op5.se> nemir nemiria wrote: > Hiya. > > I am monitoring two separate data centres, so I set up one nagios server in each to monitor all the local servers and each other. > > I figure that gives me pretty good coverage. I use gnokii to send sms messages, I don't want to get things doubled up so much. This works pretty great. > > I setup nagios under OpenBSD 3.5 in the first data centre without a hitch. > > Now I am setting up a similar setup in the second data centre, but under fedora core 2 this time. I got pretty much everything workign great, except that my check_dns and check_ssh services of the remote nagios server are giving me errors. > > When I run them from the command line, they return positive responses. > > The entries in checkcommands.cfg look like: > > # 'check_ssh' command definition > define command{ > command_name check_ssh > command_line $USER1$/check_ssh -H $HOSTADDRESS$ > } > # 'check_dns' command definition > define command{ > command_name check_dns > command_line $USER1$/check_dns -H www.mydomain.com -s $HOSTADDRESS$ > } > responses from command line checks are as follows: > > etc]# ../libexec/check_ssh -H 192.168.141.5 > SSH OK - OpenSSH_3.8.1 (protocol 1.99) > etc]# ../libexec/check_dns -H www.mydomain.com -s 192.168.141.5 > DNS ok - 0 seconds response time, Address(es) is/are 192.168.141.5 > > (These are the same when I su - nagios) > > I am confused as to how a plugin could work from the command line, but not from the nagios daemon. > What's the error message in Nagios? Is it threshold related or not? > Thanks for your attention > > Nemir -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Tue Jul 6 11:25:11 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 06 Jul 2004 11:25:11 +0200 Subject: How can I minimise false alarms? In-Reply-To: <20040706080443.6936E101D7@ws1-3.us4.outblaze.com> References: <20040706080443.6936E101D7@ws1-3.us4.outblaze.com> Message-ID: <40EA6FF7.8070904@op5.se> nemir nemiria wrote: > Do any others get false alarms? I seem to get one or two a week from the > remote site. > > Is there any way to minimise them? Yes, you can increas the value for max_check_attempts and/or retry_check_interval. That will give a service which fails temporarily a bit longer to recuperate and thus suppress the false alarms. > Each notification is an sms, and if a false alarm happens at an awkward > hour it could wake me up (or worse! ;-) At first I thought it was probably > caused by some sort of deprioritation of ping traffic, so I stopped checking > ping, and just check dns and ssh now. Hasn't seemed to make much difference. > False service (and host) check failures usually occur when the general network load is very high, like when backup-jobs are running and the switches simply can't cope with the traffic. Try not running any unnecessary checks during this period, and you'll most likely see fewer false alarms. > I fear that before I fully roll out my nagios solution, the number of false > alarms will escalate to the point where the monitoring system loses its > integrity. > It's just a matter of configuration. > Regards, > > Carlos > > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Tue Jul 6 11:30:20 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 06 Jul 2004 11:30:20 +0200 Subject: Sending SNMP traps ? In-Reply-To: <002d01c4637f$67ae0230$c864a8c0@creanord2kserv> References: <002d01c4637f$67ae0230$c864a8c0@creanord2kserv> Message-ID: <40EA712C.2060603@op5.se> Igor Sergejeff wrote: > Hello, > > I would like Nagios to sending SNMP traps to another host. I read the FAQ > about this, saying "If you want to have Nagios send an SNMP trap to a > management host in the event that a particular service has a problem, you > will have to write a service event handler script and add it to the > event_handler option of the service definition. If you have the NET-SNMP > package installed on your host, you could have the script call the snmptrap > command to actually send a trap message, depending on what type of service > event occurred." > Do I need to install NET-SNMP in order to sending traps ? Yes, you do. You need the snmptrap program to send traps. > Are there anything except this to make this working ? > Yes. Simply installing it won't make nagios automagically send traps for every problem that may arise. You'll have to do a lot of configuring and script-hacking for it to work. Look into event-handlers in the nagios documentation. > Regards, Igor. > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From psimek at jcu.cz Tue Jul 6 11:59:06 2004 From: psimek at jcu.cz (Petr Simek) Date: Tue, 6 Jul 2004 11:59:06 +0200 (Central Europe Daylight Time) Subject: check_dns, check_ssh seem to time out.... In-Reply-To: <20040706081721.94D5116402D@ws1-4.us4.outblaze.com> References: <20040706081721.94D5116402D@ws1-4.us4.outblaze.com> Message-ID: On Tue, 6 Jul 2004, nemir nemiria wrote: > Data centre 1 - OpenBSD 3.5, nagios 1.2, nagios-plugins-1.3.1 and for > sms notification gnokii 0.6.3. > Data centre 2 - Fedora Core 2, nagios 1.2, nagios-plugins-1.3.1. gnokii > 0.6.3. > check_shs and check_dns seem to be working totally fine out of data > centre 1, but not out of data centre 2. I have check_ssh working for > all the systems in the local network, but not for the one remote host. Check if there is not a firewall at datacentre1 that disallow incoming connections (from datacentre2) on tcp ports that You want to monitor. It is possible to connect by ssh manually from datacentre2 to datacentre1 ? > Nemir *------------------------------------------------------------------------* | Petr Simek APS JU | | psimek at jcu.cz | *------------------------------------------------------------------------* ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From karl at debisschop.net Tue Jul 6 13:01:26 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Tue, 06 Jul 2004 07:01:26 -0400 Subject: check_dns, check_ssh seem to time out.... In-Reply-To: <20040705200150.D529316402D@ws1-4.us4.outblaze.com> References: <20040705200150.D529316402D@ws1-4.us4.outblaze.com> Message-ID: <40EA8686.4040209@debisschop.net> nemir nemiria wrote: > Hiya. > > I am monitoring two separate data centres, so I set up one nagios server in each to monitor all the local servers and each other. > > I figure that gives me pretty good coverage. I use gnokii to send sms messages, I don't want to get things doubled up so much. This works pretty great. > > I setup nagios under OpenBSD 3.5 in the first data centre without a hitch. > > Now I am setting up a similar setup in the second data centre, but under fedora core 2 this time. I got pretty much everything workign great, except that my check_dns and check_ssh services of the remote nagios server are giving me errors. > > When I run them from the command line, they return positive responses. > > The entries in checkcommands.cfg look like: > > # 'check_ssh' command definition > define command{ > command_name check_ssh > command_line $USER1$/check_ssh -H $HOSTADDRESS$ > } > # 'check_dns' command definition > define command{ > command_name check_dns > command_line $USER1$/check_dns -H www.mydomain.com -s $HOSTADDRESS$ > } > responses from command line checks are as follows: > > etc]# ../libexec/check_ssh -H 192.168.141.5 > SSH OK - OpenSSH_3.8.1 (protocol 1.99) > etc]# ../libexec/check_dns -H www.mydomain.com -s 192.168.141.5 > DNS ok - 0 seconds response time, Address(es) is/are 192.168.141.5 > > (These are the same when I su - nagios) > > I am confused as to how a plugin could work from the command line, but not from the nagios daemon. If it works from the command line, but not from the daemon, there there is most likely something in your command line environment that is not in the environment of the daemon. Path might be different, agent PID might be missing, ssh_options file that gets read in one case might not in the other case, host might not be in known_hosts file... (Some of these may not be exactly applicable to your case, 'su -' should cover some of them - I'm just trying to remeber some of the things that have come up as solutions when this question has been asked in the past). -- Karl ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Tue Jul 6 13:32:06 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 06 Jul 2004 13:32:06 +0200 Subject: check_dns, check_ssh seem to time out.... In-Reply-To: <40EA8686.4040209@debisschop.net> References: <20040705200150.D529316402D@ws1-4.us4.outblaze.com> <40EA8686.4040209@debisschop.net> Message-ID: <40EA8DB6.3080500@op5.se> Karl DeBisschop wrote: > nemir nemiria wrote: > >> Hiya. >> >> I am monitoring two separate data centres, so I set up one nagios >> server in each to monitor all the local servers and each other. >> >> I figure that gives me pretty good coverage. I use gnokii to send >> sms messages, I don't want to get things doubled up so much. This >> works pretty great. >> >> I setup nagios under OpenBSD 3.5 in the first data centre without a >> hitch. >> Now I am setting up a similar setup in the second data centre, but >> under fedora core 2 this time. I got pretty much everything workign >> great, except that my check_dns and check_ssh services of the remote >> nagios server are giving me errors. >> >> When I run them from the command line, they return positive responses. >> >> The entries in checkcommands.cfg look like: >> >> # 'check_ssh' command definition >> define command{ >> command_name check_ssh >> command_line $USER1$/check_ssh -H $HOSTADDRESS$ >> } >> # 'check_dns' command definition >> define command{ >> command_name check_dns >> command_line $USER1$/check_dns -H www.mydomain.com -s >> $HOSTADDRESS$ >> } >> responses from command line checks are as follows: >> >> etc]# ../libexec/check_ssh -H 192.168.141.5 >> SSH OK - OpenSSH_3.8.1 (protocol 1.99) >> etc]# ../libexec/check_dns -H www.mydomain.com -s 192.168.141.5 >> DNS ok - 0 seconds response time, Address(es) is/are 192.168.141.5 >> >> (These are the same when I su - nagios) >> >> I am confused as to how a plugin could work from the command line, >> but not from the nagios daemon. > > > If it works from the command line, but not from the daemon, there there > is most likely something in your command line environment that is not in > the environment of the daemon. Path might be different, agent PID might > be missing, ssh_options file that gets read in one case might not in the > other case, host might not be in known_hosts file... > The environment is most likely the problem. Since nagios is started by root and then drops its own privileges, it keeps all the settings of the root-user, but with the privileges of the nagios user. If the checks work after 'su - nagios', you can add that very string to your init-script (I've rewritten it to include that because of this very problem) and have nagios be started by the nagios user. The command to start nagios should then look something like this; su - nagios -c "/usr/local/nagios/bin/nagios -c /usr/local/nagios/etc/nagios.cfg" I'll submit a rewritten init-script later today that you can use. Having processes drop their own privileges when they never need the elevated privs is just plain dumb anyways. > (Some of these may not be exactly applicable to your case, 'su -' should > cover some of them - I'm just trying to remeber some of the things that > have come up as solutions when this question has been asked in the past). > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Philipp.Sand at sycor.de Tue Jul 6 13:36:16 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 6 Jul 2004 13:36:16 +0200 Subject: Problem with restarting Nagios-CVS Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E068DD5@SYGOMAIL.GOE.AD.SYCOR.DE> Hello, I currently got the Nagios 2.0a1 running. I do a lot of configuration this time, so I have to restart a lot. My Problem is, that the restart skript doesn't seem to kill the process properly. So I got a lot nagios daemons around and have to kill them by hand :-/ Anyone else got the same problems? The Nagios Server currently runs on a Fedora Core 2 System. _____________________________ 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 - 2000 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From verdon at cict.fr Tue Jul 6 15:03:22 2004 From: verdon at cict.fr (carole verdon) Date: Tue, 06 Jul 2004 15:03:22 +0200 Subject: hostextinfo being ignored Message-ID: <40EAA31A.5070107@cict.fr> Hi, I have already sent my problem the last week and nobody answer me. I see my hosts in statusmap but when i want to use hostextinfo to add an image or coordinates, nothing happens. And when i choose User-supplied coords in the layout method, it says to me that i have not supplied any. I don't find solutions to solve it. Do someone have an idea? Here the post that i have been sent: I use nagios 1.2 and nagmin 2.1.0 to configure hosts and services on solaris boxe. I compiled nagios with mysql database support using the option --with-mysql-xdata. I see my hosts in statusmap but when i want to use hostextinfo to add an image or coordinates, nothing happens. I defined in table 'Host Extended Information' of Nagmin, those hosts without success: *Template* *Host Name* *Notes URL* *Icon Image* *Icon Image Alt* *VRML Image* *Statusmap Image* *2D Coordinates* *3D Coordinates* *Comment* aurore.cict.fr sun40.gif Sun Server sun.gd2 gw1-mail.cict.fr Mail Gateway 110,80 lambi.cict.fr NIS Server 100.0,50.0 telline.cict.fr hpux.png HPUX Server hpux.gif 100,60 vae.cict.fr linux40.jpg Linux Server linux40.png 50,10 I have got serveral problems: 1. The gd2 images don't appear. If i execute ldd statusmap.cgi, it find the gd library libmysqlclient.so.10 => /usr/local/mysql/lib/mysql/libmysqlclient.so.10 libgd.so.2 => /usr/local/lib/libgd.so.2 libiconv.so.2 => /usr/local/lib/libiconv.so.2 libz.so => /usr/local/lib/libz.so libm.so.1 => /usr/lib/libm.so.1 libpng.so.3 => /usr/local/lib/libpng.so.3 libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 libc.so.1 => /usr/lib/libc.so.1 libz.so.1 (SUNW_1.1) => (version not found) libcrypt_i.so.1 => /usr/lib/libcrypt_i.so.1 libgen.so.1 => /usr/lib/libgen.so.1 libsocket.so.1 => /usr/lib/libsocket.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libXpm.so.4.11 => /usr/local/lib/libXpm.so.4.11 libX11.so.4 => /usr/lib/libX11.so.4 libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 libpng12.so.0 => /usr/local/lib/libpng12.so.0 libz.so.1 (SUNW_1.1) => (version not found) libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libmp.so.2 => /usr/lib/libmp.so.2 libXext.so.0 => /usr/openwin/lib/libXext.so.0 libz.so.1 (SUNW_1.1) => (version not found) /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1 I have even made this command: crle -l /usr/lib:/usr/local/lib, but that didn't change nothing # crle Configuration file [3]: /var/ld/ld.config Default Library Path (ELF): /usr/lib:/usr/local/lib Trusted Directories (ELF): /usr/lib/secure (system default) Command line: crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib 2. I create a new gd2 image in /usr/local/nagios/share/images/logos : pngtogd2 sun40.png sun.gd2 0 1 When i wanted to choose this new image in the 'Statusmap Image' field of nagmin, i didn't see it. I realized the directory that took into account was /opt/webmin/nagmin/images/logos. Why?????? 3. If i edit the /usr/local/nagios/etc/HostExtInfo.cfg, i see that extended informations of hosts are well created: ## NagMIN Configuration File (/usr/local/nagmin-2.1.0/nagios/HostExtInfo.cfg) for Host ## Generated Thu Jul 1 17:31:44 2004 ## NagMIN Configuration File (/usr/local/nagmin-2.1.0/nagios/HostExtInfo.cfg) for HostExtInfo ## Generated Thu Jul 1 17:31:44 2004 define hostextinfo { host_name aurore.cict.fr icon_image sun40.gif icon_image_alt Sun Server statusmap_image sun.gd2 } define hostextinfo { host_name telline.cict.fr icon_image hpux.png icon_image_alt HPUX Server statusmap_image hpux.gif 2d_coords 100,60 } define hostextinfo { host_name vae.cict.fr icon_image linux40.jpg icon_image_alt Linux Server statusmap_image linux40.png 2d_coords 50,10 } ## NagMIN Configuration File (/usr/local/nagmin-2.1.0/nagios/HostExtInfo.cfg) for HostExtTemplate ## Generated Thu Jul 1 17:31:44 2004 4. Another problem with nagmin is that if i want to modify coordinates of one host for example, that don't works. When i click on 'save' button, nothing changes. 5. I have a question. Is it possible in status map that one host becomes red when a service becomes critical or yellow when it becomes in warning? I cannot any more what make. Can someone help me, please? Thanks. Carole. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: sun40.gif Type: image/gif Size: 1903 bytes Desc: not available URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- gd2((?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????uuz??????????????????????????????????????????????????????????????????????????????????????????????????????????????????UUZ?????????||???????????????????????????????????????????????????????????????????????????????????????????????????????UUZ??????JJ???????xx}????????????????????????????????????????????????????????????????????????????????????????????????TTY??????BB~==|HH???????xx}??????????????????????????????????????????????????????????????????????????????????????????TTY??????DD?``????``?BB??????||?????????????????????????????????????????????????????????????????????????????????????NNT??????BB~gg??????????xx?==|??????uuz??????????????????????????????????????????????????????????????????????????????NNT??????DD?HH????????????????{{?@@}??????uuz????????????????????????????????????????????????????????????????????????JJN??????BBFF?TT??????????????????????==|??????uuz??????????????????????????????????????????????????????????????????JJN??????BBPP????rr?????????????????????????@@}??????nnr????????????????????????????????????????????????????????????FFJ??????@@}PP??????????xx?????????????????????????BB??????sst??????????????????????????????????????????????????????FFJ??????BBUU????????????????tt??????????????????????ii?@@}??????jjm????????????????????????????????????????????????FFJ??????@@}NN?xx???????????????????tt???????????????????{{?PP?BB~??????nnr??????????????????????????????????????????BBH??????BBPP????????????????????????????tt?????????????xx???????UU?BB??????jjm????????????????????????????????????BBF??????BB~NN??????????rr??????????????????????tt???????}}?????????????TT?BB~??????eei??????????????????????????????@@B??????DD?NN????????????????????????????????????????ZZ?ww???????????????????UU?FF???????eei????????????????????????@@B??????BBLL??????????????????????DD}nn????????????????UU??????????????????????ZZ?DDBB??????``e??????????????????==@??????DD?LL??????????????????????nn???????????????????????????????????????????{{???????ss?DD???????``e????????????@@B??????FF?JJ??????????????????????xx?????????????jj????ii??????????????????????{{?????????????ee?BB??????eei??????TTT??????FF?@@}?????????????????????xx????????????????xx?55wZZ????????????????????????????????????????=={FF?????????????==@??????NN?==|??????????????????xx???????????????????``?LL?ZZ????????????????}}??????????????????????;;z??????BBH???????????????NN?HH?????????????ww???????????????????????????????????????????ww??????????????????????HH???????BBH]]]?????????nnr??????UU?FF?xx?tt?nn???????????????????}}????????????????ee?xx?nn??????????????????????FF???????BBFTTT???????????????jjm??????UU?==|UU??????????????????????..r??????????????????==|?????????????????????FF???????+++]]]?????????????????????sstxxx???UU?JJ??????????????????????ee????????????????????????????????????????FF???????++3sst??????????????????????????????'''xxx???PP?FF??????????????????????ww??????????????????????nn??????????FF???????++3xxx????????????????????????????????????'''{{{???PP?JJ??????????????????????ww????????????????????????????FF???????++3{{{??????????????????????????????????????????'''~~~???NN?DD?nn???????????????????ww???????????????????ww?BB??????..5~~~????????????????????????????????????????????????'''~~~???NN?LL??????????????????????ww????????????????NN???????..5{{{??????????????????????????????????????????????????????'''~~~???NN?HH??????????????????????xx??????????BB??????..5???????????????????????????????????????????????????????????????+++??????NN?JJ??????????????????????gg????TT???????55;?????????????????????????????????????????????????????????????????????+++??????LL?JJ???????????????????UU?;;z??????55;???????????????????????????????????????????????????????????????????????????..3??????LL?JJ????????????????DD??????55;?????????????????????????????????????????????????????????????????????????????????+++??????JJ?JJ??????????HH???????;;B???????????????????????????????????????????????????????????????????????????????????????555??????NN?BB~BB~;;z??????;;B?????????????????????????????????????????????????????????????????????????????????????????????..3??????NN?@@}??????;;B???????????????????????????????????????????????????????????????????????????????????????????????????555??????ii????``e~~~??????????????????????????????????????????????????????????????????????????????????????????????????????555??????eeijjm????????????????????????????????????????????????????????????????????????????????????????????????????????????TTTTTY||}?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? -------------- next part -------------- A non-text attachment was scrubbed... Name: hpux.png Type: image/png Size: 662 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: hpux.gif Type: image/gif Size: 1097 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: linux40.jpg Type: image/jpeg Size: 1666 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: linux40.png Type: image/png Size: 1972 bytes Desc: not available URL: From verdon at cict.fr Tue Jul 6 15:35:12 2004 From: verdon at cict.fr (carole verdon) Date: Tue, 06 Jul 2004 15:35:12 +0200 Subject: nrpe query In-Reply-To: References: Message-ID: <40EAAA90.4070803@cict.fr> I suggest you to try this: ps -ef | grep 'PushGateway$' The '$' permit to indicate the end of string. Perhaps that you will have to write a script to execute the good command. I hope that will help you. Carole. Swati Srivastava wrote: > I've tried the first one that does not give result. > > Here's some more samples: > > [swati at localhost libexec]$ ps -aux|grep PushGateway > root 29139 0.0 0.6 215232 13904 ? S Mar24 10:22 java > PushGateway1 > root 31179 1.1 2.3 256048 48140 ? S 12:57 3:20 java > PushGateway > swati 13950 0.0 0.0 3696 544 pts/4 S 15:53 0:00 grep > PushGateway > > [swati at localhost libexec]$ ps -aux|grep java > root 29139 0.0 0.6 215232 13904 ? S Mar24 10:22 java > PushGateway1 > root 31179 1.1 2.3 256048 48140 ? S 12:57 3:20 java > PushGateway > root 32454 0.0 0.5 214428 10828 ? S 13:11 0:00 java > runShell > nav 410 0.1 0.7 215932 14504 ? S 13:15 0:12 java > Server > swati 13994 0.0 0.0 3696 544 pts/4 S 15:53 0:00 grep java > > [swati at localhost libexec]$ ./check_procs -w 3 -c 5 -C "java PushGateway" > OK - 0 processes running with command name java PushGateway > > [swati at localhost libexec]$ ./check_procs -w 3 -c 5 -C "java PushGateway1" > OK - 0 processes running with command name java PushGateway1 > > [swati at localhost libexec]$ ./check_procs -w 3 -c 5 -C PushGateway > OK - 0 processes running with command name PushGateway > > [swati at localhost libexec]$ ps -ef|grep java PushGateway1 > grep: PushGateway1: No such file or directory > > [swati at localhost libexec]$ ps -ef|grep java PushGateway > grep: PushGateway: No such file or directory > > [swati at localhost libexec]$ ps -ax|grep java PushGateway > grep: PushGateway: No such file or directory > > [swati at localhost libexec]$ ps -au|grep java PushGateway > grep: PushGateway: No such file or directory > > What do you suggest? > >> From: carole verdon >> Reply-To: verdon at cict.fr >> To: Swati Srivastava >> Subject: Re: [Nagios-users] nrpe query >> Date: Tue, 06 Jul 2004 10:55:41 +0200 >> >> Try this: >> >> ./check_procs -w 3 -c 5 -C PushGateway or perhaps ./check_procs -w 3 >> -c 5 -C "java PushGateway" >> >> I don't know if that works. >> >> >> >> Swati Srivastava wrote: >> >>> >>> [swati at localhost libexec]$ ps -ef|grep PushGateway >>> root 29139 1 0 Mar24 ? 00:10:21 java PushGateway1 >>> root 24907 1 1 Jul01 ? 02:15:50 java PushGateway >>> swati 24864 22471 0 11:48 pts/4 00:00:00 grep PushGateway >>> >>> [swati at localhost libexec]$ ./check_procs -w 3 -c 5 -C java PushGateway >>> OK - 3 processes running with command name java >>> >>> [swati at localhost libexec]$ ps -ef|grep java >>> root 29139 1 0 Mar24 ? 00:10:21 java PushGateway1 >>> root 24907 1 1 Jul01 ? 02:15:50 java PushGateway >>> root 24752 24608 0 11:46 pts/10 00:00:00 java MTVCdrGenerator >>> swati 24996 22471 0 11:48 pts/4 00:00:00 grep java >>> >>> These are some results which may explain what my query is. >>> I want to monitor one particular process nameed PushGateway. As you >>> can see in the ps output, there are multiple processes running with >>> the command name java. If i want to monitor one particular process >>> out of that, how do i do that? >>> >>> Kindly help. >>> >>>> From: carole verdon >>>> Reply-To: verdon at cict.fr >>>> To: Swati Srivastava >>>> Subject: Re: [Nagios-users] nrpe query >>>> Date: Fri, 02 Jul 2004 14:02:37 +0200 >>>> >>>> Here some examples of check_procs use: >>>> >>>> $ ./check_procs -w 1 -c 5 -C ypserv >>>> PROCS OK: 1 process with command name 'ypserv' >>>> $ ps -ef | grep ypserv >>>> root 153 1 2 Feb 14 ? 1776:02 >>>> /usr/lib/netsvc/yp/ypserv -d >>>> >>>> $ ./check_procs -w 15 -c 30 -C httpd >>>> PROCS OK: 11 processes with command name 'httpd' >>>> $ ps -ef | grep httpd >>>> apache 23297 15738 0 Jun 29 ? 0:14 /etc/init.d/httpd -k >>>> start >>>> apache 15742 15738 0 Jun 24 ? 0:00 /etc/init.d/httpd -k >>>> start >>>> apache 23242 15738 0 Jun 29 ? 0:04 /etc/init.d/httpd -k >>>> start >>>> apache 23283 15738 0 Jun 29 ? 0:12 /etc/init.d/httpd -k >>>> start >>>> apache 15743 15738 0 Jun 24 ? 0:00 /etc/init.d/httpd -k >>>> start >>>> apache 23289 15738 0 Jun 29 ? 0:08 /etc/init.d/httpd -k >>>> start >>>> apache 23012 15738 0 Jun 29 ? 0:14 /etc/init.d/httpd -k >>>> start >>>> apache 23298 15738 0 Jun 29 ? 0:01 /etc/init.d/httpd -k >>>> start >>>> root 15738 1 0 Jun 24 ? 0:00 /etc/init.d/httpd -k >>>> start >>>> apache 23243 15738 0 Jun 29 ? 0:08 /etc/init.d/httpd -k >>>> start >>>> apache 23296 15738 0 Jun 29 ? 0:03 /etc/init.d/httpd -k >>>> start >>>> >>>> >>>> $ ./check_procs -w 2 -c 5 -C nagios >>>> PROCS OK: 1 process with command name 'nagios' >>>> $ ps -ef | grep nagios >>>> nagios 28752 1 0 17:31:52 ? 4:30 >>>> /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg >>>> >>>> The option -a is used for commands that needed arguments as for >>>> example to run nagios process: >>>> $ ./check_procs -w 2 -c 5 -a /usr/local/nagios/etc/nagios.cfg >>>> PROCS OK: 1 process with args '/usr/local/nagios/etc/nagios.cfg' >>>> >>>> I hope that help you. >>>> >>>> Carole. >>>> >>>> >>>> Swati Srivastava wrote: >>>> >>>>> i am trying to check a particular process by trying >>>>> ./check_procs -w 3 -c 5 -C , which is not givingme >>>>> the correct result. >>>>> I have the process id and name. >>>>> Can you explain me what is meant by command argument and how is it >>>>> different from process name. >>>>> What is meant by argument array? >>>>> >>>>>> From: carole verdon >>>>>> Reply-To: verdon at cict.fr >>>>>> To: Swati Srivastava >>>>>> CC: nagios-users at lists.sourceforge.net >>>>>> Subject: Re: [Nagios-users] nrpe query >>>>>> Date: Wed, 30 Jun 2004 16:46:25 +0200 >>>>>> >>>>>> Can you post exactly the definition of your check command? >>>>>> >>>>>> Carole. >>>>>> >>>>>> Swati Srivastava wrote: >>>>>> >>>>>>> Hi!! >>>>>>> I am trying to monitor a particular process on a remote >>>>>>> machine.How to monitor a process by its name or process id? The >>>>>>> remote machine has RedHat Linux8. >>>>>>> I tried giving the process name by -C as an argument. That shows >>>>>>> 0 processes running while >>>>>>> ps -aux|grep shows the process running. >>>>>>> Kindly help. >>>>>>> Thanks, >>>>>>> Swati >>>>>>> >>>>>>> _________________________________________________________________ >>>>>>> Contact brides & grooms FREE! >>>>>>> http://www.shaadi.com/index.php?ptnr=hmltag Only on >>>>>>> www.shaadi.com. Register now! >>>>>>> >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------- >>>>>>> This SF.Net email sponsored by Black Hat Briefings & Training. >>>>>>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >>>>>>> digital self defense, top technical experts, no vendor pitches, >>>>>>> unmatched networking opportunities. Visit www.blackhat.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 >>>>>>> ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From gpadilla at cbct.com Tue Jul 6 16:03:20 2004 From: gpadilla at cbct.com (Guillermo Padilla) Date: Tue, 6 Jul 2004 10:03:20 -0400 Subject: nagios.cmd file... Message-ID: My nagios.cmd file disappears after a few hours for some reason. Any ideas? I'm running linux 8 nagios 1.0 -------------- next part -------------- An HTML attachment was scrubbed... URL: From verdon at cict.fr Tue Jul 6 16:49:27 2004 From: verdon at cict.fr (carole verdon) Date: Tue, 06 Jul 2004 16:49:27 +0200 Subject: nagios.cmd file... In-Reply-To: References: Message-ID: <40EABBF7.6010300@cict.fr> Have you sure that there aren't several nagios process running? Carole. Guillermo Padilla wrote: > My nagios.cmd file disappears after a few hours for some reason. Any > ideas? I'm running linux 8 nagios 1.0 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mshirley at gmail.com Tue Jul 6 16:38:41 2004 From: mshirley at gmail.com (Mark Shirley) Date: Tue, 6 Jul 2004 10:38:41 -0400 Subject: front end management tool In-Reply-To: References: <20040630050013.73452.qmail@restricted.dyndns.org> <40E2DAB6.1010005@cict.fr> <20040630174319.30194.qmail@restricted.dyndns.org> <40E3DF8C.4010501@cict.fr> <20040701161937.30474.qmail@restricted.dyndns.org> Message-ID: the use of the mysql database is a nagmin requirement not a nagios requirement. nagmin takes an existing set of config files and creates a database based on that. at that point you use the gui interface to make changes to the mysql database. when you want the changes to take effect you run a "verification" where it dumps the data from the database into temporary config files and then tells nagios to do a -v startup. if that is sucsessful you then "activate" it where by it does the same thing of dumping the mysql database into config files and then it starts nagios normally. this particular setup is excellent if for some reason you try it and don't like it you can always go back to using a simple text configs. nagmin does NOT require your nagios to be built with mysql since nagmin deals directly with nagios's config files. i currently use nagmin because of the pure number of hosts and services. not to mention the other people that i interact with must be able to add/remove/change host and service records without having to edit config files manually. the major downside to nagmin is that you can't EASILY go back and forth from nagmin to console config. it's one or the other because if you make a change to the temp config files the changes will not be inserted into the mysql database and will be overwritten the next time you do an verification or activation. in comparison to the other options i found nagmin to be the best and most stable for my enviroment. On Thu, 01 Jul 2004 11:19:37 -0500, Neil wrote: > Ok, IIRC, support to database is going to be dropped in version 2 of Nagios > > > > carole verdon writes: > > > In first, to use Nagmin, Nagios must built with mysql database support. > > > > That it was my case. Then, Nagmin use existings config files to build its > > own files. > > > > Neil wrote: > > > >> Hi Carole, > >> What if I already have existing running nagios, how does it take care of > >> my existings configs? > >> YOu know what, I should try it :) > >> carole verdon writes: > >> > >>> I use Nagmin to manage the configuration of nagios. Nagmin don't create > >>> temporary config files. It extract informations of tables of mysql > >>> database to put them in flat config files so that nagios can read them. > >>> I am satisfied for this product. > >>> You can find others answers in mailing list or on > >>> http://nagmin.sourceforge.net/ > >>> Carole. > >>> Neil wrote: > >>> > >>>> Hey guys, > >>>> I know in nagios website, extras, there are links to front end for > >>>> managing nagios. Currently, I am a unix console fanatic. :) I'm used to > >>>> it and it's no problem to me. I would like to seek your experience on > >>>> which front end web based application you really did like and was easy > >>>> to use. I am looking into something wherein it will be easy for us to > >>>> create hosts, services, contacts and so on. I tried Nagmin, Nagat but > >>>> if I remember correctly, it creates a temporary config file which will > >>>> be used for test run. It's nice but really messes up my configs :( > >>>> Anyways, please reply as to what webbased nagios management tool you > >>>> are using and that you're very happy about it. > >>>> Thanks. > >>>> Neil > >>>> > >>>> ------------------------------------------------------- > >>>> This SF.Net email sponsored by Black Hat Briefings & Training. > >>>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > >>>> self defense, top technical experts, no vendor pitches, unmatched > >>>> networking opportunities. Visit www.blackhat.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 > >>>> > >>> > >>> -- > >>> ********************************** > >>> VERDON Carole > >>> Ing?nieur Syst?me > >>> CICT - Universit? Paul Sabatier > >>> 118, route de Narbonne > >>> 31062 Toulouse Cedex > >>> T?l.: 05.61.36.60.44 > >>> Fax: 05.61.52.14.58 > >>> Mail: verdon at cict.fr > >>> ********************************** > >>> > >>> > >>> ------------------------------------------------------- > >>> This SF.Net email sponsored by Black Hat Briefings & Training. > >>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > >>> self defense, top technical experts, no vendor pitches, unmatched > >>> networking opportunities. Visit www.blackhat.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 > >> > >> > >> > >> > >> ------------------------------------------------------- > >> This SF.Net email sponsored by Black Hat Briefings & Training. > >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > >> self defense, top technical experts, no vendor pitches, unmatched > >> networking opportunities. Visit www.blackhat.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 > >> > >> > > > > -- > > ********************************** > > VERDON Carole > > Ing?nieur Syst?me > > CICT - Universit? Paul Sabatier > > 118, route de Narbonne > > 31062 Toulouse Cedex > > T?l.: 05.61.36.60.44 > > Fax: 05.61.52.14.58 > > Mail: verdon at cict.fr > > ********************************** > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From verdon at cict.fr Tue Jul 6 16:57:24 2004 From: verdon at cict.fr (carole verdon) Date: Tue, 06 Jul 2004 16:57:24 +0200 Subject: hostextinfo being ignored In-Reply-To: <40EAA31A.5070107@cict.fr> References: <40EAA31A.5070107@cict.fr> Message-ID: <40EABDD4.6040903@cict.fr> I tried the template method on an old server used to test nagios. So, i add in cgi.cfg this line: xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg And i realized that works. So, the use of database to store the extended information isn't a good thing since it don't work. Can i compile again nagios excluding --with-mysql-extinfo option without lose my data in nagios and nagmin databases? Carole. carole verdon wrote: > Hi, > > I have already sent my problem the last week and nobody answer me. > > I see my hosts in statusmap but when i want to use hostextinfo to add > an image or coordinates, nothing happens. > > And when i choose User-supplied coords in the layout method, it says > to me that i have not supplied any. > > I don't find solutions to solve it. > > Do someone have an idea? > > Here the post that i have been sent: > > > I use nagios 1.2 and nagmin 2.1.0 to configure hosts and services on > solaris boxe. > > I compiled nagios with mysql database support using the option > --with-mysql-xdata. > > I see my hosts in statusmap but when i want to use hostextinfo to add > an image or coordinates, nothing happens. > > I defined in table 'Host Extended Information' of Nagmin, those hosts > without success: > > *Template* *Host Name* *Notes URL* *Icon Image* *Icon Image Alt* > *VRML Image* *Statusmap Image* *2D Coordinates* *3D Coordinates* > *Comment* > > aurore.cict.fr > sun40.gif Sun Server sun.gd2 > > > > gw1-mail.cict.fr > Mail Gateway 110,80 > > > lambi.cict.fr > NIS Server 100.0,50.0 > > > telline.cict.fr > hpux.png HPUX Server hpux.gif 100,60 > > > vae.cict.fr > linux40.jpg Linux Server linux40.png 50,10 > > > > I have got serveral problems: > > 1. The gd2 images don't appear. > If i execute ldd statusmap.cgi, it find the gd library > libmysqlclient.so.10 => > /usr/local/mysql/lib/mysql/libmysqlclient.so.10 > libgd.so.2 => /usr/local/lib/libgd.so.2 > libiconv.so.2 => /usr/local/lib/libiconv.so.2 > libz.so => /usr/local/lib/libz.so > libm.so.1 => /usr/lib/libm.so.1 > libpng.so.3 => /usr/local/lib/libpng.so.3 > libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 > libc.so.1 => /usr/lib/libc.so.1 > libz.so.1 (SUNW_1.1) => (version not found) > libcrypt_i.so.1 => /usr/lib/libcrypt_i.so.1 > libgen.so.1 => /usr/lib/libgen.so.1 > libsocket.so.1 => /usr/lib/libsocket.so.1 > libnsl.so.1 => /usr/lib/libnsl.so.1 > libXpm.so.4.11 => /usr/local/lib/libXpm.so.4.11 > libX11.so.4 => /usr/lib/libX11.so.4 > libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 > libpng12.so.0 => /usr/local/lib/libpng12.so.0 > libz.so.1 (SUNW_1.1) => (version not found) > libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 > libdl.so.1 => /usr/lib/libdl.so.1 > libmp.so.2 => /usr/lib/libmp.so.2 > libXext.so.0 => /usr/openwin/lib/libXext.so.0 > libz.so.1 (SUNW_1.1) => (version not found) > /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1 > > I have even made this command: crle -l /usr/lib:/usr/local/lib, but > that didn't change nothing > > # crle > > Configuration file [3]: /var/ld/ld.config > Default Library Path (ELF): /usr/lib:/usr/local/lib > Trusted Directories (ELF): /usr/lib/secure (system default) > > Command line: > crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib > > 2. I create a new gd2 image in /usr/local/nagios/share/images/logos : > pngtogd2 sun40.png sun.gd2 0 1 > When i wanted to choose this new image in the 'Statusmap Image' field > of nagmin, i didn't see it. I realized the directory that took into > account was /opt/webmin/nagmin/images/logos. Why?????? > > 3. If i edit the /usr/local/nagios/etc/HostExtInfo.cfg, i see that > extended informations of hosts are well created: > ## NagMIN Configuration File > (/usr/local/nagmin-2.1.0/nagios/HostExtInfo.cfg) for Host > ## Generated Thu Jul 1 17:31:44 2004 > ## NagMIN Configuration File > (/usr/local/nagmin-2.1.0/nagios/HostExtInfo.cfg) for HostExtInfo > ## Generated Thu Jul 1 17:31:44 2004 > define hostextinfo { > host_name aurore.cict.fr > icon_image sun40.gif > icon_image_alt Sun Server > statusmap_image sun.gd2 > } > define hostextinfo { > host_name telline.cict.fr > icon_image hpux.png > icon_image_alt HPUX Server > statusmap_image hpux.gif > 2d_coords 100,60 > } > define hostextinfo { > host_name vae.cict.fr > icon_image linux40.jpg > icon_image_alt Linux Server > statusmap_image linux40.png > 2d_coords 50,10 > } > ## NagMIN Configuration File > (/usr/local/nagmin-2.1.0/nagios/HostExtInfo.cfg) for HostExtTemplate > ## Generated Thu Jul 1 17:31:44 2004 > > 4. Another problem with nagmin is that if i want to modify coordinates > of one host for example, that don't works. When i click on 'save' > button, nothing changes. > > 5. I have a question. Is it possible in status map that one host > becomes red when a service becomes critical or yellow when it becomes > in warning? > > > I cannot any more what make. Can someone help me, please? > > Thanks. > > Carole. > -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1903 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/octet-stream Size: 6423 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 662 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 1097 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 1666 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 1972 bytes Desc: not available URL: From verdon at cict.fr Tue Jul 6 16:59:32 2004 From: verdon at cict.fr (carole verdon) Date: Tue, 06 Jul 2004 16:59:32 +0200 Subject: nagios.cmd file... In-Reply-To: References: Message-ID: <40EABE54.5080309@cict.fr> I want to say nagios daemon. There must be only one nagios daemon running. Carole. Guillermo Padilla wrote: > When I grep for nagios I do see at least 50+ processes running by nagios. > > > > ------------------------------------------------------------------------ > > *From:* carole verdon [mailto:verdon at cict.fr] > *Sent:* Tuesday, July 06, 2004 10:49 AM > *To:* Guillermo Padilla > *Cc:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] nagios.cmd file... > > > > Have you sure that there aren't several nagios process running? > > Carole. > > Guillermo Padilla wrote: > > My nagios.cmd file disappears after a few hours for some reason. Any > ideas? I'm running linux 8 nagios 1.0 > > > > > -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt at bravenet.com Tue Jul 6 17:13:04 2004 From: matt at bravenet.com (Matthew Kent) Date: Tue, 6 Jul 2004 08:13:04 -0700 Subject: Problem with restarting Nagios-CVS Message-ID: <0A9D1D7BB96F364D83A342871CF25FF9CDCC40@bdc-pv1.pv.bravenet.com> Use 'service nagios reload' if you're just adjusting the config files. - Matt -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sand Philipp Sent: Tuesday, July 06, 2004 4:36 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem with restarting Nagios-CVS Hello, I currently got the Nagios 2.0a1 running. I do a lot of configuration this time, so I have to restart a lot. My Problem is, that the restart skript doesn't seem to kill the process properly. So I got a lot nagios daemons around and have to kill them by hand :-/ Anyone else got the same problems? The Nagios Server currently runs on a Fedora Core 2 System. _____________________________ 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 - 2000 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From verdon at cict.fr Tue Jul 6 17:15:15 2004 From: verdon at cict.fr (carole verdon) Date: Tue, 06 Jul 2004 17:15:15 +0200 Subject: nagios.cmd file... In-Reply-To: References: Message-ID: <40EAC203.7070007@cict.fr> I suggest you to kill all then start nagios daemon with this command: /etc/init.d/nagios start Guillermo Padilla wrote: > Yeah it looks like I have more than one nagios daemon running. > > [nagios at utilsrv htdocs]# ps -ef |grep nagios > > root 16384 9482 0 Jul02 ttyp2 00:00:00 su nagios > > nagios 16385 16384 0 Jul02 ttyp2 00:00:00 bash > > nagios 21693 1 0 10:01 ? 00:00:06 > /usr/local/nagios/bin/nagios -d > > nagios 8821 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 8837 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 8851 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 8871 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 8873 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 8889 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 8897 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 8924 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 8926 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 8932 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 8934 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 8938 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 8942 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 8963 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 8966 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 8988 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 8994 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 9031 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 9033 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 9037 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 9043 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 9045 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 9050 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 9052 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 9054 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 9062 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 9064 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 9070 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > nagios 9072 1 0 10:52 ? 00:00:00 > /usr/local/nagios/bin/nagios -d > > > > ------------------------------------------------------------------------ > > *From:* carole verdon [mailto:verdon at cict.fr] > *Sent:* Tuesday, July 06, 2004 11:00 AM > *To:* Guillermo Padilla > *Cc:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] nagios.cmd file... > > > > I want to say nagios daemon. > > There must be only one nagios daemon running. > > Carole. > > Guillermo Padilla wrote: > > When I grep for nagios I do see at least 50+ processes running by nagios. > > > > ------------------------------------------------------------------------ > > *From:* carole verdon [mailto:verdon at cict.fr] > *Sent:* Tuesday, July 06, 2004 10:49 AM > *To:* Guillermo Padilla > *Cc:* nagios-users at lists.sourceforge.net > > *Subject:* Re: [Nagios-users] nagios.cmd file... > > > > Have you sure that there aren't several nagios process running? > > Carole. > > Guillermo Padilla wrote: > > My nagios.cmd file disappears after a few hours for some reason. Any > ideas? I'm running linux 8 nagios 1.0 > > > > > > > > >-- > >********************************** > >VERDON Carole > >Ing?nieur Syst?me > >CICT - Universit? Paul Sabatier > >118, route de Narbonne > >31062 Toulouse Cedex > >T?l.: 05.61.36.60.44 > >Fax: 05.61.52.14.58 > >Mail: verdon at cict.fr > >********************************** > -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From gpadilla at cbct.com Tue Jul 6 16:57:35 2004 From: gpadilla at cbct.com (Guillermo Padilla) Date: Tue, 6 Jul 2004 10:57:35 -0400 Subject: nagios.cmd file... Message-ID: When I grep for nagios I do see at least 50+ processes running by nagios. _____ From: carole verdon [mailto:verdon at cict.fr] Sent: Tuesday, July 06, 2004 10:49 AM To: Guillermo Padilla Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios.cmd file... Have you sure that there aren't several nagios process running? Carole. Guillermo Padilla wrote: My nagios.cmd file disappears after a few hours for some reason. Any ideas? I'm running linux 8 nagios 1.0 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gpadilla at cbct.com Tue Jul 6 17:27:18 2004 From: gpadilla at cbct.com (Guillermo Padilla) Date: Tue, 6 Jul 2004 11:27:18 -0400 Subject: nagios.cmd file... Message-ID: That's how I usually start nagios. Running the /etc/init.d/nagios stop:start command. _____ From: carole verdon [mailto:verdon at cict.fr] Sent: Tuesday, July 06, 2004 11:15 AM To: Guillermo Padilla Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios.cmd file... I suggest you to kill all then start nagios daemon with this command: /etc/init.d/nagios start Guillermo Padilla wrote: Yeah it looks like I have more than one nagios daemon running. [nagios at utilsrv htdocs]# ps -ef |grep nagios root 16384 9482 0 Jul02 ttyp2 00:00:00 su nagios nagios 16385 16384 0 Jul02 ttyp2 00:00:00 bash nagios 21693 1 0 10:01 ? 00:00:06 /usr/local/nagios/bin/nagios -d nagios 8821 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8837 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8851 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8871 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8873 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8889 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8897 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8924 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8926 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8932 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8934 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8938 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8942 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8963 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8966 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8988 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8994 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9031 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9033 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9037 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9043 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9045 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9050 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9052 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9054 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9062 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9064 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9070 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9072 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d _____ From: carole verdon [mailto:verdon at cict.fr] Sent: Tuesday, July 06, 2004 11:00 AM To: Guillermo Padilla Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios.cmd file... I want to say nagios daemon. There must be only one nagios daemon running. Carole. Guillermo Padilla wrote: When I grep for nagios I do see at least 50+ processes running by nagios. _____ From: carole verdon [mailto:verdon at cict.fr] Sent: Tuesday, July 06, 2004 10:49 AM To: Guillermo Padilla Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios.cmd file... Have you sure that there aren't several nagios process running? Carole. Guillermo Padilla wrote: My nagios.cmd file disappears after a few hours for some reason. Any ideas? I'm running linux 8 nagios 1.0 -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From rafe.oxley at moving-edge.net Tue Jul 6 17:22:14 2004 From: rafe.oxley at moving-edge.net (Rafe Oxley) Date: Tue, 6 Jul 2004 16:22:14 +0100 Subject: hostextinfo being ignored In-Reply-To: <40EAA31A.5070107@cict.fr> References: <40EAA31A.5070107@cict.fr> Message-ID: <200407061522.i66FMI513400@mail.moving-edge.co.uk> HI, Using Nagios 1.2 and template based extended information, (not Nagmin though) >From cgi.cfg (and from the documentation example) - xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg from my experience in using this method, you can only define one ?xedtemplate_config_file?, so I ADDED the contents of ?servcicextinfo.cfg? information into ?hostextinfo.cfg? and this seems to work fine. Would appear you can?t ?split your configuration data into multiple files by adding more than one directive to your CGI configuration files? (from documentation), just takes the first directive. I was having very similar problems and this resolved them, anyone else come across this? Hope that helps Rafe _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of carole verdon Sent: 06 July 2004 14:03 To: Nagios Users Subject: [Nagios-users] hostextinfo being ignored Hi, I have already sent my problem the last week and nobody answer me. I see my hosts in statusmap but when i want to use hostextinfo to add an image or coordinates, nothing happens. And when i choose User-supplied coords in the layout method, it says to me that i have not supplied any. I don't find solutions to solve it. Do someone have an idea? Here the post that i have been sent: I use nagios 1.2 and nagmin 2.1.0 to configure hosts and services on solaris boxe. I compiled nagios with mysql database support using the option --with-mysql-xdata. I see my hosts in statusmap but when i want to use hostextinfo to add an image or coordinates, nothing happens. I defined in table 'Host Extended Information' of Nagmin, those hosts without success: Template Host Name Notes URL Icon Image Icon Image Alt VRML Image Statusmap Image 2D Coordinates 3D Coordinates Comment aurore.cict.fr sun40.gif Sun Server sun.gd2 gw1-mail.cict.fr Mail Gateway 110,80 lambi.cict.fr NIS Server 100.0,50.0 telline.cict.fr hpux.png HPUX Server hpux.gif 100,60 vae.cict.fr linux40.jpg Linux Server linux40.png 50,10 I have got serveral problems: 1. The gd2 images don't appear. If i execute ldd statusmap.cgi, it find the gd library libmysqlclient.so.10 => /usr/local/mysql/lib/mysql/libmysqlclient.so.10 libgd.so.2 => /usr/local/lib/libgd.so.2 libiconv.so.2 => /usr/local/lib/libiconv.so.2 libz.so => /usr/local/lib/libz.so libm.so.1 => /usr/lib/libm.so.1 libpng.so.3 => /usr/local/lib/libpng.so.3 libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 libc.so.1 => /usr/lib/libc.so.1 libz.so.1 (SUNW_1.1) => (version not found) libcrypt_i.so.1 => /usr/lib/libcrypt_i.so.1 libgen.so.1 => /usr/lib/libgen.so.1 libsocket.so.1 => /usr/lib/libsocket.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libXpm.so.4.11 => /usr/local/lib/libXpm.so.4.11 libX11.so.4 => /usr/lib/libX11.so.4 libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 libpng12.so.0 => /usr/local/lib/libpng12.so.0 libz.so.1 (SUNW_1.1) => (version not found) libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libmp.so.2 => /usr/lib/libmp.so.2 libXext.so.0 => /usr/openwin/lib/libXext.so.0 libz.so.1 (SUNW_1.1) => (version not found) /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1 I have even made this command: crle -l /usr/lib:/usr/local/lib, but that didn't change nothing # crle Configuration file [3]: /var/ld/ld.config Default Library Path (ELF): /usr/lib:/usr/local/lib Trusted Directories (ELF): /usr/lib/secure (system default) Command line: crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib 2. I create a new gd2 image in /usr/local/nagios/share/images/logos : pngtogd2 sun40.png sun.gd2 0 1 When i wanted to choose this new image in the 'Statusmap Image' field of nagmin, i didn't see it. I realized the directory that took into account was /opt/webmin/nagmin/images/logos. Why?????? 3. If i edit the /usr/local/nagios/etc/HostExtInfo.cfg, i see that extended informations of hosts are well created: ## NagMIN Configuration File (/usr/local/nagmin-2.1.0/nagios/HostExtInfo.cfg) for Host ## Generated Thu Jul 1 17:31:44 2004 ## NagMIN Configuration File (/usr/local/nagmin-2.1.0/nagios/HostExtInfo.cfg) for HostExtInfo ## Generated Thu Jul 1 17:31:44 2004 define hostextinfo { host_name aurore.cict.fr icon_image sun40.gif icon_image_alt Sun Server statusmap_image sun.gd2 } define hostextinfo { host_name telline.cict.fr icon_image hpux.png icon_image_alt HPUX Server statusmap_image hpux.gif 2d_coords 100,60 } define hostextinfo { host_name vae.cict.fr icon_image linux40.jpg icon_image_alt Linux Server statusmap_image linux40.png 2d_coords 50,10 } ## NagMIN Configuration File (/usr/local/nagmin-2.1.0/nagios/HostExtInfo.cfg) for HostExtTemplate ## Generated Thu Jul 1 17:31:44 2004 4. Another problem with nagmin is that if i want to modify coordinates of one host for example, that don't works. When i click on 'save' button, nothing changes. 5. I have a question. Is it possible in status map that one host becomes red when a service becomes critical or yellow when it becomes in warning? I cannot any more what make. Can someone help me, please? Thanks. Carole. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05/07/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.716 / Virus Database: 472 - Release Date: 05/07/2004 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 1056 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 1052 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.gif Type: image/gif Size: 1053 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 898 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.gif Type: image/gif Size: 1095 bytes Desc: not available URL: From gpadilla at cbct.com Tue Jul 6 17:09:36 2004 From: gpadilla at cbct.com (Guillermo Padilla) Date: Tue, 6 Jul 2004 11:09:36 -0400 Subject: nagios.cmd file... Message-ID: Yeah it looks like I have more than one nagios daemon running. [nagios at utilsrv htdocs]# ps -ef |grep nagios root 16384 9482 0 Jul02 ttyp2 00:00:00 su nagios nagios 16385 16384 0 Jul02 ttyp2 00:00:00 bash nagios 21693 1 0 10:01 ? 00:00:06 /usr/local/nagios/bin/nagios -d nagios 8821 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8837 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8851 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8871 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8873 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8889 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8897 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8924 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8926 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8932 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8934 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8938 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8942 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8963 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8966 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8988 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 8994 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9031 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9033 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9037 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9043 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9045 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9050 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9052 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9054 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9062 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9064 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9070 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d nagios 9072 1 0 10:52 ? 00:00:00 /usr/local/nagios/bin/nagios -d _____ From: carole verdon [mailto:verdon at cict.fr] Sent: Tuesday, July 06, 2004 11:00 AM To: Guillermo Padilla Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios.cmd file... I want to say nagios daemon. There must be only one nagios daemon running. Carole. Guillermo Padilla wrote: When I grep for nagios I do see at least 50+ processes running by nagios. _____ From: carole verdon [mailto:verdon at cict.fr] Sent: Tuesday, July 06, 2004 10:49 AM To: Guillermo Padilla Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios.cmd file... Have you sure that there aren't several nagios process running? Carole. Guillermo Padilla wrote: My nagios.cmd file disappears after a few hours for some reason. Any ideas? I'm running linux 8 nagios 1.0 -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason-sourceforge at microlnk.net Tue Jul 6 18:28:44 2004 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Tue, 06 Jul 2004 11:28:44 -0500 Subject: hostextinfo being ignored In-Reply-To: <40EAA31A.5070107@cict.fr> References: <40EAA31A.5070107@cict.fr> Message-ID: <40EAD33C.6080302@microlnk.net> > I see my hosts in statusmap but when i want to use hostextinfo to add an > image or coordinates, nothing happens. You must add a line to your cgi.cfg file, to use extended host information. It looks like this: xedtemplate_config_file=/etc/nagios/HostExtInfo.cfg The name of my cfg file is capitalized like that, since I also use NagMIN to configure Nagios. > 2. I create a new gd2 image in /usr/local/nagios/share/images/logos : > pngtogd2 sun40.png sun.gd2 0 1 > When i wanted to choose this new image in the 'Statusmap Image' field of > nagmin, i didn't see it. I realized the directory that took into account > was /opt/webmin/nagmin/images/logos. Why?????? Controlled through the NagMIN Module Config, I believe. (Go to NagMIN through Webmin, then click "Module Config" in the upper-left corner.) > 4. Another problem with nagmin is that if i want to modify coordinates > of one host for example, that don't works. When i click on 'save' > button, nothing changes. NagMIN changes must be verified and activated each time. Make changes to your database, then click the "Verify" button at the top of the main Database menu. If it verifies without warnings, next click the "Activate" button to make your changes live. > 5. I have a question. Is it possible in status map that one host becomes > red when a service becomes critical or yellow when it becomes in warning? I thought it already did that. -- Jason Byrns System Administrator, MicroLnk ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jason-sourceforge at microlnk.net Tue Jul 6 18:34:13 2004 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Tue, 06 Jul 2004 11:34:13 -0500 Subject: "max_check_attempts" being ignored? In-Reply-To: <20040702170932.18816.qmail@minnow.softflare.net> References: <40E586B3.3070705@microlnk.net> <40E58B6C.1050502@microlnk.net> <20040702170932.18816.qmail@minnow.softflare.net> Message-ID: <40EAD485.8030708@microlnk.net> > As I recall (I may be wrong, but it's been too long a day for me to go > delving to double-check) host checks are not performed unless a service > check fails. Yes, I believe that is correct. > If there are no service checks then there can be no service > check failures and therefore no host checks are made. Keep the service > check but change the host check for those hosts to check_dummy. That may work, thanks! The Nagios docs say that a failed service check causes an immediate host check. And that if the host check also fails, the max_check_attempts setting is ignored and the device is put immediately into a hard error status. But I WANT it to respect that setting! Sometimes a device may not respond to a ping if it is too busy. So right now we get lots of warnings where the device is available again ONE minute later! Having our monitor cry "WOLF!" so often seriously reduces is usefulness. > OTOH, if the machine is providing services then you really ought to > check them. And if it's not running services but you need to ensure that > it is working correctly then checking disk space, memory usage, etc. would > be a good idea. In this case, we're talking about simple network devices like bridges or switches. There is usually no reason or method for checking CPU, RAM, HD, etc. Ping them to see if they are alive, that is all we want for probably 95% of the devices we monitor. -- Jason Byrns System Administrator, MicroLnk http://www.MicroLnk.com/ 402-328-8600 ext. 653 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From christopher at bergeron.com Tue Jul 6 19:23:17 2004 From: christopher at bergeron.com (Christopher M Bergeron) Date: Tue, 06 Jul 2004 13:23:17 -0400 Subject: Hostgroup of Hostgroups? In-Reply-To: <002d01c4637f$67ae0230$c864a8c0@creanord2kserv> References: <002d01c4637f$67ae0230$c864a8c0@creanord2kserv> Message-ID: <40EAE005.2020301@bergeron.com> Is it possible to create a hostgroup of hostgroups in nagios? Thanks! Chris Bergeron ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From prabinowitz at peel.com Tue Jul 6 19:53:04 2004 From: prabinowitz at peel.com (Paul Rabinowitz) Date: Tue, 06 Jul 2004 12:53:04 -0500 Subject: After upgrading to kernel 2.6.7 from 2.4x I get : CRITICAL - Swap used: -2147483648% (0 out of 0) Message-ID: <40EAE700.5050701@peel.com> After upgrading to kernel 2.6.7 from 2.4x I get : CRITICAL - Swap used: -2147483648% (0 out of 0) is there a new nrpe swap module that supports 2.6.x? ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From neil-on-nagios at restricted.dyndns.org Tue Jul 6 19:54:50 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 06 Jul 2004 12:54:50 -0500 Subject: front end management tool In-Reply-To: References: <20040630050013.73452.qmail@restricted.dyndns.org> <40E2DAB6.1010005@cict.fr> <20040630174319.30194.qmail@restricted.dyndns.org> <40E3DF8C.4010501@cict.fr> <20040701161937.30474.qmail@restricted.dyndns.org> Message-ID: <20040706175450.62124.qmail@restricted.dyndns.org> Hi Mark, Another question. I do a lot of customization to checks and vi allows me to be very flexible. The limit I have when writing my own custom checks is what my brain can imagine. So, can I also be very flexible with Nagmin? Thanks. :) Neil Mark Shirley writes: > the use of the mysql database is a nagmin requirement not a nagios requirement. > > nagmin takes an existing set of config files and creates a database > based on that. at that point you use the gui interface to make > changes to the mysql database. when you want the changes to take > effect you run a "verification" where it dumps the data from the > database into temporary config files and then tells nagios to do a -v > startup. if that is sucsessful you then "activate" it where by it > does the same thing of dumping the mysql database into config files > and then it starts nagios normally. this particular setup is > excellent if for some reason you try it and don't like it you can > always go back to using a simple text configs. > > nagmin does NOT require your nagios to be built with mysql since > nagmin deals directly with nagios's config files. i currently use > nagmin because of the pure number of hosts and services. not to > mention the other people that i interact with must be able to > add/remove/change host and service records without having to edit > config files manually. the major downside to nagmin is that you can't > EASILY go back and forth from nagmin to console config. it's one or > the other because if you make a change to the temp config files the > changes will not be inserted into the mysql database and will be > overwritten the next time you do an verification or activation. > > in comparison to the other options i found nagmin to be the best and > most stable for my enviroment. > > > > > On Thu, 01 Jul 2004 11:19:37 -0500, Neil > wrote: >> Ok, IIRC, support to database is going to be dropped in version 2 of Nagios >> >> >> >> carole verdon writes: >> >> > In first, to use Nagmin, Nagios must built with mysql database support. >> > >> > That it was my case. Then, Nagmin use existings config files to build its >> > own files. >> > >> > Neil wrote: >> > >> >> Hi Carole, >> >> What if I already have existing running nagios, how does it take care of >> >> my existings configs? >> >> YOu know what, I should try it :) >> >> carole verdon writes: >> >> >> >>> I use Nagmin to manage the configuration of nagios. Nagmin don't create >> >>> temporary config files. It extract informations of tables of mysql >> >>> database to put them in flat config files so that nagios can read them. >> >>> I am satisfied for this product. >> >>> You can find others answers in mailing list or on >> >>> http://nagmin.sourceforge.net/ >> >>> Carole. >> >>> Neil wrote: >> >>> >> >>>> Hey guys, >> >>>> I know in nagios website, extras, there are links to front end for >> >>>> managing nagios. Currently, I am a unix console fanatic. :) I'm used to >> >>>> it and it's no problem to me. I would like to seek your experience on >> >>>> which front end web based application you really did like and was easy >> >>>> to use. I am looking into something wherein it will be easy for us to >> >>>> create hosts, services, contacts and so on. I tried Nagmin, Nagat but >> >>>> if I remember correctly, it creates a temporary config file which will >> >>>> be used for test run. It's nice but really messes up my configs :( >> >>>> Anyways, please reply as to what webbased nagios management tool you >> >>>> are using and that you're very happy about it. >> >>>> Thanks. >> >>>> Neil >> >>>> >> >>>> ------------------------------------------------------- >> >>>> This SF.Net email sponsored by Black Hat Briefings & Training. >> >>>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital >> >>>> self defense, top technical experts, no vendor pitches, unmatched >> >>>> networking opportunities. Visit www.blackhat.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 >> >>>> >> >>> >> >>> -- >> >>> ********************************** >> >>> VERDON Carole >> >>> Ing?nieur Syst?me >> >>> CICT - Universit? Paul Sabatier >> >>> 118, route de Narbonne >> >>> 31062 Toulouse Cedex >> >>> T?l.: 05.61.36.60.44 >> >>> Fax: 05.61.52.14.58 >> >>> Mail: verdon at cict.fr >> >>> ********************************** >> >>> >> >>> >> >>> ------------------------------------------------------- >> >>> This SF.Net email sponsored by Black Hat Briefings & Training. >> >>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital >> >>> self defense, top technical experts, no vendor pitches, unmatched >> >>> networking opportunities. Visit www.blackhat.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 >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------- >> >> This SF.Net email sponsored by Black Hat Briefings & Training. >> >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital >> >> self defense, top technical experts, no vendor pitches, unmatched >> >> networking opportunities. Visit www.blackhat.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 >> >> >> >> >> > >> > -- >> > ********************************** >> > VERDON Carole >> > Ing?nieur Syst?me >> > CICT - Universit? Paul Sabatier >> > 118, route de Narbonne >> > 31062 Toulouse Cedex >> > T?l.: 05.61.36.60.44 >> > Fax: 05.61.52.14.58 >> > Mail: verdon at cict.fr >> > ********************************** >> > >> > >> >> ------------------------------------------------------- >> This SF.Net email sponsored by Black Hat Briefings & Training. >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >> digital self defense, top technical experts, no vendor pitches, >> unmatched networking opportunities. Visit www.blackhat.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 >> > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From drhonk at gmail.com Tue Jul 6 19:44:08 2004 From: drhonk at gmail.com (Roy Kartadinata) Date: Tue, 6 Jul 2004 10:44:08 -0700 Subject: Nagios doesn't send email Message-ID: <90bc2a0304070610447890a76f@mail.gmail.com> Hi guys, I just installed nagios 1.2 and everything went well until I tested its notification. Nagios did found certain service to be down but no email was being sent. When I checked nagios.log I found every notification to both email and pagers .. have the following error: resulted in a return code of 126. Make sure the script or binary you are trying to execute actually exists... Can anyone help me with this problem ? Thank you, -- +----------------------------------------------+ Roy Kartadinata +----------------------------------------------+ ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From gpadilla at cbct.com Tue Jul 6 20:14:49 2004 From: gpadilla at cbct.com (Guillermo Padilla) Date: Tue, 6 Jul 2004 14:14:49 -0400 Subject: Nagmin setup help Message-ID: Does anyone know of a good link of how to properly install and configure Nagmin? I've installed it but I'm unable to view the nagmin page when I click on it. Thx -G -------------- next part -------------- An HTML attachment was scrubbed... URL: From dbadrak at tco.census.gov Tue Jul 6 20:12:01 2004 From: dbadrak at tco.census.gov (Don Badrak) Date: Tue, 6 Jul 2004 14:12:01 -0400 Subject: periodic reports as PDF In-Reply-To: References: <011001c46065$fc8fea70$2605020a@bjeyri> Message-ID: All, On Fri, 2 Jul 2004, Don Badrak wrote: > Jeryi, > > On Fri, 2 Jul 2004, Jeyri Bautista wrote: > > > Hi, I installed the Acrobat Reader Full Version, and when I am in the web > > pages of trends for example I select the File menu, Print and select Adobe > > PDF. > > Yeah, I've done that manually. I'd like to script the process, so it > happens automatically, and then emails the reports to people. I can also > print to PS from Mozilla, then convert that with ps2pdf. > > > What I'd like to do is run a cron job at the beginning of the month, and > > > get the availability for a host group for the last month. I've got the > > > parameters figured out for the CGI, but what is causing me problems is > > > getting the output format properly. > > > > > > I can get the HTML. What I want to do is make that into PDF, and keep the > > > colors in the chart. > > > > > > I've tried a couple html2ps, htmldoc, and HTML_ToPDF. None of them see to > > > preserve the colors in the availability chart. Using htmldoc, it's not possible to preserve the colors provided by the style sheets. According to the htmldoc site, CSS isn't yet supported, they're working on it, and they don't have a date. See http://www.easysw.com/espnews.php?s22+ghtmldoc.general+v27. Thanks to all for your assistance. Don -- Don Badrak 301.763.5534 work Telecommunications Office 301.457.4438 fax U.S. Bureau of the Census Suitland MD, USA ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From dmourati at cm.math.uiuc.edu Tue Jul 6 21:25:34 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 6 Jul 2004 14:25:34 -0500 (CDT) Subject: Hostgroup of Hostgroups? In-Reply-To: <40EAE005.2020301@bergeron.com> References: <40EAE005.2020301@bergeron.com> Message-ID: On Tue, 6 Jul 2004, Christopher M Bergeron wrote: > Is it possible to create a hostgroup of hostgroups in nagios? Unfornately, no, this doesn't work in 1.2. 2.0 perhaps? --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ilopez at jalisco.gob.mx Tue Jul 6 23:59:02 2004 From: ilopez at jalisco.gob.mx (ilopez at jalisco.gob.mx) Date: Tue, 6 Jul 2004 15:59:02 -0600 Subject: Capacity In-Reply-To: References: Message-ID: HI I would like to know if nagios has a capacity to check hosts and services . I mean if it has a maximum number of hosts of services. Thanks ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From danslists at conpoint.com Tue Jul 6 22:59:13 2004 From: danslists at conpoint.com (Dan Spray) Date: Tue, 6 Jul 2004 15:59:13 -0500 Subject: Problems with Packet Loss Message-ID: <200407061605562.SM01236@DANXP> Hello, I have been running Nagios 1.1 for some time now. I am currently monitoring 91 hosts. The problem that I have is most of the time I get multiple entries with 20% packet loss. The problem with this is if I continuously ping a host even over night I get 0% not even dropping one packet. Do I have to many hosts? Is there some sort of patch I am missing? Thanks in advance for any info you can give me. Dan -- Dan Spray, Director of Internet Operations dan at conpoint.com Connecting Point Norfolk, NE < http://www.conpoint.com/> Voice - 402.844.2308 Fax - 402.371.4515 "The porcupine with the sharpest quills gets stuck on a tree more often." -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From drhonk at gmail.com Tue Jul 6 23:25:58 2004 From: drhonk at gmail.com (Roy Kartadinata) Date: Tue, 6 Jul 2004 14:25:58 -0700 Subject: From email address Message-ID: <90bc2a03040706142517603e0d@mail.gmail.com> Is it possible to change the from email address to an address that we specified ? -- +----------------------------------------------+ Roy Kartadinata +----------------------------------------------+ ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From neil-on-nagios at restricted.dyndns.org Wed Jul 7 00:12:27 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 06 Jul 2004 17:12:27 -0500 Subject: creating availability report Message-ID: <20040706221227.81087.qmail@restricted.dyndns.org> Hi everyone, On the nagios interface, we can create an availability report. I would like to know if someone has written a script that we can put in a cronjob and have the report created for a specific host or hostgroups. Or my second option, if you can tell me what file I need to parse, I can write a code. Thanks guys. Neil ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From neil-on-nagios at restricted.dyndns.org Wed Jul 7 00:20:52 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 06 Jul 2004 17:20:52 -0500 Subject: thoughts about event handlers Message-ID: <20040706222052.81754.qmail@restricted.dyndns.org> I read the event handler section in the Nagios documentation. It looks cool. Here is what I am thinking on how I want to implement event handlers. Let say I want to check http port 80. Steps: 1. use check_tcp to check port 80 2. If connection is refused, have the event handler get executed which calls check_nrpe to check if httpd is running 3. If httpd is running, it's possible that port 80 was accidentally modified in the firewall(of course, very remote) What I am saying here is that, with event handlers, we can be very sure that a service is really in a RUNNING STATE or in a STOPPED state. Am I correct guys? Thanks. Neil ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From tech at gnuconsulting.com Wed Jul 7 01:57:05 2004 From: tech at gnuconsulting.com (David Bishop) Date: Tue, 6 Jul 2004 17:57:05 -0600 Subject: timeouts from one machine and not another Message-ID: <20040706235705.GA85827@server1.gnuconsulting.com> I have two nagios servers checking basically the same machines (we don't need no stinking failover). However, from one machine (A), I get a lot of time-out errors on certain machines (it times out when checking smtp and ftp) and on the other, I don't. If I try it from the command-line (just telnetting to the ports), it hangs for a long time (long being greater than 10 seconds) but finally connects. However, connecting to the same machine from B, it's instantaneous. Normally I'd suspect the network connection between the two machines (client and A), but a reverse connection works very quickly (connecting to A's smtp port), and they are both on underutilized 1.5Mb lines. Ping time between them (either way) averages slightly over 100ms. The only real difference that I can think of between A and B is that A is running FreeBSD 5.2.1 and B is Debian/Sid. The clients are all also running Debian (if that matters). Help, please :-( D.A.Bishop ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Jul 7 02:02:54 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 7 Jul 2004 10:02:54 +1000 Subject: RFE Can hyperlinks be added to comments (if they can't already). In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Tue, Jul 06, 2004 at 06:38:05AM -0700 References: Message-ID: <20040707100254.A78118@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, Is it possible to add a hyperlink to a comment with Nag 1.x ? Trying to do so results in the CGI echoing the unrendered HTML eg Wed Jul 07 09:44:19 EXTERNAL COMMAND: ADD_SVC_COMMENT;asterix;COMS ad-hoc check;1;Stanley Hopcroft;foo sez a href='http://foo_host/cgi-bin/coms_graph_deltas?INT=-2h'graph/a and for good reason since the , and tags are stripped. Presumably this is because the '<' and '>' chars are stripped from user input for security reasons. Having a link in a comment may be useful - particuarly an acknowledgement - to take the CGI user directly to an associated . a request/'trouble ticket' (from RT for example) . a change management page Is there any sensible and safe way of doing this ? Removing the '<' and '>' from the list of chars that will stripped from user input doesn't sound a good idea. The only thing that comes to mind is a primitive address tag recogniser in the comment handling code. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ari at ish.com.au Wed Jul 7 02:24:26 2004 From: ari at ish.com.au (Aristedes Maniatis) Date: Wed, 7 Jul 2004 10:24:26 +1000 Subject: timeouts from one machine and not another In-Reply-To: <20040706235705.GA85827@server1.gnuconsulting.com> References: <20040706235705.GA85827@server1.gnuconsulting.com> Message-ID: <00F6EE1C-CFAC-11D8-ADCF-003065A9024A@ish.com.au> Many SMPT servers do a reverse DNS lookup on the host which is connecting in order to apply spam filtering rules, HOST checking, etc. Do you have you reverse DNS setup OK? Ari Maniatis On 07/07/2004, at 9:57 AM, David Bishop wrote: > I get a lot of > time-out errors on certain machines (it times out when checking smtp > and > ftp) and on the other, I don't. If I try it from the command-line > (just > telnetting to the ports), it hangs for a long time (long being greater > than 10 seconds) but finally connects. --------------------------> ish group pty ltd http://www.ish.com.au 7 Darghan St Glebe 2037 Australia phone +61 2 9660 1400 fax +61 2 9660 7400 PGP fingerprint 08 57 20 4B 80 69 59 E2 A9 BF 2D 48 C2 20 0C C8 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From dmourati at cm.math.uiuc.edu Wed Jul 7 02:25:32 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 6 Jul 2004 19:25:32 -0500 (CDT) Subject: timeouts from one machine and not another In-Reply-To: <20040706235705.GA85827@server1.gnuconsulting.com> References: <20040706235705.GA85827@server1.gnuconsulting.com> Message-ID: On Tue, 6 Jul 2004, David Bishop wrote: > I have two nagios servers checking basically the same machines (we don't > need no stinking failover). However, from one machine (A), I get a lot of > time-out errors on certain machines (it times out when checking smtp and > ftp) and on the other, I don't. If I try it from the command-line (just > telnetting to the ports), it hangs for a long time (long being greater > than 10 seconds) but finally connects. However, connecting to the same > machine from B, it's instantaneous. Normally I'd suspect the network > connection between the two machines (client and A), but a reverse > connection works very quickly (connecting to A's smtp port), and they > are both on underutilized 1.5Mb lines. Ping time between them (either > way) averages slightly over 100ms. The only real difference that I can > think of between A and B is that A is running FreeBSD 5.2.1 and B is > Debian/Sid. The clients are all also running Debian (if that matters). > > Help, please :-( > Check to see whether machine A is properly configured in reverse DNS. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From pla at softflare.com Wed Jul 7 03:16:36 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 07 Jul 2004 02:16:36 +0100 Subject: timeouts from one machine and not another In-Reply-To: <00F6EE1C-CFAC-11D8-ADCF-003065A9024A@ish.com.au> References: <20040706235705.GA85827@server1.gnuconsulting.com> <00F6EE1C-CFAC-11D8-ADCF-003065A9024A@ish.com.au> Message-ID: <20040707011636.16198.qmail@minnow.softflare.net> OK, this reply is slightly off-topic, but only slightly, because it addresses how likely it is that SMTP servers will cause problems for nagios. Aristedes Maniatis writes: > Many SMPT servers do a reverse DNS lookup on the host which is connecting > in order to apply spam filtering rules, HOST checking, etc. It was sensible of you to tell him to check this, just in case. However, most SMTP servers do NOT do a reverse DNS lookup. The general concensus is that doing a reverse DNS lookup is a bad idea. It adds a (potentially slow) DNS lookup for each item of mail. It blocks good mail from servers that have no control over their reverse DNS (which is surprisingly common). These days spam is increasingly from zombies, home computers on ADSL that have been infected by viruses, and many of them have ISPs that DO have reverse DNS for all their users. As a spam blocking measure it has little positive effect, which is outweighed by the negative effects. AOL's mail servers keep saying that they about to implement reverse DNS lookups, but they don't. Microsoft removed the option to do reverse DNS lookups from Exchange a while ago because it caused more trouble than it's worth. So most SMTP servers don't do reverse DNS lookups. What would be a better idea is to add a DNS RRTYPE of MS (mail sender) meaning server X is a valid mail relay for domain Y. Then you can say that if you get mail from a sender which is not a valid MS for the sender you can drop it on the floor (these days, with forged senders, bouncing just causes more problems). That would do a LOT of good. ISPs could say that only their mail servers are valid senders for their users. Well, you'd probably want an MSPTR RRTYPE to, so you could give an IP address and get a list of valid mail relays. With both RRTYPES you have things covered with minimal effort by the likes of AOL (this is in our dialup block, here are our relays) and companies who provide mail services for people who dial-in through somebody else. The transition period would be a bit of a bitch, but I see between 15,000 and 30,000 spams a day addressed to non-existent users @softflare.com (if our spam filters didn't catch over 99% of them I'd go postal) so I think something like that will eventually have to happen. Note, what is referred to here is technically not reverse DNS lookup, but that is the informal terminology used by most people these days (I mention this only because of Andreas) and I use the term as it is understood by most people. In France, dictionaries define how people MUST use words; in the UK, dictionaries define how people DO use words (which is why "cleave" is its own antonym). In technical writing one should be precise, but when almost everyone misuses "reverse DNS" there's no point fighting it, especially as the real "reverse DNS" of the RFCs was never widely implemented. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From pla at softflare.com Wed Jul 7 03:33:49 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 07 Jul 2004 02:33:49 +0100 Subject: thoughts about event handlers In-Reply-To: <20040706222052.81754.qmail@restricted.dyndns.org> References: <20040706222052.81754.qmail@restricted.dyndns.org> Message-ID: <20040707013356.22366.qmail@minnow.softflare.net> Neil writes: > Steps: > 1. use check_tcp to check port 80 > 2. If connection is refused, have the event handler get executed which > calls check_nrpe to check if httpd is running Yes, you could do that if you are creative enough in the way you abuse nagios. > What I am saying here is that, with event handlers, we can be very sure > that a service is really in a RUNNING STATE or in a STOPPED state. If you want to check if the process is running, use check_by_ssh or NRPE or NCSA or any of the other alternatives to see if that process is running. If you want to check if a machine has a web server that is accessible to the outside world then use check_http. If you want to try to figure out what is wrong, have a HUMAN BEING look at the results of those two checks when one or both reports a problem. What you're asking for is how to make nagios alert you in some bizarre situation when httpd is running but the web server is not accessible from the outside world. Although this is unlikely, the things which could cause the problem are diverse and you need a HUMAN BEING to figure out what is causing it. The problem perceived by end users is that web sites are inaccessible, and they don't care why, they just want it to be fixed. Given that you need a HUMAN BEING to figure out why the web sites are inaccessible even though httpd is running, you might as well have that HUMAN BEING do a ps ax | grep http as the first step in figuring out what is going wrong rather than try to make nagios do something that won't help much anyway. What you're asking for is a lot of work to give you something that any competent admin would do anyway as the very first step (taking seconds) in a problem-solving exercise that could take many, many hours. Been there, done that, bought the T-shirt, had apache spawning children that died within seconds (by your requirements, nagious would report that the web sites are down but that httpd is running so there is no problem; the reality is that things are severely borked). -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From nagios-users at gurugeek.com Wed Jul 7 03:50:25 2004 From: nagios-users at gurugeek.com (Jeff Rodriguez) Date: Tue, 06 Jul 2004 18:50:25 -0700 Subject: The Nagios: Reloaded (Rewriting Nagios) Message-ID: <40EB56E1.3030606@gurugeek.com> I'm working on rewriting Nagios in C# and I'm looking for input as to what people would like to see in Nagios if it was rewritten from the ground up. Features I intend to add: * Rewrite in C# for all the reasons one would use a managed language, Linux boxen will use Mono of course! * Design Nagios to be distributed from the get-go. * Use XML files for main configuration to ease the creation of configuration tools. * Use a SQLite database back end for object configuration * Use a SQLite database for user access configuration * Portability through C# and our friends at Mono * Create web services for getting the status of services and allowing services to report in. * Multi-threaded to simplify program code and speed the program up on multi-processor systems. * Integrate RRDtool for performance reporting without need for a plug in. * More well-defined reporting tools. Now I'll end up writing this whether or not people help, and whether or not it gets used because I'm going to use it myself. Obviously I want to get mind share on this project and see what other features people would like to see in this rewrite. I will also be releasing it under a new name which I am working on getting domains and possibly a trademark for. What are other's thoughts and suggestions? Jeff ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From s.shipway at auckland.ac.nz Wed Jul 7 04:38:55 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 7 Jul 2004 14:38:55 +1200 Subject: Perl module for log parsing In-Reply-To: <20040706221227.81087.qmail@restricted.dyndns.org> References: <20040706221227.81087.qmail@restricted.dyndns.org> Message-ID: <009e01c463cb$8c02a130$b004d882@itss.auckland.ac.nz> Hi -- I've been searching the Net, and found perl modules for parsing the Nagios configuration files and the status log, but nothing for parsing the activity log (and multiple archives of it). Therefore, I've written one... this should allow some Perl-based history reporting tools. What I'm asking is -- 1) has someone already done this, and I'm reinventing the wheel 2) anyone want a beta copy of the modules to try out? 3) anyone want to make some suggestions about useful extraction formats? Already I have 1) Nagios::ActLog object 2) extract list of record hashes by filter (alerts only) 3) extract XML of records by filter (alerts only) 4) (in progress) extract summary of time up/down/scheduled/etc by filter Thoughts? 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 ari at ish.com.au Wed Jul 7 04:55:58 2004 From: ari at ish.com.au (Aristedes Maniatis) Date: Wed, 7 Jul 2004 12:55:58 +1000 Subject: The Nagios: Reloaded (Rewriting Nagios) In-Reply-To: <40EB56E1.3030606@gurugeek.com> References: <40EB56E1.3030606@gurugeek.com> Message-ID: <2C62A73C-CFC1-11D8-ADCF-003065A9024A@ish.com.au> On 07/07/2004, at 11:50 AM, Jeff Rodriguez wrote: > * Rewrite in C# for all the reasons one would use a managed > language, Linux boxen will use Mono of course! I am unclear how it helps to take a solid working tool written in an open language and rewrite it in a language controlled by one company, introduce a whole new set of bugs. Wouldn't you be better directing your energy toward improving the existing product? > * Use XML files for main configuration to ease the creation of > configuration tools. Please no. XML files are a pain to edit by hand and configuration tools are really unnecessary to edit a simple file like nagios.cfg. If you mean files like hosts.cfg, then perhaps you should contribute toward the work to get those back into an SQL database (as I understand that SQL support has been dropped in version 2). Ari Maniatis --------------------------> ish group pty ltd http://www.ish.com.au 7 Darghan St Glebe 2037 Australia phone +61 2 9660 1400 fax +61 2 9660 7400 PGP fingerprint 08 57 20 4B 80 69 59 E2 A9 BF 2D 48 C2 20 0C C8 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Kerry.Milestone at tnzi.com Wed Jul 7 05:07:30 2004 From: Kerry.Milestone at tnzi.com (Kerry Milestone) Date: Wed, 7 Jul 2004 15:07:30 +1200 Subject: The Nagios: Reloaded (Rewriting Nagios) Message-ID: Will you forever mention on your new website with its new trademark that the ideas and inspiration came from Nagios? Will you follow the usual Microsoft standard and claim a patent for the new technology of remotely polling devices through an integrated distributed monitoring system? What do you intend the monitoring box to be doing to require extensive multi-processor computing? Have you come across Nagmin? (its very useful) What exactly is a managed language? Will it be GPL? Just a few thoughts about things. ________________________________ Kerry Milestone, Network Engineer. ________________________________ 1 , 0.... my two bits. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeff Rodriguez Sent: Wednesday, 7 July 2004 1:50 p.m. To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] The Nagios: Reloaded (Rewriting Nagios) I'm working on rewriting Nagios in C# and I'm looking for input as to what people would like to see in Nagios if it was rewritten from the ground up. Features I intend to add: * Rewrite in C# for all the reasons one would use a managed language, Linux boxen will use Mono of course! * Design Nagios to be distributed from the get-go. * Use XML files for main configuration to ease the creation of configuration tools. * Use a SQLite database back end for object configuration * Use a SQLite database for user access configuration * Portability through C# and our friends at Mono * Create web services for getting the status of services and allowing services to report in. * Multi-threaded to simplify program code and speed the program up on multi-processor systems. * Integrate RRDtool for performance reporting without need for a plug in. * More well-defined reporting tools. Now I'll end up writing this whether or not people help, and whether or not it gets used because I'm going to use it myself. Obviously I want to get mind share on this project and see what other features people would like to see in this rewrite. I will also be releasing it under a new name which I am working on getting domains and possibly a trademark for. What are other's thoughts and suggestions? Jeff ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Kerry.Milestone at tnzi.com Wed Jul 7 05:23:22 2004 From: Kerry.Milestone at tnzi.com (Kerry Milestone) Date: Wed, 7 Jul 2004 15:23:22 +1200 Subject: The Nagios: Reloaded (Rewriting Nagios) Message-ID: Will you forever mention on your new website with its new trademark that the ideas and inspiration came from Nagios? Will you follow the usual Microsoft standard and claim a patent for the new technology of remotely polling devices through an integrated distributed monitoring system? What do you intend the monitoring box to be doing to require extensive multi-processor computing? Have you come across Nagmin? (its very useful) What exactly is a managed language? Will it be GPL? Just a few thoughts about things. ________________________________ Kerry Milestone, Network Engineer. ________________________________ 1 , 0.... my two bits. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeff Rodriguez Sent: Wednesday, 7 July 2004 1:50 p.m. To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] The Nagios: Reloaded (Rewriting Nagios) I'm working on rewriting Nagios in C# and I'm looking for input as to what people would like to see in Nagios if it was rewritten from the ground up. Features I intend to add: * Rewrite in C# for all the reasons one would use a managed language, Linux boxen will use Mono of course! * Design Nagios to be distributed from the get-go. * Use XML files for main configuration to ease the creation of configuration tools. * Use a SQLite database back end for object configuration * Use a SQLite database for user access configuration * Portability through C# and our friends at Mono * Create web services for getting the status of services and allowing services to report in. * Multi-threaded to simplify program code and speed the program up on multi-processor systems. * Integrate RRDtool for performance reporting without need for a plug in. * More well-defined reporting tools. Now I'll end up writing this whether or not people help, and whether or not it gets used because I'm going to use it myself. Obviously I want to get mind share on this project and see what other features people would like to see in this rewrite. I will also be releasing it under a new name which I am working on getting domains and possibly a trademark for. What are other's thoughts and suggestions? Jeff ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 N?HS^????[)?{(??[?ZrA???y?????j)??-???V??v???~)??:??x????U?????n6????????_u???????^r?q?^???????????b??^???j?!y??? +?)???h???????X???0??ZrHZ??&5?"???z?&j)b? b??Z?*,????X???(??~??zw???i?????l???q????z????l?X??)?????*,?????^j????nu?Z?*,????????"????*'???9,!zz?????x?(????z???0??h??.??+?)??w??)e?+$m????????u????e From tech at gnuconsulting.com Wed Jul 7 05:33:23 2004 From: tech at gnuconsulting.com (David Bishop) Date: Tue, 6 Jul 2004 21:33:23 -0600 Subject: timeouts from one machine and not another In-Reply-To: <00F6EE1C-CFAC-11D8-ADCF-003065A9024A@ish.com.au> References: <20040706235705.GA85827@server1.gnuconsulting.com> <00F6EE1C-CFAC-11D8-ADCF-003065A9024A@ish.com.au> Message-ID: <20040707033322.GB85827@server1.gnuconsulting.com> Sorry, I should have made it more clear. I get this hang on all connections that I make, whether it is smtp or ftp. Interestingly enough, I do *not* get the hang when using ssh, http, or domain. Could this be some sort of pam thing? I don't know enough about pam to really say. The ftp daemon, exim, and sshd are all started as seperate services (not via inetd), so that startup isn't an issue. I'm going to start looking at pam, see if that leads me anywhere. *update* Doesn't happen with pop3 or imap, either. So it's just ftp and smtp. *update to my update* Now it isn't happening with ftp either, just smtp. But reverse dns lookup is turned off, I swear it is... And it definetly was happening with ftp before. - Very Confused On Wed, Jul 07, 2004 at 10:24:26AM +1000, Aristedes Maniatis wrote: > Many SMPT servers do a reverse DNS lookup on the host which is > connecting in order to apply spam filtering rules, HOST checking, etc. > Do you have you reverse DNS setup OK? > > Ari Maniatis > > > On 07/07/2004, at 9:57 AM, David Bishop wrote: > > >I get a lot of > >time-out errors on certain machines (it times out when checking smtp > >and > >ftp) and on the other, I don't. If I try it from the command-line > >(just > >telnetting to the ports), it hangs for a long time (long being greater > >than 10 seconds) but finally connects. > > > > --------------------------> > ish group pty ltd > http://www.ish.com.au > 7 Darghan St Glebe 2037 Australia > phone +61 2 9660 1400 fax +61 2 9660 7400 > PGP fingerprint 08 57 20 4B 80 69 59 E2 A9 BF 2D 48 C2 20 0C C8 > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 > > !DSPAM:40eb4517125072102030733! ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From tradergt at smelser.org Wed Jul 7 05:35:57 2004 From: tradergt at smelser.org (Jeff Smelser) Date: Tue, 6 Jul 2004 22:35:57 -0500 Subject: From email address In-Reply-To: <90bc2a03040706142517603e0d@mail.gmail.com> References: <90bc2a03040706142517603e0d@mail.gmail.com> Message-ID: <200407062235.57235.tradergt@smelser.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 06 July 2004 04:25 pm, Roy Kartadinata wrote: > Is it possible to change the from email address to an address that we > specified ? Huh? What are you talking about? - -- ======================================================================= Jabber: tradergt@(smelser.org|jabber.org) Quote: It is better to die on your feet than to live on my income. ======================================================================= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA62+dld4MRA3gEwYRAhQAAKClAZ/qi38QQe8cEcW/RVMe2wW6+wCfUARa 7y+btHJNoBJIN5R+Eh88Qow= =ts0N -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From tradergt at smelser.org Wed Jul 7 05:38:58 2004 From: tradergt at smelser.org (Jeff Smelser) Date: Tue, 6 Jul 2004 22:38:58 -0500 Subject: Perl module for log parsing In-Reply-To: <009e01c463cb$8c02a130$b004d882@itss.auckland.ac.nz> References: <009e01c463cb$8c02a130$b004d882@itss.auckland.ac.nz> Message-ID: <200407062238.58509.tradergt@smelser.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 06 July 2004 09:38 pm, Steve Shipway wrote: > Hi -- Don't hi jack threads please, it makes it hard to figure out whats going on when you reading threaded messages. Thanks, Jeff - -- ======================================================================= Jabber: tradergt@(smelser.org|jabber.org) Quote: "Stop quoting me, you blubbering twit!" -- Confucius ======================================================================= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA63BSld4MRA3gEwYRAlUtAJ0Qhcej+/4d12XGd5KTe+EskLkIHwCfR9nB 8uY+RRej7iLHM2l5YPvXx6E= =BPDZ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From tradergt at smelser.org Wed Jul 7 05:34:57 2004 From: tradergt at smelser.org (Jeff Smelser) Date: Tue, 6 Jul 2004 22:34:57 -0500 Subject: Capacity In-Reply-To: References: Message-ID: <200407062234.58006.tradergt@smelser.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 06 July 2004 04:59 pm, ilopez at jalisco.gob.mx wrote: > I would like to know if nagios has a capacity to check hosts and services . > > I mean if it has a maximum number of hosts of services. I think its as much as the monitoring server can handle.. I am not positive though. - -- ======================================================================= Jabber: tradergt@(smelser.org|jabber.org) Quote: Celer manus Dei. ======================================================================= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA629hld4MRA3gEwYRAkTOAJ40XCypfvTfuajP/fWr387qI1niFwCeM/So WqT9LyKKYYgRiD05OR83quY= =RfLq -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From tradergt at smelser.org Wed Jul 7 05:38:09 2004 From: tradergt at smelser.org (Jeff Smelser) Date: Tue, 6 Jul 2004 22:38:09 -0500 Subject: creating availability report In-Reply-To: <20040706221227.81087.qmail@restricted.dyndns.org> References: <20040706221227.81087.qmail@restricted.dyndns.org> Message-ID: <200407062238.09910.tradergt@smelser.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 06 July 2004 05:12 pm, Neil wrote: > On the nagios interface, we can create an availability report. I would like > to know if someone has written a script that we can put in a cronjob and > have the report created for a specific host or hostgroups. Or my second > option, if you can tell me what file I need to parse, I can write a code. Look in the cgi directory, you can run those via cron. Your just gonna have to figure out what to supply it. I think it you run it, it tells you what variable you have to set. - -- ======================================================================= Jabber: tradergt@(smelser.org|jabber.org) Quote: +1 Thumping Bible, +3 vs. Jehovah's Witnesses. ======================================================================= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA63Ahld4MRA3gEwYRAo6TAKC0rXq56zo2k5YWh0VJnvVqPsXUDwCfUftW BL0jx4xGwAW1ZDTwqeLx0Lo= =sOX1 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Kerry.Milestone at tnzi.com Wed Jul 7 05:45:43 2004 From: Kerry.Milestone at tnzi.com (Kerry Milestone) Date: Wed, 7 Jul 2004 15:45:43 +1200 Subject: The Nagios: Reloaded (Rewriting Nagios) Message-ID: Will you forever mention on your new website with its new trademark that the ideas and inspiration came from Nagios? Will you follow the usual Microsoft standard and claim a patent for the new technology of remotely polling devices through an integrated distributed monitoring system? What do you intend the monitoring box to be doing to require extensive multi-processor computing? Have you come across Nagmin? (its very useful) What exactly is a managed language? Will it be GPL? Just a few thoughts about things. ________________________________ Kerry Milestone, Network Engineer. ________________________________ 1 , 0.... my two bits. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeff Rodriguez Sent: Wednesday, 7 July 2004 1:50 p.m. To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] The Nagios: Reloaded (Rewriting Nagios) I'm working on rewriting Nagios in C# and I'm looking for input as to what people would like to see in Nagios if it was rewritten from the ground up. Features I intend to add: * Rewrite in C# for all the reasons one would use a managed language, Linux boxen will use Mono of course! * Design Nagios to be distributed from the get-go. * Use XML files for main configuration to ease the creation of configuration tools. * Use a SQLite database back end for object configuration * Use a SQLite database for user access configuration * Portability through C# and our friends at Mono * Create web services for getting the status of services and allowing services to report in. * Multi-threaded to simplify program code and speed the program up on multi-processor systems. * Integrate RRDtool for performance reporting without need for a plug in. * More well-defined reporting tools. Now I'll end up writing this whether or not people help, and whether or not it gets used because I'm going to use it myself. Obviously I want to get mind share on this project and see what other features people would like to see in this rewrite. I will also be releasing it under a new name which I am working on getting domains and possibly a trademark for. What are other's thoughts and suggestions? Jeff ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 N?HS^????[)?{(??[?ZrA???y?????j)??-???V??v???~)??:??x????U?????n6????????_u???????^r?q?^???????????b??^???j?!y??? +?)???h???????X???0??ZrHZ??&5?"???z?&j)b? b??Z?*,????X???(??~??zw???i?????l???q????z????l?X??)?????*,?????^j????nu?Z?*,????????"????*'???9,!zz?????x?(????z???0??h??.??+?)??w??)e?+$m????????u????e From jnichols at pbp.net Wed Jul 7 07:11:30 2004 From: jnichols at pbp.net (Jonathan Nichols) Date: Tue, 06 Jul 2004 22:11:30 -0700 Subject: Monitoring Dell stuff? Message-ID: <40EB8602.7010808@pbp.net> Greetings all.. Are any of you using Linux on the Dell PowerEdge boxes? If yes, what are you using to monitor the RAID status (if you're using RAID) - currently my method consists of checking /proc/megaraid/hba0/ and doing this: jnichols at mailgate hba0 $ sudo cat raiddrives-0-9 Logical drive: 0:, state: optimal Span depth: 1, RAID level: 1, Stripe size: 64, Row size: 2 Read Policy: Adaptive, Write Policy: Write back, Cache Policy: Direct IO jnichols at mailgate hba0 $ That method sucks. I need to find something better. :) The Dell RAID monitoring tools are an absolute joke, and seem to be Red Hat specific (I don't use Red Hat..using Gentoo) Has anybody run into this? Thanks! -Jonathan (ps, yes, I checked Google..didn't find a lot, was hoping for personal experiences) ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From maca02 at atlas.cz Wed Jul 7 07:49:52 2004 From: maca02 at atlas.cz (=?ISO-8859-2?Q?Tom=E1=B9_Macek?=) Date: Wed, 7 Jul 2004 07:49:52 +0200 (CEST) Subject: Problems with history In-Reply-To: <1088785269.1329.15.camel@localhost.localdomain> References: <1088785269.1329.15.camel@localhost.localdomain> Message-ID: Hi Tamas! sorry, for the delay of my answer, we had a 2 days free in Czech Republic... Thank you very much for the script, I will test it as early as possible. Nowaday s I do not have enaught time to do that, but I will test it surely when I finish current project I'm working on. You are writing, that you are not a programmer -> you wrote this script, so you are the programmer! ;-) I looked into the script and I think you always go through the whole directory, it would be better to do move only one file according to the current date and this script would be run at 00:01 every day. I would like to add this to the script. Have a nice day Tom On Fri, 2 Jul 2004, Horvath Tamas wrote: > Hi Tom! > > I couldn't manage to figure out why nagios creates *-23.log files. > > I wrote a little shell script for our problem. I use it via root > crontab. I tested it in every scenario which I can imagine and it seemed > to me that it works. > > Please note that I am not a programmer so the code may be not as > compact, fast, etc. as would be. > > Two important notes: > 1. Please replace MAGYAR_DATUM with DATUM. The first one create > Hungarian date format from the original one. > 2. Sorry for Hungarian textparts. I've no enough time to translate them > to English. > > Congratulations for your football team. I'm a fun of them and I terrible > sorry that they aren't in the final!:( > > Have a nice weekend, Tamas! > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From festivus at gmail.com Wed Jul 7 07:52:16 2004 From: festivus at gmail.com (Andrew Best) Date: Wed, 7 Jul 2004 15:52:16 +1000 Subject: Monitoring Dell stuff? In-Reply-To: <40EB8602.7010808@pbp.net> References: <40EB8602.7010808@pbp.net> Message-ID: On Tue, 06 Jul 2004 22:11:30 -0700, Jonathan Nichols wrote: > Are any of you using Linux on the Dell PowerEdge boxes? If yes, what > are you using to monitor the RAID status (if you're using RAID) - Im not currently but plan to be at some point in the future. Ive already done a little research around the traps on this. Found this: http://linux.dell.com More specifically I saw this article a while ago: http://www.dell.com/downloads/global/power/1q04-sch.pdf > Has anybody run into this? Theres info on linux.dell.com about people successfully getting things going on other distros so maybe start there? -- NARF! 250 OK ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Jul 7 08:10:01 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 7 Jul 2004 16:10:01 +1000 Subject: thoughts about event handlers In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Tue, Jul 06, 2004 at 10:13:49PM -0700 References: Message-ID: <20040707161000.D78118@IPAustralia.Gov.AU> On Tue, Jul 06, 2004 at 10:13:49PM -0700, nagios-users-request at lists.sourceforge.net wrote: > > Message: 5 > From: "Neil" > Date: Tue, 06 Jul 2004 17:20:52 -0500 > Subject: [Nagios-users] thoughts about event handlers > > I read the event handler section in the Nagios documentation. It looks cool. > Here is what I am thinking on how I want to implement event handlers. Let > say I want to check http port 80. > .. snip. > Am I correct guys? > Yep. We double check a providers service (to ensure access to it has not failed because of ISP failure) by having a service event handler ssh to another host - in a different administrative domain - and repeat the check from there. exit 0 unless $ARGV[1] eq 'HARD' ; open(OUT, '>> /home/nagios/results_of_traceroute_and_check_qwebprd_on_foo') or die "Cannot open \"/home/nagios/results_of_traceroute_and_check_qwebprd_on_foo\" in append mode: $!" ; select OUT ; $| = 1 ; print scalar localtime, "\n" ; print qx'ssh stanley at foo.bar "perl/check_qwebprd; echo; traceroute -Picmp -q1 qwebprd.questel.fr" 2>&1' Event Handlers are very flexible. You probably want to make sure that event handler self destructs if it hasn't finished in less than some maximum time interval. > Thanks. > > Neil > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Jul 7 08:17:59 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 7 Jul 2004 16:17:59 +1000 Subject: Perl module for log parsing In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Tue, Jul 06, 2004 at 10:13:49PM -0700 References: Message-ID: <20040707161759.E78118@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Tue, Jul 06, 2004 at 10:13:49PM -0700, nagios-users-request at lists.sourceforge.net wrote: > > Message: 13 > From: "Steve Shipway" > Date: Wed, 7 Jul 2004 14:38:55 +1200 > Subject: [Nagios-users] Perl module for log parsing > > This is a multi-part message in MIME format. > .. Aargh > ------=_NextPart_000_009F_01C46430.21378130 > Content-Type: text/plain; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > Hi -- > > I've been searching the Net, and found perl modules for parsing the = > Nagios > configuration files and the status log, but nothing for parsing the = > activity > log (and multiple archives of it). Therefore, I've written one... this > should allow some Perl-based history reporting tools. > Fandamnastic. > What I'm asking is -- > 1) has someone already done this, and I'm reinventing the wheel I have been looking for one. > 2) anyone want a beta copy of the modules to try out? Yes please; the 5.005_03 version if possible .... > 3) anyone want to make some suggestions about useful extraction formats? > CSV is pretty good or go the whole hog and use Spreadsheet::WriteExcel ... Distribution options are also worth thinking about: attaching to email is helpful (partic CSV). > Already I have > 1) Nagios::ActLog object > 2) extract list of record hashes by filter (alerts only) > 3) extract XML of records by filter (alerts only) > 4) (in progress) extract summary of time up/down/scheduled/etc by filter > Thank you very much. This sounds a wonderful Nagios addon. > > Steve > > --- > Steve Shipway: ITSS, University of Auckland > Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ =20 > ** We can only discover new oceans when we have the ** > ** courage to lose sight of the shore. ** > -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From sontt at fcv.fujitsu.com Wed Jul 7 08:51:44 2004 From: sontt at fcv.fujitsu.com (Truong Tan Son) Date: Wed, 7 Jul 2004 13:51:44 +0700 Subject: Nagios unknow all defines on configuration file Message-ID: <001701c463ee$df0353c0$668610ac@pi21> Dear Sir, I renamed all files /usr/local/nagios/etc/.cfg-sample into /usr/local/nagios/etc/.cfg, and run #/usr/local/nagios/bin.nagios -v /usr/local/nagios/etc/.cfg Nagios unknow all defines on configuration file (keywords, directives, ...). ( My server is RedHat 7.3, I configured with default setting without errors ) Please help me to solve. Thanks, ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From bdunn at rdac.com.au Wed Jul 7 09:37:23 2004 From: bdunn at rdac.com.au (Brad Dunn) Date: Wed, 7 Jul 2004 15:37:23 +0800 Subject: Mail not working Message-ID: <47287D7F1C9A1C4B99EB7D407FCEE69604C81D@rdaex01.rdac.com.au> Hello there, I've got Nagios running on a debian system working ok, however my email is not working to the notify_by_email. I was wondering if there was somewhere I could obtain a running command. Similar to the one I've got listed in misccommands. Attached here # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 1.0 *****\n\notification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } That utilizes postfix. Is there also a way of running those above lines manually and seeing where they fail? - Brad ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From r.nagy at nameshield.net Wed Jul 7 09:41:29 2004 From: r.nagy at nameshield.net (Richard NAGY) Date: Wed, 07 Jul 2004 09:41:29 +0200 Subject: Monitoring Dell stuff? In-Reply-To: <40EB8602.7010808@pbp.net> References: <40EB8602.7010808@pbp.net> Message-ID: <40EBA929.7030107@nameshield.net> Hello Jonathan, I'm using DELL machines with RAID. Recently, I was in the same situation as you. I was looking on the net for something and I did find some small things which get me started. So I have done the job myself except for the first script, which I adapted for my personal use with nagios. Well, my problems were that I have 4 different DELL machines with four different hardware RAID! So, it was a bit longer to handle. On 4 machines, I solved 3. The last one, I have called DELL. They told me that it is not possible for that card on that OS (RedHat 6.2 -- too old, so is the card!) So, here is some things that may help you (for monitoring) : Dell PowerEdge 2450 with a DELL PERC 3/Si (driver percraid) : OK with afacli Dell PowerEdge 2650 with a DELL PERC 3/Di (driver aacraid) : OK with afacli Dell PowerEdge 1750 with a DELL PERC 4/Di (driver megaraid) : OK with proc Dell PowerEdge 2450 with a DELL PERC 2/DC (driver megaraid) : NOT OK There is an other solution for monitoring on some cards but I don't have the time to test. It is with DOMSA (Dell Open Manage Server Administrator with an SNMP agent). So, I attached my two personal scripts for nagios. Note : * with afacli, the whole RAID is checked * with proc, each disk of the RAID container is checked comments are welcome! ;-) Regards. Jonathan Nichols wrote : > Greetings all.. > > Are any of you using Linux on the Dell PowerEdge boxes? If yes, > what are you using to monitor the RAID status (if you're using RAID) - > currently my method consists of checking /proc/megaraid/hba0/ and > doing this: > > jnichols at mailgate hba0 $ sudo cat raiddrives-0-9 > Logical drive: 0:, state: optimal > Span depth: 1, RAID level: 1, Stripe size: 64, Row size: 2 > Read Policy: Adaptive, Write Policy: Write back, Cache Policy: Direct IO > > jnichols at mailgate hba0 $ > > That method sucks. I need to find something better. :) The Dell RAID > monitoring tools are an absolute joke, and seem to be Red Hat specific > (I don't use Red Hat..using Gentoo) > > Has anybody run into this? > > Thanks! > -Jonathan > > (ps, yes, I checked Google..didn't find a lot, was hoping for personal > experiences) > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.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: check_megaraid_with_proc.sh Type: application/x-sh Size: 2358 bytes Desc: not available URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_raid_with_afacli URL: From duncan.robertson at vsl.com.au Wed Jul 7 09:46:26 2004 From: duncan.robertson at vsl.com.au (Duncan Robertson) Date: Wed, 07 Jul 2004 17:46:26 +1000 Subject: nagios execution of notify commands, debugging the exact command being run Message-ID: <1089186386.32006.316.camel@scion.vsl.com.au> Hi, We are running nagios and it is all working quite well, except some (but not all) sms notifications are not sent (though the log says they are). We are using sms_client as the sending mechanism, and it works quite well run from command line as nagios user. I suspect it is the generated alert string being fed to it is something it doesn't like for one class of machines - - but is there a way to turn on the logging so I can see the exact command being executed on notify so I can debug it? My usual way of solving this (strace) doesnt want to play, for some reason strace doesnt want to latch onto the nagios process either. This is on redhat 9, nagios 1.2 (from DAG rpm). -- Duncan Robertson System Administrator Vision Systems Limited phone: (+61)392117024 email: duncan.robertson at vsl.com.au ============================================ IMPORTANT - This e.mail and any attachments may be confidential. Any retransmissions, dissemination or other use of these materials by persons or entities other than the intended recipient is prohibited. If received in error, please contact us and delete all copies. Before opening or using attachments, check them for viruses and defects. Our liability is limited to resupplying any affected attachments. [Any representations or opinions expressed in this e.mail are those of the individual sender, and not necessarily those of Vision Systems Limited]. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Philipp.Sand at sycor.de Wed Jul 7 09:55:23 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 7 Jul 2004 09:55:23 +0200 Subject: Hostgroup of Hostgroups? Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E068DE9@SYGOMAIL.GOE.AD.SYCOR.DE> Even in 2.0 it's not possible. Would be a nice feature to add i think. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Demetri Mouratis > Sent: Tuesday, July 06, 2004 9:26 PM > To: Christopher M Bergeron > Cc: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Hostgroup of Hostgroups? > > On Tue, 6 Jul 2004, Christopher M Bergeron wrote: > > > Is it possible to create a hostgroup of hostgroups in nagios? > > Unfornately, no, this doesn't work in 1.2. 2.0 perhaps? > > --------------------------------------------------------------------- > Demetri Mouratis > dmourati at linfactory.com > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor > pitches, unmatched networking opportunities. Visit > www.blackhat.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 > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From n3tvicious-nagios at yahoo.es Wed Jul 7 10:17:11 2004 From: n3tvicious-nagios at yahoo.es (=?iso-8859-1?q?NetVicious?=) Date: Wed, 7 Jul 2004 10:17:11 +0200 (CEST) Subject: Mail not working In-Reply-To: <47287D7F1C9A1C4B99EB7D407FCEE69604C81D@rdaex01.rdac.com.au> References: <47287D7F1C9A1C4B99EB7D407FCEE69604C81D@rdaex01.rdac.com.au> Message-ID: <20040707081711.48965.qmail@web53303.mail.yahoo.com> --- Brad Dunn escribi?: > Hello there, I think you need to add a /usr/bin/mail -s before the | I'm, using Debian Stable in the nagios box. When I installed nagios I changed this line with this one. define command { command_name notify-by-email command_line /bin/echo -e \*\*\*\*\* Nagios \*\*\*\*\*\\n\\nTipo de Notif icaci?n: $NOTIFICATIONTYPE$\\n\\nServicio: $SERVICEDESC$\\nHost: $HOSTALIAS$\\nI P: $HOSTADDRESS$\\nEstado: $SERVICESTATE$\\n\\nFecha/Hora: $DATETIME$\\n\\nInfor maci?n Adicional:\\n\\n$OUTPUT$ | /usr/bin/mail -s "`echo -e [Nagios] $NOTIFICAT IONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ -`" $CONTACTEMAIL$ } As you could see the labels are in Spanish, sorry. > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios 1.0 > *****\n\notification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional > Info:\n\n$OUTPUT$" > | -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is > $SERVICESTATE$ **" $CONTACTEMAIL$ > } ===== .. //\/ e t . \/ i c i o u s .. ______________________________________________ Renovamos el Correo Yahoo!: ?100 MB GRATIS! Nuevos servicios, m?s seguridad http://correo.yahoo.es ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Ben at clewett.org.uk Wed Jul 7 10:23:43 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Wed, 07 Jul 2004 09:23:43 +0100 Subject: hostgroup.cfg file In-Reply-To: <4AB63699.6050301@datavis.se> References: <4AB63699.6050301@datavis.se> Message-ID: <40EBB30F.8040906@clewett.org.uk> Dear Nagios, I had an interesting time installing Nagios 1.2 onto a SUSE 9.1 box yesterday. During the installation, configure could not find the libgd.so files. Despite me specifying exactly where they are using the correct configure options. But I ignored this and completed the 'make' with absolutely no error, including the parts which use the libgd. I think there might be an error somewhere in the configure script. I hope this is of interest to somebody, Regards, Ben Clewett. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From rms at sibs.pt Wed Jul 7 10:41:18 2004 From: rms at sibs.pt (Rui Miguel Seabra) Date: Wed, 07 Jul 2004 09:41:18 +0100 Subject: The Nagios: Reloaded (Rewriting Nagios) In-Reply-To: <2C62A73C-CFC1-11D8-ADCF-003065A9024A@ish.com.au> References: <40EB56E1.3030606@gurugeek.com> <2C62A73C-CFC1-11D8-ADCF-003065A9024A@ish.com.au> Message-ID: <1089189678.2747.87.camel@roque> On Wed, 2004-07-07 at 12:55 +1000, Aristedes Maniatis wrote: > On 07/07/2004, at 11:50 AM, Jeff Rodriguez wrote: > > > * Rewrite in C# for all the reasons one would use a managed > > language, Linux boxen will use Mono of course! > > I am unclear how it helps to take a solid working tool written in an > open language and rewrite it in a language controlled by one company, > introduce a whole new set of bugs. > > Wouldn't you be better directing your energy toward improving the > existing product? Worse! It will require huge amounts of software installed on the server wich would be otherwise totally uneeded! Rui -------------- 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 m.borsani at it.net Wed Jul 7 10:55:25 2004 From: m.borsani at it.net (Marco Borsani) Date: Wed, 7 Jul 2004 10:55:25 +0200 Subject: Define our own macros In-Reply-To: <1089189678.2747.87.camel@roque> References: <1089189678.2747.87.camel@roque> Message-ID: Hi list, I still have the notification problem! I think to solve it define some macro that can give me the information that I want to notify (example: a TCP port). Do you know if is it possbible and how to do? Right now I don't find any information about it. Thanks a lot Marco ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From verdon at cict.fr Wed Jul 7 11:08:09 2004 From: verdon at cict.fr (carole verdon) Date: Wed, 07 Jul 2004 11:08:09 +0200 Subject: hostextinfo being ignored In-Reply-To: <40EAD33C.6080302@microlnk.net> References: <40EAA31A.5070107@cict.fr> <40EAD33C.6080302@microlnk.net> Message-ID: <40EBBD79.2020601@cict.fr> I added in my cgi.cfg this line: xedtemplate_config_file=/usr/local/nagios/etc/HostExtInfo.cfg But nagios don't take into account. I think that it's due to the fact that i configured nagios to put extented information in a database. For the path of logos, i modified it the NagMIN Module Config as you tell me. Now, it's ok. For the changes in 'Host Extended Information' table of Nagmin, even after click on 'activate' button, the modifications that i have made don't take into account. For example, i deleted the template that i created in 'Host Extented Template' table. Then, i modified the 'Host Extended Information' table and click on 'activate' button. If i edit the /usr/local/nagios/etc/HostExtInfo.cfg, i see that the template (named 'linux') is always present: $ more HostExtInfo.cfg ## NagMIN Configuration File (/usr/local/nagmin-2.1.0/nagios/HostExtInfo.cfg) for Host ## Generated Wed Jul 7 10:21:19 2004 ## NagMIN Configuration File (/usr/local/nagmin-2.1.0/nagios/HostExtInfo.cfg) for HostExtInfo ## Generated Wed Jul 7 10:21:19 2004 define hostextinfo { host_name aurore.cict.fr icon_image sun40.gif icon_image_alt Sun Server statusmap_image sun.gd2 } define hostextinfo { host_name gw1-mail.cict.fr icon_image_alt Mail Gateway 2d_coords 110,80 } define hostextinfo { host_name lambi.cict.fr icon_image_alt NIS Server 2d_coords 100.0,50.0 } define hostextinfo { use linux host_name ns2.cict.fr icon_image linux40.gif icon_image_alt ns2 statusmap_image linux40.png 2d_coords 10,15 } define hostextinfo { use linux host_name servmail.univ-tlse2.fr 2d_coords 40,30 } define hostextinfo { host_name telline.cict.fr icon_image hpux.png icon_image_alt HPUX Server statusmap_image hpux.gif 2d_coords 100,60 } define hostextinfo { host_name vae.cict.fr icon_image linux40.jpg icon_image_alt Linux Server statusmap_image linux40.png 2d_coords 50,10 } ## NagMIN Configuration File (/usr/local/nagmin-2.1.0/nagios/HostExtInfo.cfg) for HostExtTemplate ## Generated Wed Jul 7 10:21:19 2004 Jason Byrns wrote: >> I see my hosts in statusmap but when i want to use hostextinfo to add >> an image or coordinates, nothing happens. > > > You must add a line to your cgi.cfg file, to use extended host > information. It looks like this: > > xedtemplate_config_file=/etc/nagios/HostExtInfo.cfg > > The name of my cfg file is capitalized like that, since I also use > NagMIN to configure Nagios. > >> 2. I create a new gd2 image in /usr/local/nagios/share/images/logos : >> pngtogd2 sun40.png sun.gd2 0 1 >> When i wanted to choose this new image in the 'Statusmap Image' field >> of nagmin, i didn't see it. I realized the directory that took into >> account was /opt/webmin/nagmin/images/logos. Why?????? > > > Controlled through the NagMIN Module Config, I believe. (Go to NagMIN > through Webmin, then click "Module Config" in the upper-left corner.) > >> 4. Another problem with nagmin is that if i want to modify >> coordinates of one host for example, that don't works. When i click >> on 'save' button, nothing changes. > > > NagMIN changes must be verified and activated each time. Make changes > to your database, then click the "Verify" button at the top of the > main Database menu. If it verifies without warnings, next click the > "Activate" button to make your changes live. > >> 5. I have a question. Is it possible in status map that one host >> becomes red when a service becomes critical or yellow when it becomes >> in warning? > > > I thought it already did that. > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Wed Jul 7 11:16:48 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Jul 2004 11:16:48 +0200 Subject: timeouts from one machine and not another In-Reply-To: <20040706235705.GA85827@server1.gnuconsulting.com> References: <20040706235705.GA85827@server1.gnuconsulting.com> Message-ID: <40EBBF80.3090703@op5.se> David Bishop wrote: > I have two nagios servers checking basically the same machines (we don't > need no stinking failover). However, from one machine (A), I get a lot of > time-out errors on certain machines (it times out when checking smtp and > ftp) and on the other, I don't. If I try it from the command-line (just > telnetting to the ports), it hangs for a long time (long being greater > than 10 seconds) but finally connects. However, connecting to the same > machine from B, it's instantaneous. Normally I'd suspect the network > connection between the two machines (client and A), but a reverse > connection works very quickly (connecting to A's smtp port), and they > are both on underutilized 1.5Mb lines. A client of ours had this problem because of an overloaded router that was supposed to send a NEXT_HOP but couldn't always manage the load. When the traffic went the other way, the overloaded router was never in the picture and connections worked beautifully every time (that had us scratching our heads for quite some time). Another thing that can cause this is NIC-setting autodetection. Some not-so-nice switches and OS's try to renegotiate ethernet settings (duplex and speed). This normally causes the interface on both switch and server to go dormant until the negotiation is complete. > Ping time between them (either > way) averages slightly over 100ms. The only real difference that I can > think of between A and B is that A is running FreeBSD 5.2.1 and B is > Debian/Sid. The clients are all also running Debian (if that matters). > It shouldn't really. FreeBSD has a legacy of perfectly working IP stack, so the problem is most likely in the network. > Help, please :-( > Things to check for; Are the timeouts happening only during certain hours, and in that case when, and what else is happening during those hours (backups, people at work, lots of web-/ftp-server hits)? Things to try; Switch places and Nagios-configuration on the two machines. If A still fumbles you know the problem resides on the server. If B fumbles, it's in the network. > D.A.Bishop > -- Sourcerrer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Wed Jul 7 11:20:44 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Jul 2004 11:20:44 +0200 Subject: RFE Can hyperlinks be added to comments (if they can't already). In-Reply-To: <20040707100254.A78118@IPAustralia.Gov.AU> References: <20040707100254.A78118@IPAustralia.Gov.AU> Message-ID: <40EBC06C.5060706@op5.se> Stanley Hopcroft wrote: > Dear Ladies and Gentlemen, > > Is it possible to add a hyperlink to a comment with Nag 1.x ? > > Trying to do so results in the CGI echoing the unrendered HTML eg > > Wed Jul 07 09:44:19 EXTERNAL COMMAND: ADD_SVC_COMMENT;asterix;COMS > ad-hoc check;1;Stanley Hopcroft;foo sez a > href='http://foo_host/cgi-bin/coms_graph_deltas?INT=-2h'graph/a > > and for good reason since the , and tags are stripped. > > Presumably this is because the '<' and '>' chars are stripped from user > input for security reasons. > > Having a link in a comment may be useful - particuarly an > acknowledgement - to take the CGI user directly to an associated > > . a request/'trouble ticket' (from RT for example) > > . a change management page > > Is there any sensible and safe way of doing this ? > Yes. Install Mozilla Firefox and download the extension 'plaintext hyperlinks'. Then you can enter your links as such 'http://foo.whatever.com', and Mozilla will recognize it. > Removing the '<' and '>' from the list of chars that will stripped from > user input doesn't sound a good idea. The only thing that comes to mind > is a primitive address tag recogniser in the comment handling code. > Could be a good thing, so long as it's added on the display end of the comment-code. -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Wed Jul 7 12:01:52 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Jul 2004 12:01:52 +0200 Subject: nagios execution of notify commands, debugging the exact command being run In-Reply-To: <1089186386.32006.316.camel@scion.vsl.com.au> References: <1089186386.32006.316.camel@scion.vsl.com.au> Message-ID: <40EBCA10.6010306@op5.se> Duncan Robertson wrote: > Hi, > > We are running nagios and it is all working quite well, except some (but > not all) sms notifications are not sent (though the log says they are). > We are using sms_client as the sending mechanism, and it works quite > well run from command line as nagios user. I suspect it is the generated > alert string being fed to it is something it doesn't like for one class > of machines - > > - but is there a way to turn on the logging so I can see the exact > command being executed on notify so I can debug it? > > My usual way of solving this (strace) doesnt want to play, for some > reason strace doesnt want to latch onto the nagios process either. This > is on redhat 9, nagios 1.2 (from DAG rpm). > For nagios; Run 'strace -f' to have it follow the children spawned by fork() instead of exiting with the parent process. How do you run it with sms_client? -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From pla at softflare.com Wed Jul 7 13:05:17 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 07 Jul 2004 12:05:17 +0100 Subject: Perl module for log parsing In-Reply-To: <20040707161759.E78118@IPAustralia.Gov.AU> References: <20040707161759.E78118@IPAustralia.Gov.AU> Message-ID: <20040707110517.13773.qmail@minnow.softflare.net> Stanley Hopcroft writes: > CSV is pretty good TSV is better, because there is a MIME type for it. You may not want to make the output available via a web browser, but using TSV rather than CSV means that you could if you wanted. Note that neither TSV nor CSV have any standardized way of handling embedded carriage returns. In fact, Microsoft Outhouse allows carriage returns in data fields in its address book and includes those carriage returns if you export the address book in TSV or CSV format - the only problem is that Outhouse cannot import [TC]SV files that have embedded carriage returns. Did I say Outhouse? I meant Outlook. Or maybe I was right the first time, and it's a crude repository for excrement... -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From mshirley at gmail.com Wed Jul 7 14:16:12 2004 From: mshirley at gmail.com (Mark Shirley) Date: Wed, 7 Jul 2004 08:16:12 -0400 Subject: front end management tool In-Reply-To: <20040706175450.62124.qmail@restricted.dyndns.org> References: <20040630050013.73452.qmail@restricted.dyndns.org> <40E2DAB6.1010005@cict.fr> <20040630174319.30194.qmail@restricted.dyndns.org> <40E3DF8C.4010501@cict.fr> <20040701161937.30474.qmail@restricted.dyndns.org> <20040706175450.62124.qmail@restricted.dyndns.org> Message-ID: you can do anything with nagmin as you can with configs in my experiance. instead of editing a text file to create a custom check you create a database field. On Tue, 06 Jul 2004 12:54:50 -0500, Neil wrote: > Hi Mark, > > Another question. I do a lot of customization to checks and vi allows me to > be very flexible. The limit I have when writing my own custom checks is what > my brain can imagine. So, can I also be very flexible with Nagmin? > > Thanks. :) > > Neil > > > > > Mark Shirley writes: > > > the use of the mysql database is a nagmin requirement not a nagios requirement. > > > > nagmin takes an existing set of config files and creates a database > > based on that. at that point you use the gui interface to make > > changes to the mysql database. when you want the changes to take > > effect you run a "verification" where it dumps the data from the > > database into temporary config files and then tells nagios to do a -v > > startup. if that is sucsessful you then "activate" it where by it > > does the same thing of dumping the mysql database into config files > > and then it starts nagios normally. this particular setup is > > excellent if for some reason you try it and don't like it you can > > always go back to using a simple text configs. > > > > nagmin does NOT require your nagios to be built with mysql since > > nagmin deals directly with nagios's config files. i currently use > > nagmin because of the pure number of hosts and services. not to > > mention the other people that i interact with must be able to > > add/remove/change host and service records without having to edit > > config files manually. the major downside to nagmin is that you can't > > EASILY go back and forth from nagmin to console config. it's one or > > the other because if you make a change to the temp config files the > > changes will not be inserted into the mysql database and will be > > overwritten the next time you do an verification or activation. > > > > in comparison to the other options i found nagmin to be the best and > > most stable for my enviroment. > > > > > > > > > > On Thu, 01 Jul 2004 11:19:37 -0500, Neil > > wrote: > >> Ok, IIRC, support to database is going to be dropped in version 2 of Nagios > >> > >> > >> > >> carole verdon writes: > >> > >> > In first, to use Nagmin, Nagios must built with mysql database support. > >> > > >> > That it was my case. Then, Nagmin use existings config files to build its > >> > own files. > >> > > >> > Neil wrote: > >> > > >> >> Hi Carole, > >> >> What if I already have existing running nagios, how does it take care of > >> >> my existings configs? > >> >> YOu know what, I should try it :) > >> >> carole verdon writes: > >> >> > >> >>> I use Nagmin to manage the configuration of nagios. Nagmin don't create > >> >>> temporary config files. It extract informations of tables of mysql > >> >>> database to put them in flat config files so that nagios can read them. > >> >>> I am satisfied for this product. > >> >>> You can find others answers in mailing list or on > >> >>> http://nagmin.sourceforge.net/ > >> >>> Carole. > >> >>> Neil wrote: > >> >>> > >> >>>> Hey guys, > >> >>>> I know in nagios website, extras, there are links to front end for > >> >>>> managing nagios. Currently, I am a unix console fanatic. :) I'm used to > >> >>>> it and it's no problem to me. I would like to seek your experience on > >> >>>> which front end web based application you really did like and was easy > >> >>>> to use. I am looking into something wherein it will be easy for us to > >> >>>> create hosts, services, contacts and so on. I tried Nagmin, Nagat but > >> >>>> if I remember correctly, it creates a temporary config file which will > >> >>>> be used for test run. It's nice but really messes up my configs :( > >> >>>> Anyways, please reply as to what webbased nagios management tool you > >> >>>> are using and that you're very happy about it. > >> >>>> Thanks. > >> >>>> Neil > >> >>>> > >> >>>> ------------------------------------------------------- > >> >>>> This SF.Net email sponsored by Black Hat Briefings & Training. > >> >>>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > >> >>>> self defense, top technical experts, no vendor pitches, unmatched > >> >>>> networking opportunities. Visit www.blackhat.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 > >> >>>> > >> >>> > >> >>> -- > >> >>> ********************************** > >> >>> VERDON Carole > >> >>> Ing?nieur Syst?me > >> >>> CICT - Universit? Paul Sabatier > >> >>> 118, route de Narbonne > >> >>> 31062 Toulouse Cedex > >> >>> T?l.: 05.61.36.60.44 > >> >>> Fax: 05.61.52.14.58 > >> >>> Mail: verdon at cict.fr > >> >>> ********************************** > >> >>> > >> >>> > >> >>> ------------------------------------------------------- > >> >>> This SF.Net email sponsored by Black Hat Briefings & Training. > >> >>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > >> >>> self defense, top technical experts, no vendor pitches, unmatched > >> >>> networking opportunities. Visit www.blackhat.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 > >> >> > >> >> > >> >> > >> >> > >> >> ------------------------------------------------------- > >> >> This SF.Net email sponsored by Black Hat Briefings & Training. > >> >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > >> >> self defense, top technical experts, no vendor pitches, unmatched > >> >> networking opportunities. Visit www.blackhat.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 > >> >> > >> >> > >> > > >> > -- > >> > ********************************** > >> > VERDON Carole > >> > Ing?nieur Syst?me > >> > CICT - Universit? Paul Sabatier > >> > 118, route de Narbonne > >> > 31062 Toulouse Cedex > >> > T?l.: 05.61.36.60.44 > >> > Fax: 05.61.52.14.58 > >> > Mail: verdon at cict.fr > >> > ********************************** > >> > > >> > > >> > >> ------------------------------------------------------- > >> This SF.Net email sponsored by Black Hat Briefings & Training. > >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > >> digital self defense, top technical experts, no vendor pitches, > >> unmatched networking opportunities. Visit www.blackhat.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 > >> > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > digital self defense, top technical experts, no vendor pitches, > > unmatched networking opportunities. Visit www.blackhat.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 > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From nagios-users at gurugeek.com Wed Jul 7 14:38:00 2004 From: nagios-users at gurugeek.com (Jeff Rodriguez) Date: Wed, 07 Jul 2004 05:38:00 -0700 Subject: The Nagios: Reloaded (Rewriting Nagios) In-Reply-To: <2C62A73C-CFC1-11D8-ADCF-003065A9024A@ish.com.au> References: <40EB56E1.3030606@gurugeek.com> <2C62A73C-CFC1-11D8-ADCF-003065A9024A@ish.com.au> Message-ID: <40EBEEA8.5030909@gurugeek.com> Controlled by one company? Perhaps I should point out that C# is an ECMA standard: http://msdn.microsoft.com/net/ecma/ C# is as controlled by one company as C is. As far as bugs go, it's harder to accidentally write bugs into your code with C# vs C. C# is a much more easily maintained language, tracking down bugs when they occur is much easier because of things like exceptions instead of good ol' segfaults. The nagios.cfg as an XML file would be just fine IMHO, there's not that much that you configure and you really hardly ever change it. Hosts.cfg and services, extinfo, etc should definitely be in a DB, which I've planned. Jeff Aristedes Maniatis wrote: > On 07/07/2004, at 11:50 AM, Jeff Rodriguez wrote: > >> * Rewrite in C# for all the reasons one would use a managed >> language, Linux boxen will use Mono of course! > > > I am unclear how it helps to take a solid working tool written in an > open language and rewrite it in a language controlled by one company, > introduce a whole new set of bugs. > > Wouldn't you be better directing your energy toward improving the > existing product? > >> * Use XML files for main configuration to ease the creation of >> configuration tools. > > > Please no. XML files are a pain to edit by hand and configuration > tools are really unnecessary to edit a simple file like nagios.cfg. If > you mean files like hosts.cfg, then perhaps you should contribute > toward the work to get those back into an SQL database (as I > understand that SQL support has been dropped in version 2). > > Ari Maniatis > > > --------------------------> > ish group pty ltd > http://www.ish.com.au > 7 Darghan St Glebe 2037 Australia > phone +61 2 9660 1400 fax +61 2 9660 7400 > PGP fingerprint 08 57 20 4B 80 69 59 E2 A9 BF 2D 48 C2 20 0C C8 > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.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 > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From matt.burleigh at eiisolutions.net Wed Jul 7 14:38:36 2004 From: matt.burleigh at eiisolutions.net (Matt Burleigh) Date: Wed, 07 Jul 2004 08:38:36 -0400 Subject: PING WARNING - DUPLICATES FOUND! Message-ID: <40EBEECC.3040804@eiisolutions.net> What does this mean? "PING WARNING - DUPLICATES FOUND!" -- Matt Burleigh Senior Systems Engineer Enterprise Integration, Inc. eiisolutions.com 703.236.0790 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From nagios-users at gurugeek.com Wed Jul 7 14:46:50 2004 From: nagios-users at gurugeek.com (Jeff Rodriguez) Date: Wed, 07 Jul 2004 05:46:50 -0700 Subject: The Nagios: Reloaded (Rewriting Nagios) In-Reply-To: References: Message-ID: <40EBF0BA.606@gurugeek.com> Of course, it would be rather asinine of me to not do so :) I think I'd have a little problem getting a patent on a "distributed monitoring system" though :) Our current monitoring box runs tests against 400+ hosts, 2700+ services, and runs over 1000 checks/minute. The company I work for is in the top 500 fastest growing companies in the world. At our current pace, we NEED to be distributed. You don't need a multiproc box to run a multithreaded app, it just helps. The threading is mostly for sanity, it's much easier to split up code into threads. It's not a lack of tools to setup the Nagios configuration, the Nagios configuration is inherently lacking in that it's not database driven to begin with. Read http://www.ondotnet.com/pub/a/dotnet/2003/03/03/mcppp2.html for a description of managed code. GPL? No, I prefer BSD. Jeff Kerry Milestone wrote: >Will you forever mention on your new website with its new trademark that the ideas and inspiration came from Nagios? Will you follow the usual Microsoft standard and claim a patent for the new technology of remotely polling devices through an integrated distributed monitoring system? What do you intend the monitoring box to be doing to require extensive multi-processor computing? Have you come across Nagmin? (its very useful) What exactly is a managed language? Will it be GPL? > >Just a few thoughts about things. > > > > >________________________________ > >Kerry Milestone, >Network Engineer. > > > > >________________________________ >1 , 0.... my two bits. > > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeff Rodriguez >Sent: Wednesday, 7 July 2004 1:50 p.m. >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] The Nagios: Reloaded (Rewriting Nagios) > >I'm working on rewriting Nagios in C# and I'm looking for input as to >what people would like to see in Nagios if it was rewritten from the >ground up. > >Features I intend to add: > > * Rewrite in C# for all the reasons one would use a managed > language, Linux boxen will use Mono of course! > * Design Nagios to be distributed from the get-go. > * Use XML files for main configuration to ease the creation of > configuration tools. > * Use a SQLite database back end for object configuration > * Use a SQLite database for user access configuration > * Portability through C# and our friends at Mono > * Create web services for getting the status of services and > allowing services to report in. > * Multi-threaded to simplify program code and speed the program up > on multi-processor systems. > * Integrate RRDtool for performance reporting without need for a > plug in. > * More well-defined reporting tools. > >Now I'll end up writing this whether or not people help, and whether or >not it gets used because I'm going to use it myself. Obviously I want to >get mind share on this project and see what other features people would >like to see in this rewrite. I will also be releasing it under a new >name which I am working on getting domains and possibly a trademark for. > >What are other's thoughts and suggestions? > >Jeff > > >------------------------------------------------------- >This SF.Net email sponsored by Black Hat Briefings & Training. >Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >digital self defense, top technical experts, no vendor pitches, >unmatched networking opportunities. Visit www.blackhat.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 > > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From m.borsani at it.net Wed Jul 7 15:05:06 2004 From: m.borsani at it.net (Marco Borsani) Date: Wed, 7 Jul 2004 15:05:06 +0200 Subject: R: PING WARNING - DUPLICATES FOUND! In-Reply-To: <40EBEECC.3040804@eiisolutions.net> References: <40EBEECC.3040804@eiisolutions.net> Message-ID: Probably that more than one host have same ipaddress....it is no good for your network! -----Messaggio originale----- Da: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Matt Burleigh Inviato: mercoledi 7 luglio 2004 14.39 A: nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] PING WARNING - DUPLICATES FOUND! What does this mean? "PING WARNING - DUPLICATES FOUND!" -- Matt Burleigh Senior Systems Engineer Enterprise Integration, Inc. eiisolutions.com 703.236.0790 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ric at nkn.net Wed Jul 7 15:11:49 2004 From: ric at nkn.net (Ric Moseley) Date: Wed, 7 Jul 2004 08:11:49 -0500 Subject: check_snmp on a cisco In-Reply-To: <20040706235705.GA85827@server1.gnuconsulting.com> References: <20040706235705.GA85827@server1.gnuconsulting.com> Message-ID: I have looked around but not really found anything on the forums or mainling lists. Does anyone have an example of using check_snmp to get the CPU readings off of a Cisco device? Thanks. Ric. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Edwin_Zoeller at ama-assn.org Wed Jul 7 15:19:11 2004 From: Edwin_Zoeller at ama-assn.org (Edwin Zoeller) Date: Wed, 07 Jul 2004 08:19:11 -0500 Subject: Informix Message-ID: Does anyone have a script to monitor Informix databases? Or can shed some light on how you are doing DB monitoring. Thanks, Ed Zoeller ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From rnelson at windchannel.com Wed Jul 7 15:28:31 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Wed, 7 Jul 2004 09:28:31 -0400 Subject: PING WARNING - DUPLICATES FOUND! Message-ID: It probably means that your machine received more than one (could be two, three, or even more) ICMP echo reply packets for each echo request. Can happen if two machines are configured on the same IP, if you're pinging a broadcast IP, or if you're using really ancient equipment, pinging the network IP. Rob Nelson Network Engineer Windchannel Communications 919-538-6326 > -----Original Message----- > From: Matt Burleigh [mailto:matt.burleigh at eiisolutions.net] > Sent: Wednesday, July 07, 2004 8:39 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] PING WARNING - DUPLICATES FOUND! > > > What does this mean? "PING WARNING - DUPLICATES FOUND!" > > -- > Matt Burleigh > Senior Systems Engineer > Enterprise Integration, Inc. > eiisolutions.com > 703.236.0790 > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & > Training. Attend Black Hat Briefings & Training, Las Vegas > July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From matt.burleigh at eiisolutions.net Wed Jul 7 15:46:48 2004 From: matt.burleigh at eiisolutions.net (Matt Burleigh) Date: Wed, 07 Jul 2004 09:46:48 -0400 Subject: PING WARNING - DUPLICATES FOUND! In-Reply-To: References: Message-ID: <40EBFEC8.1010907@eiisolutions.net> Robert Nelson wrote: >It probably means that your machine received more than one (could be >two, three, or even more) ICMP echo reply packets for each echo request. >Can happen if two machines are configured on the same IP, if you're >pinging a broadcast IP, or if you're using really ancient equipment, >pinging the network IP. > > Thats what I thought but it sure doesn't make sense. The hosts that triggered this are direct-jet printers, three different kinds with static IPs. I've had Nagios running for about a week and this morning was the first time I've seen this alert. Happened for about half hour and I've not seen the alert since... -- Matt Burleigh Senior Systems Engineer Enterprise Integration, Inc. eiisolutions.com 703.236.0790 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Wed Jul 7 15:51:35 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Jul 2004 15:51:35 +0200 Subject: PING WARNING - DUPLICATES FOUND! In-Reply-To: <40EBEECC.3040804@eiisolutions.net> References: <40EBEECC.3040804@eiisolutions.net> Message-ID: <40EBFFE7.2090208@op5.se> Matt Burleigh wrote: > What does this mean? "PING WARNING - DUPLICATES FOUND!" > Essentially that the ping program receives two or more PONG's for a PING. This can happen if any (or in some cases several) of the following requirements are met; There are two nodes with the same IP-address on the network. The IP stack of the target host is broken. The IP stack of the pinging host is broken. The ping program is broken, and fails to add a proper identifier and sequence numbers to its packets (this can happen if it uses /dev/random as source for its entropy, reads it in non-blocking mode and the system is fresh out of chaos). A switch or router has been set to forward all traffic to the interface you've put your nagios-server at, and it's not clever enough (i.e. broken) to not re-send traffic that's already destined for that very interface or if you have several NIC's on the monitoring server and you've separated the IP space logically but not physically (i.e. both cards connect to the same switch but on different subnets so the traffic bound for one interface reaches both through the packet propagation interface on the switch, while ping listens on both for responses). I'm sure there's something I've forgotten, but AFAIR it was really obscure (as opposed to the everyday issues above ;-) ). -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From matt.burleigh at eiisolutions.net Wed Jul 7 15:49:32 2004 From: matt.burleigh at eiisolutions.net (Matt Burleigh) Date: Wed, 07 Jul 2004 09:49:32 -0400 Subject: PING RTA? Message-ID: <40EBFF6C.1060208@eiisolutions.net> What does the RTA mean? Is this return trip average? And is the threshold tuneable somewhere? -- Matt Burleigh Senior Systems Engineer Enterprise Integration, Inc. eiisolutions.com 703.236.0790 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From agrajag at dragaera.net Wed Jul 7 15:50:04 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Wed, 07 Jul 2004 09:50:04 -0400 Subject: The Nagios: Reloaded (Rewriting Nagios) In-Reply-To: <40EB56E1.3030606@gurugeek.com> References: <40EB56E1.3030606@gurugeek.com> Message-ID: <1089208204.4403.6.camel@pel> On Tue, 2004-07-06 at 21:50, Jeff Rodriguez wrote: > I'm working on rewriting Nagios in C# and I'm looking for input as to > what people would like to see in Nagios if it was rewritten from the > ground up. > > Features I intend to add: > > * Rewrite in C# for all the reasons one would use a managed > language, Linux boxen will use Mono of course! I suppose now is a good time to mention that mono is patent-encumbered. MS have given an unwritten promise not to sue. I wouldn't trust them. Read here for more info: http://www.gnome.org/~seth/blog/mono ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From matt.burleigh at eiisolutions.net Wed Jul 7 15:56:48 2004 From: matt.burleigh at eiisolutions.net (Matt Burleigh) Date: Wed, 07 Jul 2004 09:56:48 -0400 Subject: PING WARNING - DUPLICATES FOUND! In-Reply-To: <20040707134950.GB1261@tufnell.lon1.poggs.net> References: <40EBEECC.3040804@eiisolutions.net> <20040707134950.GB1261@tufnell.lon1.poggs.net> Message-ID: <40EC011F.1010404@eiisolutions.net> Peter Hicks wrote: > On Wed, Jul 07, 2004 at 08:38:36AM -0400, Matt Burleigh wrote: > > > >> What does this mean? "PING WARNING - DUPLICATES FOUND!" >> > > > What's this been generated from? fping? Is it possible another IP > address > is responding...? > > It was generated from "check_ping". Its almost impossible for the another host to have been assigned this IP. Its outside the DHCP range on that subnet and the hosts that are being checked are directjet's on three different kinds of HP printers (a LJ9000, CLJ5500, and a DJ800). I'm really scratching my head on this... The check_ping command options are "check_ping!100.0,20%!500.0,60%". -- Matt Burleigh Senior Systems Engineer Enterprise Integration, Inc. eiisolutions.com 703.236.0790 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From matt.burleigh at eiisolutions.net Wed Jul 7 16:21:59 2004 From: matt.burleigh at eiisolutions.net (Matt Burleigh) Date: Wed, 07 Jul 2004 10:21:59 -0400 Subject: Ang: PING WARNING - DUPLICATES FOUND! In-Reply-To: References: Message-ID: <40EC0707.6050807@eiisolutions.net> Stefan Hanssen wrote: >Jeg har for tiden ferie. Er tilbake mandag 2 august. > > Huh? ;-) -- Matt Burleigh Senior Systems Engineer Enterprise Integration, Inc. eiisolutions.com 703.236.0790 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From krcalhoo at mtu.edu Wed Jul 7 16:37:21 2004 From: krcalhoo at mtu.edu (kevin) Date: Wed, 07 Jul 2004 10:37:21 -0400 Subject: check_snmp on a cisco In-Reply-To: References: Message-ID: <40EC0AA1.3070001@mtu.edu> Ric Moseley wrote: > I have looked around but not really found anything on the forums or mainling > lists. Does anyone have an example of using check_snmp to get the CPU > readings off of a Cisco device? Here is a plugin that I wrote based of Adrian Wieczorek check_traffic work. You might need to remove the rrd lib references if you don't have them already installed and don't want it to automatically generate an rrd database. Also, you will want to check the paths in it before running it. Other than that it should be fairly simple to get running. Kevin Calhoon -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_cisco_cpu URL: From rms at sibs.pt Wed Jul 7 16:28:16 2004 From: rms at sibs.pt (Rui Miguel Seabra) Date: Wed, 07 Jul 2004 15:28:16 +0100 Subject: The Nagios: Reloaded (Rewriting Nagios) In-Reply-To: <40EBEEA8.5030909@gurugeek.com> References: <40EB56E1.3030606@gurugeek.com> <2C62A73C-CFC1-11D8-ADCF-003065A9024A@ish.com.au> <40EBEEA8.5030909@gurugeek.com> Message-ID: <1089210496.22980.54.camel@roque> On Wed, 2004-07-07 at 05:38 -0700, Jeff Rodriguez wrote: > Controlled by one company? Perhaps I should point out that C# is an ECMA > standard: http://msdn.microsoft.com/net/ecma/ C# is as controlled by one > company as C is. > > As far as bugs go, it's harder to accidentally write bugs into your code > with C# vs C. C# is a much more easily maintained language, tracking > down bugs when they occur is much easier because of things like > exceptions instead of good ol' segfaults. Then by all means, if you think so much of it do write a monitoring clone by yourself. I for one will never touch it. And not exactly because of all the dubious licensing problems (some parts are ECMA, some parts are patented, and we've not even started talking about submarine patents yet... like those that hit GIF, JPEG, etc...) It's overkill for an application that should be very small and simple. > The nagios.cfg as an XML file would be just fine IMHO, there's not that > much that you configure and you really hardly ever change it. Hosts.cfg > and services, extinfo, etc should definitely be in a DB, which I've planned. It would only increase in size by several orders of magnitude, without real advantages other than relying on a library to parse. Rui -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From ae at op5.se Wed Jul 7 16:47:18 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Jul 2004 16:47:18 +0200 Subject: The Nagios: Reloaded (Rewriting Nagios) In-Reply-To: <40EBEEA8.5030909@gurugeek.com> References: <40EB56E1.3030606@gurugeek.com> <2C62A73C-CFC1-11D8-ADCF-003065A9024A@ish.com.au> <40EBEEA8.5030909@gurugeek.com> Message-ID: <40EC0CF6.9020509@op5.se> Jeff Rodriguez wrote: > Controlled by one company? Perhaps I should point out that C# is an ECMA > standard: http://msdn.microsoft.com/net/ecma/ C# is as controlled by one > company as C is. > Yup. Believe the MS website. That's what I would do. The specifications documents for C# were written by Microsoft, HP and Intel. Mainly Mother Theresa kind of companies so they're probably just out to save the world and not a bit interested in making money. > As far as bugs go, it's harder to accidentally write bugs into your code > with C# vs C. "Nothing is foolproof, because fools are so ingenious." Bad code is bad code, independant of the programming language. Besides, the debugging utils for C# doesn't exactly make me cheer. > C# is a much more easily maintained language, tracking > down bugs when they occur is much easier because of things like > exceptions instead of good ol' segfaults. > Actually, the unix sighandling system lets you trap sigsegv (and any other signal with exception of SIGKILL, unless the pid is 1) and do whatever you like with it, so writing your own exception-handling routine won't be a problem at all. The issue with that is that it adds mostly unnecessary code that slows execution down and bloats the program. Since C is the de facto language of choice for a plethora of operating systems, slowdowns in the language itself is simply unacceptable. > The nagios.cfg as an XML file would be just fine IMHO, there's not that > much that you configure and you really hardly ever change it. But why? If you want people to USE your program you should go with the template-based format that exists today, instead of having to design tools to convert the files from the existing, familiar format to XML (which is terribly cumbersome to edit manually). The config-frontend won't be there from the start you know. > Hosts.cfg > and services, extinfo, etc should definitely be in a DB, which I've > planned. > It has been thought of, implemented and discarded. > Jeff > I seriously think you will have minimal to no success with this project because of the following reasons in no particular order; * It requires Unix-users to install Mono. * MS has had nothing to do with Mono (it was Novell's initiative), so they are likely to do with C# what they did to the once source-portable C, namely write their own extensions which are highly platform dependant and most likely necessary to give the language any real value in an attempt to lure opensource-developers to work with MS platforms. * Mono had its first claimed-to-be stable release one week ago (June 30th 2004). * Mono offers little real value to unix-systems (MS-controlled .NET framework), so it's not very likely to catch on in a terrible hurry. * Reinventing the wheel when it's already working is just plain dumb. > Aristedes Maniatis wrote: > >> On 07/07/2004, at 11:50 AM, Jeff Rodriguez wrote: >> >>> * Rewrite in C# for all the reasons one would use a managed >>> language, Linux boxen will use Mono of course! >> >> >> >> I am unclear how it helps to take a solid working tool written in an >> open language and rewrite it in a language controlled by one company, >> introduce a whole new set of bugs. >> >> Wouldn't you be better directing your energy toward improving the >> existing product? >> >>> * Use XML files for main configuration to ease the creation of >>> configuration tools. >> >> >> >> Please no. XML files are a pain to edit by hand and configuration >> tools are really unnecessary to edit a simple file like nagios.cfg. If >> you mean files like hosts.cfg, then perhaps you should contribute >> toward the work to get those back into an SQL database (as I >> understand that SQL support has been dropped in version 2). >> >> Ari Maniatis >> >> -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ph at whatever.nu Wed Jul 7 16:58:31 2004 From: ph at whatever.nu (Per-Henrik Persson) Date: Wed, 7 Jul 2004 16:58:31 +0200 Subject: Adding host commands Message-ID: <20040707145831.GB18940@whatever.nu> Hi! I want to add some admin commands to the host commands list (like reboot server) for certain hosts. Is there an easy way or do I have to modify the source code? I have searched the list achives without success. Thanks in advance, PH -- Per-Henrik Persson epost: ph at whatever.nu telefon: 0703-68 53 86 hemsida: www.whatever.nu ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From agrajag at dragaera.net Wed Jul 7 16:56:06 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Wed, 07 Jul 2004 10:56:06 -0400 Subject: PING WARNING - DUPLICATES FOUND! In-Reply-To: <40EC011F.1010404@eiisolutions.net> References: <40EBEECC.3040804@eiisolutions.net> <20040707134950.GB1261@tufnell.lon1.poggs.net> <40EC011F.1010404@eiisolutions.net> Message-ID: <1089212165.4403.14.camel@pel> On Wed, 2004-07-07 at 09:56, Matt Burleigh wrote: > Peter Hicks wrote: > > > On Wed, Jul 07, 2004 at 08:38:36AM -0400, Matt Burleigh wrote: > > > > > > > >> What does this mean? "PING WARNING - DUPLICATES FOUND!" > >> > > > > > > What's this been generated from? fping? Is it possible another IP > > address > > is responding...? > > > > > It was generated from "check_ping". Its almost impossible for the > another host to have been assigned this IP. Its outside the DHCP range > on that subnet and the hosts that are being checked are directjet's on > three different kinds of HP printers (a LJ9000, CLJ5500, and a DJ800). > I'm really scratching my head on this... There are a dozen reasons two hosts could have the same IP, and most of them don't deal with DHCP. Someone could have brought up and old host that used to have the IP, or someone could have been fooling around with their own IP settings for a minute or two. The DHCP server could have goofed. And even the router (if there is one) between you and the printers could have goofed. And someone could have hooked up a personal laptop and just stolen the printer IP, hoping no one would notice. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From verdon at cict.fr Wed Jul 7 16:57:52 2004 From: verdon at cict.fr (carole verdon) Date: Wed, 07 Jul 2004 16:57:52 +0200 Subject: Nagios unknow all defines on configuration file In-Reply-To: <001701c463ee$df0353c0$668610ac@pi21> References: <001701c463ee$df0353c0$668610ac@pi21> Message-ID: <40EC0F70.1080906@cict.fr> Is well this command which you executed? /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Truong Tan Son wrote: >Dear Sir, > >I renamed all files /usr/local/nagios/etc/.cfg-sample into >/usr/local/nagios/etc/.cfg, and run >#/usr/local/nagios/bin.nagios -v /usr/local/nagios/etc/.cfg > >Nagios unknow all defines on configuration file (keywords, directives, ...). > >( My server is RedHat 7.3, I configured with default setting without >errors ) > >Please help me to solve. > >Thanks, > > > > >------------------------------------------------------- >This SF.Net email sponsored by Black Hat Briefings & Training. >Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >digital self defense, top technical experts, no vendor pitches, >unmatched networking opportunities. Visit www.blackhat.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 > > > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From mgrafing at voyence.com Wed Jul 7 16:58:08 2004 From: mgrafing at voyence.com (Mark Grafing) Date: Wed, 7 Jul 2004 09:58:08 -0500 Subject: check_snmp on a cisco Message-ID: <3AE153EDD5CA7B4CBA26FCDA1CBA64782BAF30@hermes.internal.powerupnetworks.com> This is for checking CPU usage on a Concentrator 3005 so you may need to change OID.... For the Service I created this: define service { host_name VPN_Router service_description CPU Utilization check_command check_vpn_cpu!community_string!50!75 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 15 notification_period 24x7 notification_options u,c,r contact_groups router-admins } For the checkcommand.cfg I created this: # 'check_vpn_cpu' command definition define command{ command_name check_vpn_cpu command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o .1.3.6.1.4.1.3076.2.1.2.25.1.2.0 -w $ARG2$ -c $ARG3$ -l "CPU Utilization" -u "%" -m : } Hope this helps! Mark Grafing RHCE #:809003165808980 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ric Moseley Sent: Wednesday, July 07, 2004 8:12 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp on a cisco I have looked around but not really found anything on the forums or mainling lists. Does anyone have an example of using check_snmp to get the CPU readings off of a Cisco device? Thanks. Ric. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From pla at softflare.com Wed Jul 7 17:02:36 2004 From: pla at softflare.com (Paul L. Allen) Date: Wed, 07 Jul 2004 16:02:36 +0100 Subject: Ang: PING WARNING - DUPLICATES FOUND! In-Reply-To: <40EC0707.6050807@eiisolutions.net> References: <40EC0707.6050807@eiisolutions.net> Message-ID: <20040707150236.25942.qmail@minnow.softflare.net> Matt Burleigh writes: > Stefan Hanssen wrote: > >> Jeg har for tiden ferie. Er tilbake mandag 2 august. >> >> > Huh? ;-) Translation: "I am on holiday and I'm running a really crappy vacation auto-responder that is so stupid it responds to mailing lists. Please forgive me for being such an annoying idiot. You'll have to put up with this crap until the 2nd of August unless you killfile me, which is a very good idea." I may have taken one or two liberties with that. :) -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From greg_fenton at yahoo.com Wed Jul 7 17:05:51 2004 From: greg_fenton at yahoo.com (Greg Fenton) Date: Wed, 7 Jul 2004 08:05:51 -0700 (PDT) Subject: The Nagios: Reloaded (Rewriting Nagios) In-Reply-To: <40EB56E1.3030606@gurugeek.com> References: <40EB56E1.3030606@gurugeek.com> Message-ID: <20040707150551.31039.qmail@web52901.mail.yahoo.com> --- Jeff Rodriguez wrote: > I'm working on rewriting Nagios in C# and I'm looking for input as to > what people would like to see in Nagios if it was rewritten from the > ground up. First, why would you target C# instead of, say, Java? At least Java has a current production release on all platforms that Nagios targets...and on a number of platforms where C# isn't and likely won't be for quite some time. > Features I intend to add: > > * Rewrite in C# for all the reasons one would use a managed > language, Linux boxen will use Mono of course! I don't completely know what "all the reasons" are. Nagios is a systems-level application. Systems code should be written in a close-to-the-hardware language. I would not want an OS written in .NET nor Java (sorry to all the BlueBerry users out there...) And the fact that it is written in C should only be a concern to you if you are actually making modifications to the product. What changes have you been working on where C has been the "wrong" language to be using? > * Design Nagios to be distributed from the get-go. I'd need to get a better description as to what you mean by this. > * Use XML files for main configuration to ease the creation of > configuration tools. This, to me, is a red-herring. However, why not simply enhance Nagios to recognize both the "legacy" and your "new" formats? > * Use a SQLite database back end for object configuration > * Use a SQLite database for user access configuration I don't get this. You mention using C# for "all the reasons ...", but then you target a particular backend data repository??? Why would you not make it datastore agnostic? > * Portability through C# and our friends at Mono I'd want to see a fairly lengthy list of the classes you are planning on using to ensure that they are available to "all" of the .NET platforms...all 2 of them. > * Create web services for getting the status of services and > allowing services to report in. There is nothing stopping this from being done with the current architecture. In fact, you could even write this enhancement in .NET...or use something that wouldn't involve having to install an entire platform just to support an HTTP/XML request (smells like a Job For Perl to me!) > * Multi-threaded to simplify program code and speed the program > up > on multi-processor systems. Multi-threaded does ABSOLUTELY NOT simplify anything. Regardless of the programming environment. And multi-threaded does not in and of itself make a program more suitable/scalable in an SMP enviroment. > * Integrate RRDtool for performance reporting without need for a > plug in. I'd want more details on this. > * More well-defined reporting tools. Again, I don't see how this can't be accomplished with the current architecture. > I will also be releasing it under a new > name which I am working on getting domains and possibly a trademark > for. You are already thinking non-Free, so good luck to you. greg_fenton. ===== Greg Fenton greg_fenton at yahoo.com __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From james.kingston at gmail.com Wed Jul 7 17:04:38 2004 From: james.kingston at gmail.com (James Kingston) Date: Wed, 7 Jul 2004 08:04:38 -0700 Subject: Define our own macros In-Reply-To: References: Message-ID: <9d27c632040707080471f522e5@mail.gmail.com> To be honest, I don't see why you can't use servicedesc For example, you are using check_tcp to check for amanda on port 10080. You can set your servicedesc as "amanda", "amanda_on_10080", or "tcp_port_10080" If you must go to the source: the service struct is defined in objects.h, IIRC grab_service_macros() is in utils.c, and it is called immediately before every service notification. You can probably fill the information you would like to add into one of the $USERn$ macros, which come from the macro_user[] array originally defined in nagios.c Good luck. On Wed, 7 Jul 2004 16:28:09 +0200, Marco Borsani wrote: > > I did not miss his solution, as you can read in my first e-mail I already > know that possibility. > > As I wrote I can't follow that way so I have to find another one. > > I am tring to modify/add some informations given by nagios (macros?), > looking for source file and .h file...actually I don't find anything yet. > regards > > Marco > > -----Messaggio originale----- > Da: James Kingston [mailto:james.kingston at gmail.com] > Inviato: mercoledi 7 luglio 2004 16.21 > A: Marco Borsani > Oggetto: Re: [Nagios-users] Define our own macros > > I think you missed Andreas Ericsson's solution when you last asked > (pasted below): > > -------------------------------------------------------- > Marco Borsani wrote: > > Hi everybody ! > > > > I have following problem with my technicians. > > > > I have many check_tcp on same host. When CRITICAL messages arrive (via > > epager or via mail) the technicians can't see which ports have problems > > because the only information that they read is: > > "Socket timeout after 10 seconds" > > We have not the same problem when they receive OK messages because in that > > kind of messages NAGIOS write the port number: > > "TCP OK - 0.012 second response time on port 8080" > > > > Actually I can't modify "service name" (that could solve this problem > > putting the port number inside it!), have you got any idea about this > > situation? > > > > Just out of curiousity, why can't you change the service_description > variable? It's there for the sole purpose of identifying the service to > nagios AND the technicians. > > > Regards > > > > Marco > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From tom.welsh at bt.com Wed Jul 7 17:12:11 2004 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Wed, 7 Jul 2004 16:12:11 +0100 Subject: The Nagios: Reloaded (Rewriting Nagios) Message-ID: <418B502A3861E242AFDED453F3D5B89CB667C0@i2km99-ukbr.domain1.systemhost.net> Hi All, I also note that this guy said he would be releasing the NEW Nagios(r) not under the GPL but under a BSD licence because he preferred it! Are you allowed to do that? Change licensing schemes I mean? I thought only the original author of the original work could change the licence model. But I may be wrong And you would obviously be changing the name as one of the reasons for Ethan moving from Netsaint to Nagios(r) was that he could trademark the name. Also on another point. I apologise for the nagios demo being down. I will be paying my hosting company tomorrow ( DOH!!) so hopefully it and the other squareBOX resources should be back up and running over the weekend. Apologies for any probs this may have caused. Cheers Tom Welsh -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Rui Miguel Seabra Sent: 07 July 2004 15:28 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] The Nagios: Reloaded (Rewriting Nagios) On Wed, 2004-07-07 at 05:38 -0700, Jeff Rodriguez wrote: > Controlled by one company? Perhaps I should point out that C# is an ECMA > standard: http://msdn.microsoft.com/net/ecma/ C# is as controlled by one > company as C is. > > As far as bugs go, it's harder to accidentally write bugs into your code > with C# vs C. C# is a much more easily maintained language, tracking > down bugs when they occur is much easier because of things like > exceptions instead of good ol' segfaults. Then by all means, if you think so much of it do write a monitoring clone by yourself. I for one will never touch it. And not exactly because of all the dubious licensing problems (some parts are ECMA, some parts are patented, and we've not even started talking about submarine patents yet... like those that hit GIF, JPEG, etc...) It's overkill for an application that should be very small and simple. > The nagios.cfg as an XML file would be just fine IMHO, there's not that > much that you configure and you really hardly ever change it. Hosts.cfg > and services, extinfo, etc should definitely be in a DB, which I've planned. It would only increase in size by several orders of magnitude, without real advantages other than relying on a library to parse. Rui ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From pdonahue at acmicorp.com Wed Jul 7 17:11:44 2004 From: pdonahue at acmicorp.com (Donahue, Pat) Date: Wed, 7 Jul 2004 11:11:44 -0400 Subject: Compiling With MySQL Support Message-ID: <32871003F0BDC84E99E69EB6E9AE3AB410F93B@HQ-MAIL> Hi, I'm having problems compiling with MySQL support. I've passed the appropriate flags to the compiler (note that the db was installed as a binary distribution): ./configure --with-mysql-xdata --with-mysql-lib=/usr/local/mysql/lib --with-mysql-inc=/usr/local/mysql/include I was getting this error: ../xdata/xrddb.c:41: mysql/mysql.h: No such file or directory so I copied the includes into a subdirectory named mysql within /usr/local/mysql/include. That took care of the missing header files. The next problem was that gcc couldn't seem to find the appropriate library files, even though I had specified them on the config command line. As you can see the library directory is specified with -L and the library itself is specified with -l. I tried removing these LDFLAGS and just simply specifying the path to the library.. still no luck. Here is the current error: # make all ... gcc -g -O2 -I/usr/local/mysql/include -DHAVE_CONFIG_H -DNSCORE -L/usr/local/mysql/lib -lmysqlclient nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -lm -o nagios /tmp/ccokJN8q.o: In function `xrddb_initialize': /usr/local/src/nagios-1.2/base/../xdata/xrddb.c:224: undefined reference to `mysql_init' /tmp/ccokJN8q.o: In function `xrddb_connect': /usr/local/src/nagios-1.2/base/../xdata/xrddb.c:286: undefined reference to `mysql_real_connect' /usr/local/src/nagios-1.2/base/../xdata/xrddb.c:256: undefined reference to `mysql_close' ... Why can't Nagios find the MySQL library? During config it even claims it can! # ./configure --with-mysql-lib=/usr/local/mysql/lib --with-mysql-inc=/usr/local/mysql/include --with-mysql-xdata ... We'll use MySQL database routines (in xdata/xsddb.*) for status data I/O... We'll use MySQL database routines (in xdata/xcddb.*) for comment data I/O... We'll use MySQL database routines (in xdata/xeddb.*) for extended data I/O... We'll use MySQL database routines (in xdata/xrddb.*) for retention data I/O... We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... We'll use default routines (in xdata/xpddefault.*) for performance data I/O... We'll use MySQL database routines (in xdata/xdddb.*) for scheduled downtime data I/O... checking for main in -lmysqlclient... yes MySQL library was found! Thanks in advance for the help, Pat -------------- next part -------------- An HTML attachment was scrubbed... URL: From tech at gnuconsulting.com Wed Jul 7 17:14:26 2004 From: tech at gnuconsulting.com (David Bishop) Date: Wed, 7 Jul 2004 09:14:26 -0600 Subject: check_dns on freebsd Message-ID: <20040707151426.GC85827@server1.gnuconsulting.com> I just discovered why check_dns was failing for me (this is unrelated to my other problem). On FreeBSD, /usr/sbin/nslookup needs a dash in front of the name of the dns server to use, otherwise it thinks that you are passing two names to look up instead of just one. For instance, by default check_dns constructs a command-line of /usr/sbin/nslookup . It should be /usr/sbin/nslookup -. Once I added the dash to the asprintf line where command_line is constructed, it worked great. I presume this needs to be wrapped in some sort of IFDEF FREEBSD, but I left that as an exercise for the maintainer :-) D.A.Bishop ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From eduardo.moura at telway.com.br Wed Jul 7 17:30:12 2004 From: eduardo.moura at telway.com.br (Eduardo Moura) Date: Wed, 7 Jul 2004 12:30:12 -0300 Subject: RES: The Nagios: Reloaded (Rewriting Nagios) Message-ID: <4F1A91B978EE87478F2447A768883685F4E6@cbemi-web.cbemi> People, I could not agree more with the opinion of increase nagios performance of existing Nagios source. Rewrite the whole stuff in a new language it's a waste of time and energy. The tool need some improvements like on-line inclusion of hosts, services, contacts and so on without the need to restart service. The database interface, could be incremented to provide the needed perfomance. Notice that i'm just talking about the product core. If we navigate to interface, a lot of other stuff could be done. My advice. C or C++ is a strong language and with a little effort of Quality Assurance we can evolve nagios a lot more. Best Regards Eduardo Moura Telway Tecnologia From verdon at cict.fr Wed Jul 7 17:32:42 2004 From: verdon at cict.fr (carole verdon) Date: Wed, 07 Jul 2004 17:32:42 +0200 Subject: Compiling With MySQL Support In-Reply-To: <32871003F0BDC84E99E69EB6E9AE3AB410F93B@HQ-MAIL> References: <32871003F0BDC84E99E69EB6E9AE3AB410F93B@HQ-MAIL> Message-ID: <40EC179A.6060409@cict.fr> Look at this: http://article.gmane.org/gmane.network.nagios.user/14423 Donahue, Pat wrote: > Hi, > > I'm having problems compiling with MySQL support. I've passed the > appropriate flags to the compiler (note that the db was installed as a > binary distribution): > > ./configure --with-mysql-xdata --with-mysql-lib=/usr/local/mysql/lib > --with-mysql-inc=/usr/local/mysql/include > > I was getting this error: ../xdata/xrddb.c:41: mysql/mysql.h: No such > file or directory > > so I copied the includes into a subdirectory named mysql within > /usr/local/mysql/include. That took care of the missing header files. > The next problem was that gcc couldn't seem to find the appropriate > library files, even though I had specified them on the config command > line. As you can see the library directory is specified with -L and > the library itself is specified with -l. I tried removing these > LDFLAGS and just simply specifying the path to the library.. still no > luck. > > Here is the current error: > > # make all > ... > gcc -g -O2 -I/usr/local/mysql/include -DHAVE_CONFIG_H -DNSCORE > -L/usr/local/mysql/lib -lmysqlclient nagios.c checks.o config.o > commands.o flapping.o logging.o notifications.o sehandlers.o utils.o > sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c > ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c > ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c > ../xdata/xdddb.c -lm -o nagios > /tmp/ccokJN8q.o: In function `xrddb_initialize': > /usr/local/src/nagios-1.2/base/../xdata/xrddb.c:224: undefined > reference to `mysql_init' > /tmp/ccokJN8q.o: In function `xrddb_connect': > /usr/local/src/nagios-1.2/base/../xdata/xrddb.c:286: undefined > reference to `mysql_real_connect' > /usr/local/src/nagios-1.2/base/../xdata/xrddb.c:256: undefined > reference to `mysql_close' > ... > > Why can't Nagios find the MySQL library? During config it even claims > it can! > > # ./configure --with-mysql-lib=/usr/local/mysql/lib > --with-mysql-inc=/usr/local/mysql/include --with-mysql-xdata > ... > We'll use MySQL database routines (in xdata/xsddb.*) for status data > I/O... > We'll use MySQL database routines (in xdata/xcddb.*) for comment data > I/O... > We'll use MySQL database routines (in xdata/xeddb.*) for extended data > I/O... > We'll use MySQL database routines (in xdata/xrddb.*) for retention > data I/O... > We'll use template-based routines (in xdata/xodtemplate.*) for object > data I/O... > We'll use default routines (in xdata/xpddefault.*) for performance > data I/O... > We'll use MySQL database routines (in xdata/xdddb.*) for scheduled > downtime data I/O... > checking for main in -lmysqlclient... yes > MySQL library was found! > > Thanks in advance for the help, > Pat > -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From ilopez at jalisco.gob.mx Wed Jul 7 18:38:47 2004 From: ilopez at jalisco.gob.mx (ilopez at jalisco.gob.mx) Date: Wed, 7 Jul 2004 10:38:47 -0600 Subject: SNMP Message-ID: Hello everybody I have read a lot a information about nagios but I haven`t understood how use the snmp plug . Can somebody give me a little explaning about it? I`m not sure how much I can do with this option. Thanks ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From benoit at aam-communication.com Wed Jul 7 17:38:39 2004 From: benoit at aam-communication.com (Benoit MIGUEL) Date: Wed, 7 Jul 2004 17:38:39 +0200 Subject: Ang: PING WARNING - DUPLICATES FOUND! References: <40EC0707.6050807@eiisolutions.net> <20040707150236.25942.qmail@minnow.softflare.net> Message-ID: <085601c46438$8cf30720$02960c0a@ben> ???h?h?? excellent word2word translation :)))) Benoit ----- Original Message ----- From: "Paul L. Allen" To: Sent: Wednesday, July 07, 2004 5:02 PM Subject: Re: Ang: [Nagios-users] PING WARNING - DUPLICATES FOUND! > Matt Burleigh writes: > > > Stefan Hanssen wrote: > > > >> Jeg har for tiden ferie. Er tilbake mandag 2 august. > >> > >> > > Huh? ;-) > > Translation: "I am on holiday and I'm running a really crappy vacation > auto-responder that is so stupid it responds to mailing lists. Please > forgive me for being such an annoying idiot. You'll have to put up with > this crap until the 2nd of August unless you killfile me, which is a very > good idea." > > I may have taken one or two liberties with that. :) > > -- > Paul Allen > Softflare Support > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jdoyle at lewisgaleclinic.com Wed Jul 7 17:50:01 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Wed, 7 Jul 2004 11:50:01 -0400 Subject: acknowledging errors Message-ID: Sometimes, no rhyme nor reason... sometimes though I have no option to acknowledge a service problem. Anyone else seen this? Jack Doyle, LGC Information Systems Systems Operations Specialist 540.776.2025 -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Jul 7 17:53:33 2004 From: marc at ena.com (Marc Powell) Date: Wed, 7 Jul 2004 10:53:33 -0500 Subject: Adding host commands Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6710@mismail2.ena.com> Per-Henrik Persson wrote: > Hi! > > I want to add some admin commands to the host commands list (like > reboot server) for certain hosts. Is there an easy way or do I have > to modify the source code? I have searched the list achives without > success. You can either modify the source to include them in the built in list _or_ you can you the Host/Service extended info feature to create a notes_url with any additional information and host/service specific commands you feel are lacking. The latter course of action is probably easier and more flexible in the long run. -- Marc ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From mshirley at gmail.com Wed Jul 7 17:36:33 2004 From: mshirley at gmail.com (Mark Shirley) Date: Wed, 7 Jul 2004 11:36:33 -0400 Subject: issues with notifications In-Reply-To: <13828F680182D511893300508BD6831706E582A9@oscex2.osc.uscg.mil> References: <13828F680182D511893300508BD6831706E582A9@oscex2.osc.uscg.mil> Message-ID: fyi for anyone with the same problem, the suggestion on removing the \'s before the "'s solved it. thanks! On Fri, 25 Jun 2004 13:24:47 -0400, Lawrence, Lynne wrote: > It looks like you are having quoting issues. I use a similar notification > command, but my quotes are not escaped. You might want to try removing the > '\'s preceding each of your double quotes. > > Regards, > > Lynne Lawrence > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Mark > > Shirley > > Sent: Thursday, June 24, 2004 3:06 PM > > To: pete.dewell at volteurope.com > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] issues with notifications > > > > > > define contact { > > use admins > > contact_name mark > > alias mark > > email myemail at domain > > pager page-me at domain > > service_notification_period 24x7 > > host_notification_period 24x7 > > service_notification_options w,u,c,r > > host_notification_options d,u,r > > service_notification_commands notify-by-email,notify-by-epager > > host_notification_commands > > host-notify-by-email,host-notify-by-epager > > } > > > > my contact template is ... > > > > define contact { > > name admins > > service_notification_period 24x7 > > host_notification_period 24x7 > > service_notification_options w,u,c,r > > host_notification_options d,u,r > > service_notification_commands notify-by-email,notify-by-epager > > host_notification_commands > > host-notify-by-email,host-notify-by-epager > > register 0 > > } > > > > > > > > On Thu, 24 Jun 2004 19:37:50 +0100, Pete Dewell > > wrote: > > > > > > What's the contact definition for this address ? > > > It looks like that has been badly defined in the config file. > > > > > > Pete Dewell > > > > > > > > > Mark Shirley wrote: > > > > > > > host-notify-by-email > > > > /usr/bin/printf \"%b\" \"***** Nagios *****\n\nNotification Type: > > > > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > > > > $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $DATETIME$\n\" | > > > > /usr/bin/mail -s \"Host $HOSTSTATE$ alert for $HOSTNAME$!\" > > > > $CONTACTEMAIL$ > > > > > > > > That is my current host-notify-by-email command. When a host DOWN > > > > event occurs it says it sends the notification but I never recieve > > > > one. Upon further investigating I notice in my mail > > queue a returned > > > > email from my local smtp server stating the following > > > > > > > > From MAILER-DAEMON Thu Jun 24 13:32:53 2004 > > > > Return-path: <> > > > > Envelope-to: nagios at helpdesk > > > > Received: from mail by helpdesk-linux with local (Exim > > 3.35 #1 (Debian)) > > > > id 1BdY5l-0002xZ-00 > > > > for ; Thu, 24 Jun 2004 13:32:53 -0400 > > > > From: Mail Delivery System > > > > To: nagios at helpdesk > > > > Subject: Mail failure - malformed recipient address > > > > Message-Id: > > > > Date: Thu, 24 Jun 2004 13:32:53 -0400 > > > > > > > > A message that you sent contained a recipient address > > that was incorrectly > > > > constructed: > > > > > > > > my-host.domain.com!" unmatched doublequote in local > > part (expected > > > > word or "<") > > > > > > > > The message has not been delivered to any recipients. > > > > > > > > ------ This is a copy of your message, including all the > > headers. ------ > > > > > > > > > > > > To: alert, for, my-host.domain.com!", myemail at domain.com, UP > > > > Subject: "Host > > > > > > > > > > ""*****""Nagios""*****nnNotification""Type:""RECOVERYnHost:""m > > y-host.domain.comnState:""UPnAddress:""1.1.1.1nInfo:""$nnDate/ > > Time:""Thu""Jun""24""13:32:53""EDT""2004n"" > > > > > > > > -------- > > > > Notice the To: line! > > > > > > > > It seems as though the line it's sending to `mail` is missing some > > > > information. Could it be that "Host $HOSTSTATE$" is not > > getting send > > > > to it? I don't really understand how this could be happening. Is > > > > there any other information i can provide to make things easier? > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email sponsored by Black Hat Briefings & Training. > > > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > > > digital self defense, top technical experts, no vendor pitches, > > > > unmatched networking opportunities. Visit www.blackhat.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 > > > > > > -- > > > > > > Technical Support/Analyst > > > Volt Europe > > > Tel : (+44) (0) 1737 774100 > > > Fax : (+44) (0) 1737 772949 > > > Mobile : (+44) (0) 777 1513066 > > > E-mail pete.dewell at volteurope.com > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > digital self defense, top technical experts, no vendor pitches, > > unmatched networking opportunities. Visit www.blackhat.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 > > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jdoyle at lewisgaleclinic.com Wed Jul 7 17:56:26 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Wed, 7 Jul 2004 11:56:26 -0400 Subject: NEVERMIND ACKNOWLEDGEMENT THING Message-ID: I think I got it... I think it's because it wasn't yet in a hard state. Thanks. Jack Doyle, LGC Information Systems Systems Operations Specialist 540.776.2025 -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Jul 7 18:26:59 2004 From: marc at ena.com (Marc Powell) Date: Wed, 7 Jul 2004 11:26:59 -0500 Subject: acknowledging errors Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6714@mismail2.ena.com> ________________________________ From: Jack Doyle [mailto:jdoyle at lewisgaleclinic.com] Sent: Wednesday, July 07, 2004 10:50 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] acknowledging errors Sometimes, no rhyme nor reason... sometimes though I have no option to acknowledge a service problem. Anyone else seen this? Yes, if the service in question is not in a hard state. P.s. please try to send to the list in plain text. Not only does it make it easier to reply with proper quoting but more people on the list will read it. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From earl at switchmanagement.com Wed Jul 7 19:23:50 2004 From: earl at switchmanagement.com (Earl C. Ruby III) Date: Wed, 7 Jul 2004 10:23:50 -0700 Subject: Monitoring any RAID cards In-Reply-To: <40EB8602.7010808@pbp.net> References: <40EB8602.7010808@pbp.net> Message-ID: <200407071023.50789.earl@switchmanagement.com> I'm monitoring many types of RAID cards: Adaptec, 3ware, Mylex, and softraid. Some hosts have multiple RAID cards. My general approach is to use whatever command line tool you have to monitor the RAID card and dump its "known good/working state" output to a file: my_raid_tool --card 0 --info all > /var/state/diskmon/raid.card0 Then write a script to diff the output of the tool against the file: my_raid_tool --card 0 --info all | diff -u - /var/state/diskmon/raid.card0 If the diff returns nothing, then everything is OK. If the diff returns anything, return a critical error. If you start seeing "known and unimportant errors" popping up (e.g. "Verifying disk"), you can run a second test to eliminate them: my_raid_tool --card 0 --info all | diff -u - /var/state/diskmon/raid.card0 | grep -v 'unimportant error message 1' | grep -v 'unimportant error message 2' If the second test returns something, return a critical error. If only the first test returns something, return a warning. If neither test returns anything, you're OK. Earl On Tuesday 06 July 2004 10:11 pm, Jonathan Nichols wrote: > Greetings all.. > > Are any of you using Linux on the Dell PowerEdge boxes? If yes, what > are you using to monitor the RAID status (if you're using RAID) - > currently my method consists of checking /proc/megaraid/hba0/ and doing > this: > > jnichols at mailgate hba0 $ sudo cat raiddrives-0-9 > Logical drive: 0:, state: optimal > Span depth: 1, RAID level: 1, Stripe size: 64, Row size: 2 > Read Policy: Adaptive, Write Policy: Write back, Cache Policy: Direct IO > > jnichols at mailgate hba0 $ > > That method sucks. I need to find something better. :) The Dell RAID > monitoring tools are an absolute joke, and seem to be Red Hat specific > (I don't use Red Hat..using Gentoo) > > Has anybody run into this? > > Thanks! > -Jonathan > > (ps, yes, I checked Google..didn't find a lot, was hoping for personal > experiences) > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 -- Earl C. Ruby III Senior Systems Engineer / Developer Switch Management ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Darren.Kemp at xerox.com Wed Jul 7 19:34:14 2004 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Wed, 7 Jul 2004 13:34:14 -0400 Subject: Multiple root processes question Message-ID: <330CE9F92C02064B86090D40B479712F1CF819@usa0300ms04.na.xerox.net> We have recently updated to NAGIOS 2.0a (yes its alphs so I don't expect any support). Anyway, if anyone has run into an issue where multiple NAGIOS processes are starting I'd love to hear from you. Basically it will start up between 3-6 root processes, and end up missing random event handlers are what not. nagios 18889 1 0 13:33:23 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 24509 1 0 12:47:32 ? 0:23 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 18894 1 0 13:33:23 ? 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg bash-2.03# I have tried a complete shutdown, removing all the var files (except the archive), still starts up several Processes. Thanks to anyone who can provide input -dkk -------------- next part -------------- An HTML attachment was scrubbed... URL: From ilopez at jalisco.gob.mx Wed Jul 7 20:36:23 2004 From: ilopez at jalisco.gob.mx (ilopez at jalisco.gob.mx) Date: Wed, 7 Jul 2004 12:36:23 -0600 Subject: Cisco In-Reply-To: References: Message-ID: Hi I saw ?the Kevin Calhoon`s plug about snmp to check cisco devices I would like to use it . Could you tell me where I can get information about it to install it and use it. Thanks ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From earl at switchmanagement.com Wed Jul 7 19:49:22 2004 From: earl at switchmanagement.com (Earl C. Ruby III) Date: Wed, 7 Jul 2004 10:49:22 -0700 Subject: Using passive-only plug-ins Message-ID: <200407071049.22932.earl@switchmanagement.com> How do you set up a passive-only plug-in without having it show up with a big red warning flag that says "SERVICE CHECKS DISABLED"? According to the docs: "If you only want passive results to be provided for a specific service (i.e. active checks should not be performed), simply set the active_checks_enabled member of the service definition to 0. This will prevent Nagios from ever actively performing a check of the service. Make sure that the passive_checks_enabled member of the service definition is set to 1. If it isn't, Nagios won't process passive checks for the service!" I have active_checks_enabled set to 0 and passive_checks_enabled set to 1. This gives me a passive-only check -- no scheduled checks, status only changes when an event comes in via nsca. However, I also get a big red warning that says "SERVICE CHECKS DISABLED" on this service check. Anyone using Nagios who sees that will automatically think something is wrong and re-enable the check. Since Nagios requires a check_command for every service, the "dummy" check I have in place gets executed and its status value over-writes the valid status. If I had a "dummy" check command that wouldn't alter the current status that would work, or if there was some way of telling Nagios that "This is a passive-only check and you should never ever try to do the active check -- don't warn me about it and don't give me the option to turn the active check back on" -- that would work too. Has anyone done this? -- Earl C. Ruby III Senior Systems Engineer / Developer Switch Management ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From marc at ena.com Wed Jul 7 20:10:53 2004 From: marc at ena.com (Marc Powell) Date: Wed, 7 Jul 2004 13:10:53 -0500 Subject: Using passive-only plug-ins Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6715@mismail2.ena.com> Earl C. Ruby III wrote: > How do you set up a passive-only plug-in without having it show up > with a big red warning flag that says "SERVICE CHECKS DISABLED"? > These are the key variables -- active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted check_period none And here is the complete service template I use -- define service{ name generic-service 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 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 process_perf_data 1 ; Process performance data retain_status_information 0 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 check_period none max_check_attempts 5 normal_check_interval 5 retry_check_interval 3 notification_interval 10080 notification_period 24x7 notification_options c,r register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } -- Marc ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From rnelson at windchannel.com Wed Jul 7 20:21:09 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Wed, 7 Jul 2004 14:21:09 -0400 Subject: Segregation of networks Message-ID: I've been using Nagios for a while and I know a simple solution to this question, but I'm interested in a different answer: If you have two main classifications of monitored devices and you don't want them to be accessible together, how would you set up one Nagios server to monitor both sections and present both as different web sites? In our case, we have two different internal divisions - we're a wireless company that does Fixed Wireless Broadband in Raleigh, NC and also hotel wi-fi installs. The FWB has an order of magnitude more devices, but there are more hostgroups for hotels. When you use grouplist.cgi, this makes for a HUGE link list on the left hand pane. I know I could put this on two servers, but that would take another monitoring server and require a second host to maintain config files/logins on. I was wondering if there are any custom fields in Nagios, so that we could use some sort of "if custom_field=FWB then display" when visiting nagios.windchannel.com/fwb and "if custom_field=Hotels then display" when visiting nagios.windchannel.com/hotels, to keep them separate. Of course, a real tricky question is, is there a way to present each section as their own web page, AND have an overall summary screen for the guy who's on-call? :) Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From drhonk at gmail.com Wed Jul 7 20:31:32 2004 From: drhonk at gmail.com (Roy Kartadinata) Date: Wed, 7 Jul 2004 11:31:32 -0700 Subject: Notification and check-host-alive problem Message-ID: <90bc2a03040707113114132ccf@mail.gmail.com> Hi guys, I just have nagios installed and configured, so far its been running pretty good. Several things that I notice kinda wierd: 1. When I turned off imap daemon on one of our server, nagios detected that imap is down but it also shows check-host-alive as failed with error, /bin/ping -n -U -c 1 x.x.x.x, so nagios now showing both host and imap service as down. 2. Instead of service notification, I only receive host notification. 3. I turned imap daemon back on, nagios shows that it is up and running .. but no recovery notification like it should and host remained showing as down. Does anyone ever have this problem ? I'm using nagios 1.2 with plugins 1.3.1 -- +----------------------------------------------+ Roy Kartadinata +----------------------------------------------+ ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From dmourati at cm.math.uiuc.edu Wed Jul 7 20:41:32 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 7 Jul 2004 13:41:32 -0500 (CDT) Subject: Segregation of networks In-Reply-To: References: Message-ID: On Wed, 7 Jul 2004, Robert Nelson wrote: > I've been using Nagios for a while and I know a simple solution to this > question, but I'm interested in a different answer: If you have two main > classifications of monitored devices and you don't want them to be > accessible together, how would you set up one Nagios server to monitor > both sections and present both as different web sites? Create two hostgroups and make a seperate contact for each hostgroup. Log in as contact one to see the first group, log in as contact two to see the second group. Log in as nagiosadmin and see everything. Easy. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From krcalhoo at mtu.edu Wed Jul 7 20:37:50 2004 From: krcalhoo at mtu.edu (kevin) Date: Wed, 07 Jul 2004 14:37:50 -0400 Subject: Cisco In-Reply-To: References: Message-ID: <40EC42FE.1050602@mtu.edu> ilopez at jalisco.gob.mx wrote: > > Hi > I saw the Kevin Calhoon`s plug about snmp to check cisco devices I would > like to use it . > Could you tell me where I can get information about it to install it and > use it. It is a perl program so you don't need to install it. Just copy it to you libexe directory and give it the proper execute permissions. However, if you don't have all the library it uses then it will error out. The easiest way to install perl librarys that I have found is using cpan.org. You can install them from the command line by typing #perl -MCPAN -eshell Getopt::Long, Net::SNMP are necessary for the plugin to work. If you don't want RRDs just uncomment it, and set my $WITH_RRD = 0; All the documentation is in the standard plugin format #./check_cisco_cpu -h Other notes are made in the comments of the script. Before I forgot to mention that I wrote it for a Cisco Catalyst 4006. I don't know if it will work on any other devices, but you can always try. All you would need to do is look up the oid on cisco's(or other manufacturers) web site, and replace the one used in the script. Kevin Calhoon ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From quanah at stanford.edu Wed Jul 7 20:52:44 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 07 Jul 2004 11:52:44 -0700 Subject: Notification and check-host-alive problem In-Reply-To: <90bc2a03040707113114132ccf@mail.gmail.com> References: <90bc2a03040707113114132ccf@mail.gmail.com> Message-ID: <92B5A7981C810E7DA6A52EC8@cadabra.stanford.edu> --On Wednesday, July 07, 2004 11:31 AM -0700 Roy Kartadinata wrote: > Hi guys, > > I just have nagios installed and configured, so far its been running > pretty good. Several things that I notice kinda wierd: > > 1. When I turned off imap daemon on one of our server, nagios detected > that imap is down but it also shows check-host-alive as failed with > error, /bin/ping -n -U -c 1 x.x.x.x, so nagios now showing both host > and imap service as down. > 2. Instead of service notification, I only receive host notification. > 3. I turned imap daemon back on, nagios shows that it is up and > running .. but no recovery notification like it should and host > remained showing as down. > > Does anyone ever have this problem ? I'm using nagios 1.2 with plugins > 1.3.1 It sounds like your check-host-alive check isn't set up properly. I suggest running it from the command line, and verifying that it works correctly. --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From drhonk at gmail.com Wed Jul 7 21:01:15 2004 From: drhonk at gmail.com (Roy Kartadinata) Date: Wed, 7 Jul 2004 12:01:15 -0700 Subject: Notification and check-host-alive problem In-Reply-To: <92B5A7981C810E7DA6A52EC8@cadabra.stanford.edu> References: <90bc2a03040707113114132ccf@mail.gmail.com> <92B5A7981C810E7DA6A52EC8@cadabra.stanford.edu> Message-ID: <90bc2a0304070712015dd32142@mail.gmail.com> It works fine when I tested from command line. Below is the setting from checkcommands.cfg # 'check-host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } This is the result when I ran it from command prompt. PING OK - Packet loss = 0%, RTA = 83.65 ms So that works fine. On Wed, 07 Jul 2004 11:52:44 -0700, Quanah Gibson-Mount wrote: > > > --On Wednesday, July 07, 2004 11:31 AM -0700 Roy Kartadinata > wrote: > > > Hi guys, > > > > I just have nagios installed and configured, so far its been running > > pretty good. Several things that I notice kinda wierd: > > > > 1. When I turned off imap daemon on one of our server, nagios detected > > that imap is down but it also shows check-host-alive as failed with > > error, /bin/ping -n -U -c 1 x.x.x.x, so nagios now showing both host > > and imap service as down. > > 2. Instead of service notification, I only receive host notification. > > 3. I turned imap daemon back on, nagios shows that it is up and > > running .. but no recovery notification like it should and host > > remained showing as down. > > > > Does anyone ever have this problem ? I'm using nagios 1.2 with plugins > > 1.3.1 > > It sounds like your check-host-alive check isn't set up properly. I > suggest running it from the command line, and verifying that it works > correctly. > > --Quanah > > -- > Quanah Gibson-Mount > Principal Software Developer > ITSS/Shared Services > Stanford University > GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html > -- +----------------------------------------------+ Roy Kartadinata +----------------------------------------------+ ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From rnelson at windchannel.com Wed Jul 7 21:01:54 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Wed, 7 Jul 2004 15:01:54 -0400 Subject: Segregation of networks Message-ID: > -----Original Message----- > From: Demetri Mouratis [mailto:dmourati at cm.math.uiuc.edu] > Sent: Wednesday, July 07, 2004 2:42 PM > To: Robert Nelson > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Segregation of networks > > > On Wed, 7 Jul 2004, Robert Nelson wrote: > > > I've been using Nagios for a while and I know a simple solution to > > this question, but I'm interested in a different answer: If > you have > > two main classifications of monitored devices and you don't > want them > > to be accessible together, how would you set up one Nagios > server to > > monitor both sections and present both as different web sites? > > Create two hostgroups and make a seperate contact for each > hostgroup. Log in as contact one to see the first group, log > in as contact two to see the second group. Log in as > nagiosadmin and see everything. > > Easy. I have one hostgroup for every hotel, one for every POP in our FWB market, and a few others of special groupings. What I want is a way to view just the hotel stuff, just the FWB stuff, or both together. Grouplist.cgi is great, but if I have 42 hotel groups and 6 POP groups, it's a bit hard to find the POP groups. Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From dmourati at cm.math.uiuc.edu Wed Jul 7 21:08:00 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 7 Jul 2004 14:08:00 -0500 (CDT) Subject: Segregation of networks In-Reply-To: References: Message-ID: On Wed, 7 Jul 2004, Robert Nelson wrote: > > > > On Wed, 7 Jul 2004, Robert Nelson wrote: > > > > > I've been using Nagios for a while and I know a simple solution to > > > this question, but I'm interested in a different answer: If > > you have > > > two main classifications of monitored devices and you don't > > want them > > > to be accessible together, how would you set up one Nagios > > server to > > > monitor both sections and present both as different web sites? > > > > Create two hostgroups and make a seperate contact for each > > hostgroup. Log in as contact one to see the first group, log > > in as contact two to see the second group. Log in as > > nagiosadmin and see everything. > > > > Easy. > > I have one hostgroup for every hotel, one for every POP in our FWB > market, and a few others of special groupings. What I want is a way to > view just the hotel stuff, just the FWB stuff, or both together. > Grouplist.cgi is great, but if I have 42 hotel groups and 6 POP groups, > it's a bit hard to find the POP groups. You need a hostgroup for all the hotel hosts and a hostgroup for all the FWB hosts. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From marc at ena.com Wed Jul 7 21:17:24 2004 From: marc at ena.com (Marc Powell) Date: Wed, 7 Jul 2004 14:17:24 -0500 Subject: Segregation of networks Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B671B@mismail2.ena.com> Robert Nelson wrote: > In our case, we have two different internal divisions - we're a > wireless company that does Fixed Wireless Broadband in Raleigh, NC > and also hotel wi-fi installs. The FWB has an order of magnitude more > devices, but there are more hostgroups for hotels. When you use > grouplist.cgi, this makes for a HUGE link list on the left hand pane. > I know I could put this on two servers, but that would take another > monitoring server and require a second host to maintain config > files/logins on. > > Of course, a real tricky question is, is there a way to present each > section as their own web page, AND have an overall summary screen for > the guy who's on-call? :) This is exactly what CGI authentication is for. When enabled, contacts can only see hosts, hostgroups, and services that they are contacts for. Create a contactgroup for the FWB people, a contactgroup for the hotel people and make them contacts for their respective hosts and services. The on-call guy should be a member of both contactgroups. -- Marc ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From marc at ena.com Wed Jul 7 21:27:20 2004 From: marc at ena.com (Marc Powell) Date: Wed, 7 Jul 2004 14:27:20 -0500 Subject: Notification and check-host-alive problem Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B671C@mismail2.ena.com> Roy Kartadinata wrote: > Hi guys, > > I just have nagios installed and configured, so far its been running > pretty good. Several things that I notice kinda wierd: > > 1. When I turned off imap daemon on one of our server, nagios > detected that imap is down but it also shows check-host-alive as > failed with error, /bin/ping -n -U -c 1 x.x.x.x, so nagios now > showing both host and imap service as down. /bin/ping is most likely not exectutable by the nagios user. Make sure that it's sticky (chmod 4755 /bin/ping) and owned by root. > 2. Instead of service notification, I only receive host notification. Correct behavior if nagios thinks the host is down. > 3. I turned imap daemon back on, nagios shows that it is up and > running .. but no recovery notification like it should and host > remained showing as down. Correct behavior if nagios thinks the host is down. See #1. -- Marc ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Wed Jul 7 21:27:19 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Jul 2004 21:27:19 +0200 Subject: Notification and check-host-alive problem In-Reply-To: <90bc2a03040707113114132ccf@mail.gmail.com> References: <90bc2a03040707113114132ccf@mail.gmail.com> Message-ID: <40EC4E97.6080008@op5.se> Roy Kartadinata wrote: > Hi guys, > > I just have nagios installed and configured, so far its been running > pretty good. Several things that I notice kinda wierd: > > 1. When I turned off imap daemon on one of our server, nagios detected > that imap is down but it also shows check-host-alive as failed with > error, /bin/ping -n -U -c 1 x.x.x.x, so nagios now showing both host > and imap service as down. > 2. Instead of service notification, I only receive host notification. You need to set notification_period and notification_options properly in the service object definition, as well as service_notification_period and service_notification_options in the contact definition. In addition to this, you must also be in the contactgroup which receives notifications for the service (it's not enough to be a contact for the host to receive notifications for its services). If all of that is set up properly you should have a look at the service_notification_command and the relevant timeperiods. > 3. I turned imap daemon back on, nagios shows that it is up and > running .. but no recovery notification like it should and host > remained showing as down. > 'r' is for recovery in notification_options for service objects, as well as for service_notification_options for contact objects. > Does anyone ever have this problem ? I'm using nagios 1.2 with plugins 1.3.1 > Not when properly configured, no. Does the imap server normally respond to PING? check-host-alive is (by default) just a check_ping with more lenient values, you know. -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From marc at ena.com Wed Jul 7 21:29:11 2004 From: marc at ena.com (Marc Powell) Date: Wed, 7 Jul 2004 14:29:11 -0500 Subject: Notification and check-host-alive problem Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B671D@mismail2.ena.com> Roy Kartadinata wrote: > It works fine when I tested from command line. Below is the setting > from checkcommands.cfg > > # 'check-host-alive' command definition > define command{ > command_name check-host-alive > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > 3000.0,80% -c 5000.0,100% -p 1 > } > > This is the result when I ran it from command prompt. > > PING OK - Packet loss = 0%, RTA = 83.65 ms > > > So that works fine. Did you run it as root or the nagios user? There _is_ a difference. -- Marc ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Wed Jul 7 21:30:28 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Jul 2004 21:30:28 +0200 Subject: Multiple root processes question In-Reply-To: <330CE9F92C02064B86090D40B479712F1CF819@usa0300ms04.na.xerox.net> References: <330CE9F92C02064B86090D40B479712F1CF819@usa0300ms04.na.xerox.net> Message-ID: <40EC4F54.9000705@op5.se> Kemp, Darren wrote: > We have recently updated to NAGIOS 2.0a (yes its alphs so I don't expect > any support). > > Anyway, if anyone has run into an issue where multiple NAGIOS processes > are starting I'd love to hear from you. > > Basically it will start up between 3-6 root processes, and end up > missing random event handlers are what not. > > nagios 18889 1 0 13:33:23 ? 0:00 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > nagios 24509 1 0 12:47:32 ? 0:23 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > nagios 18894 1 0 13:33:23 ? 0:00 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > Those three processes are started by the nagios user. Nagios forks once for every check, so it's supposed to run several processes. > bash-2.03# > > I have tried a complete shutdown, removing all the var files (except the > archive), still starts up several > > Processes. > Good. That means it's working. > > > Thanks to anyone who can provide input > You're welcome. > > > -dkk > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From quanah at stanford.edu Wed Jul 7 21:27:51 2004 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Wed, 07 Jul 2004 12:27:51 -0700 Subject: Notification and check-host-alive problem In-Reply-To: <90bc2a0304070712015dd32142@mail.gmail.com> References: <90bc2a03040707113114132ccf@mail.gmail.com> <92B5A7981C810E7DA6A52EC8@cadabra.stanford.edu> <90bc2a0304070712015dd32142@mail.gmail.com> Message-ID: <940D8B42CD897D3DC82FC267@cadabra.stanford.edu> --On Wednesday, July 07, 2004 12:01 PM -0700 Roy Kartadinata wrote: > It works fine when I tested from command line. Below is the setting > from checkcommands.cfg > ># 'check-host-alive' command definition > define command{ > command_name check-host-alive > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > 3000.0,80% -c 5000.0,100% -p 1 > } > > This is the result when I ran it from command prompt. > > PING OK - Packet loss = 0%, RTA = 83.65 ms > > > So that works fine. Is Ping in the nagios user's path? Did you su to the nagios user to emulate its environment? Also, is ping executable by the nagios user? Is check_ping? Is $USER1$ defined (I assume so, since your service checks work, if they are using $USER1$). --Quanah -- Quanah Gibson-Mount Principal Software Developer ITSS/Shared Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From earl at switchmanagement.com Wed Jul 7 21:40:29 2004 From: earl at switchmanagement.com (Earl C. Ruby III) Date: Wed, 7 Jul 2004 12:40:29 -0700 Subject: Using passive-only plug-ins In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F1B6715@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F1B6715@mismail2.ena.com> Message-ID: <200407071240.29719.earl@switchmanagement.com> Thanks very much. That worked. I made one change: I set check_freshness = 1 and freshness_threshold = 3600 for the service, then made a "dummy" script called check_passive_only that always returns a CRITICAL error with the message "No status updates in $ARGV[0] seconds". Now if I don't get a passive check of some sort from the service at least once every hour, I get an alarm. On Wednesday 07 July 2004 11:10 am, Marc Powell wrote: > Earl C. Ruby III wrote: > > How do you set up a passive-only plug-in without having it show up > > with a big red warning flag that says "SERVICE CHECKS DISABLED"? > > These are the key variables -- > > active_checks_enabled 1 ; Active service checks are > enabled > passive_checks_enabled 1 ; Passive service checks are > enabled/accepted > check_period none > > > And here is the complete service template I use -- > > define service{ > name generic-service > 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 > 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 > process_perf_data 1 ; Process performance > data > retain_status_information 0 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > is_volatile 0 > check_period none > max_check_attempts 5 > normal_check_interval 5 > retry_check_interval 3 > notification_interval 10080 > notification_period 24x7 > notification_options c,r > > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > } > -- > Marc > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 -- Earl C. Ruby III Senior Systems Engineer / Developer Switch Management ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Wed Jul 7 21:42:14 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Jul 2004 21:42:14 +0200 Subject: Adding host commands In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F1B6710@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F1B6710@mismail2.ena.com> Message-ID: <40EC5216.1000107@op5.se> Marc Powell wrote: > Per-Henrik Persson wrote: > >>Hi! >> >>I want to add some admin commands to the host commands list (like >>reboot server) for certain hosts. Is there an easy way or do I have >>to modify the source code? I have searched the list achives without >>success. > > > You can either modify the source to include them in the built in list > _or_ you can you the Host/Service extended info feature to create a > notes_url with any additional information and host/service specific > commands you feel are lacking. The latter course of action is probably > easier and more flexible in the long run. > Definitely so, since the first really won't work at all without turning Nagios into a network management (as opposed to monitoring) system. The best way to create a management add-on to Nagios would most likely be to host it on a separate site and have the other app hold keys and whatever commands you need to issue for maintenance. In Nagios, you would put something like this in the notes_url field for the (host|service)extinfo object; notes_url https://mgmt.com/mgmt.(cgi|php)?host=$HOSTNAME$ and then have the other script present the list of actions. That way you'd have a separate module that seems (on important levels) to integrate with nagios. > -- > Marc > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From rnelson at windchannel.com Wed Jul 7 21:45:30 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Wed, 7 Jul 2004 15:45:30 -0400 Subject: Segregation of networks Message-ID: > -----Original Message----- > From: Marc Powell [mailto:marc at ena.com] > Sent: Wednesday, July 07, 2004 3:17 PM > To: Robert Nelson; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Segregation of networks > > > Robert Nelson wrote: > > > In our case, we have two different internal divisions - we're a > > wireless company that does Fixed Wireless Broadband in > Raleigh, NC and > > also hotel wi-fi installs. The FWB has an order of magnitude more > > devices, but there are more hostgroups for hotels. When you use > > grouplist.cgi, this makes for a HUGE link list on the left > hand pane. > > I know I could put this on two servers, but that would take another > > monitoring server and require a second host to maintain config > > files/logins on. > > > > Of course, a real tricky question is, is there a way to > present each > > section as their own web page, AND have an overall summary > screen for > > the guy who's on-call? :) > > This is exactly what CGI authentication is for. When enabled, > contacts can only see hosts, hostgroups, and services that > they are contacts for. Create a contactgroup for the FWB > people, a contactgroup for the hotel people and make them > contacts for their respective hosts and services. The on-call > guy should be a member of both contactgroups. Yes, except most add-ons like grouplist.cgi ignore authentication and create the same left-hand menu for every user. Now, not only are all the groups still listed there, but the majority of them appear blank to the user. I've got the authentication in place, I've even hacked a few HTML pages together so that a specific user can only see their authorized hosts, but I do that by taking away the menu. I'd basically like to make two versions of the Nagios Web UI but still maintained by one set of config files on the backend. Does that make any sense? Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Wed Jul 7 21:57:41 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Jul 2004 21:57:41 +0200 Subject: The Nagios: Reloaded (Rewriting Nagios) In-Reply-To: <418B502A3861E242AFDED453F3D5B89CB667C0@i2km99-ukbr.domain1.systemhost.net> References: <418B502A3861E242AFDED453F3D5B89CB667C0@i2km99-ukbr.domain1.systemhost.net> Message-ID: <40EC55B5.5000601@op5.se> tom.welsh at bt.com wrote: > Hi All, > > I also note that this guy said he would be releasing the NEW Nagios(r) not > under the GPL but under a BSD licence because he preferred it! > No, he said he would rewrite it from the ground up in a different language, thus creating a competing product which he will hold copyright to and therefore can do whatever he wants with. > Are you allowed to do that? Change licensing schemes I mean? I thought only > the original author of the original work could change the licence model. But > I may be wrong > The original author has nothing to do with it. It's the copyright holders call to decide what license he wants. In opensource-projects the original author is usually the copyright-holder, but not always. In the corporate world it's the company you work for that holds copyright to the code you write during business hours, unless you're willing to take a quite serious paycut or you're the leader of a very large opensource-project (like Linus Thorvalds) and can get paid a nice round sum for just doing what you've always done with no strings attached. > > Cheers > > Tom Welsh > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From marc at ena.com Wed Jul 7 22:00:22 2004 From: marc at ena.com (Marc Powell) Date: Wed, 7 Jul 2004 15:00:22 -0500 Subject: Segregation of networks Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B671F@mismail2.ena.com> Robert Nelson wrote: > > -----Original Message----- > > From: Marc Powell [mailto:marc at ena.com] > > This is exactly what CGI authentication is for. When enabled, > > contacts can only see hosts, hostgroups, and services that they are > > contacts for. Create a contactgroup for the FWB people, a > > contactgroup for the hotel people and make them contacts for their > > respective hosts and services. The on-call guy should be a member > > of both contactgroups. > > Yes, except most add-ons like grouplist.cgi ignore authentication and > create the same left-hand menu for every user. Now, not only are all > the groups still listed there, but the majority of them appear blank > to the user. Sounds like bad or incomplete design on the part of whoever wrote grouplist.cgi ;) > > I've got the authentication in place, I've even hacked a few HTML > pages together so that a specific user can only see their authorized > hosts, but I do that by taking away the menu. I'd basically like to > make two versions of the Nagios Web UI but still maintained by one > set of config files on the backend. Does that make any sense? Yes, it makes sense but you'll probably have better luck fixing grouplist.cgi to follow the nagios contacts paradigm than munging nagios to fix a borked addon. It sounds like grouplist.cgi looks at the cfg files directly so as long as you maintain one set of config files you're still going to have the problem no matter how many different front ends you create. For the record, I've never used grouplist.cgi so I don't know if the behavior you're seeing is a design decision, a bug or a configuration issue. I would hope that any addon to nagios would respect the most basic behaviors of the program. -- Marc ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Wed Jul 7 22:03:31 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 07 Jul 2004 22:03:31 +0200 Subject: Hostgroup of Hostgroups? In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E068DE9@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E068DE9@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <40EC5713.20806@op5.se> Sand Philipp wrote: > Even in 2.0 it's not possible. Would be a nice feature to add i think. > There's really no need for that, since the any host can be in any number of hostgroups. In Nagios 2.0 you can also specify hostgroups in the host object. In combination with moving the contactgroups variable from the hostgroup definition to the host definition, this makes the hostgroups more or less redundant. > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf >>Of Demetri Mouratis >>Sent: Tuesday, July 06, 2004 9:26 PM >>To: Christopher M Bergeron >>Cc: Nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] Hostgroup of Hostgroups? >> >>On Tue, 6 Jul 2004, Christopher M Bergeron wrote: >> >> >>>Is it possible to create a hostgroup of hostgroups in nagios? >> >>Unfornately, no, this doesn't work in 1.2. 2.0 perhaps? >> >>--------------------------------------------------------------------- >>Demetri Mouratis >>dmourati at linfactory.com >> -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jared at wordzoo.com Wed Jul 7 22:19:04 2004 From: jared at wordzoo.com (Jared Rhine) Date: Wed, 07 Jul 2004 13:19:04 -0700 Subject: Using passive-only plug-ins In-Reply-To: <200407071049.22932.earl@switchmanagement.com> References: <200407071049.22932.earl@switchmanagement.com> Message-ID: <87fz83muyv.wl@badger.wordzoo.com> [Earl == earl at switchmanagement.com on Wed, 7 Jul 2004 10:49:22 -0700] Earl> How do you set up a passive-only plug-in without having it Earl> show up with a big red warning flag that says "SERVICE CHECKS Earl> DISABLED"? I personally leave active checks enabled, but set the check time to 'none'. No warning, but no active checks either. -- jared at wordzoo.com "Better to be of a rare breed than a long line." -- TDK ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From rnelson at windchannel.com Wed Jul 7 22:49:02 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Wed, 7 Jul 2004 16:49:02 -0400 Subject: Segregation of networks Message-ID: > > Yes, except most add-ons like grouplist.cgi ignore > authentication and > > create the same left-hand menu for every user. Now, not > only are all > > the groups still listed there, but the majority of them appear blank > > to the user. > > Sounds like bad or incomplete design on the part of whoever > wrote grouplist.cgi ;) > > > > > I've got the authentication in place, I've even hacked a few HTML > > pages together so that a specific user can only see their > authorized > > hosts, but I do that by taking away the menu. I'd basically like to > > make two versions of the Nagios Web UI but still maintained by one > > set of config files on the backend. Does that make any sense? > > Yes, it makes sense but you'll probably have better luck > fixing grouplist.cgi to follow the nagios contacts paradigm > than munging nagios to fix a borked addon. It sounds like > grouplist.cgi looks at the cfg files directly so as long as > you maintain one set of config files you're still going to > have the problem no matter how many different front ends you create. > > For the record, I've never used grouplist.cgi so I don't know > if the behavior you're seeing is a design decision, a bug or > a configuration issue. I would hope that any addon to nagios > would respect the most basic behaviors of the program. If I knew how to hack grouplist.cgi to check what groups the user is authorized for, I would. As a user, IMO, this is one place where session info instead of .htaccess would make things a LOT easier. I'm sure that would make something else plenty more difficult though ;) Since I'm going to have to hack the HTML anyway, if someone has a pointer to where I can look to make this work, I'd appreciate it. The snippet of code that grouplist currently uses to determine the groups is pretty basic: ========== #Get files and dirs CFGFILES=`egrep -e "^cfg_file=" $NAGIOSDIR/etc/nagios.cfg|cut -d "=" -f 2` CFGDIRS=`egrep -e "^cfg_dir=" $NAGIOSDIR/etc/nagios.cfg|cut -d "=" -f 2` #add files in cfg_dir's to filelist for CFGDIR in $CFGDIRS; do CFGFILES="$CFGFILES `ls $CFGDIR/*.cfg` " done GROUPLIST="" # Get groupnames from files for CFGFILE in `echo $CFGFILES`; do if [ -f $CFGFILE ]; then HOSTGROUPS=`egrep -e "hostgroup_name" $CFGFILE|awk '{print $2}'| tr "," " "` GROUPLIST="$GROUPLIST $HOSTGROUPS" fi Done #Sort and remove duplicated names GROUPLIST=`echo $GROUPLIST|tr " " "\n"|sort|uniq` ========== Once it does that, then it builds an appropriate set of links, with the text for each link being the name of the hostgroup. To my not-very-good programmer's eye, the code does not appear to have been built to do anything with htpasswd, since it doesn't do much other than look at the "hostgroup_name" statements. Am I wrong? Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From gmeisenheimer at itgroundwork.com Wed Jul 7 23:31:44 2004 From: gmeisenheimer at itgroundwork.com (Glenn A. Meisenheimer) Date: Wed, 07 Jul 2004 14:31:44 -0700 Subject: Event handler OK from command line, not from nagios Message-ID: <40EC6BC0.4@itgroundwork.com> Friends, My problem is this. The print spooler on a Win 2k machine keeps hanging up. Remedial action typically requires a sysadmin to stop and restart the print spooler on the windows box (There are multiple boxes, btw). So I generated this .BAT file on the windows host: ECHO. >> c:\nrpe-nt\rspooler.log ECHO |DATE |find "current" >> c:\nrpe-nt\rspooler.log ECHO |TIME |find "current" >> c:\nrpe-nt\rspooler.log ECHO Resetting the Print Spooler >> c:\nrpe-nt\rspooler.log NET STOP SPOOLER >> c:\nrpe-nt\rspooler.log NET START SPOOLER >> c:\nrpe-nt\rspooler.log If the logfile rspooler.log already exists this script appends a date/time stamp, echos that it is resetting the spooler, then redirects the output from the NET STOP and NET START command into that log file as well. This gives us a record of restarts. I have installed nrpe-nt on the windows box, configured nrpe.cfg thusly: command[check_rspooler]=C:\nrpe-nt\rspooler.bat So if check_nrpe on the Nagios server calls check_rspooler on the win 2k box, it should run the rspooler.bat script listed above. On the Nagios server check_nrpe is configured like this: # # NRPE Command define command{ command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } And indeed if , from the command line I type: /usr/local/nagios/libexec/check_nrpe -H 192.168.1.31 -c check_rspooler The rspooler.bat file on the win 2k Box does run, and does log the event. So what I need to do is write an event handler which calls rspooler.bat using the check_nrpe command above. That event handler is located in /usr/local/nagios/eventhandler and is named reset_spooler_04. It is owned by nagios/nagios. The reset_spooler_04 event handler script follows: cut here **************************************************************** #!/bin/bash # # Event handler script for executing nrpe recovery scripts on a remote machine # # Note: This script will only execute a recovery script if the service is # retried 3 times (in a "soft" state) or if the associated monitor somehow # manages to fall into a "hard" error state. # # What state is the service in? case "$1" in OK) # The service just came back up, so don't do anything... ;; WARNING) # We don't really care about warning states, since the service is probably still running... ;; UNKNOWN) # We don't know what might be causing an unknown error, so don't do anything... ;; CRITICAL) # Aha! The service appears to have a problem - perhaps we should run the recovery script... # Is this a "soft" or a "hard" state? case "$2" in # We're in a "soft" state, meaning that Nagios is in the middle of retrying the # check before it turns into a "hard" state and contacts get notified... SOFT) # What check attempt are we on? We don't want to restart the web server on the first # check, because it may just be a fluke! case "$3" in # Wait until the check has been tried 4 times before running the recovery script. # If the check fails on the 4th time (after recovery), the state type will turn to # "hard" and contacts will be notified of the problem. Hopefully this will restart # things successfully, so the 4th check will result in a "soft" recovery. If that # happens no one gets notified because we # fixed the problem! 4) echo -n "Restarting print spooler service (4th soft critical state)..." # Call the check_nrpe plugin to execute the recovery script. /usr/local/nagios/libexec/check_nrpe -H 192.168.1.31 -c check_rspooler ;; esac ;; # The monitor somehow managed to turn into a hard error without getting fixed. # It should have been restarted by the code above, but for some reason it didn't. # Let's give it one last try, shall we? # Note: Contacts have already been notified of a problem with the service at this # point (unless you disabled notifications for this service) HARD) echo -n "Restarting service..." /usr/local/nagios/libexec/check_nrpe -H 192.168.1.31 -c check_rspooler ;; esac ;; esac exit 0 **************************************************************** cut here Now if I cd to /usr/local/nagios/eventhandler and enter this command: ./reset_spooler_04 CRITICAL HARD 4 The rspooler.bat file on the Win 2k box actually runs and logs the reset. So far so good. Now I need to set up a service definition for the event handler: # # reset_spooler_04 Command define command{ command_name reset_spooler_04 command_line /usr/local/nagios/eventhandler/reset_spooler_04 } And I need to include the event handler in the service definition: define service{ host_name fc-ctx-04 use rs-windows-service service_description printq_service max_check_attempts 5 event_handler reset_spooler_04 normal_check_interval 10 retry_check_interval 1 check_command check_nt_perf!"\\Print Queue(_Total)\\Jobs"!4!5 } So now the big picture. We have a working monitor on the Nagios server which monitors the number of print jobs in the Win 2k print queue. We generate an alarm when the number of jobs in the queue exceeds 5. I can test this by pulling the paper tray on the printer and queueing up print jobs. The montor works fine.. It goes into alarm when the print queue gets up to 5 jobs. But the event handler doesn't work properly. Here's the log: [07-02-2004 13:51:41] SERVICE EVENT HANDLER: fc-ctx-04;printq_service;CRITICAL;HARD;5;reset_spooler_04 [07-02-2004 13:51:41] SERVICE ALERT: fc-ctx-04;printq_service;CRITICAL;HARD;5;6 [07-02-2004 13:50:41] SERVICE EVENT HANDLER: fc-ctx-04;printq_service;CRITICAL;SOFT;4;reset_spooler_04 [07-02-2004 13:50:41] SERVICE ALERT: fc-ctx-04;printq_service;CRITICAL;SOFT;4;6 [07-02-2004 13:49:42] SERVICE EVENT HANDLER: fc-ctx-04;printq_service;CRITICAL;SOFT;3;reset_spooler_04 [07-02-2004 13:49:42] SERVICE ALERT: fc-ctx-04;printq_service;CRITICAL;SOFT;3;6 [07-02-2004 13:48:36] SERVICE EVENT HANDLER: fc-ctx-04;printq_service;CRITICAL;SOFT;2;reset_spooler_04 [07-02-2004 13:48:36] SERVICE ALERT: fc-ctx-04;printq_service;CRITICAL;SOFT;2;7 [07-02-2004 13:47:37] SERVICE EVENT HANDLER: fc-ctx-04;printq_service;CRITICAL;SOFT;1;reset_spooler_04 [07-02-2004 13:47:37] SERVICE ALERT: fc-ctx-04;printq_service;CRITICAL;SOFT;1;7 So, it seems to me that Nagios is calling the event handler, and is calling it n a CRITICAL HARD state. Why, oh why, I wonder, isn't the rest of the system working? The above event did NOT result in an entry in the rspooler.log on the Win 2k machine. As I said earlier, if I call the event handler as user nagios from the command line, it does run rspooler and makes the log entries on the Win 2k machine. Any help would be appreciated... Glenn Meisenheimer ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From drhonk at gmail.com Thu Jul 8 00:06:25 2004 From: drhonk at gmail.com (Roy Kartadinata) Date: Wed, 7 Jul 2004 15:06:25 -0700 Subject: SendEmail Message-ID: <90bc2a03040707150649af71c7@mail.gmail.com> Hi guys, Just curious if anyone here uses sendEmail ? Care to share your misccommand.cfg ? -- +----------------------------------------------+ Roy Kartadinata +----------------------------------------------+ ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From neil-on-nagios at restricted.dyndns.org Thu Jul 8 00:55:30 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 07 Jul 2004 17:55:30 -0500 Subject: file existence check Message-ID: <20040707225531.93002.qmail@restricted.dyndns.org> Hey guys, I would like to monitor if a file gets uploaded successfully by our customer every night at 10pm. Filename syntax is Upload_Daily_20040707.txt. Programatically, I can extract the current date in my nagios system and have the date get appended to the syntax. So if file exists after 10pm check, it becomes OK. If not, it will remain RED. My concern is that after 12midnight, it won't be checked anymore because date will change. But I can create 2 checks, one for today and the other one for yesterday. I would like to know guys how you would implement it and what you think about my approach. Thanks. Neil ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From wp.junior at terra.com.br Thu Jul 8 02:06:00 2004 From: wp.junior at terra.com.br (Wilson Pires Jr) Date: Wed, 7 Jul 2004 21:06:00 -0300 Subject: front end management tool In-Reply-To: References: Message-ID: <20040708000211.6057E3C02F@paramonga.terra.com.br> Does nagmin make consistency among the cfg configuration files? I mean, for example, if I delete a host, are their services deleted automatically? Regards, Wilson -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mark Shirley Sent: quarta-feira, 7 de julho de 2004 09:16 To: Neil Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re: front end management tool you can do anything with nagmin as you can with configs in my experiance. instead of editing a text file to create a custom check you create a database field. On Tue, 06 Jul 2004 12:54:50 -0500, Neil wrote: > Hi Mark, > > Another question. I do a lot of customization to checks and vi allows me to > be very flexible. The limit I have when writing my own custom checks is what > my brain can imagine. So, can I also be very flexible with Nagmin? > > Thanks. :) > > Neil > > > > > Mark Shirley writes: > > > the use of the mysql database is a nagmin requirement not a nagios requirement. > > > > nagmin takes an existing set of config files and creates a database > > based on that. at that point you use the gui interface to make > > changes to the mysql database. when you want the changes to take > > effect you run a "verification" where it dumps the data from the > > database into temporary config files and then tells nagios to do a -v > > startup. if that is sucsessful you then "activate" it where by it > > does the same thing of dumping the mysql database into config files > > and then it starts nagios normally. this particular setup is > > excellent if for some reason you try it and don't like it you can > > always go back to using a simple text configs. > > > > nagmin does NOT require your nagios to be built with mysql since > > nagmin deals directly with nagios's config files. i currently use > > nagmin because of the pure number of hosts and services. not to > > mention the other people that i interact with must be able to > > add/remove/change host and service records without having to edit > > config files manually. the major downside to nagmin is that you can't > > EASILY go back and forth from nagmin to console config. it's one or > > the other because if you make a change to the temp config files the > > changes will not be inserted into the mysql database and will be > > overwritten the next time you do an verification or activation. > > > > in comparison to the other options i found nagmin to be the best and > > most stable for my enviroment. > > > > > > > > > > On Thu, 01 Jul 2004 11:19:37 -0500, Neil > > wrote: > >> Ok, IIRC, support to database is going to be dropped in version 2 of Nagios > >> > >> > >> > >> carole verdon writes: > >> > >> > In first, to use Nagmin, Nagios must built with mysql database support. > >> > > >> > That it was my case. Then, Nagmin use existings config files to build its > >> > own files. > >> > > >> > Neil wrote: > >> > > >> >> Hi Carole, > >> >> What if I already have existing running nagios, how does it take care of > >> >> my existings configs? > >> >> YOu know what, I should try it :) > >> >> carole verdon writes: > >> >> > >> >>> I use Nagmin to manage the configuration of nagios. Nagmin don't create > >> >>> temporary config files. It extract informations of tables of mysql > >> >>> database to put them in flat config files so that nagios can read them. > >> >>> I am satisfied for this product. > >> >>> You can find others answers in mailing list or on > >> >>> http://nagmin.sourceforge.net/ > >> >>> Carole. > >> >>> Neil wrote: > >> >>> > >> >>>> Hey guys, > >> >>>> I know in nagios website, extras, there are links to front end for > >> >>>> managing nagios. Currently, I am a unix console fanatic. :) I'm used to > >> >>>> it and it's no problem to me. I would like to seek your experience on > >> >>>> which front end web based application you really did like and was easy > >> >>>> to use. I am looking into something wherein it will be easy for us to > >> >>>> create hosts, services, contacts and so on. I tried Nagmin, Nagat but > >> >>>> if I remember correctly, it creates a temporary config file which will > >> >>>> be used for test run. It's nice but really messes up my configs :( > >> >>>> Anyways, please reply as to what webbased nagios management tool you > >> >>>> are using and that you're very happy about it. > >> >>>> Thanks. > >> >>>> Neil > >> >>>> > >> >>>> ------------------------------------------------------- > >> >>>> This SF.Net email sponsored by Black Hat Briefings & Training. > >> >>>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > >> >>>> self defense, top technical experts, no vendor pitches, unmatched > >> >>>> networking opportunities. Visit www.blackhat.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 > >> >>>> > >> >>> > >> >>> -- > >> >>> ********************************** > >> >>> VERDON Carole > >> >>> Ing?nieur Syst?me > >> >>> CICT - Universit? Paul Sabatier > >> >>> 118, route de Narbonne > >> >>> 31062 Toulouse Cedex > >> >>> T?l.: 05.61.36.60.44 > >> >>> Fax: 05.61.52.14.58 > >> >>> Mail: verdon at cict.fr > >> >>> ********************************** > >> >>> > >> >>> > >> >>> ------------------------------------------------------- > >> >>> This SF.Net email sponsored by Black Hat Briefings & Training. > >> >>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > >> >>> self defense, top technical experts, no vendor pitches, unmatched > >> >>> networking opportunities. Visit www.blackhat.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 > >> >> > >> >> > >> >> > >> >> > >> >> ------------------------------------------------------- > >> >> This SF.Net email sponsored by Black Hat Briefings & Training. > >> >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > >> >> self defense, top technical experts, no vendor pitches, unmatched > >> >> networking opportunities. Visit www.blackhat.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 > >> >> > >> >> > >> > > >> > -- > >> > ********************************** > >> > VERDON Carole > >> > Ing?nieur Syst?me > >> > CICT - Universit? Paul Sabatier > >> > 118, route de Narbonne > >> > 31062 Toulouse Cedex > >> > T?l.: 05.61.36.60.44 > >> > Fax: 05.61.52.14.58 > >> > Mail: verdon at cict.fr > >> > ********************************** > >> > > >> > > >> > >> ------------------------------------------------------- > >> This SF.Net email sponsored by Black Hat Briefings & Training. > >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > >> digital self defense, top technical experts, no vendor pitches, > >> unmatched networking opportunities. Visit www.blackhat.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 > >> > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > digital self defense, top technical experts, no vendor pitches, > > unmatched networking opportunities. Visit www.blackhat.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 > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Thu Jul 8 02:06:49 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 08 Jul 2004 02:06:49 +0200 Subject: Event handler OK from command line, not from nagios In-Reply-To: <40EC6BC0.4@itgroundwork.com> References: <40EC6BC0.4@itgroundwork.com> Message-ID: <40EC9019.3050100@op5.se> Glenn A. Meisenheimer wrote: > Friends, > > My problem is this. The print spooler on a Win 2k machine keeps hanging > up. > Remedial action typically requires a sysadmin to stop and restart the > print spooler > [....] > Any help would be appreciated... > Add the following lines close to the top of your eventhandler script; [ -d /tmp/events ] || mkdir /tmp/events echo "$@" > /tmp/events/${0##/*}.$$ exec 1>& /tmp/events/${0##/*}.$$ exec 2>& /tmp/events/${0##/*}.$$ Then rip the paper tray and watch the eventhandler execute. /tmp/events/* will be logfiles with complete output of every argument passed and every action taken (be aware that stderr usually isn't buffered, while stdout normally is, so output may come in whacky order if things go amiss a whole lot). > Glenn Meisenheimer > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Thu Jul 8 02:31:16 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 08 Jul 2004 02:31:16 +0200 Subject: file existence check In-Reply-To: <20040707225531.93002.qmail@restricted.dyndns.org> References: <20040707225531.93002.qmail@restricted.dyndns.org> Message-ID: <40EC95D4.8000409@op5.se> Neil wrote: > Hey guys, > I would like to monitor if a file gets uploaded successfully by our > customer every night at 10pm. Filename syntax is > Upload_Daily_20040707.txt. Programatically, I can extract the current > date in my nagios system and have the date get appended to the syntax. > So if file exists after 10pm check, it becomes OK. If not, it will > remain RED. My concern is that after 12midnight, it won't be checked > anymore because date will change. But I can create 2 checks, one for > today and the other one for yesterday. > I would like to know guys how you would implement it and what you think > about my approach. Do something like this, and pass the exact filename as the first argument. It's a quick-hack (written in the mailer window), but it should be enough to get you started, and it probably compiles on any posix-compliant system. If you want to specify threshold values and such you'll have to add it yourself. --[ cut here ]--- #include #include #include #include #include #include int main(int argc, char **argv) { time_t now; int fd; struct stat fs; int status = 0; if(argc != 2) { printf("usage: %s \n", argv[0]); exit(3); } now = time(NULL); fd = open(argv[0], O_RDONLY); if(fd == -1) { printf("Unable to open %s for reading.\n", argv[1]); exit(1); } fstat(fd, &fs); if(now > fs.st_mtime + (24 * 3600)) status = 1; printf("%s was last modified %u seconds ago.\n", now - fs.st_mtime); return(status); } --[ and here ]--- In case anyone's lawyer is wondering, that code up there is in the public domain with no restrictions what so ever, so abuse it any way you want. > Thanks. You're welcome. > Neil > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From earl at switchmanagement.com Thu Jul 8 02:42:43 2004 From: earl at switchmanagement.com (Earl C. Ruby III) Date: Wed, 7 Jul 2004 17:42:43 -0700 Subject: file existence check In-Reply-To: <20040707225531.93002.qmail@restricted.dyndns.org> References: <20040707225531.93002.qmail@restricted.dyndns.org> Message-ID: <200407071742.43211.earl@switchmanagement.com> I would construct your YYYYMMDD timestamp as current time - 21:59:59 hours. That way, at 10pm you're checking for today's file, and you keep checking for today's file until 9:59:59pm the next day. On Wednesday 07 July 2004 03:55 pm, Neil wrote: > Hey guys, > > I would like to monitor if a file gets uploaded successfully by our > customer every night at 10pm. Filename syntax is Upload_Daily_20040707.txt. > Programatically, I can extract the current date in my nagios system and > have the date get appended to the syntax. So if file exists after 10pm > check, it becomes OK. If not, it will remain RED. My concern is that after > 12midnight, it won't be checked anymore because date will change. But I can > create 2 checks, one for today and the other one for yesterday. > > I would like to know guys how you would implement it and what you think > about my approach. -- Earl C. Ruby III Senior Systems Engineer / Developer Switch Management ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From pla at softflare.com Thu Jul 8 02:57:09 2004 From: pla at softflare.com (Paul L. Allen) Date: Thu, 08 Jul 2004 01:57:09 +0100 Subject: file existence check In-Reply-To: <20040707225531.93002.qmail@restricted.dyndns.org> References: <20040707225531.93002.qmail@restricted.dyndns.org> Message-ID: <20040708005710.3514.qmail@minnow.softflare.net> Neil writes: > I would like to know guys how you would implement it I'd check the modification time was not greater than 1 day. > and what you think about my approach. Borked. Hey, it's late here and I've had a lot of wine, so deep thought is beyond me. But your explanation of how you were going to do it was a hell of a lot more complex than checking the mtime of the file. A bit of perl that uses -M will fix your problem for you. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From smalhotra at dataarmor.net Thu Jul 8 05:12:00 2004 From: smalhotra at dataarmor.net (Sumit Malhotra) Date: Thu, 8 Jul 2004 08:42:00 +0530 Subject: PING WARNING - DUPLICATES FOUND! References: <40EBFEC8.1010907@eiisolutions.net> Message-ID: <005501c46499$57e50fe0$0301a8c0@sumit> hi , Try using DHIS Server This make sure by the client running on the each box being monitored is authentic It works great but only problew is that it works on UDP :-) Regards, Sumit ----- Original Message ----- From: "Matt Burleigh" To: Sent: Wednesday, July 07, 2004 7:16 PM Subject: Re: [Nagios-users] PING WARNING - DUPLICATES FOUND! > Robert Nelson wrote: > > >It probably means that your machine received more than one (could be > >two, three, or even more) ICMP echo reply packets for each echo request. > >Can happen if two machines are configured on the same IP, if you're > >pinging a broadcast IP, or if you're using really ancient equipment, > >pinging the network IP. > > > > > Thats what I thought but it sure doesn't make sense. The hosts that > triggered this are direct-jet printers, three different kinds with > static IPs. I've had Nagios running for about a week and this morning > was the first time I've seen this alert. Happened for about half hour > and I've not seen the alert since... > > -- > Matt Burleigh > Senior Systems Engineer > Enterprise Integration, Inc. > eiisolutions.com > 703.236.0790 > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From neil-on-nagios at restricted.dyndns.org Thu Jul 8 07:06:48 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Thu, 08 Jul 2004 00:06:48 -0500 Subject: file existence check In-Reply-To: <20040708005710.3514.qmail@minnow.softflare.net> References: <20040707225531.93002.qmail@restricted.dyndns.org> <20040708005710.3514.qmail@minnow.softflare.net> Message-ID: <20040708050648.20608.qmail@restricted.dyndns.org> I forgot guys that I should have mentioned NRPE here too. The file that I was checking resides on a windows machine. I just finished writing a WMI program that checks the uploaded file from the vendor. The format of the filename is Daily_Interface_Omni_20040707.txt. I then created 2 checks which will check the file with the most current date and the other check which will check yesterday's file. This file gets uploaded to us at around 8PM PST. I have put it in production and is now working. I have to play around with the notification period so that it won't send any emails during saturday nights. But, all your inputs are also welcome since I will also be creating a check for other Unix machines. Paul L. Allen writes: > Neil writes: > >> I would like to know guys how you would implement it > > I'd check the modification time was not greater than 1 day. > >> and what you think about my approach. > > Borked. Hey, it's late here and I've had a lot of wine, so deep thought > is beyond me. But your explanation of how you were going to do it was > a hell of a lot more complex than checking the mtime of the file. A bit > of perl that uses -M will fix your problem for you. > > -- > Paul Allen > Softflare Support > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From nagios-users at gurugeek.com Thu Jul 8 07:19:09 2004 From: nagios-users at gurugeek.com (Jeff Rodriguez) Date: Wed, 07 Jul 2004 22:19:09 -0700 Subject: Monitoring Dell stuff? In-Reply-To: <40EB8602.7010808@pbp.net> References: <40EB8602.7010808@pbp.net> Message-ID: <40ECD94D.4090007@gurugeek.com> You should check out Dell OpenManage and Dell IT Assistant. The server runs on windows but will tell you much more about the status of your systems than Nagios ever could. I believe it's free too... Jeff Jonathan Nichols wrote: > Greetings all.. > > Are any of you using Linux on the Dell PowerEdge boxes? If yes, > what are you using to monitor the RAID status (if you're using RAID) - > currently my method consists of checking /proc/megaraid/hba0/ and > doing this: > > jnichols at mailgate hba0 $ sudo cat raiddrives-0-9 > Logical drive: 0:, state: optimal > Span depth: 1, RAID level: 1, Stripe size: 64, Row size: 2 > Read Policy: Adaptive, Write Policy: Write back, Cache Policy: Direct IO > > jnichols at mailgate hba0 $ > > That method sucks. I need to find something better. :) The Dell RAID > monitoring tools are an absolute joke, and seem to be Red Hat specific > (I don't use Red Hat..using Gentoo) > > Has anybody run into this? > > Thanks! > -Jonathan > > (ps, yes, I checked Google..didn't find a lot, was hoping for personal > experiences) > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.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 > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From karl at debisschop.net Thu Jul 8 07:25:15 2004 From: karl at debisschop.net (Karl DeBisschop) Date: Thu, 08 Jul 2004 01:25:15 -0400 Subject: Monitoring Dell stuff? In-Reply-To: <40EB8602.7010808@pbp.net> References: <40EB8602.7010808@pbp.net> Message-ID: <40ECDABB.4000608@debisschop.net> Jonathan Nichols wrote: > Greetings all.. > > Are any of you using Linux on the Dell PowerEdge boxes? If yes, what > are you using to monitor the RAID status (if you're using RAID) - > currently my method consists of checking /proc/megaraid/hba0/ and doing > this: > > jnichols at mailgate hba0 $ sudo cat raiddrives-0-9 > Logical drive: 0:, state: optimal > Span depth: 1, RAID level: 1, Stripe size: 64, Row size: 2 > Read Policy: Adaptive, Write Policy: Write back, Cache Policy: Direct IO > > jnichols at mailgate hba0 $ > > That method sucks. I need to find something better. :) The Dell RAID > monitoring tools are an absolute joke, and seem to be Red Hat specific > (I don't use Red Hat..using Gentoo) > > Has anybody run into this? I have the adaptec RAID systems (runnign RedHat). I use the afasnmp driver from dell which feeds the PERC data into net-snmp. Just use check_snmp from there. Solution has worked well for me. You may need to unpack the RPM manually for gentoo, and yes source code would be a nice thing, but is does work. I googled a bit and found this for the megaraid cards: http://www.ibiblio.org/john/megaraid/ No matter which raid subsytems you have, I suggest looking here if you have not already: http://linux.dell.com/storage.shtml All in all, lack of code is a PITA, but if you can get around that the SNMP solution works welll for me. -- Karl ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Philipp.Sand at sycor.de Thu Jul 8 07:27:12 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Thu, 8 Jul 2004 07:27:12 +0200 Subject: Hostgroup of Hostgroups? Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E068DF6@SYGOMAIL.GOE.AD.SYCOR.DE> > Sand Philipp wrote: > > Even in 2.0 it's not possible. Would be a nice feature to > add i think. > > > > There's really no need for that, since the any host can be in > any number of hostgroups. In Nagios 2.0 you can also specify > hostgroups in the host object. > In combination with moving the contactgroups variable from > the hostgroup definition to the host definition, this makes > the hostgroups more or less redundant. Great to hear, missed that one. I'm pretty new to 2.0, haven't seen this feature, yet. I think i have to rewrite my cfgs now *g* ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From maca02 at atlas.cz Thu Jul 8 07:33:20 2004 From: maca02 at atlas.cz (=?ISO-8859-2?Q?Tom=E1=B9_Macek?=) Date: Thu, 8 Jul 2004 07:33:20 +0200 (CEST) Subject: Problems with history In-Reply-To: <1089228015.1375.5.camel@localhost.localdomain> References: <1088785269.1329.15.camel@localhost.localdomain> <1089228015.1375.5.camel@localhost.localdomain> Message-ID: Hi, I asked our administrator about the FAQ 0093 and he told me, that the time synchronization is sheduled on 00:00 in cron, so maybe this could cause the problem. We scheduled the synchronization at the every hour and 50 minutes (1:50, 3:50, ...) and I'm very curious what will happen... Thank you very much for the tip! Tom On Wed, 7 Jul 2004, Horvath Tamas wrote: > Hi Tom! > > I've thought it already, but I wanted a working solution as soon as > possible. If I have enough time I'll be ad this capability to the script > too. > > I found the cause also: see FAQ 0093: > http://www.nagios.org/faqs/viewfaq.php?faq_id=93 > > I use ntpdate which was run by root crontab in every 3 hours. Now I run > it just once a day, when my nagios is not running. It seems that the > problem gone! (I use it from 3 July, so its not a big time period to be > anbsolutely secure.) > > Have a nice day, Tamas! > > > 2004-07-07, sze keltez?ssel Tom?? Macek ezt ?rta: >> Hi Tamas! >> sorry, for the delay of my answer, we had a 2 days free in Czech Republic... >> >> Thank you very much for the script, I will test it as early as possible. Nowaday >> s I do not have enaught time to do that, but I will test it surely when I finish current project I'm working on. >> You are writing, that you are not a programmer -> you wrote this script, so you >> are the programmer! ;-) >> >> I looked into the script and I think you always go through the whole directory, it would be better to do move only one file according to the current date and this script would be run at 00:01 every day. I would like to add this to the script. >> >> Have a nice day >> >> Tom >> >> >> On Fri, 2 Jul 2004, Horvath Tamas wrote: >> >>> Hi Tom! >>> >>> I couldn't manage to figure out why nagios creates *-23.log files. >>> >>> I wrote a little shell script for our problem. I use it via root >>> crontab. I tested it in every scenario which I can imagine and it seemed >>> to me that it works. >>> >>> Please note that I am not a programmer so the code may be not as >>> compact, fast, etc. as would be. >>> >>> Two important notes: >>> 1. Please replace MAGYAR_DATUM with DATUM. The first one create >>> Hungarian date format from the original one. >>> 2. Sorry for Hungarian textparts. I've no enough time to translate them >>> to English. >>> >>> Congratulations for your football team. I'm a fun of them and I terrible >>> sorry that they aren't in the final!:( >>> >>> Have a nice weekend, Tamas! >>> >> > > > > > > From Philipp.Sand at sycor.de Thu Jul 8 07:34:42 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Thu, 8 Jul 2004 07:34:42 +0200 Subject: Monitoring Dell stuff? Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E068DF7@SYGOMAIL.GOE.AD.SYCOR.DE> Dell Open Mange is really great. Doesn't work with every Kernel, but ok *g* BTW, has anyone kind of integrated Dell Open Mange into Nagios yet? I think about a plugin, which just checks the DOM if the whole server is ok (just this one status data, not all) And if tehre appears any Problem it returns the warning message from DOM and you can directly connect to DOM via hyperlink to look further. Same thing I need for Compaq/HP Insight Manager and IBM Director... I tried the check_insight plugin, but couldn't get it to run :-/ Any suggestions? Philipp > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Jeff Rodriguez > Sent: Thursday, July 08, 2004 7:19 AM > To: jnichols at pbp.net > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring Dell stuff? > > You should check out Dell OpenManage and Dell IT Assistant. > The server runs on windows but will tell you much more about > the status of your systems than Nagios ever could. I believe > it's free too... > > Jeff > > Jonathan Nichols wrote: > > > Greetings all.. > > > > Are any of you using Linux on the Dell PowerEdge boxes? If yes, > > what are you using to monitor the RAID status (if you're > using RAID) - > > currently my method consists of checking /proc/megaraid/hba0/ and > > doing this: > > > > jnichols at mailgate hba0 $ sudo cat raiddrives-0-9 Logical drive: 0:, > > state: optimal Span depth: 1, RAID level: 1, Stripe size: 64, Row > > size: 2 Read Policy: Adaptive, Write Policy: Write back, Cache > > Policy: Direct IO > > > > jnichols at mailgate hba0 $ > > > > That method sucks. I need to find something better. :) The > Dell RAID > > monitoring tools are an absolute joke, and seem to be Red > Hat specific > > (I don't use Red Hat..using Gentoo) > > > > Has anybody run into this? > > > > Thanks! > > -Jonathan > > > > (ps, yes, I checked Google..didn't find a lot, was hoping > for personal > > experiences) > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 > - digital > > self defense, top technical experts, no vendor pitches, unmatched > > networking opportunities. Visit www.blackhat.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 > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor > pitches, unmatched networking opportunities. Visit > www.blackhat.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 > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From bdunn at rdac.com.au Thu Jul 8 08:35:45 2004 From: bdunn at rdac.com.au (Brad Dunn) Date: Thu, 8 Jul 2004 14:35:45 +0800 Subject: Mail not working Message-ID: <47287D7F1C9A1C4B99EB7D407FCEE69604C82D@rdaex01.rdac.com.au> In regards to this, I've managed to get emails working but only from the CLI If I run this (which is now my new defined command) /usr/bin/printf "***** Nagios 1.0 *****\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mail -s "$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" alerts at rdac.com.au >From the command line, I get the following email. ***** Nagios 1.0 ***** Notification Type: $ Service: $ Host: $ Address: $ State: $ Date/Time: $ Additional Info: $ Now the actual content of the email is ok, I can trouble shoot that as it is, however Nagios isn't sending notifications on its own. Now I've defined it as # ;notify-by-email' command definition define command{ command_name notify-by-email Here is an example of a service that is always down # Service definition define service{ use generic-service ; Name of service template to use host_name megatron service_description pop is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_pop } And here is my alerts # 'nagios' contact definition define contact{ contact_name nagios alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email alerts at rdac.com.au } Any reason why I don't get the alerts from nagios, but I can run the top command manually and I get a response. - Brad ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From nicole.haehnel at epost.de Thu Jul 8 08:38:41 2004 From: nicole.haehnel at epost.de (=?ISO-8859-1?Q?Nicole_H=E4hnel?=) Date: Thu, 08 Jul 2004 08:38:41 +0200 Subject: Multiple output lines in plugins? Message-ID: <40ECEBF1.70404@epost.de> Hi, I've written my own plugin to get more information from a server. I use nrpe to check the other servers with my plugin. The plugin is not only to get "status ok". It gives out more lines, something like this: Temperatures OK CPU Planar 38.0 Celsius Ambient 26.0 Celsius BP Bottom Temp 23.0 Celsius The problem is check_nrpe gets only the first line. All I see is "Temperatures OK", the other lines are ignored. Is there any possibility to get more than one line? Or is the only thing I can do, write all output in one line? Thanks! Nicole ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From n3tvicious-nagios at yahoo.es Thu Jul 8 09:21:01 2004 From: n3tvicious-nagios at yahoo.es (=?iso-8859-1?q?NetVicious?=) Date: Thu, 8 Jul 2004 09:21:01 +0200 (CEST) Subject: file existence check In-Reply-To: <20040707225531.93002.qmail@restricted.dyndns.org> References: <20040707225531.93002.qmail@restricted.dyndns.org> Message-ID: <20040708072101.45543.qmail@web53307.mail.yahoo.com> I have an script that it's executed only at one time. If the script don't works correctly due to an problem it creates a cron job using at command for execute him with some parameters in 2 minutes. You could use the same idea passing as a parameter the date of the file you wants to check. --- Neil escribi?: > Hey guys, > > I would like to monitor if a file gets uploaded successfully by our > customer > every night at 10pm. Filename syntax is Upload_Daily_20040707.txt. > Programatically, I can extract the current date in my nagios system > and have > the date get appended to the syntax. So if file exists after 10pm > check, it > becomes OK. If not, it will remain RED. My concern is that after > 12midnight, > it won't be checked anymore because date will change. But I can > create 2 > checks, one for today and the other one for yesterday. > > I would like to know guys how you would implement it and what you > think > about my approach. > > Thanks. > > Neil > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 > ===== .. //\/ e t . \/ i c i o u s .. ______________________________________________ Yahoo! lanza su nueva tecnolog?a de b?squedas ?te atreves a comparar? http://busquedas.yahoo.es ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From n3tvicious-nagios at yahoo.es Thu Jul 8 09:20:40 2004 From: n3tvicious-nagios at yahoo.es (=?iso-8859-1?q?NetVicious?=) Date: Thu, 8 Jul 2004 09:20:40 +0200 (CEST) Subject: file existence check In-Reply-To: <20040707225531.93002.qmail@restricted.dyndns.org> References: <20040707225531.93002.qmail@restricted.dyndns.org> Message-ID: <20040708072040.52375.qmail@web53309.mail.yahoo.com> I have an script that it's executed only at one time. If the scripts dont's works OK due to an problem it creates a cron job using at command for execute him with some parameters in 2 minutes. You could use the same idea passing as a parameter the date of the file you wants to check. --- Neil escribi?: > Hey guys, > > I would like to monitor if a file gets uploaded successfully by our > customer > every night at 10pm. Filename syntax is Upload_Daily_20040707.txt. > Programatically, I can extract the current date in my nagios system > and have > the date get appended to the syntax. So if file exists after 10pm > check, it > becomes OK. If not, it will remain RED. My concern is that after > 12midnight, > it won't be checked anymore because date will change. But I can > create 2 > checks, one for today and the other one for yesterday. > > I would like to know guys how you would implement it and what you > think > about my approach. > > Thanks. > > Neil > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 > ===== .. //\/ e t . \/ i c i o u s .. ______________________________________________ Renovamos el Correo Yahoo!: ?100 MB GRATIS! Nuevos servicios, m?s seguridad http://correo.yahoo.es ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From unixdocs72 at yahoo.co.uk Thu Jul 8 10:01:18 2004 From: unixdocs72 at yahoo.co.uk (=?iso-8859-1?q?Tis=20Unix?=) Date: Thu, 8 Jul 2004 09:01:18 +0100 (BST) Subject: /usr/local/nagios/etc not present after compiling .... Message-ID: <20040708080118.66463.qmail@web25110.mail.ukl.yahoo.com> Hi, First post to this list after just compiling nagios ... I am having a few problems but will tackle one at a time. First thing ... After compiling Nagios successfully (well that's what it tells me), this is what I get in /usr/local/nagios - [root at richemontdev]> cd /usr/local/nagios/ [root at richemontdev]> ls -al total 12 drwxr-xr-x 6 root other 512 Jul 7 12:30 . drwxr-xr-x 30 root other 1024 Jul 7 09:43 .. drwxrwxr-x 2 nagios nagios 512 Jul 7 12:29 bin drwxrwxr-x 2 nagios nagios 512 Jul 7 12:29 sbin drwxrwxr-x 8 nagios nagios 512 Jul 7 12:29 share drwxrwxr-x 3 nagios nagios 512 Jul 7 12:30 var Why is there no etc directory ?? In the documentation, it said I should have the following - Directory Structure And File Locations Change to the root of your Nagios installation directory with the following command... cd /usr/local/nagios You should see five different subdirectories. A brief description of what each directory contains is given in the table below. Sub-DirectoryContentsbin/Nagios core programetc/Main, resource, object, and CGI configuration files should be put heresbin/CGIsshare/HTML files (for web interface and online documentation)var/Empty directory for the log file Why is this ?? Thanks in advance Trev --------------------------------- ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself -------------- next part -------------- An HTML attachment was scrubbed... URL: From h.baecker at ecofis.de Thu Jul 8 10:16:15 2004 From: h.baecker at ecofis.de (h.baecker at ecofis.de) Date: Thu, 8 Jul 2004 10:16:15 +0200 Subject: /usr/local/nagios/etc not present after compiling .... In-Reply-To: <20040708080118.66463.qmail@web25110.mail.ukl.yahoo.com> References: <20040708080118.66463.qmail@web25110.mail.ukl.yahoo.com> Message-ID: Hi, did you try to: make install-config ? Tis Unix Sent by: nagios-users-admin at lists.sourceforge.net 08.07.2004 10:01 To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] /usr/local/nagios/etc not present after compiling .... Hi, First post to this list after just compiling nagios ... I am having a few problems but will tackle one at a time. First thing ... After compiling Nagios successfully (well that's what it tells me), this is what I get in /usr/local/nagios - [root at richemontdev]> cd /usr/local/nagios/ [root at richemontdev]> ls -al total 12 drwxr-xr-x 6 root other 512 Jul 7 12:30 . drwxr-xr-x 30 root other 1024 Jul 7 09:43 .. drwxrwxr-x 2 nagios nagios 512 Jul 7 12:29 bin drwxrwxr-x 2 nagios nagios 512 Jul 7 12:29 sbin drwxrwxr-x 8 nagios nagios 512 Jul 7 12:29 share drwxrwxr-x 3 nagios nagios 512 Jul 7 12:30 var Why is there no etc directory ?? In the documentation, it said I should have the following - Directory Structure And File Locations Change to the root of your Nagios installation directory with the following command... cd /usr/local/nagios You should see five different subdirectories. A brief description of what each directory contains is given in the table below. Sub-Directory Contents bin/ Nagios core program etc/ Main, resource, object, and CGI configuration files should be put here sbin/ CGIs share/ HTML files (for web interface and online documentation) var/ Empty directory for the log file Why is this ?? Thanks in advance Trev ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Thu Jul 8 10:15:22 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 08 Jul 2004 10:15:22 +0200 Subject: /usr/local/nagios/etc not present after compiling .... In-Reply-To: <20040708080118.66463.qmail@web25110.mail.ukl.yahoo.com> References: <20040708080118.66463.qmail@web25110.mail.ukl.yahoo.com> Message-ID: <40ED029A.1090709@op5.se> Tis Unix wrote: > > Hi, > > First post to this list after just compiling nagios ... I am having a few > problems but will tackle one at a time. > > First thing ... After compiling Nagios successfully (well that's what it > tells me), this is what I get in /usr/local/nagios - > > [root at richemontdev]> cd /usr/local/nagios/ > [root at richemontdev]> ls -al > total 12 > drwxr-xr-x 6 root other 512 Jul 7 12:30 . > drwxr-xr-x 30 root other 1024 Jul 7 09:43 .. > drwxrwxr-x 2 nagios nagios 512 Jul 7 12:29 bin > drwxrwxr-x 2 nagios nagios 512 Jul 7 12:29 sbin > drwxrwxr-x 8 nagios nagios 512 Jul 7 12:29 share > drwxrwxr-x 3 nagios nagios 512 Jul 7 12:30 var > > Why is there no etc directory ?? In the documentation, it said I should > have the following - > > > Directory Structure And File Locations > > Change to the root of your Nagios installation directory with the following > command... > > cd /usr/local/nagios > > You should see five different subdirectories. A brief description of what > each directory contains is given in the table below. > > Sub-DirectoryContentsbin/Nagios core programetc/Main, resource, object, > and CGI configuration files should be put heresbin/CGIsshare/HTML files > (for web interface and online documentation)var/Empty directory for the > log file > > > Why is this ?? > You didn't do make install_config (or something) which the makefile quite clearly state that you must do after compilation is complete. > Thanks in advance > You're welcome. Next time, try to be more observant. > Trev > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From matt.burleigh at eiisolutions.net Thu Jul 8 11:22:27 2004 From: matt.burleigh at eiisolutions.net (Matt Burleigh) Date: Thu, 08 Jul 2004 05:22:27 -0400 Subject: Changing IP on a host Message-ID: <40ED1253.7040205@eiisolutions.net> I corrected the IP of a couple of hosts and now every two hours they're still reporting as a problem with the old IP. How do I clear this? ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From swati220781 at hotmail.com Thu Jul 8 11:54:00 2004 From: swati220781 at hotmail.com (Swati Srivastava) Date: Thu, 08 Jul 2004 15:24:00 +0530 Subject: check_procs query Message-ID: Hi!! I want to monitor one particular process named PushGateway. As you can see in the ps output, there are multiple processes running with the command name java. If i want to monitor one particular process out of that, how do i do that? Kindly help. Swati Here are some of the results i get: [swati at localhost libexec]$ ./check_procs -w 3 -c 5 -C java PushGateway OK - 3 processes running with command name java [swati at localhost libexec]$ ./check_procs -w 3 -c 5 -C "java PushGateway" OK - 0 processes running with command name java PushGateway [swati at localhost libexec]$ ./check_procs -w 3 -c 5 -C PushGateway OK - 0 processes running with command name PushGateway [swati at localhost libexec]$ ./check_procs ./check_procs -w 3 -c 5 -C "PushGateway" OK - 0 processes running with command name PushGateway [swati at localhost libexec]$ ps -ef|grep PushGateway root 29139 1 0 Mar24 ? 00:10:21 java PushGateway1 root 24907 1 1 Jul01 ? 02:15:50 java PushGateway swati 24864 22471 0 11:48 pts/4 00:00:00 grep PushGateway [swati at localhost libexec]$ ps -ef|grep java root 29139 1 0 Mar24 ? 00:10:21 java PushGateway1 root 24907 1 1 Jul01 ? 02:15:50 java PushGateway root 24752 24608 0 11:46 pts/10 00:00:00 java MTVCdrGenerator swati 24996 22471 0 11:48 pts/4 00:00:00 grep java [swati at localhost libexec]$ ps -aux|grep PushGateway root 29139 0.0 0.6 215232 13904 ? S Mar24 10:22 java PushGateway1 root 31179 1.1 2.3 256048 48140 ? S 12:57 3:20 java PushGateway swati 13950 0.0 0.0 3696 544 pts/4 S 15:53 0:00 grep PushGateway [swati at localhost libexec]$ ps -ef|grep java PushGateway grep: PushGateway: No such file or directory [swati at localhost libexec]$ ps -ax|grep java PushGateway grep: PushGateway: No such file or directory [swati at localhost libexec]$ ps -au|grep java PushGateway grep: PushGateway: No such file or directory _________________________________________________________________ Reach out to millions of buyers. http://go.msnserver.com/IN/52047.asp With zero investment. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From martin.mielke at thales-is.com Thu Jul 8 13:05:41 2004 From: martin.mielke at thales-is.com (Martin Mielke) Date: Thu, 08 Jul 2004 13:05:41 +0200 Subject: nrpe to a Windows box through event_handlers ... Message-ID: <40ED2A85.7010007@thales-is.com> Hi all, I need to monitor a Windoze from Nagios and restart a service when it fails. I read the NRPE and event_handlers docs http://nagios.sourceforge.net/docs/1_0/eventhandlers.html looking for a solution but couldn't find such a solution... the restart command for the Windows service is already coded (just a simple .bat file). Ideas much appreciated! Best regards, Martin ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From matt.burleigh at eiisolutions.net Thu Jul 8 13:18:31 2004 From: matt.burleigh at eiisolutions.net (Matt Burleigh) Date: Thu, 08 Jul 2004 07:18:31 -0400 Subject: Changing IP on a host In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E068E00@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E068E00@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <40ED2D87.2070604@eiisolutions.net> Sand Philipp wrote: >Did you reload / restart nagios after applying the changes? > > Yes, I've even deleted the status.log and status.sav files but they still reappear. I'm not sure where its getting the old IP from... -- Matt Burleigh Senior Systems Engineer Enterprise Integration, Inc. eiisolutions.com 703.236.0790 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From stevelml1 at scee.sony.co.uk Thu Jul 8 14:01:48 2004 From: stevelml1 at scee.sony.co.uk (Steve Loughran) Date: Thu, 8 Jul 2004 13:01:48 +0100 Subject: /usr/local/nagios/etc not present after compiling .... References: <20040708080118.66463.qmail@web25110.mail.ukl.yahoo.com> <40ED029A.1090709@op5.se> Message-ID: <027f01c464e3$593a18f0$f5cec22b@niltxp2> ./configure make all make install I think you missed these: make install-config make install-init then go grab the plugins and install them too.. Seve ----- Original Message ----- From: "Andreas Ericsson" To: Sent: Thursday, July 08, 2004 9:15 AM Subject: Re: [Nagios-users] /usr/local/nagios/etc not present after compiling .... > Tis Unix wrote: > > > > Hi, > > > > First post to this list after just compiling nagios ... I am having a few > > problems but will tackle one at a time. > > > > First thing ... After compiling Nagios successfully (well that's what it > > tells me), this is what I get in /usr/local/nagios - > > > > [root at richemontdev]> cd /usr/local/nagios/ > > [root at richemontdev]> ls -al > > total 12 > > drwxr-xr-x 6 root other 512 Jul 7 12:30 . > > drwxr-xr-x 30 root other 1024 Jul 7 09:43 .. > > drwxrwxr-x 2 nagios nagios 512 Jul 7 12:29 bin > > drwxrwxr-x 2 nagios nagios 512 Jul 7 12:29 sbin > > drwxrwxr-x 8 nagios nagios 512 Jul 7 12:29 share > > drwxrwxr-x 3 nagios nagios 512 Jul 7 12:30 var > > > > Why is there no etc directory ?? In the documentation, it said I should > > have the following - > > > > > > Directory Structure And File Locations > > > > Change to the root of your Nagios installation directory with the following > > command... > > > > cd /usr/local/nagios > > > > You should see five different subdirectories. A brief description of what > > each directory contains is given in the table below. > > > > Sub-DirectoryContentsbin/Nagios core programetc/Main, resource, object, > > and CGI configuration files should be put heresbin/CGIsshare/HTML files > > (for web interface and online documentation)var/Empty directory for the > > log file > > > > > > Why is this ?? > > > > You didn't do make install_config (or something) which the makefile > quite clearly state that you must do after compilation is complete. > > > > Thanks in advance > > > > You're welcome. Next time, try to be more observant. > > > Trev > > > > -- > Sourcerer / Andreas Ericsson > OP5 AB > +46 (0)733 709032 > andreas.ericsson at op5.se > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jdoyle at lewisgaleclinic.com Thu Jul 8 14:15:22 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Thu, 8 Jul 2004 08:15:22 -0400 Subject: Question about templates Message-ID: If I set an option in a template, and then use that template to create say, a service, host, or whatever... can I override a setting in the host. i.e. I have in my template: notification_interval 30 and then I use that template on a host. If in that host, I set notification_interval to 20... will the one defined in the actual host take precedence? Jack Doyle, LGC Information Systems Systems Operations Specialist 540.776.2025 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jens at kruse-kiel.de Thu Jul 8 14:22:04 2004 From: jens at kruse-kiel.de (Jens Kruse) Date: Thu, 08 Jul 2004 14:22:04 +0200 Subject: Problems with Availability Report Message-ID: <40ED3C6C.6020603@kruse-kiel.de> Hi there, creating an availability report from Nagios 1.1 we found the following point: Log period: June 1 - 30 (Last Month) Host state: Current State/Up Everything looks fine so far, but: Host Log Entries never shows the full period which was checked! Depending on host state, assume initial state, assume state retention we never get the whole period covered here. Depending on the check switches mentioned above, the host log entries just stops, whenever a number of Nagios (Re)start occur. Does anybody know how to avoid this? Is it a known bug which may have been fixed with 1.2? Regards, Jens ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From richard.luys at vanderlet.nl Thu Jul 8 14:46:02 2004 From: richard.luys at vanderlet.nl (Richard Luys) Date: Thu, 08 Jul 2004 14:46:02 +0200 Subject: Question about templates In-Reply-To: References: Message-ID: Hi Jack, On Thu, 8 Jul 2004 08:15:22 -0400, Jack Doyle wrote: > If I set an option in a template, and then use that template to create > say, a service, host, or whatever... can I override a setting in the > host. > > i.e. I have in my template: notification_interval 30 and then I use that > template on a host. If in that host, I set notification_interval to > 20... will the one defined in the actual host take precedence? > That's how it is supposed to work, yes. > Jack Doyle, LGC Information Systems > Systems Operations Specialist > 540.776.2025 -- R. Luys Vanderlet BV The Netherlands ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From tom.welsh at bt.com Thu Jul 8 14:56:16 2004 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Thu, 8 Jul 2004 13:56:16 +0100 Subject: Question about templates Message-ID: <418B502A3861E242AFDED453F3D5B89C025C157D@i2km99-ukbr.domain1.systemhost.net> yep -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jack Doyle Sent: 08 July 2004 13:15 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Question about templates If I set an option in a template, and then use that template to create say, a service, host, or whatever... can I override a setting in the host. i.e. I have in my template: notification_interval 30 and then I use that template on a host. If in that host, I set notification_interval to 20... will the one defined in the actual host take precedence? Jack Doyle, LGC Information Systems Systems Operations Specialist 540.776.2025 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason-sourceforge at microlnk.net Thu Jul 8 14:51:29 2004 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Thu, 08 Jul 2004 07:51:29 -0500 Subject: Nagmin setup help In-Reply-To: References: Message-ID: <40ED4351.9010108@microlnk.net> I like NagMIN and use it for my Nagios system. But that being said, the current 2.2 version is not only undocumented but also seems to lack the "setup" installer script that 2.1 had. Which created subdirectories and such. So from what I can tell, you may not even be able to set up NagMIN unless you start by installing 2.1 and then upgrade to 2.2. Even then, some of the extras like the RRD graphing are apparently too difficult to figure out, for myself and others on the NagMIN email list. I like the tool, but I think it's too bad the author doesn't at least take a little time to make a quick-start guide or something. And I think that means far less people will make use of the author's efforts, which is too bad. (I know he says it's a modified version of the MySQL Webmin module, but still...) I'm not sure if you can find NagMIN 2.1 online, but I still have a copy, so let me know if you'd like me to send it to you. Perhaps us NagMIN users could work together, and create a simple install guide? It seems like it could be pretty damn short... I, for one, would love to know how to get the RRD stuff to work right. Guillermo Padilla wrote: > Does anyone know of a good link of how to properly install and > configure Nagmin? I?ve installed it but I?m unable to view the nagmin > page when I click on it. -- Jason Byrns System Administrator, MicroLnk ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From martin.mielke at thales-is.com Thu Jul 8 15:38:11 2004 From: martin.mielke at thales-is.com (Martin Mielke) Date: Thu, 08 Jul 2004 15:38:11 +0200 Subject: nrpe to a Windows box through event_handlers ... In-Reply-To: <20040708133516.225EE11A565@gw-in.thalesgroup.com> References: <20040708133516.225EE11A565@gw-in.thalesgroup.com> Message-ID: <40ED4E43.9060406@thales-is.com> Hi Arthur, could you please explain to the list how to do that? Because this is what I'm looking for... :-) Martin Artur Pinheiro wrote: >I don't know if this is the correct way, but I run a script like that using >nrpe. > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Martin Mielke >Sent: quinta-feira, 8 de Julho de 2004 12:06 >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] nrpe to a Windows box through event_handlers ... > >Hi all, > >I need to monitor a Windoze from Nagios and restart a service when it fails. >I read the NRPE and event_handlers docs >http://nagios.sourceforge.net/docs/1_0/eventhandlers.html looking for a >solution but couldn't find such a solution... the restart command for the >Windows service is already coded (just a simple .bat file). > >Ideas much appreciated! > >Best regards, >Martin > > > >------------------------------------------------------- >This SF.Net email sponsored by Black Hat Briefings & Training. >Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self >defense, top technical experts, no vendor pitches, unmatched networking >opportunities. Visit www.blackhat.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 > > > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Darren.Kemp at xerox.com Thu Jul 8 15:34:16 2004 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Thu, 8 Jul 2004 09:34:16 -0400 Subject: APAN + NRPE? Message-ID: <330CE9F92C02064B86090D40B479712F1CF848@usa0300ms04.na.xerox.net> I'm curious if anyone has experimented with using APAN over NRPE? Basically I want to collect performance data from remote hosts and view the graphs on a central server. I have been through the APAN and NRPE documentation and haven't seen anything like this yet. If anyone is running a similar setup I'd love to hear from you. Thanks -dkk -------------- next part -------------- An HTML attachment was scrubbed... URL: From Darren.Kemp at xerox.com Thu Jul 8 15:46:58 2004 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Thu, 8 Jul 2004 09:46:58 -0400 Subject: Changing IP on a host Message-ID: <330CE9F92C02064B86090D40B479712F1CF84B@usa0300ms04.na.xerox.net> Check to make sure an old NAGIOS process isn't running. Sometimes it doesn't shut down right. -dkk -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Matt Burleigh Sent: Thursday, July 08, 2004 7:19 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Changing IP on a host Sand Philipp wrote: >Did you reload / restart nagios after applying the changes? > > Yes, I've even deleted the status.log and status.sav files but they still reappear. I'm not sure where its getting the old IP from... -- Matt Burleigh Senior Systems Engineer Enterprise Integration, Inc. eiisolutions.com 703.236.0790 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Darren.Kemp at xerox.com Thu Jul 8 15:40:27 2004 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Thu, 8 Jul 2004 09:40:27 -0400 Subject: Event handler OK from command line, not from nagios Message-ID: <330CE9F92C02064B86090D40B479712F1CF849@usa0300ms04.na.xerox.net> It looks to me like your command syntax for your eventhandler isn't passing any arguments to the script. It should be something like this: command_line /usr/local/nagios/libexec/eventhandler/reset_spooler_04 $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ (for 2.0 $STATETYPE is SERVICESTATETYPE) Hope this helps. -dkk ============================================ Now if I cd to /usr/local/nagios/eventhandler and enter this command: ./reset_spooler_04 CRITICAL HARD 4 The rspooler.bat file on the Win 2k box actually runs and logs the reset. So far so good. Now I need to set up a service definition for the event handler: # # reset_spooler_04 Command define command{ command_name reset_spooler_04 command_line /usr/local/nagios/eventhandler/reset_spooler_04 } And I need to include the event handler in the service definition: define service{ host_name fc-ctx-04 use rs-windows-service service_description printq_service max_check_attempts 5 event_handler reset_spooler_04 normal_check_interval 10 retry_check_interval 1 check_command check_nt_perf!"\\Print Queue(_Total)\\Jobs"!4!5 } So now the big picture. We have a working monitor on the Nagios server which monitors the number of print jobs in the Win 2k print queue. We generate an alarm when the number of jobs in the queue exceeds 5. I can test this by pulling the paper tray on the printer and queueing up print jobs. The montor works fine.. It goes into alarm when the print queue gets up to 5 jobs. But the event handler doesn't work properly. Here's the log: [07-02-2004 13:51:41] SERVICE EVENT HANDLER: fc-ctx-04;printq_service;CRITICAL;HARD;5;reset_spooler_04 [07-02-2004 13:51:41] SERVICE ALERT: fc-ctx-04;printq_service;CRITICAL;HARD;5;6 [07-02-2004 13:50:41] SERVICE EVENT HANDLER: fc-ctx-04;printq_service;CRITICAL;SOFT;4;reset_spooler_04 [07-02-2004 13:50:41] SERVICE ALERT: fc-ctx-04;printq_service;CRITICAL;SOFT;4;6 [07-02-2004 13:49:42] SERVICE EVENT HANDLER: fc-ctx-04;printq_service;CRITICAL;SOFT;3;reset_spooler_04 [07-02-2004 13:49:42] SERVICE ALERT: fc-ctx-04;printq_service;CRITICAL;SOFT;3;6 [07-02-2004 13:48:36] SERVICE EVENT HANDLER: fc-ctx-04;printq_service;CRITICAL;SOFT;2;reset_spooler_04 [07-02-2004 13:48:36] SERVICE ALERT: fc-ctx-04;printq_service;CRITICAL;SOFT;2;7 [07-02-2004 13:47:37] SERVICE EVENT HANDLER: fc-ctx-04;printq_service;CRITICAL;SOFT;1;reset_spooler_04 [07-02-2004 13:47:37] SERVICE ALERT: fc-ctx-04;printq_service;CRITICAL;SOFT;1;7 So, it seems to me that Nagios is calling the event handler, and is calling it n a CRITICAL HARD state. Why, oh why, I wonder, isn't the rest of the system working? The above event did NOT result in an entry in the rspooler.log on the Win 2k machine. As I said earlier, if I call the event handler as user nagios from the command line, it does run rspooler and makes the log entries on the Win 2k machine. Any help would be appreciated... Glenn Meisenheimer ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From matt.burleigh at eiisolutions.net Thu Jul 8 15:57:46 2004 From: matt.burleigh at eiisolutions.net (Matt Burleigh) Date: Thu, 08 Jul 2004 09:57:46 -0400 Subject: Changing IP on a host In-Reply-To: <330CE9F92C02064B86090D40B479712F1CF84B@usa0300ms04.na.xerox.net> References: <330CE9F92C02064B86090D40B479712F1CF84B@usa0300ms04.na.xerox.net> Message-ID: <40ED52DA.4070200@eiisolutions.net> Kemp, Darren wrote: >Check to make sure an old NAGIOS process isn't running. Sometimes it >doesn't shut down right. > > Thanks, that was it. I was assuming it was shutting down correctly but it was not. I'm now recieving recovery alerts. -- Matt Burleigh Senior Systems Engineer Enterprise Integration, Inc. eiisolutions.com 703.236.0790 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From SELundgr at email.uncc.edu Thu Jul 8 16:22:15 2004 From: SELundgr at email.uncc.edu (Lundgren, Scott) Date: Thu, 8 Jul 2004 10:22:15 -0400 Subject: check_ping segmentation fault at command line Message-ID: I'm setting up nagios 1.2 and using nagios plugins 1.3.1. In trying to figure out why nagios shows 1 and only 1 of my hosts status as down though all the services are up, I'm trying to run the check_ping command from command line and it is seg faulting. So I have two questions, configuration info is below: What adjustments should I be making for the host status to work properly? What causes check_ping from command line as user nagios to segmentation fault? danke, SL nagios at samplebox $ whoami nagios nagios at samplebox $ pwd /usr/local/nagios/libexec nagios at samplebox $ ./check_ping -H wwwX -w 3000.0,80% -c 5000.0,100% -p 1 Segmentation Fault # 'check-host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } # 'wwwX' host definition define host{ use generic-host host_name wwwX alias WWW Server #X address XXX.XX.XX.XX check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } # Generic host definition template define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled 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 } ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From agrajag at dragaera.net Thu Jul 8 16:26:52 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Thu, 08 Jul 2004 10:26:52 -0400 Subject: Monitoring Dell stuff? In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E068DF7@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E068DF7@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <1089296812.6113.29.camel@pel> On Thu, 2004-07-08 at 01:34, Sand Philipp wrote: > Dell Open Mange is really great. Doesn't work with every Kernel, but ok > *g* > BTW, has anyone kind of integrated Dell Open Mange into Nagios yet? > I think about a plugin, which just checks the DOM if the whole server is > ok (just this one status data, not all) > And if tehre appears any Problem it returns the warning message from DOM > and you can directly connect to DOM via hyperlink to look further. > Same thing I need for Compaq/HP Insight Manager and IBM Director... I > tried the check_insight plugin, but couldn't get it to run :-/ > Any suggestions? Go to http://www.duke.edu/~sean/nagios/ and download my check_om plugin. Its written in python and uses snmpget to check OM through snmp. If everything's ok, it reports that. If somehting is not ok, it'll report the status (Non-critical -> warning ; critical -> critical) and the component that's having problems. If you want to know the exact error, you have to check that yourself. One known bug is that hardware log errors show up as an error in an unknown component as I haven't found the right OID to query for that. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From agrajag at dragaera.net Thu Jul 8 16:33:04 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Thu, 08 Jul 2004 10:33:04 -0400 Subject: Multiple output lines in plugins? In-Reply-To: <40ECEBF1.70404@epost.de> References: <40ECEBF1.70404@epost.de> Message-ID: <1089297184.6113.34.camel@pel> On Thu, 2004-07-08 at 02:38, Nicole H??hnel wrote: > Hi, > > I've written my own plugin to get more information from a server. > I use nrpe to check the other servers with my plugin. > The plugin is not only to get "status ok". It gives out more lines, > something like this: > > Temperatures OK > CPU Planar 38.0 Celsius > Ambient 26.0 Celsius > BP Bottom Temp 23.0 Celsius > > The problem is check_nrpe gets only the first line. > All I see is "Temperatures OK", the other lines are ignored. > > Is there any possibility to get more than one line? > Or is the only thing I can do, write all output in one line? If you read the nagios plugin guidelines: http://nagiosplug.sourceforge.net/developer-guidelines.html you'll see that a nagios plugin is only supposed to print one line of text, and the rest is ignored. So even if npre passed on more, nagios itself would ignore everything but the first line. You really need to put everything on one line. When I write a plugin to check multiple things, I have a simple Ok message if things are good. If something's wrong, then I'll show the value that caused the problem. That way its easier to keep the line short. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From alex at fragit.net Thu Jul 8 17:14:26 2004 From: alex at fragit.net (Alex Burger) Date: Thu, 08 Jul 2004 11:14:26 -0400 Subject: Monitoring Dell stuff? In-Reply-To: <40ECD94D.4090007@gurugeek.com> References: <40EB8602.7010808@pbp.net> <40ECD94D.4090007@gurugeek.com> Message-ID: <40ED64D2.6070506@fragit.net> How about configuring your Dell servers to send SNMP traps to your management server, which could then feed the traps in to Nagios? I have not done it with Dell, but on my Compaq serves I configured them with the Insight Agents and have them send all alerts to my management station running Net-SNMP. Net-SNMP passes it on to SNMPTT (to translate the traps into something readable) which then passes it on to Nagios for alerting. The Compaq agents (Linux, Windows etc) have over 300 different traps from network link up/down, hard drive failures, power supply failures etc. Instead of polling for all the services, have the sever tell you when something is wrong. You can do the same with UPSs, SAN devices etc. You would still need Nagios to tell you if the server is up, and could also poll to make sure the management agents are running. The document 'Integrating_PowerEdge_Servers_into_HPSIM40.pdf' says there are 36 traps in 10982.mib for motherboard alerts, and 80 traps in arymgr.mib. I found the document at: http://www.dell.com/downloads/global/solutions/Integrating_PowerEdge_Servers_into_HPSIM40.pdf Check out sections 3 and 7. An example of an alert I could get from a Compaq server is: "Compaq Drive Array Spare Drive on controller 3, bus 0, bay 3 status is Failed." Alex Jeff Rodriguez wrote: > You should check out Dell OpenManage and Dell IT Assistant. The server > runs on windows but will tell you much more about the status of your > systems than Nagios ever could. I believe it's free too... > > Jeff > > Jonathan Nichols wrote: > >> Greetings all.. >> >> Are any of you using Linux on the Dell PowerEdge boxes? If yes, >> what are you using to monitor the RAID status (if you're using RAID) - >> currently my method consists of checking /proc/megaraid/hba0/ and >> doing this: >> >> jnichols at mailgate hba0 $ sudo cat raiddrives-0-9 >> Logical drive: 0:, state: optimal >> Span depth: 1, RAID level: 1, Stripe size: 64, Row size: 2 >> Read Policy: Adaptive, Write Policy: Write back, Cache Policy: Direct IO >> >> jnichols at mailgate hba0 $ >> >> That method sucks. I need to find something better. :) The Dell RAID >> monitoring tools are an absolute joke, and seem to be Red Hat specific >> (I don't use Red Hat..using Gentoo) >> >> Has anybody run into this? >> >> Thanks! >> -Jonathan >> >> (ps, yes, I checked Google..didn't find a lot, was hoping for personal >> experiences) ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From chris.stankaitis at datawire.net Thu Jul 8 17:32:59 2004 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Thu, 8 Jul 2004 15:32:59 +0000 (GMT) Subject: Migrating old archived Nagios Message-ID: Hey All; Any issue with taking old Nagios logs and putting them on a new Nagios server to save the statistical data? Basically we gave our Nagios Box a HW Upgrade and I have been asked to move over all the old /var/log/nagios/archive/* stuff so that stats and such can be checked back over the last couple years. If there are any pitfalls to look out for I would appreciate the heads up. --Chris ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From marc at ena.com Thu Jul 8 18:18:56 2004 From: marc at ena.com (Marc Powell) Date: Thu, 8 Jul 2004 11:18:56 -0500 Subject: Migrating old archived Nagios Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B673B@mismail2.ena.com> Chris Stankaitis wrote: > Hey All; > > Any issue with taking old Nagios logs and putting them on a new > Nagios server to save the statistical data? > > Basically we gave our Nagios Box a HW Upgrade and I have been asked > to move over all the old /var/log/nagios/archive/* stuff so that > stats and such can be checked back over the last couple years. > > If there are any pitfalls to look out for I would appreciate the > heads up. >From my experience the only thing you really need to watch out for is that your log rotation method is the same on both (i.e. daily, weekly, etc). This presumes that the host and service names are the same of course. If you're using the same config files then you're good to go. -- Marc ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From JimiT at mail.cox.smu.edu Thu Jul 8 18:24:22 2004 From: JimiT at mail.cox.smu.edu (Thompson, Jimi) Date: Thu, 8 Jul 2004 11:24:22 -0500 Subject: /usr/local/nagios/etc not present after compiling .... Message-ID: <4B3F673172B98D449EBCC3BE8316F5240415F82D@exch4.elcsb.net> If this helps anyone - I'm currently in the process of installing Nagios on FreeBSD 4.9 and I've been seeing something similar. I know that the tail end of the Nagios install script said to run make install-init and make install-config but I got the following error messages from both. myhost# make install-init make: don't know how to make install-init. Stop myhost# make install-config make: don't know how to make install-config. Stop The description for the "nagios" package said that it included the plug-ins as a dependency but I'm suspicious because I don't see them anywhere. I checked the files and the package was downloaded as a dependency but they don't seem to have actually been installed and I'm not sure they were built with the right options. I'm planning on using database, LDAP, and SNMP support. I'm going to try running the plug in package install manually and see if that doesn't give me what I'm looking for. I'll post again and let you know how it goes. Jimi -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Steve Loughran Sent: Thursday, July 08, 2004 7:02 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] /usr/local/nagios/etc not present after compiling .... ./configure make all make install I think you missed these: make install-config make install-init then go grab the plugins and install them too.. Seve ----- Original Message ----- From: "Andreas Ericsson" To: Sent: Thursday, July 08, 2004 9:15 AM Subject: Re: [Nagios-users] /usr/local/nagios/etc not present after compiling .... > Tis Unix wrote: > > > > Hi, > > > > First post to this list after just compiling nagios ... I am having a few > > problems but will tackle one at a time. > > > > First thing ... After compiling Nagios successfully (well that's what it > > tells me), this is what I get in /usr/local/nagios - > > > > [root at richemontdev]> cd /usr/local/nagios/ > > [root at richemontdev]> ls -al > > total 12 > > drwxr-xr-x 6 root other 512 Jul 7 12:30 . > > drwxr-xr-x 30 root other 1024 Jul 7 09:43 .. > > drwxrwxr-x 2 nagios nagios 512 Jul 7 12:29 bin > > drwxrwxr-x 2 nagios nagios 512 Jul 7 12:29 sbin > > drwxrwxr-x 8 nagios nagios 512 Jul 7 12:29 share > > drwxrwxr-x 3 nagios nagios 512 Jul 7 12:30 var > > > > Why is there no etc directory ?? In the documentation, it said I should > > have the following - > > > > > > Directory Structure And File Locations > > > > Change to the root of your Nagios installation directory with the following > > command... > > > > cd /usr/local/nagios > > > > You should see five different subdirectories. A brief description of what > > each directory contains is given in the table below. > > > > Sub-DirectoryContentsbin/Nagios core programetc/Main, resource, object, > > and CGI configuration files should be put heresbin/CGIsshare/HTML files > > (for web interface and online documentation)var/Empty directory for the > > log file > > > > > > Why is this ?? > > > > You didn't do make install_config (or something) which the makefile > quite clearly state that you must do after compilation is complete. > > > > Thanks in advance > > > > You're welcome. Next time, try to be more observant. > > > Trev > > > > -- > Sourcerer / Andreas Ericsson > OP5 AB > +46 (0)733 709032 > andreas.ericsson at op5.se > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From JimiT at mail.cox.smu.edu Thu Jul 8 18:30:41 2004 From: JimiT at mail.cox.smu.edu (Thompson, Jimi) Date: Thu, 8 Jul 2004 11:30:41 -0500 Subject: /usr/local/nagios/etc not present after compiling .... Message-ID: <4B3F673172B98D449EBCC3BE8316F5240415F83C@exch4.elcsb.net> ./configure make all make install I think you missed these: make install-config make install-init then go grab the plugins and install them too.. This is the tail end of the Nagios FreeBSD package script. The only problem is that it LOOKS like it works but in fact none of the "extra" goodies are really there. Jimi *** Compile finished *** If the main program and CGIs compiled without any errors, you can continue with installing Nagios as follows (type 'make' without any arguments for a list of all possible options): make install - This installs the main program, CGIs, and HTML files make install-init - This installs the init script in /usr/local/etc/rc.d make install-commandmode - This installs and configures permissions on the directory for holding the external command file make install-config - This installs *SAMPLE* config files in /usr/local/etc/nagios You'll have to modify these sample files before you can use Nagios. Read the HTML documentation for more info on doing this. Pay particular attention to the docs on object configuration files, as they determine what/how things get monitored! *** Support Notes ******************************************* ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From nagios-users at gurugeek.com Thu Jul 8 18:39:57 2004 From: nagios-users at gurugeek.com (Jeff Rodriguez) Date: Thu, 08 Jul 2004 09:39:57 -0700 Subject: Monitoring Dell stuff? In-Reply-To: <40ED64D2.6070506@fragit.net> References: <40EB8602.7010808@pbp.net> <40ECD94D.4090007@gurugeek.com> <40ED64D2.6070506@fragit.net> Message-ID: <40ED78DD.2010809@gurugeek.com> I personally would not, and the company I work for is not trying to integrate OpenManage with Nagios. I think you're better off just having them separate, the only thing I might check in nagios is a global system status. However, if you're interested, Dell has a document about integrating Nagios and Dell OpenManage. Note that this has been mentioned on the Nagios propaganda page: http://www.dell.com/downloads/global/power/1q04-sch.pdf Jeff Alex Burger wrote: > > How about configuring your Dell servers to send SNMP traps to your > management server, which could then feed the traps in to Nagios? > > I have not done it with Dell, but on my Compaq serves I configured them > with the Insight Agents and have them send all alerts to my management > station running Net-SNMP. Net-SNMP passes it on to SNMPTT (to translate > the traps into something readable) which then passes it on to Nagios for > alerting. > > The Compaq agents (Linux, Windows etc) have over 300 different traps > from network link up/down, hard drive failures, power supply failures > etc. Instead of polling for all the services, have the sever tell you > when something is wrong. You can do the same with UPSs, SAN devices > etc. You would still need Nagios to tell you if the server is up, and > could also poll to make sure the management agents are running. > > The document 'Integrating_PowerEdge_Servers_into_HPSIM40.pdf' says there > are 36 traps in 10982.mib for motherboard alerts, and 80 traps in > arymgr.mib. I found the document at: > > http://www.dell.com/downloads/global/solutions/Integrating_PowerEdge_Servers_into_HPSIM40.pdf > > > Check out sections 3 and 7. > > An example of an alert I could get from a Compaq server is: > > "Compaq Drive Array Spare Drive on controller 3, bus 0, bay 3 status is > Failed." > > Alex > > > Jeff Rodriguez wrote: > >> You should check out Dell OpenManage and Dell IT Assistant. The server >> runs on windows but will tell you much more about the status of your >> systems than Nagios ever could. I believe it's free too... >> >> Jeff >> >> Jonathan Nichols wrote: >> >>> Greetings all.. >>> >>> Are any of you using Linux on the Dell PowerEdge boxes? If yes, >>> what are you using to monitor the RAID status (if you're using RAID) >>> - currently my method consists of checking /proc/megaraid/hba0/ and >>> doing this: >>> >>> jnichols at mailgate hba0 $ sudo cat raiddrives-0-9 >>> Logical drive: 0:, state: optimal >>> Span depth: 1, RAID level: 1, Stripe size: 64, Row size: 2 >>> Read Policy: Adaptive, Write Policy: Write back, Cache Policy: Direct IO >>> >>> jnichols at mailgate hba0 $ >>> >>> That method sucks. I need to find something better. :) The Dell RAID >>> monitoring tools are an absolute joke, and seem to be Red Hat >>> specific (I don't use Red Hat..using Gentoo) >>> >>> Has anybody run into this? >>> >>> Thanks! >>> -Jonathan >>> >>> (ps, yes, I checked Google..didn't find a lot, was hoping for >>> personal experiences) > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From mshirley at gmail.com Thu Jul 8 18:58:48 2004 From: mshirley at gmail.com (Mark Shirley) Date: Thu, 8 Jul 2004 12:58:48 -0400 Subject: front end management tool In-Reply-To: <20040708000211.6057E3C02F@paramonga.terra.com.br> References: <20040708000211.6057E3C02F@paramonga.terra.com.br> Message-ID: it can indeed. if you delete a user it will delete the user from the hostgroup and if you delete a host it will remove that host from the services etc... i don't really understand why you would delete a service if a host was deleted since a service can be used by many different hosts. On Wed, 7 Jul 2004 21:06:00 -0300, Wilson Pires Jr wrote: > Does nagmin make consistency among the cfg configuration files? I mean, for > example, if I delete a host, are their services deleted automatically? > > Regards, > > Wilson > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mark Shirley > Sent: quarta-feira, 7 de julho de 2004 09:16 > To: Neil > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Re: front end management tool > > you can do anything with nagmin as you can with configs in my > experiance. instead of editing a text file to create a custom check > you create a database field. > > On Tue, 06 Jul 2004 12:54:50 -0500, Neil > wrote: > > Hi Mark, > > > > Another question. I do a lot of customization to checks and vi allows me > to > > be very flexible. The limit I have when writing my own custom checks is > what > > my brain can imagine. So, can I also be very flexible with Nagmin? > > > > Thanks. :) > > > > Neil > > > > > > > > > > Mark Shirley writes: > > > > > the use of the mysql database is a nagmin requirement not a nagios > requirement. > > > > > > nagmin takes an existing set of config files and creates a database > > > based on that. at that point you use the gui interface to make > > > changes to the mysql database. when you want the changes to take > > > effect you run a "verification" where it dumps the data from the > > > database into temporary config files and then tells nagios to do a -v > > > startup. if that is sucsessful you then "activate" it where by it > > > does the same thing of dumping the mysql database into config files > > > and then it starts nagios normally. this particular setup is > > > excellent if for some reason you try it and don't like it you can > > > always go back to using a simple text configs. > > > > > > nagmin does NOT require your nagios to be built with mysql since > > > nagmin deals directly with nagios's config files. i currently use > > > nagmin because of the pure number of hosts and services. not to > > > mention the other people that i interact with must be able to > > > add/remove/change host and service records without having to edit > > > config files manually. the major downside to nagmin is that you can't > > > EASILY go back and forth from nagmin to console config. it's one or > > > the other because if you make a change to the temp config files the > > > changes will not be inserted into the mysql database and will be > > > overwritten the next time you do an verification or activation. > > > > > > in comparison to the other options i found nagmin to be the best and > > > most stable for my enviroment. > > > > > > > > > > > > > > > On Thu, 01 Jul 2004 11:19:37 -0500, Neil > > > wrote: > > >> Ok, IIRC, support to database is going to be dropped in version 2 of > Nagios > > >> > > >> > > >> > > >> carole verdon writes: > > >> > > >> > In first, to use Nagmin, Nagios must built with mysql database > support. > > >> > > > >> > That it was my case. Then, Nagmin use existings config files to build > its > > >> > own files. > > >> > > > >> > Neil wrote: > > >> > > > >> >> Hi Carole, > > >> >> What if I already have existing running nagios, how does it take > care of > > >> >> my existings configs? > > >> >> YOu know what, I should try it :) > > >> >> carole verdon writes: > > >> >> > > >> >>> I use Nagmin to manage the configuration of nagios. Nagmin don't > create > > >> >>> temporary config files. It extract informations of tables of mysql > > >> >>> database to put them in flat config files so that nagios can read > them. > > >> >>> I am satisfied for this product. > > >> >>> You can find others answers in mailing list or on > > >> >>> http://nagmin.sourceforge.net/ > > >> >>> Carole. > > >> >>> Neil wrote: > > >> >>> > > >> >>>> Hey guys, > > >> >>>> I know in nagios website, extras, there are links to front end for > > >> >>>> managing nagios. Currently, I am a unix console fanatic. :) I'm > used to > > >> >>>> it and it's no problem to me. I would like to seek your experience > on > > >> >>>> which front end web based application you really did like and was > easy > > >> >>>> to use. I am looking into something wherein it will be easy for us > to > > >> >>>> create hosts, services, contacts and so on. I tried Nagmin, Nagat > but > > >> >>>> if I remember correctly, it creates a temporary config file which > will > > >> >>>> be used for test run. It's nice but really messes up my configs :( > > >> >>>> Anyways, please reply as to what webbased nagios management tool > you > > >> >>>> are using and that you're very happy about it. > > >> >>>> Thanks. > > >> >>>> Neil > > >> >>>> > > >> >>>> ------------------------------------------------------- > > >> >>>> This SF.Net email sponsored by Black Hat Briefings & Training. > > >> >>>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital > > >> >>>> self defense, top technical experts, no vendor pitches, unmatched > > >> >>>> networking opportunities. Visit www.blackhat.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 > > >> >>>> > > >> >>> > > >> >>> -- > > >> >>> ********************************** > > >> >>> VERDON Carole > > >> >>> Ing?nieur Syst?me > > >> >>> CICT - Universit? Paul Sabatier > > >> >>> 118, route de Narbonne > > >> >>> 31062 Toulouse Cedex > > >> >>> T?l.: 05.61.36.60.44 > > >> >>> Fax: 05.61.52.14.58 > > >> >>> Mail: verdon at cict.fr > > >> >>> ********************************** > > >> >>> > > >> >>> > > >> >>> ------------------------------------------------------- > > >> >>> This SF.Net email sponsored by Black Hat Briefings & Training. > > >> >>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital > > >> >>> self defense, top technical experts, no vendor pitches, unmatched > > >> >>> networking opportunities. Visit www.blackhat.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 > > >> >> > > >> >> > > >> >> > > >> >> > > >> >> ------------------------------------------------------- > > >> >> This SF.Net email sponsored by Black Hat Briefings & Training. > > >> >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital > > >> >> self defense, top technical experts, no vendor pitches, unmatched > > >> >> networking opportunities. Visit www.blackhat.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 > > >> >> > > >> >> > > >> > > > >> > -- > > >> > ********************************** > > >> > VERDON Carole > > >> > Ing?nieur Syst?me > > >> > CICT - Universit? Paul Sabatier > > >> > 118, route de Narbonne > > >> > 31062 Toulouse Cedex > > >> > T?l.: 05.61.36.60.44 > > >> > Fax: 05.61.52.14.58 > > >> > Mail: verdon at cict.fr > > >> > ********************************** > > >> > > > >> > > > >> > > >> ------------------------------------------------------- > > >> This SF.Net email sponsored by Black Hat Briefings & Training. > > >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > >> digital self defense, top technical experts, no vendor pitches, > > >> unmatched networking opportunities. Visit www.blackhat.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 > > >> > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by Black Hat Briefings & Training. > > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > > digital self defense, top technical experts, no vendor pitches, > > > unmatched networking opportunities. Visit www.blackhat.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 > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > digital self defense, top technical experts, no vendor pitches, > > unmatched networking opportunities. Visit www.blackhat.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 > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From misaochankun at speakeasy.net Thu Jul 8 20:13:09 2004 From: misaochankun at speakeasy.net (Misao) Date: Thu, 8 Jul 2004 13:13:09 -0500 Subject: Nagmin setup help In-Reply-To: <40ED4351.9010108@microlnk.net> References: <40ED4351.9010108@microlnk.net> Message-ID: RRD is my only quest in Nagios right now. I installed Nagmin in hopes of being able to use RRD, but found it not worth the time to figure it out. Not to mention, the install didn't seem to even try to make use of my existing Nagios standard install. It would take quite a while to manually transfer all my hosts/servers from flat file into the Nagmin/MySQL setup. For now, I may have to pursue another method to get RRD going. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason Byrns Sent: Thursday, July 08, 2004 7:51 AM To: nagios-users at lists.sourceforge.net; nagmin-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagmin setup help I like NagMIN and use it for my Nagios system. But that being said, the current 2.2 version is not only undocumented but also seems to lack the "setup" installer script that 2.1 had. Which created subdirectories and such. So from what I can tell, you may not even be able to set up NagMIN unless you start by installing 2.1 and then upgrade to 2.2. Even then, some of the extras like the RRD graphing are apparently too difficult to figure out, for myself and others on the NagMIN email list. I like the tool, but I think it's too bad the author doesn't at least take a little time to make a quick-start guide or something. And I think that means far less people will make use of the author's efforts, which is too bad. (I know he says it's a modified version of the MySQL Webmin module, but still...) I'm not sure if you can find NagMIN 2.1 online, but I still have a copy, so let me know if you'd like me to send it to you. Perhaps us NagMIN users could work together, and create a simple install guide? It seems like it could be pretty damn short... I, for one, would love to know how to get the RRD stuff to work right. Guillermo Padilla wrote: > Does anyone know of a good link of how to properly install and > configure Nagmin? I've installed it but I'm unable to view the nagmin > page when I click on it. -- Jason Byrns System Administrator, MicroLnk ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From giliardo at ufv.br Thu Jul 8 21:57:09 2004 From: giliardo at ufv.br (Giliardo Carlos Freitas) Date: Thu, 08 Jul 2004 16:57:09 -0300 Subject: Sound Alert Message-ID: <20040708195709.25478.qmail@calipso.cpd.ufv.br> Someone knows how to play a sound alert when a host or service is down? Giliardo ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From marc at ena.com Thu Jul 8 22:37:45 2004 From: marc at ena.com (Marc Powell) Date: Thu, 8 Jul 2004 15:37:45 -0500 Subject: Sound Alert Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6759@mismail2.ena.com> Giliardo Carlos Freitas wrote: > Someone knows how to play a sound alert when a host or service is > down? http://nagios.sourceforge.net/docs/1_0/configcgi.html#audio_alerts -- Marc ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From dmourati at cm.math.uiuc.edu Thu Jul 8 22:46:03 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Thu, 8 Jul 2004 15:46:03 -0500 (CDT) Subject: Cfg_dir Contact Bug? Message-ID: Greetings, I have a Distributed Nagios configuration setup that's causing a mixup in my notifications. On each Distributed Nagios, I have some global configuration then some specific configuration files in a cfg_dir. On the Central Nagios, I'm using cfg_dirs to keep per Distributed Nagios configuration files like such: cfg_dir=/etc/nagios/dev cfg_dir=/etc/nagios/se Each cfg_dir contains the following files: contactgroups.cfg contacts.cfg hostgroups.cfg hosts.cfg services.cfg This allows me to use rsync to push the config files from Distributed to Central. (I do have to make one change to remove the check_command lines and instead let them inherit the default from the service template). My problem is that that Central Nagios incorrectly assigns services inside the dev services file to the se hostgroup, and therefore se contact. As a result, the se contact gets notified when a dev service goes down as seen here (taken from the Notifications output): Host Service Contact sj-devnode2-app01 PING se I am fairly conviced this is a bug in parsing various cfg_dirs because the GUI provides the correct hostgroups, contactgroups and hosts when I use the View Config->Hostgroups in the front end: Group Name Description Default Contact Groups Host Members dev dev dev-contactgroup , sj-devnode1-app01, se se se-contactgroup However, the View Configs->Service shows the incorrect assignment: Host Description Default Contact Groups sj-devnode2-app01 PING se-contactgroup Any help or other verification greatly appreciated and please let me know if any of this is unclear. Thanks. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From nemir at mindless.com Thu Jul 8 22:56:18 2004 From: nemir at mindless.com (nemir nemiria) Date: Fri, 09 Jul 2004 06:56:18 +1000 Subject: Some questions about functionality. check_by_ssh. Message-ID: <20040708205619.14AA51F4FA1@ws1-2.us4.outblaze.com> Hiya. Fiurst thing I'd like to know is whether it is possible to nest check_by_ssh in another check_by_ssh command to check something on a third box? I run a database server. It is important enough to the business that I have created a second machine of identical hardware and software configuration and run rsync through cron to regularly update the data on it as a standby system. I have set this up in a separate, dedicated network, and run my backups from standby server. All hosts that connect to this network are therefore multihomed. This backup network is not routed so there is no way any host that isn't on this backup network can communicate with this host. The nagios server is not in a position to connect to this directly (it has to sit in a less secure DMZ). To make sure that the backup daemon is running on the box, I'd like to run check_procs on that host. From the live server, I can run the following command: ./check_by_ssh -H 192.168.16.2 -C "/usr/local/nagios/libexec/check_procs -c 1:3 -C backup" and I get the response: OK - 2 processes running with command name backup >From the nagios server I try running the command ./check_by_ssh -H 172.16.16.12 -C "/usr/local/nagios/libexec/check_by_ssh -H 192.168.16.2 -C "/usr/local/nagios/libexec/check_procs -c 1:3 -C backup"" but I get an error that says ./check_by_ssh: invalid option -- c Obviously it isn't passing through the command to the remote server.... I have confirmed that the nagios account on the server has keys set up correctly.... Is this not possible? Also, is it possible to set up a notification system where it notifies one person immediately, and then a second person after 15 minutes or so if there is no acknowledgment and no recovery? Finally, there is one windows host that requires a reboot once per evening. This happens at different times each night depending on other circumstances. Is there a way that I could do something like: o) Configure a regular downtime period that would immediately be ended once a downtime had been detected? o) send some sort of signal to the nagios box as part of a reboot script to set up a 10 minute downtime? o) do something else that guys on this list that are cleverer than I might suggest? In other news, I have solved many many of my issues by trawling through the archives, re-reading the documentation and diligently checking the FAQs before I ask questions. I've just written up an "idiot's guide to setting up and configuring check_by_ssh" going into a fair amount of detail. Is anyone interested in having me posting it or publishing it on a website? It isn't quite finished, because I wanted the answer to my first question first, but it includes deatil on how to set up the ssh keys, and talks about the methods I used to make sure it was going to work. It is really basic, cause I can be pretty dumb, I am thinking a quick summary for guys more advanced might be a good idea too. I figure this sort of thing is one thing I can contribute, not being a programmer or anything. Regards, Nemir -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From giliardo at ufv.br Thu Jul 8 22:54:44 2004 From: giliardo at ufv.br (Giliardo Carlos Freitas) Date: Thu, 08 Jul 2004 17:54:44 -0300 Subject: Sound Alert In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F1B6759@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F1B6759@mismail2.ena.com> Message-ID: <20040708205444.4061.qmail@calipso.cpd.ufv.br> The configuration work fine. Thank you! Giliardo Marc Powell writes: > Giliardo Carlos Freitas wrote: >> Someone knows how to play a sound alert when a host or service is >> down? > > > http://nagios.sourceforge.net/docs/1_0/configcgi.html#audio_alerts > > -- > Marc ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Keith.Weinberg at tudor.com Thu Jul 8 22:58:12 2004 From: Keith.Weinberg at tudor.com (Keith Weinberg) Date: Thu, 8 Jul 2004 16:58:12 -0400 Subject: Nagios-users digest, Vol 1 #2070 - 38 msgs Message-ID: -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of nagios-users-request at lists.sourceforge.net Sent: Wednesday, June 09, 2004 11:43 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #2070 - 38 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. Re: 512 byte limit on PROCESS STATUS output? (Demetri Mouratis) 2. re: problems with history (=?ISO-8859-2?Q?Tom=E1=B9_Macek?=) 3. Re: Modify Nagios menu on left side (BOLLENGIER Eric) 4. Re: Modify Nagios menu on left side (Michael Huettig) 5. re: problems with history (=?ISO-8859-2?Q?Tom=E1=B9_Macek?=) 6. Re: Question about perfdata (Ben Clewett) 7. RE: Modify Nagios menu on left side (Sand Philipp) 8. cpu usage (serwah sabet ghadam) 9. R: [Nagios-users] cpu usage (Marco Borsani) 10. Re: cpu usage (Tom DE BLENDE (GCC)) 11. Re: cpu usage (Andreas Ericsson) 12. Re: cpu usage (Andreas Ericsson) 13. Re: cpu usage (Tom DE BLENDE (GCC)) 14. R: [Nagios-users] Nagios with MySql (Andreoni Antonella) 15. Re: Modify Nagios menu on left side (Michael Huettig) 16. RE: Modify Nagios menu on left side (Elmar van Mourik) 17. R: [Nagios-users] cpu usage (Marco Borsani) 18. Re: R: [Nagios-users] cpu usage (Tom DE BLENDE (GCC)) 19. Re: R: [Nagios-users] cpu usage (Andreas Ericsson) 20. Blank Notifications (Reutzel, Shane) 21. Nagios as logserver (Wengrzik, Andreas) 22. Re: Nagios as logserver (Andreas Ericsson) 23. Modify Nagios menu on left side (Frank Pikelner) (Johnston Michael J Contr AFRL/DES) 24. RE: Blank Notifications (tom.welsh at bt.com) 25. Re: R: [Nagios-users] cpu usage (Michael Huettig) 26. RE: Blank Notifications (Reutzel, Shane) 27. Extended Service Information (Jeramy Eling) 28. EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT = 512 byte limitation ? (Christopher M Bergeron) 29. Notification Timing (Wheeler, MG) 30. RESOLVED Re: PB with NRPE: No output returned from plugin (carole verdon) 31. Re: Notification Timing (Jason Martin) 32. Extended Service Information (Jeramy Eling) 33. RE: Using NAGIOS to read data gathered by MRTG? (Cook, Garry) 34. RE: Notification Timing (Wheeler, MG) 35. Re: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT = 512 byte limitation ? (Marc Powell) 36. RE: Notification Timing (Jason Martin) --__--__-- Message: 1 Date: Tue, 8 Jun 2004 22:51:16 -0500 (CDT) From: Demetri Mouratis To: Christopher Bergeron Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] 512 byte limit on PROCESS STATUS output? On Tue, 8 Jun 2004, Christopher Bergeron wrote: > Is there a configuration option for changing the 512 byte limit that > nsca returns to nagios? I'm not sure if the limitation is on the > nsca_send command or the nagios receiver. The actual limitation is 4k at the named pipe. This is a hard limit for a FIFO configured in the Linux kernel. See: https://sourceforge.net/mailarchive/message.php?msg_id=4569409 --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com --__--__-- Message: 2 Date: Wed, 9 Jun 2004 08:26:20 +0200 (CEST) From: =?ISO-8859-2?Q?Tom=E1=B9_Macek?= To: nagios-users at lists.sourceforge.net Cc: zsitfa at axelero.hu Subject: [Nagios-users] re: problems with history This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---86691136-618231735-1086762380=:17540 Content-Type: TEXT/PLAIN; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: quoted-printable Hi, I've got the patch for you.=20 But this patch is "hard", I've commented out the "LOG ROTATION" text and = hardly defined, that the 't->tm_hour =3D 0' when the log rotation =3D=3D = DAILY, just see the patched file base/loggin.c. Without the commenting out the LOG ROTATION text, the patch did not worke= d for me properly, I was not able to find out why, so this patch is not t= he best thing to do, but works. I would like to know, where is the proble= m really, I spent 2 days with it, but did not find the reason. Some idea = was the computer load, but rotation is pending at 00:00, when the compute= r load is very low, but together with this I thaught, that nagios has too= much to work - I have 196 machines, 276 services. I would not be in doub= t, if the result of nagios check_ping would not be "Host seems to be up" = (only sometimes) - why?? Did nagios do the check or not?? Do you have an idea? Tomas On Tue, 8 Jun 2004, [ISO-8859-1] Horv=E1th Tam=E1s wrote: > Hi! > > I have the same problem than Tom! Does anyone know the solution? > > Tom: what kind of patch dou you have? Can cou send it to me? > > Thanks, Tamas! > > > > > > ---86691136-618231735-1086762380=:17540 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="nagios.diff" Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename="nagios.diff" ZGlmZiAtciBuYWdpb3MuMS4yLm9sZC9iYXNlL2xvZ2dpbmcuYyBuYWdpb3Mt MS4yL2Jhc2UvbG9nZ2luZy5jDQoyOTFjMjkxLDI5NA0KPCANCi0tLQ0KPiAJ DQo+IAlpZihsb2dfcm90YXRpb25fbWV0aG9kPT1MT0dfUk9UQVRJT05fREFJ TFkpDQo+IAkJdC0+dG1faG91ciA9IDA7DQo+IAkJDQozMDhhMzEyDQo+IAkv KiANCjMxMmMzMTYNCjwgDQotLS0NCj4gCSovDQo= ---86691136-618231735-1086762380=:17540-- --__--__-- Message: 3 Subject: Re: [Nagios-users] Modify Nagios menu on left side From: BOLLENGIER Eric To: Frank Pikelner Cc: nagios-users at lists.sourceforge.net Date: Wed, 09 Jun 2004 08:55:05 +0200 --=-QKAFeiYyow5kZEHnebi5 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi, You have to edit side.html. You can also edit index.html to use another start page (service problem for example) You can find them on /usr/share/nagios/htdocs (with debian)=20 Regads Eric On Wed, 2004-06-09 at 04:07, Frank Pikelner wrote: > I've noticed from Nagios screen shots on several sites (e.g. > http://apan.sourceforge.net/) that users have been able to modify the > = menu > (on left side) to for example make sub categories below SERVICE > DETAILS= such > as unix-boxes, Windows-server, Mail, printers, etc. I was wondering > how= this > can be done and items placed into these sub categories below SERVICE >DETAILS? =20 > Thank you, >=20 > Frank > Pikelner at rogers.com >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when repo= rting any issue.=20 > ::: Messages without supporting info will risk being sent to /dev/null --=20 Eric BOLLENGIER, Administrateur Syst=E8me - Poste 1325 SIGMA Informatique http://www.sigma.fr 3 rue Newton, BP 4127, 44241 La Chapelle sur Erdre Cedex tel : 02.40.37.14.00 --=-QKAFeiYyow5kZEHnebi5 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Hi,

You have to edit side.html. You can also edit index.html to use another
start page (service problem for example)

You can find them on /usr/share/nagios/htdocs (with debian)

Regads

Eric

On Wed, 2004-06-09 at 04:07, Frank Pikelner wrote:

I've noticed from Nagios screen
shots on several sites (e.g. http://apan.sourceforge.net/<
FONT COLOR="#7f7f7f">)  that users have been able to modify the menu (on
left side) to for example make sub categories below SERVICE DETAILS such as
unix-boxes, Windows-server, Mail, printers, etc. I was wondering how this
can be done and items placed into these sub categories below SERVICE
DETAILS?

Thank you,

Frank
Pikelner at rogers.com



-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event. GNOME
Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org _______________________________________________
Nagios-users mailing list Nagios-users at lists.sourceforge.net
https://
lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v)
and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to
/dev/null
-- 
Eric BOLLENGIER, Administrateur Système - Poste 1325
SIGMA Informatique http://www.sigma.fr
3 rue Newton, BP 4127, 44241 La Chapelle sur Erdre Cedex
tel : 02.40.37.14.00
--=-QKAFeiYyow5kZEHnebi5-- --__--__-- Message: 4 From: Michael Huettig Organization: Medien Systempartner GmbH To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Modify Nagios menu on left side Date: Wed, 9 Jun 2004 08:57:03 +0200 Cc: "Frank Pikelner" Am Mittwoch, 9. Juni 2004 04:07 schrieb Frank Pikelner: > I've noticed from Nagios screen shots on several sites (e.g. > http://apan.sourceforge.net/) that users have been able to modify the > menu (on left side) to for example make sub categories below SERVICE > DETAILS such as unix-boxes, Windows-server, Mail, printers, etc. I was > wondering how this can be done and items placed into these sub > categories below SERVICE DETAILS? Look for grouplist.cgi on apan.sourceforge.net-Download-section > > Thank you, > > Frank > Pikelner at rogers.com ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** --__--__-- Message: 5 Date: Wed, 9 Jun 2004 09:09:50 +0200 (CEST) From: =?ISO-8859-2?Q?Tom=E1=B9_Macek?= To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] re: problems with history This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---86691136-537981411-1086764990=:17540 Content-Type: TEXT/PLAIN; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: quoted-printable Sorry, I did not write, that this patch is for nagios 1.2 On Tue, 8 Jun 2004, [ISO-8859-1] Horv=E1th Tam=E1s wrote: > Hi! > > I have the same problem than Tom! Does anyone know the solution? > > Tom: what kind of patch dou you have? Can cou send it to me? > > Thanks, Tamas! > > > > > > ---86691136-537981411-1086764990=:17540-- --__--__-- Message: 6 Date: Wed, 09 Jun 2004 09:03:09 +0100 From: Ben Clewett To: Pedro Fernandes Macedo CC: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Question about perfdata Pedro Fernandes Macedo wrote: > But I'm doing more tests here and it doesnt seem to work anyway... > I've= =20 > made a small plugin that checks if xmms is running and then prints >the=20 user that is running it... Here's the output: >gargamel:/opt/nagios/var# /opt/nagios/libexec/check_nrpe -H=20 >150.164.254.25 -c check_xmms_192.168.1.4 1 usando xmms|user =3D >someuser, numero =3D 1 - Usu=E1rio: someuser gargamel:/opt/nagios/var# >=20 > This service is configured in nagios , but it never shows up in the=20 > serviceperf.log file... In the interface , it shows up ok... > Any ideas on what could be wrong? >=20 > I've put my nagios.cfg below .... Just to be safe , I've enabled=20 > perfdata both in nagios.cfg and in the template definitions for all=20 > services... First, would you mind if I comment on your performance syntax? The=20 official syntax is: 'label'=3Dvalue[UOM];[warn];[crit];[min];[max] Eg: | metric1=3D1.0sec;2.0;3.0;0;4.0 metric2=3D1.0sec;2.0;3.0;0.0;4.0 Or a simpler version is also used by many plugins: | metric1=3D1.0 metric2=3D2.0 See: http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN185 If you use that, parsing programs like PerfParse will be able to=20 intemperate your output successfully. Second, a check list of possible problems of why Nagios is not giving=20 you the performance data. Regards, Ben. 1. You are using the latest Nagios, 1.2. 2. You are using the latest nagios plugins. Only these produce=20 performance data. You can check this by running one, like 'check_disk'.=20 If you have performance data, this should reply: DISK OK - free space: / 8089 MB (22%); /boot 35 MB (76%) |=20 /=3D8089MB;33312;35163;0;37014 /boot=3D34MB;40;42;0;45 You can see the performance data beyond the '|'. Download from: http://nagiosplug.sourceforge.net/snapshot http://nagiosplug.sourceforge.net/snapshot/nagios-plugins-HEAD-2004060805= 14.tar.gz 3. You have compiled nagios with the option to produce performance data.=20 Using the '--with-file-perfdata'. Ie: ./configure --with-file-perfdata 4. Set the permissions on the servicelog file as: -rw-rw-r-- nagios nagios ie: $ chmod 664 serviceperf.log $ chown nagios.nagios serviceperf.log 5. Check 'nagios.cfg', ensure you have these lines somewhere: process_performance_data=3D1 xpdfile_host_perfdata_file=3D/usr/local/nagios/var/hostperf.log xpdfile_host_perfdata_template=3D$TIMET$\t$HOSTNAME$\t$OUTPUT$\t$PERFDATA= $ xpdfile_service_perfdata_file=3D/usr/local/nagios/var/serviceperf.log xpdfile_service_perfdata_template=3D$TIMET$\t$HOSTNAME$\t$SERVICEDESC$\t$= OUTPUT$\t$PERFDATA$ 6. In services.cfg, ensure this line is in all services you want to=20 monitor: (Or the generic parent table.) process_perf_data 1 7. In Nagios 'Process Info' page. At the bottom of the Process=20 Information box, ensure you have: "Performance Data Being Processed? Yes" --__--__-- Message: 7 Subject: RE: [Nagios-users] Modify Nagios menu on left side Date: Wed, 9 Jun 2004 10:29:34 +0200 From: "Sand Philipp" To: "Michael Huettig" , Cc: "Frank Pikelner" Hi, Thanks for the grouplist hint. I just wanted to implement this into my nagios, but it didn't worked quite well :-/ I did everything the way it's explained in the README, but when i finish, i don't get this treeview on the left, but only a (in my optinion totaly absurd) Link named "Service Detail 2" ??!! Do I have to edit something else there? Maybe you can mail me your html files or something? Thank you, Philipp > -----Original Message----- > From: Michael Huettig=20 >[mailto:Michael.Huettig at Medien-Systempartner.de]=20 > Sent: Wednesday, June 09, 2004 8:57 AM > To: nagios-users at lists.sourceforge.net > Cc: Frank Pikelner > Subject: Re: [Nagios-users] Modify Nagios menu on left side =20 > Am Mittwoch, 9. Juni 2004 04:07 schrieb Frank Pikelner: > > I've noticed from Nagios screen shots on several sites (e.g. > > http://apan.sourceforge.net/) that users have been able to=20 > modify the=20 > > menu (on left side) to for example make sub categories=20 > below SERVICE=20 > > DETAILS such as unix-boxes, Windows-server, Mail, printers,=20 > etc. I was=20 > > wondering how this can be done and items placed into these sub=20 > > categories below SERVICE DETAILS? >=20 > Look for grouplist.cgi on apan.sourceforge.net-Download-section > > > > Thank you, > > > > Frank > > Pikelner at rogers.com >=20 >=20 > ********************************************************************** > Diese E-Mail wurde auf Viren ueberprueft. > www.mimesweeper.com > ********************************************************************** >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation Hackers=20 Unite! >GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and >Developers European Conference, 28-30th June=20 in Norway >http://2004/guadec.org=20 >_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS=20 when >reporting any issue.=20 > ::: Messages without supporting info will risk being sent to /dev/null >=20 =20 --__--__-- Message: 8 Date: Wed, 9 Jun 2004 02:41:29 -0700 (PDT) From: serwah sabet ghadam To: nagios-users at lists.sourceforge.net Cc: serwah_S_gh at yahoo.com Subject: [Nagios-users] cpu usage --0-260458845-1086774089=:94189 Content-Type: text/plain; charset=us-ascii Hi guys, It's my first time to use Nagios, How can I find cpu usage, memory usage and disk usage of a computer in a network??? Regards Sirwah --------------------------------- Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger --0-260458845-1086774089=:94189 Content-Type: text/html; charset=us-ascii
Hi guys,
It's my first time to use Nagios,
How can I find cpu usage, memory usage and disk usage
of a computer in a network???
 
Regards
Sirwah


Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger --0-260458845-1086774089=:94189-- --__--__-- Message: 9 From: "Marco Borsani" To: Subject: R: [Nagios-users] cpu usage Date: Wed, 9 Jun 2004 11:54:02 +0200 This is a multi-part message in MIME format. ------=_NextPart_000_00A5_01C44E18.75046360 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi ! You have to use a client on that computer. NRPE or NSClient. It is easy to do, give a look to www.nagios.org in the document section. bye -----Messaggio originale----- Da: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Per conto di serwah sabet ghadam Inviato: mercoledi 9 giugno 2004 11.41 A: nagios-users at lists.sourceforge.net Cc: serwah_S_gh at yahoo.com Oggetto: [Nagios-users] cpu usage Hi guys, It's my first time to use Nagios, How can I find cpu usage, memory usage and disk usage of a computer in a network??? Regards Sirwah ---------------------------------------------------------------------------- -- Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger ------=_NextPart_000_00A5_01C44E18.75046360 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi=20 !
 
You=20 have to use a client on that computer. NRPE or = NSClient.
It is=20 easy to do, give a look to www.nagios.org in=20 the document section.
 
bye
-----Messaggio originale-----
Da:=20 nagios-users-admin at lists.sourceforge.net=20 [mailto:nagios-users-admin at lists.sourceforge.net]Per conto di = serwah=20 sabet ghadam
Inviato: mercoledì 9 giugno 2004 = 11.41
A:=20 nagios-users at lists.sourceforge.net
Cc:=20 serwah_S_gh at yahoo.com
Oggetto: [Nagios-users] cpu=20 usage

Hi guys,
It's my first time to use Nagios,
How can I find cpu usage, memory usage and disk usage
of a computer in a network???
 
Regards
Sirwah


Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo!=20 Messenger
------=_NextPart_000_00A5_01C44E18.75046360-- --__--__-- Message: 10 Date: Wed, 09 Jun 2004 11:54:04 +0200 From: "Tom DE BLENDE (GCC)" To: serwah sabet ghadam CC: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] cpu usage The real question you should ask is: how can I find information on Nagios without having to resort to the mailing list for all my questions... serwah sabet ghadam wrote: > Hi guys, > It's my first time to use Nagios, > How can I find cpu usage, memory usage and disk usage > of a computer in a network??? > > Regards > Sirwah > > ---------------------------------------------------------------------- > -- > Do you Yahoo!? > Friends. Fun. Try the all-new Yahoo! Messenger > --__--__-- Message: 11 Date: Wed, 09 Jun 2004 12:11:46 +0200 From: Andreas Ericsson To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] cpu usage serwah sabet ghadam wrote: > Hi guys, > It's my first time to use Nagios, > How can I find cpu usage, memory usage and disk usage > of a computer in a network??? > For unix-servers, you can use either nrpe, ssh or nsca. Each of them have their own pros and cons, so you'll have to choose which one you like. I favor NRPE, but I'm a bit biased. For windows-servers, you can use either nrpe_nt or nsclient. For netware servers, you have to use the mrtgext module. For VMS systems, there is nrpe_vms (one separate project and one quick hack I wrote some while back, which is nrpe protocol 2 compliant). Ofcourse, if any of the servers support snmp, you cat get a lot of information from that. The plugins you'll be wanting to have a look at are; check_nrpe check_nt check_by_ssh check_nwstat check_snmp A word of caution though; NSClient and MRTGEXT allows practically anyone to run the commands you have configured at the monitored host and receive the information back, thus gaining information about it. NRPE allows practically anyone (with small coding skills) to run the commands you have configured, but he/she won't be able to get any data back without owning at least one of the routers on the way from your monitoring server to the monitored server. SSH requires passphraseless keys to be present, meaning that if anybody unlawfully gains access to your monitoring server, he'll have no trouble what so ever gaining access to the servers you monitor. NSCA uses the best encryption methods, but with weak authentication methods, possibly allowing remote and malice users to corrupt the data of your monitoring environment. It also requires that you understand how passive checks work, and you have to configure the nsca daemon and the send_nsca client as well. SNMP has it's pros, ofcourse, and it's a widespread standard written in stone. The check_snmp plugin is however a bit limited, so you might want to write your own plugins if you use it. SNMPv3 is the safest option available here. All this is ofcourse just theory. How your network is designed will probably determine what's best for you. > Regards > Sirwah > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se --__--__-- Message: 12 Date: Wed, 09 Jun 2004 12:19:47 +0200 From: Andreas Ericsson To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] cpu usage Tom DE BLENDE (GCC) wrote: > The real question you should ask is: how can I find information on > Nagios without having to resort to the mailing list for all my questions... > If you don't want to answer the question, then don't hit the reply button. What does GCC stand for, btw? > serwah sabet ghadam wrote: > >> Hi guys, >> It's my first time to use Nagios, >> How can I find cpu usage, memory usage and disk usage >> of a computer in a network??? >> >> Regards >> Sirwah >> >> ------------------------------------------------------------------------ >> Do you Yahoo!? >> Friends. Fun. Try the all-new Yahoo! Messenger >> > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se --__--__-- Message: 13 Date: Wed, 09 Jun 2004 12:31:55 +0200 From: "Tom DE BLENDE (GCC)" To: Andreas Ericsson CC: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] cpu usage Andreas Ericsson wrote: > Tom DE BLENDE (GCC) wrote: > >> The real question you should ask is: how can I find information on >> Nagios without having to resort to the mailing list for all my >> questions... > > If you don't want to answer the question, then don't hit the reply > button. If you want to keep answering the same questions over and over again, that is your problem. I guess you have a lot of time to spare. I don't. I would like to have the noise on this list down so we can actually see who has REALLY got a problem. --__--__-- Message: 14 Subject: R: [Nagios-users] Nagios with MySql Date: Wed, 9 Jun 2004 12:41:53 +0200 From: "Andreoni Antonella" To: "Ben Clewett" Cc: "Nagios-Users (E-mail)" Hi, I set up nagios with mysql, now NO problem with CGIs the DB is up&running the schema has been made by using the script in the distrib I compiled and istalled nagios with db support using the following = configure string: ./configure --prefix=3D/usr/local/nagios = --with-cgiurl=3D/nagios/cgi-bin --with-htmurl=3D/nagios = --with-nagios-user=3Dnagios --with-nagios-grp=3Dnagios = --with-msyql-xdata --with-mysql-lib=3D/usr/local/mysql/lib = --with-mysql-inc=3D/usr/local/mysql/include = --with-gd-lib=3D/usr/local/lib --with-gd-inc=3D/usr/local/include I configured cgi.cfg and resource.cfg as suggested in docs with all parameters such as db name, db user, db port and so on I have a doubt: what about log file in the configuration files? I left setting for status.log and so on in nagios.cfg nagios.cfg:log_file=3D/usr/local/nagios/var/nagios.log nagios.cfg:status_file=3D/usr/local/nagios/var/status.log nagios.cfg:comment_file=3D/usr/local/nagios/var/comment.log nagios.cfg:downtime_file=3D/usr/local/nagios/var/downtime.log I think I had to comment these lines in nagios.cfg.... but if I compile nagios with db support I expected to find those lines = commented what do you think about? thanks Antonella > -----Messaggio originale----- > Da: Ben Clewett [mailto:Ben at clewett.org.uk] > Inviato: marted=EC 25 maggio 2004 17.31 > A: Andreoni Antonella > Cc: Nagios-Users (E-mail) > Oggetto: Re: [Nagios-users] Nagios with MySql >=20 >=20 > Andreoni Antonella wrote: > > Hi all > >=20 > > I've just started Nagios with database support but it doesn't work > >=20 > > on the web interface I got the following error: > >=20 > > Whoops! > > Error: Could not read host and service status information! > >=20 > > And in the log file nagios.log there is the following error message > > [1085497246] Error: Could not lock status data tables in=20 > database 'nagios' >=20 > Just a pre-check: Did you run the provided script to create=20 > the database? >=20 > Something like: >=20 > $ cd contrib/database > $ cat create_myqsl | mysql -u $USER -p$PASS -D $DATABASE -h $HOST >=20 > Where $USER $PASS $DATABASE and $HOST have been correctly=20 > setup, and are=20 > (probably) the same as those used in nagios.cfg? >=20 > Ben >=20 --__--__-- Message: 15 From: Michael Huettig Organization: Medien Systempartner GmbH To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Modify Nagios menu on left side Date: Wed, 9 Jun 2004 13:08:43 +0200 Cc: "Sand Philipp" , "Frank Pikelner" Am Mittwoch, 9. Juni 2004 10:29 schrieb Sand Philipp: > Hi, > > Thanks for the grouplist hint. I just wanted to implement this into my > nagios, but it didn't worked quite well :-/ > I did everything the way it's explained in the README, but when i > finish, i don't get this treeview on the left, but only a (in my > optinion totaly absurd) Link named "Service Detail 2" ??!! > Do I have to edit something else there? Maybe you can mail me your html > files or something? > restart Apache for further information look to apan-userlist HTH Michael > Thank you, > Philipp > ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** --__--__-- Message: 16 Subject: RE: [Nagios-users] Modify Nagios menu on left side Date: Wed, 9 Jun 2004 13:29:38 +0200 From: "Elmar van Mourik" To: Cc: "Sand Philipp" Hi Philipp, I had the same promlem. Check the grouplist.cgi: line 10/11: CFGFILES=3D`egrep -e "cfg_file=3D" $NAGIOSDIR/etc/nagios.cfg|cut -d "=3D"= -f 2` CFGDIRS=3D`egrep -e "cfg_dir=3D" $NAGIOSDIR/etc/nagios.cfg|cut -d "=3D" -= f 2` and line 23: HOSTGROUPS=3D`egrep -e "hostgroup_name" $CFGFILE|awk '{pr= int $2}'| tr "," " "` I had to remove the ^ after egrep -e " and everything works fine! Elmar van Mourik -----Oorspronkelijk bericht----- Van: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Namens Sand Philipp Verzonden: woensdag 9 juni 2004 10:30 Aan: Michael Huettig; nagios-users at lists.sourceforge.net CC: Frank Pikelner Onderwerp: RE: [Nagios-users] Modify Nagios menu on left side Hi, Thanks for the grouplist hint. I just wanted to implement this into my nagios, but it didn't worked quite well :-/ I did everything the way it's explained in the README, but when i finish, i don't get this treeview on the left, but only a (in my optinion totaly absurd) Link named "Service Detail 2" ??!! Do I have to edit something else there? Maybe you can mail me your html files or something? Thank you, Philipp > -----Original Message----- > From: Michael Huettig=20 > [mailto:Michael.Huettig at Medien-Systempartner.de]=20 > Sent: Wednesday, June 09, 2004 8:57 AM > To: nagios-users at lists.sourceforge.net > Cc: Frank Pikelner > Subject: Re: [Nagios-users] Modify Nagios menu on left side >=20 > Am Mittwoch, 9. Juni 2004 04:07 schrieb Frank Pikelner: > > I've noticed from Nagios screen shots on several sites (e.g. > > http://apan.sourceforge.net/) that users have been able to=20 > modify the=20 > > menu (on left side) to for example make sub categories=20 > below SERVICE=20 > > DETAILS such as unix-boxes, Windows-server, Mail, printers,=20 > etc. I was=20 > > wondering how this can be done and items placed into these sub=20 > > categories below SERVICE DETAILS? >=20 > Look for grouplist.cgi on apan.sourceforge.net-Download-section > > > > Thank you, > > > > Frank > > Pikelner at rogers.com >=20 >=20 > ********************************************************************** > Diese E-Mail wurde auf Viren ueberprueft. > www.mimesweeper.com > ********************************************************************** >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation Hackers=20 > Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June=20 > in Norway http://2004/guadec.org=20 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS=20 > when reporting any issue.=20 > ::: Messages without supporting info will risk being sent to /dev/null >=20 >=20 ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when report= ing any issue.=20 ::: Messages without supporting info will risk being sent to /dev/null Door de electronische verzending van het bericht kunnen er geen rechten=0A= ontleend worden aan de informatie. Als u deze e-mail onterecht heeft=0Aon= tvangen, waarschuwt u dan de afzender via postmaster at zhew.nl en verwijder= =0Ade gegevens van de computer. =0A=0AZHEW wordt opgeheven. Vanaf 1 janua= ri 2005 zijn de watertaken van het zuiveringsschap=0Aondergebracht bij dr= ie =E2=80=98all-in=E2=80=99 waterschappen. Meer informatie:=0A=0AZuiverin= gsschap Hollandse Eilanden en Waarden, Dordrecht =0Atel: +31 (0)78 639710= 0 =0Afax: +31 (0)78 6311871 =0Aweb: http://www.zhew.nl --__--__-- Message: 17 From: "Marco Borsani" To: "Tom DE BLENDE \(GCC\)" Cc: Subject: R: [Nagios-users] cpu usage Date: Wed, 9 Jun 2004 14:14:54 +0200 Please, a little bit of fair play! Everyone may ask everything. If you are so busy (!), don't read (and don't answer to) all the mails. Regards Marco -----Messaggio originale----- Da: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Tom DE BLENDE (GCC) Inviato: mercoledi 9 giugno 2004 12.32 A: Andreas Ericsson Cc: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] cpu usage Andreas Ericsson wrote: > Tom DE BLENDE (GCC) wrote: > >> The real question you should ask is: how can I find information on >> Nagios without having to resort to the mailing list for all my >> questions... > > If you don't want to answer the question, then don't hit the reply > button. If you want to keep answering the same questions over and over again, that is your problem. I guess you have a lot of time to spare. I don't. I would like to have the noise on this list down so we can actually see who has REALLY got a problem. ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: 18 Date: Wed, 09 Jun 2004 14:22:12 +0200 From: "Tom DE BLENDE (GCC)" To: Marco Borsani CC: nagios-users at lists.sourceforge.net Subject: Re: R: [Nagios-users] cpu usage Marco Borsani wrote: >Please, a little bit of fair play! > >Everyone may ask everything. >If you are so busy (!), don't read (and don't answer to) all the mails. > Sadly enough, that is exactly what I have been doing the last half year or so. As some can confirm, my level of interaction on this mailing list was quite a bit higher a while ago. But when so many people keep on asking the same questions over and over again, while they are SUPERBLY documented by Ethan and co both it the HTML docs and the FAQ's; and when apparently people find it normal not to use this documentation, you get to a situation that some active members can't see the forest for the trees and have to let go. --__--__-- Message: 19 Date: Wed, 09 Jun 2004 14:42:25 +0200 From: Andreas Ericsson To: nagios-users at lists.sourceforge.net Subject: Re: R: [Nagios-users] cpu usage Tom DE BLENDE (GCC) wrote: > > > Marco Borsani wrote: > >> Please, a little bit of fair play! >> >> Everyone may ask everything. >> If you are so busy (!), don't read (and don't answer to) all the mails. >> > Sadly enough, that is exactly what I have been doing the last half year > or so. As some can confirm, my level of interaction on this mailing list > was quite a bit higher a while ago. But when so many people keep on > asking the same questions over and over again, while they are SUPERBLY > documented by Ethan and co both it the HTML docs and the FAQ's; and when > apparently people find it normal not to use this documentation, you get > to a situation that some active members can't see the forest for the > trees and have to let go. > http://nagios.sourceforge.net/docs/1_0/toc.html Posting the above link would have sufficed and gotten the message through while at the same time being a minimum of helpful. Some of the users who are new to nagios today will be its major contributors tomorrow (figuratively speaking), so a little courtesy should be considered prudent. Btw. You still haven't told me what GCC means in your mail name. -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se --__--__-- Message: 20 From: "Reutzel, Shane" To: "'nagios-users at lists.sourceforge.net'" Date: Wed, 9 Jun 2004 07:58:11 -0500 Subject: [Nagios-users] Blank Notifications This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C44E21.6B5FE330 Content-Type: text/plain; charset="iso-8859-1" I am using Nagios 1.0 on RedHat Enterprise 3.0. I have been monitoring for several months now and recently turned on the notifications. Most of the time I received the notifications as normal with all the content, but for some reason I start receiving notifications with no content or blank. This may go on for a day before I start getting normal notifications again. Does anybody know the solution to this problem or anyway to help troubleshoot this? Any response will be appreciated. -Shane ------_=_NextPart_001_01C44E21.6B5FE330 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Blank Notifications

I am using Nagios 1.0 on RedHat Enterprise 3.0.  = I have been monitoring for several months now and recently turned on = the notifications.  Most of the time I received the notifications = as normal with all the content, but for some reason I start receiving = notifications with no content or blank.  This may go on for a day = before I start getting normal notifications again.  Does anybody = know the solution to this problem or anyway to help troubleshoot = this?  Any response will be appreciated.

-Shane

------_=_NextPart_001_01C44E21.6B5FE330-- --__--__-- Message: 21 Date: Wed, 9 Jun 2004 15:12:42 +0200 From: "Wengrzik, Andreas" To: Subject: [Nagios-users] Nagios as logserver Hi! Is there a plug in to run nagios also as an Logserver for *nix systems = and with a windows client?? Anyone done something yet?? Thanks a lot! --__--__-- Message: 22 Date: Wed, 09 Jun 2004 15:22:43 +0200 From: Andreas Ericsson To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios as logserver Wengrzik, Andreas wrote: > Hi! > > Is there a plug in to run nagios also as an Logserver for *nix systems and with a > windows client?? > man syslogd google for ntsyslog syslogd does a far better job than nagios would at logging everyday stuff. Nagios can be set to log every state-change, but i wouldn't want to think about the disk-space required to do so... > > Anyone done something yet?? > > Thanks a lot! > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se --__--__-- Message: 23 From: Johnston Michael J Contr AFRL/DES To: nagios-users at lists.sourceforge.net Date: Wed, 9 Jun 2004 14:36:08 +0100 Subject: [Nagios-users] Modify Nagios menu on left side (Frank Pikelner) Frank, The side menu is just and html document called side.html. It's located under /nagios/shared and is as easy to modify as any html document. Just open it up in vi and you should see the format and be able to change it as you wish... Mike From: "Frank Pikelner" To: Date: Tue, 8 Jun 2004 22:07:15 -0400 Subject: [Nagios-users] Modify Nagios menu on left side I've noticed from Nagios screen shots on several sites (e.g. http://apan.sourceforge.net/) that users have been able to modify the = menu (on left side) to for example make sub categories below SERVICE DETAILS = such as unix-boxes, Windows-server, Mail, printers, etc. I was wondering how = this can be done and items placed into these sub categories below SERVICE DETAILS? Thank you, Frank Pikelner at rogers.com --__--__-- Message: 24 Subject: RE: [Nagios-users] Blank Notifications Date: Wed, 9 Jun 2004 14:47:25 +0100 From: To: , This is a multi-part message in MIME format. ------_=_NextPart_001_01C44E28.4BE043FA Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Take a look in the faq page on www.nagios.org I'm sure there is a faq = for this -----Original Message----- From: nagios-users-admin at lists.sourceforge.net = [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Reutzel, = Shane Sent: 09 June 2004 13:58 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Blank Notifications I am using Nagios 1.0 on RedHat Enterprise 3.0. I have been monitoring = for several months now and recently turned on the notifications. Most = of the time I received the notifications as normal with all the content, = but for some reason I start receiving notifications with no content or = blank. This may go on for a day before I start getting normal = notifications again. Does anybody know the solution to this problem or = anyway to help troubleshoot this? Any response will be appreciated. -Shane=20 ------_=_NextPart_001_01C44E28.4BE043FA Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Blank Notifications
Take a=20 look in the faq page on www.nagios.org I'm=20 sure there is a faq for this
-----Original Message-----
From:=20 nagios-users-admin at lists.sourceforge.net=20 [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of = Reutzel,=20 Shane
Sent: 09 June 2004 13:58
To:=20 'nagios-users at lists.sourceforge.net'
Subject: [Nagios-users] = Blank=20 Notifications

I am using Nagios 1.0 on RedHat Enterprise = 3.0.  I have=20 been monitoring for several months now and recently turned on the=20 notifications.  Most of the time I received the notifications as = normal=20 with all the content, but for some reason I start receiving = notifications with=20 no content or blank.  This may go on for a day before I start = getting=20 normal notifications again.  Does anybody know the solution to = this=20 problem or anyway to help troubleshoot this?  Any response will = be=20 appreciated.

-Shane

------_=_NextPart_001_01C44E28.4BE043FA-- --__--__-- Message: 25 From: Michael Huettig Organization: Medien Systempartner GmbH To: nagios-users at lists.sourceforge.net Subject: Re: R: [Nagios-users] cpu usage Date: Wed, 9 Jun 2004 15:49:30 +0200 Am Mittwoch, 9. Juni 2004 14:22 schrieb Tom DE BLENDE (GCC): > Marco Borsani wrote: > >Please, a little bit of fair play! > > > >Everyone may ask everything. > >If you are so busy (!), don't read (and don't answer to) all the mails. > > Sadly enough, that is exactly what I have been doing the last half year > or so. As some can confirm, my level of interaction on this mailing list > was quite a bit higher a while ago. But when so many people keep on > asking the same questions over and over again, while they are SUPERBLY > documented by Ethan and co both it the HTML docs and the FAQ's; and when > apparently people find it normal not to use this documentation, you get > to a situation that some active members can't see the forest for the > trees and have to let go. Tom, you're right! problem of this userlist is efficiency, if anyone would RTFM a lot of time wouldn't be spent on reading silly questions. I've posted more times about nagios-notifications with sms, i'm not able to find any suggestion to my problems in FAQ and DOC and no one reads my posting, so i have to live with the problem. If there is really a notification bug, it would be very helpfull for nagios, that someone shares my problem. I'm not a programmer, so i don't have a chance to fix it ... Regards Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** --__--__-- Message: 26 From: "Reutzel, Shane" To: "'tom.welsh at bt.com'" , nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Blank Notifications Date: Wed, 9 Jun 2004 09:01:26 -0500 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C44E2A.410B0250 Content-Type: text/plain; charset="iso-8859-1" I have already looked through the faq page and the mailing list archives and I was not able to find anything that would help. -----Original Message----- From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] Sent: Wednesday, June 09, 2004 8:47 AM To: Shane.Reutzel at MemberWorks.com; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Blank Notifications Take a look in the faq page on www.nagios.org I'm sure there is a faq for this -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Reutzel, Shane Sent: 09 June 2004 13:58 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Blank Notifications I am using Nagios 1.0 on RedHat Enterprise 3.0. I have been monitoring for several months now and recently turned on the notifications. Most of the time I received the notifications as normal with all the content, but for some reason I start receiving notifications with no content or blank. This may go on for a day before I start getting normal notifications again. Does anybody know the solution to this problem or anyway to help troubleshoot this? Any response will be appreciated. -Shane ------_=_NextPart_001_01C44E2A.410B0250 Content-Type: text/html; charset="iso-8859-1" Blank Notifications
I have already looked through the faq page and the mailing list archives and I was not able to find anything that would help.
-----Original Message-----
From: tom.welsh at bt.com [mailto:tom.welsh at bt.com]
Sent: Wednesday, June 09, 2004 8:47 AM
To: Shane.Reutzel at MemberWorks.com; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Blank Notifications

Take a look in the faq page on www.nagios.org I'm sure there is a faq for this
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Reutzel, Shane
Sent: 09 June 2004 13:58
To: 'nagios-users at lists.sourceforge.net'
Subject: [Nagios-users] Blank Notifications

I am using Nagios 1.0 on RedHat Enterprise 3.0.  I have been monitoring for several months now and recently turned on the notifications.  Most of the time I received the notifications as normal with all the content, but for some reason I start receiving notifications with no content or blank.  This may go on for a day before I start getting normal notifications again.  Does anybody know the solution to this problem or anyway to help troubleshoot this?  Any response will be appreciated.

-Shane

------_=_NextPart_001_01C44E2A.410B0250-- --__--__-- Message: 27 Date: Wed, 9 Jun 2004 15:05:18 +0100 From: "Jeramy Eling" To: Subject: [Nagios-users] Extended Service Information Hi All, I am trying, with very little success to get the extended service = information to work in Nagios. I have spent the last few days trying to = add the details to just one service, and no matter what I seem to do I = just cannot get it to display. I have put my sample file below that I am = working with:- define serviceextinfo{ host_name adslfirewall service_description PING notes_url http://nagios/test2.html icon_image win40.gif icon_image_alt ADSL PING } Can anyone give me any hints/tips on how I can get this working, I have = read the documentation over and over and checked out the mailing-list = but to no avail, I am using Nagios 1.2 on RedHat 9.0. Thanks in advance Jez --__--__-- Message: 28 Date: Wed, 09 Jun 2004 10:30:37 -0400 From: Christopher M Bergeron To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT = 512 byte limitation ? I've noticed that there is a limitation of 512 bytes for SERVICE_CHECK_RESULTs. Where can I modify this? I didn't see any configuration entries for it, so I grepped the code for 512 and can't seem to find the limitation. Can anyone clue me in on how I can increase this? I'm trying to send HTML back to nagios from nsca_send, and it quickly saturates the 512 bytes. Thanks in advance..! Chris Bergeron --__--__-- Message: 29 Date: Wed, 9 Jun 2004 09:49:08 -0500 From: "Wheeler, MG" To: Subject: [Nagios-users] Notification Timing I=20have=20a=20service=20that=20is=20paging=20me=20every=2015=20minutes=20= (Its=20only=20a=20test=20and=20it=20is=20"Down.")=20=20Here's=20the=20thin= g=20though,=20the=20service=20itself=20has=20this=20defined: Nagios.cfg Status=20Update=20Interval=20=20=20=2015 Retention=20Update=20Interval=2060 Service=20Reaper=20Frequency=20=20=2060 Interval=20Length=20=20=20=20=20=20=20=20=20=20=2060 Services.cfg Max=20Check=20Attempts=20=20=20=20=202 Normal=20Check=20Interval=20=205 Retry=20Check=20Interval=20=20=201 So=20shouldn't=20I=20get=20paged=20every=202=20minutes=20since=20the=20Max= =20Checks=20Attempts=20=3D=202?=20=20If=20it=20was=20because=20of=20the=20= Normal=20Check=20Interval=20being=205=20minutes,=20then=20the=20one=20minu= te=20retries=20I=20would=20think=20it=20to=20be=206=20minutes.=20Where=20d= oes=20the=2015=20minutes=20come=20from???? _____________________________________________________________________ This=20message=20has=20been=20checked=20for=20all=20known=20viruses --__--__-- Message: 30 Date: Wed, 09 Jun 2004 17:14:08 +0200 From: carole verdon Organization: CICT To: nagiosplug-help at lists.sourceforge.net, nagios-users at lists.sourceforge.net, nagiosplug-devel at lists.sourceforge.net Subject: [Nagios-users] RESOLVED Re: PB with NRPE: No output returned from plugin --------------000206010301030309050409 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by gw3-mail.cict.fr id i59FF0Ee003847 Hi all, I finally find a solution of my problem. In fact the check_command "check_nrpe_nossl" was defined in Commands=20 table of NagMin to accept arguments: $USER1$/check_nrpe_nossl -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ $ARG3$=20 $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$ $ARG10$ $ARG11$ $ARG12$ $ARG13$ However, my script doesn't call upon the arguments. So I create a new=20 command, that i called "check_nrpe_nossl_noarg", defined as this: $USER1$/check_nrpe_nossl -H $HOSTADDRESS$ -c $ARG1$ Now, it works fine. Carole. carole verdon wrote: >Hi, > >In web interface of nagios (v 1.2), i obtain a status UNKNOWN with this = message: (No output returned from plugin) > >If i execute the check_nrpe (v 2.0) in line command on server nagios, it= works well: >$ ./check_nrpe_nossl -H telline.cict.fr -c check_oracle >all databases OK > >check_oracle is defined in nrpe.cfg as: >command[check_oracle]=3D/usr/local/nagios/libexec/check_oracle_databases= .sh > >the check_oracle_databases.sh is a script i wrote to take dynamically in= to account the file /etc/oratab to verify all databases=20 >that it contains. It calls the check_oracle scripts of core distribution= of nagios-plugins-1.4.0alpha1 that i modified a little. > >I use NagMin 2.1.0 to configure nagios. So i define a service called "Or= acle" with the check command : check_nrpe_nossl!check_oracle =20 > >In service.cfg: >define service { > use generic-service > host_name telline.cict.fr > service_description Oracle > contact_groups nagios-admins > check_period 24x7 > notification_interval 2880 > notification_options w,u,c,r > notification_period 24x7 > check_command check_nrpe_nossl!check_oracle > max_check_attempts 3 > normal_check_interval 10 > retry_check_interval 1 >} > > >I don't understand why it works in line commands on nagios server and th= at it don't work if i define this service in nagios.=20 > >Can you tell me where is the error? What am i doing?=20 > >Please, help me.... > >Thanks. > >Carole. > > =20 > --=20 ********************************** VERDON Carole Ing=E9nieur Syst=E8me CICT - Universit=E9 Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T=E9l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr **********************************=09 --------------000206010301030309050409 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all,

I finally find a solution of my problem.

In fact the check_command "check_nrpe_nossl" was defined in Commands table of NagMin to accept arguments:
 $USER1$/check_nrpe_nossl -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$ $ARG10$ $ARG11$ $ARG12$ $ARG13$

However, my script doesn't call upon the arguments. So I create a new command, that i called "check_nrpe_nossl_noarg", defined as this:
$USER1$/check_nrpe_nossl -H $HOSTADDRESS$ -c $ARG1$

Now, it works fine.

Carole.

carole verdon wrote:
Hi,

In web interface of nagios (v 1.2), i obtain a status UNKNOWN with this
message: (No output returned from plugin)

If i execute the check_nrpe (v 2.0) in line command on server nagios, it
works well:
$ ./check_nrpe_nossl -H telline.cict.fr -c check_oracle
all databases OK

check_oracle is defined in nrpe.cfg as:
command[check_oracle]=/usr/local/nagios/libexec/check_oracle_databases.sh

the check_oracle_databases.sh is a script i wrote to take dynamically into
account the file /etc/oratab to verify all databases 
that it contains. It calls the check_oracle scripts of core distribution of
nagios-plugins-1.4.0alpha1 that i modified a little.

I use NagMin 2.1.0 to configure nagios. So i define a service called
"Oracle" with the check command : check_nrpe_nossl!check_oracle 

In service.cfg:
define service {
    use    generic-service
    host_name    telline.cict.fr
    service_description    Oracle
    contact_groups    nagios-admins
    check_period    24x7
    notification_interval    2880
    notification_options    w,u,c,r
    notification_period    24x7
    check_command    check_nrpe_nossl!check_oracle
    max_check_attempts    3
    normal_check_interval    10
    retry_check_interval    1
}


I don't understand why it works in line commands on nagios server and that
it don't work if i define this service in nagios. 

Can you tell me where is the error? What am i doing? 

Please, help me....

Thanks.

Carole.

  

-- 
**********************************
VERDON Carole
Ingénieur Système
CICT - Université Paul Sabatier
118, route de Narbonne
31062 Toulouse Cedex
Tél.: 05.61.36.60.44
Fax: 05.61.52.14.58
Mail: verdon at cict.fr
**********************************	
--------------000206010301030309050409-- --__--__-- Message: 31 Date: Wed, 9 Jun 2004 08:15:29 -0700 (PDT) To: "Wheeler, MG" Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Notification Timing From: Jason Martin -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You didn't include the notification interval. A service will only re-notify every notification_interval. - -Jason Martin On Wed, 9 Jun 2004, Wheeler, MG wrote: > I have a service that is paging me every 15 minutes (Its only a test and it is "Down.") Here's the thing though, the service itself has this defined: > > Nagios.cfg > Status Update Interval 15 > Retention Update Interval 60 > Service Reaper Frequency 60 > Interval Length 60 > > Services.cfg > Max Check Attempts 2 > Normal Check Interval 5 > Retry Check Interval 1 > > So shouldn't I get paged every 2 minutes since the Max Checks Attempts = 2? If it was because of the Normal Check Interval being 5 minutes, then the one minute retries I would think it to be 6 minutes. Where does the 15 minutes come from???? > > > _____________________________________________________________________ > This message has been checked for all known viruses > > > ------------------------------------------------------- > This SF.Net email is sponsored by: GNOME Foundation > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > GNOME Users and Developers European Conference, 28-30th June in Norway > http://2004/guadec.org > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAxymZl2ODWuqVSBMRAnwxAJ9MPO1jWS6LOsbQhCw/87NyMx/7QQCfWMWu Cpv8PHFTu46ojK5gFW2MKxc= =Z9rt -----END PGP SIGNATURE----- --__--__-- Message: 32 Date: Wed, 9 Jun 2004 16:18:56 +0100 From: "Jeramy Eling" To: Subject: [Nagios-users] Extended Service Information Hi All, I am trying, with very little success to get the extended service = information to work in Nagios. I have spent the last few days trying to = add the details to just one service, and no matter what I seem to do I = just cannot get it to display. I have put my sample file below that I am = working with:- define serviceextinfo{ host_name adslfirewall service_description PING notes_url http://nagios/test2.html icon_image win40.gif icon_image_alt ADSL PING } Can anyone give me any hints/tips on how I can get this working, I have = read the documentation over and over and checked out the mailing-list = but to no avail, I am using Nagios 1.2 on RedHat 9.0. Thanks in advance Jez --__--__-- Message: 33 Subject: RE: [Nagios-users] Using NAGIOS to read data gathered by MRTG? Date: Wed, 9 Jun 2004 09:37:08 -0600 From: "Cook, Garry" To: , nagios-users-admin at lists.sourceforge.net wrote: >>> I have a router which is monitored by MRTG to gather traffic stats - >>> useage/load/data volume, and I want to have Nagios sent an >>> alert email if >>> the utilisation percentage on a given data link exceeds a threshold >>>=20 >>> Will one of the standard plugins do this? If so, which one, >>> and how do I make this work? >>=20 >> It depends... Are you using MRTG with log files or an .rrd backend? >> There are plugins available to check both. Look in the plugin source >> contrib directory, if you don't find them in nagios/libexec. >=20 > It's just running log files. >=20 > There are a couple of mrtg pluging in nagios/libexec, but I > can't figure > out how to use them, and the docs aren't very helpful. >=20 > DaZZa >=20 I would suggest upgrading MRTG to use rrd files instead of the logs. I can't offer much assistance in the way of Nagios checking MRTG log files, but for MRTG .rrd checking you should be able to use the contributed plugins. I've also written my own check_rrdbw plugin that will do something similar to what you are looking for. I'm sure that the contributed ones work well, but they just didn't work the way I wanted them to. Upgrading MRTG to use RRDTool is not very hard at all. In a nutshell, install RRDTool, and then add 'LogFormat: rrdtool' to your MRTG config files. Your existing log files will be created as rrds automagically the next time you start MRTG, so you shouldn't lose any historical data. I believe that log files will be replaced by rrds in MRTG v3.0 anyway, so you may want to look into them now. They also offer a lot more features than log files. If you should decide to go this route, I would suggest posting further questions to the MRTG mailing list if necessary, then come back to Nagios-Users if you still need help checking rrds once you've got RRDTool up and running. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) --__--__-- Message: 34 Subject: RE: [Nagios-users] Notification Timing Date: Wed, 9 Jun 2004 10:39:48 -0500 From: "Wheeler, MG" To: "Jason Martin" Cc: Notification_Interval=20=20=20=3D=2012 -----Original=20Message----- From:=20Jason=20Martin=20[mailto:jhmartin at toger.us] Sent:=20Wednesday,=20June=2009,=202004=2010:15=20AM To:=20Wheeler,=20MG Cc:=20nagios-users at lists.sourceforge.net Subject:=20Re:=20[Nagios-users]=20Notification=20Timing -----BEGIN=20PGP=20SIGNED=20MESSAGE----- Hash:=20SHA1 You=20didn't=20include=20the=20notification=20interval.=20A=20service=20wi= ll=20only=20 re-notify=20every=20notification_interval. -=20-Jason=20Martin On=20Wed,=209=20Jun=202004,=20 Wheeler,=20MG=20wrote: >=20I=20have=20a=20service=20that=20is=20paging=20me=20every=2015=20minute= s=20(Its=20only=20a=20test=20and=20it=20is=20"Down.")=20=20Here's=20the=20= thing=20though,=20the=20service=20itself=20has=20this=20defined: >=20 >=20Nagios.cfg >=20Status=20Update=20Interval=20=20=20=2015 >=20Retention=20Update=20Interval=2060 >=20Service=20Reaper=20Frequency=20=20=2060 >=20Interval=20Length=20=20=20=20=20=20=20=20=20=20=2060 >=20 >=20Services.cfg >=20Max=20Check=20Attempts=20=20=20=20=202 >=20Normal=20Check=20Interval=20=205 >=20Retry=20Check=20Interval=20=20=201 >=20 >=20So=20shouldn't=20I=20get=20paged=20every=202=20minutes=20since=20the=20= Max=20Checks=20Attempts=20=3D=202?=20=20If=20it=20was=20because=20of=20the= =20Normal=20Check=20Interval=20being=205=20minutes,=20then=20the=20one=20m= inute=20retries=20I=20would=20think=20it=20to=20be=206=20minutes.=20Where=20 = does=20the=2015=20minutes=20come=20from???? >=20 >=20 >=20_____________________________________________________________________ >=20This=20message=20has=20been=20checked=20for=20all=20known=20viruses >=20 >=20 >=20------------------------------------------------------- >=20This=20SF.Net=20email=20is=20sponsored=20by:=20GNOME=20Foundation >=20Hackers=20Unite!=20=20GUADEC:=20The=20world's=20#1=20Open=20Source=20D= esktop=20Event. >=20GNOME=20Users=20and=20Developers=20European=20Conference,=2028-30th=20= June=20in=20Norway >=20http://2004/guadec.org >=20_______________________________________________ >=20Nagios-users=20mailing=20list >=20Nagios-users at lists.sourceforge.net >=20https://lists.sourceforge.net/lists/listinfo/nagios-users >=20:::=20Please=20include=20Nagios=20version,=20plugin=20version=20(-v)=20= and=20OS=20when=20reporting=20any=20issue. >=20:::=20Messages=20without=20supporting=20info=20will=20risk=20being=20s= ent=20to=20/dev/null >=20 -----BEGIN=20PGP=20SIGNATURE----- Version:=20GnuPG=20v1.2.4=20(GNU/Linux) Comment:=20pgpenvelope=202.10.2=20-=20http://pgpenvelope.sourceforge.net/ iD8DBQFAxymZl2ODWuqVSBMRAnwxAJ9MPO1jWS6LOsbQhCw/87NyMx/7QQCfWMWu Cpv8PHFTu46ojK5gFW2MKxc=3D =3DZ9rt -----END=20PGP=20SIGNATURE----- _____________________________________________________________________ Message=20scanned=20for=20viruses _____________________________________________________________________ This=20message=20has=20been=20checked=20for=20all=20known=20viruses --__--__-- Message: 35 Subject: Re: [Nagios-users] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT = 512 byte limitation ? From: Marc Powell To: Christopher M Bergeron Cc: nagios-users at lists.sourceforge.net Organization: ENA Systems Engineering Date: Wed, 09 Jun 2004 10:45:02 -0500 On Wed, 2004-06-09 at 09:30, Christopher M Bergeron wrote: > I've noticed that there is a limitation of 512 bytes for > SERVICE_CHECK_RESULTs. Where can I modify this? I didn't see any > configuration entries for it, so I grepped the code for 512 and can't > seem to find the limitation. > > Can anyone clue me in on how I can increase this? I'm trying to send > HTML back to nagios from nsca_send, and it quickly saturates the 512 > bytes. The external command file is implemented as a named PIPE. The amount of data that this pipe can hold at any given time is defined by the kernel of whatever OS you are running. Most flavors of linux implement a 512 byte pipe size I believe. If you want to adjust that you would need to recompile your kernel after locating and changing that value. Be aware that the change is global and would affect any program that uses a named pipe so Your Mileage May Definitely Vary and the change may cause unforeseen consequences. I believe there is further discussion of this issue in the mailing list archives if you're interested (and it's always a good idea to search there before posting). -- Marc --__--__-- Message: 36 Date: Wed, 9 Jun 2004 08:42:41 -0700 (PDT) To: "Wheeler, MG" Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Notification Timing From: Jason Martin -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Notification_Interval = 12 There you go then; you'll get paged every 12 minutes while the service stays in a non-OK status. - -Jason Martin On Wed, 9 Jun 2004, Wheeler, MG wrote: > > -----Original Message----- > From: Jason Martin [mailto:jhmartin at toger.us] > Sent: Wednesday, June 09, 2004 10:15 AM > To: Wheeler, MG > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Notification Timing > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > You didn't include the notification interval. A service will only > re-notify every notification_interval. > > - -Jason Martin > > On Wed, 9 Jun 2004, > Wheeler, MG wrote: > > > I have a service that is paging me every 15 minutes (Its only a test and it is "Down.") Here's the thing though, the service itself has this defined: > > > > Nagios.cfg > > Status Update Interval 15 > > Retention Update Interval 60 > > Service Reaper Frequency 60 > > Interval Length 60 > > > > Services.cfg > > Max Check Attempts 2 > > Normal Check Interval 5 > > Retry Check Interval 1 > > > > So shouldn't I get paged every 2 minutes since the Max Checks Attempts = 2? If it was because of the Normal Check Interval being 5 minutes, then the one minute retries I would think it to be 6 minutes. Where does the 15 minutes come from???? > > > > > > _____________________________________________________________________ > > This message has been checked for all known viruses > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: GNOME Foundation > > Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. > > GNOME Users and Developers European Conference, 28-30th June in Norway > > http://2004/guadec.org > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > iD8DBQFAxymZl2ODWuqVSBMRAnwxAJ9MPO1jWS6LOsbQhCw/87NyMx/7QQCfWMWu > Cpv8PHFTu46ojK5gFW2MKxc= > =Z9rt > -----END PGP SIGNATURE----- > > _____________________________________________________________________ > Message scanned for viruses > > _____________________________________________________________________ > This message has been checked for all known viruses > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFAxy/3l2ODWuqVSBMRAmhEAJ41iVKw02ubcwHx/BXKscnwsPd4hQCcC4fc aB424KpGF6OV6CDoUZqLlGk= =fWOX -----END PGP SIGNATURE----- --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From TWEdwards at cimplify.net Thu Jul 8 23:00:58 2004 From: TWEdwards at cimplify.net (Edwards, Thomas W.) Date: Thu, 8 Jul 2004 16:00:58 -0500 Subject: verifying incoming ncsa info Message-ID: Is there a place to see incoming messages via ncsa? If it is even reaching the central server? -------------- next part -------------- An HTML attachment was scrubbed... URL: From glaw at storbase.com Thu Jul 8 23:10:07 2004 From: glaw at storbase.com (Gabriel Law) Date: Thu, 8 Jul 2004 17:10:07 -0400 Subject: docs for plug ins Message-ID: <2337482E01EF0245A81E9F2EEA1E9A00049C8B@mail.storbase.com> This is probably a stupid question but... where are the docs for the nagios plugins? I can't seem to find them... Thanks! -Gabe -------------- next part -------------- An HTML attachment was scrubbed... URL: From JimiT at mail.cox.smu.edu Fri Jul 9 00:16:00 2004 From: JimiT at mail.cox.smu.edu (Thompson, Jimi) Date: Thu, 8 Jul 2004 17:16:00 -0500 Subject: /usr/local/nagios/etc not present after compiling .... Message-ID: <4B3F673172B98D449EBCC3BE8316F5240415FCAE@exch4.elcsb.net> Well, After considerable experimentation and attempting to install the plug-ins manually, it seems that the plug ins require a newer version of Perl than the system installs by default. FreeBSD installs 5.005 and it wants 5.6.X or better. This seems be causing the plug-in install to fail silently when attempting to it as a Nagios dependency. I'm in the process of upgrading the system Perl now and will let post again with any thing else interesting that I uncover. HTH Jimi ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of h.baecker at ecofis.de Sent: Thursday, July 08, 2004 3:16 AM To: unixdocs72 at yahoo.co.uk Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] /usr/local/nagios/etc not present after compiling .... Hi, did you try to: make install-config ? Tis Unix Sent by: nagios-users-admin at lists.sourceforge.net 08.07.2004 10:01 To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] /usr/local/nagios/etc not present after compiling .... Hi, First post to this list after just compiling nagios ... I am having a few problems but will tackle one at a time. First thing ... After compiling Nagios successfully (well that's what it tells me), this is what I get in /usr/local/nagios - [root at richemontdev]> cd /usr/local/nagios/ [root at richemontdev]> ls -al total 12 drwxr-xr-x 6 root other 512 Jul 7 12:30 . drwxr-xr-x 30 root other 1024 Jul 7 09:43 .. drwxrwxr-x 2 nagios nagios 512 Jul 7 12:29 bin drwxrwxr-x 2 nagios nagios 512 Jul 7 12:29 sbin drwxrwxr-x 8 nagios nagios 512 Jul 7 12:29 share drwxrwxr-x 3 nagios nagios 512 Jul 7 12:30 var Why is there no etc directory ?? In the documentation, it said I should have the following - Directory Structure And File Locations Change to the root of your Nagios installation directory with the following command... cd /usr/local/nagios You should see five different subdirectories. A brief description of what each directory contains is given in the table below. Sub-Directory Contents bin/ Nagios core program etc/ Main , resource , object , and CGI configuration files should be put here sbin/ CGIs share/ HTML files (for web interface and online documentation) var/ Empty directory for the log file Why is this ?? Thanks in advance Trev ________________________________ ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at gmail.com Fri Jul 9 00:28:33 2004 From: nagios at gmail.com (Tomas Morales) Date: Thu, 8 Jul 2004 16:28:33 -0600 Subject: Unexpected check_period behavior Message-ID: <9ec4112a04070815281912ff2@mail.gmail.com> I have a very unexpected behavior for the check_period (or perhaps I'm misinterpreting it) option on a service check. We have a need for NOT showing red alerts on the nagios screen nor sending notifications off for this service(Ping) outside the timeperiod defined and used. My time period is defined to be between 1am to 12 noon: define timeperiod{ timeperiod_name bl-100-2100-daily alias daily onlycheck 1am-12noon sunday 01:00-12:00 monday 01:00-12:00 tuesday 01:00-12:00 wednesday 01:00-12:00 thursday 01:00-12:00 friday 01:00-12:00 saturday 01:00-12:00 } the service is defined as: define service{ host_name host75 name Ping service_description Ping use generic-unix-ping check_command check_ping!500.0,50%|1000.0,80% check_period bl-100-2100-daily } generic-unix-ping template has 24x7 timeperiod set for check_period, but it's supposed to be overriden by defining check_period in the service definition itself as shown above. I have verified that checks still get performed and yet the "service state information" says that the next check will be at 1:00am tomorrow(July 9), AND that the last check was done OUTSIDE the timeperiod defined (i.e. Last Check Time: 07-08-2004 15:46:08 ) Here is the entire service state information showing for the service: Service State Information Current Status: OK Status Information: PING OK - Packet loss = 0%, RTA = 0.22 ms Current Attempt: 1/3 State Type: HARD Last Check Type: ACTIVE Last Check Time: 07-08-2004 15:46:08 Status Data Age: 0d 0h 4m 11s Next Scheduled Active Check: 07-09-2004 01:00:00 Latency: < 1 second Check Duration: 4 seconds Last State Change: 07-08-2004 09:28:59 Current State Duration: 0d 6h 21m 20s Last Service Notification: N/A Current Notification Number: 0 Is This Service Flapping? N/A Percent State Change: N/A In Scheduled Downtime? NO Last Update: 07-08-2004 15:50:17 Did I miss anything or misinterpreted the documentation about how check_period works? or is this a bug? did I make a mistake on my configs? Any explanations/help/insigths/enlightening/etc will be appreciated. Tomas ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From JimiT at mail.cox.smu.edu Fri Jul 9 00:48:30 2004 From: JimiT at mail.cox.smu.edu (Thompson, Jimi) Date: Thu, 8 Jul 2004 17:48:30 -0500 Subject: /usr/local/nagios/etc not present after compiling .... Message-ID: <4B3F673172B98D449EBCC3BE8316F5240415FCB8@exch4.elcsb.net> After much hair pulling, we have a winner! Upgrading perl and recompiling the plug-ins worked. Here's what to do - Go to /usr/ports/lang/perl5.8 Make && make test && make install Type in "use.perl port" to upgrade the system perl Type in "find /usr/local/lib/perl5/{site_perl/5.005,5.00503} -type f -print0 | \ xargs -0 -n 1 pkg_which | sort -u > /tmp/perl-ports" This will create a list of any previously installed Perl modules Go look in the file and remove anything that looks odd - ?'s and such Then type this in "portupgrade -f `cat /tmp/perl-ports`" Assuming you have portupgrade installed, this will also upgrade all your other perl modules. Now go to /usr/ports/nagois-plugins and install that. This SHOULD solve your problem. You should be able to run the install- commands now. HTH, Jimi ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tis Unix Sent: Thursday, July 08, 2004 3:01 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] /usr/local/nagios/etc not present after compiling .... Hi, First post to this list after just compiling nagios ... I am having a few problems but will tackle one at a time. First thing ... After compiling Nagios successfully (well that's what it tells me), this is what I get in /usr/local/nagios - [root at richemontdev]> cd /usr/local/nagios/ [root at richemontdev]> ls -al total 12 drwxr-xr-x 6 root other 512 Jul 7 12:30 . drwxr-xr-x 30 root other 1024 Jul 7 09:43 .. drwxrwxr-x 2 nagios nagios 512 Jul 7 12:29 bin drwxrwxr-x 2 nagios nagios 512 Jul 7 12:29 sbin drwxrwxr-x 8 nagios nagios 512 Jul 7 12:29 share drwxrwxr-x 3 nagios nagios 512 Jul 7 12:30 var Why is there no etc directory ?? In the documentation, it said I should have the following - Directory Structure And File Locations Change to the root of your Nagios installation directory with the following command... cd /usr/local/nagios You should see five different subdirectories. A brief description of what each directory contains is given in the table below. Sub-Directory Contents bin/ Nagios core program etc/ Main , resource , object , and CGI configuration files should be put here sbin/ CGIs share/ HTML files (for web interface and online documentation) var/ Empty directory for the log file Why is this ?? Thanks in advance Trev ________________________________ ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself -------------- next part -------------- An HTML attachment was scrubbed... URL: From benny at bennyvision.com Fri Jul 9 01:54:33 2004 From: benny at bennyvision.com (C. Bensend) Date: Thu, 8 Jul 2004 18:54:33 -0500 (CDT) Subject: docs for plug ins In-Reply-To: <2337482E01EF0245A81E9F2EEA1E9A00049C8B@mail.storbase.com> References: <2337482E01EF0245A81E9F2EEA1E9A00049C8B@mail.storbase.com> Message-ID: <59235.63.227.74.41.1089330895.squirrel@webmail.stinkweasel.net> > This is probably a stupid question but... where are the docs for the > nagios plugins? I can't seem to find them... Typically: ./check_whatever --help Benny -- "You were doing well until everyone died." -- "God", Futurama ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From al_smyth at yahoo.com Fri Jul 9 05:22:47 2004 From: al_smyth at yahoo.com (Al Smith) Date: Thu, 8 Jul 2004 20:22:47 -0700 (PDT) Subject: Nagios Truncated return string In-Reply-To: References: Message-ID: <20040709032247.38881.qmail@web53505.mail.yahoo.com> Using Nagios 1.2 with MySQL for data storage. I've written my own check_snmp to get a value from a power strip that returns Amps * 10, so a 0.8 amp reading is sent back by snmpget as 8. In order to watch the actual amps, and history, I set Value = Value / 10, and return the string OK: 0.8 The problem is with the value stored in the MySQL database, and displayed on the web page, is 0. So, when amp usage on the unit is low, I get an alarm telling me it is zero! Has anyone else seen the trucated value like this? --------------------------------- Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! -------------- next part -------------- An HTML attachment was scrubbed... URL: From martin.mielke at thales-is.com Fri Jul 9 09:21:56 2004 From: martin.mielke at thales-is.com (Martin Mielke) Date: Fri, 09 Jul 2004 09:21:56 +0200 Subject: nrpe to a Windows box through event_handlers ... In-Reply-To: <02769B432700E649B14C0847840DC83B042A4F@becompanysrv020.consulting.becompany> References: <02769B432700E649B14C0847840DC83B042A4F@becompanysrv020.consulting.becompany> Message-ID: <40EE4794.1060901@thales-is.com> Hi Ludo, I'll post to the list, so everybody can get your answer as well... Ludo Bosmans wrote: >Martin, > >Sorry to answer not via the Nagios-users list. Currently i'm unable to reply with my registered e-mail address. So my message will be refused. > > OK. Thanks for the reply. >Use the check_nt plugin to see if a service is running or stopped. >( this requires nsclient service running on the windows server ) > > > Well, the service is just an ASP server. To check for its availability we use check_http with the -e switch... >Create an eventhandler that restart the specific service on the windows. >You need nrpe_nt on the windows server. > > Yep, that was already know. My problem is that I don't know how to combine the event_handlers to launch a .bat file through the nrpe_nt to restart the service on the Windoze side... >So the idea is to check regulary if a certain service is up or down, with lets say max 3 retries. In case the service is down, you start an event-handler that request via check_nrpr to execute a command on the windows. This could be a .bat file with f.e. net start SPOOLER > > Yes, that's my initial thought... Thanks in advance! Best regards, Martin ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Philipp.Sand at sycor.de Fri Jul 9 10:29:31 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Fri, 9 Jul 2004 10:29:31 +0200 Subject: APAN + NRPE? Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E068E0A@SYGOMAIL.GOE.AD.SYCOR.DE> Should be possible I think. Problem with APAN is, that it's a hole lot of administrative work, so I quit using it. Maybe you should take a look at perfparse. It's pretty simple in configuring and creates graphs out of performance data, whic nagios is processing. So you have very little administrative overhead. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kemp, Darren Sent: Thursday, July 08, 2004 3:34 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] APAN + NRPE? I'm curious if anyone has experimented with using APAN over NRPE? Basically I want to collect performance data from remote hosts and view the graphs on a central server. I have been through the APAN and NRPE documentation and haven't seen anything like this yet. If anyone is running a similar setup I'd love to hear from you. Thanks -dkk ************************************************ 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ben at clewett.org.uk Fri Jul 9 10:54:36 2004 From: Ben at clewett.org.uk (Ben Clewett) Date: Fri, 09 Jul 2004 09:54:36 +0100 Subject: APAN + NRPE? In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E068E0A@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E068E0A@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <40EE5D4C.1070804@clewett.org.uk> If you are interested in PerfParse, it can be found here: http://perfparse.sourceforge.net/ We are in need of developers to process the performance data to their own specific needs. If you know some CGI, a little C and some SQL, and have a need for a specific analysis tool, please drop me a line :) Regards, Ben. Sand Philipp wrote: > Should be possible I think. Problem with APAN is, that it's a hole lot > of administrative work, so I quit using it. > Maybe you should take a look at perfparse. It's pretty simple in > configuring and creates graphs out of performance data, whic nagios is > processing. So you have very little administrative overhead. > > ------------------------------------------------------------------------ > *From:* nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] *On Behalf Of > *Kemp, Darren > *Sent:* Thursday, July 08, 2004 3:34 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] APAN + NRPE? > > I?m curious if anyone has experimented with using APAN over NRPE? > > > > Basically I want to collect performance data from remote hosts and > view the graphs on a central server. > > I have been through the APAN and NRPE documentation and haven?t seen > anything like this yet. If anyone is running a similar setup I?d > love to hear from you. > > > > Thanks > > > > -dkk > > > > > > > > ************************************************ > > sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie > > www.sycor-plastics.de > > ************************************************ > > > > > Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche > Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger > sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und > benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine > Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt > rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, > sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den > Parteien vereinbart wurde. > > This e-mail is confidential and may contain personal and/or privileged > information. If you are not the intended recipient please delete this > e-mail and all attachments immediately and inform us. The company sycor > does not agree with contracts or contract obligations sent by e-mail, > neither do we transmit legally binding offers by e-mail, unless this is > not expressly agreed upon between the parties and documented in written > form. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From mike.scott at policyadmin.co.uk Fri Jul 9 11:08:51 2004 From: mike.scott at policyadmin.co.uk (mike.scott) Date: Fri, 9 Jul 2004 10:08:51 +0100 Subject: Recurring Downtime Message-ID: Before acting on this e-mail or opening any attachments you are advised to read The Caudwell Holdings group of companies' disclaimer at the end of this e-mail. -------------------------------------------------------- I have a set of servers that are rebooted every night they are in a hostgroup of their own, at the moment everyday I schedule downtime for that group of servers and was wondering if there was a way to make it a recurring event ? - has anyone else experienced this and come up with a solution at all ? In the FAQ it says to create a cron job that writes the appropriate downtime commands to the external command file but my knowledge of linux is pretty basic can maybe someone can point me in the right direction. Cheers Mike -------------------------------------------------------- Confidentiality Notice This e-mail is confidential and intended for the use of the named recipient only. If you are not the intended recipient please notify us by telephone immediately on +44(0)1782 600600 or return it to us by e-mail. Please then delete it from your system and note that any use, dissemination, forwarding, printing or copying is strictly prohibited. Any views or opinions are solely those of the author and do not necessarily represent those of The Caudwell Holdings group of companies. Encryptions and Viruses Please note that this e-mail and any attachments have not been encrypted. They may therefore be liable to be compromised. Please also note that it is your responsibility to scan this e-mail and any attachments for viruses. We do not, to the extent permitted by law, accept any liability (whether in contract, negligence or otherwise) for any virus infection and/or external compromise of security and/or confidentiality in relation to transmissions sent by e-mail. Monitoring Activity and use of The Caudwell Holdings group of companies' systems is monitored to secure its effective use and operation and for other lawful business purposes. Communications using these systems will also be monitored and may be recorded to secure effective use and operation and for other lawful business purposes. -------------- next part -------------- An HTML attachment was scrubbed... URL: From verdon at cict.fr Fri Jul 9 11:25:59 2004 From: verdon at cict.fr (carole verdon) Date: Fri, 09 Jul 2004 11:25:59 +0200 Subject: SendEmail In-Reply-To: <90bc2a03040707150649af71c7@mail.gmail.com> References: <90bc2a03040707150649af71c7@mail.gmail.com> Message-ID: <40EE64A7.6050908@cict.fr> Yes, i use it. My definiton of 'host-notify-by-email' and 'notify-by-email' commands look at this: 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" | /usr/bin/mailx -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } 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$" | /usr/bin/mailx -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } I hope that help you. Carole. Roy Kartadinata wrote: >Hi guys, > >Just curious if anyone here uses sendEmail ? Care to share your >misccommand.cfg ? > > > > -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From gebhardt at hrz.uni-marburg.de Fri Jul 9 11:39:17 2004 From: gebhardt at hrz.uni-marburg.de (Gebhardt Thomas) Date: Fri, 9 Jul 2004 11:39:17 +0200 Subject: performance data too long -> truncated Message-ID: <200407091139.19464.gebhardt@hrz.uni-marburg.de> Hi, I'm trying to collect a bunch of performance data on a remote host, sending it to the nagios server by nsca. I noticed that the data get's truncated when the message exceeds a certain length (about 256 bytes?). Don't know whether this is done by nsca or by the nagios server (it is not easy to sniff on the wire since nsca encrypts the data.) Before spending too much time on that, I'd like to figure out if this is a known issue with a documented workaround. Any hint? Thanks, Thomas ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From martin.mielke at thales-is.com Fri Jul 9 12:03:00 2004 From: martin.mielke at thales-is.com (Martin Mielke) Date: Fri, 09 Jul 2004 12:03:00 +0200 Subject: nrpe to a Windows box through event_handlers ... Message-ID: <40EE6D54.6060601@thales-is.com> Hi list, here's another email from Ludo, who's having problems to post but still being so nice to reply. I have to read it through again but I just post it for you to have it and, maybe, think about it... Regards, Martin -------- Original Message -------- Subject: RE: [Nagios-users] nrpe to a Windows box through event_handlers ... Date: Fri, 9 Jul 2004 10:25:51 +0200 From: Ludo Bosmans To: Martin Mielke Martin, I'm still unable to reply with my normal e-mail address, so i thank you to forward this to the mailinglist. Some additional info: -------------------- # services.cfg -------------------- # Service definition define service{ use generic-service ; Name of service template to use use generic-windows-services host_name rataplan service_description Windows Services is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 0 notification_period 24x7 notification_options w,u,c,r check_command check_nt_services_parse event_handler event_nrpe_nt_parse } --------------------- #checkcommands.cfg --------------------- # 'check_nt_services_parse' command definition define command{ command_name check_nt_services_parse command_line $USER1$/check_nt_services_parse.sh $HOSTNAME$ $HOSTADDRESS$ "$SERVICEDESC$" $USER1$ } # 'event_nrpe_nt_parse' command definition define command{ command_name event_nrpe_nt_parse command_line $USER1$/event_nrpe_nt_parse.sh $HOSTNAME$ $HOSTADDRESS$ "$SERVICEDESC$" "$OUTPUT$" "$SERVICESTATE$" } In my case, i check several "windows services" in one sequence on host rataplan. This check is is based on check_nt. I pass some arguments from the nagios environment to a shell script "check_nt_services_parse.sh" that finally is using check_nt to get info and status of the "windows" service. In fact it doen't matter how you obtain status info, it could also something else. In case a certain "window service" is stopped, the check returns "CRITICAL" ($SERVICESTATE$ ). So following the specs the eventhandler is executed. Again this is a shell script that obtain the necessary variables from the nagios environment and finally execute check_nrpe_nt with a request to execute a command on host rataplan. f.e. to try to restart SPOOLER or something else. So the max_check_attempts is put to 3, and retry_check_interval to 1 ( min ). This means the eventhandler is runned only when there is a state change ( ok to bad, warning to critical or critical to warning, on recovery ). That's why i pass the $SERVICESTATE$ and check inside the event_nrpe_nt_parse.sh script to see if i need to try to restart ( CRITICAL ) or not ( OK or RECOVERY ). Finally if after a restart attempt the servicestate is still critical ( in my case i have only ok or critical ), the evethandler is not executed anymore and the service status becomes a hard critical state. Again i mentioned that the eventhandler is not executed anymore on the next regulary check in case next check return the same bad state. I hope this info will give you a better view how i have handled this. kind regards, ludo -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Martin Mielke Sent: vrijdag 9 juli 2004 09:22 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nrpe to a Windows box through event_handlers ... Hi Ludo, I'll post to the list, so everybody can get your answer as well... Ludo Bosmans wrote: >Martin, > >Sorry to answer not via the Nagios-users list. Currently i'm unable to reply with my registered e-mail address. So my message will be refused. > > OK. Thanks for the reply. >Use the check_nt plugin to see if a service is running or stopped. >( this requires nsclient service running on the windows server ) > > > Well, the service is just an ASP server. To check for its availability we use check_http with the -e switch... >Create an eventhandler that restart the specific service on the windows. >You need nrpe_nt on the windows server. > > Yep, that was already know. My problem is that I don't know how to combine the event_handlers to launch a .bat file through the nrpe_nt to restart the service on the Windoze side... >So the idea is to check regulary if a certain service is up or down, with lets say max 3 retries. In case the service is down, you start an event-handler that request via check_nrpr to execute a command on the windows. This could be a .bat file with f.e. net start SPOOLER > > Yes, that's my initial thought... Thanks in advance! Best regards, Martin ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Roberto.Balestra at getronics.com Fri Jul 9 12:40:41 2004 From: Roberto.Balestra at getronics.com (Balestra, Roberto) Date: Fri, 9 Jul 2004 12:40:41 +0200 Subject: verifying incoming ncsa info Message-ID: Yes. In my RH7.3 I see incoming connection for nsca in /var/log/secure. Bye Roberto -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Edwards, Thomas W. Sent: gioved? 8 luglio 2004 23.01 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] verifying incoming ncsa info Is there a place to see incoming messages via ncsa? If it is even reaching the central server? ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From RKlisowski at era.pl Fri Jul 9 13:47:47 2004 From: RKlisowski at era.pl (=?iso-8859-2?Q?Klisowski_Rafa=B3?=) Date: Fri, 9 Jul 2004 13:47:47 +0200 Subject: Check_ntp arguments Message-ID: Hi! Check_ntp sends warnings like this: NTP WARNING: Jitter error and jitter 0.136 msec > +/- 0 msec In services arguments are set on: check_ntp!0.9!1.5 How should I set arguments for check_ntp? Rafal -------------------------------------------------------------------------------- Wiadomo?? ta jest przeznaczona jedynie dla osoby lub podmiotu, kt?ry jest jej adresatem i mo?e zawiera? poufne i/lub uprzywilejowane informacje. Zakazane jest jakiekolwiek przegl?danie, przesy?anie, rozpowszechnianie lub inne wykorzystanie tych informacji lub podj?cie jakichkolwiek dzia?a? odno?nie tych informacji przez osoby lub podmioty inne ni? zamierzony adresat. Je?eli Pa?stwo otrzymali przez pomy?k? t? informacj? prosimy o poinformowanie o tym nadawcy i usuni?cie tej wiadomo?ci z wszelkich komputer?w. -------------------------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -------------------------------------------------------------------------------- ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From mailli1 at online-skating.de Fri Jul 9 14:37:19 2004 From: mailli1 at online-skating.de (Alexander Puff) Date: Fri, 9 Jul 2004 14:37:19 +0200 Subject: NRPE-Checks on some commands result in CRC32-Errors Message-ID: <20040709123420.14AA5CBAB0@argon.online-skating.de> Hello, I have got a problem with a Nagios 1.2 installation - I check different remote hosts via nrpe. All works fine with check_load, check_disk, check_swap. But if I try check_mailq, I get CRC32 errors from check_nrpe. check_nrpe definition: define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } service definition on monitoring host: define service{ use tpl_service_local-linux-server host_name xyz service_description MAILQ contact_groups admins check_command check_nrpe!check_mailq } nrpe configuration on remote host: command[check_mailq]=/usr/local/nagios/libexec/check_mailq -w 10 -c 20 -M exim On the monitoring host, both nagios and commandline result in crc32 error. A local commandline execution of check_mailq on the remote host works fine 8( Anybody an idea, how to debug those crc32 errors ? Thanx in advance, Alex. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From xavier at rootshell.be Fri Jul 9 14:54:34 2004 From: xavier at rootshell.be (Xavier) Date: Fri, 9 Jul 2004 14:54:34 +0200 (CEST) Subject: Host Ext information Message-ID: Hi *, Simple question: instead of an url (http://, file://), is it possible to specify a fixed information or a text file in HostExtInfo? I would like to send the info attached to a notification. Ex: a phone number or an email address. Tx, Xavier -- This space is for rent ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From verdon at cict.fr Fri Jul 9 15:05:09 2004 From: verdon at cict.fr (carole verdon) Date: Fri, 09 Jul 2004 15:05:09 +0200 Subject: Recurring Downtime In-Reply-To: References: Message-ID: <40EE9805.2010505@cict.fr> You can create a time period in timeperiod.cfg file which excluded the period during which the servers are rebooted. Then you set the check_period value for each definition of service of those servers to this time period. Carole. mike.scott wrote: > *Before acting on this e-mail or opening any attachments you are > advised to read The Caudwell Holdings group of companies' disclaimer > at the end of this e-mail.* > ------------------------------------------------------------------------ > > > I have a set of servers that are rebooted every night they are in a > hostgroup of their own, at the moment everyday I schedule downtime for > that group of servers and was wondering if there was a way to make it > a recurring event ? - has anyone else experienced this and come up > with a solution at all ? In the FAQ it says to create a cron job that > writes the appropriate downtime commands to the external command file > but my knowledge of linux is pretty basic can maybe someone can point > me in the right direction. > > Cheers > > Mike > > ------------------------------------------------------------------------ > *Confidentiality Notice* > This e-mail is confidential and intended for the use of the named > recipient only. If you are not the intended recipient please notify us > by telephone immediately on +44(0)1782 600600 or return it to us by > e-mail. Please then delete it from your system and note that any use, > dissemination, forwarding, printing or copying is strictly prohibited. > Any views or opinions are solely those of the author and do not > necessarily represent those of The Caudwell Holdings group of companies. > *Encryptions and Viruses* > Please note that this e-mail and any attachments have not been > encrypted. They may therefore be liable to be compromised. Please also > note that it is your responsibility to scan this e-mail and any > attachments for viruses. We do not, to the extent permitted by law, > accept any liability (whether in contract, negligence or otherwise) > for any virus infection and/or external compromise of security and/or > confidentiality in relation to transmissions sent by e-mail. > *Monitoring* > Activity and use of The Caudwell Holdings group of companies' systems > is monitored to secure its effective use and operation and for other > lawful business purposes. Communications using these systems will also > be monitored and may be recorded to secure effective use and operation > and for other lawful business purposes. -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Darren.Kemp at xerox.com Fri Jul 9 16:01:03 2004 From: Darren.Kemp at xerox.com (Kemp, Darren) Date: Fri, 9 Jul 2004 10:01:03 -0400 Subject: NRPE-Checks on some commands result in CRC32-Errors Message-ID: <330CE9F92C02064B86090D40B479712F1CF881@usa0300ms04.na.xerox.net> I'd start by turning on debug in nrpe.cfg and seeing what kind of messages it dumps. -dkk -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Alexander Puff Sent: Friday, July 09, 2004 8:37 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE-Checks on some commands result in CRC32-Errors Hello, I have got a problem with a Nagios 1.2 installation - I check different remote hosts via nrpe. All works fine with check_load, check_disk, check_swap. But if I try check_mailq, I get CRC32 errors from check_nrpe. check_nrpe definition: define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } service definition on monitoring host: define service{ use tpl_service_local-linux-server host_name xyz service_description MAILQ contact_groups admins check_command check_nrpe!check_mailq } nrpe configuration on remote host: command[check_mailq]=/usr/local/nagios/libexec/check_mailq -w 10 -c 20 -M exim On the monitoring host, both nagios and commandline result in crc32 error. A local commandline execution of check_mailq on the remote host works fine 8( Anybody an idea, how to debug those crc32 errors ? Thanx in advance, Alex. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jeff.vier at tradingtechnologies.com Fri Jul 9 16:29:49 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 09 Jul 2004 09:29:49 -0500 Subject: Nagios Truncated return string In-Reply-To: <20040709032247.38881.qmail@web53505.mail.yahoo.com> References: <20040709032247.38881.qmail@web53505.mail.yahoo.com> Message-ID: <1089383389.9557.13.camel@localhost> On Thu, 2004-07-08 at 20:22 -0700, Al Smith wrote: > Using Nagios 1.2 with MySQL for data storage. I've written my > own check_snmp to get a value from a power strip that returns > Amps * 10, so a 0.8 amp reading is sent back by snmpget as 8. > In order to watch the actual amps, and history, I set Value = > Value / 10, and return the string > > OK: 0.8 > > The problem is with the value stored in the MySQL database, > and displayed on the web page, is 0. So, when amp usage on the > unit is low, I get an alarm telling me it is zero! > > Has anyone else seen the trucated value like this? Sounds like you've set your column to INT (or SMALLINT, BIGINT, etc). read http://dev.mysql.com/doc/mysql/en/Numeric_types.html carefully. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From j.e.vanbaal at uvt.nl Fri Jul 9 16:29:02 2004 From: j.e.vanbaal at uvt.nl (Joost van Baal) Date: Fri, 9 Jul 2004 16:29:02 +0200 Subject: quick and dirty hack to get nrpe to compile on Tru64 / Dec OSF1 Message-ID: <20040709142902.GV6426@banach.uvt.nl> Hi, I've successfully compiled and ran nrpe 1.9 on a OSF1 V4.0 878 alpha machine. However, I've had to do some evil tricks: since OSF1 seems to lack snprintf in it's stdio.h, I've changed these to sprintf calls: 460c460 < snprintf(connecting_host,sizeof(connecting_host),"%s",inet_ntoa(nptr->sin_addr)); --- > sprintf(connecting_host,"%s",inet_ntoa(nptr->sin_addr)); 568c568 < snprintf(buffer,sizeof(buffer),"NRPE v%s",PROGRAM_VERSION); --- > sprintf(buffer,"NRPE v%s",PROGRAM_VERSION); 583c583 < snprintf(buffer,sizeof(buffer),"NRPE: Command '%s' not defined",receive_packet.buffer); --- > sprintf(buffer,"NRPE: Command '%s' not defined",receive_packet.buffer); 605c605 < snprintf(buffer,sizeof(buffer)-1,"NRPE: Command timed out after %d seconds\n",command_timeout); --- > sprintf(buffer,"NRPE: Command timed out after %d seconds\n",command_timeout); 607c607 < snprintf(buffer,sizeof(buffer)-1,"NRPE: Unable to read output\n"); --- > sprintf(buffer,"NRPE: Unable to read output\n"); 739c739 < snprintf(buffer,sizeof(buffer)-1,"NRPE: Call to fork() failed\n"); --- > sprintf(buffer,"NRPE: Call to fork() failed\n"); Of course, this makes one much more vulnerable to buffer overflows: only run such a binary in a trusted network. Very likely this hack could be done in a more portable way; I didn't have the time for this. Still this might be helpful to other OSF admins. Bye, Joost -- Joost van Baal http://abramowitz.uvt.nl/ Tilburg University j.e.vanbaal at uvt.nl The Netherlands -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From nagios-user at sandiego420.com Fri Jul 9 16:38:39 2004 From: nagios-user at sandiego420.com (Rhugga) Date: Fri, 09 Jul 2004 07:38:39 -0700 Subject: Fedore Core 2? Stable to run nagios on? Message-ID: <40EEADEF.6060200@sandiego420.com> I have been testing FC2 in our data center, mainly on our 2 Linux clusters, but I want to build a new network management system using nagios. Is nagios pretty stable on FC2 or should I stay with Red Hat 9? (or Solaris 9) I ask because FC2 seemed stable at first, from a workstation perspective, but once we moved it to some of our high-load systems we stated seeing various oddities and etc... Thx, CC ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jjnp4m102 at sneakemail.com Fri Jul 9 16:50:20 2004 From: jjnp4m102 at sneakemail.com (Matt Millard) Date: 9 Jul 2004 14:50:20 -0000 Subject: Memory leak? Message-ID: <26134-79301@sneakemail.com> I've got a new Nagios setup that's been acting up on me now that I've got most of my hosts being monitored. I have 170 hosts, and about 700 services being monitored. We are currently monitoring ping, sshd, ntpd and ftpd on all servers. We also have a few dns, httpd, paging space(using check_by_ssh) monitors in place. Basically what I'm seeing is that when I start up Nagios it utilizes about 4MB of memory. If I don't restart the process for 24-48 hours then it will utilize all 1.25GB of memory on our system. I've tried turning off a couple of the service checks, but it doesn't seem to make any difference. Anyone have any suggestions or similar experiences? Any more information needed? Here are the versions we're running: RHEL 3.0 nagios-1.2-0.rhel3.dag nagios-plugins-1.3.1-11 Matt -------------------------------------- Protect yourself from spam, use http://sneakemail.com -------------------------------------- Protect yourself from spam, use http://sneakemail.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ilopez at jalisco.gob.mx Fri Jul 9 17:45:26 2004 From: ilopez at jalisco.gob.mx (ilopez at jalisco.gob.mx) Date: Fri, 9 Jul 2004 09:45:26 -0600 Subject: SNMP In-Reply-To: References: Message-ID: Hi I`ve read all information about snmp but I haven`t understood ,I saw that I need an extra software like netsnmp but I don`t understand how nagios uses it or when I`m going to use it . Netsnmp is already installed but I don`t Know what else I have to do. Thanks I hope someone can helps me. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From mailli1 at online-skating.de Fri Jul 9 17:01:45 2004 From: mailli1 at online-skating.de (Alexander Puff) Date: Fri, 9 Jul 2004 17:01:45 +0200 Subject: AW: NRPE-Checks on some commands result in CRC32-Errors In-Reply-To: <330CE9F92C02064B86090D40B479712F1CF881@usa0300ms04.na.xerox.net> References: <330CE9F92C02064B86090D40B479712F1CF881@usa0300ms04.na.xerox.net> Message-ID: <20040709150418.283F9CBAB6@argon.online-skating.de> I tried this already: nrpe[10197]: Handling the connection... nrpe[10197]: Host is asking for command 'check_mailq' to be run... nrpe[10197]: Running command: /usr/local/nagios/libexec/check_mailq -w 10 -c 20 -M exim nrpe[10197]: Command completed with return code 0 and output: MAILQ OK - mailq 0 is below threshold |unsent=0;10;20;0 nrpe[10197]: Return Code: 0, Output: MAILQ OK - mailq 0 is below threshold |unsent=0;10;20;0 There are no error reports in the logs... Alex. > -----Urspr?ngliche Nachricht----- > Von: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag > von Kemp, Darren > Gesendet: Freitag, 9. Juli 2004 16:01 > An: nagios-users at lists.sourceforge.net > Betreff: RE: [Nagios-users] NRPE-Checks on some commands > result in CRC32-Errors > > I'd start by turning on debug in nrpe.cfg and seeing what kind of > messages it dumps. > > -dkk > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Alexander > Puff > Sent: Friday, July 09, 2004 8:37 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE-Checks on some commands result in > CRC32-Errors > > Hello, > > I have got a problem with a Nagios 1.2 installation - I check > different > remote > hosts via nrpe. All works fine with check_load, check_disk, > check_swap. > But if I try check_mailq, I get CRC32 errors from check_nrpe. > > check_nrpe definition: > define command{ > command_name check_nrpe > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ > } > > service definition on monitoring host: > define service{ > use tpl_service_local-linux-server > > host_name xyz > service_description MAILQ > contact_groups admins > check_command check_nrpe!check_mailq > } > > nrpe configuration on remote host: > command[check_mailq]=/usr/local/nagios/libexec/check_mailq > -w 10 -c 20 > -M > exim > > On the monitoring host, both nagios and commandline result in crc32 > error. A > local > commandline execution of check_mailq on the remote host works fine 8( > > Anybody an idea, how to debug those crc32 errors ? > > Thanx in advance, > Alex. > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jdoyle at lewisgaleclinic.com Fri Jul 9 17:51:49 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Fri, 9 Jul 2004 11:51:49 -0400 Subject: Posting to mssql Message-ID: I'm going to use a host/service event handler to post data to Microsoft SQL 2000 Server database. I've created a web page that reads the contents of a form posted to it and puts that data into the SQL database. Then my eventhandler uses wget with the --post-data= option to post the data from the nagios macros to that web page. I'm new, sue me. Anways, I need my macros to be url-encoded. Anyone know of a simple linux command, etc, that can url-encode this data? Jack Doyle, LGC Information Systems Systems Operations Specialist 540.776.2025 -------------- next part -------------- An HTML attachment was scrubbed... URL: From marcioqueiroz at vicom.com.br Fri Jul 9 18:05:33 2004 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Fri, 9 Jul 2004 13:05:33 -0300 Subject: RES: Fedore Core 2? Stable to run nagios on? Message-ID: I have been running nagios on a FC1 and so i had no problems (250 hosts and 800 services + mrtg to all hosts). I haven?t tried FC 2 but i wiil on the next week. I will let you know. Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Rhugga [SMTP:nagios-user at sandiego420.com] > Enviada em: sexta-feira, 9 de julho de 2004 11:39 > Para: Nagios-Users List > Assunto: [Nagios-users] Fedore Core 2? Stable to run nagios > on? > > > I have been testing FC2 in our data center, mainly on our 2 Linux > clusters, but I want to build a new network management system using > nagios. Is nagios pretty stable on FC2 or should I stay with Red Hat 9? > (or Solaris 9) I ask because FC2 seemed stable at first, from a > workstation perspective, but once we moved it to some of our high-load > systems we stated seeing various oddities and etc... > > Thx, > CC > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jason-sourceforge at microlnk.net Fri Jul 9 18:05:27 2004 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Fri, 09 Jul 2004 11:05:27 -0500 Subject: Fedore Core 2? Stable to run nagios on? In-Reply-To: <40EEADEF.6060200@sandiego420.com> References: <40EEADEF.6060200@sandiego420.com> Message-ID: <40EEC247.8030909@microlnk.net> If you are worried about really serious stability, Core 1 is probably a safer bet than Core 2. Once you remove all unnecessary daemons from a Core 1 system, it can be *very* stable. (In my experience.) In fact, I've had a Nagios monitor checking several hundred services/hosts, every minute, for 4-5 months now. On Fedora Core 1. Never had even a minor problem. I've heard it said before that Fedora Core 1 could be considered as Redhat 9.1. Since they switched to kernel 2.6, and Xorg, and whatever else, with Core 2, that's more like a new Redhat 10.0. And, you know, avoid .0 releases at first. That being said, since Core 2 was released, there have been a number of updates to the kernel and other packages, and it seems much more stable now than originally. (Like, hey, the menubar up2date feature WORKS again in Core 2! Heheh.) Rhugga wrote: > > I have been testing FC2 in our data center, mainly on our 2 Linux > clusters, but I want to build a new network management system using > nagios. Is nagios pretty stable on FC2 or should I stay with Red Hat 9? > (or Solaris 9) I ask because FC2 seemed stable at first, from a > workstation perspective, but once we moved it to some of our high-load > systems we stated seeing various oddities and etc... -- Jason Byrns System Administrator, MicroLnk ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From christopher at bergeron.com Fri Jul 9 18:09:06 2004 From: christopher at bergeron.com (Christopher M Bergeron) Date: Fri, 09 Jul 2004 12:09:06 -0400 Subject: Multiple output lines in plugins? In-Reply-To: <40ECEBF1.70404@epost.de> References: <40ECEBF1.70404@epost.de> Message-ID: <40EEC322.6050308@bergeron.com> Nicole, you can "trick" nagios by putting in "
" where you want each line to break. Like this: Temperatures OK
CPU Planar 38.0 Celsius
Ambient 26.0 Celsius
BP Bottom Temp 23.0 Celsius nsca will see it as one line, and when it renders it in the browser, the
will be a new line. (
is html markup for a line break). Hope this helps! Best regards, Chris Bergeron Nicole H?hnel wrote: > Hi, > > I've written my own plugin to get more information from a server. > I use nrpe to check the other servers with my plugin. > The plugin is not only to get "status ok". It gives out more lines, > something like this: > > Temperatures OK > CPU Planar 38.0 Celsius > Ambient 26.0 Celsius > BP Bottom Temp 23.0 Celsius > > The problem is check_nrpe gets only the first line. > All I see is "Temperatures OK", the other lines are ignored. > > Is there any possibility to get more than one line? > Or is the only thing I can do, write all output in one line? > > > Thanks! > > Nicole > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > self defense, top technical experts, no vendor pitches, unmatched > networking opportunities. Visit www.blackhat.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 > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From adrian.moir at e-s.co.uk Fri Jul 9 18:32:17 2004 From: adrian.moir at e-s.co.uk (Adrian Moir) Date: Fri, 9 Jul 2004 17:32:17 +0100 Subject: Fedore Core 2? Stable to run nagios on? Message-ID: Rhugga, I have just installed Nagios & Nagmin on FC2 all seems to be working so far. Adrian Moir IT Project Analyst Electronic Solutions Minerva House 1-4 North Crescent Chenies Street London WC1E 7ER Tel: +44 (0)207 631 2882 E-mail: adrian.moir at e-s.co.uk www.e-s.co.uk Rhugga Sent by: nagios-users-admin at lists.sourceforge.net 09/07/2004 15:38 To: Nagios-Users List cc: Subject: [Nagios-users] Fedore Core 2? Stable to run nagios on? I have been testing FC2 in our data center, mainly on our 2 Linux clusters, but I want to build a new network management system using nagios. Is nagios pretty stable on FC2 or should I stay with Red Hat 9? (or Solaris 9) I ask because FC2 seemed stable at first, from a workstation perspective, but once we moved it to some of our high-load systems we stated seeing various oddities and etc... Thx, CC ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From christopher at bergeron.com Fri Jul 9 18:33:48 2004 From: christopher at bergeron.com (Christopher M Bergeron) Date: Fri, 09 Jul 2004 12:33:48 -0400 Subject: How to debug nrpe host not allowed to connect ... ? In-Reply-To: References: Message-ID: <40EEC8EC.5070301@bergeron.com> Can anyone shed any light on this for me? My /etc/nagios/nrpe.cfg file has the following line in it: allowed_hosts=127.0.0.1, 139.131.204.56 I've restarted nrpe (I'm running it from the command line, "nrpe -c /etc/nagios/nrpe.cfg -d" and I have it in debug mode. There is only one instance of it running and I've restarted it. However, I'm getting this in my logs: Jul 9 12:20:17 lb2 nrpe[15753]: Host 139.131.204.56 is not allowed to talk to us! I only have port 5666 open on that machine and all other traffic is getting dropped. I can telnet to port 5666, and when I do it just closes the connection immediately: Trying 66.179.22.207... Connected to lb2.b. Escape character is '^]'. Connection closed by foreign host. Does anyone have any ideas? Much thanks in advance! Chris B ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From CHRJ002 at motorola.com Fri Jul 9 18:53:31 2004 From: CHRJ002 at motorola.com (Chris Jackson-CHRJ002) Date: Fri, 9 Jul 2004 17:53:31 +0100 Subject: check_disk exclusions Message-ID: <21A8A2085689D8118A63000E7F206F7B15856D@049701-RACdd7a01d940.baseng.comm.mot.com> Hi all, I'm having trouble configuring the check_disk tool on nagios 1.2. The systems being monitored all have the same automounts for our network storage device, however this has a tendency to fill up above the warning levels. It then bombards me with mails from all the clients with that mount with disk warnings. I don't want to change the warning threshold and have searched the archives to try and find a way of excluding the mounts, I have tried the following: - ./check_disk -w 20 -c 10 -x /mount_folder - ./check_disk -w 20 -c 10 -x lofs -x nfs (found in the archives!) I also tried it the other way round including the paths to the local disks, however due to differing machine types the /dev paths are different and I don't want to have to write a command for each kind of system. Can anyone shed some light on how to exclude nfs mounts from the check_disk plugin please, I would be eternally grateful!! Thanks in advance Chris Jackson -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios-user at sandiego420.com Fri Jul 9 18:56:16 2004 From: nagios-user at sandiego420.com (Rhugga) Date: Fri, 09 Jul 2004 09:56:16 -0700 Subject: RES: Fedore Core 2? Stable to run nagios on? In-Reply-To: References: Message-ID: <40EECE30.9040303@sandiego420.com> Marcio Queiroz wrote: >I have been running nagios on a FC1 and so i had no problems (250 hosts and >800 services + mrtg to all hosts). I haven?t tried FC 2 but i wiil on the >next week. I will let you know. > > > > Marcio Q. Dall Agnol > phone : 55-21-3873-5826 > Fax : 55-21-3873-5845 > marcioqueiroz at vicom.com.br > VICOM > Net Servi?os de Comunica??o S/A > Visite nossas p?ginas: > Redes Corporativas: > Internet Banda Larga: > TV por Assinatura : > Institucional: http://www.netservicos.com > > > > > >>----- Mensagem original ----- >>De: Rhugga [SMTP:nagios-user at sandiego420.com] >>Enviada em: sexta-feira, 9 de julho de 2004 11:39 >>Para: Nagios-Users List >>Assunto: [Nagios-users] Fedore Core 2? Stable to run nagios >>on? >> >> >>I have been testing FC2 in our data center, mainly on our 2 Linux >>clusters, but I want to build a new network management system using >>nagios. Is nagios pretty stable on FC2 or should I stay with Red Hat 9? >>(or Solaris 9) I ask because FC2 seemed stable at first, from a >>workstation perspective, but once we moved it to some of our high-load >>systems we stated seeing various oddities and etc... >> >>Thx, >>CC >> >> >> >> >>------------------------------------------------------- >>This SF.Net email sponsored by Black Hat Briefings & Training. >>Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >>digital self defense, top technical experts, no vendor pitches, >>unmatched networking opportunities. Visit www.blackhat.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 >> >> > > > Yea, that was what I was looking for. Anyone that had used it on systerms with true enterprise loads. That is where Linux issues tend to surface.... I use it to manage two 250-node linux clusters and all our Sun/Cisco/Extreme gear. Thx, CC ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From throck at duke.edu Fri Jul 9 19:02:18 2004 From: throck at duke.edu (Tom Throckmorton) Date: Fri, 09 Jul 2004 13:02:18 -0400 Subject: Memory leak? In-Reply-To: <26134-79301@sneakemail.com> References: <26134-79301@sneakemail.com> Message-ID: <40EECF9A.6000704@duke.edu> On 07/09/2004 10:50 AM, Matt Millard wrote: >Basically what I'm seeing is that when I start up Nagios it utilizes about 4MB of memory. If I don't restart the process for 24-48 hours then it will utilize all 1.25GB of memory on our system. I've tried turning off a couple of the service checks, but it doesn't seem to make any difference. Anyone have any suggestions or similar experiences? Any more information needed? >... >nagios-1.2-0.rhel3.dag > > Matt, Dag seems to be building all his packages with --enable-embedded-perl (see http://dag.wieers.com/packages/nagios/_buildlogs/nagios-1.2-0.rhel3.dag.i386.log.bz2, e.g.) which causes the nagios process to be larger, and may in fact have a leak (though i've not verified this). Your best bet is to rebuild without this option enabled, unless of course you need it ;-) I found that rebuilding without the embedded-perl option resulted in nagios processess about 1.5MB in size, w/out any memory consumption problems. Hope this helps, -tt -- Tom Throckmorton Systems and Core Services Duke University - OIT ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ThomasH.Wood at zcsterling.com Fri Jul 9 19:22:48 2004 From: ThomasH.Wood at zcsterling.com (Wood, Thomas H. (UNIX)) Date: Fri, 9 Jul 2004 13:22:48 -0400 Subject: Setting status of returned plugin output Message-ID: <583E01FC7F0C994EAA2CC39253B4CDF0022C714A@atlexc01.zcs.corp> I've been looking through the nagios and nagios plugin doc trying to determine how to configure nagios such that output returned by a plugin is good. Here's the rub: I'm trying to determine whether a process on a remote Solaris box is running. I haven't messed around with nrpe on that system yet and have access already in place via key exchange. So I use check_by_ssh to connect and run bssp -a | grep bprd (it's a netbackup thing). If I get back something like "root 2676 1 0 Jul 07 ? 0:03 /usr/openv/netbackup/bin/bprd" then I know the process is running and my backups won't fail. Right now Nagios flags that as unknown status and clutters up my pristine tactical view with a flag. So how do I get Nagios to recognize this an OK state? Thanks Thomas Wood -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdoyle at lewisgaleclinic.com Fri Jul 9 19:24:04 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Fri, 9 Jul 2004 13:24:04 -0400 Subject: Fedore Core 2? Stable to run nagios on? Message-ID: I'm running on FC2. Seems fine. Jack Doyle, LGC Information Systems Systems Operations Specialist 540.776.2025 -----Original Message----- From: Adrian Moir [mailto:adrian.moir at e-s.co.uk] Sent: Friday, July 09, 2004 12:32 PM To: Rhugga Cc: Nagios-Users List Subject: Re: [Nagios-users] Fedore Core 2? Stable to run nagios on? Rhugga, I have just installed Nagios & Nagmin on FC2 all seems to be working so far. Adrian Moir IT Project Analyst Electronic Solutions Minerva House 1-4 North Crescent Chenies Street London WC1E 7ER Tel: +44 (0)207 631 2882 E-mail: adrian.moir at e-s.co.uk www.e-s.co.uk Rhugga Sent by: nagios-users-admin at lists.sourceforge.net 09/07/2004 15:38 To: Nagios-Users List cc: Subject: [Nagios-users] Fedore Core 2? Stable to run nagios on? I have been testing FC2 in our data center, mainly on our 2 Linux clusters, but I want to build a new network management system using nagios. Is nagios pretty stable on FC2 or should I stay with Red Hat 9? (or Solaris 9) I ask because FC2 seemed stable at first, from a workstation perspective, but once we moved it to some of our high-load systems we stated seeing various oddities and etc... Thx, CC ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From agrajag at dragaera.net Fri Jul 9 19:52:38 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Fri, 09 Jul 2004 13:52:38 -0400 Subject: Multiple output lines in plugins? In-Reply-To: <40EEC322.6050308@bergeron.com> References: <40ECEBF1.70404@epost.de> <40EEC322.6050308@bergeron.com> Message-ID: <1089395558.4359.61.camel@pel> On Fri, 2004-07-09 at 12:09, Christopher M Bergeron wrote: > Nicole, you can "trick" nagios by putting in "
" where you want each > line to break. Like this: > Temperatures OK
CPU Planar 38.0 Celsius
Ambient 26.0 > Celsius
BP Bottom Temp 23.0 Celsius > > nsca will see it as one line, and when it renders it in the browser, the >
will be a new line. (
is html markup for a line break). If you're doing this, you'll want to make pass all your notifications through a filter to clean that up. Otherwise you'll get ugly emails/pages. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From marc at ena.com Fri Jul 9 20:04:03 2004 From: marc at ena.com (Marc Powell) Date: Fri, 9 Jul 2004 13:04:03 -0500 Subject: Setting status of returned plugin output Message-ID: <370ACCFA5BB3B346A31222E5559BF91F1B6785@mismail2.ena.com> You'll need to create a wrapper for bssp. http://nagiosplug.sourceforge.net/developer-guidelines.html -- Marc ________________________________ From: Wood, Thomas H. (UNIX) [mailto:ThomasH.Wood at zcsterling.com] Sent: Friday, July 09, 2004 12:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Setting status of returned plugin output I've been looking through the nagios and nagios plugin doc trying to determine how to configure nagios such that output returned by a plugin is good. Here's the rub: I'm trying to determine whether a process on a remote Solaris box is running. I haven't messed around with nrpe on that system yet and have access already in place via key exchange. So I use check_by_ssh to connect and run bssp -a | grep bprd (it's a netbackup thing). If I get back something like "root 2676 1 0 Jul 07 ? 0:03 /usr/openv/netbackup/bin/bprd" then I know the process is running and my backups won't fail. Right now Nagios flags that as unknown status and clutters up my pristine tactical view with a flag. So how do I get Nagios to recognize this an OK state? Thanks Thomas Wood ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jeff.vier at tradingtechnologies.com Fri Jul 9 20:36:33 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 09 Jul 2004 13:36:33 -0500 Subject: Multiple output lines in plugins? In-Reply-To: <40EEC322.6050308@bergeron.com> References: <40ECEBF1.70404@epost.de> <40EEC322.6050308@bergeron.com> Message-ID: <1089398193.9557.29.camel@localhost> If you don't accept HTML code in your email, or you're sending to a pager, this won't work right. Use '\n' (newline character). On Fri, 2004-07-09 at 12:09 -0400, Christopher M Bergeron wrote: > Nicole, you can "trick" nagios by putting in "
" where you want each > line to break. Like this: > Temperatures OK
CPU Planar 38.0 Celsius
Ambient 26.0 > Celsius
BP Bottom Temp 23.0 Celsius > > nsca will see it as one line, and when it renders it in the browser, the >
will be a new line. (
is html markup for a line break). > > Hope this helps! > > Best regards, > Chris Bergeron > > > > Nicole H?hnel wrote: > > > Hi, > > > > I've written my own plugin to get more information from a server. > > I use nrpe to check the other servers with my plugin. > > The plugin is not only to get "status ok". It gives out more lines, > > something like this: > > > > Temperatures OK > > CPU Planar 38.0 Celsius > > Ambient 26.0 Celsius > > BP Bottom Temp 23.0 Celsius > > > > The problem is check_nrpe gets only the first line. > > All I see is "Temperatures OK", the other lines are ignored. > > > > Is there any possibility to get more than one line? > > Or is the only thing I can do, write all output in one line? > > > > > > Thanks! > > > > Nicole > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital > > self defense, top technical experts, no vendor pitches, unmatched > > networking opportunities. Visit www.blackhat.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 > > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jeff.vier at tradingtechnologies.com Fri Jul 9 21:06:37 2004 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 09 Jul 2004 14:06:37 -0500 Subject: How to debug nrpe host not allowed to connect ... ? In-Reply-To: <40EEC8EC.5070301@bergeron.com> References: <40EEC8EC.5070301@bergeron.com> Message-ID: <1089399997.9557.31.camel@localhost> Have you tried it without a space after the , ? On Fri, 2004-07-09 at 12:33 -0400, Christopher M Bergeron wrote: > Can anyone shed any light on this for me? > > My /etc/nagios/nrpe.cfg file has the following line in it: > allowed_hosts=127.0.0.1, 139.131.204.56 > > I've restarted nrpe (I'm running it from the command line, "nrpe -c > /etc/nagios/nrpe.cfg -d" and I have it in debug mode. There is only one > instance of it running and I've restarted it. > > However, I'm getting this in my logs: > Jul 9 12:20:17 lb2 nrpe[15753]: Host 139.131.204.56 is not allowed to > talk to us! > > I only have port 5666 open on that machine and all other traffic is > getting dropped. I can telnet to port 5666, and when I do it just > closes the connection immediately: > Trying 66.179.22.207... > Connected to lb2.b. > Escape character is '^]'. > Connection closed by foreign host. > > Does anyone have any ideas? > > Much thanks in advance! > Chris B > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jdoyle at lewisgaleclinic.com Fri Jul 9 21:29:01 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Fri, 9 Jul 2004 15:29:01 -0400 Subject: Logs in MS SQL Message-ID: Has anyone successfully gotten their Nagios implementation to log to MS SQL? Jack Doyle, LGC Information Systems Systems Operations Specialist 540.776.2025 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mberkeland at edgewaternetworks.com Fri Jul 9 21:27:42 2004 From: mberkeland at edgewaternetworks.com (Mark Berkeland) Date: Fri, 9 Jul 2004 12:27:42 -0700 Subject: Fedore Core 2? Stable to run nagios on? In-Reply-To: References: Message-ID: <006201c465ea$d11edd30$6502a8c0@MarkBerkeland> I installed Nagios 1.2 on FC2, about 2 weeks ago. I am monitoring about 2 dozen devices, no problems so far! -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Adrian Moir Sent: Friday, July 09, 2004 9:32 AM To: Rhugga Cc: Nagios-Users List Subject: Re: [Nagios-users] Fedore Core 2? Stable to run nagios on? Rhugga, I have just installed Nagios & Nagmin on FC2 all seems to be working so far. Adrian Moir IT Project Analyst Electronic Solutions Minerva House 1-4 North Crescent Chenies Street London WC1E 7ER Tel: +44 (0)207 631 2882 E-mail: adrian.moir at e-s.co.uk www.e-s.co.uk Rhugga Sent by: nagios-users-admin at lists.sourceforge.net 09/07/2004 15:38 To: Nagios-Users List cc: Subject: [Nagios-users] Fedore Core 2? Stable to run nagios on? I have been testing FC2 in our data center, mainly on our 2 Linux clusters, but I want to build a new network management system using nagios. Is nagios pretty stable on FC2 or should I stay with Red Hat 9? (or Solaris 9) I ask because FC2 seemed stable at first, from a workstation perspective, but once we moved it to some of our high-load systems we stated seeing various oddities and etc... Thx, CC ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From zsitfa at axelero.hu Fri Jul 9 21:35:55 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: 09 Jul 2004 21:35:55 +0200 Subject: Problems with history In-Reply-To: References: <1088785269.1329.15.camel@localhost.localdomain> <1089228015.1375.5.camel@localhost.localdomain> Message-ID: <1089401755.1340.4.camel@localhost.localdomain> Hello! I think this won't help you. As I mentioned I ran ntpdate 01:00, 04:00, ... 22:00. About every two or three days the "-23.log" files appear. I saw Nagios info about time change. Did you see this too? The FAQ says that too many time change confuses Nagios. If I'm wrong please write it to me. Bye, Tamas! 2004-07-08, cs keltez?ssel Tom?? Macek ezt ?rta: > Hi, > I asked our administrator about the FAQ 0093 and he told me, that the time synchronization is sheduled on 00:00 in cron, so maybe this could cause the problem. We scheduled the synchronization at the every hour and 50 minutes (1:50, 3:50, ...) and I'm very curious what will happen... > > Thank you very much for the tip! > > Tom > > > On Wed, 7 Jul 2004, Horvath Tamas wrote: > > > Hi Tom! > > > > I've thought it already, but I wanted a working solution as soon as > > possible. If I have enough time I'll be ad this capability to the script > > too. > > > > I found the cause also: see FAQ 0093: > > http://www.nagios.org/faqs/viewfaq.php?faq_id=93 > > > > I use ntpdate which was run by root crontab in every 3 hours. Now I run > > it just once a day, when my nagios is not running. It seems that the > > problem gone! (I use it from 3 July, so its not a big time period to be > > anbsolutely secure.) > > > > Have a nice day, Tamas! > > > > > > 2004-07-07, sze keltez?ssel Tom?? Macek ezt ?rta: > >> Hi Tamas! > >> sorry, for the delay of my answer, we had a 2 days free in Czech Republic... > >> > >> Thank you very much for the script, I will test it as early as possible. Nowaday > >> s I do not have enaught time to do that, but I will test it surely when I finish current project I'm working on. > >> You are writing, that you are not a programmer -> you wrote this script, so you > >> are the programmer! ;-) > >> > >> I looked into the script and I think you always go through the whole directory, it would be better to do move only one file according to the current date and this script would be run at 00:01 every day. I would like to add this to the script. > >> > >> Have a nice day > >> > >> Tom > >> > >> > >> On Fri, 2 Jul 2004, Horvath Tamas wrote: > >> > >>> Hi Tom! > >>> > >>> I couldn't manage to figure out why nagios creates *-23.log files. > >>> > >>> I wrote a little shell script for our problem. I use it via root > >>> crontab. I tested it in every scenario which I can imagine and it seemed > >>> to me that it works. > >>> > >>> Please note that I am not a programmer so the code may be not as > >>> compact, fast, etc. as would be. > >>> > >>> Two important notes: > >>> 1. Please replace MAGYAR_DATUM with DATUM. The first one create > >>> Hungarian date format from the original one. > >>> 2. Sorry for Hungarian textparts. I've no enough time to translate them > >>> to English. > >>> > >>> Congratulations for your football team. I'm a fun of them and I terrible > >>> sorry that they aren't in the final!:( > >>> > >>> Have a nice weekend, Tamas! > >>> > >> > > > > > > > > > > > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From neil-on-nagios at restricted.dyndns.org Fri Jul 9 21:50:46 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 09 Jul 2004 14:50:46 -0500 Subject: categorizing objects Message-ID: <20040709195046.16917.qmail@restricted.dyndns.org> Hey guys, Here is what I want to do: We have 3 categories(PRODUCTION, DEVELOPMENT and TEST) We have different application servers for PRODUCTION We have different application servers for DEV We have different application servers for TEST I want to see a more cleaner view of the nagios website when looking at them. Like for example, in the STATUS OVERVIEW, we all see the hostgroups we have created. Mine shows assorted PROD, DEV and TEST servers on different tables. Is there a way so that all different hostgroups for production is under header, then when we scroll, we will see another header for DEVELOPMENT and it will contain all the hostgroups for DEVELOPMENT and so for TEST. Thanks. Neil ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Millard.Matt at principal.com Fri Jul 9 22:35:58 2004 From: Millard.Matt at principal.com (Millard, Matt) Date: Fri, 9 Jul 2004 15:35:58 -0500 Subject: Memory leak? Message-ID: <6201DF063335254BA0D6AA7053D101170A629CF8@pfgdsmmbx006.principalusa.corp.principal.com> Recompiled and working fine now. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Tom Throckmorton Sent: Friday, July 09, 2004 12:02 PM To: Matt Millard Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Memory leak? On 07/09/2004 10:50 AM, Matt Millard wrote: >Basically what I'm seeing is that when I start up Nagios it utilizes about 4MB of memory. If I don't restart the process for 24-48 hours then it will utilize all 1.25GB of memory on our system. I've tried turning off a couple of the service checks, but it doesn't seem to make any difference. Anyone have any suggestions or similar experiences? Any more information needed? >... >nagios-1.2-0.rhel3.dag > > Matt, Dag seems to be building all his packages with --enable-embedded-perl (see http://dag.wieers.com/packages/nagios/_buildlogs/nagios-1.2-0.rhel3.dag.i386.log.bz2, e.g.) which causes the nagios process to be larger, and may in fact have a leak (though i've not verified this). Your best bet is to rebuild without this option enabled, unless of course you need it ;-) I found that rebuilding without the embedded-perl option resulted in nagios processess about 1.5MB in size, w/out any memory consumption problems. Hope this helps, -tt -- Tom Throckmorton Systems and Core Services Duke University - OIT ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From wp.junior at terra.com.br Sat Jul 10 00:10:00 2004 From: wp.junior at terra.com.br (Wilson Pires Jr) Date: Fri, 9 Jul 2004 19:10:00 -0300 Subject: front end management tool In-Reply-To: References: Message-ID: <20040709220625.D7FC237019A@potosi.terra.com.br> sorry, i meant delete the host from services :) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mark Shirley Sent: quinta-feira, 8 de julho de 2004 13:59 To: Wilson Pires Jr Cc: Neil; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re: front end management tool it can indeed. if you delete a user it will delete the user from the hostgroup and if you delete a host it will remove that host from the services etc... i don't really understand why you would delete a service if a host was deleted since a service can be used by many different hosts. On Wed, 7 Jul 2004 21:06:00 -0300, Wilson Pires Jr wrote: > Does nagmin make consistency among the cfg configuration files? I mean, for > example, if I delete a host, are their services deleted automatically? > > Regards, > > Wilson > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mark Shirley > Sent: quarta-feira, 7 de julho de 2004 09:16 > To: Neil > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Re: front end management tool > > you can do anything with nagmin as you can with configs in my > experiance. instead of editing a text file to create a custom check > you create a database field. > > On Tue, 06 Jul 2004 12:54:50 -0500, Neil > wrote: > > Hi Mark, > > > > Another question. I do a lot of customization to checks and vi allows me > to > > be very flexible. The limit I have when writing my own custom checks is > what > > my brain can imagine. So, can I also be very flexible with Nagmin? > > > > Thanks. :) > > > > Neil > > > > > > > > > > Mark Shirley writes: > > > > > the use of the mysql database is a nagmin requirement not a nagios > requirement. > > > > > > nagmin takes an existing set of config files and creates a database > > > based on that. at that point you use the gui interface to make > > > changes to the mysql database. when you want the changes to take > > > effect you run a "verification" where it dumps the data from the > > > database into temporary config files and then tells nagios to do a -v > > > startup. if that is sucsessful you then "activate" it where by it > > > does the same thing of dumping the mysql database into config files > > > and then it starts nagios normally. this particular setup is > > > excellent if for some reason you try it and don't like it you can > > > always go back to using a simple text configs. > > > > > > nagmin does NOT require your nagios to be built with mysql since > > > nagmin deals directly with nagios's config files. i currently use > > > nagmin because of the pure number of hosts and services. not to > > > mention the other people that i interact with must be able to > > > add/remove/change host and service records without having to edit > > > config files manually. the major downside to nagmin is that you can't > > > EASILY go back and forth from nagmin to console config. it's one or > > > the other because if you make a change to the temp config files the > > > changes will not be inserted into the mysql database and will be > > > overwritten the next time you do an verification or activation. > > > > > > in comparison to the other options i found nagmin to be the best and > > > most stable for my enviroment. > > > > > > > > > > > > > > > On Thu, 01 Jul 2004 11:19:37 -0500, Neil > > > wrote: > > >> Ok, IIRC, support to database is going to be dropped in version 2 of > Nagios > > >> > > >> > > >> > > >> carole verdon writes: > > >> > > >> > In first, to use Nagmin, Nagios must built with mysql database > support. > > >> > > > >> > That it was my case. Then, Nagmin use existings config files to build > its > > >> > own files. > > >> > > > >> > Neil wrote: > > >> > > > >> >> Hi Carole, > > >> >> What if I already have existing running nagios, how does it take > care of > > >> >> my existings configs? > > >> >> YOu know what, I should try it :) > > >> >> carole verdon writes: > > >> >> > > >> >>> I use Nagmin to manage the configuration of nagios. Nagmin don't > create > > >> >>> temporary config files. It extract informations of tables of mysql > > >> >>> database to put them in flat config files so that nagios can read > them. > > >> >>> I am satisfied for this product. > > >> >>> You can find others answers in mailing list or on > > >> >>> http://nagmin.sourceforge.net/ > > >> >>> Carole. > > >> >>> Neil wrote: > > >> >>> > > >> >>>> Hey guys, > > >> >>>> I know in nagios website, extras, there are links to front end for > > >> >>>> managing nagios. Currently, I am a unix console fanatic. :) I'm > used to > > >> >>>> it and it's no problem to me. I would like to seek your experience > on > > >> >>>> which front end web based application you really did like and was > easy > > >> >>>> to use. I am looking into something wherein it will be easy for us > to > > >> >>>> create hosts, services, contacts and so on. I tried Nagmin, Nagat > but > > >> >>>> if I remember correctly, it creates a temporary config file which > will > > >> >>>> be used for test run. It's nice but really messes up my configs :( > > >> >>>> Anyways, please reply as to what webbased nagios management tool > you > > >> >>>> are using and that you're very happy about it. > > >> >>>> Thanks. > > >> >>>> Neil > > >> >>>> > > >> >>>> ------------------------------------------------------- > > >> >>>> This SF.Net email sponsored by Black Hat Briefings & Training. > > >> >>>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital > > >> >>>> self defense, top technical experts, no vendor pitches, unmatched > > >> >>>> networking opportunities. Visit www.blackhat.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 > > >> >>>> > > >> >>> > > >> >>> -- > > >> >>> ********************************** > > >> >>> VERDON Carole > > >> >>> Ing?nieur Syst?me > > >> >>> CICT - Universit? Paul Sabatier > > >> >>> 118, route de Narbonne > > >> >>> 31062 Toulouse Cedex > > >> >>> T?l.: 05.61.36.60.44 > > >> >>> Fax: 05.61.52.14.58 > > >> >>> Mail: verdon at cict.fr > > >> >>> ********************************** > > >> >>> > > >> >>> > > >> >>> ------------------------------------------------------- > > >> >>> This SF.Net email sponsored by Black Hat Briefings & Training. > > >> >>> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital > > >> >>> self defense, top technical experts, no vendor pitches, unmatched > > >> >>> networking opportunities. Visit www.blackhat.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 > > >> >> > > >> >> > > >> >> > > >> >> > > >> >> ------------------------------------------------------- > > >> >> This SF.Net email sponsored by Black Hat Briefings & Training. > > >> >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital > > >> >> self defense, top technical experts, no vendor pitches, unmatched > > >> >> networking opportunities. Visit www.blackhat.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 > > >> >> > > >> >> > > >> > > > >> > -- > > >> > ********************************** > > >> > VERDON Carole > > >> > Ing?nieur Syst?me > > >> > CICT - Universit? Paul Sabatier > > >> > 118, route de Narbonne > > >> > 31062 Toulouse Cedex > > >> > T?l.: 05.61.36.60.44 > > >> > Fax: 05.61.52.14.58 > > >> > Mail: verdon at cict.fr > > >> > ********************************** > > >> > > > >> > > > >> > > >> ------------------------------------------------------- > > >> This SF.Net email sponsored by Black Hat Briefings & Training. > > >> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > >> digital self defense, top technical experts, no vendor pitches, > > >> unmatched networking opportunities. Visit www.blackhat.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 > > >> > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by Black Hat Briefings & Training. > > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > > digital self defense, top technical experts, no vendor pitches, > > > unmatched networking opportunities. Visit www.blackhat.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 > > > > ------------------------------------------------------- > > This SF.Net email sponsored by Black Hat Briefings & Training. > > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > > digital self defense, top technical experts, no vendor pitches, > > unmatched networking opportunities. Visit www.blackhat.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 > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From tech at gnuconsulting.com Sat Jul 10 00:16:08 2004 From: tech at gnuconsulting.com (David Bishop) Date: Fri, 9 Jul 2004 16:16:08 -0600 Subject: check_nagios on FreeBSD Message-ID: <20040709221608.GA42520@server1.gnuconsulting.com> check_nagios fails to work on FreeBSD bacause PS_RAW_COMMAND is defined as "/bin/ps -weo 'stat user ppid args'", which will *not* show all process ids on the machine (only the processes owned by the webserver). To make it work properly, I needed to add 'ax' in front of 'o' and recompile. I realize that config.h is a generated file, and will be overwritten next time I run ./configure, but I don't know enough about auto* to figure out how to fix the test. To summarize, the correct definition of PS_RAW_COMMAND on FreeBSD is: "/bin/ps -weaxo 'stat user ppid args'" Thanks, and have a great day. D.A.Bishop ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jeremy at hq.newdream.net Sat Jul 10 01:13:23 2004 From: jeremy at hq.newdream.net (Jeremy Hanmer) Date: Fri, 9 Jul 2004 16:13:23 -0700 Subject: strange behaviour Message-ID: <937C6990-D1FD-11D8-8454-000A95BA1D3C@hq.newdream.net> Over the last couple of days, I've noticed that active/passive service checks and notifications will be turned off mysteriously on all of our Nagios boxes. External command logging is turned on, but the logs don't have any commands logged except for the one that I submit to re-enable whatever was shut off. nagios.cfg has the correct default values as well, and the uptime is always greater than the time since I last verified that the status was correct, so it isn't happening during a restart. Has anybody else seen this or have any suggestions? ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From al_smyth at yahoo.com Sat Jul 10 02:18:57 2004 From: al_smyth at yahoo.com (Al Smith) Date: Fri, 9 Jul 2004 17:18:57 -0700 (PDT) Subject: Nagios Truncated return string In-Reply-To: <1089383389.9557.13.camel@localhost> References: <1089383389.9557.13.camel@localhost> Message-ID: <20040710001857.37327.qmail@web53508.mail.yahoo.com> Except... this is the nagios database, not my own database, and the column for return strings is of type BLOB, and all the other return strings are saved fully... BTW - the string saved inclludes the 'OK: ' as well as the '0' -Al jeff vier wrote: On Thu, 2004-07-08 at 20:22 -0700, Al Smith wrote: > return the string > > OK: 0.8 > > The problem is with the value stored in the MySQL database, > and displayed on the web page, is 0. So, when amp usage on the > unit is low, I get an alarm telling me it is zero! > > Has anyone else seen the trucated value like this? Sounds like you've set your column to INT (or SMALLINT, BIGINT, etc). read http://dev.mysql.com/doc/mysql/en/Numeric_types.html carefully. --------------------------------- Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmiller at duskglow.com Sat Jul 10 03:53:53 2004 From: rmiller at duskglow.com (Russell Miller) Date: Fri, 9 Jul 2004 20:53:53 -0500 Subject: monitoring process times Message-ID: <200407092053.57745.rmiller@duskglow.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I want to monitor the time that a certain process has existed, and if it's above a certain amount of time send a warning. Is there any way to do this with the stock release, or do I need to hack check_procs? Thanks. - --Russell - -- Russell Miller - rmiller at duskglow.com - Le Mars, IA Duskglow Consulting - Helping companies just like you to succeed for ~ 10 yrs. http://www.duskglow.com - 712-546-5886 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA70wzURTA4VCI9OARAt9RAJ9OKkAG9m8hzTn6r9SS2A4ZgyoKjQCfdwy3 T7+hHgDgASHLGQndQIzaCfI= =sjyR -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From wp.junior at terra.com.br Sat Jul 10 16:03:38 2004 From: wp.junior at terra.com.br (Wilson Pires Jr) Date: Sat, 10 Jul 2004 11:03:38 -0300 Subject: weird value in availability report In-Reply-To: <937C6990-D1FD-11D8-8454-000A95BA1D3C@hq.newdream.net> References: <937C6990-D1FD-11D8-8454-000A95BA1D3C@hq.newdream.net> Message-ID: <20040710140003.23DC03C013@paramonga.terra.com.br> hi all. i use redhat 7.2, nagios 1.2, plugins 1.4a my monthly availability reports always show strange values as "Time". look at this: (single host availability report using): Report period: last month Assume Initial States: yes Assume State Retention: yes First Assumed State: Host Up Backtracked Archives: 4 DOWN Unscheduled 49707d 13h 48m 45s 1.316% 1.317% the last line: All Total 30d 0h 0m 0s 100.000% 100.000% from where does nagios bring the '49707d 13h 48m 45s' since the period has only 30 days? another aspect i cannot understand is the following: Down Unscheduled 49707d 13h 48m 45s 1.316% 1.317% Scheduled 3d 2h 7m 58s 10.296% 10.304% Total 0d 9h 28m 27s 1.316% 1.317% unscheduled downtime has the weird value and even the scheduled downtime is greater than the total !!!??? could anybody solve my doubts? best regards, wilson ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From nagios-user at sandiego420.com Sat Jul 10 16:12:01 2004 From: nagios-user at sandiego420.com (Rhugga) Date: 10 Jul 2004 07:12:01 -0700 Subject: Dev List Still Used? Message-ID: <1089468721.10852.5.camel@billabong> Is the nagios-dev list still used? I subscribed a few days ago and have not received any postings. I was interested in cnotributing to the project... Thx, CC ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ilopez at jalisco.gob.mx Sat Jul 10 20:46:39 2004 From: ilopez at jalisco.gob.mx (ilopez at jalisco.gob.mx) Date: Sat, 10 Jul 2004 12:46:39 -0600 Subject: Cisco Catalyst 2950 In-Reply-To: References: Message-ID: I want to check my Cisco Catalyst 2950 my snmp plug but I haven`t been able to do it. Has somebody done it? Thanks ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Sun Jul 11 02:00:07 2004 From: ae at op5.se (Andreas Ericsson) Date: Sun, 11 Jul 2004 02:00:07 +0200 Subject: Some questions about functionality. check_by_ssh. In-Reply-To: <20040708205619.14AA51F4FA1@ws1-2.us4.outblaze.com> References: <20040708205619.14AA51F4FA1@ws1-2.us4.outblaze.com> Message-ID: <40F08307.8060104@op5.se> nemir nemiria wrote: > Hiya. > > Fiurst thing I'd like to know is whether it is possible to nest check_by_ssh in > another check_by_ssh command to check something on a third box? Yes. >>From the nagios server I try running the command > > ./check_by_ssh -H 172.16.16.12 -C "/usr/local/nagios/libexec/check_by_ssh > -H 192.168.16.2 -C "/usr/local/nagios/libexec/check_procs -c 1:3 -C backup"" > > but I get an error that says > > ./check_by_ssh: invalid option -- c > You aren't escaping the quotes. This is basic command line knowledge. Try replaceing the outer quotation marks with single quotes, and if that doesn't work, try "man sh" on the Nagios server... > > Also, is it possible to set up a notification system where it notifies one > person immediately, and then a second person after 15 minutes or so if there > is no acknowledgment and no recovery? > Yes. Read up on escalations in the nagios documentation. > Finally, there is one windows host that requires a reboot once per evening. > This happens at different times each night depending on other circumstances. > Is there a way that I could do something like: > > o) Configure a regular downtime period that would immediately be ended once a > downtime had been detected? > > o) send some sort of signal to the nagios box as part of a reboot script to > set up a 10 minute downtime? Yes. Read up on passing commands to nagios through "the command pipe". It's all very well documented. > > o) do something else that guys on this list that are cleverer than I might > suggest? > Yes. Since it's obviously not important when this host goes down during the night, so long as it is up again in the morning, you can simply turn of checks (by creating a special timeperiod) for the host and everything on it from the time where downtime may first start to whenever you need it to be up again in the morning. > > Regards, > > Nemir > > > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Sun Jul 11 02:20:39 2004 From: ae at op5.se (Andreas Ericsson) Date: Sun, 11 Jul 2004 02:20:39 +0200 Subject: Posting to mssql In-Reply-To: References: Message-ID: <40F087D7.7010203@op5.se> Jack Doyle wrote: > I'm going to use a host/service event handler to post data to Microsoft > SQL 2000 Server database. > > I've created a web page that reads the contents of a form posted to it > and puts that data into the SQL database. Then my eventhandler uses > wget with the --post-data= option to post the data from the nagios > macros to that web page. I'm new, sue me. > There's also sqsh, freely available from www.sqsh.org. > Anways, I need my macros to be url-encoded. Anyone know of a simple > linux command, etc, that can url-encode this data? > Isn't wget capable of doing that for you? If not, use perl. It's the kind of quick'n dirty hack it was designed for, after all. > Jack Doyle, LGC Information Systems > Systems Operations Specialist > 540.776.2025 > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Sun Jul 11 02:28:13 2004 From: ae at op5.se (Andreas Ericsson) Date: Sun, 11 Jul 2004 02:28:13 +0200 Subject: Logs in MS SQL In-Reply-To: References: Message-ID: <40F0899D.1090802@op5.se> Jack Doyle wrote: > Has anyone successfully gotten their Nagios implementation to log to MS > SQL? > Considering that Nagios only runs on Posix-compliant operating systems, and MS SQL only runs on MS OS'es (which is about as far from posix-compliant as you can get), I very much doubt so. A simpler solution would be to make it log to a local MySQL database and have logs transferred every hour or so. If you're really desperate for the functionality, I suggest you look into the freetds code and read up on the Tabular Data Stream (or something) protocol, and write an eventbroker for Nagios. > Jack Doyle, LGC Information Systems > Systems Operations Specialist > 540.776.2025 > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Sun Jul 11 02:31:48 2004 From: ae at op5.se (Andreas Ericsson) Date: Sun, 11 Jul 2004 02:31:48 +0200 Subject: monitoring process times In-Reply-To: <200407092053.57745.rmiller@duskglow.com> References: <200407092053.57745.rmiller@duskglow.com> Message-ID: <40F08A74.1030205@op5.se> Russell Miller wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I want to monitor the time that a certain process has existed, and if it's > above a certain amount of time send a warning. Is there any way to do this > with the stock release, or do I need to hack check_procs? > You need to hack check_procs. > Thanks. > > - --Russell > - -- > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Sun Jul 11 02:38:15 2004 From: ae at op5.se (Andreas Ericsson) Date: Sun, 11 Jul 2004 02:38:15 +0200 Subject: Dev List Still Used? In-Reply-To: <1089468721.10852.5.camel@billabong> References: <1089468721.10852.5.camel@billabong> Message-ID: <40F08BF7.6070101@op5.se> Rhugga wrote: > Is the nagios-dev list still used? Yes. > I subscribed a few days ago and have not received any postings. It's a very low-traffic list, used mainly for spreading and discussing patches and very core-specific things. GUI-, plugin- and configuration-issues pretty much all go to nagios-users. > I was interested in cnotributing to the project... > Please do. Send patches to nagios-devel, and if they're good they wind up in the next release. Ethan is the supreme ruler of the Nagios core though, so he'll review it before it's included. > Thx, > CC -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From pmetzger at bellsouth.net Sun Jul 11 10:17:52 2004 From: pmetzger at bellsouth.net (Paul Metzger) Date: Sun, 11 Jul 2004 03:17:52 -0500 Subject: Memory leak? In-Reply-To: <26134-79301@sneakemail.com> References: <26134-79301@sneakemail.com> Message-ID: <000601c4671f$900e2630$f888a8c0@serendipity> > I've got a new Nagios setup that's been acting up on me now that I've got > most of my hosts being monitored. I have 170 hosts, and about 700 > services being monitored. We are currently monitoring ping, sshd, ntpd > and ftpd on all servers. We also have a few dns, httpd, paging > space(using check_by_ssh) monitors in place. Did you have any trouble with the paths for the check commands? When I set up ours, it would not goto where the plugins were, which according to the docs it should have knows, as they were it said they should be. Went into the config and gave it a specific path and all was well with the world. I'm just curious if that is a bug or if I'm the only person(which due to what my google searching told me I am) that has had that issue. > > Basically what I'm seeing is that when I start up Nagios it utilizes about > 4MB of memory. If I don't restart the process for 24-48 hours then it > will utilize all 1.25GB of memory on our system. I've tried turning off a > couple of the service checks, but it doesn't seem to make any difference. > Anyone have any suggestions or similar experiences? Any more information > needed? I'm not sure on this, but I have a suggestion or two. And a question or two to boot. The thing that sticks out in my mind first is the check timing. I recall seeing something buried in the documentation about it chewing memory if you have it checking too much stuff too fast. I forget right off hand which file you set that in, but you might try slowing down the frequency of the checks. On to the question, did you compile it or did you find a package for it. I found a mandrake package for it, but after installing it, it just didn't work. If you did compile which make options did you use? I know there are several depending on what you are trying to do. I am by no means an expert on it, but I'll try to help you all I can with my limited knowledge on it. Paul ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From CHRJ002 at motorola.com Mon Jul 12 18:27:20 2004 From: CHRJ002 at motorola.com (Chris Jackson-CHRJ002) Date: Mon, 12 Jul 2004 17:27:20 +0100 Subject: NRPE Problems Message-ID: <21A8A2085689D8118A63000E7F206F7B15857A@049701-RACdd7a01d940.baseng.comm.mot.com> Hi, I'm having some difficulty setting up nrpe on my network. I have downloaded and compiled the client on the remote host in question with ./configure --enable-ssl I have followed all the instructions to make the nrpe daemon run with xinetd and netstat -pta shows nrpe listening. I set nagios host to use check_nrpe to execute some plugins I copied to the remote box but I'm getting the error Could not complete SSL handshake. I'm sure its something to do with me missing out some SSL configuration somewhere but I can't see where I've gone wrong. I'm not really clued up on SSL and found the instructions for installing with SSL support a bit confusing. Can anyone help me troubleshoot and work out why the handshake keeps failing? Thanks in advance, Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdoyle at lewisgaleclinic.com Mon Jul 12 18:49:35 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Mon, 12 Jul 2004 12:49:35 -0400 Subject: Logs in MS SQL Message-ID: Happy to explain... What I mean is I would like to have log information stored in a MS SQL 2000 server. I've tried eventhandlers, but the script I wrote for some reason will not run wget. Here's why I'm running wget... Since I didn't know a better way to get data from Nagios to MS SQL, I created a web page on my SQL server. It's just like a form processing page on a website, except there's no form. The data submitted to that page goes into a database that I created to keep nagios info. My event handler, sql_AddRecord, gets the Nagios Macros passed to it. I'm using it as a global event handler for services and hosts. It looks like this: ----- #!/bin/sh # # Write Record to SQL server. # recordtype=$(/usr/lib/nagios/plugins/eventhandlers/encode.pl "$1") timet=$(/usr/lib/nagios/plugins/eventhandlers/encode.pl "$2") hostname=$(/usr/lib/nagios/plugins/eventhandlers/encode.pl "$3") hostalias=$(/usr/lib/nagios/plugins/eventhandlers/encode.pl "$4") hostaddress=$(/usr/lib/nagios/plugins/eventhandlers/encode.pl "$5") hoststate=$(/usr/lib/nagios/plugins/eventhandlers/encode.pl "$6") statetype=$(/usr/lib/nagios/plugins/eventhandlers/encode.pl "$7") attempt=$(/usr/lib/nagios/plugins/eventhandlers/encode.pl "$8") plugout=$(/usr/lib/nagios/plugins/eventhandlers/encode.pl "$9") executiontime=$(/usr/lib/nagios/plugins/eventhandlers/encode.pl "${10}") latency=$(/usr/lib/nagios/plugins/eventhandlers/encode.pl "${11}") lastcheck=$(/usr/lib/nagios/plugins/eventhandlers/encode.pl "${12}") laststatechange=$(/usr/lib/nagios/plugins/eventhandlers/encode.pl "${13}") # Remove file created last time rm -rfv /usr/lib/nagios/plugins/eventhandlers/addrecord.asp # What type of record are we creating? case "$1" in HOST) #echo timet $timet hostname $hostname hostalias $hostalias hostaddress $hostaddress hoststate $hoststate statetype $statetype attempt $attempt plugout $plugout executiontime $executiontime latency $latency lastcheck $lastcheck laststatechange $laststatechange | mail jdoyle at lewisgaleclinic.com wget --background --no-clobber --append-output=/tmp/wget.log --post-data="timet=$timet&recordtype=$recordtype&hostname=$hostname&host alias=$hostalias&hostaddress=$hostaddress&hoststate=$hoststate&statetype =$statetype&attempt=$attempt&plugout=$plugout&executiontime=$executionti me&latency=$latency&lastcheck=$lastcheck&laststatechange=$laststatechang e" http://sql/nagios/addrecord.asp ;; SERVICE) servicedesc=$(/usr/lib/nagios/plugins/eventhandlers/encode.pl "${14}") servicestate=$(/usr/lib/nagios/plugins/eventhandlers/encode.pl "${15}") #echo timet $timet hostname $hostname hostalias $hostalias hostaddress $hostaddress hoststate $hoststate statetype $statetype attempt $attempt plugout $plugout executiontime $executiontime latency $latency lastcheck $lastcheck laststatechange $laststatechange servicedesc $servicedesc servicestate $servicestate | mail jdoyle at lewisgaleclinic.com wget --background --no-clobber --append-output=/tmp/wget.log --post-data="timet=$timet&recordtype=$recordtype&hostname=$hostname&host alias=$hostalias&hostaddress=$hostaddress&hoststate=$hoststate&statetype =$statetype&attempt=$attempt&plugout=$plugout&executiontime=$executionti me&latency=$latency&lastcheck=$lastcheck&laststatechange=$laststatechang e&servicedesc=$servicedesc&servicestate=$servicestate" http://sql/nagios/addrecord.asp ;; esac exit 0 ----- encode.pl is a file that will take the string and return a url-encoded version of the string. That way it will post properly to my page. Here are my command definitions for my global event handlers: ----- define command{ command_name log_host_change command_line /usr/lib/nagios/plugins/eventhandlers/sql_AddRecord "HOST" "$TIMET$" "$HOSTNAME$" "$HOSTALIAS$" "$HOSTADDRESS$" "$HOSTSTATE$" "$STATETYPE$" "$HOSTATTEMPT$" "$OUTPUT$" "$EXECUTIONTIME$" "$LATENCY$" "$LASTCHECK$" "$LASTSTATECHANGE$" } define command{ command_name log_service_change command_line /usr/lib/nagios/plugins/eventhandlers/sql_AddRecord "SERVICE" "$TIMET$" "$HOSTNAME$" "$HOSTALIAS$" "$HOSTADDRESS$" "$HOSTSTATE$" "$STATETYPE$" "$SERVICEATTEMPT$" "$OUTPUT$" "$EXECUTIONTIME$" "$LATENCY$" "$LASTCHECK$" "$LASTSTATECHANGE$" "$SERVICEDESC$" "$SERVICESTATE$" ----- In the main script, you can see where I have commented a line that I used for testing. It tested fine, it echoed all of the url-encoded macros and piped them to my email. If, after the wget line, I add "| mail jdoyle at lewisgaleclinic.com" I get a blank email when the event handler runs. wget just doesn't seem to work. If I run the main script from the command line with some made up data to fill the variables, it works fine, and adds the data to the sql server. I'm so close, but can't figure out why wget does nothing when run from the eventhandler. Jack Doyle, LGC Information Systems Systems Operations Specialist 540.776.2025 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdoyle at lewisgaleclinic.com Mon Jul 12 20:21:02 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Mon, 12 Jul 2004 14:21:02 -0400 Subject: Logs in MS SQL Message-ID: Wish that would work for me... Unfortunately, I'm not that great of a programmer. :) Jack Doyle, LGC Information Systems Systems Operations Specialist 540.776.2025 ----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Saturday, July 10, 2004 8:28 PM To: Nagios-Users List Subject: Re: [Nagios-users] Logs in MS SQL Jack Doyle wrote: > Has anyone successfully gotten their Nagios implementation to log to > MS SQL? > Considering that Nagios only runs on Posix-compliant operating systems, and MS SQL only runs on MS OS'es (which is about as far from posix-compliant as you can get), I very much doubt so. A simpler solution would be to make it log to a local MySQL database and have logs transferred every hour or so. If you're really desperate for the functionality, I suggest you look into the freetds code and read up on the Tabular Data Stream (or something) protocol, and write an eventbroker for Nagios. > Jack Doyle, LGC Information Systems > Systems Operations Specialist > 540.776.2025 > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From lzhang at lbl.gov Mon Jul 12 21:21:33 2004 From: lzhang at lbl.gov (Ling Zhang) Date: Mon, 12 Jul 2004 12:21:33 -0700 Subject: why the Ping service is still being checked? Message-ID: <000401c46845$716568c0$b5030380@gigattcp> Hi, there, I have configured Nagios to monitor the HTTP service on a server that does not respond to Pings. To avoid letting nagios assuming the server host is down, I specified nagios to check host status with a check-dummy command, which will always return with an "UP" status. However, although never defined anywhere in my configuration files, nagios kept checking the "PING" service on that server and reported "ping service" down, even the host status is "UP" and the HTTP service on that server is "OK". Here is the host definition and service definition of that specific server: ################ host definition###################### define host { use some-host-tmpl host_name server.abcd.com alias server.abcd.com address 1.2.3.4 check_command check-dummy ;always return "up" parents parent.abcd.com } ################ service Definition ################## define service { use default-service host_name server.abcd.com service_description HTTP check_command check_HTTP } So, any idea why is that? Thanks. Ling ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ThomasH.Wood at zcsterling.com Mon Jul 12 22:11:54 2004 From: ThomasH.Wood at zcsterling.com (Wood, Thomas H. (UNIX)) Date: Mon, 12 Jul 2004 16:11:54 -0400 Subject: Setting status of returned plugin output Message-ID: <583E01FC7F0C994EAA2CC39253B4CDF0022F7AC8@atlexc01.zcs.corp> Ok, so I wrote myself a little wrapper for the process I was trying to check just to see how it would work. I've been calling this via check_by_ssh and it works about half the time. The rest of the time Nagios reads it as unknown (even though it's returning exit 0) and trips status unknown. Here's the code. Please no flaming; this isn't production quality. The only difference I've seen between when Nagios reads the status code and doesn't is that it picks up the status ok first time. Whenever it reports status unknown the service reports 3/3 tries. Also, I've been watching the actual process all day in another window. It really is running :) Any comments or thoughts on this interesting problem would be appreciated. Thomas Wood process_to_check="/usr/openv/netbackup/bin/bprd" output=`/usr/bin/ps -ef | /usr/bin/grep $process_to_check | /usr/bin/grep -v grep | /usr/bin/cut -f28 -d ' '` if [ $output == $process_to_check ]; then echo "Ok: BPRD found." exit 0; else echo "BPRD NOT FOUND!" exit 3; fi -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Friday, July 09, 2004 2:04 PM To: Wood, Thomas H. (UNIX); nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Setting status of returned plugin output You'll need to create a wrapper for bssp. http://nagiosplug.sourceforge.net/developer-guidelines.html -- Marc ________________________________ From: Wood, Thomas H. (UNIX) [mailto:ThomasH.Wood at zcsterling.com] Sent: Friday, July 09, 2004 12:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Setting status of returned plugin output I've been looking through the nagios and nagios plugin doc trying to determine how to configure nagios such that output returned by a plugin is good. Here's the rub: I'm trying to determine whether a process on a remote Solaris box is running. I haven't messed around with nrpe on that system yet and have access already in place via key exchange. So I use check_by_ssh to connect and run bssp -a | grep bprd (it's a netbackup thing). If I get back something like "root 2676 1 0 Jul 07 ? 0:03 /usr/openv/netbackup/bin/bprd" then I know the process is running and my backups won't fail. Right now Nagios flags that as unknown status and clutters up my pristine tactical view with a flag. So how do I get Nagios to recognize this an OK state? Thanks Thomas Wood ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Rob.Gallegly at usfsi.com Mon Jul 12 23:51:05 2004 From: Rob.Gallegly at usfsi.com (Gallegly, Rob) Date: Mon, 12 Jul 2004 17:51:05 -0400 Subject: ./configure step in Nagios setup Message-ID: I am having some difficulty setting up Nagios in Fedora. When I try to run the configure script using the directories suggested in the install instructions, I am receiving two warnings and one error. The warnings I receive are for the prefix and the cgi-bin paths I set (which are the exact one suggested in the Nagios documentation, not "prefix" and the sort). I receive the error "Invalid Host Type". I have confirmed that both directories exist (along with the group and user, etc). Then, I receive an error saying that I can only configure for one host and one target at a time. I am not sure why this is happening, but if anyone can provide any suggestions, I would greatly appreciate it. Thanks in advance. Rob Gallegly Hotel Technology Group U.S. Franchise Systems 888-215-9044 hotel.support at usfsi.com rob.gallegly at usfsi.com ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From jhmartin at toger.us Tue Jul 13 00:04:43 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 12 Jul 2004 15:04:43 -0700 Subject: ./configure step in Nagios setup In-Reply-To: References: Message-ID: <20040712220443.GI4331@zippy.members.linode.com> Those errors sound unrelated to the prefix and cgi-bin paths options of configure; can you please send the full configure line you are using and the exact text of the output? Thanks, -Jason Martin On Mon, Jul 12, 2004 at 05:51:05PM -0400, Gallegly, Rob wrote: > I am having some difficulty setting up Nagios in Fedora. > > When I try to run the configure script using the directories suggested in > the install instructions, I am receiving two warnings and one error. > > The warnings I receive are for the prefix and the cgi-bin paths I set (which > are the exact one suggested in the Nagios documentation, not "prefix" and > the sort). I receive the error "Invalid Host Type". I have confirmed that > both directories exist (along with the group and user, etc). > > Then, I receive an error saying that I can only configure for one host and > one target at a time. > > I am not sure why this is happening, but if anyone can provide any > suggestions, I would greatly appreciate it. > > Thanks in advance. > > Rob Gallegly > Hotel Technology Group > U.S. Franchise Systems > 888-215-9044 > hotel.support at usfsi.com > rob.gallegly at usfsi.com > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 -- Excited, Spock opens a box full of pointy ear tips. 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 JStork at providencehealth.bc.ca Tue Jul 13 00:29:29 2004 From: JStork at providencehealth.bc.ca (Stork, Johnny [PH]) Date: Mon, 12 Jul 2004 15:29:29 -0700 Subject: Problem with the check_nagios_db.pl plugin Message-ID: <9BA1D6F859B535448073EF58517BC97C09A42758@phcexch.phc.bc.ca> Recently the check_nagios_db.pl command seems to have stopped working and I have only made minor changes to the cgi.cfg (added new users to authentication). When I try to run the command from the shell I get the following output # perl /usr/local/nagios/libexec/check_nagios_db.pl ' (2) at /usr/local/nagios/libexec/check_nagios_db.pl line 54 Any suggestions? ----------------------------------------------------------- Johnny Stork Database Developer & Statistical Analyst Provincial Blood Coordinating Office ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From lzhang at lbl.gov Tue Jul 13 00:50:02 2004 From: lzhang at lbl.gov (Ling Zhang) Date: Mon, 12 Jul 2004 15:50:02 -0700 Subject: why the Ping service is still being checked? In-Reply-To: <40F305EA.3000707@gurugeek.com> References: <40F305EA.3000707@gurugeek.com> Message-ID: <02ab01c46862$92696180$b5030380@gigattcp> No "ping" service was defined for that server. I am very sure about that. It almost looks like the Ping service is checked by default, unless I turned it off some where. Ling -----Original Message----- From: Jeff Rodriguez [mailto:nagios-users at gurugeek.com] Sent: Monday, July 12, 2004 2:43 PM To: Ling Zhang Subject: Re: [Nagios-users] why the Ping service is still being checked? You've probably created a "ping" service. Search your services.cfg for a service named "ping" Jeff Ling Zhang wrote: > Hi, there, > > I have configured Nagios to monitor the HTTP service on a server that > does not respond to Pings. To avoid letting nagios assuming the server > host is down, I specified nagios to check host status with a check-dummy > command, which will always return with an "UP" status. However, although > never defined anywhere in my configuration files, nagios kept checking > the "PING" service on that server and reported "ping service" down, even > the host status is "UP" and the HTTP service on that server is "OK". > > Here is the host definition and service definition of that specific > server: > > ################ host definition###################### > > define host { > use some-host-tmpl > host_name server.abcd.com > alias server.abcd.com > address 1.2.3.4 > check_command check-dummy ;always return > "up" > parents parent.abcd.com > } > > ################ service Definition ################## > > define service { > use default-service > host_name server.abcd.com > service_description HTTP > check_command check_HTTP > } > > So, any idea why is that? > > Thanks. > > Ling > > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From lzhang at lbl.gov Tue Jul 13 01:13:01 2004 From: lzhang at lbl.gov (Ling Zhang) Date: Mon, 12 Jul 2004 16:13:01 -0700 Subject: why the Ping service is still being checked? In-Reply-To: <40F316F3.9070009@gurugeek.com> References: <40F316F3.9070009@gurugeek.com> Message-ID: <02ac01c46865$c74c79c0$b5030380@gigattcp> Nope. I did not define a universal ping service and the grep didn't return with any surprises. Ling -----Original Message----- From: Jeff Rodriguez [mailto:nagios-users at gurugeek.com] Sent: Monday, July 12, 2004 3:56 PM To: Ling Zhang Subject: Re: [Nagios-users] why the Ping service is still being checked? A ping /service/ does not exist by default. I'm guessing you created one with a host_name of * which will ping everything. grep -i ping services.cfg Any output? Jeff Ling Zhang wrote: >No "ping" service was defined for that server. I am very sure about >that. It almost looks like the Ping service is checked by default, >unless I turned it off some where. > >Ling > > >-----Original Message----- >From: Jeff Rodriguez [mailto:nagios-users at gurugeek.com] >Sent: Monday, July 12, 2004 2:43 PM >To: Ling Zhang >Subject: Re: [Nagios-users] why the Ping service is still being checked? > >You've probably created a "ping" service. Search your services.cfg for a >service >named "ping" > >Jeff > >Ling Zhang wrote: > > >>Hi, there, >> >>I have configured Nagios to monitor the HTTP service on a server that >>does not respond to Pings. To avoid letting nagios assuming the server >>host is down, I specified nagios to check host status with a >> >> >check-dummy > > >>command, which will always return with an "UP" status. However, >> >> >although > > >>never defined anywhere in my configuration files, nagios kept checking >>the "PING" service on that server and reported "ping service" down, >> >> >even > > >>the host status is "UP" and the HTTP service on that server is "OK". >> >>Here is the host definition and service definition of that specific >>server: >> >>################ host definition###################### >> >>define host { >> use some-host-tmpl >> host_name server.abcd.com >> alias server.abcd.com >> address 1.2.3.4 >> check_command check-dummy ;always return >>"up" >> parents parent.abcd.com >>} >> >>################ service Definition ################## >> >>define service { >> use default-service >> host_name server.abcd.com >> service_description HTTP >> check_command check_HTTP >>} >> >>So, any idea why is that? >> >>Thanks. >> >>Ling >> >> >> >> >>------------------------------------------------------- >>This SF.Net email sponsored by Black Hat Briefings & Training. >>Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >>digital self defense, top technical experts, no vendor pitches, >>unmatched networking opportunities. Visit www.blackhat.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 >> >> > > > > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From bench at silentmedia.com Tue Jul 13 01:21:14 2004 From: bench at silentmedia.com (Ben) Date: Mon, 12 Jul 2004 16:21:14 -0700 (PDT) Subject: Database stores and distributed monitoring Message-ID: I'm fairly new to Nagios, but I installed it for my home network a week or two ago and I liked it a lot. So much so that I jumped at the chance to use it for monitoring 2500 of my servers at work. Needless to say, I quickly found out that monitoring 2500 servers is a little more demanding of resources than monitoring 6. :) So, to try to keep the CGI performance from sucking so badly, I thought moving the data store into postgres and out of flat files would help. And it did, but not enough. So now, even though I'm using a quad xeon with 4GB of ram for the nagios machine (the database lives elsewhere), now I'm thinking that maybe I should set up a distributed monitoring scheme too. But I'm a bit confused. If the distributed monitoring software can write data into a database, and the CGIs read data out of the database.... do I need to use the nsca tool to do passive service checks? ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From listbox at azsupersport.com Tue Jul 13 01:28:06 2004 From: listbox at azsupersport.com (Mike B) Date: Mon, 12 Jul 2004 16:28:06 -0700 Subject: Notification after host down 10 minutes once only Message-ID: <3E234F6CB3F7450BB6B7A49D5111CD.MAI@CCU-MWV.com> I want to only send an email notification once a host has been down for 10 minutes and then to only send one email for that host unless it comes back up again. In reading the documentation I can't see a way to make this happen. Anybody know of the way to set this up? Thanks, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Tue Jul 13 01:58:12 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 13 Jul 2004 01:58:12 +0200 Subject: Notification after host down 10 minutes once only In-Reply-To: <3E234F6CB3F7450BB6B7A49D5111CD.MAI@CCU-MWV.com> References: <3E234F6CB3F7450BB6B7A49D5111CD.MAI@CCU-MWV.com> Message-ID: <40F32594.7060201@op5.se> Mike B wrote: > I want to only send an email notification once a host has been down for 10 > minutes and then to only send one email for that host unless it comes back > up again. In reading the documentation I can't see a way to make this > happen. > > Anybody know of the way to set this up? > Work some magic with escalations. It's a bit of a hack, but will do what you want. Read about it in the documentation. > > > Thanks, > > Mike > > -- Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Tue Jul 13 02:10:40 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 13 Jul 2004 02:10:40 +0200 Subject: Database stores and distributed monitoring In-Reply-To: References: Message-ID: <40F32880.5060502@op5.se> Ben wrote: > I'm fairly new to Nagios, but I installed it for my home network a week or > two ago and I liked it a lot. So much so that I jumped at the chance to > use it for monitoring 2500 of my servers at work. Needless to say, I > quickly found out that monitoring 2500 servers is a little more demanding > of resources than monitoring 6. :) > > So, to try to keep the CGI performance from sucking so badly, I thought > moving the data store into postgres and out of flat files would help. You could try applying the chained hash patch. It makes a great speedup. It's in by default in 2.0, which is stable enough for us to run in production. > And > it did, but not enough. So now, even though I'm using a quad xeon with 4GB > of ram for the nagios machine (the database lives elsewhere), now I'm > thinking that maybe I should set up a distributed monitoring scheme too. > Move the database to reside on the same server as Nagios runs on. Unless you're using embedded perl (which is really buggy) it shouldn't be a problem at all. > But I'm a bit confused. If the distributed monitoring software can write > data into a database, and the CGIs read data out of the database.... do I > need to use the nsca tool to do passive service checks? > Not necessarily, but it's the only way to make configuration sit on only one host. That won't do any good with regards to the CGI's though, since it still has to parse the same amount of information. On the other hand; I can't imagine any one person being responsible for all those 2500 servers, so it might be prudent to have several separate installations of Nagios. Large networks will always be a bit sluggish to display in the webinterface because of the sheer amount of data it needs to read every time. The price large companies pay for success, I guess. -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From benny at bennyvision.com Tue Jul 13 02:46:15 2004 From: benny at bennyvision.com (C. Bensend) Date: Mon, 12 Jul 2004 19:46:15 -0500 (CDT) Subject: Notification after host down 10 minutes once only In-Reply-To: <40F32594.7060201@op5.se> References: <3E234F6CB3F7450BB6B7A49D5111CD.MAI@CCU-MWV.com> <40F32594.7060201@op5.se> Message-ID: <57657.63.227.74.41.1089679597.squirrel@webmail.stinkweasel.net> >> I want to only send an email notification once a host has been down for >> 10 >> minutes and then to only send one email for that host unless it comes >> back >> up again. In reading the documentation I can't see a way to make this >> happen. >> >> Anybody know of the way to set this up? >> > > Work some magic with escalations. It's a bit of a hack, but will do what > you want. Read about it in the documentation. Ummmmmm... Am I missing something? In the host definition: max_check_attempts 60 notification_interval 0 The max_check_attempts should be about 10 minutes, and a notification_interval of 0 will make it alert once only. Isn't that's what's desired? If so, why mess with escalations (honest question)? Benny -- "You were doing well until everyone died." -- "God", Futurama ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Philipp.Sand at sycor.de Tue Jul 13 07:21:06 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 13 Jul 2004 07:21:06 +0200 Subject: Checking MSSQL Server via ODBC Connection Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E068E2C@SYGOMAIL.GOE.AD.SYCOR.DE> Hello list, I got some ODBC Clients for Linux, and want to do some checks on an MSSQL Server via these ODBC Connections. These checks are basically some selects on the databse to look for deadlocks etc... I want to run those checks from the Nagios Server, so I don't have to install a client or so on the MSSQL Server. Has anyone done this before, or does anyone have a plugin or a solution already prepared? 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 - 2000 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. ************************************************ 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: From verdon at cict.fr Tue Jul 13 09:41:56 2004 From: verdon at cict.fr (carole verdon) Date: Tue, 13 Jul 2004 09:41:56 +0200 Subject: NRPE Problems In-Reply-To: <21A8A2085689D8118A63000E7F206F7B15857A@049701-RACdd7a01d940.baseng.comm.mot.com> References: <21A8A2085689D8118A63000E7F206F7B15857A@049701-RACdd7a01d940.baseng.comm.mot.com> Message-ID: <40F39244.50701@cict.fr> It seems to me that your nrpe on nagios server is compiled with ssl. Is right? If it's the case, you can use, i believe, the '-n' option of check_nrpe to disable ssl. Otherwise, you must compile again nrpe on nagios server with '--enable-ssl' option. Then, you can call the new check_nrpe as check_nrpe_nossl to not confuse with the check_nrpe compiling with ssl support. I see also that you copied some plugins on remote host. Is it the same version of OS? Normally, you must compile plugins directly on remote host. Perhaps, the error comes from there. I hope that help you. Carole. Chris Jackson-CHRJ002 wrote: > Hi, > > I'm having some difficulty setting up nrpe on my network. > > I have downloaded and compiled the client on the remote host in > question with ./configure --enable-ssl > > I have followed all the instructions to make the nrpe daemon run with > xinetd and netstat -pta shows nrpe listening. I set nagios host to > use check_nrpe to execute some plugins I copied to the remote box but > I'm getting the error Could not complete SSL handshake. I'm sure its > something to do with me missing out some SSL configuration somewhere > but I can't see where I've gone wrong. > > I'm not really clued up on SSL and found the instructions for > installing with SSL support a bit confusing. Can anyone help me > troubleshoot and work out why the handshake keeps failing? > > Thanks in advance, > > Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From fabio at link.it Tue Jul 13 09:48:44 2004 From: fabio at link.it (Fabio Lo Votrico) Date: Tue, 13 Jul 2004 09:48:44 +0200 Subject: Multiple output lines in plugins? In-Reply-To: <1089395558.4359.61.camel@pel> References: <40ECEBF1.70404@epost.de> <40EEC322.6050308@bergeron.com> <1089395558.4359.61.camel@pel> Message-ID: <1089704924.7858.1.camel@fire.sede-pisa.link.it> On Fri, 2004-07-09 at 19:52, Sean Dilda wrote: > On Fri, 2004-07-09 at 12:09, Christopher M Bergeron wrote: > > Nicole, you can "trick" nagios by putting in "
" where you want each > > line to break. Like this: > > Temperatures OK
CPU Planar 38.0 Celsius
Ambient 26.0 > > Celsius
BP Bottom Temp 23.0 Celsius > > > > nsca will see it as one line, and when it renders it in the browser, the > >
will be a new line. (
is html markup for a line break). > > If you're doing this, you'll want to make pass all your notifications > through a filter to clean that up. Otherwise you'll get ugly > emails/pages. I'm doing exactly what Christopher is suggesting, but I don't know _where_ to filter the output and translate
in \n Nagios is stripping "<" and ">" out of it and I'd like to maintain this behaviour in general. So I need to translate before Nagios do its filtering. Is there any way to do this? -- Fabio ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From verdon at cict.fr Tue Jul 13 10:28:56 2004 From: verdon at cict.fr (carole verdon) Date: Tue, 13 Jul 2004 10:28:56 +0200 Subject: why the Ping service is still being checked? In-Reply-To: <02ac01c46865$c74c79c0$b5030380@gigattcp> References: <02ac01c46865$c74c79c0$b5030380@gigattcp> Message-ID: <40F39D48.4040504@cict.fr> Is the definition of template 'some-host-tmpl' not contain a check_command like check_host_alive? If it's the case, you can look your command.cfg file and verify if a command using ping isn't definied. Ling Zhang wrote: >Nope. I did not define a universal ping service and the grep didn't >return with any surprises. > >Ling > > >-----Original Message----- >From: Jeff Rodriguez [mailto:nagios-users at gurugeek.com] >Sent: Monday, July 12, 2004 3:56 PM >To: Ling Zhang >Subject: Re: [Nagios-users] why the Ping service is still being checked? > >A ping /service/ does not exist by default. I'm guessing you created one > >with a host_name of * which will ping everything. > >grep -i ping services.cfg > >Any output? > >Jeff > >Ling Zhang wrote: > > > >>No "ping" service was defined for that server. I am very sure about >>that. It almost looks like the Ping service is checked by default, >>unless I turned it off some where. >> >>Ling >> >> >>-----Original Message----- >>From: Jeff Rodriguez [mailto:nagios-users at gurugeek.com] >>Sent: Monday, July 12, 2004 2:43 PM >>To: Ling Zhang >>Subject: Re: [Nagios-users] why the Ping service is still being >> >> >checked? > > >>You've probably created a "ping" service. Search your services.cfg for >> >> >a > > >>service >>named "ping" >> >>Jeff >> >>Ling Zhang wrote: >> >> >> >> >>>Hi, there, >>> >>>I have configured Nagios to monitor the HTTP service on a server that >>>does not respond to Pings. To avoid letting nagios assuming the server >>>host is down, I specified nagios to check host status with a >>> >>> >>> >>> >>check-dummy >> >> >> >> >>>command, which will always return with an "UP" status. However, >>> >>> >>> >>> >>although >> >> >> >> >>>never defined anywhere in my configuration files, nagios kept checking >>>the "PING" service on that server and reported "ping service" down, >>> >>> >>> >>> >>even >> >> >> >> >>>the host status is "UP" and the HTTP service on that server is "OK". >>> >>>Here is the host definition and service definition of that specific >>>server: >>> >>>################ host definition###################### >>> >>>define host { >>> use some-host-tmpl >>> host_name server.abcd.com >>> alias server.abcd.com >>> address 1.2.3.4 >>> check_command check-dummy ;always return >>>"up" >>> parents parent.abcd.com >>>} >>> >>>################ service Definition ################## >>> >>>define service { >>> use default-service >>> host_name server.abcd.com >>> service_description HTTP >>> check_command check_HTTP >>>} >>> >>>So, any idea why is that? >>> >>>Thanks. >>> >>>Ling >>> >>> >>> >>> >>>------------------------------------------------------- >>>This SF.Net email sponsored by Black Hat Briefings & Training. >>>Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >>>digital self defense, top technical experts, no vendor pitches, >>>unmatched networking opportunities. Visit www.blackhat.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 >>> >>> >>> >>> >> >> >> >> >> > > > >------------------------------------------------------- >This SF.Net email sponsored by Black Hat Briefings & Training. >Attend Black Hat Briefings & Training, Las Vegas July 24-29 - >digital self defense, top technical experts, no vendor pitches, >unmatched networking opportunities. Visit www.blackhat.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 > > > > -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.borsani at it.net Tue Jul 13 11:13:55 2004 From: m.borsani at it.net (Marco Borsani) Date: Tue, 13 Jul 2004 11:13:55 +0200 Subject: chech_http on a no-standard port In-Reply-To: References: Message-ID: MessageHi guys! Do you know if is it possible to write in the "Status information" (present in the Service State Information) the port number where I am performing the check? I have the problem only when the "Current Status" is NOT OK, because the message I read is: "Socket timeout after 10 seconds". If it is necessary, I will modify the source files .... but I don't know which ones ! Regards Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Tue Jul 13 11:54:37 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 13 Jul 2004 11:54:37 +0200 Subject: Multiple output lines in plugins? In-Reply-To: <1089704924.7858.1.camel@fire.sede-pisa.link.it> References: <40ECEBF1.70404@epost.de> <40EEC322.6050308@bergeron.com> <1089395558.4359.61.camel@pel> <1089704924.7858.1.camel@fire.sede-pisa.link.it> Message-ID: <40F3B15D.1050807@op5.se> Fabio Lo Votrico wrote: > On Fri, 2004-07-09 at 19:52, Sean Dilda wrote: > >>On Fri, 2004-07-09 at 12:09, Christopher M Bergeron wrote: >> >>>Nicole, you can "trick" nagios by putting in "
" where you want each >>>line to break. Like this: >>>Temperatures OK
CPU Planar 38.0 Celsius
Ambient 26.0 >>>Celsius
BP Bottom Temp 23.0 Celsius >>> >>>nsca will see it as one line, and when it renders it in the browser, the >>>
will be a new line. (
is html markup for a line break). >> >>If you're doing this, you'll want to make pass all your notifications >>through a filter to clean that up. Otherwise you'll get ugly >>emails/pages. > > > I'm doing exactly what Christopher is suggesting, but I don't know > _where_ to filter the output and translate
in \n > Nagios is stripping "<" and ">" out of it and I'd like to maintain this > behaviour in general. > So I need to translate before Nagios do its filtering. > Is there any way to do this? > No, but it should be trivial to make Nagios replace
with '\n' before stripping the illegal_macro_output_chars. -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From verdon at cict.fr Tue Jul 13 11:56:19 2004 From: verdon at cict.fr (carole verdon) Date: Tue, 13 Jul 2004 11:56:19 +0200 Subject: chech_http on a no-standard port In-Reply-To: References: Message-ID: <40F3B1C3.4090607@cict.fr> To simply things, you can define a service_name like "HTTP port 2080" and so when you receive a notification you known what port it is. It's what i do. Here an example of notification which i received the last month: ***** Nagios ***** Notification Type: PROBLEM Service: HTTP port 2080 Host: vae Address: X.X.X.X State: CRITICAL Date/Time: Wed Jun 30 15:11:55 MEST 2004 Additional Info: CRITICAL - Socket timeout after 10 seconds Carole. Marco Borsani wrote: > Hi guys! > > Do you know if is it possible to write in the "Status information" > (present in the Service State Information) the port number where I am > performing the check? > > I have the problem only when the "Current Status" is NOT OK, because > the message I read is: "Socket timeout after 10 seconds". > > If it is necessary, I will modify the source files .... but I don't > know which ones ! > > Regards > > Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Tue Jul 13 11:57:20 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 13 Jul 2004 11:57:20 +0200 Subject: chech_http on a no-standard port In-Reply-To: References: Message-ID: <40F3B200.1080302@op5.se> Marco Borsani wrote: > MessageHi guys! > > Do you know if is it possible to write in the "Status information" (present > in the Service State Information) the port number where I am performing the > check? > Write it in the service-description. That's the usual way to go. > I have the problem only when the "Current Status" is NOT OK, because the > message I read is: "Socket timeout after 10 seconds". > > If it is necessary, I will modify the source files .... but I don't know > which ones ! > That would be check_http.c or utils.c in the plugin-package. > Regards > > Marco > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From ae at op5.se Tue Jul 13 12:01:44 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 13 Jul 2004 12:01:44 +0200 Subject: Notification after host down 10 minutes once only In-Reply-To: <57657.63.227.74.41.1089679597.squirrel@webmail.stinkweasel.net> References: <3E234F6CB3F7450BB6B7A49D5111CD.MAI@CCU-MWV.com> <40F32594.7060201@op5.se> <57657.63.227.74.41.1089679597.squirrel@webmail.stinkweasel.net> Message-ID: <40F3B308.5050309@op5.se> C. Bensend wrote: >>>I want to only send an email notification once a host has been down for >>>10 >>>minutes and then to only send one email for that host unless it comes >>>back >>>up again. In reading the documentation I can't see a way to make this >>>happen. >>> >>>Anybody know of the way to set this up? >>> >> >>Work some magic with escalations. It's a bit of a hack, but will do what >>you want. Read about it in the documentation. > > > Ummmmmm... Am I missing something? In the host definition: > > max_check_attempts 60 > notification_interval 0 > > The max_check_attempts should be about 10 minutes, and a > notification_interval of 0 will make it alert once only. Isn't > that's what's desired? If so, why mess with escalations (honest > question)? > Because host checks are fired in a serialized manner without delay and while holding service checks back. Making one host check take 10 minutes would cause a serious interruption in normal monitoring logic. max_check_attempts also isn't a very good way of keeping time, since the plugin can fail at an earlier stage depending on how its done and how the network looks. > Benny > > -- Sourcerer / Andreas Ericsson OP5 AB +46 (0)733 709032 andreas.ericsson at op5.se ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From verdon at cict.fr Tue Jul 13 15:15:18 2004 From: verdon at cict.fr (carole verdon) Date: Tue, 13 Jul 2004 15:15:18 +0200 Subject: NRPE Problems In-Reply-To: <21A8A2085689D8118A63000E7F206F7B158587@049701-RACdd7a01d940.baseng.comm.mot.com> References: <21A8A2085689D8118A63000E7F206F7B158587@049701-RACdd7a01d940.baseng.comm.mot.com> Message-ID: <40F3E066.8050407@cict.fr> Have you try to execute this from command line of nagios server : ./check_nrpe -H hostaddress -n -c check_load I note that it misses a space after the '-c' option in : command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -n -c$ARG1$ Perhaps that l error comes from there. Chris Jackson-CHRJ002 wrote: > Hi Carole, > > Here is the information you requested, > > From services.cfg > > define service{ > use linux-servers > host_name "server-name" (sorry, company > policy!!!) > contact_groups ecrl-admin > notification_options c,u,r > service_description LOAD_NRPE > check_command check_nrpe_nossl!check_load > } > define service{ > use linux-servers > host_name "server-name" > contact_groups ecrl-admin > notification_options c,u,r > service_description DISK_NRPE > check_command check_nrpe_nossl!check_disk > } > define service{ > use linux-servers > host_name "server-name" > contact_groups ecrl-admin > notification_options c,u,r > service_description ZOMBIE_PROCS_NRPE > check_command > check_nrpe_nossl!check_zombie_procs > } > define service{ > use linux-servers > host_name "server-name" > contact_groups ecrl-admin > notification_options c,u,r > service_description TOTAL_PROCS_NRPE > check_command check_nrpe_nossl!check_total_procs > } > > From checkcommands.cfg > > define command{ > command_name check_nrpe_nossl > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -n -c$ARG1$ > } > > I included the nossl version which is working more than the one trying > to use SSL. The commands called relate to the commands in the > nrpe.cfg file, these are included below: > > # The following examples use hardcoded command arguments... > > command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 > command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c > 30,25,20 > command[check_disk]=/usr/local/nagios/libexec/check_disk -w 10 -c 5 -X > nfs > command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 > -c 10 -s Z > command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w > 150 -c 200 > > As I said before, the commands above when run from the command line of > the remote host work perfectly. If you need any more information > please let me know, > > Many thanks for your help, > > Chris > > > -----Original Message----- > *From:* carole verdon [mailto:verdon at cict.fr] > *Sent:* 13 July 2004 13:21 > *To:* Chris Jackson-CHRJ002 > *Subject:* Re: [Nagios-users] NRPE Problems > > Can you post your command definition of check_nrpe in command.cfg > and the services definition which using check_nrpe in service.cfg, > please? > > It's perhaps a history of arguments. > > Chris Jackson-CHRJ002 wrote: > >> Hi Carole, >> >> Once again you come to my rescue!! >> >> I did what you said and added a -n switch to the command, this >> fixed the Handshake problems but now I just get an UNKNOWN Error >> receiving data from Daemon. >> >> Both host and remote host are running Mandrake Linux however one >> is v10 and one is v9.2, but when I execute the plugin locally on >> the remote host it works perfectly. I can only assume that >> either the command is not being processed by the nrpe daemon >> correctly or that data is not being succesfully returned. I >> looked in syslog but can't find any clues. >> >> A netstat -pta returns nrpe listening on port 5666 as expected. >> >> If you could help me with this problem I would be most grateful! >> >> Chris >> >> -----Original Message----- >> *From:* carole verdon [mailto:verdon at cict.fr] >> *Sent:* 13 July 2004 08:42 >> *To:* Chris Jackson-CHRJ002 >> *Cc:* nagios-users at lists.sourceforge.net >> *Subject:* Re: [Nagios-users] NRPE Problems >> >> It seems to me that your nrpe on nagios server is compiled >> with ssl. Is right? >> >> If it's the case, you can use, i believe, the '-n' option of >> check_nrpe to disable ssl. Otherwise, you must compile again >> nrpe on nagios server with '--enable-ssl' option. Then, you >> can call the new check_nrpe as check_nrpe_nossl to not >> confuse with the check_nrpe compiling with ssl support. >> >> >> I see also that you copied some plugins on remote host. Is it >> the same version of OS? Normally, you must compile plugins >> directly on remote host. Perhaps, the error comes from there. >> >> I hope that help you. >> >> Carole. >> >> Chris Jackson-CHRJ002 wrote: >> >>> Hi, >>> >>> I'm having some difficulty setting up nrpe on my network. >>> >>> I have downloaded and compiled the client on the remote host >>> in question with ./configure --enable-ssl >>> >>> I have followed all the instructions to make the nrpe daemon >>> run with xinetd and netstat -pta shows nrpe listening. I >>> set nagios host to use check_nrpe to execute some plugins I >>> copied to the remote box but I'm getting the error Could not >>> complete SSL handshake. I'm sure its something to do with >>> me missing out some SSL configuration somewhere but I can't >>> see where I've gone wrong. >>> >>> I'm not really clued up on SSL and found the instructions >>> for installing with SSL support a bit confusing. Can anyone >>> help me troubleshoot and work out why the handshake keeps >>> failing? >>> >>> Thanks in advance, >>> >>> Chris >> > >-- >********************************** >VERDON Carole >Ing?nieur Syst?me >CICT - Universit? Paul Sabatier >118, route de Narbonne >31062 Toulouse Cedex >T?l.: 05.61.36.60.44 >Fax: 05.61.52.14.58 >Mail: verdon at cict.fr >********************************** > > -- ********************************** VERDON Carole Ing?nieur Syst?me CICT - Universit? Paul Sabatier 118, route de Narbonne 31062 Toulouse Cedex T?l.: 05.61.36.60.44 Fax: 05.61.52.14.58 Mail: verdon at cict.fr ********************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdoyle at lewisgaleclinic.com Tue Jul 13 16:43:22 2004 From: jdoyle at lewisgaleclinic.com (Jack Doyle) Date: Tue, 13 Jul 2004 10:43:22 -0400 Subject: Strange ping issue Message-ID: Using the latest stable plugins... I didn't get this before I upgraded to 1.2, but I am getting int sometimes now. When a host is down and the ping service checks it, sometimes it will come back unknown and sometimes critical. It used to say Criticial all the time. Here is an example log entry of each: [07-13-2004 03:17:43] SERVICE ALERT: abc;Ping;CRITICAL;HARD;1;PING CRITICAL - Packet loss = 100% [07-13-2004 03:20:05] SERVICE ALERT: abc;Ping;UNKNOWN;HARD;1;/bin/ping -n -U -c 5 10.1.10.15 Doesn't make sense to me. Same server, same issue, three minutes later. This happens a lot now. Jack Doyle, LGC Information Systems Systems Operations Specialist 540.776.2025 -------------- next part -------------- An HTML attachment was scrubbed... URL: From CQuillen at txfb-ins.com Tue Jul 13 17:04:24 2004 From: CQuillen at txfb-ins.com (Quillen, Channon) Date: Tue, 13 Jul 2004 10:04:24 -0500 Subject: Checking MSSQL Server via ODBC Connection Message-ID: I use unixODBC and sqsh (http://www.sqsh.org/) to run select statements against a MS SQL database. I wrote a custom script with these apps to run in Nagios. -Channon ________________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sand Philipp Sent: Tuesday, July 13, 2004 12:21 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Checking MSSQL Server via ODBC Connection Hello list, I got some ODBC Clients for Linux, and want to do some checks on an MSSQL Server via these ODBC Connections. These checks are basically some selects on the databse to look for deadlocks etc... I want to run those checks from the Nagios Server, so I don't have to install a client or so on the MSSQL Server. Has anyone done this before, or does anyone have a plugin or a solution already prepared? 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 - 2000 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From alex at fragit.net Tue Jul 13 17:07:49 2004 From: alex at fragit.net (Alex Burger) Date: Tue, 13 Jul 2004 11:07:49 -0400 Subject: Strange ping issue In-Reply-To: References: Message-ID: <40F3FAC5.6020302@fragit.net> Jack Doyle wrote: > Using the latest stable plugins... I didn't get this before I upgraded > to 1.2, but I am getting int sometimes now. > > When a host is down and the ping service checks it, sometimes it will > come back unknown and sometimes critical. It used to say Criticial all > the time. > > Here is an example log entry of each: > > [07-13-2004 03:17:43] SERVICE ALERT: abc;Ping;CRITICAL;HARD;1;PING > CRITICAL - Packet loss = 100% > [07-13-2004 03:20:05] SERVICE ALERT: abc;Ping;UNKNOWN;HARD;1;/bin/ping > -n -U -c 5 10.1.10.15 > > Doesn't make sense to me. Same server, same issue, three minutes > later. This happens a lot now. Looks like this bug: http://sourceforge.net/tracker/index.php?func=detail&aid=946857&group_id=29880&atid=397597 Alex > *Jack Doyle, LGC Information Systems* > Systems Operations Specialist > 540.776.2025 > > > > > > > > > ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From listbox at azsupersport.com Tue Jul 13 17:24:38 2004 From: listbox at azsupersport.com (Mike B) Date: Tue, 13 Jul 2004 08:24:38 -0700 Subject: Notification after host down 10 minutes once only Message-ID: <82166937658A4B0BBA4277628B15D.MAI@CCU-MWV.com> I want to only send an email notification once a host has been down for 10 minutes and then to only send one email for that host unless it comes back up again. In reading the documentation I can't see a way to make this happen. Anybody know of the way to set this up? Thanks, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From bench at silentmedia.com Tue Jul 13 17:35:36 2004 From: bench at silentmedia.com (Ben) Date: Tue, 13 Jul 2004 08:35:36 -0700 Subject: Database stores and distributed monitoring In-Reply-To: <40F32880.5060502@op5.se> References: <40F32880.5060502@op5.se> Message-ID: <4905A852-D4E2-11D8-BF85-000A95BF2A8C@silentmedia.com> On Jul 12, 2004, at 5:10 PM, Andreas Ericsson wrote: > > You could try applying the chained hash patch. It makes a great > speedup. It's in by default in 2.0, which is stable enough for us to > run in production. Can I get just this patch and apply it to the stable 1.2 code base, or should I just run 2.0? I'd prefer the former, but I don't know where to get the patch? >> And >> it did, but not enough. So now, even though I'm using a quad xeon >> with 4GB >> of ram for the nagios machine (the database lives elsewhere), now I'm >> thinking that maybe I should set up a distributed monitoring scheme >> too. > > Move the database to reside on the same server as Nagios runs on. > Unless you're using embedded perl (which is really buggy) it shouldn't > be a problem at all. Well, that server also does MRTG monitoring, so every 5 minutes it gets pretty slammed. >> But I'm a bit confused. If the distributed monitoring software can >> write data into a database, and the CGIs read data out of the >> database.... do I need to use the nsca tool to do passive service >> checks? > > Not necessarily, but it's the only way to make configuration sit on > only one host. That won't do any good with regards to the CGI's > though, since it still has to parse the same amount of information. Yeah, my hope was that most of the time the CGIs were spending was with file IO, and that putting that data in a database would open up room for Mo' Bettah(tm)(r)(c)($) queries that would reduce the time spent data groveling. But I guess this isn't as much the case as I had hoped. > On the other hand; I can't imagine any one person being responsible > for all those 2500 servers, so it might be prudent to have several > separate installations of Nagios. Large networks will always be a bit > sluggish to display in the webinterface because of the sheer amount of > data it needs to read every time. The price large companies pay for > success, I guess. We're not personally responsible for rebooting them all, but we are the one team responsible for making sure they're still working, and telling our outsourced server monkeys to go reboot them if they have issues. I'll try the patch and see how it goes, but it seems to me, knowing squat about the internals of the CGIs :) that things should still be pretty snappy with this many hosts, at least until you start to load a page containing all the hosts. What are the known resource-intensive times, and if I want to start dinking around with code and/or database optimizations, should I work from the 1.2 or the 2.0 branch? How stable is the head branch, anyway? ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From Rob.Gallegly at usfsi.com Tue Jul 13 17:29:00 2004 From: Rob.Gallegly at usfsi.com (Gallegly, Rob) Date: Tue, 13 Jul 2004 11:29:00 -0400 Subject: ./configure step in Nagios setup Message-ID: Here is the latest configure line I used. I am still getting the error, but I can confirm that all of the paths/user/group options exist. ./configure --prefix= /usr/local/nagios --with-cgiurl= /usr/local/apache2/cgi-bin/nagios --with-htmurl= /nagios --with-nagios-usr= nagios --with-nagios-grp= nagios I get these two warnings and this error: configure: warning: usr/loal/nagios: invalid host type configure: warning: /usr/local/apache2/cgi-bin/nagios: invalid host type configure: error: can only configure for one host and one target at a time I appreciate any advise you can give. -----Original Message----- From: Jason Martin [mailto:jhmartin at toger.us] Sent: Monday, July 12, 2004 5:05 PM To: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] ./configure step in Nagios setup Those errors sound unrelated to the prefix and cgi-bin paths options of configure; can you please send the full configure line you are using and the exact text of the output? Thanks, -Jason Martin On Mon, Jul 12, 2004 at 05:51:05PM -0400, Gallegly, Rob wrote: > I am having some difficulty setting up Nagios in Fedora. > > When I try to run the configure script using the directories suggested in > the install instructions, I am receiving two warnings and one error. > > The warnings I receive are for the prefix and the cgi-bin paths I set (which > are the exact one suggested in the Nagios documentation, not "prefix" and > the sort). I receive the error "Invalid Host Type". I have confirmed that > both directories exist (along with the group and user, etc). > > Then, I receive an error saying that I can only configure for one host and > one target at a time. > > I am not sure why this is happening, but if anyone can provide any > suggestions, I would greatly appreciate it. > > Thanks in advance. > > Rob Gallegly > Hotel Technology Group > U.S. Franchise Systems > 888-215-9044 > hotel.support at usfsi.com > rob.gallegly at usfsi.com > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.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 -- Excited, Spock opens a box full of pointy ear tips. This message is PGP/MIME signed. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.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 From psma at mpsnet.net.mx Tue Jul 13 17:59:53 2004 From: psma at mpsnet.net.mx (Manuel Alejandro =?iso-8859-1?q?Pe=F1a_S=E0nchez?=) Date: Tue, 13 Jul 2004 10:59:53 -0500 Subject: Problem Starting Nagios In-Reply-To: References: Message-ID: <200407131059.53615.psma@mpsnet.net.mx> hi all: I recently installed nagios with a deb package: nagios-mysql 1.2-3.3 nagios-plugins 1.3.1.0-7 nagios-statd-server 3.09-3 I started to add some hosts hostsgroups and all that stuff that come on the nagios.cfg then on a bash shell i checked my configuration file with nagios -vc and this error came: -------------------------------------------------------------- padrino:/etc/nagios# nagios -cv /etc/nagios/nagios.cfg Nagios 1.2 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 02-02-2004 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Error: There are no services defined! Checked 0 services. Checking hosts... Error: There are no hosts defined! Checked 0 hosts. Checking