From r.hochuli at gpstechnik.ch Tue Apr 1 00:09:30 2003 From: r.hochuli at gpstechnik.ch (Roman Hochulli) Date: Tue, 01 Apr 2003 00:09:30 +0200 Subject: Blank Email Notifcations & check_external_commands In-Reply-To: <53109A46D4F58F458B18D009EAEEDC8345B8AE@mail.endeavorstech.com> References: <53109A46D4F58F458B18D009EAEEDC8345B8AE@mail.endeavorstech.com> Message-ID: <3E88BC9A.2060103@gpstechnik.ch> Hello Peter > 1. All of a sudden, I receive blank email notifications > when services go down. Is there some property that > controls this? Did you checked if you have enough diskspace on the machine running nagios...? I had once the same issue when my disks were full... Cheers Roman ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmunoz at comcel.com.co Tue Apr 1 00:59:12 2003 From: jmunoz at comcel.com.co (=?iso-8859-1?Q?Jose_Orlando_Mu=F1oz_Bravo_=28HP=29?=) Date: Mon, 31 Mar 2003 17:59:12 -0500 Subject: Check NT COUNTER parameter Message-ID: <8F3E96AF7095024E922116DCA0587C9DF72429@ESPERANTO.comcel.com.co> Hi all, I looking for a list of posibilities about the COUNTER parameter, the help text said -l " \\\\counter","" I?m using \\Paging File(_Total)\\% Usage" \\Process(_Total)\\Thread Count" \\Server\\Server Sessions" Is posible to get a complete "Performance Object" list ? Thanks in advance, Jomb ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbarcelo at datajunction.com Tue Apr 1 01:10:57 2003 From: dbarcelo at datajunction.com (David Barcelo) Date: Mon, 31 Mar 2003 17:10:57 -0600 Subject: APAN problems References: <6CF7A192A85BD1458E7C5F35D607750C5BFB89@ok1ems2.worldsavings.com> Message-ID: <3E88CB01.7020208@datajunction.com> Why are you using http://localhost/nagios/cgi-bin/generate.cgi?GlenNT&Ping&600 and not http://localhost/nagios/cgi-bin/apan.cgi?GlenNT&service=Ping Dave Bunting, Glen, IG wrote: >Serviceextinfo does not work. I was able to get the graphs showing by using hostextinfo and moving the graph.png to /usr/local/nagios/share/images/logos. > >I am now getting another problem in that when I click on the graph I get the page that is supposed to pull up but there are no graphs at all. When I enter the url to the graph http://localhost/nagios/cgi-bin/generate.cgi?GlenNT&Ping&600 I get a page that states "The image http://localhost/nagios/cgi-bin/generate.cgi?GlenNT&Ping&600 cannot be displayed because it contains errors". In apancgi.debug I am getting these messages: > >CONF: GlenNT;Ping;/usr/local/nagios/rrd/GlenNT_Ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds >CONF: GlenNT;Ping;/usr/local/nagios/rrd/GlenNT_Ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds >CONF: GlenNT;Ping;/usr/local/nagios/rrd/GlenNT_Ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds >CONF: GlenNT;Ping;/usr/local/nagios/rrd/GlenNT_Ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds >CONF: GlenNT;Ping;/usr/local/nagios/rrd/GlenNT_Ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds >CONF: GlenNT;Ping;/usr/local/nagios/rrd/GlenNT_Ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds >/usr/bin/rrdtool graph - -s -2851200 -a PNG -v Seconds DEF:var0=/usr/local/nagios/rrd/GlenNT_Ping.rrd:ping:AVERAGE LINE2:var0#ff0000:ping: >/usr/bin/rrdtool graph - -s -86400 -a PNG -v Seconds DEF:var0=/usr/local/nagios/rrd/GlenNT_Ping.rrd:ping:AVERAGE LINE2:var0#ff0000:ping: >/usr/bin/rrdtool graph - -s -600 -a PNG -v Seconds DEF:var0=/usr/local/nagios/rrd/GlenNT_Ping.rrd:ping:AVERAGE LINE2:var0#ff0000:ping: >/usr/bin/rrdtool graph - -s -3600 -a PNG -v Seconds DEF:var0=/usr/local/nagios/rrd/GlenNT_Ping.rrd:ping:AVERAGE LINE2:var0#ff0000:ping: >/usr/bin/rrdtool graph - -s -604800 -a PNG -v Seconds DEF:var0=/usr/local/nagios/rrd/GlenNT_Ping.rrd:ping:AVERAGE LINE2:var0#ff0000:ping: >/usr/bin/rrdtool graph - -s -31557600 -a PNG -v Seconds DEF:var0=/usr/local/nagios/rrd/GlenNT_Ping.rrd:ping:AVERAGE LINE2:var0#ff0000:ping > >Any ideas? > >Thanks > >Glen > >-----Original Message----- >From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] >Sent: Monday, March 31, 2003 5:17 AM >To: Bunting, Glen, IG >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] APAN problems > > >Does any serviceextinfo work? Does the user that the web-server runs as >have read-permissions on the files? > > >Bunting, Glen, IG wrote: > > > >>Fredrik, >> >>I have compared the case sensitivity of hostname/description and they look correct. Here are the relevant parts of my configs. I still do not have any links from within nagios. >> >>############################################################################################ >># Services for APAN >>############################################################################################ >> >># service definition for APAN ping >> >>define service{ >> host_name GlenNT,JeffNT,JeffIIS,JeffLinux,gbredhat1 >> service_description Ping >> is_volatile 0 >> check_period 24x7 >> max_check_attempts 3 >> normal_check_interval 5 >> retry_check_interval 1 >> contact_groups nt-admins,linux-admins >> notification_interval 120 >> notification_period 24x7 >> notification_options c,r >> check_command apan!ping!100.0,20%!500.0,60% >> name Ping >> use generic-service >> normal_check_interval 1 >> } >> >>############################################################################################ >># Extended service information >>############################################################################################ >> >># rrd link of ping round-trip times >>define serviceextinfo{ >> host_name gbredhat1 >> service_description Ping >> notes_url /nagios/cgi-bin/apan.cgi?host=gbredhat1&service=Ping >> icon_image graph.png >> icon_image_alt View graphs >> } >> >>############################################################################################ >># Enabling extended host info >>############################################################################################ >> >>xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg >>xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg >> >>Thanks >> >>Glen >> >>-----Original Message----- >>From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] >>Sent: Thursday, March 27, 2003 11:42 PM >>To: Bunting, Glen, IG >>Cc: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] APAN problems >> >> >>The extinfo-definitions (and Apan) is very case-sensitive. Make sure >>your hostname/sevicedescription looks exactly the same in the >>service-definition and the serviceextinfo-definition. >>If this desnt work, let us look at the relevant parts of your config. >> >> >>/FredrikW >> >> >> >>Bunting, Glen, IG wrote: >> >> >> >> >> >>>I am currently trying to set up APAN. As far as I can tell, I have set it up exactly as shown in the how-to for the ping round trip times. I have two problems. >>> >>>1. The only host that this seems to be working on is the local host. All other computers I am getting an error "Could not insert ':Ping' , 'xxxxxxxxxx:' into /usr/local/nagios/rrd/GlenNT_Ping.rrd" from apan.debug. From within nagios is states the host could not be found. >>> >>>I have check the permissions on the rrd file and they all have nagios as the owner with read/write access. >>> >>>2. The other problem I have is that I cannot get the graphs to come up from within nagios using serviceextinfo.cfg. I can get hostextinfo.cfg to work properly with the logos, but not the APAN link to the graphs. >>> >>>I have followed the instruction and examples as close as I could and I believe they are accurate. Am I missing something obvious or should I post the relevant configs? >>> >>>Thanks >>> >>>Glen >>> >>> >>>***************************************************************************** >>>If you are not the intended recipient of this e-mail, please notify >>>the sender immediately. The contents of this e-mail do not amend >>>any existing disclosures or agreements unless expressly stated. >>>***************************************************************************** >>> >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: >>>The Definitive IT and Networking Event. Be There! >>>NetWorld+Interop Las Vegas 2003 -- Register today! >>>http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>>::: Messages without supporting info will risk being sent to /dev/null >>> >>> >>> >>> >>> >>> >> >> >>***************************************************************************** >>If you are not the intended recipient of this e-mail, please notify >>the sender immediately. The contents of this e-mail do not amend >>any existing disclosures or agreements unless expressly stated. >>***************************************************************************** >> >> >> >> >> > > > > >***************************************************************************** >If you are not the intended recipient of this e-mail, please notify >the sender immediately. The contents of this e-mail do not amend >any existing disclosures or agreements unless expressly stated. >***************************************************************************** > > > >------------------------------------------------------- >This SF.net email is sponsored by: ValueWeb: >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >No other company gives more support or power for your dedicated server >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > > -- _____ James David Barcelo Network/Systems Administration Data Junction Corporation 2201 Northland Drive Austin, TX 78756 tel: 512-459-1308 ext. 349 fax: 512-469-1309 www.datajunction.com * The contents and attachments in this email are confidential. _____ ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 1 04:45:09 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 31 Mar 2003 21:45:09 -0500 Subject: nrpe questions In-Reply-To: References: Message-ID: <1049165108.1231.8.camel@miles.debisschop.net> On Mon, 2003-03-31 at 12:48, Carroll, Jim P [Contractor] wrote: > If it's an option, why not set up a null passphrase for ssh for nagios > itself? That way, you don't need to pass the passphrase to > check_by_ssh. > > jc > > -----Original Message----- > From: Matthew.Quinney at hollandandholland.com > [mailto:Matthew.Quinney at hollandandholland.com] > Sent: Monday, March 31, 2003 4:35 AM > To: Nagios-Users > Subject: Re: [Nagios-users] nrpe questions > > > Dear All, > > Does anybody know if the check_by_ssh command can be > configured to use a passphrase ? I have found some old links > on the web but unfortunately they do not work. FWIW, when I wrote it I made no provision to pass any such thing on the command line. You cannot depend on any such construct being secure from an ordinary user. You can, however, ensure that your filesystem permissions do keep an ordinary user fron viewing the private key owned by the nagios user. Thus, the intended mode of operation is to use secured, passpharseless keys. Short of using 'expect' or a similar mechanism, I do not know of a way to securely provide a passphrase to check_by_ssh. I consider expect in this case to provide a minimal increment of security (in that it still all comes down to how well you protect your files from intruders) but a major increase in administrative work. Thus I have not made any provisions to support it. If you do know of portable and secure way to pass in a pasphrase, I would be willing to consider it. But failing that, the answer is no, there are no provisions for providing a passphrase, and any way that you find to do so would be accidental. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agupta at yahoo-inc.com Tue Apr 1 05:50:14 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Mon, 31 Mar 2003 19:50:14 -0800 Subject: When do service event handlers get called? Message-ID: Hi, Pardon my ignorance on this. I am new to this. Am logging service failure in the DB. When the host goes down, I log that the service has gone down too (I maintain my own list of services for a host.) How can I know when the service comes back up? Will the service handler be called when the service comes back up? I cant just say that the service is back UP just because the host came back UP. Ideas? -anurag ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at sancho2k.net Tue Apr 1 07:38:58 2003 From: lists at sancho2k.net (Sancho2k.net Lists) Date: Mon, 31 Mar 2003 22:38:58 -0700 Subject: When do service event handlers get called? In-Reply-To: References: Message-ID: <3E8925F2.3030408@sancho2k.net> Anurag Gupta wrote: > How can I know when the service comes back up? Will the service handler be > called when the service comes back up? I cant just say that the service is > back UP just because the host came back UP. > > Ideas? > -anurag Maybe I'm misunderstanding you, but you should be made aware (1) by the web interface, and (2) by email/pager notification if you have enabled in on your service definition. DS ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From 20020531antispam at gmx.net Tue Apr 1 08:23:51 2003 From: 20020531antispam at gmx.net (Arne Goetje) Date: Tue, 1 Apr 2003 14:23:51 +0800 Subject: Problems with gd2 images and the map Message-ID: <200304011423.53018.20020531antispam@gmx.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list, please cc to me, I'm not subscribed... somehow the subscribtion procedure doesn't work for me... :( I have downloaded the logos from the nagios website and put them into the correct directory. these images work correctly both in the map and the rest of nagios. However when I try to make my own logos and convert them from png into gd2, the gd2 seems not to be correct. It shows nothing on the map. The png has been compressed with 0 (uncompressed) and I use pngtogd2 like this: pngtogd2 pngfile gd2file 0 0 Even if I change the values for chunks and compression, it still doesn't work. Can anyone who did this successfully please help me? I'm using a debian system with nagios as debian package in 'unstable'. (nagios-mysql). Another problem is, as soon as I use any logos in the map, the 'circled' layouts don't work anymore. Cheers Arne - -- Arne Goetje <20020531antispam at gmx.net> (Spam catcher. Address might change in future!) PGP/GnuPG key: 1024D/685D1E8C Fingerprint: 2056 F6B7 DEA8 B478 311F 1C34 6E9F D06E 685D 1E8C Key available at wwwkeys.pgp.net. Encrypted e-mail preferred. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+iTB3bp/QbmhdHowRAmfoAKDfzTN1WFVWzBaLdICXLbGxwHkxiACdEJj9 THibXlxfH8dO2h1eMsa6i+I= =PrWU -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 1 08:19:02 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 1 Apr 2003 16:19:02 +1000 Subject: When do service event handlers get called? In-Reply-To: ; from agupta@yahoo-inc.com on Mon, Mar 31, 2003 at 07:50:14PM -0800 References: Message-ID: <20030401161900.C10495@IPAustralia.Gov.AU> Dear Sir, Yes, the service event handler will be called when the service comes back up. I think this is documented in the glorious Nagios docs. I too log outage intervals in an mySQL DB; the intervals can only be be computed because the event handler is called at the end of the outage. If you doubt this have a look at the logging options in nagios.cfg and define a service handler and a dummy service that is monitored with a plugin like, #!/bin/sh test_result='OK' # test_result='FAIL' case "$test_result" in FAIL) echo 'Failed. This service check always fails. Debug check/event handlers/notification etc.' exit 2 ;; OK) echo 'Ok. This service check always succeeds. Debug check/event handlers/notification etc.' exit 0 ;; esac # Exercise event handler # Go shell, go. 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 is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Tue Apr 1 08:16:58 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 01 Apr 2003 08:16:58 +0200 Subject: Apan and Nagios....No perf-definition for service References: <3E889DD2.9080907@datajunction.com> Message-ID: <3E892EDA.9070906@datavis.se> To clarify this, consider you have the following service-definition in Nagios: define service { host_name barbar service_description Pinga check_command apan!ping!100.0,20%!500.0,60% use generic-service normal_check_interval 1 } When Apan is called by Nagios it's fed with theses arguments: ping - Plugin-name, the name of the Apan-plugin to be run barbar - Host-name, the name of the host Pinga - Service-description, the name of the service in Nagios 1049177512 - Timestamp, the actual time in seconds since jan 01, 1970 100.0,20% 500.0,60% - Plugin-Arguments, the 3rd, 4th and 5th argument of the check_command in Nagios The first thing Apan does then is to find a row in apan.cfg that begins with ;; (barbar;Pinga;). If it cant't find this row (It's case-sensitive), then the error 'No perf-definition for service' is returned. Next step in Apan is to call the plugin (ping). If the plugin-name is invalid, then the error 'Unknown Perf-service: ' is returned. Simple.. Eh?? /FredrikW David Barcelo wrote: > I am trying to get Apan and Nagios to work but I keep getting an error > that says "No perf-definition for service". Can someone shed some > light on this problem? > > --Dave _____ > > James David Barcelo > Network/Systems Administration > > Data Junction Corporation > 2201 Northland Drive > Austin, TX 78756 > tel: 512-459-1308 ext. 349 > fax: 512-469-1309 > www.datajunction.com > * The contents and attachments in this email are confidential. > _____ > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for > just $79/mo with 500 GB of bandwidth! No other company gives more > support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Tue Apr 1 08:40:01 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Tue, 01 Apr 2003 08:40:01 +0200 Subject: Cant turn of notifications References: <3E8751A1.2000008@quadrix.com> <3E885242.2060905@datavis.se> Message-ID: <3E893441.F77B7092@dhl.com> Try setting "retain_nonstatus_information" to 0. Fredrik W?nglund wrote: > > I'm trying to disable notifications for a series of hosts. I have > attached my template and service-definition below. > I have changed 'notifications_enabled' to '0' in the template and > restart Nagios, but notifications is still sent out... > If I add a new service to Nagios that uses the same template, the > notification is supressed (and an icon witha a crossed-over speaker > shows up in the web). > > Why cant' I disable notifications for an existing service? > > define service { > name bb-template > active_checks_enabled 1 > passive_checks_enabled 1 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > notifications_enabled 0 > event_handler_enabled 0 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > register 0 > max_check_attempts 5 > normal_check_interval 3 > retry_check_interval 1 > check_period 24x7 > notification_interval 10 > notification_period 24x7 > notification_options w,u,c,r > contact_groups UNIX-kungar > } > > And this service-definitions: > > define service { > host_name sc1,sc2,sc3,sc4,sc5,sc_gavle > service_description Net-usage > check_command apan!snmpget!10!20 > use bb-template > normal_check_interval 1 > } > > /FredrikW > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Tom De Blende Senior NT Infrastructure Analyst (Frango) DHL Global Coordination Center - IT Department Tel +32 2 713 42 62 Fax +32 2 713 52 00 ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.clayton at intec.co.za Tue Apr 1 08:54:32 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Tue, 1 Apr 2003 08:54:32 +0200 Subject: [Nagios-users]: Nagios/NagiosPlugins Solar is 8 pkg available Message-ID: <9290BC9741D67F43BDAAC84144FF870DB6928F@intecserver007.intec.co.za> there is a bug in Solaris 2.6 with adding packages, where the package name is longer than 8 characters, and thus will give you the error you receive. I am not sure of the actual patch, but it consists of two patch kits. One being a library and the other pkgadd. cheers -----Original Message----- From: Oliver Thieke [mailto:oliver.devnull at gmx.net] Sent: Monday, March 31, 2003 7:58 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RE: [Nagios-users]: Nagios/NagiosPlugins Solaris 8 pkg available Hi Andre and List ! > Yes, the CSWnagiosp has several dependencies in fact, > which don't all have to be satisfied depending on what > you are doing. > Go ahead and install it; if something isn't working right > then let me know and I will fix the package. OK - I'll try that ! > As for Solaris 2.6, well I don't have access to a 2.6 > build environment either, so I can't help you there. > You could try the 2.8 package though; I don't think > anything very bad will happen - perhaps you will be lucky. Unfortunately not :-(. When I try this I get the following error message: root at sun4u> pwd /tmp root at sun4u> ls nagiosp-1.3.0-SunOS5.8-sparc-CSW root at sun4u> pkgadd -d nagiosp-1.3.0-SunOS5.8-sparc-CSW pkgadd: ERROR: no packages were found in The environ should be OK because I installed a solaris2.6-package from sunfreeware without any hassle... And the same package worked fine on the sol.8-machine... Second thing I'm not shure about: I think someone told me once that solaris binaries are not downward compatible. A 2.6 binary will run on solaris 8 but not vice versa... Looks as if I'll have to jump into the rough waters of compiling NRPE/plugins for Solaris 2.6... > I'm glad someone is benefitting from these packages! I think there will be plenty more. Installing/Compiling on Solaris has been an issue on this list a couple of times. The package will make the installation much more easier. Saved time which can be spent on the struggle with the config ;-). Thanx for your help. Greetings from the polish border Oliver ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Tue Apr 1 09:11:11 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 01 Apr 2003 09:11:11 +0200 Subject: Has anyone integrated Nagios and MRTG? References: <352B04312822444A962714393AED8A4D113834@ADAEVS01.int.chickasaw.net> Message-ID: <3E893B8F.4050202@datavis.se> Yes. Look at Apan, apan.sourceforge.net. /FredrikW Jeremy Russell wrote: >I like the trending supplied by Nagios, but some different Usage >statistics would be cool. Just wondering if this has been done? >Thanks! > >Jeremy Russell >Network Administrator CNI >580-272-2707 > > >------------------------------------------------------- >This SF.net email is sponsored by: ValueWeb: >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >No other company gives more support or power for your dedicated server >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Tue Apr 1 09:17:23 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 01 Apr 2003 09:17:23 +0200 Subject: APAN problems References: <6CF7A192A85BD1458E7C5F35D607750C5BFB89@ok1ems2.worldsavings.com> Message-ID: <3E893D03.6050200@datavis.se> Bunting, Glen, IG wrote: >Serviceextinfo does not work. I was able to get the graphs showing by using hostextinfo and moving the graph.png to /usr/local/nagios/share/images/logos. > You probably have some error in one of the files. 'nagios -v' does not check the extinfo-files, and if the CGI's encounter an error they will simply stop reading the files and all definitions after the error will be unread. >...... >/usr/bin/rrdtool graph - -s -2851200 -a PNG -v Seconds DEF:var0=/usr/local/nagios/rrd/GlenNT_Ping.rrd:ping:AVERAGE LINE2:var0#ff0000:ping: >Any ideas? >..... > Try to run this: /usr/bin/rrdtool graph test.png -s -2851200 -a PNG -v Seconds DEF:var0=/usr/local/nagios/rrd/GlenNT_Ping.rrd:ping:AVERAGE LINE2:var0#ff0000:ping: And look for errors. If the command succcess you should have a graph in test.png. /FredrikW ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From juris at lf.lv Tue Apr 1 09:38:58 2003 From: juris at lf.lv (Juris Grinbergs) Date: Tue, 01 Apr 2003 10:38:58 +0300 Subject: Cant turn of notifications In-Reply-To: References: Message-ID: <3E894212.6000004@lf.lv> > > >I'm trying to disable notifications for a series of hosts. I have >attached my template and service-definition below. > Hm, see your config! U have notification_period 24x7 May u change it to 0x0! I not test it, but, its possible means - never send notification! ;) Its theoretical solution, not tested! Mannually edit your config files and try restart nagios! Good look! >I have changed 'notifications_enabled' to '0' in the template and >restart Nagios, but notifications is still sent out... >If I add a new service to Nagios that uses the same template, the >notification is supressed (and an icon witha a crossed-over speaker >shows up in the web). > >Why cant' I disable notifications for an existing service? > > > > >define service { >name bb-template >active_checks_enabled 1 >passive_checks_enabled 1 >parallelize_check 1 >obsess_over_service 1 >check_freshness 0 >notifications_enabled 0 >event_handler_enabled 0 >flap_detection_enabled 1 >process_perf_data 1 >retain_status_information 1 >retain_nonstatus_information 1 >register 0 >max_check_attempts 5 >normal_check_interval 3 >retry_check_interval 1 >check_period 24x7 >notification_interval 10 >notification_period 24x7 >notification_options w,u,c,r >contact_groups UNIX-kungar >} > > >/FredrikW > > Good look! -- With best regards, Juris Bauskas str. 58-322, Riga, LV1004 Latvia ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hrishys at yahoo.co.uk Tue Apr 1 10:23:54 2003 From: hrishys at yahoo.co.uk (=?iso-8859-1?q?hrishy?=) Date: Tue, 1 Apr 2003 09:23:54 +0100 (BST) Subject: nagios plugin on solaris 2.6 In-Reply-To: <9290BC9741D67F43BDAAC84144FF870DB6928F@intecserver007.intec.co.za> References: <9290BC9741D67F43BDAAC84144FF870DB6928F@intecserver007.intec.co.za> Message-ID: <20030401082354.19739.qmail@web12607.mail.yahoo.com> Hi I am not able to get the check_load working on solaris 2.6..when i run check_loda i am getting the folowing error.. $ ./check_load ld.so.1: ./check_load: fatal: libc.so.1: version `SUNW_1.18' not found (require) Killed $ uname -a SunOS zblrdv90 5.6 Generic_105181-26 sun4u sparc SUNW,Ultra-5_10 can somebody tell me whats going on regards Hrishy __________________________________________________ Yahoo! Plus For a better Internet experience http://www.yahoo.co.uk/btoffer ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewt at hq.psa.com.sg Tue Apr 1 10:19:03 2003 From: matthewt at hq.psa.com.sg (MATTHEW TAN, CUSSID) Date: Tue, 1 Apr 2003 16:19:03 +0800 Subject: statusmap.cgi cannot locate libgd.so.2 Message-ID: <4E6D5F09E791D41192ED00D0B78F7B3507F3B81C@tpcxsvr1.psa> Hi, I am running Nagios 1.0 with the following libraries installed: jpeg-6b,libpng-1.2.5,libpng-1.2.5,zlib-1.1.4 My platform=Solaris 8 on Ultra-10 I am able to compile Nagios with gd support. But when i tried to access statusmap, trends or histogram cgis in the browser, i got the following error in the Apache server error log -> ld.so.1: statusmap.cgi: fatal: libgd.so.2: open failed: No such file or directory [Tue Apr 1 15:03:28 2003] [error] [client 10.10.140.124] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi Below is the output when i did a ldd of the statusmap.cgi -> ldd statusmap.cgi libgd.so.2 => /usr/local/lib/libgd.so.2 libm.so.1 => /usr/lib/libm.so.1 libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 libc.so.1 => /usr/lib/libc.so.1 libXpm.so.4.11 => /usr/local/lib/libXpm.so.4.11 libX11.so.4 => /usr/lib/libX11.so.4 libdl.so.1 => /usr/lib/libdl.so.1 libXext.so.0 => /usr/openwin/lib/libXext.so.0 libsocket.so.1 => /usr/lib/libsocket.so.1 libnsl.so.1 => /usr/lib/libnsl.so.1 libdga.so.1 => /usr/openwin/lib/libdga.so.1 libmp.so.2 => /usr/lib/libmp.so.2 /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1 It seems like statusmap.cgi know where to find the gd libraries, but why do i still get the error above in the Apache logs when i tried to access the statusmap.cgi? Regards, Matthew This communication contains confidential or privileged information. If you are not the intended recipient, please notify us IMMEDIATELY that you have received it and destroy it. We are not liable for any unauthorised sending of or interference with this communication. -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.clayton at intec.co.za Tue Apr 1 10:52:25 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Tue, 1 Apr 2003 10:52:25 +0200 Subject: nagios plugin on solaris 2.6 Message-ID: <9290BC9741D67F43BDAAC84144FF870DB69295@intecserver007.intec.co.za> Try running ld against the executable and see if it finds the lib. -----Original Message----- From: hrishy [mailto:hrishys at yahoo.co.uk] Sent: Tuesday, April 01, 2003 10:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios plugin on solaris 2.6 Hi I am not able to get the check_load working on solaris 2.6..when i run check_loda i am getting the folowing error.. $ ./check_load ld.so.1: ./check_load: fatal: libc.so.1: version `SUNW_1.18' not found (require) Killed $ uname -a SunOS zblrdv90 5.6 Generic_105181-26 sun4u sparc SUNW,Ultra-5_10 can somebody tell me whats going on regards Hrishy __________________________________________________ Yahoo! Plus For a better Internet experience http://www.yahoo.co.uk/btoffer ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Tue Apr 1 10:38:34 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Tue, 01 Apr 2003 10:38:34 +0200 Subject: Cant turn of notifications References: <3E8751A1.2000008@quadrix.com> <3E885242.2060905@datavis.se> <3E893441.F77B7092@dhl.com> Message-ID: <3E89500A.8030906@datavis.se> Yes, this was the key. Thank you. /FredrikW Tom DE BLENDE wrote: >Try setting "retain_nonstatus_information" to 0. > >Fredrik W?nglund wrote: > > >>I'm trying to disable notifications for a series of hosts. I have >>attached my template and service-definition below. >>I have changed 'notifications_enabled' to '0' in the template and >>restart Nagios, but notifications is still sent out... >>If I add a new service to Nagios that uses the same template, the >>notification is supressed (and an icon witha a crossed-over speaker >>shows up in the web). >> >>Why cant' I disable notifications for an existing service? >> >>define service { >>name bb-template >>active_checks_enabled 1 >>passive_checks_enabled 1 >>parallelize_check 1 >>obsess_over_service 1 >>check_freshness 0 >>notifications_enabled 0 >>event_handler_enabled 0 >>flap_detection_enabled 1 >>process_perf_data 1 >>retain_status_information 1 >>retain_nonstatus_information 1 >>register 0 >>max_check_attempts 5 >>normal_check_interval 3 >>retry_check_interval 1 >>check_period 24x7 >>notification_interval 10 >>notification_period 24x7 >>notification_options w,u,c,r >>contact_groups UNIX-kungar >>} >> >>And this service-definitions: >> >>define service { >>host_name sc1,sc2,sc3,sc4,sc5,sc_gavle >>service_description Net-usage >>check_command apan!snmpget!10!20 >>use bb-template >>normal_check_interval 1 >>} >> >>/FredrikW >> >>------------------------------------------------------- >>This SF.net email is sponsored by: ValueWeb: >>Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >>No other company gives more support or power for your dedicated server >>http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> >> > > > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardoleitao at interacesso.pt Tue Apr 1 11:10:33 2003 From: eduardoleitao at interacesso.pt (Eduardo =?ISO-8859-1?Q?Leit=E3o?=) Date: 01 Apr 2003 10:10:33 +0100 Subject: best check https In-Reply-To: <1048844198.960.9.camel@Monitor> References: <1048844198.960.9.camel@Monitor> Message-ID: <1049188233.1097.12.camel@Monitor> Hi I would like to know what are the diferents and the best option to check https because i try both and i get diferents results. Please some help... Option 1: Define command{ command_name check_https command_line $USER1$/check_http -I $HOSTADDRESS$ -S -C 30 } Results: HTTP CRITICAL: string not found HTTP ok: HTTP/1.1 200 OK - 0.399 second response time Option 2: define command{ command_name check_https command_line $USER1$/check_http -I $HOSTADDRESS$ -S -e "HTTP/1." -t 30 -c 30 } Results: HTTP WARNING: HTTP/1.1 400 Bad Request HTTP WARNING: HTTP/1.1 400 Bad Request Best regards Edu ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hrishys at yahoo.co.uk Tue Apr 1 11:02:35 2003 From: hrishys at yahoo.co.uk (=?iso-8859-1?q?hrishy?=) Date: Tue, 1 Apr 2003 10:02:35 +0100 (BST) Subject: nagios plugin on solaris 2.6 In-Reply-To: <9290BC9741D67F43BDAAC84144FF870DB69295@intecserver007.intec.co.za> References: <9290BC9741D67F43BDAAC84144FF870DB69295@intecserver007.intec.co.za> Message-ID: <20030401090235.3968.qmail@web12601.mail.yahoo.com> Hi Paul thanks for coming to my rescue..here is the output of running ld against it $ ld check_load ld: elf error: file check_load: unknown type, unable to process using elf(3E) ls ld: fatal: File processing errors. No output written to a.out regards Hrishy --- Paul Clayton wrote: > Try running ld against the executable and see if it > finds the lib. > > -----Original Message----- > From: hrishy [mailto:hrishys at yahoo.co.uk] > Sent: Tuesday, April 01, 2003 10:24 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios plugin on solaris 2.6 > > > Hi > > I am not able to get the check_load working on > solaris > 2.6..when i run check_loda i am getting the folowing > error.. > > $ ./check_load > ld.so.1: ./check_load: fatal: libc.so.1: version > `SUNW_1.18' not found (require) > Killed > > $ uname -a > SunOS zblrdv90 5.6 Generic_105181-26 sun4u sparc > SUNW,Ultra-5_10 > > can somebody tell me whats going on > > regards > Hrishy > > __________________________________________________ > Yahoo! Plus > For a better Internet experience > http://www.yahoo.co.uk/btoffer > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of > bandwidth! > No other company gives more support or power for > your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 e-mail and any attachments are confidential and > may also be privileged > and/or copyright material of Independent Technology > Systems Limited > (or its affiliated companies). If you are not the > intended or authorised recipient > of this email or have received it in error, please > delete it immediately and > notify the sender by e-mail. In such a case reading, > reproducing, printing or > further dissemination of this e-mail is strictly > prohibited and may be unlawful. > > Independent Technology Systems Limited does not > represent or warrant that > an attachment hereto is free from computer viruses > or other defects. > > The opinions expressed in this e-mail and any of the > attachments may > be those of the author and are not necessarily those > of Independent > Technology Systems Limited. > ****************************************************************************************** > __________________________________________________ Yahoo! Plus For a better Internet experience http://www.yahoo.co.uk/btoffer ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Tue Apr 1 11:09:49 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 1 Apr 2003 10:09:49 +0100 Subject: searching list archives Message-ID: <53104E20A25CD411B556009027E50636064D5504@pnnemp02.pn.egg.com> The archives are notoriously bad. If it's still a problem, raise a support request with the sourceforge team to investigate. > -----Original Message----- > From: mark [SMTP:mark at woodstream.net] > Sent: Monday, March 31, 2003 10:32 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] searching list archives > > Is anyone else having problems searching the list archives? I've tried > several times in the last few days and I always get "no results". I've > tried searching for "Nagios" and even terms directly from an email I just > read.. and it still comes back "no results". Anyone have any ideas? > > mark > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Tue Apr 1 11:07:29 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 1 Apr 2003 10:07:29 +0100 Subject: searching list archives Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909EC9F@netfinity-1.foundation-it.local> From: mark [mailto:mark at woodstream.net] > > Is anyone else having problems searching the list archives? > I've tried > several times in the last few days and I always get "no > results". I've > tried searching for "Nagios" and even terms directly from an > email I just > read.. and it still comes back "no results". Anyone have any ideas? Try http://news.gmane.org/thread.php?group=gmane.network.nagios.user instead. It's up to date (in fact posts seem to get there before they get to my inbox) and has a basic but, most importantly compared to Sourceforge, working and fast search. Phil ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bernhard.Verstege at hik.fzk.de Tue Apr 1 11:38:36 2003 From: Bernhard.Verstege at hik.fzk.de (Verstege, Bernhard) Date: Tue, 1 Apr 2003 11:38:36 +0200 Subject: AW: SNMP - Temparuture Monitoring Message-ID: Hi, you have to write a traphandle as desribed in the nagios documentation wich does a send_nsca. Then you get your environment data as a passive check result in nagios. It doesn't matter which kind of software or hardware generates the trap, its just SNMP... Look at the netbotz MIB to find the OID's of the generated traps. We use a Sinetica Rack Monitoring System and a thermometer from "Wieseman und Theis" (www.wut.de) and it works. Gruss Bernhard -----Urspr?ngliche Nachricht----- Von: Networks [mailto:networks at wi.rr.com] Gesendet: Montag, 31. M?rz 2003 23:33 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] SNMP - Temparuture Monitoring Has anyone used Nagios to receive SNMP traps from monitoring equipment? I read the documentation on SNMP Traps, and it lacks the ability to take information in such as current temperature. I am using netbotz equipment to monitor water, humidity, temp, and air flow of a server room. The traps are sent to a Red hat box, received by snmptrapd, and are currently being logged in the syslog. On a side note, has anyone used APAN with nagios to track snmp data? Any tutorials or help would be appreciated. Thanks again, Josh ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.clayton at intec.co.za Tue Apr 1 12:42:51 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Tue, 1 Apr 2003 12:42:51 +0200 Subject: Zipped tarballs for Solaris 2.6,5.7,5.8 Message-ID: <9290BC9741D67F43BDAAC84144FF870DB69297@intecserver007.intec.co.za> If anybody is interested, I have nagios plugins zipped tarballs for Solaris 2.6, Solaris 5.7, Solaris 5.8, Tru64 4.0g Drop us a line directly if you want. Regards Unix like TeePee no windows, no gates, Apache inside. Paul Clayton Global Unix Co-ordinator Intec Telecom Systems Ph +27 (0) 21 4309000 Fax +27 (0) 21 4309025 Mobile +27(0) 832853403 ******************************************************************************************* This e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tero.kokko at claymountain.com Tue Apr 1 13:28:12 2003 From: tero.kokko at claymountain.com (Tero Kokko) Date: Tue, 1 Apr 2003 14:28:12 +0300 (EEST) Subject: Notification options for email/pager Message-ID: <62234.62.142.228.62.1049196492.squirrel@www.claymountain.com> Has someone solved the problem when you want different notification_options for email- and pager-notifications? What Im wanting to do here is that notifications would go out on warning-state with email but only critical-notifications would use pager too. One way to do it would be setting up multiple tests for same services but that would be just plain stupid... Currently Im thinking just do some filtering on pager-software, but it would be lot nicer to have it done in Nagios. Tero Kokko Claymountain Solutions ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tero.kokko at claymountain.com Tue Apr 1 14:06:07 2003 From: tero.kokko at claymountain.com (Tero Kokko) Date: Tue, 1 Apr 2003 15:06:07 +0300 (EEST) Subject: Notification options for email/pager Message-ID: <63622.62.142.228.62.1049198767.squirrel@www.claymountain.com> And before anyone else suggests it, yes it could be done by doin' a different contact for email and pager with service_notification_options but still I think there should be some better way? ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Quinney at hollandandholland.com Tue Apr 1 14:31:48 2003 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Tue, 1 Apr 2003 13:31:48 +0100 Subject: nrpe questions In-Reply-To: <1049165108.1231.8.camel@miles.debisschop.net> References: <1049165108.1231.8.camel@miles.debisschop.net> Message-ID: Karl et al, Thanks for your mails. In the end like you suggested I have implemented checks_by_ssh using null passphrases and all is working well. Many thanks Matthew ____________________________________________ Karl DeBisschop Sent by: nagios-users-admin at lists.sourceforge.net 01/04/2003 03:45 To "Carroll, Jim P ""[Contractor]" cc Nagios Users Subject RE: [Nagios-users] nrpe questions On Mon, 2003-03-31 at 12:48, Carroll, Jim P [Contractor] wrote: > If it's an option, why not set up a null passphrase for ssh for nagios > itself? That way, you don't need to pass the passphrase to > check_by_ssh. > > jc > > -----Original Message----- > From: Matthew.Quinney at hollandandholland.com > [mailto:Matthew.Quinney at hollandandholland.com] > Sent: Monday, March 31, 2003 4:35 AM > To: Nagios-Users > Subject: Re: [Nagios-users] nrpe questions > > > Dear All, > > Does anybody know if the check_by_ssh command can be > configured to use a passphrase ? I have found some old links > on the web but unfortunately they do not work. FWIW, when I wrote it I made no provision to pass any such thing on the command line. You cannot depend on any such construct being secure from an ordinary user. You can, however, ensure that your filesystem permissions do keep an ordinary user fron viewing the private key owned by the nagios user. Thus, the intended mode of operation is to use secured, passpharseless keys. Short of using 'expect' or a similar mechanism, I do not know of a way to securely provide a passphrase to check_by_ssh. I consider expect in this case to provide a minimal increment of security (in that it still all comes down to how well you protect your files from intruders) but a major increase in administrative work. Thus I have not made any provisions to support it. If you do know of portable and secure way to pass in a pasphrase, I would be willing to consider it. But failing that, the answer is no, there are no provisions for providing a passphrase, and any way that you find to do so would be accidental. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail has been scanned for viruses by the uuNet Internet Managed Scanning Service - powered by MessageLabs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lonny at bangtherockstogether.net Tue Apr 1 16:09:18 2003 From: lonny at bangtherockstogether.net (Lonny Selinger) Date: Tue, 1 Apr 2003 08:09:18 -0600 (CST) Subject: =?iso-8859-1?Q?Re:_R=E9f._:_Re:_[Nagios-users]_CPU_Utilization_:_AIX_4.3.3?= In-Reply-To: References: Message-ID: <43168.24.72.6.129.1049206158.squirrel@webmail.bangtherockstogether.net> You bet :) Here is some sample output from the stock check_load plugin: (this is running on a Winterhawk RS/6000 node in an SP frame running AIX 4.3.3) load average: 0.95, 0.44, 0.25 Here is the line that was added on the node (I use nrpe to do my service checks): command[check_load]=/usr/local/nrpe/libexec/check_load -w 2.00,2.50,2.75 -c 6.00,6.50,6.75 .... so you specify a warning *range* and critical *range* for load averages threasholds :) -- Lonny > > Hello Lonny, > Can you explain me the check_load... I thought the check_load showed the processes > availability and not the CPU utilization ?? > > ..................................................................................................................................... > > Pascal RENAUT / D?partement Ing?nierie R?seaux (I.R.) / Groupe Electricit? de > Strasbourg / 67953 Strasbourg Cedex 9 > T?l : 33 (0) 369 20 6138 / Fax : 33 (0) 369 20 6045 / Email : > pascal.renaut at electricite-strasbourg.fr > > > > "Lonny Selinger" > Pour : t> > > Envoy? par : > cc : > > nagios-users-admin at lists.sourc Objet : Re: > [Nagios-users] CPU Utilization eforge.net > : AIX 4.3.3 > > > 31/03/2003 23:18 > > > > > > > The stock plugins come with check_load and it works just fine uner AIX 4.3.3 > > -- > L > >> Hi all, >> >> I would like to know CPU utilization on my remote host under AIX 4.3.3 I > compiled >> net-snmp (5.0.8-pre1) under this host but I don't find the OID to check > the CPU >> utilization >> If someone knows the OID (or other solution...) >> >> thanks... >> >> > .................................................................................................... > >> Pascal RENAUT / D?partement Ing?nierie R?seaux (I.R.) / Groupe > Electricit? de >> Strasbourg / 67953 Strasbourg Cedex 9 >> T?l : 33 (0) 369 20 6138 / Fax : 33 (0) 369 20 6045 / Email : >> pascal.renaut at electricite-strasbourg.fr >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: ValueWeb: >> Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >> No other company gives more support or power for your dedicated server >> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any >> issue. ::: Messages without supporting info will risk being sent to > /dev/null > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karoly.vegh at uta.at Tue Apr 1 16:43:33 2003 From: karoly.vegh at uta.at (VEGH Karoly) Date: Tue, 1 Apr 2003 16:43:33 +0200 Subject: Yet Another "Icons don't show up" Question Message-ID: <20030401144333.GA12835@marvin.utalan.at> Hi, As far as i see, I am not alone with the problem, having no icons displayed. To tell the truth i got it working a while ago, since then there were different upgrades/changes on the server, and no chance to do alles backwards to find out which change is guilty for the questionmarks instead of the images in my statusmap. In the frame source i still get the well-known unkown.gif as image-src. There must be a solution, though I didn't find it in the listarchives... any help is appreciated. my config: part of my hostextinfo.cfg: atsrvlx01:/opt/nagios# head -16 etc/hostextinfo.cfg define hostextinfo{ host_name atsrvlx01 notes_url http://atsrvlx01/nagios/cgi-bin/status.cgi?host=atsrvlx01 icon_image linux40.png statusmap_image linux40.gd2 } define hostextinfo{ host_name atixoscache01 notes_url http://atsrvlx01/nagios/cgi-bin/status.cgi?host=atixoscache01 statusmap_image linux40.gd2 } define hostextinfo{ host_name atmom01 notes_url http://atsrvlx01/nagios/cgi-bin/status.cgi?host=atmom01 statusmap_image win40.gd2 } atsrvlx01:/opt/nagios# of course it is included: atsrvlx01:/opt/nagios# grep hostextinfo etc/cgi.cfg | grep -v ^# xedtemplate_config_file=/opt/nagios/etc/hostextinfo.cfg atsrvlx01:/opt/nagios# the images are all in place: atsrvlx01:/opt/nagios# ls -la share/images/logos/linux40.* share/images/logos/sun40.* share/images/logos/win40.* -rw-r--r-- 1 nagios www-data 2389 2003-03-24 18:05 share/images/logos/linux40.gd2 -rw-r--r-- 1 nagios www-data 1972 2003-03-24 17:41 share/images/logos/linux40.png -rw-r--r-- 1 nagios www-data 2389 2003-03-24 18:05 share/images/logos/sun40.gd2 -rw-r--r-- 1 nagios www-data 3014 2003-03-24 17:48 share/images/logos/sun40.png -rw-r--r-- 1 nagios www-data 2389 2003-03-24 18:05 share/images/logos/win40.gd2 -rw-r--r-- 1 nagios www-data 2288 2003-03-24 17:49 share/images/logos/win40.png atsrvlx01:/opt/nagios# I tried to convert them new as well with pngtogd2. No change. my libraries atmo: ii zlib1 1.1.4-1 compression library - runtime (for libc5) ii zlib1g 1.1.4-1 compression library - runtime ii zlib1g-dev 1.1.4-1 compression library - development ii zlibc 0.9j-3 Uncompressing C Library ii libpng12-0 1.2.5-10 PNG library - runtime ii libpng2 1.0.12-9 PNG library - runtime ii libpng2-dev 1.0.12-9 PNG library - development ii libpng3 1.2.5-10 PNG library - runtime ii libjpeg62 6b-6 The Independent JPEG Group's JPEG runtime li ii libjpeg62-dev 6b-6 Development files for the IJG JPEG library ii libgd2 2.0.11-3 GD Graphics Library version 2 ii libgd2-noxpm 2.0.11-3 GD Graphics Library version 2 (without XPM s ii libgd2-noxpm-d 2.0.11-3 GD Graphics Library version 2 (development v tia charlie -- V?gh K?roly - System Engineer - UTA - TIS.SAS.BSS Cynics says that Hungarians created America's Hollywood before other Hungarians less destructively created America's A-bomb. http://www.mek.iif.hu/kiallit/tudtor/tudos1/martians.html ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From NOC at eiiecomm.com Tue Apr 1 16:56:44 2003 From: NOC at eiiecomm.com (NOC at eiiecomm.com) Date: Tue, 1 Apr 2003 09:56:44 -0500 Subject: CHECK_SNMP help and syntax Message-ID: Hi all, I have quite a few snmp traps that I need to check on Nagios. If possible. I am new to snmp traps and would appreciate any help with the following list: NIC Status: Up, Down, errors Linux Processes: kernel, and other core processes like IKE, IPSEC, IPTABLES? IDS: SNORT mib and associated traps Memory : Memory usage and thresholds CPU: utilization and thresholds Hardware: Power Supply voltages CPU Temp Hard Drive S.M.A.R.T Case removal IPSEC: Tunnel status Avg Latency Traffic Load Any help would be greatly appreciated. Thanks, Mike Hall -------------- next part -------------- An HTML attachment was scrubbed... URL: From benny at bennyvision.com Tue Apr 1 16:59:43 2003 From: benny at bennyvision.com (C. Bensend) Date: Tue, 1 Apr 2003 08:59:43 -0600 Subject: searching list archives In-Reply-To: <53104E20A25CD411B556009027E50636064D5504@pnnemp02.pn.egg.com>; from Ton.Voon@egg.com on Tue, Apr 01, 2003 at 10:09:49AM +0100 References: <53104E20A25CD411B556009027E50636064D5504@pnnemp02.pn.egg.com> Message-ID: <20030401085943.A11186@bennyvision.com> On Tue, Apr 01, 2003 at 10:09:49AM +0100, Voon, Ton wrote: > The archives are notoriously bad. If it's still a problem, raise a support > request with the sourceforge team to investigate. I find the SourceForge archives to be an experiment in madness, myself. I wonder if someone could get us hooked up with MARC? I don't recall ever seeing a problem with them. We really do need good archives for this list - an awful lot of useful information is being lost/ignored. http://marc.theaimsgroup.com/?q=about#Add Benny -- 86. I will make sure that my doomsday device is up to code and properly grounded. --Peter Anspach's list of things to do as an Evil Overlord ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Tue Apr 1 17:18:16 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 1 Apr 2003 16:18:16 +0100 Subject: CPU Utilization : AIX 4.3.3 Message-ID: <53104E20A25CD411B556009027E50636064D550F@pnnemp02.pn.egg.com> Just to clarify! The arguments to -w and -c are not ranges. They define the thresholds for 1-minute, 5-minute, and 15-minute intervals. So it is perfectly fine to say: check_load -w 1,0.5,0.5 -c 2,1,1 This will raise a warning if the 5min or 10min load average is above 0.5, but will also warn if the 1min average is above 1. This maybe useful if you don't mind the server having a high load sporadically as long as its long term averages are lower (for interactive servers like a webserver). Ton > -----Original Message----- > From: Lonny Selinger [SMTP:lonny at bangtherockstogether.net] > Sent: Tuesday, April 01, 2003 3:09 PM > To: pascal.renaut at electricite-strasbourg.fr > Cc: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: R?f. : Re: [Nagios-users] CPU Utilization > : AIX 4.3.3 > > You bet :) > > Here is some sample output from the stock check_load plugin: (this is > running on a > Winterhawk RS/6000 node in an SP frame running AIX 4.3.3) > > load average: 0.95, 0.44, 0.25 > > Here is the line that was added on the node (I use nrpe to do my service > checks): > > command[check_load]=/usr/local/nrpe/libexec/check_load -w 2.00,2.50,2.75 > -c > 6.00,6.50,6.75 > > .... so you specify a warning *range* and critical *range* for load > averages > threasholds :) > > -- > Lonny This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at woodstream.net Tue Apr 1 16:57:27 2003 From: mark at woodstream.net (mark) Date: Tue, 1 Apr 2003 09:57:27 -0500 (EST) Subject: Auto RRD setup for Apan In-Reply-To: <20030401144333.GA12835@marvin.utalan.at> References: <20030401144333.GA12835@marvin.utalan.at> Message-ID: Has anyone come up with a way to generate the RRD datasets automatically using Apan? If anyone is familiar with Orca, it reads from a log file and creates the RRD for you. Orca then reads from the RRD and generates the graphs. I'd like to find a way to avoid manually creating the RRD for everything I want to graph. I can envison that would take a very long time to do and be an ongoing management headache. So, anyone have some automated process to create the RRD as needed? Mark ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lonny at bangtherockstogether.net Tue Apr 1 17:56:57 2003 From: lonny at bangtherockstogether.net (Lonny Selinger) Date: Tue, 1 Apr 2003 09:56:57 -0600 (CST) Subject: CPU Utilization : AIX 4.3.3 In-Reply-To: <53104E20A25CD411B556009027E50636064D550F@pnnemp02.pn.egg.com> References: <53104E20A25CD411B556009027E50636064D550F@pnnemp02.pn.egg.com> Message-ID: <34662.24.72.6.129.1049212617.squirrel@webmail.bangtherockstogether.net> Bad wording on my part ;) by range I meant load average range from warning to critical (all three intervals on both threasholds). Sorry if I confused anyone. Also one thing to note is almost every *NIX does load averages differently so knowing your systems behaviour is a must. More seem to implememt kernel wait states differently and can affect the load significantly ... what seemed like a high load on some dev nodes was nothing more then top returning initial wait states differently from Linux, FreeBSD and AIX respectively. -- Lonny > Just to clarify! > > The arguments to -w and -c are not ranges. They define the thresholds for > 1-minute, 5-minute, and 15-minute intervals. So it is perfectly fine to say: > > check_load -w 1,0.5,0.5 -c 2,1,1 > > This will raise a warning if the 5min or 10min load average is above 0.5, but will > also warn if the 1min average is above 1. This maybe useful if you don't mind the > server having a high load sporadically as long as its long term averages are lower > (for interactive servers like a webserver). > > Ton > >> -----Original Message----- >> From: Lonny Selinger [SMTP:lonny at bangtherockstogether.net] >> Sent: Tuesday, April 01, 2003 3:09 PM >> To: pascal.renaut at electricite-strasbourg.fr >> Cc: Nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Re: R?f. : Re: [Nagios-users] CPU Utilization : AIX >> 4.3.3 >> >> You bet :) >> >> Here is some sample output from the stock check_load plugin: (this is running on >> a >> Winterhawk RS/6000 node in an SP frame running AIX 4.3.3) >> >> load average: 0.95, 0.44, 0.25 >> >> Here is the line that was added on the node (I use nrpe to do my service >> checks): >> >> command[check_load]=/usr/local/nrpe/libexec/check_load -w 2.00,2.50,2.75 -c >> 6.00,6.50,6.75 >> >> .... so you specify a warning *range* and critical *range* for load averages >> threasholds :) >> >> -- >> Lonny > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out > investment business on behalf of Egg and is regulated > by the Financial Services Authority. > Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 > Holborn, London EC1N 2NA. > If you are not the intended recipient of this e-mail and have > received it in error, please notify the sender by replying with > 'received in error' as the subject and then delete it from your > mailbox. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spamhater at opelousas.org Tue Apr 1 17:36:24 2003 From: spamhater at opelousas.org (REdOG) Date: 1 Apr 2003 15:36:24 -0000 Subject: Apache authentication Message-ID: <20030401153624.6817.qmail@pod-163.dolphin-server.co.uk> Im trying to setup nagios on a RH8 box, and cannot seem to get Apache to show much information beside the pretty frames. The error most scripts are giveing me is.... It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I've setup everything as said in the documentation. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Tue Apr 1 18:09:48 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Tue, 1 Apr 2003 17:09:48 +0100 Subject: Notification options for email/pager In-Reply-To: <62234.62.142.228.62.1049196492.squirrel@www.claymountain.com> References: <62234.62.142.228.62.1049196492.squirrel@www.claymountain.com> Message-ID: <200304011809.48725.Michael.Huettig@Medien-Systempartner.de> Am Dienstag, 1. April 2003 13:28 schrieb Tero Kokko: > Has someone solved the problem when you want different > notification_options for email- and pager-notifications? What Im wanting > to do here is that notifications would go out on warning-state with email > but only critical-notifications would use pager too. One way to do it > would be setting up multiple tests for same services but that would be > just plain stupid... > Currently Im thinking just do some filtering on pager-software, but it > would be lot nicer to have it done in Nagios. I just take some escalation-definitions, the first warnings go out via email, then after 4 notifications i can send sms and so on simple way, isn't it? -- Michael > > Tero Kokko > Claymountain Solutions > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at feedroom.com Tue Apr 1 18:34:17 2003 From: David at feedroom.com (David Gitman) Date: Tue, 1 Apr 2003 11:34:17 -0500 Subject: email notifications Message-ID: Email notifications are being sent from root at host. When I run the command definition by hand it comes from nagios at host. Nagios is running as nagios. Any Ideas? ps -ef | grep nagios nagios 6314 1 0 Mar 20 ? 48:26 /local/project/nagios/bin/nagios -d /local/project/nagios/etc/nagios.cfg dgitman 17296 4466 0 12:38:52 pts/18 0:00 grep nagios # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 1.0 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SE RVICEDESC$\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$ } -------------- next part -------------- An HTML attachment was scrubbed... URL: From philc at foundation-it.com Tue Apr 1 17:26:16 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 1 Apr 2003 16:26:16 +0100 Subject: nagios plugin on solaris 2.6 Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909ECA0@netfinity-1.foundation-it.local> > From: hrishy [mailto:hrishys at yahoo.co.uk] > > I am not able to get the check_load working on solaris > 2.6..when i run check_loda i am getting the folowing error.. > > $ ./check_load > ld.so.1: ./check_load: fatal: libc.so.1: version > `SUNW_1.18' not found (require) > Killed > > $ uname -a > SunOS zblrdv90 5.6 Generic_105181-26 sun4u sparc SUNW,Ultra-5_10 > > can somebody tell me whats going on check_load has been built on a machine where libc.so.1 offers the SUNW_1.18 interface definition and that's not available on your 2.6 machine. "pvs check_load" will tell you what it's expecting and "pvs /usr/lib/libc.so.1" will tell you what libc.so.1 offers. Bottom line is you need a version built conservatively for Solaris 2.6. Phil ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spamhater at opelousas.org Tue Apr 1 18:50:14 2003 From: spamhater at opelousas.org (REdOG) Date: 1 Apr 2003 16:50:14 -0000 Subject: Segmentation Fault Message-ID: <20030401165014.21618.qmail@pod-163.dolphin-server.co.uk> Why me, I had nagios installed fine but apache wasnt working well with it so I started from scratch now im getting seg faults when I run the binary... any clues how to debug this? ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at feedroom.com Tue Apr 1 18:56:57 2003 From: David at feedroom.com (David Gitman) Date: Tue, 1 Apr 2003 11:56:57 -0500 Subject: notifications after migration Message-ID: After migrating to Nagios from NetSaint I'm receiving more notifications. If a host went down I would only receive the host up/down notification and not the service notifications. Now I'm receiving both. Has something changed? Did I overlook something? Thanks, ? David ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at woodstream.net Tue Apr 1 18:38:40 2003 From: mark at woodstream.net (mark) Date: Tue, 1 Apr 2003 11:38:40 -0500 (EST) Subject: Notification options for email/pager In-Reply-To: <200304011809.48725.Michael.Huettig@Medien-Systempartner.de> References: <200304011809.48725.Michael.Huettig@Medien-Systempartner.de> Message-ID: I'm working on the same problem. I can see the escalation logic, but that leaves me with a situation where some warnings might get pages sent and with a potentially long delay until a page gets sent. I too wish there was some internal logic that said if state=x email and page, otherwise just email. Bascially, I'm going to implement this in an external script that will get run for all notifications. One script for hosts, one for services. I'm going to pass all the variabled that are used in misccommands.cfg to the script. The script will then just check the $SERVICESTATE$, if it's critical, it will send a page and an email. If it's non-critical, it will just send an email. I haven't done this yet though. Before I do, does anyone have input, thoughts or another, cleaner, way to select the notification method(s) based on the state? Mark On Tue, 1 Apr 2003, Michael H?ttig wrote: > Am Dienstag, 1. April 2003 13:28 schrieb Tero Kokko: > > Has someone solved the problem when you want different > > notification_options for email- and pager-notifications? What Im wanting > > to do here is that notifications would go out on warning-state with email > > but only critical-notifications would use pager too. One way to do it > > would be setting up multiple tests for same services but that would be > > just plain stupid... > > Currently Im thinking just do some filtering on pager-software, but it > > would be lot nicer to have it done in Nagios. > > I just take some escalation-definitions, the first warnings go out via email, > then after 4 notifications i can send sms and so on > > simple way, isn't it? > > -- > Michael > > > > > Tero Kokko > > Claymountain Solutions > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > No other company gives more support or power for your dedicated server > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null > > > > ********************************************************************** > Diese E-Mail wurde auf Viren ueberprueft. > www.mimesweeper.com > ********************************************************************** > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oliver.devnull at gmx.net Tue Apr 1 18:56:34 2003 From: oliver.devnull at gmx.net (Oliver Thieke) Date: Tue, 01 Apr 2003 17:56:34 +0100 Subject: NAG @ Solaris 2.6 - very basic question (compile environ) Message-ID: <5.1.0.14.0.20030223225446.00afad00@pop.tagesspiegel.de> Hi out there at the screens, I'm still in the quest for setting up Nagios for a pretty mixed environment ;-). Nagios Server will live on Linux, solaris8-packages are available thanx to Andre but I'm still a little bit stuck with solaris 2.6. Regarding this I've got 2 questions: 1.) What basic components would I need for the compiling environment on Solaris ? I admit it's a pretty basic question (hence it's not covered in the nice and broad Nagios docu)... But 10 years passed since my last compilation of C code. My knowledge so far (packages to get from sunfreeware): - GCC - the latest version would be 3.2.2 Are there any issues with this version or shall I fall back to 2.95 ? - MAKE - TAR I'm pretty sure about the packages above ;-). But what else would I need ? - glib 1.2 ? - other libraries ? - ... 2.) Is there somewhere maybe a ftp-source for the NRPE/Plugin-Binaries for Solaris 2.6 ? Thanx for your help in advance. Greetings from the polish border Oliver ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tstocking at insynccom.com Tue Apr 1 19:14:04 2003 From: tstocking at insynccom.com (Stocking) Date: Tue, 1 Apr 2003 09:14:04 -0800 Subject: Check NT COUNTER parameter Message-ID: <000201c2f872$193a8160$6601a8c0@olympus.insynccom.com> Jomb, You can run perfmon on the Wintel box and browse the counters. It should also be possible to generate a list. The counters on any particular box will depend upon the apps installed (Exchange, MS SQL, DB2, etc). Thomas Thomas Stocking, GCIA, GCIH Captech Partners thomas at captech.com http://www.captech.com Date: Mon, 31 Mar 2003 17:59:12 -0500 From: =?iso-8859-1?Q?Jose_Orlando_Mu=F1oz_Bravo_=28HP=29?= To: "Nagios Users List (E-mail)" Subject: [Nagios-users] Check NT COUNTER parameter Hi all, I looking for a list of posibilities about the COUNTER parameter, the = help text said -l " \\\\counter","" I=B4m using=20 \\Paging File(_Total)\\% Usage" \\Process(_Total)\\Thread Count" \\Server\\Server Sessions" Is posible to get a complete "Performance Object" list ? Thanks in advance, Jomb ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Tue Apr 1 17:53:21 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 1 Apr 2003 16:53:21 +0100 Subject: Check NT COUNTER parameter Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909ECA1@netfinity-1.foundation-it.local> > From: Jose Orlando Mu?oz Bravo (HP) [mailto:jmunoz at comcel.com.co] > > I looking for a list of posibilities about the COUNTER > parameter, the help text said -l " \\ object>\\counter","" > > > I?m using > \\Paging File(_Total)\\% Usage" > \\Process(_Total)\\Thread Count" > \\Server\\Server Sessions" > > Is posible to get a complete "Performance Object" list ? The easiest way is to open up Control Panel -> Administrative Tools -> Performance, click the + above the graph, and all the objects/counters/instances are there for you to examine. You should be able to figure out the format from the examples you gave. Hint: open up the "Explain" window, it helps lots. :) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/counter/default.asp is not as useful as it could be, but it's there if you need it. Phil ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Qualkenbush at watchguard.com Tue Apr 1 19:11:20 2003 From: Jason.Qualkenbush at watchguard.com (Jason Qualkenbush) Date: Tue, 1 Apr 2003 09:11:20 -0800 Subject: Sample dependencies.cfg? Message-ID: I have a sample that came with nagios, but it only has service dependencies, not host. Anyone have a sample host dependency? -Jason ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agupta at yahoo-inc.com Tue Apr 1 20:23:24 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Tue, 1 Apr 2003 10:23:24 -0800 Subject: When do service event handlers get called? In-Reply-To: <20030401161900.C10495@IPAustralia.Gov.AU> References: <20030401161900.C10495@IPAustralia.Gov.AU> Message-ID: Hi, I apologize for misphrasing the question. I get email/pager notifications/escalations etc. everytime a service state changes. I have a service handler in place. It gets called at every service state change. I use this handler to log downtimes for services. Now, the problem is: Suppose, a host goes down (before a service on it is detected to be down). I get notification for this host gone down. I DONT get notifications for individual services running on this host. Also, my service handler doesnt get called in this case. Now, I can define a host-event-handler that will do the following: 1) Log each service gone DOWN as soon as the host goes down. 2) Log each service back UP as soon as the host comes back up. (I dont know when the actual service got up.) My question is: I can avoid doing 2) in host-event-handler ONLY IF the service-event-handler is going to get called after the host comes back up. Is the service-event-handler called in this case? I am doing it through global (host and service) handlers. thanks -anurag -----Original Message----- From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] Sent: Monday, March 31, 2003 10:19 PM To: Anurag Gupta Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] When do service event handlers get called? Dear Sir, Yes, the service event handler will be called when the service comes back up. I think this is documented in the glorious Nagios docs. I too log outage intervals in an mySQL DB; the intervals can only be be computed because the event handler is called at the end of the outage. If you doubt this have a look at the logging options in nagios.cfg and define a service handler and a dummy service that is monitored with a plugin like, #!/bin/sh test_result='OK' # test_result='FAIL' case "$test_result" in FAIL) echo 'Failed. This service check always fails. Debug check/event handlers/notification etc.' exit 2 ;; OK) echo 'Ok. This service check always succeeds. Debug check/event handlers/notification etc.' exit 0 ;; esac # Exercise event handler # Go shell, go. 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 is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philip.m.einsmann at citigroup.com Tue Apr 1 21:02:56 2003 From: philip.m.einsmann at citigroup.com (Einsmann, Philip M) Date: Tue, 1 Apr 2003 14:02:56 -0500 Subject: nagios-statd Message-ID: <80155072C85A31449B97918F1C12645E3152DC@exnjmb11.nam.nsroot.net> How do I get the new version in PERL? I do not want to load python on 80+ servers O the paper work for that would just be to painful. In what cfg file do I add the nagios-statd? On the server and how do I get it to be called as a check? Phil Einsmann ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gert.lindstrom at brevik.nu Tue Apr 1 21:20:22 2003 From: gert.lindstrom at brevik.nu (=?iso-8859-1?Q?Gert_Lindstr=F6m?=) Date: Tue, 1 Apr 2003 21:20:22 +0200 Subject: Writing Perl script Message-ID: <005601c2f883$be09c230$36c8a8c0@dkkm80j> Can some explain this for a perl newbi ? Explicitly initialize each varialable in use. Otherwise with caching enabled, the plugin will not be recompilied each time, and therefore Perl will not reinitialize all the variables. All old variable values will still be in effect. I think this is happening for me and i cant figuring out what to do about it. Thanks --- Gert -------------- next part -------------- An HTML attachment was scrubbed... URL: From mat at avedya.com Tue Apr 1 16:26:34 2003 From: mat at avedya.com (Matthieu Parisot) Date: Tue, 01 Apr 2003 16:26:34 +0200 Subject: Notification options for email/pager In-Reply-To: <62234.62.142.228.62.1049196492.squirrel@www.claymountain.com> References: <62234.62.142.228.62.1049196492.squirrel@www.claymountain.com> Message-ID: <3E89A19A.7070701@avedya.com> The solution is still the same for now: create separate contact_group and contact for each kind of notification, with differents notification_options IMHO, the best way do it in Nagios would be to consider "notificators" (commands which send notifications) not as a command but a special object, which could have all the attributes that we need (like notification_interval, notification_period, notification_options ...) What do you guys think ? Mat. Tero Kokko wrote: > Has someone solved the problem when you want different >notification_options for email- and pager-notifications? What Im wanting >to do here is that notifications would go out on warning-state with email >but only critical-notifications would use pager too. One way to do it >would be setting up multiple tests for same services but that would be >just plain stupid... > Currently Im thinking just do some filtering on pager-software, but it >would be lot nicer to have it done in Nagios. > > Tero Kokko > Claymountain Solutions > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: ValueWeb: >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >No other company gives more support or power for your dedicated server >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lonny at bangtherockstogether.net Tue Apr 1 21:50:32 2003 From: lonny at bangtherockstogether.net (Lonny Selinger) Date: Tue, 1 Apr 2003 13:50:32 -0600 (CST) Subject: Writing Perl script In-Reply-To: <005601c2f883$be09c230$36c8a8c0@dkkm80j> References: <005601c2f883$be09c230$36c8a8c0@dkkm80j> Message-ID: <60517.24.72.6.129.1049226632.squirrel@webmail.bangtherockstogether.net> One thing you can do is predeclare the variable as "undefined" oustide of any functions. This is what I normally do when writing perl ... the alternative is to declare it at the time of use (while using strict) in each function its called in. An example of a pre-declaration might be: my $var = undef; Same goes for explicit declaration withing a function: my $var = $some_var; is this sort of what you're looking for? I'm assuming you're using strict. -- Lonny > Can some explain this for a perl newbi ? > > Explicitly initialize each varialable in use. Otherwise with caching enabled, the > plugin will not be recompilied each time, and therefore Perl will not reinitialize > all the variables. All old variable values will still be in effect. > > I think this is happening for me and i cant figuring out what to do about it. > > Thanks > > --- > Gert ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GBunting864 at Worldsavings.com Tue Apr 1 22:06:00 2003 From: GBunting864 at Worldsavings.com (Bunting, Glen, IG) Date: Tue, 1 Apr 2003 12:06:00 -0800 Subject: APAN problems Message-ID: <6CF7A192A85BD1458E7C5F35D607750C5F584C@ok1ems2.worldsavings.com> Thanks for the help. I figured out that the issue was I had the incorrect permissions on the rrd directory. The rrd's themselves were correct, but the parent directory was incorrect. I can now get the ping graphs working fine now. Glen -----Original Message----- From: Bunting, Glen, IG Sent: Monday, March 31, 2003 9:33 AM To: Fredrik W?nglund Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] APAN problems Serviceextinfo does not work. I was able to get the graphs showing by using hostextinfo and moving the graph.png to /usr/local/nagios/share/images/logos. I am now getting another problem in that when I click on the graph I get the page that is supposed to pull up but there are no graphs at all. When I enter the url to the graph http://localhost/nagios/cgi-bin/generate.cgi?GlenNT&Ping&600 I get a page that states "The image http://localhost/nagios/cgi-bin/generate.cgi?GlenNT&Ping&600 cannot be displayed because it contains errors". In apancgi.debug I am getting these messages: CONF: GlenNT;Ping;/usr/local/nagios/rrd/GlenNT_Ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds CONF: GlenNT;Ping;/usr/local/nagios/rrd/GlenNT_Ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds CONF: GlenNT;Ping;/usr/local/nagios/rrd/GlenNT_Ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds CONF: GlenNT;Ping;/usr/local/nagios/rrd/GlenNT_Ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds CONF: GlenNT;Ping;/usr/local/nagios/rrd/GlenNT_Ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds CONF: GlenNT;Ping;/usr/local/nagios/rrd/GlenNT_Ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds /usr/bin/rrdtool graph - -s -2851200 -a PNG -v Seconds DEF:var0=/usr/local/nagios/rrd/GlenNT_Ping.rrd:ping:AVERAGE LINE2:var0#ff0000:ping: /usr/bin/rrdtool graph - -s -86400 -a PNG -v Seconds DEF:var0=/usr/local/nagios/rrd/GlenNT_Ping.rrd:ping:AVERAGE LINE2:var0#ff0000:ping: /usr/bin/rrdtool graph - -s -600 -a PNG -v Seconds DEF:var0=/usr/local/nagios/rrd/GlenNT_Ping.rrd:ping:AVERAGE LINE2:var0#ff0000:ping: /usr/bin/rrdtool graph - -s -3600 -a PNG -v Seconds DEF:var0=/usr/local/nagios/rrd/GlenNT_Ping.rrd:ping:AVERAGE LINE2:var0#ff0000:ping: /usr/bin/rrdtool graph - -s -604800 -a PNG -v Seconds DEF:var0=/usr/local/nagios/rrd/GlenNT_Ping.rrd:ping:AVERAGE LINE2:var0#ff0000:ping: /usr/bin/rrdtool graph - -s -31557600 -a PNG -v Seconds DEF:var0=/usr/local/nagios/rrd/GlenNT_Ping.rrd:ping:AVERAGE LINE2:var0#ff0000:ping Any ideas? Thanks Glen -----Original Message----- From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] Sent: Monday, March 31, 2003 5:17 AM To: Bunting, Glen, IG Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] APAN problems Does any serviceextinfo work? Does the user that the web-server runs as have read-permissions on the files? Bunting, Glen, IG wrote: >Fredrik, > >I have compared the case sensitivity of hostname/description and they look correct. Here are the relevant parts of my configs. I still do not have any links from within nagios. > >############################################################################################ ># Services for APAN >############################################################################################ > ># service definition for APAN ping > >define service{ > host_name GlenNT,JeffNT,JeffIIS,JeffLinux,gbredhat1 > service_description Ping > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups nt-admins,linux-admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > check_command apan!ping!100.0,20%!500.0,60% > name Ping > use generic-service > normal_check_interval 1 > } > >############################################################################################ ># Extended service information >############################################################################################ > ># rrd link of ping round-trip times >define serviceextinfo{ > host_name gbredhat1 > service_description Ping > notes_url /nagios/cgi-bin/apan.cgi?host=gbredhat1&service=Ping > icon_image graph.png > icon_image_alt View graphs > } > >############################################################################################ ># Enabling extended host info >############################################################################################ > >xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg >xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg > >Thanks > >Glen > >-----Original Message----- >From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] >Sent: Thursday, March 27, 2003 11:42 PM >To: Bunting, Glen, IG >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] APAN problems > > >The extinfo-definitions (and Apan) is very case-sensitive. Make sure >your hostname/sevicedescription looks exactly the same in the >service-definition and the serviceextinfo-definition. >If this desnt work, let us look at the relevant parts of your config. > > >/FredrikW > > > >Bunting, Glen, IG wrote: > > > >>I am currently trying to set up APAN. As far as I can tell, I have set it up exactly as shown in the how-to for the ping round trip times. I have two problems. >> >>1. The only host that this seems to be working on is the local host. All other computers I am getting an error "Could not insert ':Ping' , 'xxxxxxxxxx:' into /usr/local/nagios/rrd/GlenNT_Ping.rrd" from apan.debug. From within nagios is states the host could not be found. >> >>I have check the permissions on the rrd file and they all have nagios as the owner with read/write access. >> >>2. The other problem I have is that I cannot get the graphs to come up from within nagios using serviceextinfo.cfg. I can get hostextinfo.cfg to work properly with the logos, but not the APAN link to the graphs. >> >>I have followed the instruction and examples as close as I could and I believe they are accurate. Am I missing something obvious or should I post the relevant configs? >> >>Thanks >> >>Glen >> >> >>***************************************************************************** >>If you are not the intended recipient of this e-mail, please notify >>the sender immediately. The contents of this e-mail do not amend >>any existing disclosures or agreements unless expressly stated. >>***************************************************************************** >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: >>The Definitive IT and Networking Event. Be There! >>NetWorld+Interop Las Vegas 2003 -- Register today! >>http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> > > > > >***************************************************************************** >If you are not the intended recipient of this e-mail, please notify >the sender immediately. The contents of this e-mail do not amend >any existing disclosures or agreements unless expressly stated. >***************************************************************************** > > > ***************************************************************************** If you are not the intended recipient of this e-mail, please notify the sender immediately. The contents of this e-mail do not amend any existing disclosures or agreements unless expressly stated. ***************************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From heather at geospiza.com Tue Apr 1 23:23:06 2003 From: heather at geospiza.com (Heather Barnes) Date: Tue, 01 Apr 2003 13:23:06 -0800 Subject: Unable to use external commands after reboot Message-ID: <3E8A033A.7070102@geospiza.com> Since rebooting the machine running the nagios process(Linux 2.4), I have been unable to use the web command interface. I am given the following error messages on the web interface: It appears as though Nagios is not running, so commands are temporarily unavailable... Previous to the reboot, this feature was functioning normally. Configuration files do not seem altered since it was working. I have not noticed any other problems since reboot. All the other nagios services are running fine. Any suggestions on how to get this feature up and running again? Thanks, Heather ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steve.Rossen at Parago.Com Tue Apr 1 23:58:59 2003 From: Steve.Rossen at Parago.Com (Steve Rossen) Date: Tue, 1 Apr 2003 15:58:59 -0600 Subject: Unable to use external commands after reboot Message-ID: <870BC6C69F20D4118ECC009027FC77610672C76A@copexc01.parago.com> Did you try to start Nagios after the reboot seeing how the error you are getting clearly says that Nagios is not running? -----Original Message----- From: Heather Barnes [mailto:heather at geospiza.com] Sent: Tuesday, April 01, 2003 3:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Unable to use external commands after reboot Since rebooting the machine running the nagios process(Linux 2.4), I have been unable to use the web command interface. I am given the following error messages on the web interface: It appears as though Nagios is not running, so commands are temporarily unavailable... Previous to the reboot, this feature was functioning normally. Configuration files do not seem altered since it was working. I have not noticed any other problems since reboot. All the other nagios services are running fine. Any suggestions on how to get this feature up and running again? Thanks, Heather ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Wed Apr 2 00:12:11 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 01 Apr 2003 17:12:11 -0500 Subject: http protected Message-ID: <1049235131.1716.17.camel@x> Hi all , Any idea on how could I make the check_http work on a web page that ask for a login / password ? Because it send me warnings... thank you ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Wed Apr 2 00:22:15 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Tue, 1 Apr 2003 16:22:15 -0600 Subject: Writing Perl script Message-ID: <352B04312822444A962714393AED8A4D026839@ADAEVS01.int.chickasaw.net> Put "use strict;" in your script and it will help you get on the right path. Just make sure every variable you use is declared first using "my $var;" then you can use the variable. The use strict will complain if you don't do this. http://www.perldoc.com/perl5.8.0/lib/strict.html > Can some explain this for a perl newbi ? > > Explicitly initialize each varialable in use. Otherwise with caching > enabled, the plugin will not be recompilied each time, and therefore > Perl will not reinitialize all the variables. All old variable values > will still be in effect. > > I think this is happening for me and i cant figuring out what to do > about it. > > Thanks > > --- > Gert ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 2 00:18:33 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 2 Apr 2003 08:18:33 +1000 Subject: Writing Perl script In-Reply-To: <005601c2f883$be09c230$36c8a8c0@dkkm80j>; from gert.lindstrom@brevik.nu on Tue, Apr 01, 2003 at 09:20:22PM +0200 References: <005601c2f883$be09c230$36c8a8c0@dkkm80j> Message-ID: <20030402081828.A275@IPAustralia.Gov.AU> Dear Gentlemen, On Tue, Apr 01, 2003 at 09:20:22PM +0200, Gert Lindstr?m wrote: > Can some explain this for a perl newbi ? > > Explicitly initialize each varialable in use. Otherwise with caching enabled, the plugin will not be recompilied each time, and therefore Perl will not reinitialize all the variables. All old variable values will still be in effect. > This comment only applies to Perl programs written to use an embedded Perl interpreter - such as Nagios built with the Perl configure options. If Nagios is built --with-perl-cache (?), then the Perl plugin is _not_ recompiled each time it is scheduled by Nagios. This saves quite some CPU cycles and is the same technique used by mod_perl to boost Perl CGI performance. See perldoc perlembed (man perlembed) or the mod_perl docco. > I think this is happening for me and i cant figuring out what to do about it. > Initialise your variables before they are used. Don't expect them to have null or zero values. Otherwise, they will probably retain the values they had last time the program was run by the embedded Perl Nagios. my ($a, $b, $c) = qw(a b c) : # ? my $i = 10 my @a = qw(a_0 a_1 a_2 a_3) ; my %h = ( a => 1, b => 2) ; # that's all # for Perl > 5.6 ? 'use constant' is another reasonable initialiser. If it is, rebuild Nagios without the Perl options (standalone test Nag) and see if it still happens or use the contrib/mini_epn to check your program out. In nay case, it is a good thing to initiliase variables. If they were C auto variables you'd get junk ... > Thanks > > --- > Gert -- ------------------------------------------------------------------------ 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 is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Wed Apr 2 00:29:26 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Tue, 1 Apr 2003 14:29:26 -0800 (PST) Subject: http protected In-Reply-To: <1049235131.1716.17.camel@x> References: <1049235131.1716.17.camel@x> Message-ID: <20030401222926.37945.qmail@web21503.mail.yahoo.com> check_http -h, try the -a option. Frank Gadot wrote:Hi all , Any idea on how could I make the check_http work on a web page that ask for a login / password ? Because it send me warnings... thank you ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more -------------- next part -------------- An HTML attachment was scrubbed... URL: From NOC at eiiecomm.com Wed Apr 2 00:41:12 2003 From: NOC at eiiecomm.com (NOC at eiiecomm.com) Date: Tue, 1 Apr 2003 17:41:12 -0500 Subject: CHECK_SNMP help and syntax Message-ID: Hi all, I have quite a few snmp traps that I need to check on Nagios. If possible. I am new to snmp traps and would appreciate any help with the following list: NIC Status: Up, Down, errors Linux Processes: kernel, and other core processes like IKE, IPSEC, IPTABLES? IDS: SNORT mib and associated traps Memory : Memory usage and thresholds CPU: utilization and thresholds Hardware: Power Supply voltages CPU Temp Hard Drive S.M.A.R.T Case removal IPSEC: Tunnel status Avg Latency Traffic Load Any help would be greatly appreciated. Thanks, Mike Hall -------------- next part -------------- An HTML attachment was scrubbed... URL: From jamie.baddeley at bclnz.com Wed Apr 2 01:18:41 2003 From: jamie.baddeley at bclnz.com (Jamie Baddeley) Date: Wed, 02 Apr 2003 11:18:41 +1200 Subject: http protected Message-ID: # /usr/lib/netsaint/plugins/check_http -h check_http (netsaint-plugins 1.2.9-4) 1.32.2.6 The netsaint plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Copyright (c) 1999 Ethan Galstad (netsaint at linuxbox.com) This plugin tests the HTTP service on the specified host. It can test normal (http) and secure (https) servers, follow redirects, search for strings and regular expressions, check connection times, and report on certificate expiration times. Usage: check_http [-H | -I IP-address] [-u ] [-p ] [-w ] [-c ] [-t ] [-L] [-a auth] [-f ] [-e ] [-s string] [-r | -R ] [-P string] check_http --help check_http --version NOTE: One or both of -H and -I must be specified Options: -H, --hostname=ADDRESS Host name argument for servers using host headers (virtual host) -I, --IP-address=ADDRESS IP address or name (use numeric address if possible to bypass DNS lookup). -e, --expect=STRING String to expect in first line of server response (default: HTTP/1.) -s, --string=STRING String to expect in the content -u, --url=PATH URL to GET or POST (default: /) -p, --port=INTEGER Port number (default: 80) -P, --post=STRING URL encoded http POST data -w, --warning=INTEGER Response time to result in warning status (seconds) -c, --critical=INTEGER Response time to result in critical status (seconds) -t, --timeout=INTEGER Seconds before connection times out (default: 10) -a, --authorization=AUTH_PAIR Username:password on sites with basic authentication -L, --link=URL Wrap output in HTML link (obsoleted by urlize) -f, --onredirect= How to handle redirected pages -S, --ssl Connect via SSL -C, --certificate=INTEGER Minimum number of days a certificate has to be valid. (when this option is used the url is not checked.) -v, --verbose Show details for command-line debugging (do not use with netsaint server) -h, --help Print detailed help screen -V, --version Print version information This plugin can also check whether an SSL enabled web server is able to serve content (optionally within a specified time) orwhether the X509 certificate is still valid for the specified number of days. Check ability to serve content: =============================== Example: check_http -w 5 -c 10 --ssl www.verisign.com When the 'www.verisign.com' server returns its content within 5 seconds, a STATE_OK will be returned. When the server returns its content but exceeds the 5-second threshold, a STATE_WARNING will be returned. When an error occurs, a STATE_CRITICAL will be returned. Check validity of certificate: ============================== Example: check_http www.verisign.com -C 14 When the certificate of 'www.verisign.com' is valid for more than 14 days, a STATE_OK is returned. When the certificate is still valid, but for less than 14 days, a STATE_WARNING is returned. A STATE_CRITICAL will be returned when the certificate is expired. # >>> Frank Gadot 04/02 10:12 AM >>> Hi all , Any idea on how could I make the check_http work on a web page that ask for a login / password ? Because it send me warnings... thank you ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Wed Apr 2 01:21:33 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 01 Apr 2003 18:21:33 -0500 Subject: http protected In-Reply-To: References: Message-ID: <1049239293.5678.0.camel@x> Works great ! Thank you guys :-) So, anyone wanna work with me on this GUI interface ? :-) On Tue, 2003-04-01 at 18:18, Jamie Baddeley wrote: > # /usr/lib/netsaint/plugins/check_http -h > check_http (netsaint-plugins 1.2.9-4) 1.32.2.6 > The netsaint plugins come with ABSOLUTELY NO WARRANTY. You may redistribute > copies of the plugins under the terms of the GNU General Public License. > For more information about these matters, see the file named COPYING. > Copyright (c) 1999 Ethan Galstad (netsaint at linuxbox.com) > > This plugin tests the HTTP service on the specified host. It can test > normal (http) and secure (https) servers, follow redirects, search for > strings and regular expressions, check connection times, and report on > certificate expiration times. > > Usage: check_http [-H | -I IP-address] [-u ] [-p ] > [-w ] [-c ] [-t ] [-L] > [-a auth] [-f ] [-e ] > [-s string] [-r | -R ] > [-P string] > check_http --help > check_http --version > NOTE: One or both of -H and -I must be specified > > Options: > -H, --hostname=ADDRESS > Host name argument for servers using host headers (virtual host) > -I, --IP-address=ADDRESS > IP address or name (use numeric address if possible to bypass DNS lookup). > -e, --expect=STRING > String to expect in first line of server response (default: HTTP/1.) > -s, --string=STRING > String to expect in the content > -u, --url=PATH > URL to GET or POST (default: /) > -p, --port=INTEGER > Port number (default: 80) > -P, --post=STRING > URL encoded http POST data > -w, --warning=INTEGER > Response time to result in warning status (seconds) > -c, --critical=INTEGER > Response time to result in critical status (seconds) > -t, --timeout=INTEGER > Seconds before connection times out (default: 10) > -a, --authorization=AUTH_PAIR > Username:password on sites with basic authentication > -L, --link=URL > Wrap output in HTML link (obsoleted by urlize) > -f, --onredirect= > How to handle redirected pages > -S, --ssl > Connect via SSL > -C, --certificate=INTEGER > Minimum number of days a certificate has to be valid. > (when this option is used the url is not checked.) > > -v, --verbose > Show details for command-line debugging (do not use with netsaint server) > -h, --help > Print detailed help screen > -V, --version > Print version information > > > This plugin can also check whether an SSL enabled web server is able > to serve content (optionally within a specified time) orwhether the > X509 certificate is still valid for the specified number of days. > > Check ability to serve content: > =============================== > Example: check_http -w 5 -c 10 --ssl www.verisign.com > When the 'www.verisign.com' server returns its content within 5 > seconds, a STATE_OK will be returned. When the server returns its > content but exceeds the 5-second threshold, a STATE_WARNING will be > returned. When an error occurs, a STATE_CRITICAL will be returned. > > Check validity of certificate: > ============================== > Example: check_http www.verisign.com -C 14 > When the certificate of 'www.verisign.com' is valid for more than 14 > days, a STATE_OK is returned. When the certificate is still valid, but > for less than 14 days, a STATE_WARNING is returned. A STATE_CRITICAL > will be returned when the certificate is expired. > > # > > > >>> Frank Gadot 04/02 10:12 AM >>> > Hi all , > > Any idea on how could I make the check_http work on a web page that ask > for a login / password ? Because it send me warnings... > > thank you > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Wed Apr 2 01:37:19 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 01 Apr 2003 18:37:19 -0500 Subject: http protected In-Reply-To: References: Message-ID: <1049240239.5678.3.camel@x> I spoke too fast. In the services file, I did add this command : check_http!-a!domain/user:password I figured out that ! would be taken as a space, but I still have an error message on the log file .. Any trick ? ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjdean at unimelb.edu.au Wed Apr 2 02:21:06 2003 From: bjdean at unimelb.edu.au (Bradley Dean) Date: Wed, 2 Apr 2003 10:21:06 +1000 Subject: Unable to use external commands after reboot In-Reply-To: <870BC6C69F20D4118ECC009027FC77610672C76A@copexc01.parago.com>; from Steve.Rossen@Parago.Com on Tue, Apr 01, 2003 at 03:58:59PM -0600 References: <870BC6C69F20D4118ECC009027FC77610672C76A@copexc01.parago.com> Message-ID: <20030402102106.H4504@unimelb.edu.au> Greetings, Alternately, the nagios commands will be disabled if the nagios_check_command is returing a problem, have a look at the "Process Info" page and see what the Process Status Information is telling you. (nagios_check_command is set in cgi.cfg) Brad On Tue, Apr 01, 2003 at 03:58:59PM -0600, Steve Rossen wrote: > Did you try to start Nagios after the reboot seeing how the error you are > getting clearly says that Nagios is not running? > > -----Original Message----- > From: Heather Barnes [mailto:heather at geospiza.com] > Sent: Tuesday, April 01, 2003 3:23 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Unable to use external commands after reboot > > It appears as though Nagios is not running, so commands are temporarily > unavailable... -- Melbourne University ITSAD SDI - Campus Wide Info Systems Group (CWIS) Email: bjdean at unimelb.edu.au Phone: +61-3-83443997 Mobile: +61-413014395 Australian Intervarsity Choral Societies Association - Secretary Email: secretary at aicsa.org.au Web: http://www.aicsa.org.au ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Wed Apr 2 02:48:32 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 01 Apr 2003 19:48:32 -0500 Subject: http protected In-Reply-To: <1049240239.5678.3.camel@x> References: <1049240239.5678.3.camel@x> Message-ID: <1049244512.9388.1.camel@x> it worked , never mind .. On Tue, 2003-04-01 at 18:37, Frank Gadot wrote: > I spoke too fast. > > In the services file, I did add this command : > > check_http!-a!domain/user:password > > I figured out that ! would be taken as a space, but I still have an > error message on the log file .. > > Any trick ? > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.holm at inherent.com Wed Apr 2 03:46:27 2003 From: mark.holm at inherent.com (Mark Holm) Date: Tue, 1 Apr 2003 17:46:27 -0800 Subject: Help with newer check_snmp plug-in Message-ID: <4767A529EDCE4D40A7BA8EF46217D0031F76CA@pobox.inherent.com> I just upgraded my plug-ins to the newly released 1.3.0 versions and my checks that used check_snmp broke. I've been playing with this all afternoon and can't find a combination that works the way it did before. Can somebody help me with Syntax please? All this check does is check to see if an interface is up on our Cisco router. The command that I had before was: define command { command_name check_router_link command_line $USER1$/check_snmp $HOSTADDRESS$ -c $ARG2$ -o interfaces.ifTable.ifEntry.ifOperStatus.$ARG1$ -e SUBSTR -s up -cv down } >From what I can figure out so far the syntax changes are: * Add a -H for the address * community string changed to -C * the string syntax now does whole string or SUBSTR so the -e value went away. But what I cannot get is how I specify the correct or incorrect values as per the -cv option above? What I have so far is: define command { command_name check_router_link command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG2$ -o interfaces.ifTable.ifEntry.ifOperStatus.$ARG1$ -s up } Any help greatly appreciated! markh ======----- ://F2 new technology for real integration -----======== Mark A. Holm - Director of Network Engineering & Operations Inherent.com, Inc. 2140 SW Jefferson St. Phone: (503) 224-6751 Suite 200 extension 236 Portland, OR 97201 Fax: (503) 224-8872 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dene at ulmschneiders.com Wed Apr 2 03:57:41 2003 From: dene at ulmschneiders.com (Dene Ulmschneider) Date: Tue, 01 Apr 2003 20:57:41 -0500 Subject: (no subject) Message-ID: <5.1.0.14.2.20030401205327.00ba6870@192.168.1.112> Hello All- I am getting the following errors while trying to configure Nagios using Nagat. I know how to configure Nagios vi an editor but would like some of our Windows admins to be able to easily add, hosts, services, etc. ~~~~snip-it~~~~ Warning: fopen("/usr/local/nagios/etc/nagatcfg.dat", "w") - Permission denied in /var/www/html/nagat/plugin_default.inc on line 98 Warning: Supplied argument is not a valid File-Handle resource in /var/www/html/nagat/plugin_default.inc on line 99 Warning: Supplied argument is not a valid File-Handle resource in /var/www/html/nagat/plugin_default.inc on line 100 Warning: Cannot add header information - headers already sent by (output started at /var/www/html/nagat/plugin_default.inc:98) in /var/www/html/nagat/nagioscfg.php on line 63 ~~~~end snip-it~~~~ These errors are returned to the web browser when I try to import the .cfg files. Can anyone assist in resolving this issue? Any help is appreciated. Thanks- Dene Ulmschneider -- This message has been scanned for viruses and dangerous content by Data Techie, and is believed to be clean. Data Techie... always there to protect you! http://www.datatechie.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From daehenoc at optusnet.com.au Wed Apr 2 05:18:49 2003 From: daehenoc at optusnet.com.au (daehenoc at optusnet.com.au) Date: Wed, 02 Apr 2003 13:18:49 +1000 Subject: Users can't see configuration information Message-ID: <200304020318.h323In918578@mail012.syd.optusnet.com.au> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From sghosh at sghosh.org Wed Apr 2 05:30:20 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 01 Apr 2003 22:30:20 -0500 (EST) Subject: Help with newer check_snmp plug-in In-Reply-To: <4767A529EDCE4D40A7BA8EF46217D0031F76CA@pobox.inherent.com> References: <4767A529EDCE4D40A7BA8EF46217D0031F76CA@pobox.inherent.com> Message-ID: On Tue, 1 Apr 2003, Mark Holm wrote: > I just upgraded my plug-ins to the newly released 1.3.0 versions and my > checks that used check_snmp broke. I've been playing with this all afternoon > and can't find a combination that works the way it did before. Can somebody > help me with Syntax please? > > All this check does is check to see if an interface is up on our Cisco > router. The command that I had before was: > > define command { > command_name check_router_link > command_line $USER1$/check_snmp $HOSTADDRESS$ -c $ARG2$ -o > interfaces.ifTable.ifEntry.ifOperStatus.$ARG1$ -e SUBSTR -s up -cv down > } > > >From what I can figure out so far the syntax changes are: > > * Add a -H for the address > * community string changed to -C > * the string syntax now does whole string or SUBSTR so the -e value went > away. > > But what I cannot get is how I specify the correct or incorrect values as > per the -cv option above? > > What I have so far is: > > define command { > command_name check_router_link > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG2$ -o > interfaces.ifTable.ifEntry.ifOperStatus.$ARG1$ -s up > } > > Any help greatly appreciated! > > markh Two different answers: 1. Have you tried the check_ifoperstatus and check_ifstatus plugins? The first checks a particular interface noted either by the ifIndex (-k) or by ifDescr (-d) The second checks for status of all non-admin down interfaces on a device. Should simplify your life little. 2. check_snmp - (-s) does an exact match of full string, (-r) does a regex match (full or substring) If the match fails in either case, the return value is critical As a result (-cv) is no longer supported) -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 2 05:46:21 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 01 Apr 2003 22:46:21 -0500 (EST) Subject: CHECK_SNMP help and syntax In-Reply-To: References: Message-ID: On Tue, 1 Apr 2003 NOC at eiiecomm.com wrote: > Hi all, > I have quite a few snmp traps that I need to check on Nagios. If possible. > I am new to snmp traps and would appreciate any help with the following > list: > > NIC Status: Up, Down, errors > > Linux Processes: kernel, and other core processes like IKE, IPSEC, > IPTABLES? > > IDS: SNORT mib and associated traps > > Memory : Memory usage and thresholds > > CPU: utilization and thresholds > > Hardware: Power Supply voltages > CPU Temp > Hard Drive S.M.A.R.T > Case removal > > IPSEC: Tunnel status > Avg Latency > Traffic Load > > Any help would be greatly appreciated. > > Thanks, > > Mike Hall > Hi Mike SNMP traps are not the all that you need if the list you want to monitor includes most of the above. SNMP traps only exist for some pre-defined conditions and unless your are coding a new agent, you probably won't see them. Instead I would suggest doing active checks. NIC status - line status can be monitored via snmp if agent is on system. (check_ifoperstatus) NIC errors - an individual error is not as important as the rate of errors. To capture the rate info you need to use another rate capture tool like MRTG or Cricket and then alarm based on the rates captured there. (check_mrtg, check_rrd_data) Processes - check_procs for process status IDS - snort mibs and traps - active query of mib object via check_snmp and/or integration of traps via passive service checks Memory/CPU - check_mem/check_load Hardware - depends on the device - Compaq servers with Insight agents or cisco routers use SNMP, linux with lmsensors - need scripts IPsec - different tools (check_ping for latency, check_ifoperstatus for tunnel status, check_mrtg/check_rrd_data) -- -sg PS - just send one message a day please ;) ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From djy at brightsparks.net.au Wed Apr 2 06:15:36 2003 From: djy at brightsparks.net.au (Daniel Young) Date: Wed, 2 Apr 2003 14:15:36 +1000 (EST) Subject: Distributed host checks / service checks Message-ID: Hey, Were running a mixed passive / active check environment. Active checking is currently done to all the upstream systems we look after that are not firewalled. The rest of the network (almost 100 systems) is all done via passive checking (NSCA). And it all works wonderfully! However I have not been able to find a good way of host checking. I have seen suggestions of using NRPE (which is currently used on the unfirewalled network) however we cannot do this for a couple of reasons... So is there anyway that we can perform a host check with passive checking? (There is a mention of it in the docs however it doesnt go on any lengths about it). If this is simply too hard, we can base the status of the host on the services (ie if all the services on a host are down then the machine must be down). So how can we change the host status based on a service? Say if HTTP service is reported to be CRITICAL how can we change the 'host status' to reflect this? This would also allow us to us the status map. Thanks, Dan. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dene at ulmschneiders.com Wed Apr 2 06:27:34 2003 From: dene at ulmschneiders.com (Dene Ulmschneider) Date: Tue, 01 Apr 2003 23:27:34 -0500 Subject: trying to use NAGAT for additions and deletions Message-ID: <5.1.0.14.2.20030401232638.025c8eb8@192.168.1.112> Sorry about the repost - just wanted to add a "subject" I am getting the following errors while trying to configure Nagios using Nagat. I know how to configure Nagios vi an editor but would like some of our Windows admins to be able to easily add, hosts, services, etc. ~~~~snip-it~~~~ Warning: fopen("/usr/local/nagios/etc/nagatcfg.dat", "w") - Permission denied in /var/www/html/nagat/plugin_default.inc on line 98 Warning: Supplied argument is not a valid File-Handle resource in /var/www/html/nagat/plugin_default.inc on line 99 Warning: Supplied argument is not a valid File-Handle resource in /var/www/html/nagat/plugin_default.inc on line 100 Warning: Cannot add header information - headers already sent by (output started at /var/www/html/nagat/plugin_default.inc:98) in /var/www/html/nagat/nagioscfg.php on line 63 ~~~~end snip-it~~~~ These errors are returned to the web browser when I try to import the .cfg files. Can anyone assist in resolving this issue? Any help is appreciated. Thanks- Dene Ulmschneider -- This message has been scanned for viruses and dangerous content by Data Techie, and is believed to be clean. Data Techie... always there to protect you! http://www.datatechie.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.DeBlende at dhl.com Wed Apr 2 09:05:08 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Wed, 02 Apr 2003 09:05:08 +0200 Subject: Users can't see configuration information References: <200304020318.h323In918578@mail012.syd.optusnet.com.au> Message-ID: <3E8A8BA4.F350158D@dhl.com> http://nagios.sourceforge.net/docs/1_0/configcgi.html#authorized_for_configuration_information daehenoc at optusnet.com.au wrote: > > Hi all, > > I have a problem - my users can't see > configuration information for hosts/services > they are authenticated contacts for. > Yet they can see those hosts/services status > states fine. (i.e. nagios sends them > notifications, they can ack. problems etc etc.) > > Has anyone encountered this problem? > > TIA, > Greg > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.loew at steyr-ssf.com Wed Apr 2 09:36:40 2003 From: christian.loew at steyr-ssf.com (Christian =?iso-8859-1?B?TPZ3?=) Date: Wed, 2 Apr 2003 09:36:40 +0200 Subject: servicedependency Message-ID: <20030402073640.GA14144@debian> Hi nagios-users, i have some problems defining service-dependencies: i am monitoring Windows-machines with netsaint-client. works fine, but if the nsclient fails i got a lot of notifications (useddisksize_c,useddisksize_d,....) is there a simple way to set dependencies like: define servicedependency{ service_description DISKUSED_C,DISKUSED_D,DISKUSED_E dependent_service_description nsclient execution_failure_criteria w,u,c notification_failure_criteria w,u,c } Chris ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.masopust at siemens.com Wed Apr 2 10:02:22 2003 From: christian.masopust at siemens.com (Masopust Christian) Date: Wed, 2 Apr 2003 10:02:22 +0200 Subject: treeview in side.html Message-ID: Hi Nagios-users! Could anybody be so kind to share a side.html which shows a treeview of, for example, the defined hostgroups? I saw this the first time at the screenshots at the apan-site (apan.sourceforge.net). thanks in advance, chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From johannes.dagemark at wheelnetworks.com Wed Apr 2 10:53:56 2003 From: johannes.dagemark at wheelnetworks.com (Johannes Dagemark) Date: Wed, 2 Apr 2003 10:53:56 +0200 Subject: Eventlog References: <1048844198.960.9.camel@Monitor> <050e01c2f51e$fc33ea80$2f00a8c0@wheeljd> Message-ID: <06df01c2f8f5$6522ca50$8100a8c0@wheeljd> Hello I would like to monitor the eventlog on a couple of w2k boxes. The idea so far is to install a program on the w2k boxes that sends the entries in the eventlog to a syslogserver and then use the check_log plugin to check for certain problems. Can anyone recommend a good software (small, simple and free) that can send entries in the eventlog to syslog or is there someone that has a better idea? Regards Johannes Dagemark ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.loew at steyr-ssf.com Wed Apr 2 11:26:46 2003 From: christian.loew at steyr-ssf.com (Christian =?iso-8859-1?B?TPZ3?=) Date: Wed, 2 Apr 2003 11:26:46 +0200 Subject: Eventlog In-Reply-To: <06df01c2f8f5$6522ca50$8100a8c0@wheeljd> References: <1048844198.960.9.camel@Monitor> <050e01c2f51e$fc33ea80$2f00a8c0@wheeljd> <06df01c2f8f5$6522ca50$8100a8c0@wheeljd> Message-ID: <20030402092645.GA30035@debian> On Wed, Apr 02, 2003 at 10:53:56AM +0200, Johannes Dagemark wrote: > Hello > > I would like to monitor the eventlog on a couple of w2k boxes. The idea so far > is to install a program on the w2k boxes that sends the entries in the eventlog > to a syslogserver and then use the check_log plugin to check for certain > problems. > > Can anyone recommend a good software (small, simple and free) that can send > entries in the eventlog to syslog or is there someone that has a better idea? take a look on http://www.ncomtech.com/download.htm (NT event to snmp trap service) Chris ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Wed Apr 2 11:39:59 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Wed, 2 Apr 2003 10:39:59 +0100 Subject: Eventlog Message-ID: <1012BD903945D411915500105A48FF57F06A6C@nt.man.fwltech.com> I've had some success with ntsyslog from http://ntsyslog.sourceforge.net/ it's gpl. Ewan > -----Original Message----- > From: Johannes Dagemark [mailto:johannes.dagemark at wheelnetworks.com] > Sent: 02 April 2003 09:54 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Eventlog > > > Hello > > I would like to monitor the eventlog on a couple of w2k > boxes. The idea so far > is to install a program on the w2k boxes that sends the > entries in the eventlog > to a syslogserver and then use the check_log plugin to check > for certain > problems. > > Can anyone recommend a good software (small, simple and free) > that can send > entries in the eventlog to syslog or is there someone that > has a better idea? > > Regards > > Johannes Dagemark > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Wed Apr 2 13:04:19 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 02 Apr 2003 13:04:19 +0200 Subject: treeview in side.html References: Message-ID: <3E8AC3B3.9030007@datavis.se> I've posted it on Apans web-page (apan.sourceforge.net) /FredrikW Masopust Christian wrote: > > Hi Nagios-users! > > Could anybody be so kind to share a side.html which shows a treeview > of, for example, > the defined hostgroups? > > I saw this the first time at the screenshots at the apan-site > (apan.sourceforge.net). > > thanks in advance, > chris > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.clayton at intec.co.za Wed Apr 2 13:42:31 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Wed, 2 Apr 2003 13:42:31 +0200 Subject: Zipped tarballs for Solaris 2.6,5.7,5.8 Message-ID: <9290BC9741D67F43BDAAC84144FF870DB692B5@intecserver007.intec.co.za> To save myself some grief and not mailing the correct binaries, I have create a web page with compiled binaries for various Unixes, I have also include nrpe as well and am working on the nsca binary. If anybody has other working OSes not included, I could upload them onto the website as well. http://www.geocities.com/sandbay2003/nagios enjoy cheers -----Original Message----- From: Paul Clayton [mailto:paul.clayton at intec.co.za] Sent: Tuesday, April 01, 2003 12:43 PM To: Nagios Users (E-mail) Subject: [Nagios-users] Zipped tarballs for Solaris 2.6,5.7,5.8 If anybody is interested, I have nagios plugins zipped tarballs for Solaris 2.6, Solaris 5.7, Solaris 5.8, Tru64 4.0g Drop us a line directly if you want. Regards Unix like TeePee no windows, no gates, Apache inside. Paul Clayton Global Unix Co-ordinator Intec Telecom Systems Ph +27 (0) 21 4309000 Fax +27 (0) 21 4309025 Mobile +27(0) 832853403 **************************************************************************** *************** This e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. **************************************************************************** ************** ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hbouchin at bil.fr Wed Apr 2 14:24:18 2003 From: hbouchin at bil.fr (Bouchind'homme =?iso-8859-1?Q?Herv=E9?=) Date: Wed, 02 Apr 2003 14:24:18 +0200 Subject: can t have same host in hostextinfo and serviceextinfo Message-ID: <5.2.0.9.0.20030402140353.00a886d8@mail.bil.fr> I think there is a bug in nagios process. When i create all my host in hostextinfo.cfg for seeing little picture in front off all hostname in "Service detail" and in "status map", then the apan picture graph.png disappear for all host service. When i comment my host in hostextinfo, the picture graph.png from Apan appear in front of the service. It seem that we can't put the same host in hostextinfo and serviceextinfo. PS: sorry for my english ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Wed Apr 2 14:28:01 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Wed, 2 Apr 2003 13:28:01 +0100 Subject: treeview in side.html Message-ID: <1012BD903945D411915500105A48FF57F06A6F@nt.man.fwltech.com> Are you sure you've uploaded the right file? the index.html in particular is broken, with the "Home" link in the top right hand corner pointing to the cgi directory instead of the html directory, etc? Ewan > -----Original Message----- > From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] > Sent: 02 April 2003 12:04 > To: Masopust Christian > Cc: 'nagios-users at lists.sourceforge.net' > Subject: Re: [Nagios-users] treeview in side.html > > > I've posted it on Apans web-page (apan.sourceforge.net) > > > /FredrikW > > > Masopust Christian wrote: > > > > > Hi Nagios-users! > > > > Could anybody be so kind to share a side.html which shows a > treeview > > of, for example, > > the defined hostgroups? > > > > I saw this the first time at the screenshots at the apan-site > > (apan.sourceforge.net). > > > > thanks in advance, > > chris > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Wed Apr 2 15:00:36 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 02 Apr 2003 15:00:36 +0200 Subject: treeview in side.html References: <1012BD903945D411915500105A48FF57F06A6F@nt.man.fwltech.com> Message-ID: <3E8ADEF4.2090800@datavis.se> OK, there was a small bug in it. I've uploaded a fixed version now. /FredrikW Ewan Leith wrote: >Are you sure you've uploaded the right file? the index.html in particular is >broken, with the "Home" link in the top right hand corner pointing to the >cgi directory instead of the html directory, etc? > >Ewan > > > >>-----Original Message----- >>From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] >>Sent: 02 April 2003 12:04 >>To: Masopust Christian >>Cc: 'nagios-users at lists.sourceforge.net' >>Subject: Re: [Nagios-users] treeview in side.html >> >> >>I've posted it on Apans web-page (apan.sourceforge.net) >> >> >>/FredrikW >> >> >>Masopust Christian wrote: >> >> >> >>>Hi Nagios-users! >>> >>>Could anybody be so kind to share a side.html which shows a >>> >>> >>treeview >> >> >>>of, for example, >>>the defined hostgroups? >>> >>>I saw this the first time at the screenshots at the apan-site >>>(apan.sourceforge.net). >>> >>>thanks in advance, >>>chris >>> >>> >>> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: ValueWeb: >>Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >>No other company gives more support or power for your dedicated server >>http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS >>when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> >> > > > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at dhl.com Wed Apr 2 14:56:37 2003 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Wed, 2 Apr 2003 09:56:37 -0300 Subject: Notifications by e-mail Message-ID: <005301c2f917$4d259d70$7f023702@sao2127> Anybody help me ? I use Nagios 1.0v. My problem is. When I stoped sendmail service I don't receive notification by e-mail. I really need of sendmail service started ? Thank you. Hugo ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at dhl.com Wed Apr 2 15:24:40 2003 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Wed, 2 Apr 2003 10:24:40 -0300 Subject: Notification Message-ID: <005401c2f91b$37b6df40$7f023702@sao2127> Nagios 1.0v Can I use another SMTP Server to send notification by e-mail ? I can't to use sendmail in the Nagios Server. The company not permit to use two SMTP Servers. Thank you. Hugo ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 2 15:38:50 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 02 Apr 2003 08:38:50 -0500 (EST) Subject: treeview in side.html In-Reply-To: References: Message-ID: On Wed, 2 Apr 2003, Masopust Christian wrote: > > Hi Nagios-users! > > Could anybody be so kind to share a side.html which shows a treeview of, for > example, > the defined hostgroups? > > I saw this the first time at the screenshots at the apan-site > (apan.sourceforge.net). > > thanks in advance, > chris > You need to customize your side.html -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 icnet.com.ve Wed Apr 2 15:58:31 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Wed, 02 Apr 2003 09:58:31 -0400 Subject: Question status map, alert histogram, and trends Message-ID: <5.1.0.14.0.20030402095708.00b4ace8@pop.icnet.com.ve> Hi, When I put the trends, alert histogram or status map on the web interfaces don?t appear the icons and the graphs, What can I do for solve that? Thanks, Jeyri Bautista ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rplewe at hpce.nec.com Wed Apr 2 16:16:33 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Wed, 2 Apr 2003 16:16:33 +0200 Subject: Notifications by e-mail In-Reply-To: <005301c2f917$4d259d70$7f023702@sao2127>; from hugo.rebello@dhl.com on Wed, Apr 02, 2003 at 09:56:37AM -0300 References: <005301c2f917$4d259d70$7f023702@sao2127> Message-ID: <20030402161633.F1545@hpce.nec.com> On Wed, Apr 02, 2003 at 09:56:37AM -0300, Hugo Rebello wrote: > > Anybody help me ? I use Nagios 1.0v. > > My problem is. When I stoped sendmail service I don't receive notification > by e-mail. I really need of sendmail service started ? When you disable the ability of your system to send mail, you will not receive any mail from this system. What exactly do you find surprising in this? Rasmus (Of course, sendmail as a program is not neccessary, but you need the functionality) ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Raj.Mudhar at nottingham.ac.uk Wed Apr 2 16:15:10 2003 From: Raj.Mudhar at nottingham.ac.uk (Raj Mudhar) Date: Wed, 02 Apr 2003 15:15:10 +0100 Subject: Setting up Web Interface - please help Message-ID: Hi again, This manual is not very easy to understand at all for new linux users. Ok im at the stage where i setup the webinterface... now.. it asks me to enter scriptalias for cgi's in the httpd.conf file ok i went to this file emacced it and its was full of comments and other info... I need to now know WHERE to enter the script alias code and where to enter the Alias code. Can it be anywhere in this file.. like just before the first comments ?? or does it have to be in a certain section. Please help. Raj Mudhar IT Support Assistant Cripps Computing Centre South Information Services Email: Raj.Mudhar at nottingham.ac.uk ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Qualkenbush at watchguard.com Wed Apr 2 16:27:17 2003 From: Jason.Qualkenbush at watchguard.com (Jason Qualkenbush) Date: Wed, 2 Apr 2003 06:27:17 -0800 Subject: Host Dependency (I just need a sample) Message-ID: My sample file only had service dependencies. Can someone just send a sample of how the host dependency is constructed? I saw general documentation on the subject, but nothing very detailed. I've been trying RTFM, but I just can't find this part of it. -Jason ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johannes.dagemark at op5.se Wed Apr 2 16:26:51 2003 From: johannes.dagemark at op5.se (Johannes Dagemark) Date: Wed, 2 Apr 2003 16:26:51 +0200 Subject: Eventlog References: <1012BD903945D411915500105A48FF57F06A6C@nt.man.fwltech.com> Message-ID: <007a01c2f923$e80357e0$8100a8c0@wheeljd> Thanks!! Just what I was looking for. Regards Johannes Dagemark ----- Original Message ----- From: "Ewan Leith" To: "'Johannes Dagemark'" ; Sent: Wednesday, April 02, 2003 11:39 AM Subject: RE: [Nagios-users] Eventlog > I've had some success with ntsyslog from http://ntsyslog.sourceforge.net/ > it's gpl. > > Ewan > > > -----Original Message----- > > From: Johannes Dagemark [mailto:johannes.dagemark at wheelnetworks.com] > > Sent: 02 April 2003 09:54 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Eventlog > > > > > > Hello > > > > I would like to monitor the eventlog on a couple of w2k > > boxes. The idea so far > > is to install a program on the w2k boxes that sends the > > entries in the eventlog > > to a syslogserver and then use the check_log plugin to check > > for certain > > problems. > > > > Can anyone recommend a good software (small, simple and free) > > that can send > > entries in the eventlog to syslog or is there someone that > > has a better idea? > > > > Regards > > > > Johannes Dagemark > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > No other company gives more support or power for your dedicated server > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Wed Apr 2 16:31:03 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Wed, 2 Apr 2003 08:31:03 -0600 Subject: Setting up Web Interface - please help Message-ID: <7F76AA41FC7DD5119B1E00508BAF0444030B476D@gsmail.govst.edu> Look at the file and find the sections where you see other scriptalias and alias entries and add them in there. Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: Raj Mudhar [mailto:Raj.Mudhar at nottingham.ac.uk] Sent: Wednesday, April 02, 2003 8:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Setting up Web Interface - please help Hi again, This manual is not very easy to understand at all for new linux users. Ok im at the stage where i setup the webinterface... now.. it asks me to enter scriptalias for cgi's in the httpd.conf file ok i went to this file emacced it and its was full of comments and other info... I need to now know WHERE to enter the script alias code and where to enter the Alias code. Can it be anywhere in this file.. like just before the first comments ?? or does it have to be in a certain section. Please help. Raj Mudhar IT Support Assistant Cripps Computing Centre South Information Services Email: Raj.Mudhar at nottingham.ac.uk ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.Verscheure at loria.fr Wed Apr 2 16:36:34 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Wed, 02 Apr 2003 16:36:34 +0200 Subject: 2 problems Message-ID: <3E8AF572.6040609@loria.fr> An HTML attachment was scrubbed... URL: From hugo.rebello at dhl.com Wed Apr 2 16:37:07 2003 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Wed, 2 Apr 2003 11:37:07 -0300 Subject: Notifications by e-mail In-Reply-To: <20030402161633.F1545@hpce.nec.com> References: <20030402161633.F1545@hpce.nec.com> Message-ID: <000001c2f925$56975660$7f023702@sao2127> Can I to use other smtp server ? For instance, use the smtp server that is my E-mail Server instead smtp server (sendmail) in Nagios Server ? Hugo -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Rasmus Plewe Sent: quarta-feira, 2 de abril de 2003 11:17 To: Nagios users list Subject: Re: [Nagios-users] Notifications by e-mail On Wed, Apr 02, 2003 at 09:56:37AM -0300, Hugo Rebello wrote: > > Anybody help me ? I use Nagios 1.0v. > > My problem is. When I stoped sendmail service I don't receive notification > by e-mail. I really need of sendmail service started ? When you disable the ability of your system to send mail, you will not receive any mail from this system. What exactly do you find surprising in this? Rasmus (Of course, sendmail as a program is not neccessary, but you need the functionality) ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Apr 2 17:00:14 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 2 Apr 2003 09:00:14 -0600 Subject: Notification Message-ID: <5DB017510818EC468B05BD7BD9EACF83030ED8F9@mismail.ena.com> Why don't you just prevent sendmail from accepting connections from external hosts? O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA -- Marc > -----Original Message----- > From: Hugo Rebello [mailto:hugo.rebello at dhl.com] > Sent: Wednesday, April 02, 2003 7:25 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notification > > Nagios 1.0v > > Can I use another SMTP Server to send notification by e-mail ? > I can't to use sendmail in the Nagios Server. The company not permit to > use > two SMTP Servers. > > Thank you. > > Hugo > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at dhl.com Wed Apr 2 17:07:08 2003 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Wed, 2 Apr 2003 12:07:08 -0300 Subject: Notification In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83030ED8F9@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83030ED8F9@mismail.ena.com> Message-ID: <000401c2f929$884da340$7f023702@sao2127> I need comment this line, or enable ? Thank you. -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: quarta-feira, 2 de abril de 2003 12:00 To: Hugo Rebello; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Notification Why don't you just prevent sendmail from accepting connections from external hosts? O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA -- Marc > -----Original Message----- > From: Hugo Rebello [mailto:hugo.rebello at dhl.com] > Sent: Wednesday, April 02, 2003 7:25 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notification > > Nagios 1.0v > > Can I use another SMTP Server to send notification by e-mail ? > I can't to use sendmail in the Nagios Server. The company not permit to > use > two SMTP Servers. > > Thank you. > > Hugo > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.clayton at intec.co.za Wed Apr 2 16:56:53 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Wed, 2 Apr 2003 16:56:53 +0200 Subject: Notifications by e-mail Message-ID: <9290BC9741D67F43BDAAC84144FF870DB692BC@intecserver007.intec.co.za> suggest modifying sendmail.cf to use your main mail server as a smart host. -----Original Message----- From: Hugo Rebello [mailto:hugo.rebello at dhl.com] Sent: Wednesday, April 02, 2003 4:37 PM To: 'Nagios users list' Subject: RE: [Nagios-users] Notifications by e-mail Can I to use other smtp server ? For instance, use the smtp server that is my E-mail Server instead smtp server (sendmail) in Nagios Server ? Hugo -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Rasmus Plewe Sent: quarta-feira, 2 de abril de 2003 11:17 To: Nagios users list Subject: Re: [Nagios-users] Notifications by e-mail On Wed, Apr 02, 2003 at 09:56:37AM -0300, Hugo Rebello wrote: > > Anybody help me ? I use Nagios 1.0v. > > My problem is. When I stoped sendmail service I don't receive notification > by e-mail. I really need of sendmail service started ? When you disable the ability of your system to send mail, you will not receive any mail from this system. What exactly do you find surprising in this? Rasmus (Of course, sendmail as a program is not neccessary, but you need the functionality) ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralf.Schreg at telemarkt-ag.de Wed Apr 2 16:14:24 2003 From: Ralf.Schreg at telemarkt-ag.de (Schreg, Ralf) Date: Wed, 2 Apr 2003 16:14:24 +0200 Subject: check_snmp Message-ID: <755175A1CAD8CD419B42E8F9FAFA709B2EA1@mail.telemarkt.netz> Can anyone help me? The Plugin check_snmp never returns a state 'OK'. Always 'WARNUNG' or 'CRITICAL': For example: ./check_snmp -H 192.168.17.199 -o .1.3.6.1.2.1.2.1.0 --warning=1:7 --critical=1:10 SNMP WARNING - 6 I use the check_snmp plugin 1.24 from nagios plugin 1.3.0 Ralf Schreg Manager IT Teamleiter Systemadministration TELEMARKT AG Telefon: +49.(0)7121.344.178 ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rplewe at hpce.nec.com Wed Apr 2 17:24:18 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Wed, 2 Apr 2003 17:24:18 +0200 Subject: Host Dependency (I just need a sample) In-Reply-To: ; from Jason.Qualkenbush@watchguard.com on Wed, Apr 02, 2003 at 06:27:17AM -0800 References: Message-ID: <20030402172418.I1545@hpce.nec.com> On Wed, Apr 02, 2003 at 06:27:17AM -0800, Jason Qualkenbush wrote: > > My sample file only had service dependencies. Can someone just send a > sample of how the host dependency is constructed? I saw general > documentation on the subject, but nothing very detailed. I've been > trying RTFM, but I just can't find this part of it. http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#hostdependency Rasmus ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Apr 2 17:26:35 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 2 Apr 2003 09:26:35 -0600 Subject: Notification Message-ID: <5DB017510818EC468B05BD7BD9EACF83030ED8FE@mismail.ena.com> Enable or modify the existing line if it's in your sendmail.cf. -- Marc > -----Original Message----- > From: Hugo Rebello [mailto:hugo.rebello at dhl.com] > Sent: Wednesday, April 02, 2003 9:07 AM > To: 'Nagios Users (E-mail) ' (E-mail) > Subject: RE: [Nagios-users] Notification > > I need comment this line, or enable ? > > Thank you. > > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: quarta-feira, 2 de abril de 2003 12:00 > To: Hugo Rebello; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Notification > > > Why don't you just prevent sendmail from accepting connections from > external hosts? > > O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA > > -- > Marc > > > -----Original Message----- > > From: Hugo Rebello [mailto:hugo.rebello at dhl.com] > > Sent: Wednesday, April 02, 2003 7:25 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Notification > > > > Nagios 1.0v > > > > Can I use another SMTP Server to send notification by e-mail ? > > I can't to use sendmail in the Nagios Server. The company not permit > to > > use > > two SMTP Servers. > > > > Thank you. > > > > Hugo > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > No other company gives more support or power for your dedicated server > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Wed Apr 2 17:49:58 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Wed, 2 Apr 2003 16:49:58 +0100 Subject: Check_oracle Message-ID: <53104E20A25CD411B556009027E50636064D551E@pnnemp02.pn.egg.com> Copying to nagiosplug-help. Please remove nagios-users when replying. Pascal, After looking at your email and having a go with check_oracle, I found a couple of bugs. I've updated check_oracle.sh so please try the latest CVS version and let us know if it works better. I've had to rearrange the order of the parameters, so it is now: check_oracle --tablespace Ton p.s. Payments gratefully received > -----Original Message----- > From: Pascal RENAUT/GROUPE-ES > [SMTP:pascal.renaut at electricite-strasbourg.fr] > Sent: Friday, March 28, 2003 4:21 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_oracle > > Hi all, > > I would like to view tablespace free space (DATA, IDX, SYSTEM, RBS and > TEMP) by using check_oracle. My problem is to set the argument > (check_oracle --tablespace > > ) When I replace by the SID, the plugin returns me a false > response (like : "test (my SID) : DATA OK (tablespace DATA) - 0% used [0 > / > 0MB available ] > Can you help me please > Thanks > > PS : If you know others plugins which perform same work, I'll buy it > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Wed Apr 2 18:05:40 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Wed, 2 Apr 2003 10:05:40 -0600 Subject: Eventlog In-Reply-To: <06df01c2f8f5$6522ca50$8100a8c0@wheeljd> References: <1048844198.960.9.camel@Monitor> <050e01c2f51e$fc33ea80$2f00a8c0@wheeljd> <06df01c2f8f5$6522ca50$8100a8c0@wheeljd> Message-ID: <23391.6273377419$1049300763@news.gmane.org> -= Sorry, here's the list copy. :P =- I use EventReporter, http://www.eventreporter.com/en/ . Its cheap ($50/host before bulk discounts), and I've never had a problem with it. Quite frankly, I don't use "check_log". Monitoring my system logs is a job for my central syslog server, running syslog-ng, with email/paging reports by LogMuncher (a distant relative of LogSentry, but thats not available anymore). See http://www.campin.net/newlogcheck.html for suggestions. Russell On Wed, Apr 02, 2003 at 10:53:56AM +0200, Johannes Dagemark wrote: > Hello > > I would like to monitor the eventlog on a couple of w2k boxes. The idea so far > is to install a program on the w2k boxes that sends the entries in the eventlog > to a syslogserver and then use the check_log plugin to check for certain > problems. > > Can anyone recommend a good software (small, simple and free) that can send > entries in the eventlog to syslog or is there someone that has a better idea? > > Regards > > Johannes Dagemark > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmunoz at comcel.com.co Wed Apr 2 18:04:16 2003 From: jmunoz at comcel.com.co (=?iso-8859-1?Q?Jose_Orlando_Mu=F1oz_Bravo_=28HP=29?=) Date: Wed, 2 Apr 2003 11:04:16 -0500 Subject: Notifications by e-mail Message-ID: <8F3E96AF7095024E922116DCA0587C9DF72432@ESPERANTO.comcel.com.co> You can use any SMTP (25) you can test the nagios account to manualy send a message from the prompt, if you can send out a message nagios will send notifications. # su - nagios nagios> mail user at domain.com jomb -----Mensaje original----- De: Hugo Rebello [mailto:hugo.rebello at dhl.com] Enviado el: mi?rcoles, 02 de abril de 2003 9:37 Para: 'Nagios users list' Asunto: RE: [Nagios-users] Notifications by e-mail Can I to use other smtp server ? For instance, use the smtp server that is my E-mail Server instead smtp server (sendmail) in Nagios Server ? Hugo -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Rasmus Plewe Sent: quarta-feira, 2 de abril de 2003 11:17 To: Nagios users list Subject: Re: [Nagios-users] Notifications by e-mail On Wed, Apr 02, 2003 at 09:56:37AM -0300, Hugo Rebello wrote: > > Anybody help me ? I use Nagios 1.0v. > > My problem is. When I stoped sendmail service I don't receive notification > by e-mail. I really need of sendmail service started ? When you disable the ability of your system to send mail, you will not receive any mail from this system. What exactly do you find surprising in this? Rasmus (Of course, sendmail as a program is not neccessary, but you need the functionality) ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From FReimers at infosysinc.com Wed Apr 2 18:44:21 2003 From: FReimers at infosysinc.com (Fred Reimers) Date: Wed, 2 Apr 2003 11:44:21 -0500 Subject: NagMIN Update Message-ID: <1A76CEE962963E40926786CA468A47D3215DD1@infocoex1.infosysinc.com> All, I want to thank those of you who have tried NagMIN so far. I've gotten a lot of good feedback and have added many of the features requested. I'm going to release NagMIN 1.0.6 this evening that will be the most stable beta so far. It includes global field updating so that host_name, contact_name and other key fields included in parents, members, etc., gets changed or deleted everywhere and support for hostgroup escalations. NagMIN can learn your network now and do port scans of your hosts and dynamically create your services, amongst other things. Personally, I really like being able to verify a configuration before activating it. There isn't a lot (or any) real documentation yet. I'm shooting for two weeks to have the first stable release and then perform proper release management from that point. I am creating updatennn.sql files for updating the schema for existing databases. Make sure that you run all of the from the point that you first installed it. The biggest problem I've encountered for release control so far was that I initially set some of the field lengths too short. I've made a lot of changes to the database schema and I think 1.0.6 is pretty stable. The port scanning was a bit slow but I sped my own server up dramatically by installing NMAP 3.20 (and rebooting it!!). I have release notes on SourceForge. If you don't know how to find it, you click on the release name on the download page. I'm going to be monitoring SourceForge for bug tracker, feature requests, etc.. There's nothing there now and I'm looking for your input. Check http://nagmin.sourceforge.net for the latest information. ------------------------------------------------- Fred Reimers (CCIE #1469, CCSA) Senior Network Consultant Info Systems, Inc. freimers at infosysinc.com ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Wed Apr 2 18:42:14 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Wed, 2 Apr 2003 18:42:14 +0200 Subject: Status.cgi and CPU Message-ID: Hi I was wondering. I've moved from a PII, 266MHz, 156MB RAM to a P4, 2GHZ, with 512MB RAM, and status.cgi still manages to use 100% of my cpu. Why? Was is it doing that is so cpu intensive, and can I optimize it somehow? Thanx :\ fred ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gert.lindstrom at brevik.nu Wed Apr 2 18:54:23 2003 From: gert.lindstrom at brevik.nu (=?iso-8859-1?Q?Gert_Lindstr=F6m?=) Date: Wed, 2 Apr 2003 18:54:23 +0200 Subject: Writing Perl script References: <352B04312822444A962714393AED8A4D026839@ADAEVS01.int.chickasaw.net> Message-ID: <008501c2f938$83b90220$36c8a8c0@dkkm80j> ----- Original Message ----- From: "Jeremy Russell" To: "Lonny Selinger" ; "Nagios Users" Sent: Wednesday, April 02, 2003 12:22 AM Subject: RE: [Nagios-users] Writing Perl script Put "use strict;" in your script and it will help you get on the right path. Just make sure every variable you use is declared first using "my $var;" then you can use the variable. The use strict will complain if you don't do this. http://www.perldoc.com/perl5.8.0/lib/strict.html > Can some explain this for a perl newbi ? > > Explicitly initialize each varialable in use. Otherwise with caching > enabled, the plugin will not be recompilied each time, and therefore > Perl will not reinitialize all the variables. All old variable values > will still be in effect. > > I think this is happening for me and i cant figuring out what to do > about it. > > Thanks > > --- > Gert ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dadams at persistcorp.com Wed Apr 2 19:07:52 2003 From: dadams at persistcorp.com (Drew Adams) Date: Wed, 2 Apr 2003 09:07:52 -0800 Subject: How to supply online help (HTML files) for Nagios Help buttons Message-ID: A newbie question - I can't seem to find an answer in the docs or by searching past mailing-list messages: How can I supply HTML pages for Nagios online help? That is, what is the best way to make the various Help buttons on Nagios screens point to particular HTML files I have? Thanks, Drew ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at dhl.com Wed Apr 2 19:15:05 2003 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Wed, 2 Apr 2003 14:15:05 -0300 Subject: Notifications by e-mail In-Reply-To: <8F3E96AF7095024E922116DCA0587C9DF72432@ESPERANTO.comcel.com.co> References: <8F3E96AF7095024E922116DCA0587C9DF72432@ESPERANTO.comcel.com.co> Message-ID: <000701c2f93b$6860db80$7f023702@sao2127> When I start the sendmail service the notification is work, but I can't start sendmail service in Nagios servers. Exist some options on the Nagios for use smtp server of another machine ? I want to redirect the notification by email for another machine. Thank you. Hugo -----Original Message----- From: Jose Orlando Mu?oz Bravo (HP) [mailto:jmunoz at comcel.com.co] Sent: quarta-feira, 2 de abril de 2003 13:04 To: Hugo Rebello; Nagios users list Subject: RE: [Nagios-users] Notifications by e-mail You can use any SMTP (25) you can test the nagios account to manualy send a message from the prompt, if you can send out a message nagios will send notifications. # su - nagios nagios> mail user at domain.com jomb -----Mensaje original----- De: Hugo Rebello [mailto:hugo.rebello at dhl.com] Enviado el: mi?rcoles, 02 de abril de 2003 9:37 Para: 'Nagios users list' Asunto: RE: [Nagios-users] Notifications by e-mail Can I to use other smtp server ? For instance, use the smtp server that is my E-mail Server instead smtp server (sendmail) in Nagios Server ? Hugo -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Rasmus Plewe Sent: quarta-feira, 2 de abril de 2003 11:17 To: Nagios users list Subject: Re: [Nagios-users] Notifications by e-mail On Wed, Apr 02, 2003 at 09:56:37AM -0300, Hugo Rebello wrote: > > Anybody help me ? I use Nagios 1.0v. > > My problem is. When I stoped sendmail service I don't receive notification > by e-mail. I really need of sendmail service started ? When you disable the ability of your system to send mail, you will not receive any mail from this system. What exactly do you find surprising in this? Rasmus (Of course, sendmail as a program is not neccessary, but you need the functionality) ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: winmail.dat Type: application/ms-tnef Size: 3036 bytes Desc: not available URL: From lonny at bangtherockstogether.net Wed Apr 2 19:54:56 2003 From: lonny at bangtherockstogether.net (Lonny Selinger) Date: Wed, 2 Apr 2003 11:54:56 -0600 (CST) Subject: Notifications by e-mail In-Reply-To: <000701c2f93b$6860db80$7f023702@sao2127> References: <8F3E96AF7095024E922116DCA0587C9DF72432@ESPERANTO.comcel.com.co> <000701c2f93b$6860db80$7f023702@sao2127> Message-ID: <63467.24.72.6.129.1049306096.squirrel@webmail.bangtherockstogether.net> You could possibly re-define the command for sending the notifications to suit what you need it to do. This however may over complicate the situation. Is there a reason you can't run sendmail on these machines? You could also try to find another MTA rather then using sendmail (although most will still call it *sendmail*). -- Lonny > When I start the sendmail service the notification is work, but I can't start > sendmail service in Nagios servers. > Exist some options on the Nagios for use smtp server of another machine ? I want > to redirect the notification by email for another machine. > > Thank you. > > Hugo > > -----Original Message----- > From: Jose Orlando Mu?oz Bravo (HP) [mailto:jmunoz at comcel.com.co] > Sent: quarta-feira, 2 de abril de 2003 13:04 > To: Hugo Rebello; Nagios users list > Subject: RE: [Nagios-users] Notifications by e-mail > > > You can use any SMTP (25) you can test the nagios account to manualy send a > message from the prompt, if you can send out a message nagios will send > notifications. > > # su - nagios > nagios> mail user at domain.com > > jomb > > -----Mensaje original----- > De: Hugo Rebello [mailto:hugo.rebello at dhl.com] > Enviado el: mi?rcoles, 02 de abril de 2003 9:37 > Para: 'Nagios users list' > Asunto: RE: [Nagios-users] Notifications by e-mail > > > Can I to use other smtp server ? > For instance, use the smtp server that is my E-mail Server instead smtp server > (sendmail) in Nagios Server ? > > Hugo > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Rasmus Plewe > Sent: quarta-feira, 2 de abril de 2003 11:17 > To: Nagios users list > Subject: Re: [Nagios-users] Notifications by e-mail > > > On Wed, Apr 02, 2003 at 09:56:37AM -0300, Hugo Rebello wrote: >> >> Anybody help me ? I use Nagios 1.0v. >> >> My problem is. When I stoped sendmail service I don't receive notification by >> e-mail. I really need of sendmail service started ? > > When you disable the ability of your system to send mail, you will not receive any > mail from this system. What exactly do you find surprising in this? > > > Rasmus > (Of course, sendmail as a program is not neccessary, but you need the > functionality) > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan at e-commercepark.com Wed Apr 2 19:56:56 2003 From: jan at e-commercepark.com (Jan van den Berg) Date: Wed, 2 Apr 2003 13:56:56 -0400 Subject: Snort Plugin Message-ID: <000201c2f941$43554f50$4f00000a@ecp.noc> Hi there, I did a little googling but wasn't able to find a lot of info on this particular subject. My question is: are there people that are familiar with a Nagios plugin that interacts with Snort? So for instance the plugin checks Snort for alerts and displays this in the Nagios monitoring screen. Regards, Jan van den Berg -------------- next part -------------- An HTML attachment was scrubbed... URL: From hugo.rebello at dhl.com Wed Apr 2 20:09:34 2003 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Wed, 2 Apr 2003 15:09:34 -0300 Subject: Notifications by e-mail In-Reply-To: <63467.24.72.6.129.1049306096.squirrel@webmail.bangtherockstogether.net> References: <63467.24.72.6.129.1049306096.squirrel@webmail.bangtherockstogether.net> Message-ID: <000f01c2f943$046ca7f0$7f023702@sao2127> The company don't permit to use another MTA (anyone) in the internal network. If I want notify the administrators using Nagios, I must use the MTA of company. On Nagios, exist some option for it ? Redirect the notification for another MTA ? Thank you. Hugo -----Original Message----- From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] Sent: quarta-feira, 2 de abril de 2003 14:55 To: hugo.rebello at dhl.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Notifications by e-mail You could possibly re-define the command for sending the notifications to suit what you need it to do. This however may over complicate the situation. Is there a reason you can't run sendmail on these machines? You could also try to find another MTA rather then using sendmail (although most will still call it *sendmail*). -- Lonny > When I start the sendmail service the notification is work, but I can't start > sendmail service in Nagios servers. > Exist some options on the Nagios for use smtp server of another machine ? I want > to redirect the notification by email for another machine. > > Thank you. > > Hugo > > -----Original Message----- > From: Jose Orlando Mu?oz Bravo (HP) [mailto:jmunoz at comcel.com.co] > Sent: quarta-feira, 2 de abril de 2003 13:04 > To: Hugo Rebello; Nagios users list > Subject: RE: [Nagios-users] Notifications by e-mail > > > You can use any SMTP (25) you can test the nagios account to manualy send a > message from the prompt, if you can send out a message nagios will send > notifications. > > # su - nagios > nagios> mail user at domain.com > > jomb > > -----Mensaje original----- > De: Hugo Rebello [mailto:hugo.rebello at dhl.com] > Enviado el: mi?rcoles, 02 de abril de 2003 9:37 > Para: 'Nagios users list' > Asunto: RE: [Nagios-users] Notifications by e-mail > > > Can I to use other smtp server ? > For instance, use the smtp server that is my E-mail Server instead smtp server > (sendmail) in Nagios Server ? > > Hugo > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Rasmus Plewe > Sent: quarta-feira, 2 de abril de 2003 11:17 > To: Nagios users list > Subject: Re: [Nagios-users] Notifications by e-mail > > > On Wed, Apr 02, 2003 at 09:56:37AM -0300, Hugo Rebello wrote: >> >> Anybody help me ? I use Nagios 1.0v. >> >> My problem is. When I stoped sendmail service I don't receive notification by >> e-mail. I really need of sendmail service started ? > > When you disable the ability of your system to send mail, you will not receive any > mail from this system. What exactly do you find surprising in this? > > > Rasmus > (Of course, sendmail as a program is not neccessary, but you need the > functionality) > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prisoner at addventure.com Wed Apr 2 20:12:55 2003 From: prisoner at addventure.com (Allen Firstenberg) Date: Wed, 02 Apr 2003 13:12:55 -0500 Subject: Notifications by e-mail In-Reply-To: <000701c2f93b$6860db80$7f023702@sao2127> References: <8F3E96AF7095024E922116DCA0587C9DF72432@ESPERANTO.comcel.com.co> <000701c2f93b$6860db80$7f023702@sao2127> Message-ID: <20030402181255.GE18182@addventure.com> On Wed, Apr 02, 2003 at 02:15:05PM -0300, Hugo Rebello wrote: > When I start the sendmail service the notification is work, but I can't > start sendmail service in Nagios servers. > Exist some options on the Nagios for use smtp server of another machine ? > I want to redirect the notification by email for another machine. Nagios is very configurable - so configurable that it doesn't actually handle these issues itself. All notifications are handed off to a different program, usually the "mail" program on UNIX. You can substitute any program you wish, including a program that will work with an SMTP server on another machine. This includes the sendmail program, which does have a way to not run in daemon mode and only send mail that it gets. Some people might be able to suggest another program that does this, or help you if you have a program that does this yourself. Once you have identified the program, we can point you at the documentation for how to configure this, but it is included in the manual. So the first step in answering your question is finding this program. And only you have the answer to that since you know your machine. Allen ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Apr 2 20:33:40 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 2 Apr 2003 12:33:40 -0600 Subject: Notifications by e-mail Message-ID: What you're asking is to have Nagios be your Mail Transfer Agent (MTA). That's not what Nagios was designed to do. I've been following this thread, and I still don't understand why you can't run sendmail on your Nagios server. Is it a matter of corporate policy, ie, "Sendmail is bad; do NOT run Sendmail anywhere," or is it a matter of security, ie, you don't want any MTA listening to port 25 on your Nagios server (also possibly the result of corporate policy), or are you merely in over your head (some folks have serious difficulties setting up sendmail to work properly)? Here are some options, depending on what your particular situation is: 1) Due to corporate policy or personal opinion, it is felt that Sendmail as an MTA isn't adequately secure. Alternatively, corporate policy or personal opinion is such that Sendmail is too much of a headache to configure. Options: a) If you're merely trying to avoid inbound (port 25) traffic, reconfigure Sendmail (as someone has already stated) to refuse all traffic, except for traffic originating from 127.0.0.1. b) If it's simply a prejudice against Sendmail itself, replace it with another MTA, such as Qmail, Postfix, Exim, just to name a few. If you want a dead simple MTA which can only send to a smarterhost, I would suggest you install nullmailer. c) Become a programmer's programmer; write your own MTA (and thus reinvent the wheel). Guarantee yourself a role supporting your legacy work as you chase down bugs and security problems. 2) Due to corporate policy or personal opinion, no MTA of any kind is to be permitted on the Nagios host. Options: a) Do without *any* notifications which depend on SMTP. b) Change corporate policy and/or personal opinion, then revisit option #1, above. Best of luck. jc > -----Original Message----- > From: Hugo Rebello [mailto:hugo.rebello at dhl.com] > Sent: Wednesday, April 02, 2003 11:15 AM > To: 'Nagios users list' > Subject: RE: [Nagios-users] Notifications by e-mail > > > When I start the sendmail service the notification is work, > but I can't start sendmail service in Nagios servers. > Exist some options on the Nagios for use smtp server of > another machine ? > I want to redirect the notification by email for another machine. > > Thank you. > > Hugo > > -----Original Message----- > From: Jose Orlando Mu?oz Bravo (HP) [mailto:jmunoz at comcel.com.co] > Sent: quarta-feira, 2 de abril de 2003 13:04 > To: Hugo Rebello; Nagios users list > Subject: RE: [Nagios-users] Notifications by e-mail > > > You can use any SMTP (25) you can test the nagios account to > manualy send a message from the prompt, if you can send out a > message nagios will send notifications. > > # su - nagios > nagios> mail user at domain.com > > jomb > > -----Mensaje original----- > De: Hugo Rebello [mailto:hugo.rebello at dhl.com] > Enviado el: mi?rcoles, 02 de abril de 2003 9:37 > Para: 'Nagios users list' > Asunto: RE: [Nagios-users] Notifications by e-mail > > > Can I to use other smtp server ? > For instance, use the smtp server that is my E-mail Server > instead smtp > server (sendmail) in Nagios Server ? > > Hugo > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Rasmus > Plewe > Sent: quarta-feira, 2 de abril de 2003 11:17 > To: Nagios users list > Subject: Re: [Nagios-users] Notifications by e-mail > > > On Wed, Apr 02, 2003 at 09:56:37AM -0300, Hugo Rebello wrote: > > > > Anybody help me ? I use Nagios 1.0v. > > > > My problem is. When I stoped sendmail service I don't > receive notification > > by e-mail. I really need of sendmail service started ? > > When you disable the ability of your system to send mail, you will not > receive any mail from this system. What exactly do you find surprising > in this? > > > Rasmus > (Of course, sendmail as a program is not neccessary, but you need the > functionality) > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DanielJ at avatar-cs.net Wed Apr 2 20:07:59 2003 From: DanielJ at avatar-cs.net (Daniel Jimenez) Date: Wed, 2 Apr 2003 12:07:59 -0600 Subject: Question about host up/down Message-ID: <115F85A8196CD411BBAB0008C7590661820598@FS01> All, I have one server running at a colo I monitor from my office. I have services set for HTTP, SSH and FTP. It's host check is PING. This morning the colo had to temporarily block ICMP due to DDoS, though all my services were still up, it showed host down. I verified in Nagios, and all 3 services were still green, but the host was red. My understanding is that Nagios does not check the host unless a service fails, since I do not have PING as a service, what would cause this? Thanks in advance, Daniel Jimenez Systems Administrator -------------- next part -------------- An HTML attachment was scrubbed... URL: From gert.lindstrom at brevik.nu Wed Apr 2 20:49:15 2003 From: gert.lindstrom at brevik.nu (=?iso-8859-1?Q?Gert_Lindstr=F6m?=) Date: Wed, 2 Apr 2003 20:49:15 +0200 Subject: Writing Perl script References: <005601c2f883$be09c230$36c8a8c0@dkkm80j> <60517.24.72.6.129.1049226632.squirrel@webmail.bangtherockstogether.net> Message-ID: <009e01c2f948$8fc52a20$36c8a8c0@dkkm80j> Please look at this simple code. When I runs it from the commando prompt it works. but nagios doesnt seem to recognize the variabels. There is no out put but the "CRITICAL -" The compare doesn't come our right when nagios is executing the script, it aleays ends up CRITICAL. In the test.cfg file it is only one row with the ip address I want to compare to. #!/usr/bin/perl -w use strict; #RFC1213-MIB::ipAdEntAddr.192.168.200.1 = IpAddress: 192.168.200.1 #RFC1213-MIB::ipAdEntAddr.213.113.141.189 = IpAddress: 213.113.141.189 use vars qw($DAT $cip $pos $a); my $cip = ""; my $pos = 0; my $a = ""; my $DAT = undef; my @tmp = undef; my $ip = ""; my $x = ""; open(DAT, "test.cfg"); $cip = ; chomp($cip); close(DAT); $a = qx(/usr/bin/snmpwalk -m ALL -v 1 -c public 192.168.200.1 .1.3.6.1.2.1.4.20.1.1); @tmp = split(/:/, $a); chomp($ip = "$tmp[6]\n"); chomp($ip); $ip = substr($ip, 1 ,length($ip)-1); $pos = index($a, $cip); if ($cip eq $ip) { print "OK - $cip\n"; exit 0; } else { print "CRITICAL - $cip\n"; exit 2; } ----- Original Message ----- From: "Lonny Selinger" To: Cc: Sent: Tuesday, April 01, 2003 9:50 PM Subject: Re: [Nagios-users] Writing Perl script > One thing you can do is predeclare the variable as "undefined" oustide of any > functions. This is what I normally do when writing perl ... the alternative is to > declare it at the time of use (while using strict) in each function its called in. > An example of a pre-declaration might be: > > my $var = undef; > > Same goes for explicit declaration withing a function: > > my $var = $some_var; > > is this sort of what you're looking for? I'm assuming you're using strict. > > -- > Lonny > > > > Can some explain this for a perl newbi ? > > > > Explicitly initialize each varialable in use. Otherwise with caching enabled, the > > plugin will not be recompilied each time, and therefore Perl will not reinitialize > > all the variables. All old variable values will still be in effect. > > > > I think this is happening for me and i cant figuring out what to do about it. > > > > Thanks > > > > --- > > Gert > > > > > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwise at r2tech.com Wed Apr 2 20:49:14 2003 From: mwise at r2tech.com (Matt Wise) Date: Wed, 2 Apr 2003 10:49:14 -0800 Subject: User Programs.. Message-ID: <0FBB7DBC869A36459505613499683402B4052A@R2TECH01.r2tech.com> We are setting up Nagios to do network monitoring, and its going pretty well so far. I was wondering if there is any way to build web pages/cgi scripts to display certain data to our users, but not give them access to all of the data? Is there a simple way for me to build PHP scripts to access the information, or are there prebuilt scripts out there? --Matt ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Wed Apr 2 21:06:15 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 02 Apr 2003 14:06:15 -0500 Subject: Notifications by e-mail In-Reply-To: <63467.24.72.6.129.1049306096.squirrel@webmail.bangtherockstogether.net> References: <8F3E96AF7095024E922116DCA0587C9DF72432@ESPERANTO.comcel.com.co> <000701c2f93b$6860db80$7f023702@sao2127> <63467.24.72.6.129.1049306096.squirrel@webmail.bangtherockstogether.net> Message-ID: <1049310375.9388.40.camel@x> I used sendmail for 6 years, and now I use POSTFIX: Much more simple, and really great and powerfull :-) It works nice with Nagios ! :-) On Wed, 2003-04-02 at 12:54, Lonny Selinger wrote: > You could possibly re-define the command for sending the notifications to suit what > you need it to do. This however may over complicate the situation. Is there a reason > you can't run sendmail on these machines? You could also try to find another MTA > rather then using sendmail (although most will still call it *sendmail*). > > -- > Lonny > > > When I start the sendmail service the notification is work, but I can't start > > sendmail service in Nagios servers. > > Exist some options on the Nagios for use smtp server of another machine ? I want > > to redirect the notification by email for another machine. > > > > Thank you. > > > > Hugo > > > > -----Original Message----- > > From: Jose Orlando Mu?oz Bravo (HP) [mailto:jmunoz at comcel.com.co] > > Sent: quarta-feira, 2 de abril de 2003 13:04 > > To: Hugo Rebello; Nagios users list > > Subject: RE: [Nagios-users] Notifications by e-mail > > > > > > You can use any SMTP (25) you can test the nagios account to manualy send a > > message from the prompt, if you can send out a message nagios will send > > notifications. > > > > # su - nagios > > nagios> mail user at domain.com > > > > jomb > > > > -----Mensaje original----- > > De: Hugo Rebello [mailto:hugo.rebello at dhl.com] > > Enviado el: mi?rcoles, 02 de abril de 2003 9:37 > > Para: 'Nagios users list' > > Asunto: RE: [Nagios-users] Notifications by e-mail > > > > > > Can I to use other smtp server ? > > For instance, use the smtp server that is my E-mail Server instead smtp server > > (sendmail) in Nagios Server ? > > > > Hugo > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Rasmus Plewe > > Sent: quarta-feira, 2 de abril de 2003 11:17 > > To: Nagios users list > > Subject: Re: [Nagios-users] Notifications by e-mail > > > > > > On Wed, Apr 02, 2003 at 09:56:37AM -0300, Hugo Rebello wrote: > >> > >> Anybody help me ? I use Nagios 1.0v. > >> > >> My problem is. When I stoped sendmail service I don't receive notification by > >> e-mail. I really need of sendmail service started ? > > > > When you disable the ability of your system to send mail, you will not receive any > > mail from this system. What exactly do you find surprising in this? > > > > > > Rasmus > > (Of course, sendmail as a program is not neccessary, but you need the > > functionality) > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > No other company gives more support or power for your dedicated server > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > > issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > No other company gives more support or power for your dedicated server > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > > issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lonny at bangtherockstogether.net Wed Apr 2 21:29:10 2003 From: lonny at bangtherockstogether.net (Lonny Selinger) Date: Wed, 2 Apr 2003 13:29:10 -0600 (CST) Subject: Writing Perl script In-Reply-To: <009e01c2f948$8fc52a20$36c8a8c0@dkkm80j> References: <005601c2f883$be09c230$36c8a8c0@dkkm80j> <60517.24.72.6.129.1049226632.squirrel@webmail.bangtherockstogether.net> <009e01c2f948$8fc52a20$36c8a8c0@dkkm80j> Message-ID: <55752.24.72.6.129.1049311750.squirrel@webmail.bangtherockstogether.net> When you execute this from the command line are you doing it *as* the user nagios ... or as root? if thats not the problem ... my initial suspiction is that the command you are executing (the snmpwalk) *might* not be outputting the way you want perl to return it (variables being returned to the shell rather then the interpreter ... your in the shell executing code that uses an interpreter) One thing you can try (although its not really *propper*) is translating the output of the command by sending the output to a dead pipe and working with it from there. As an example (from some of my code): open (UNAME, "uname -a |"); while () { $uline = $_; @uresults = split (/\s/, $uline); if ($uresults[0] ne 'AIX') { aix(); exit(-1); } else { $opt_server = $uresults[1]; } } this block is meant to check the host machine and verify it is running AIX. The command is sent to an open pipe which allows me to reassign the output (after being read one line at a time) to variables within the rest of the code. I abuse open pipes quite often in my code actually :\ Does this make sense or am I out to lunch? -- Lonny > Please look at this simple code. > > When I runs it from the commando prompt it works. but nagios doesnt seem to > recognize the variabels. There is no out put but the "CRITICAL -" > The compare doesn't come our right when nagios is executing the script, it aleays > ends up CRITICAL. > > In the test.cfg file it is only one row with the ip address I want to compare to. > > #!/usr/bin/perl -w > use strict; > > #RFC1213-MIB::ipAdEntAddr.192.168.200.1 = IpAddress: 192.168.200.1 > #RFC1213-MIB::ipAdEntAddr.213.113.141.189 = IpAddress: 213.113.141.189 > > > > use vars qw($DAT $cip $pos $a); > > my $cip = ""; > my $pos = 0; > my $a = ""; > my $DAT = undef; > my @tmp = undef; > my $ip = ""; > my $x = ""; > > open(DAT, "test.cfg"); > $cip = ; > chomp($cip); > close(DAT); > > $a = qx(/usr/bin/snmpwalk -m ALL -v 1 -c public 192.168.200.1 > .1.3.6.1.2.1.4.20.1.1); > > @tmp = split(/:/, $a); > chomp($ip = "$tmp[6]\n"); > chomp($ip); > > $ip = substr($ip, 1 ,length($ip)-1); > > > $pos = index($a, $cip); > > if ($cip eq $ip) { > print "OK - $cip\n"; > exit 0; > > } else { > print "CRITICAL - $cip\n"; > exit 2; > } > > ----- Original Message ----- > From: "Lonny Selinger" > To: > Cc: > Sent: Tuesday, April 01, 2003 9:50 PM > Subject: Re: [Nagios-users] Writing Perl script > > >> One thing you can do is predeclare the variable as "undefined" oustide of > any >> functions. This is what I normally do when writing perl ... the > alternative is to >> declare it at the time of use (while using strict) in each function its > called in. >> An example of a pre-declaration might be: >> >> my $var = undef; >> >> Same goes for explicit declaration withing a function: >> >> my $var = $some_var; >> >> is this sort of what you're looking for? I'm assuming you're using strict. >> >> -- >> Lonny >> >> >> > Can some explain this for a perl newbi ? >> > >> > Explicitly initialize each varialable in use. Otherwise with caching > enabled, the >> > plugin will not be recompilied each time, and therefore Perl will not > reinitialize >> > all the variables. All old variable values will still be in effect. >> > >> > I think this is happening for me and i cant figuring out what to do > about it. >> > >> > Thanks >> > >> > --- >> > Gert ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Apr 2 21:40:38 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 2 Apr 2003 13:40:38 -0600 Subject: Eventlog Message-ID: Very interesting. Thought provoking, even. We're using the Perl version of check_log here for checking for 'warning' type msgs, as well as a tweaked version of same checking for 'critical' type msgs. It's been pretty good, but has been perplexing at times how best to handle things, not the least of which deals with the issue of central vs. host-based syslog scrubbing. One issue is how to stop repeated notifications once you're aware of the problem, eg, a bad disk block. At the individual host level, I've set check_log.pl to be volatile, since it fit the description (and since the non-volatile behaviour was problematic). I'd be interested in hearing how you dealt with issues such as this. This relates to Nagios, and yet it doesn't. If noone else on the list jumps in before the end of the day, maybe you and I can take this off-list. jc > -----Original Message----- > From: Russell Adams [mailto:RLAdams at Kelsey-Seybold.com] > Sent: Wednesday, April 02, 2003 10:06 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Eventlog > > > -= Sorry, here's the list copy. :P =- > > I use EventReporter, http://www.eventreporter.com/en/ . > > Its cheap ($50/host before bulk discounts), and I've never had a > problem with it. > > Quite frankly, I don't use "check_log". Monitoring my system logs is a > job for my central syslog server, running syslog-ng, with email/paging > reports by LogMuncher (a distant relative of LogSentry, but thats not > available anymore). See http://www.campin.net/newlogcheck.html for > suggestions. > > Russell > > On Wed, Apr 02, 2003 at 10:53:56AM +0200, Johannes Dagemark wrote: > > Hello > > > > I would like to monitor the eventlog on a couple of w2k > boxes. The idea so far > > is to install a program on the w2k boxes that sends the > entries in the eventlog > > to a syslogserver and then use the check_log plugin to > check for certain > > problems. > > > > Can anyone recommend a good software (small, simple and > free) that can send > > entries in the eventlog to syslog or is there someone that > has a better idea? > > > > Regards > > > > Johannes Dagemark > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > No other company gives more support or power for your > dedicated server > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lonny at bangtherockstogether.net Wed Apr 2 21:33:19 2003 From: lonny at bangtherockstogether.net (Lonny Selinger) Date: Wed, 2 Apr 2003 13:33:19 -0600 (CST) Subject: Notifications by e-mail In-Reply-To: <000f01c2f943$046ca7f0$7f023702@sao2127> References: <63467.24.72.6.129.1049306096.squirrel@webmail.bangtherockstogether.net> <000f01c2f943$046ca7f0$7f023702@sao2127> Message-ID: <56684.24.72.6.129.1049311999.squirrel@webmail.bangtherockstogether.net> > The company don't permit to use another MTA (anyone) in the internal network. If I > want notify the administrators using Nagios, I must use the MTA of company. > On Nagios, exist some option for it ? Redirect the notification for another MTA ? > > Thank you. > Hugo Then I'd suggest the original option ... redefine the command for notifications through email. The original is simply: define command { command_name notify-by-email command_line /bin/echo -e "***** Nagios 1.0 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHo st: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } the command this is actually using is /bin/mail but you could pipe it to whatever you need in order to deliver the mail properly. -- Lonny ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at dhl.com Wed Apr 2 21:37:33 2003 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Wed, 2 Apr 2003 16:37:33 -0300 Subject: Notifications by e-mail In-Reply-To: <56684.24.72.6.129.1049311999.squirrel@webmail.bangtherockstogether.net> References: <56684.24.72.6.129.1049311999.squirrel@webmail.bangtherockstogether.net> Message-ID: <004401c2f94f$4f49e290$7f023702@sao2127> I don't have problem in use the "mail command", I just can't start the sendmail service. Why when I use "mail command" I need running the sendmail service ? Thanks, Hugo -----Original Message----- From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] Sent: quarta-feira, 2 de abril de 2003 16:33 To: hugo.rebello at dhl.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Notifications by e-mail > The company don't permit to use another MTA (anyone) in the internal network. If I > want notify the administrators using Nagios, I must use the MTA of company. > On Nagios, exist some option for it ? Redirect the notification for another MTA ? > > Thank you. > Hugo Then I'd suggest the original option ... redefine the command for notifications through email. The original is simply: define command { command_name notify-by-email command_line /bin/echo -e "***** Nagios 1.0 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHo st: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } the command this is actually using is /bin/mail but you could pipe it to whatever you need in order to deliver the mail properly. -- Lonny ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From heather at geospiza.com Wed Apr 2 21:46:24 2003 From: heather at geospiza.com (Heather Barnes) Date: Wed, 02 Apr 2003 11:46:24 -0800 Subject: check_nagios can't find running process Message-ID: <3E8B3E10.2000307@geospiza.com> I am unable to use external web commands due to a check_nagios returning a "can't find running process" error. I have confirmed nagios is indeed running and /usr/local/nagios/var/status.log exists, is being updated, and the directories have the proper permissions. I have also straced check_nagios and do not get any errors when it opens and reads /usr/local/nagios/var/status.log. Does anyone have any ideas on why check_nagios is returning this error? Thanks, Heather ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Apr 2 21:52:15 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 2 Apr 2003 13:52:15 -0600 Subject: Notifications by e-mail Message-ID: Allen Firstenberg wrote: > You can substitute any program you wish, including a program that will > work with an SMTP server on another machine. This includes > the sendmail > program, which does have a way to not run in daemon mode and only send > mail that it gets. You *could*, but this creates another possible problem: If the smarterhost is down for whatever reason when sendmail tries to send, it'll queue the message for later delivery. Unless the behaviour has changed since the time when I was heavily involved with Sendmail, the only way to give queued msgs a nudge was to run "sendmail -q". But why run it manually when you can have it check the queue every, say, 15 minutes, with "sendmail -q15m"? Without this queue-clearing mechanism, you could end up with the question of "Why did I never get notified of such-and-such a problem?" (Of course, if your smarterhost is down, you won't even get notified that your smarterhost is down. An unfortunate Catch-22, and one which urges one to consider solutions such as Qpage.) Recent vintages of Sendmail have changed such that the above may no longer hold true, which brings us back to the 127.0.0.1:25 solution. > Some people might be able to suggest another program that does this, > or help you if you have a program that does this yourself. Once you > have identified the program, we can point you at the documentation > for how to configure this, but it is included in the manual. nullmailer's raison d'?tre is to forward mail to a smarterhost. http://www.nagios.org/faqs/viewfaq.php?faq_id=150&expand=false&showdesc=true > So the first step in answering your question is finding this program. > And only you have the answer to that since you know your machine. See above. > Allen ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ramog at starcalif.com Wed Apr 2 22:00:19 2003 From: ramog at starcalif.com (ramog) Date: Wed, 2 Apr 2003 12:00:19 -0800 Subject: check_procs plugin Message-ID: <0b8a01c2f952$7cfaf050$0d1fa8c0@sysadmin.starcalif.com> Help on using check_procs plugin: I would like to check the process, lpsched on a monitored host. say, ./check_procs -c 1 -C lpsched I would like to see the result to be "CRITICAL" if there is 0 lpsched process on a monitored host. Can anybody help me the right ./check_procs usage or is it possible using this. If not not, how do you do it to get the above result... Thanks for the help, Rochel Amog Starcrest Products -------------- next part -------------- An HTML attachment was scrubbed... URL: From lonny at bangtherockstogether.net Wed Apr 2 22:00:00 2003 From: lonny at bangtherockstogether.net (Lonny Selinger) Date: Wed, 2 Apr 2003 14:00:00 -0600 (CST) Subject: Notifications by e-mail In-Reply-To: <004401c2f94f$4f49e290$7f023702@sao2127> References: <56684.24.72.6.129.1049311999.squirrel@webmail.bangtherockstogether.net> <004401c2f94f$4f49e290$7f023702@sao2127> Message-ID: <62343.24.72.6.129.1049313600.squirrel@webmail.bangtherockstogether.net> Becasue if there is no agent bound to port 25 you can't send mail anywhere ;) You need something to handle the requests and deliver them to their target ... *mail* alone does not do this. It might do local injects for you, but if you need to send the messages beyhond the local machine they wont have anything to get them there, more then likely they will just queue up until an MTA is started and *then* send them. -- Lonny > I don't have problem in use the "mail command", I just can't start the sendmail > service. > Why when I use "mail command" I need running the sendmail service ? > > Thanks, > Hugo > > -----Original Message----- > From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] > Sent: quarta-feira, 2 de abril de 2003 16:33 > To: hugo.rebello at dhl.com > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Notifications by e-mail > > >> The company don't permit to use another MTA (anyone) in the internal > network. If I >> want notify the administrators using Nagios, I must use the MTA of > company. >> On Nagios, exist some option for it ? Redirect the notification for > another MTA ? >> >> Thank you. >> Hugo > > Then I'd suggest the original option ... redefine the command for > notifications > through email. The original is simply: > > define command { > command_name notify-by-email > command_line /bin/echo -e "***** Nagios 1.0 > *****\n\nNotification > Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHo > st: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" > $CONTACTEMAIL$ > } > > the command this is actually using is /bin/mail but you could pipe it to whatever > you need in order to deliver the mail properly. > > -- > Lonny ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhardeman at localweb.com Wed Apr 2 22:23:09 2003 From: jhardeman at localweb.com (Joseph Hardeman) Date: Wed, 02 Apr 2003 15:23:09 -0500 Subject: Escalations Help References: <200304021456550459.008CA38A@mx2.localweb.com> Message-ID: <200304021523090396.00A4A7BB@mx2.localweb.com> Greetings everyone, I am having a problem with the escalations. I am trying to get only 2 critical notifications sent out and then I want the Recovered notification to be sent out. I read the Escalations documentation and I can limit the notifications to 2 for a critical, but for what ever reason I am unable to get the "Green" email to be sent out. I have setup two contacts, one which receives Unknown and Critical notifications and another who I wanted only to receive Recovery notifications. The first works with no problem, but the second doesn't get notified. I even setup the notification escalation file, one section for hosts and one for services, tried the seperately. With two entries, one for the first two notifications going to the first contact_group and then every other notification from 3 to 288 going to the recovery contact_group. But the recovery group never got them. Any suggestions? I can send you the different exerpts to see if you can help. Thanks in advance for any assistance you can give. Joseph Hardeman Hosting Administrator 1-800-525-0031 x114 919-544-4101 x114 jhardeman at localweb.com ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at dhl.com Wed Apr 2 22:11:08 2003 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Wed, 2 Apr 2003 17:11:08 -0300 Subject: Notifications by e-mail In-Reply-To: <62343.24.72.6.129.1049313600.squirrel@webmail.bangtherockstogether.net> References: <62343.24.72.6.129.1049313600.squirrel@webmail.bangtherockstogether.net> Message-ID: <004801c2f954$0093cad0$7f023702@sao2127> OK, I understand. So, Do you know where the Nagios storage the notification that will be sended, when I start the MTA service ? Thanks, Hugo -----Original Message----- From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] Sent: quarta-feira, 2 de abril de 2003 17:00 To: hugo.rebello at dhl.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Notifications by e-mail Becasue if there is no agent bound to port 25 you can't send mail anywhere ;) You need something to handle the requests and deliver them to their target ... *mail* alone does not do this. It might do local injects for you, but if you need to send the messages beyhond the local machine they wont have anything to get them there, more then likely they will just queue up until an MTA is started and *then* send them. -- Lonny > I don't have problem in use the "mail command", I just can't start the sendmail > service. > Why when I use "mail command" I need running the sendmail service ? > > Thanks, > Hugo > > -----Original Message----- > From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] > Sent: quarta-feira, 2 de abril de 2003 16:33 > To: hugo.rebello at dhl.com > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Notifications by e-mail > > >> The company don't permit to use another MTA (anyone) in the internal > network. If I >> want notify the administrators using Nagios, I must use the MTA of > company. >> On Nagios, exist some option for it ? Redirect the notification for > another MTA ? >> >> Thank you. >> Hugo > > Then I'd suggest the original option ... redefine the command for > notifications > through email. The original is simply: > > define command { > command_name notify-by-email > command_line /bin/echo -e "***** Nagios 1.0 > *****\n\nNotification > Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHo > st: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" > $CONTACTEMAIL$ > } > > the command this is actually using is /bin/mail but you could pipe it to whatever > you need in order to deliver the mail properly. > > -- > Lonny ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lonny at bangtherockstogether.net Wed Apr 2 22:26:14 2003 From: lonny at bangtherockstogether.net (Lonny Selinger) Date: Wed, 2 Apr 2003 14:26:14 -0600 (CST) Subject: Notifications by e-mail In-Reply-To: <004801c2f954$0093cad0$7f023702@sao2127> References: <62343.24.72.6.129.1049313600.squirrel@webmail.bangtherockstogether.net> <004801c2f954$0093cad0$7f023702@sao2127> Message-ID: <35063.24.72.6.129.1049315174.squirrel@webmail.bangtherockstogether.net> Well technically your system will sotre it where ever you spool to (/var/spool /var/mail/spool /spool ... I've seen it all over although /var/ is the most common ... so something like /var/spool/mail or if you use postfix ;) /var/spool/postfix) Somewhere in there -- Lonny > OK, I understand. > So, Do you know where the Nagios storage the notification that will be sended, > when I start the MTA service ? > > Thanks, > Hugo > -----Original Message----- > From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] > Sent: quarta-feira, 2 de abril de 2003 17:00 > To: hugo.rebello at dhl.com > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Notifications by e-mail > > > Becasue if there is no agent bound to port 25 you can't send mail anywhere ;) You > need something to handle the requests and deliver them to their target ... *mail* > alone does not do this. It might do local injects for you, but if you need to send > the messages beyhond the local machine they wont have anything to get them there, > more then likely they will just queue up until an MTA is started and *then* send > them. > > -- > Lonny > >> I don't have problem in use the "mail command", I just can't start the > sendmail >> service. >> Why when I use "mail command" I need running the sendmail service ? >> >> Thanks, >> Hugo >> >> -----Original Message----- >> From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] >> Sent: quarta-feira, 2 de abril de 2003 16:33 >> To: hugo.rebello at dhl.com >> Cc: nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] Notifications by e-mail >> >> >>> The company don't permit to use another MTA (anyone) in the internal >> network. If I >>> want notify the administrators using Nagios, I must use the MTA of >> company. >>> On Nagios, exist some option for it ? Redirect the notification for >> another MTA ? >>> >>> Thank you. >>> Hugo >> >> Then I'd suggest the original option ... redefine the command for notifications >> through email. The original is simply: >> >> define command { >> command_name notify-by-email >> command_line /bin/echo -e "***** Nagios 1.0 >> *****\n\nNotification >> Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHo >> st: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: >> $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** >> $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" >> $CONTACTEMAIL$ >> } >> >> the command this is actually using is /bin/mail but you could pipe it to > whatever >> you need in order to deliver the mail properly. >> >> -- >> Lonny ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lonny at bangtherockstogether.net Wed Apr 2 22:29:18 2003 From: lonny at bangtherockstogether.net (Lonny Selinger) Date: Wed, 2 Apr 2003 14:29:18 -0600 (CST) Subject: check_nagios can't find running process In-Reply-To: <3E8B3E10.2000307@geospiza.com> References: <3E8B3E10.2000307@geospiza.com> Message-ID: <35741.24.72.6.129.1049315358.squirrel@webmail.bangtherockstogether.net> It *could* be the format of the string you are supplying to check_nagios. What does your check command look like and what happens if you execute it from the command line as nagios? -- Lonny > I am unable to use external web commands due to a check_nagios returning a "can't > find running process" error. > I have confirmed nagios is indeed running and > /usr/local/nagios/var/status.log exists, is being updated, and the > directories have the proper permissions. > > I have also straced check_nagios and do not get any errors when it opens and > reads /usr/local/nagios/var/status.log. > > Does anyone have any ideas on why check_nagios is returning this error? > > Thanks, > Heather > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 icnet.com.ve Wed Apr 2 22:40:35 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Wed, 02 Apr 2003 16:40:35 -0400 Subject: Status Map Message-ID: <5.1.0.14.0.20030402163248.00bb7ca8@pop.icnet.com.ve> Hi, When I press Status Map, Trends, and alert Hystogram links, on the web interface of nagios, don?t show me the icons. What can I do to solve that? Jeyri Bautista ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 2 22:40:48 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 02 Apr 2003 15:40:48 -0500 (EST) Subject: check_procs plugin In-Reply-To: <0b8a01c2f952$7cfaf050$0d1fa8c0@sysadmin.starcalif.com> References: <0b8a01c2f952$7cfaf050$0d1fa8c0@sysadmin.starcalif.com> Message-ID: On Wed, 2 Apr 2003, ramog wrote: > Help on using check_procs plugin: > > I would like to check the process, lpsched on a monitored host. > say, ./check_procs -c 1 -C lpsched > > I would like to see the result to be "CRITICAL" if there is 0 lpsched process on a monitored host. > > Can anybody help me the right ./check_procs usage or is it possible > using this. If not not, how do you do it to get the above result... > ./check_procs -w 1:1 -c 1:1 -C lpsched (for one and only one process) ./check_procs -w 1: -c 1: -C lpsched (for at least one process) -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From heather at geospiza.com Wed Apr 2 23:06:09 2003 From: heather at geospiza.com (Heather Barnes) Date: Wed, 02 Apr 2003 13:06:09 -0800 Subject: check_nagios can't find running process References: <3E8B3E10.2000307@geospiza.com> <35741.24.72.6.129.1049315358.squirrel@webmail.bangtherockstogether.net> Message-ID: <3E8B50C1.5030005@geospiza.com> Thanks Lonny, on Linux 2.4 in /usr/local/nagios/libexec $ sudo -u nagios ./check_nagios -F /usr/local/nagios/var/status.log -e 10 -C /usr/local/nagios/bin/nagios Could not locate running Nagios process! Which seems to match the format in my cgi.cfg nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.log 10 '/usr/local/nagios/bin/nagios' status.log is there and updating ?? -Heather Lonny Selinger wrote: >It *could* be the format of the string you are supplying to check_nagios. What does >your check command look like and what happens if you execute it from the command >line as nagios? > >-- >Lonny > > > >>I am unable to use external web commands due to a check_nagios returning a "can't >>find running process" error. >>I have confirmed nagios is indeed running and >> /usr/local/nagios/var/status.log exists, is being updated, and the >>directories have the proper permissions. >> >>I have also straced check_nagios and do not get any errors when it opens and >>reads /usr/local/nagios/var/status.log. >> >>Does anyone have any ideas on why check_nagios is returning this error? >> >>Thanks, >>Heather >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: ValueWeb: >>Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >>No other company gives more support or power for your dedicated server >>http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any >>issue. ::: Messages without supporting info will risk being sent to /dev/null >> >> > > > > > > > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lonny at bangtherockstogether.net Wed Apr 2 23:25:38 2003 From: lonny at bangtherockstogether.net (Lonny Selinger) Date: Wed, 2 Apr 2003 15:25:38 -0600 (CST) Subject: check_nagios can't find running process In-Reply-To: <3E8B50C1.5030005@geospiza.com> References: <3E8B3E10.2000307@geospiza.com> <35741.24.72.6.129.1049315358.squirrel@webmail.bangtherockstogether.net> <3E8B50C1.5030005@geospiza.com> Message-ID: <48599.24.72.6.129.1049318738.squirrel@webmail.bangtherockstogether.net> Not a problem :) > Thanks Lonny, > > on Linux 2.4 > in /usr/local/nagios/libexec > > $ sudo -u nagios ./check_nagios -F /usr/local/nagios/var/status.log -e 10 -C > /usr/local/nagios/bin/nagios > > Could not locate running Nagios process! Ok this one seems odd because it should return properly exactly the way you typed that :\ I'm pretty sure you already mentioned this but have you verified permissions on all the files and or checked ownership etc. > Which seems to match the format in my cgi.cfg > > nagios_check_command=/usr/local/nagios/libexec/check_nagios > /usr/local/nagios/var/status.log 10 '/usr/local/nagios/bin/nagios' on a side note ... on one of my linux machines I found I had to remove the single quotes from the /usr/local/nagios/var/status.log portion of the check command in cgi.conf. Sorry ... not much help so far :\ -- Lonny ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 2 23:36:25 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 02 Apr 2003 16:36:25 -0500 (EST) Subject: check_nagios can't find running process In-Reply-To: <3E8B50C1.5030005@geospiza.com> References: <3E8B50C1.5030005@geospiza.com> Message-ID: Could you post the the ps output to see whether "/usr/local/nagios/bin/nagios" matches ? perhaps the -C arg needs to be modified to match the ps output. -sg On Wed, 2 Apr 2003, Heather Barnes wrote: > Thanks Lonny, > > on Linux 2.4 > in /usr/local/nagios/libexec > > $ sudo -u nagios ./check_nagios -F /usr/local/nagios/var/status.log -e > 10 -C /usr/local/nagios/bin/nagios > > Could not locate running Nagios process! > > Which seems to match the format in my cgi.cfg > > nagios_check_command=/usr/local/nagios/libexec/check_nagios > /usr/local/nagios/var/status.log 10 '/usr/local/nagios/bin/nagios' > > status.log is there and updating > > ?? > -Heather > > Lonny Selinger wrote: > > >It *could* be the format of the string you are supplying to check_nagios. What does > >your check command look like and what happens if you execute it from the command > >line as nagios? > > > >-- > >Lonny > > > > > > > >>I am unable to use external web commands due to a check_nagios returning a "can't > >>find running process" error. > >>I have confirmed nagios is indeed running and > >> /usr/local/nagios/var/status.log exists, is being updated, and the > >>directories have the proper permissions. > >> > >>I have also straced check_nagios and do not get any errors when it opens and > >>reads /usr/local/nagios/var/status.log. > >> > >>Does anyone have any ideas on why check_nagios is returning this error? > >> > >>Thanks, > >>Heather > >> > >> -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Apr 3 00:26:26 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 2 Apr 2003 16:26:26 -0600 Subject: Notifications by e-mail Message-ID: Not true. The MTA on the sending host will use an arbitrary source port >1023, whereas the destination host (the smarterhost in this case) will be listening on port 25. Now, if you wanted the Nagios host to *receive* inbound e-mails, then yes, sendmail (or whatever MTA) would be listening on port 25. I've done wholesale changes across department machines (for at least 3 different companies) which were running Solaris. The easy way to dramatically reduce possible sendmail compromises (for send-only hosts) was to change the "/usr/lib/sendmail -bd -q15m" to "/usr/lib/sendmail -q15m" in the rc script and restart sendmail accordingly. Runs as a daemon, just doesn't listen on port 25 anymore. Having said that, you can leave sendmail disabled (ie, not running as a daemon). The mail command will pass the message to sendmail, which will munge sendmail.cf and deliver the message accordingly, then exit. If the message couldn't be delivered for whatever reason, the message will be queued until someone manually runs "sendmail -q", or decides that maybe "/usr/lib/sendmail -q30m" isn't such a bad idea after all. Just my $0.02. jc > -----Original Message----- > From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] > Sent: Wednesday, April 02, 2003 2:00 PM > To: hugo.rebello at dhl.com > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Notifications by e-mail > > > Becasue if there is no agent bound to port 25 you can't send > mail anywhere ;) You > need something to handle the requests and deliver them to > their target ... *mail* > alone does not do this. It might do local injects for you, > but if you need to send > the messages beyhond the local machine they wont have > anything to get them there, > more then likely they will just queue up until an MTA is > started and *then* send > them. > > -- > Lonny > > > I don't have problem in use the "mail command", I just > can't start the sendmail > > service. > > Why when I use "mail command" I need running the sendmail service ? > > > > Thanks, > > Hugo > > > > -----Original Message----- > > From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] > > Sent: quarta-feira, 2 de abril de 2003 16:33 > > To: hugo.rebello at dhl.com > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Notifications by e-mail > > > > > >> The company don't permit to use another MTA (anyone) in > the internal > > network. If I > >> want notify the administrators using Nagios, I must use the MTA of > > company. > >> On Nagios, exist some option for it ? Redirect the notification for > > another MTA ? > >> > >> Thank you. > >> Hugo > > > > Then I'd suggest the original option ... redefine the command for > > notifications > > through email. The original is simply: > > > > define command { > > command_name notify-by-email > > command_line /bin/echo -e "***** Nagios 1.0 > > *****\n\nNotification > > Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHo > > st: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: > > $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** > > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is > $SERVICESTATE$ **" > > $CONTACTEMAIL$ > > } > > > > the command this is actually using is /bin/mail but you > could pipe it to whatever > > you need in order to deliver the mail properly. > > > > -- > > Lonny > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Apr 3 00:29:26 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 2 Apr 2003 16:29:26 -0600 Subject: Notifications by e-mail Message-ID: Hugo, I urge you to reconsider the path I think you're heading down. Don't try to manage the queued messages directly. Let sendmail do it for you. Or Postfix. Or nullmailer. jc > -----Original Message----- > From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] > Sent: Wednesday, April 02, 2003 2:26 PM > To: hugo.rebello at dhl.com > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Notifications by e-mail > > > Well technically your system will sotre it where ever you > spool to (/var/spool > /var/mail/spool /spool ... I've seen it all over although > /var/ is the most common > ... so something like /var/spool/mail or if you use postfix > ;) /var/spool/postfix) > > Somewhere in there > > -- > Lonny > > > OK, I understand. > > So, Do you know where the Nagios storage the notification > that will be sended, > > when I start the MTA service ? > > > > Thanks, > > Hugo > > -----Original Message----- > > From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] > > Sent: quarta-feira, 2 de abril de 2003 17:00 > > To: hugo.rebello at dhl.com > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Notifications by e-mail > > > > > > Becasue if there is no agent bound to port 25 you can't > send mail anywhere ;) You > > need something to handle the requests and deliver them to > their target ... *mail* > > alone does not do this. It might do local injects for you, > but if you need to send > > the messages beyhond the local machine they wont have > anything to get them there, > > more then likely they will just queue up until an MTA is > started and *then* send > > them. > > > > -- > > Lonny > > > >> I don't have problem in use the "mail command", I just > can't start the > > sendmail > >> service. > >> Why when I use "mail command" I need running the sendmail service ? > >> > >> Thanks, > >> Hugo > >> > >> -----Original Message----- > >> From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] > >> Sent: quarta-feira, 2 de abril de 2003 16:33 > >> To: hugo.rebello at dhl.com > >> Cc: nagios-users at lists.sourceforge.net > >> Subject: RE: [Nagios-users] Notifications by e-mail > >> > >> > >>> The company don't permit to use another MTA (anyone) in > the internal > >> network. If I > >>> want notify the administrators using Nagios, I must use the MTA of > >> company. > >>> On Nagios, exist some option for it ? Redirect the > notification for > >> another MTA ? > >>> > >>> Thank you. > >>> Hugo > >> > >> Then I'd suggest the original option ... redefine the > command for notifications > >> through email. The original is simply: > >> > >> define command { > >> command_name notify-by-email > >> command_line /bin/echo -e "***** Nagios 1.0 > >> *****\n\nNotification > >> Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHo > >> st: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > > $SERVICESTATE$\n\nDate/Time: > >> $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** > >> $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is > $SERVICESTATE$ **" > >> $CONTACTEMAIL$ > >> } > >> > >> the command this is actually using is /bin/mail but you > could pipe it to > > whatever > >> you need in order to deliver the mail properly. > >> > >> -- > >> Lonny > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 3 00:38:43 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 02 Apr 2003 17:38:43 -0500 (EST) Subject: Problem with the Check_snmp In-Reply-To: References: Message-ID: On Mon, 31 Mar 2003, Pascal RENAUT/GROUPE-ES wrote: > Hi all, > > I'm using the package net-snmp (5.0.8.pre1) to request OID. I would like to > check the CPU utilization on my host with this OID : > .1.3.6.1.4.1.2021.11.11.0 but this OID doesn't exist. > Must I install others pakages, mibs ? > > Can you help me please ? You might want to ask the net-snmp list whether the oid is supported on your platform. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From NOC at eiiecomm.com Wed Apr 2 22:38:12 2003 From: NOC at eiiecomm.com (NOC at eiiecomm.com) Date: Wed, 2 Apr 2003 15:38:12 -0500 Subject: CHECK_SNMP help and syntax (Subhendu Ghosh) In-Reply-To: References: Message-ID: Subhenda, Can you help me a little. I have been trying to set up check_proc to check ipsec. I had to make an entry in checkcommands.cfg because it didn't exist before. I am not sure what the command line should look like for this command. Here is what I entered: # 'check_procs' command definition define command{ command_name check_ipsec command_line $USER1$/check_procs -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -a $ARG3$ -C $ARG4$ } You help would be appreciated. Mike ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prisoner at addventure.com Wed Apr 2 22:42:01 2003 From: prisoner at addventure.com (Allen Firstenberg) Date: Wed, 02 Apr 2003 15:42:01 -0500 Subject: Notifications by e-mail In-Reply-To: <004401c2f94f$4f49e290$7f023702@sao2127> References: <56684.24.72.6.129.1049311999.squirrel@webmail.bangtherockstogether.net> <004401c2f94f$4f49e290$7f023702@sao2127> Message-ID: <20030402204201.GG18182@addventure.com> On Wed, Apr 02, 2003 at 04:37:33PM -0300, Hugo Rebello wrote: > I don't have problem in use the "mail command", I just can't start the > sendmail service. > Why when I use "mail command" I need running the sendmail service ? The short answer is that the "mail" program passes the mail to sendmail for delivery. It does not do mail delivery itself. Sendmail is responsible for trying to send the mail and retrying if there are delivery problems instead of relying on "mail" to keep running. I do not think you can train "mail" to send to an SMTP agent on another machine. See an earlier message for alternatives, but as noted there, there are issues with assuring the receiving machine gets it. Allen ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Wed Apr 2 23:43:05 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Wed, 2 Apr 2003 15:43:05 -0600 Subject: Eventlog In-Reply-To: References: Message-ID: <3772.42616746134$1049326703@news.gmane.org> Don't get me wrong about Nagios, I use it to monitor all the disks, processes, and nics on my hosts, but it doesn't quite fit into the logging scheme. Nagios is very good at operational monitoring, but I use Cricket for trend data on hosts and networks, and syslog-ng with Logmucher for system logs. Having used several log parsing packages, I found LogSentry was quite good, but its now unavailable. Cisco bought Psionic Software (www.psionic.com) and all their software (LogSentry, PortSentry, HostSentry) is offline, though originally GPL'ed. :P About 8 months ago when I setup my central syslog host, I decided on syslog-ng with a multi-host directory hierarchy (/var/log/HOSTS/hostname/year/month/day/loglevel). I also evaluated Logmuncher at that time. I've found I prefer Logmuncher's flexibility with my setup. A minor modification to Logmuncher to support the multi-host directory hierarchy and I've used it ever since. It works much like LogSentry, having dictionaries of regexp statements that match patterns in syslog messages to ignore, warn about by default, or immediately notify the admin as critical. As it stands, I have a common dictionary across my hosts, and then host specific dictionaries for ignore, warn, and critical. It sends email reports, and is configured to send critical emails to my pager via email. Logmuncher runs only on my central host at 5 minute intervals. I haven't encountered any recurring critical messages. A bad disk block once it has occurred could go on the ignore list I suppose, with any further errors being caught by the default warning trap. Most of my recurring logs are informational logging messages that can be explicitly ignored. So long as the regexp is specific enough about what to ignore, any change in the message should result in the message becoming a warning by default, which is quite desireable. Once I put my systems on my central log host, it took about 3 days of wading through the spam to get my pattern dictionaries correct, with minimal updates ever since. One tool I've been searching for but haven't found is something to help me identify duplicate log messages for purposes of tabulating them and putting them into Logmuncher. Multiple messages where only the PID changes get quite frustrating. If I could feed a file into a tool that I could tell "return all messages that match 95% as one message with the ambiguous parts *'d out", it would greatly speed up the time required to make pattern files. Right now I tend to remove PID data by columns and then doing "sort | uniq -c | sort -rn" to see common messages, but its still quite spammy. Archiving the log file using the multi-host directory hierarchy I setup can be a pain, but on the bright side log rotation is automatic. I've created a shell script to perform archives on data older than 2 months. This also limits the number of offset files that have to be searched. If I've not sufficiently elaborated, I'll be happy to answer any further questions. Russell On Wed, Apr 02, 2003 at 01:40:38PM -0600, Carroll, Jim P [Contractor] wrote: > Very interesting. Thought provoking, even. > > We're using the Perl version of check_log here for checking for 'warning' > type msgs, as well as a tweaked version of same checking for 'critical' type > msgs. It's been pretty good, but has been perplexing at times how best to > handle things, not the least of which deals with the issue of central vs. > host-based syslog scrubbing. One issue is how to stop repeated > notifications once you're aware of the problem, eg, a bad disk block. At > the individual host level, I've set check_log.pl to be volatile, since it > fit the description (and since the non-volatile behaviour was problematic). > > I'd be interested in hearing how you dealt with issues such as this. > > This relates to Nagios, and yet it doesn't. If noone else on the list jumps > in before the end of the day, maybe you and I can take this off-list. > > jc > > > > -----Original Message----- > > From: Russell Adams [mailto:RLAdams at Kelsey-Seybold.com] > > Sent: Wednesday, April 02, 2003 10:06 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Eventlog > > > > > > -= Sorry, here's the list copy. :P =- > > > > I use EventReporter, http://www.eventreporter.com/en/ . > > > > Its cheap ($50/host before bulk discounts), and I've never had a > > problem with it. > > > > Quite frankly, I don't use "check_log". Monitoring my system logs is a > > job for my central syslog server, running syslog-ng, with email/paging > > reports by LogMuncher (a distant relative of LogSentry, but thats not > > available anymore). See http://www.campin.net/newlogcheck.html for > > suggestions. > > > > Russell > > > > On Wed, Apr 02, 2003 at 10:53:56AM +0200, Johannes Dagemark wrote: > > > Hello > > > > > > I would like to monitor the eventlog on a couple of w2k > > boxes. The idea so far > > > is to install a program on the w2k boxes that sends the > > entries in the eventlog > > > to a syslogserver and then use the check_log plugin to > > check for certain > > > problems. > > > > > > Can anyone recommend a good software (small, simple and > > free) that can send > > > entries in the eventlog to syslog or is there someone that > > has a better idea? > > > > > > Regards > > > > > > Johannes Dagemark > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: ValueWeb: > > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > > No other company gives more support or power for your > > dedicated server > > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and > > OS when reporting any issue. > > > ::: Messages without supporting info will risk being sent > > to /dev/null > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > No other company gives more support or power for your dedicated server > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lemac at cistron.nl Thu Apr 3 01:37:00 2003 From: lemac at cistron.nl (Patrick Lambooy) Date: Thu, 3 Apr 2003 01:37:00 +0200 Subject: Notifications by e-mail In-Reply-To: <20030402204201.GG18182@addventure.com> References: <20030402204201.GG18182@addventure.com> Message-ID: <000701c2f970$c4bd5130$0202a8c0@wrkst1> Sure you can send email thru another smtp server but still send mail has to be installed and working for the forwarding to the other smtp -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Allen Firstenberg Sent: woensdag 2 april 2003 22:42 To: Hugo Rebello Cc: 'Nagios Users (E-mail) ' (E-mail); lonny at bangtherockstogether.net Subject: Re: [Nagios-users] Notifications by e-mail On Wed, Apr 02, 2003 at 04:37:33PM -0300, Hugo Rebello wrote: > I don't have problem in use the "mail command", I just can't start the > sendmail service. > Why when I use "mail command" I need running the sendmail service ? The short answer is that the "mail" program passes the mail to sendmail for delivery. It does not do mail delivery itself. Sendmail is responsible for trying to send the mail and retrying if there are delivery problems instead of relying on "mail" to keep running. I do not think you can train "mail" to send to an SMTP agent on another machine. See an earlier message for alternatives, but as noted there, there are issues with assuring the receiving machine gets it. Allen ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daehenoc at optusnet.com.au Thu Apr 3 03:01:29 2003 From: daehenoc at optusnet.com.au (daehenoc at optusnet.com.au) Date: Thu, 03 Apr 2003 11:01:29 +1000 Subject: Users can't see configuration information Message-ID: <200304030101.h3311Tn20744@mail010.syd.optusnet.com.au> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From chad.white at med.ge.com Thu Apr 3 03:27:43 2003 From: chad.white at med.ge.com (White, Chad (MED)) Date: Wed, 2 Apr 2003 17:27:43 -0800 Subject: Eventlog In-Reply-To: <20030402214305.GI25405@soja.ksnet.com.> References: <20030402214305.GI25405@soja.ksnet.com.> Message-ID: <77A37A1B-6573-11D7-9F76-000A95775192@med.ge.com> On Wednesday, April 2, 2003, at 01:43 PM, Russell Adams wrote: > Having used several log parsing packages, I found LogSentry was quite > good, but its now unavailable. Cisco bought Psionic Software > (www.psionic.com) and all their software (LogSentry, PortSentry, > HostSentry) is offline, though originally GPL'ed. :P Actually, I just found out today that you can still get those packages. The URL is now www.psionic.org. I couldn't find it in a Google search, but I just randomly tried changing the com to .org and was pleasantly surprised ;) > About 8 months ago when I setup my central syslog host, I decided on > syslog-ng with a multi-host directory hierarchy > (/var/log/HOSTS/hostname/year/month/day/loglevel). I also evaluated > Logmuncher at that time. I've found I prefer Logmuncher's flexibility > with my setup. A minor modification to Logmuncher to support the > multi-host directory hierarchy and I've used it ever since. It works > much like LogSentry, having dictionaries of regexp statements that > match patterns in syslog messages to ignore, warn about by default, or > immediately notify the admin as critical. As it stands, I have a > common dictionary across my hosts, and then host specific dictionaries > for ignore, warn, and critical. It sends email reports, and is > configured to send critical emails to my pager via email. Logmuncher > runs only on my central host at 5 minute intervals. What did you do to Logmuncher to allow for multiple hosts in separate directories? That is the situation I am facing as I am using syslog-ng to centrally collect syslog for all my hosts. What I would also really like is something like logsentry that will give me an overview of the previous days logs to review each day without a bunch of duplication. Logsentry does a good job when running on each individual host but it doesn't look easy to setup for multiple hosts on a logserver... thx, --chd ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Wed Apr 2 15:33:33 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Wed, 02 Apr 2003 15:33:33 +0200 Subject: treeview in side.html References: <1012BD903945D411915500105A48FF57F06A6F@nt.man.fwltech.com> Message-ID: <3E8AE6AD.DB544B25@dhl.com> True. You should change the link in side1.html. I did have to tweak some other stuff to get it to work as well, but it looks fine. Ewan Leith wrote: > > Are you sure you've uploaded the right file? the index.html in particular is > broken, with the "Home" link in the top right hand corner pointing to the > cgi directory instead of the html directory, etc? > > Ewan > > > -----Original Message----- > > From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] > > Sent: 02 April 2003 12:04 > > To: Masopust Christian > > Cc: 'nagios-users at lists.sourceforge.net' > > Subject: Re: [Nagios-users] treeview in side.html > > > > > > I've posted it on Apans web-page (apan.sourceforge.net) > > > > > > /FredrikW > > > > > > Masopust Christian wrote: > > > > > > > > Hi Nagios-users! > > > > > > Could anybody be so kind to share a side.html which shows a > > treeview > > > of, for example, > > > the defined hostgroups? > > > > > > I saw this the first time at the screenshots at the apan-site > > > (apan.sourceforge.net). > > > > > > thanks in advance, > > > chris > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > No other company gives more support or power for your dedicated server > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 3 03:31:19 2003 From: earl at switchmanagement.com (Earl C. Ruby III) Date: Wed, 2 Apr 2003 17:31:19 -0800 Subject: check_nagios can't find running process In-Reply-To: <48599.24.72.6.129.1049318738.squirrel@webmail.bangtherockstogether.net> References: <3E8B3E10.2000307@geospiza.com> <3E8B50C1.5030005@geospiza.com> <48599.24.72.6.129.1049318738.squirrel@webmail.bangtherockstogether.net> Message-ID: <200304021731.19049.earl@switchmanagement.com> I'm having a similar problem. I'm using check_nagios from the latest RPM of plug-ins (nagios-1.0.tar.gz & nagios-plugins-1.3.0-1.i386.rpm), and updated the cgi.cfg file to match the syntax used by the script. From cgi.cfg: nagios_check_command=/usr/lib/nagios/check_nagios -F /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios From the command line: # sudo -u nagios ./check_nagios -F /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios Nagios ok: located 1 process, status log updated 1 second ago As you can see, the check_nagios script says that Nagios is running just fine when I run it from the command line. However, the web interface shows "Warning: Monitoring process may not be running! Click here for more info." and "It appears as though Nagios is not running, so commands are temporarily unavailable... Click here to view Nagios process information." When I click to view the process information it appears to be normal. -- Earl C. Ruby III Senior System Engineer / Developer Switch Managment ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smccool at ascendantmedia.com Thu Apr 3 06:00:44 2003 From: smccool at ascendantmedia.com (Shawn McCool) Date: Wed, 2 Apr 2003 22:00:44 -0600 Subject: check_nagios can't find running process Message-ID: <004c01c2f995$9d417030$22652044@shawn> if you do a 'ps' as the user nagios runs as you need to be able to see the nagios process. If you can't, then find a command that will work. such as 'ps -ax' If you edit your Makefile for the nagios plugins you can modify /bin/ps to /bin/ps -ax or whatever command you need to run. Then take the check_nagios script and modify the last arguement. For example. you can do nagios_check_command=/usr/local/nagios/libexec/check_nagios > /usr/local/nagios/var/status.log 10 'nagios -d' -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Thu Apr 3 06:17:16 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 02 Apr 2003 23:17:16 -0500 (EST) Subject: check_nagios can't find running process In-Reply-To: <200304021731.19049.earl@switchmanagement.com> References: <200304021731.19049.earl@switchmanagement.com> Message-ID: On Wed, 2 Apr 2003, Earl C. Ruby III wrote: > I'm having a similar problem. I'm using check_nagios from the latest RPM of > plug-ins (nagios-1.0.tar.gz & nagios-plugins-1.3.0-1.i386.rpm), and updated > the cgi.cfg file to match the syntax used by the script. > > >From cgi.cfg: > > nagios_check_command=/usr/lib/nagios/check_nagios -F > /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios > > >From the command line: > > # sudo -u nagios ./check_nagios -F /usr/local/nagios/var/status.log -e 5 -C > /usr/local/nagios/bin/nagios > Nagios ok: located 1 process, status log updated 1 second ago try it as "sudo -u apache ....." since the plugin is executed by the cgi and not nagios... > > As you can see, the check_nagios script says that Nagios is running just fine > when I run it from the command line. However, the web interface shows > "Warning: Monitoring process may not be running! Click here for more info." > and "It appears as though Nagios is not running, so commands are temporarily > unavailable... Click here to view Nagios process information." When I click > to view the process information it appears to be normal. > > -- ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 3 06:25:31 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 02 Apr 2003 23:25:31 -0500 (EST) Subject: check_snmp In-Reply-To: <755175A1CAD8CD419B42E8F9FAFA709B2EA1@mail.telemarkt.netz> References: <755175A1CAD8CD419B42E8F9FAFA709B2EA1@mail.telemarkt.netz> Message-ID: On Wed, 2 Apr 2003, Schreg, Ralf wrote: > Can anyone help me? > > The Plugin check_snmp never returns a state 'OK'. Always 'WARNUNG' or > 'CRITICAL': > > For example: ./check_snmp -H 192.168.17.199 -o .1.3.6.1.2.1.2.1.0 > --warning=1:7 --critical=1:10 > > SNMP WARNING - 6 > > I use the check_snmp plugin 1.24 from nagios plugin 1.3.0 > > The above output indicates that the MIBs used by snmpget program are not parseable correctly. This causes an output to be returend on the stderr channel thus invoking a WARNING To prevent this WARNING - either fix the MIB loading issue (any snmp* command invocation will tell you which MIB is causing the problem) or use the "-m :" option to stop loading the MIBs (and speed up the process as well [but you have to use numeric oids]) If you were getting a true WARNING - the data output ( 6 in this example) would be surrounded by stars (eg: *6*) -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 3 06:55:20 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 02 Apr 2003 23:55:20 -0500 (EST) Subject: Question about host up/down In-Reply-To: <115F85A8196CD411BBAB0008C7590661820598@FS01> References: <115F85A8196CD411BBAB0008C7590661820598@FS01> Message-ID: On Wed, 2 Apr 2003, Daniel Jimenez wrote: > All, > > I have one server running at a colo I monitor from my office. I have > services set for HTTP, SSH and FTP. It's host check is PING. > > This morning the colo had to temporarily block ICMP due to DDoS, though all > my services were still up, it showed host down. I verified in Nagios, and > all 3 services were still green, but the host was red. > > My understanding is that Nagios does not check the host unless a service > fails, since I do not have PING as a service, what would cause this? > Host checks are run on demand and can be triggered by a soft state change in a service as well as a hard change - do your logs show any soft service changes? -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralf.Schreg at telemarkt-ag.de Thu Apr 3 08:14:22 2003 From: Ralf.Schreg at telemarkt-ag.de (Schreg, Ralf) Date: Thu, 3 Apr 2003 08:14:22 +0200 Subject: AW: check_snmp Message-ID: <755175A1CAD8CD419B42E8F9FAFA709B2EA2@mail.telemarkt.netz> Great, it works! Thanks. Ralf Schreg Manager IT Teamleiter Systemadministration TELEMARKT AG Telefon: +49.(0)7121.344.178 -----Urspr?ngliche Nachricht----- Von: Subhendu Ghosh [mailto:sghosh at sghosh.org] Gesendet: Donnerstag, 3. April 2003 06:26 An: Schreg, Ralf Cc: nagios-users at lists.sourceforge.net Betreff: Re: [Nagios-users] check_snmp On Wed, 2 Apr 2003, Schreg, Ralf wrote: > Can anyone help me? > > The Plugin check_snmp never returns a state 'OK'. Always 'WARNUNG' or > 'CRITICAL': > > For example: ./check_snmp -H 192.168.17.199 -o .1.3.6.1.2.1.2.1.0 > --warning=1:7 --critical=1:10 > > SNMP WARNING - 6 > > I use the check_snmp plugin 1.24 from nagios plugin 1.3.0 > > The above output indicates that the MIBs used by snmpget program are not parseable correctly. This causes an output to be returend on the stderr channel thus invoking a WARNING To prevent this WARNING - either fix the MIB loading issue (any snmp* command invocation will tell you which MIB is causing the problem) or use the "-m :" option to stop loading the MIBs (and speed up the process as well [but you have to use numeric oids]) If you were getting a true WARNING - the data output ( 6 in this example) would be surrounded by stars (eg: *6*) -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johannes.dagemark at op5.se Thu Apr 3 09:11:48 2003 From: johannes.dagemark at op5.se (Johannes Dagemark) Date: Thu, 3 Apr 2003 09:11:48 +0200 Subject: check_citrix issue References: Message-ID: <01c001c2f9b0$4ae38420$8100a8c0@wheeljd> Probably a simple solution to this one... I have been trying out the check_citrix plugin to monitor some published applications. The problem is that I dont know how to handle published applications that has spaces in their names, for example "Acrobat Reader". When I run check_citrix from the commandline everyting is ok ./check_citrix -C x.x.x.x -P "Acrobat Reader" Ok. Citrix master browser "x.x.x.x" reported that the published application "Acrobat Reader" is available. But when I try to implement that in the config files I get problems. Here is what I have got. checkcommands.cfg file # 'check_citrix' command definition define command{ command_name check_citrix command_line $USER1$/check_citrix -C $HOSTADDRESS$ -P $ARG1$ } services.cfg file # Pulished citrix application 'Acrobat Reader' define service{ use generic-service host_name ts1 service_description Citrix - Acrobat Reader contact_groups application check_command check_citrix!"Acrobat Reader" } I guess that the problem has to do with the " and the spaces. I have tryed check_command check_citrix!Acrobat\ Reader but that doesnt work either... What should I do to make nagios run the proper command with space in the application name? Regards Johannes Dagemark ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Thu Apr 3 09:23:40 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 03 Apr 2003 09:23:40 +0200 Subject: Notifications by e-mail References: <000701c2f970$c4bd5130$0202a8c0@wrkst1> Message-ID: <3E8BE17C.99F3B6C4@dhl.com> OK, so here's what I think is the best solution if Sendmail really is a problem (even when only accepting connections from 127.0.0.1). Use the only SMTP server that is available in your company. Instead of sending the mail to a local MTA, I suggest using a MUA that allows the usage of a remote SMTP server. This being said, I can advise you to use Pine. In your Pine config, you can specify what SMTP server to use. However, native Pine cannot be run in CLI mode. Therefor you need to patch it first with the patch you can find at http://www.math.washington.edu/~chappa/pine/info/outgoing.html, and then recompile it. Afterwards just su to the user Nagios runs as, and fill out the "smtp-server = " in the Pine config. Test if it works by sending a normal CLI email when your sendmail is not running: echo "boo !" | pine -I ^X,y -subject "Test" your.email at dhl.com If that works, change your email notification commands to use Pine instead of mail. Hope this helps. Patrick Lambooy wrote: > > Sure you can send email thru another smtp server but still send mail has > to be installed and working for the forwarding to the other smtp > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Allen > Firstenberg > Sent: woensdag 2 april 2003 22:42 > To: Hugo Rebello > Cc: 'Nagios Users (E-mail) ' (E-mail); lonny at bangtherockstogether.net > Subject: Re: [Nagios-users] Notifications by e-mail > > On Wed, Apr 02, 2003 at 04:37:33PM -0300, Hugo Rebello wrote: > > I don't have problem in use the "mail command", I just can't start the > > sendmail service. > > Why when I use "mail command" I need running the sendmail service ? > > The short answer is that the "mail" program passes the mail to sendmail > for delivery. It does not do mail delivery itself. Sendmail is > responsible > for trying to send the mail and retrying if there are delivery problems > instead of relying on "mail" to keep running. > > I do not think you can train "mail" to send to an SMTP agent on another > machine. See an earlier message for alternatives, but as noted there, > there are issues with assuring the receiving machine gets it. > > Allen > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.Verscheure at loria.fr Thu Apr 3 09:40:43 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Thu, 03 Apr 2003 09:40:43 +0200 Subject: Process Problem Message-ID: <3E8BE57B.3040101@loria.fr> Hello ! I have already send a mail for this problem but it was probably not clear ... so i try again . I run nagios but when i go in "proccess info" (in the web interface) , it return 2errors witch are the next one : -------- the first : Process Commands It appears as though Nagios is not running, so commands are temporarily unavailable... ------- I don't understand because nagios really run !!! ----- the second : Process Status Information Process Status: CRITICAL Check Command Output: Error: Cannot open status log for reading! ---- I check the right(of "status.log") : user : nagios group : nagios RW- R- - R - - --- So nagios try to do test but no result. Do some one understand ? have the same problem ? Thanks in advance. byebye. good day everybody !! ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardoleitao at interacesso.pt Thu Apr 3 10:44:38 2003 From: eduardoleitao at interacesso.pt (Eduardo =?ISO-8859-1?Q?Leit=E3o?=) Date: 03 Apr 2003 09:44:38 +0100 Subject: Web interface php Message-ID: <1049359478.965.2.camel@Monitor> Hello I would like to know if is possible to develop a web interface written in php that use the information stored by nagios in mysql. What can i do to start this project... Best regards Eduardo ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Thu Apr 3 10:50:13 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Thu, 3 Apr 2003 09:50:13 +0100 Subject: check_citrix issue Message-ID: <53104E20A25CD411B556009027E50636064D5523@pnnemp02.pn.egg.com> Try: checkcommands.cfg file # 'check_citrix' command definition define command{ command_name check_citrix command_line $USER1$/check_citrix -C $HOSTADDRESS$ -P "$ARG1$" } This should preserve spaces around $ARG1$ Ton > -----Original Message----- > From: Johannes Dagemark [SMTP:johannes.dagemark at op5.se] > Sent: Thursday, April 03, 2003 8:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_citrix issue > > Probably a simple solution to this one... > > I have been trying out the check_citrix plugin to monitor some published > applications. The problem is that I dont know how to handle published > applications that has spaces in their names, for example "Acrobat Reader". > > When I run check_citrix from the commandline everyting is ok > > ./check_citrix -C x.x.x.x -P "Acrobat Reader" > > Ok. Citrix master browser "x.x.x.x" reported that the published > application > "Acrobat Reader" is available. > > But when I try to implement that in the config files I get problems. Here > is > what I have got. > > checkcommands.cfg file > # 'check_citrix' command definition > define command{ > command_name check_citrix > command_line $USER1$/check_citrix -C $HOSTADDRESS$ -P $ARG1$ > } > > services.cfg file > # Pulished citrix application 'Acrobat Reader' > define service{ > use generic-service > host_name ts1 > service_description Citrix - Acrobat Reader > contact_groups application > check_command check_citrix!"Acrobat Reader" > } > > I guess that the problem has to do with the " and the spaces. I have tryed > > check_command check_citrix!Acrobat\ Reader > > but that doesnt work either... What should I do to make nagios run the > proper > command with space in the application name? > > Regards > > Johannes Dagemark > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Thu Apr 3 11:07:06 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Thu, 3 Apr 2003 11:07:06 +0200 Subject: Whoops!!! Message-ID: Hi Often I get : Whoops! Error: Could not read host and service status information!Whoops! when my status.cgi (re)loads. If I just manually reload the page then it works fine. Any ideas? Please. :) fred ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johannes.dagemark at op5.se Thu Apr 3 11:12:12 2003 From: johannes.dagemark at op5.se (Johannes Dagemark) Date: Thu, 3 Apr 2003 11:12:12 +0200 Subject: check_citrix issue References: <53104E20A25CD411B556009027E50636064D5523@pnnemp02.pn.egg.com> Message-ID: <026801c2f9c1$1c99efd0$8100a8c0@wheeljd> Thanks for all replies I have tried using "$ARG1" (with quotes) in the checkcommand file but all I get is "(no output!)" Im starting to think that I have missed something else... Regards Johannes Dagemark ----- Original Message ----- From: "Voon, Ton" To: "'Johannes Dagemark'" ; Sent: Thursday, April 03, 2003 10:50 AM Subject: RE: [Nagios-users] check_citrix issue > Try: > checkcommands.cfg file > # 'check_citrix' command definition > define command{ > command_name check_citrix > command_line $USER1$/check_citrix -C $HOSTADDRESS$ -P > "$ARG1$" > } > > This should preserve spaces around $ARG1$ > > Ton > > > -----Original Message----- > > From: Johannes Dagemark [SMTP:johannes.dagemark at op5.se] > > Sent: Thursday, April 03, 2003 8:12 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_citrix issue > > > > Probably a simple solution to this one... > > > > I have been trying out the check_citrix plugin to monitor some published > > applications. The problem is that I dont know how to handle published > > applications that has spaces in their names, for example "Acrobat Reader". > > > > When I run check_citrix from the commandline everyting is ok > > > > ./check_citrix -C x.x.x.x -P "Acrobat Reader" > > > > Ok. Citrix master browser "x.x.x.x" reported that the published > > application > > "Acrobat Reader" is available. > > > > But when I try to implement that in the config files I get problems. Here > > is > > what I have got. > > > > checkcommands.cfg file > > # 'check_citrix' command definition > > define command{ > > command_name check_citrix > > command_line $USER1$/check_citrix -C $HOSTADDRESS$ -P $ARG1$ > > } > > > > services.cfg file > > # Pulished citrix application 'Acrobat Reader' > > define service{ > > use generic-service > > host_name ts1 > > service_description Citrix - Acrobat Reader > > contact_groups application > > check_command check_citrix!"Acrobat Reader" > > } > > > > I guess that the problem has to do with the " and the spaces. I have tryed > > > > check_command check_citrix!Acrobat\ Reader > > > > but that doesnt work either... What should I do to make nagios run the > > proper > > command with space in the application name? > > > > Regards > > > > Johannes Dagemark > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > No other company gives more support or power for your dedicated server > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > carries out investment business on behalf of Egg and is regulated > by the Financial Services Authority. > Registered in England and Wales. Registered offices: 1 Waterhouse Square, > 138-142 Holborn, London EC1N 2NA. > If you are not the intended recipient of this e-mail and have > received it in error, please notify the sender by replying with > 'received in error' as the subject and then delete it from your > mailbox. > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardoleitao at interacesso.pt Thu Apr 3 11:17:42 2003 From: eduardoleitao at interacesso.pt (Eduardo =?ISO-8859-1?Q?Leit=E3o?=) Date: 03 Apr 2003 10:17:42 +0100 Subject: openssl Message-ID: <1049361462.970.7.camel@Monitor> Hi How can i see if i have the the development version of libssl installed because is a prerequisite to check https. After I have to reconfigure and rebuild your nagios plugins with: ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios - --with-nagios-group=nagios --with-openssl=/usr/include (this ist the debian path to openssel/ssl.h I just need to make the configure or i must make the make all and make install too. Best regards Eduardo ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daehenoc at optusnet.com.au Thu Apr 3 11:27:55 2003 From: daehenoc at optusnet.com.au (daehenoc at optusnet.com.au) Date: Thu, 03 Apr 2003 19:27:55 +1000 Subject: 1.0b5 Message-ID: <200304030927.h339Rtn10906@mail010.syd.optusnet.com.au> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From Michael.Huettig at Medien-Systempartner.de Thu Apr 3 11:40:34 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Thu, 3 Apr 2003 10:40:34 +0100 Subject: Web interface php In-Reply-To: <1049359478.965.2.camel@Monitor> References: <1049359478.965.2.camel@Monitor> Message-ID: <200304031140.34436.Michael.Huettig@Medien-Systempartner.de> Am Donnerstag, 3. April 2003 10:44 schrieb Eduardo Leit?o: > Hello > > I would like to know if is possible to develop a web interface written > in php that use the information stored by nagios in mysql. What can i do > to start this project... Look at nagmin.sourceforge.net or search this NewsGroup for PHP. You'll find a lot of discussions about this, another nice link: http://nagiosconf.sskm.net/sql/ Very good idea, to take timestamps in db for changing objects. I'm using a lot of templates and tried some of the PHP-Interfaces which have been discussed. So the general problem is, that every db and/or php-interface has to be customized to your personal nagios-installation. But i think, someone has to say, what is going on with this feature-request in the future of nagios. -- Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Thu Apr 3 11:51:44 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 03 Apr 2003 11:51:44 +0200 Subject: Web interface php References: <1049359478.965.2.camel@Monitor> Message-ID: <3E8C0430.39AD0896@dhl.com> wait for version 3.0: http://www.nagios.org/upcoming.php PHP Interface To Replace CGIs I had originally planned on modifying the CGIs in 2.0 to make use of FastCGI to make them a bit speedier, but I am dumping that plan. Why? I am sick of the CGIs and plan on redoing the entire web interface in PHP. Some of the reasons I'm moving to PHP include: Hardcoded HTML in the CGIs requires a recompile to make changes to the interface, PHP should be much easier Many of the current CGIs suck as far as the UI is concerned (UI design is not my thing). A PHP interface will hopefully lure more people into helping make a better looking interface. Session state is much easier to track using PHP. The current CGIs would require a lot of work to incorporate sessions. No doubt a move to PHP is going to require a lot of work. I put a lot of time into the current CGIs and do not relish the idea of rewriting them. However, I think it needs to be done. On a side note, a lot of people seem to think that a "pretty" interface means that the software sucks as far as features/stability goes. I don't think this is the case with Nagios - a lot of work has been put into the main daemon. Besides, some people (like IT managers, CIOs and myself) like a decent looking interface. :-) Eduardo Leit?o wrote: > > Hello > > I would like to know if is possible to develop a web interface written > in php that use the information stored by nagios in mysql. What can i do > to start this project... > > Best regards > > Eduardo > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Thu Apr 3 15:19:38 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Thu, 3 Apr 2003 08:19:38 -0500 Subject: check_citrix issues Message-ID: <2E3E9736615DD311895D00105A9CADED014BCB2D@eentsvr40.ehvert.com> Good morning, I just started playing with this yesterday and am having the same issues as Johannes Dagemark. My service definition encloses the application name in single quotes and I used a command_line of: /bin/echo "$USER1$/check_citrix -L -C $HOSTADDRESS$ -P $ARG1$" > /tmp/debug.txt and got: /usr/local/nagios/libexec/check_citrix -L -C 192.168.0.27 -P Microsoft Outlook XP this won't work at the bash prompt due to the the spaces so I enclosed $ARG1$ in single quotes (double's didn't change anything) ala: /bin/echo "$USER1$/check_citrix -L -C $HOSTADDRESS$ -P '$ARG1$'" and got: /usr/local/nagios/libexec/check_citrix -L -C 192.168.0.27 -P 'Microsoft Outlook XP' which _does_ work at the bash prompt. Alas Nagios still complains that there is "No output" This sort of makes sense. If the published app is not found I would have expected an error message stating just that. Ahh. Now it is a bit clearer. I just tried a published app that does not have spaces and got the same result. Any thoughts? Thanks, dean -------------- next part -------------- An HTML attachment was scrubbed... URL: From chbaker at powersystems.rockwell.com Thu Apr 3 15:36:07 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Thu, 3 Apr 2003 08:36:07 -0500 Subject: check_by_ssh.cfg check_disk.cfg Message-ID: My check_by_ssh.cfg looks like this: command[ssh_disk]=/usr/lib/nagios/plugins/check_by_ssh -H $HOSTNAME$ -i $ARG1$ -C '/usr/lib/nagios/plugins/check_disk -w 15% -p $ARG2$' I'm running my nagios server on a debian machine right now. And the old style configs like those above, are automatically converted and used properly. The service definition looks like: define service{ use generic-service host_name usmghsysadm service_description Root Free Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command ssh_disk!/var/log/nagios/.ssh/identity!dev/hda2 } With all that being said, in the Service Detail page the status is reported as UNKOWN, and the Status Information is "Unable to read output:" What am I doing wrong here? BTW, the nagios on my debian machine is 1.0 and the plugins are on usmghsysadm which is a RedHat 8 machine are the 1.3.0-1 rpm install. Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #207: We are currently trying a new concept of using a live mouse. Unfortunately, one has yet to survive being hooked up to the computer.....please bear with us. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Robert.Wagner at wausaubenefits.com Thu Apr 3 16:26:29 2003 From: Robert.Wagner at wausaubenefits.com (Robert Wagner) Date: Thu, 3 Apr 2003 08:26:29 -0600 Subject: Eventlog Message-ID: A good, free (GPL) Windows Event Log forwarding tool (to SysLog) that I use is called Snare. (it used to be called BackLog). You can find it at: http://www.intersectalliance.com/projects/SnareWindows/index.html This communication is intended only for the recipient(s) named above; may be confidential and/or legally privileged; and, must be treated as such in accordance with state and federal laws. If you are not the intended recipient, you are hereby notified that any use of this communication, or any of its contents, is prohibited. If you have received this communication in error, please return it to Robert Wagner and delete the message from your computer system. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 3 16:36:35 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 03 Apr 2003 09:36:35 -0500 (EST) Subject: Process Problem In-Reply-To: <3E8BE57B.3040101@loria.fr> References: <3E8BE57B.3040101@loria.fr> Message-ID: On Thu, 3 Apr 2003, Lionel Verscheure wrote: > Hello ! > > I have already send a mail for this problem but it was probably not > clear ... so i try again . > I run nagios but when i go in "proccess info" (in the web interface) , > it return 2errors witch are the next one : > > -------- > the first : > > Process Commands > It appears as though Nagios is not running, so commands are temporarily > unavailable... > ------- > > I don't understand because nagios really run !!! > > ----- > the second : > > Process Status Information > Process Status: > CRITICAL > Check Command Output: Error: Cannot open status log for reading! > ---- > > I check the right(of "status.log") : > user : nagios > group : nagios > > RW- R- - R - - > --- > Try and run the check_nagios command defined in cgi.cfg as the web user and see if you get the correct data - if not fix that syntax -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Thu Apr 3 16:37:20 2003 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 3 Apr 2003 09:37:20 -0500 Subject: Configuring an HP-UX Startup Script Message-ID: <5593DA408212D511B0910002A513501F06558DA8@phsexch20.mgh.harvard.edu> Hi there, I have the NRPE 1.8 client running as a standalone daemon on an HP-UX machine. I am trying to get it to run automatically on bootup and do an automatic shutdown. The easiest solution has been for me to create a single-line startup script which invokes the nrpe client. The client is started via an S script in the /sbin/rc2.d directory. There are two problems with this approach. First, when the system does boot up, and lists the services as being started, the client is started but the listing for the client shows a blank space while the other daemons names are mentioned. Second, when shutting down the workstation, there is no way to know if the nrpe daemon is being successfully turned off. The altenative option is to clone an existing startup script and modify that to suit the nrpe client. I have done that, and although the script can start the nrpe client, it is unable to stop it. I have included the script in this e-mail. The question is, what is the correct syntax for stopping the nrpe client via the startup script? <> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Startup Script.txt URL: From RLAdams at Kelsey-Seybold.com Thu Apr 3 16:33:05 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Thu, 3 Apr 2003 08:33:05 -0600 Subject: Eventlog In-Reply-To: <77A37A1B-6573-11D7-9F76-000A95775192@med.ge.com> References: <20030402214305.GI25405@soja.ksnet.com.> <77A37A1B-6573-11D7-9F76-000A95775192@med.ge.com> Message-ID: <30400.3111240037$1049382113@news.gmane.org> I modified Logmuncher to work with the multi-host directory hierarchy I setup, and returned a patch to the author. I'd be happy to give you a copy of the patch, or you can try emailing the author. I'm hoping he'll integrate it into the next release. I'm surprised they left the .org up, thats cool. =] Not sure how Cisco would handle purchasing a company with GPL'ed code, my first impression was they'd just make it unavailable for download. Psionic.org certainly never showed up in my Googling. Logmuncher does almost exactly what LogSentry did, but more in a more flexible fashion. Logmuncher could be configured to work exactly like LogSentry, but its better to understand all the options. I might also mention that with both LogSentry and Logmuncher I've always run them at 5 minute intervals so I get the logs as they happen. With the right regexp's setup in the dictionaries, its not spammy. I prefer up-to-date vs a nightly report. Logmuncher can take a directory for configuration files, and read each file as a config file. So in /etc/logmuncher/conf, I have a config file for each host that logs to my syslog server. Here's a sample config: /etc/logmuncher/conf/soja subject soja %d %t Logmuncher Report header ********** soja Log Entries ********** mtailfile /var/log/HOSTS/soja/*/*/*/* re-ignore /etc/logmuncher/patterns/common re-ignore /etc/logmuncher/patterns/soja send-report rladams at kNeOlSsPeAyM-seybold.com This sample file just uses two exclude dictionaries, common (for messages common to all hosts) and soja (for just that host). I have other files that use the "re-report" to watch for specific patterns and send out mail to email pagers when certain messages occur. The mtailfile directive is added by my patch, to take a multi-file argument for the files to examine with logtail. My hosts all log into /var/log/HOSTS/hostname/year/month/day/loglevel, and I have a script that archives anything older than 2 months in order to keep the number of files to parse down. Having individual config files per host, and individual pattern files / dictionaries makes multi-host management with Logmuncher a breeze. Works like a charm too. Russell On Wed, Apr 02, 2003 at 05:27:43PM -0800, White, Chad (MED) wrote: > > On Wednesday, April 2, 2003, at 01:43 PM, Russell Adams wrote: > > > >Having used several log parsing packages, I found LogSentry was quite > >good, but its now unavailable. Cisco bought Psionic Software > >(www.psionic.com) and all their software (LogSentry, PortSentry, > >HostSentry) is offline, though originally GPL'ed. :P > > Actually, I just found out today that you can still get those packages. > The URL is now www.psionic.org. I couldn't find it in a Google > search, but I just randomly tried changing the com to .org and was > pleasantly surprised ;) > > > >About 8 months ago when I setup my central syslog host, I decided on > >syslog-ng with a multi-host directory hierarchy > >(/var/log/HOSTS/hostname/year/month/day/loglevel). I also evaluated > >Logmuncher at that time. I've found I prefer Logmuncher's flexibility > >with my setup. A minor modification to Logmuncher to support the > >multi-host directory hierarchy and I've used it ever since. It works > >much like LogSentry, having dictionaries of regexp statements that > >match patterns in syslog messages to ignore, warn about by default, or > >immediately notify the admin as critical. As it stands, I have a > >common dictionary across my hosts, and then host specific dictionaries > >for ignore, warn, and critical. It sends email reports, and is > >configured to send critical emails to my pager via email. Logmuncher > >runs only on my central host at 5 minute intervals. > > > What did you do to Logmuncher to allow for multiple hosts in separate > directories? That is the situation I am facing as I am using syslog-ng > to centrally collect syslog for all my hosts. What I would also really > like is something like logsentry that will give me an overview of the > previous days logs to review each day without a bunch of duplication. > Logsentry does a good job when running on each individual host but it > doesn't look easy to setup for multiple hosts on a logserver... > > thx, > --chd ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swhitney at journyx.com Thu Apr 3 19:04:12 2003 From: swhitney at journyx.com (Scott Whitney) Date: Thu, 3 Apr 2003 11:04:12 -0600 Subject: Return Code 32 is out of bounds? Message-ID: <0e4801c2fa03$0ce2a0e0$aa64a8c0@journyx2000.int.journyx.com> Well, yes, I suppose it is. However, since I'm exiting with a 0 or 2 (only 2 choices on this) for this thing, I'm confused. This is a plugin I wrote that checks the age of virus dat files and let's me know if they exceed a certain age. It's called by NRPE which is where I think the confusion is. Nagios reports that Return Code of 32 is out of bounds, but when I print the exit error code just before exiting and run it locally, it shows me 0. Ideas? Thanks! Scott Whitney ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardoleitao at interacesso.pt Thu Apr 3 19:09:33 2003 From: eduardoleitao at interacesso.pt (Eduardo =?ISO-8859-1?Q?Leit=E3o?=) Date: 03 Apr 2003 18:09:33 +0100 Subject: openssl In-Reply-To: <131A385F21AAD311BD6400902763781D020DD30A@Z8> References: <131A385F21AAD311BD6400902763781D020DD30A@Z8> Message-ID: <1049389773.2153.15.camel@Monitor> Hi After i do the reconfiguration: ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-openssl=/usr/include/openssl (or /usr/include) it find Open SSL propperly but i keep saw the message "check_http: invalid option - SSL is not available" When i check https Is something missing and i don't know what. Can someone help me???????? Best regards Eduardo Leit?o On Mon, 2003-03-31 at 08:37, Brad Dunn wrote: > Thanks, that fixed it right up > > b r a d d u n n > > > -----Original Message----- > From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] > Sent: Monday, 31 March 2003 3:27 PM > To: Brad Dunn > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] openssl > > > Dear Gentlemen, > > > > > > > Then im displayed with this > > > .... > > > checking for openssl... (cached) /usr/bin/openssl > > > checking for krb5.h... (cached) no > > > checking for krb5.h... no > > > checking for openssl/ssl.h... (cached) no > > > checking for openssl/x509.h... (cached) no > > > checking for openssl/rsa.h... (cached) no > > > checking for openssl/pem.h... (cached) no > > > checking for openssl/crypto.h... (cached) no > > > checking for openssl/err.h... (cached) no > > > checking for ssl.h... (cached) no > > > checking for x509.h... (cached) no > > > checking for rsa.h... (cached) no > > > checking for pem.h... (cached) no > > > checking for crypto.h... (cached) no > > > checking for err.h... (cached) yes > > > ..... > > > >From what I can gather it just doesn't find Open SSL propperly, > > > >does anyone > > > have any sugestions to help me get this going? > > > > > > Thanks a lot. > > > > > > > > > > > > > Would it be worth running configure again after deleting the cached > values that it found last time it was run (rm config.cache && > ./configure ) ? > > 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 is sponsored by: > The Definitive IT and Networking Event. Be There! > NetWorld+Interop Las Vegas 2003 -- Register today! > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steve.Rossen at Parago.Com Thu Apr 3 19:12:11 2003 From: Steve.Rossen at Parago.Com (Steve Rossen) Date: Thu, 3 Apr 2003 11:12:11 -0600 Subject: NRPE failure Message-ID: <870BC6C69F20D4118ECC009027FC77610672C77E@copexc01.parago.com> Ok I had this happen before but after a reboot it went away and never came back. When I run check_nrpe I get the following: -bash-2.05b$ ./check_nrpe -H 172.16.4.206 -p 5666 NRPE v1.8 -bash-2.05b$ ./check_nrpe -H 172.16.4.206 -p 5666 -c check_disk ???X?#? I can't figure out why I get "???X?#" back as a result. Does not matter what command I run or what server I connect to, it always comes back ???X?#. It did work before. I have NRPE debugging on and the log shows nothing. Any ideas? This is NRPE 1.8 on both host/server. I have tired to recompile check_nrpe and that did nothing. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From heather at geospiza.com Thu Apr 3 19:24:16 2003 From: heather at geospiza.com (Heather Barnes) Date: Thu, 03 Apr 2003 09:24:16 -0800 Subject: Work around for external command problems Message-ID: <3E8C6E40.2030209@geospiza.com> To enable my external commands, I simply commented out the process check command in /etc/cgi.cfg. It has not seemed to effect any of the necessary functionality of the system for my needs. Thanks! -Heather ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Farris at key3media.com Thu Apr 3 19:55:56 2003 From: Ben.Farris at key3media.com (Ben.Farris at key3media.com) Date: Thu, 3 Apr 2003 09:55:56 -0800 Subject: openssl Message-ID: I had the same problem but got around it. For me openssl is installed in /usr/local/ssl and the binary is in /usr/local/ssl/bin/openssl So I added both /usr/local/ssl and /usr/local/ssl/bin to my PATH and then deleted configure.cache and reran the configure with ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-openssl=/usr/local/ssl This may be slightly different for you depending upon where openssl is installed.. -Ben Eduardo Leit?o To: Brad Dunn Sent by: cc: nagios-users at lists.sourceforge.net nagios-users-admin at lists.sourc Subject: RE: [Nagios-users] openssl eforge.net 04/03/2003 09:09 AM Hi After i do the reconfiguration: ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-openssl=/usr/include/openssl (or /usr/include) it find Open SSL propperly but i keep saw the message "check_http: invalid option - SSL is not available" When i check https Is something missing and i don't know what. Can someone help me???????? Best regards Eduardo Leit?o On Mon, 2003-03-31 at 08:37, Brad Dunn wrote: > Thanks, that fixed it right up > > b r a d d u n n > > > -----Original Message----- > From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] > Sent: Monday, 31 March 2003 3:27 PM > To: Brad Dunn > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] openssl > > > Dear Gentlemen, > > > > > > > Then im displayed with this > > > .... > > > checking for openssl... (cached) /usr/bin/openssl > > > checking for krb5.h... (cached) no > > > checking for krb5.h... no > > > checking for openssl/ssl.h... (cached) no > > > checking for openssl/x509.h... (cached) no > > > checking for openssl/rsa.h... (cached) no > > > checking for openssl/pem.h... (cached) no > > > checking for openssl/crypto.h... (cached) no > > > checking for openssl/err.h... (cached) no > > > checking for ssl.h... (cached) no > > > checking for x509.h... (cached) no > > > checking for rsa.h... (cached) no > > > checking for pem.h... (cached) no > > > checking for crypto.h... (cached) no > > > checking for err.h... (cached) yes > > > ..... > > > >From what I can gather it just doesn't find Open SSL propperly, > > > >does anyone > > > have any sugestions to help me get this going? > > > > > > Thanks a lot. > > > > > > > > > > > > > Would it be worth running configure again after deleting the cached > values that it found last time it was run (rm config.cache && > ./configure ) ? > > 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 is sponsored by: > The Definitive IT and Networking Event. Be There! > NetWorld+Interop Las Vegas 2003 -- Register today! > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From John at tradingtechnologies.com Thu Apr 3 19:58:02 2003 From: John at tradingtechnologies.com (John Nykaza (TT)) Date: Thu, 3 Apr 2003 11:58:02 -0600 Subject: hostextinfo.cfg Message-ID: <7C5D35FF99E3154280AFC226C88D70DF9E732F@exchange> hello, i'm having a problem getting hostextinfo.cfg to read variable "hostgroup_name" as opposed to listing individual machines under "host_name". i check the docs and there is no mention of it using "hostgroup_name". has anyone gotten this to work? if so please enlighten me thanks in advance john ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwise at r2tech.com Thu Apr 3 20:12:23 2003 From: mwise at r2tech.com (Matt Wise) Date: Thu, 3 Apr 2003 10:12:23 -0800 Subject: No email notifications... Message-ID: <0FBB7DBC869A36459505613499683402B40532@R2TECH01.r2tech.com> Ok, I setup Nagios yesterday with about 20 hosts and everything worked perfectly. I have added another 15-20 now and I am no longer getting notifications. Nagios is quickly finding when a service or host goes down, but I am not getting any email notifications about it. In my escalations.cfg, I have: define hostescalation { host_name * contact_groups it_linux first_notification 1 last_notification 0 notification_interval 30 } define serviceescalation { host_name * service_description * contact_groups it_linux first_notification 1 last_notification 0 notification_interval 30 } I have also tried : define hostgroupescalation { hostgroup_name each,of,my,hostgroups,here first_notification 1 last_notification 0 contact_groups it_linux notification_interval 30 } Can anyone offer any help to diagnose this? I want simple notifications -- each one gets sent out (starting on the 1st one), at no more than once/30 minutes. This is to happen for every host and every service. --Matt ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Thu Apr 3 20:19:07 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 03 Apr 2003 13:19:07 -0500 Subject: difference between contact groups Message-ID: <1049393947.1056.16.camel@x> Hi All, Can somebody tell me if there is a difference between the CONTACT_GROUPS in HOSTGROUPS.CFG and SERVICES.CFG ? Thank you. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 3 20:48:31 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 03 Apr 2003 13:48:31 -0500 (EST) Subject: openssl In-Reply-To: <1049389773.2153.15.camel@Monitor> References: <1049389773.2153.15.camel@Monitor> Message-ID: On 3 Apr 2003, Eduardo Leit?o wrote: > Hi > > After i do the reconfiguration: > > ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios > --with-nagios-group=nagios --with-openssl=/usr/include/openssl (or > /usr/include) > > it find Open SSL propperly but i keep saw the message "check_http: > invalid option - SSL is not available" When i check https > > Is something missing and i don't know what. Can someone help me???????? > > Best regards > Eduardo Leit??o > After configure you need to run make to recompile the plugins and the copy the new check_http over to your plugins directory run ./check_http -h and check whether the help shows the availability of the -S option. If not something went wrong in the configure/compile process. Otherwise you now have a functional check_http tht also monitors ssl sites. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan at e-commercepark.com Thu Apr 3 18:14:05 2003 From: jan at e-commercepark.com (Jan van den Berg) Date: Thu, 3 Apr 2003 12:14:05 -0400 Subject: Webinterface Sound files Message-ID: <000c01c2f9fc$0fb8a870$4f00000a@ecp.noc> Hi there, I was wondering what the possibilities are when writing a plugin that this plugin has its own custom sound files played. I understand that there are only so few return codes for a plugin (warning, critical etc.) but how about the soundfiles? Regards, Jan van den Berg -------------- next part -------------- An HTML attachment was scrubbed... URL: From AHKAPLAN at PARTNERS.ORG Thu Apr 3 20:54:24 2003 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 3 Apr 2003 13:54:24 -0500 Subject: Shutdown Syntax for NRPE Message-ID: <5593DA408212D511B0910002A513501F06558DAA@phsexch20.mgh.harvard.edu> What is the correct shutdown syntax for the NRPE client? ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chad.white at med.ge.com Thu Apr 3 21:02:33 2003 From: chad.white at med.ge.com (White, Chad (MED)) Date: Thu, 3 Apr 2003 11:02:33 -0800 Subject: Eventlog In-Reply-To: <20030403143305.GL25405@soja.ksnet.com.> References: <20030403143305.GL25405@soja.ksnet.com.> Message-ID: I would really appreciate if you could send me your patch. From reading your description below it looks like the only thing that I would like that your patched version of logmuncher doesn't do is the ability to weed out multiple hits that are the same problem over and over. That isn't a very big deal compared to the flexibility that you get with this setup though. I'll be sure to email the author and let him know that we are enjoying your patch if everything works out ;) thx, --chd On Thursday, April 3, 2003, at 06:33 AM, Russell Adams wrote: > I modified Logmuncher to work with the multi-host directory hierarchy > I setup, and returned a patch to the author. I'd be happy to give you > a copy of the patch, or you can try emailing the author. I'm hoping > he'll integrate it into the next release. > > > Here's a sample config: /etc/logmuncher/conf/soja > > subject soja %d %t Logmuncher Report > header ********** soja Log Entries ********** > > mtailfile /var/log/HOSTS/soja/*/*/*/* > re-ignore /etc/logmuncher/patterns/common > re-ignore /etc/logmuncher/patterns/soja > send-report rladams at kNeOlSsPeAyM-seybold.com > > This sample file just uses two exclude dictionaries, common (for > messages common to all hosts) and soja (for just that host). I have > other files that use the "re-report" to watch for specific patterns > and send out mail to email pagers when certain messages occur. > > The mtailfile directive is added by my patch, to take a multi-file > argument for the files to examine with logtail. My hosts all log into > /var/log/HOSTS/hostname/year/month/day/loglevel, and I have a script > that archives anything older than 2 months in order to keep the number > of files to parse down. > > Having individual config files per host, and individual pattern files > / dictionaries makes multi-host management with Logmuncher a > breeze. Works like a charm too. > > Russell > > On Wed, Apr 02, 2003 at 05:27:43PM -0800, White, Chad (MED) wrote: >> >> On Wednesday, April 2, 2003, at 01:43 PM, Russell Adams wrote: >> >> >>> Having used several log parsing packages, I found LogSentry was quite >>> good, but its now unavailable. Cisco bought Psionic Software >>> (www.psionic.com) and all their software (LogSentry, PortSentry, >>> HostSentry) is offline, though originally GPL'ed. :P >> >> Actually, I just found out today that you can still get those >> packages. >> The URL is now www.psionic.org. I couldn't find it in a Google >> search, but I just randomly tried changing the com to .org and was >> pleasantly surprised ;) >> >> >>> About 8 months ago when I setup my central syslog host, I decided on >>> syslog-ng with a multi-host directory hierarchy >>> (/var/log/HOSTS/hostname/year/month/day/loglevel). I also evaluated >>> Logmuncher at that time. I've found I prefer Logmuncher's flexibility >>> with my setup. A minor modification to Logmuncher to support the >>> multi-host directory hierarchy and I've used it ever since. It works >>> much like LogSentry, having dictionaries of regexp statements that >>> match patterns in syslog messages to ignore, warn about by default, >>> or >>> immediately notify the admin as critical. As it stands, I have a >>> common dictionary across my hosts, and then host specific >>> dictionaries >>> for ignore, warn, and critical. It sends email reports, and is >>> configured to send critical emails to my pager via email. Logmuncher >>> runs only on my central host at 5 minute intervals. >> >> >> What did you do to Logmuncher to allow for multiple hosts in separate >> directories? That is the situation I am facing as I am using >> syslog-ng >> to centrally collect syslog for all my hosts. What I would also >> really >> like is something like logsentry that will give me an overview of the >> previous days logs to review each day without a bunch of duplication. >> Logsentry does a good job when running on each individual host but it >> doesn't look easy to setup for multiple hosts on a logserver... >> >> thx, >> --chd > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tstocking at insynccom.com Thu Apr 3 18:41:23 2003 From: tstocking at insynccom.com (Stocking) Date: Thu, 3 Apr 2003 08:41:23 -0800 Subject: Notifications by e-mail Message-ID: <000e01c2f9ff$dd4d69d0$6601a8c0@olympus.insynccom.com> OR: use sendemail: http://caspian.dotconf.net/menu/Software/SendEmail/ It works well for me. Thomas OK, so here's what I think is the best solution if Sendmail really is a problem (even when only accepting connections from 127.0.0.1). Use the only SMTP server that is available in your company. Instead of sending the mail to a local MTA, I suggest using a MUA that allows the usage of a remote SMTP server. This being said, I can advise you to use Pine. In your Pine config, you can specify what SMTP server to use. However, native Pine cannot be run in CLI mode. Therefor you need to patch it first with the patch you can find at http://www.math.washington.edu/~chappa/pine/info/outgoing.html, and then recompile it. Afterwards just su to the user Nagios runs as, and fill out the "smtp-server = " in the Pine config. Test if it works by sending a normal CLI email when your sendmail is not running: echo "boo !" | pine -I ^X,y -subject "Test" your.email at dh... If that works, change your email notification commands to use Pine instead of mail. Hope this helps. Patrick Lambooy wrote: > > Sure you can send email thru another smtp server but still send mail has > to be installed and working for the forwarding to the other smtp > > -----Original Message----- > From: nagios-users-admin at li... > [mailto:nagios-users-admin at li...] On Behalf Of Allen > Firstenberg > Sent: woensdag 2 april 2003 22:42 > To: Hugo Rebello > Cc: 'Nagios Users (E-mail) ' (E-mail); lonny at ba... > Subject: Re: [Nagios-users] Notifications by e-mail > > On Wed, Apr 02, 2003 at 04:37:33PM -0300, Hugo Rebello wrote: > > I don't have problem in use the "mail command", I just can't start the > > sendmail service. > > Why when I use "mail command" I need running the sendmail service ? > > The short answer is that the "mail" program passes the mail to sendmail > for delivery. It does not do mail delivery itself. Sendmail is > responsible > for trying to send the mail and retrying if there are delivery problems > instead of relying on "mail" to keep running. > > I do not think you can train "mail" to send to an SMTP agent on another > machine. See an earlier message for alternatives, but as noted there, > there are issues with assuring the receiving machine gets it. > > Allen > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at li... > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at li... > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 3 21:16:18 2003 From: earl at switchmanagement.com (Earl C. Ruby III) Date: Thu, 3 Apr 2003 11:16:18 -0800 Subject: check_nagios can't find running process In-Reply-To: References: Message-ID: <200304031116.18732.earl@switchmanagement.com> On Wednesday 02 April 2003 20:17, Subhendu Ghosh wrote: > On Wed, 2 Apr 2003, Earl C. Ruby III wrote: > > nagios_check_command=/usr/lib/nagios/check_nagios -F > > /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios > > try it as "sudo -u apache ....." since the plugin is executed by the cgi > and not nagios... Good catch, but that wasn't it. I had the path wrong in cgi.cfg. Should have been "/usr/lib/nagios/plugins/check_nagios". Once I fixed the path, it worked just fine. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From FReimers at infosysinc.com Thu Apr 3 21:07:55 2003 From: FReimers at infosysinc.com (Fred Reimers) Date: Thu, 3 Apr 2003 14:07:55 -0500 Subject: NagMIN 1.0.6 - Tonight Message-ID: <1A76CEE962963E40926786CA468A47D31D3D6B@infocoex1.infosysinc.com> All, I decided last night to make more changes to NagMIN than I had originally planned so Release 1.0.6 is delayed until later this evening. Also, I was handling the creation of the pull-down menus pretty poorly so I rewrote it, plus some other changes. Please read the release notes when it comes out. NagMIN 1.0.6 supports all definitions and objects specified in the Nagios 1.0 documentation. (I broke down and read the manual!). The database schema is now stable from an object perspective. There may still have to be some tweaking if there's some truncation, but it will only be for string lengths. NOTE: There is no upgrade to 1.0.6, you have to start over again. I made major changes to the database schema and wasn't able to get the MySQL ALTER ... AFTER command to work to restructure the tables. NagMIN presents the data elements to you in the order they appear in the schema. My apologies if this is a major inconvenience. Global key field updating is almost complete. Alphabetically I've made it to the service table. I want to test this as much as possible because this feature has the ability to corrupt a lot of data quickly. NagMIN 1.0.6 will contain all of the features for the first stable release which will be 1.1.0 I'll make any major bug fixes that you turn up but will be focusing on documentation after this evening. ------------------------------------------------- Fred Reimers (CCIE #1469, CCSA) Senior Network Consultant Info Systems, Inc. freimers at infosysinc.com (302)993-4532 ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lonny at bangtherockstogether.net Thu Apr 3 21:36:48 2003 From: lonny at bangtherockstogether.net (Lonny Selinger) Date: Thu, 3 Apr 2003 13:36:48 -0600 (CST) Subject: Shutdown Syntax for NRPE In-Reply-To: <5593DA408212D511B0910002A513501F06558DAA@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F06558DAA@phsexch20.mgh.harvard.edu> Message-ID: <65247.204.83.191.2.1049398608.squirrel@webmail.bangtherockstogether.net> Simple nrpe start/stop script ... pathes at your discretion ;) #!/bin/sh # # RC script for NRPE # rc.nrpe case "$1" in start) echo "Starting NRPE daemon" su nagios "-c /usr/local/nagios/bin/nrpe -d /usr/local/nagios/etc/nrpe.cfg" > /dev/console 2>&1 & ;; stop) pid=`ps -e | grep nrpe | awk '{print $1}'` if [ ! -z "$pid" ]; then echo "Stopping NRPE daemon" kill $pid > /dev/null 2>&1 fi ;; *) echo "Usage: /etc/rc.nrpe { start | stop }" ;; esac exit 0 > What is the correct shutdown syntax for the NRPE client? > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steve.Rossen at Parago.Com Thu Apr 3 21:36:54 2003 From: Steve.Rossen at Parago.Com (Steve Rossen) Date: Thu, 3 Apr 2003 13:36:54 -0600 Subject: NRPE failure Message-ID: <870BC6C69F20D4118ECC009027FC77610672C783@copexc01.parago.com> RedHat 8.0, basically right out of the box install except for the packages I added for Nagios. This also has happened on a different Nagios server running Mandrake 9.1. -----Original Message----- From: Showkilr [mailto:showkilr at bugsy.showkilr.com] Sent: Thursday, April 03, 2003 1:42 PM To: Steve Rossen Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE failure What OS are you running. Version.. Showkilr > Ok I had this happen before but after a reboot it went away and never > came back. When I run check_nrpe I get the following: > > -bash-2.05b$ ./check_nrpe -H 172.16.4.206 -p 5666 > NRPE v1.8 > > -bash-2.05b$ ./check_nrpe -H 172.16.4.206 -p 5666 -c check_disk ???X?# > > > I can't figure out why I get "???X?#" back as a result. Does not matter > what command I run or what server I connect to, it always comes back > ???X?#. It did work before. I have NRPE debugging on and the log shows > nothing. Any ideas? This is NRPE 1.8 on both host/server. I have tired > to recompile check_nrpe and that did nothing. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philip.m.einsmann at citigroup.com Thu Apr 3 21:36:17 2003 From: philip.m.einsmann at citigroup.com (Einsmann, Philip M) Date: Thu, 3 Apr 2003 14:36:17 -0500 Subject: [Nagios] Grouping service's Message-ID: <80155072C85A31449B97918F1C12645E3152DE@exnjmb11.nam.nsroot.net> How do I group all the services for one server together? I have 80 Solaris servers to set up and listing each one in the services.cfg file with define service{ use generic-service host_name tfsadmu4 service_description telnet contact_groups test check_command check_telnet!tfsadmu4 } This seems to only handle one at a time that is a lot of typing Netsaint would group them all under the hosts.cfg file I have not been able to make this work. So with 80 servers and 13 checks per server that's a big ugly file. Thanks Phil Einsmann ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From showkilr at bugsy.showkilr.com Thu Apr 3 21:41:53 2003 From: showkilr at bugsy.showkilr.com (Showkilr) Date: Thu, 3 Apr 2003 13:41:53 -0600 (CST) Subject: NRPE failure In-Reply-To: <870BC6C69F20D4118ECC009027FC77610672C77E@copexc01.parago.com> References: <870BC6C69F20D4118ECC009027FC77610672C77E@copexc01.parago.com> Message-ID: <56340.66.28.224.245.1049398913.squirrel@www.showkilr.com> What OS are you running. Version.. Showkilr > Ok I had this happen before but after a reboot it went away and never > came back. When I run check_nrpe I get the following: > > -bash-2.05b$ ./check_nrpe -H 172.16.4.206 -p 5666 > NRPE v1.8 > > -bash-2.05b$ ./check_nrpe -H 172.16.4.206 -p 5666 -c check_disk > ???X?# > > > I can't figure out why I get "???X?#" back as a result. Does not matter > what command I run or what server I connect to, it always comes back > ???X?#. It did work before. I have NRPE debugging on and the log shows > nothing. Any ideas? This is NRPE 1.8 on both host/server. I have tired > to recompile check_nrpe and that did nothing. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rplewe at hpce.nec.com Thu Apr 3 21:53:23 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Thu, 3 Apr 2003 21:53:23 +0200 Subject: difference between contact groups In-Reply-To: <1049393947.1056.16.camel@x>; from frank.gadot@epscorp.com on Thu, Apr 03, 2003 at 01:19:07PM -0500 References: <1049393947.1056.16.camel@x> Message-ID: <20030403215323.A1560@hpce.nec.com> On Thu, Apr 03, 2003 at 01:19:07PM -0500, Frank Gadot wrote: > > Can somebody tell me if there is a difference between the CONTACT_GROUPS > in HOSTGROUPS.CFG and SERVICES.CFG ? There is a difference if you chose to use different contact groups for hosts and services. Actually, I don't have any CONTACT_GROUPS in any of my files. And I suspect that Nagios is case sensitive, so if I were you I would use contact_groups instead. But I guess it's a problem with your caps-lock key, and you don't really mean "CONTACT_GROUPS", right? Rasmus ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crash at pinehurst.net Thu Apr 3 21:39:25 2003 From: crash at pinehurst.net (Jeff Lane) Date: Thu, 03 Apr 2003 14:39:25 -0500 Subject: Using nrpe In-Reply-To: <000c01c2f9fc$0fb8a870$4f00000a@ecp.noc> References: <000c01c2f9fc$0fb8a870$4f00000a@ecp.noc> Message-ID: <3E8C8DED.4030603@pinehurst.net> Hey all, this is again kinda basic, but I am having trouble getting nrpe to work properly... I keep getting the following error: Info: Incorrect command line arguments supplied for all the remote monitoring stuff I am trying on my test machine... I have followed the instructions that come with nrpe, but still have not gotten them to work properly. Heres what I have done: on the remote machine, installed nrpe daemon in /usr/local/nagios/bin installed nrpe.cfg in /usr/local/nagios/etc installed the check_users check_disk and check_procs plugins in /usr/local/nagios/libexec edited nrpe.cfg appropriately put the nrpe.xinetd file in /etc/xinetd.d and edited that with username, group name, ips to allow restarted xinetd to include nrpe Oh local machine: edited services.cfg to use the following command: command_name check_nrpe!check_disk1 edited checkcommands.cfg and added this: define command{ command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c } restarted nagios and I keep getting the incorrect command line stuff... I have followed the README and such that came with nrpe, and as far as I know, I did everything correctly, but apparently I have missed something or done something wrong... Maybe someone could point out what I am missing??? Thanks Jeff -- Jeffrey Lane ConnectNC.com / Internet of the Sandhills W4KDH at arrl.net chown -r us:us /yourbase/ ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ckalos at esaya.com Thu Apr 3 22:08:29 2003 From: ckalos at esaya.com (Christopher Kalos) Date: Thu, 03 Apr 2003 15:08:29 -0500 Subject: Indirect host/service checks? Message-ID: For various reasons, we run our nagios server from a different site than the rest of our systems. This is mostly to make sure that all the hosts are externally accessible, but it's not a perfect system. We have a few systems at the remote site that do not have external IP addresses at all, and are therefore inaccessible to the nagios server. However, we can use other systems as indirect servers without much trouble, and I've already nested nrpe to do this in the past. It's a bit ugly, though, as alerts are generated as though there's a problem on the nrpe host as opposed to the internal system. Is there a way to make this work such that an indirected service check will return the status with a host ID other than that of the parent host? While I ultimately plan on just adding a monitoring server to the remote location and distributing all monitoring work between both servers, that's a few months off, and therefore not a viable solution at the moment. Thanks in advance, Christopher Kalos ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Thu Apr 3 22:06:12 2003 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 3 Apr 2003 15:06:12 -0500 Subject: Shutdown Syntax for NRPE Message-ID: <5593DA408212D511B0910002A513501F06558DAB@phsexch20.mgh.harvard.edu> Hi Lonny, Thanks for the script. I got it partially work. It will start the NRPE daemon, but it will not stop it. Any ideas? FYI...I am running the daemon on an HP-UX box. -----Original Message----- From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] Sent: Thursday, April 03, 2003 2:37 PM To: Kaplan, Andrew H. Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Shutdown Syntax for NRPE Simple nrpe start/stop script ... pathes at your discretion ;) #!/bin/sh # # RC script for NRPE # rc.nrpe case "$1" in start) echo "Starting NRPE daemon" su nagios "-c /usr/local/nagios/bin/nrpe -d /usr/local/nagios/etc/nrpe.cfg" > /dev/console 2>&1 & ;; stop) pid=`ps -e | grep nrpe | awk '{print $1}'` if [ ! -z "$pid" ]; then echo "Stopping NRPE daemon" kill $pid > /dev/null 2>&1 fi ;; *) echo "Usage: /etc/rc.nrpe { start | stop }" ;; esac exit 0 > What is the correct shutdown syntax for the NRPE client? > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lonny at bangtherockstogether.net Thu Apr 3 22:09:03 2003 From: lonny at bangtherockstogether.net (Lonny Selinger) Date: Thu, 3 Apr 2003 14:09:03 -0600 (CST) Subject: Shutdown Syntax for NRPE In-Reply-To: <5593DA408212D511B0910002A513501F06558DAB@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F06558DAB@phsexch20.mgh.harvard.edu> Message-ID: <37551.204.83.191.2.1049400543.squirrel@webmail.bangtherockstogether.net> Unfortunately I dont have access to an HP machine right now :\ do a man on ps to see what the syntax is for process listing. All it does is try to isolate the PID to kill using the name 'nrpe' in the check so HP-UX might use a different switch then '-e'. Just try running that line manually to isolate the process and alter the script accordingly. If this doesn't work for me just send off the switches and output for ps and I can rewrite something for you. Lonny > Hi Lonny, > > Thanks for the script. I got it partially work. It will start the NRPE daemon, but > it will not stop it. > > Any ideas? FYI...I am running the daemon on an HP-UX box. > > -----Original Message----- > From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] > Sent: Thursday, April 03, 2003 2:37 PM > To: Kaplan, Andrew H. > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Shutdown Syntax for NRPE > > > Simple nrpe start/stop script ... pathes at your discretion ;) > > #!/bin/sh > # > # RC script for NRPE > # rc.nrpe > > case "$1" in > start) > echo "Starting NRPE daemon" > su nagios "-c /usr/local/nagios/bin/nrpe -d > /usr/local/nagios/etc/nrpe.cfg" >> /dev/console 2>&1 & > ;; > stop) > pid=`ps -e | grep nrpe | awk '{print $1}'` > if [ ! -z "$pid" ]; then > echo "Stopping NRPE daemon" > kill $pid > /dev/null 2>&1 > fi > ;; > > *) > echo "Usage: /etc/rc.nrpe { start | stop }" > ;; > esac > exit 0 > > >> What is the correct shutdown syntax for the NRPE client? >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: ValueWeb: >> Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >> No other company gives more support or power for your dedicated server >> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any >> issue. ::: Messages without supporting info will risk being sent to > /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Apr 3 22:14:51 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 3 Apr 2003 14:14:51 -0600 Subject: Shutdown Syntax for NRPE Message-ID: I would speculate that the kill command would work best. Try experimenting with "kill", "kill -1", "kill -2" and "kill -9" to see which one works best. Ideally nrpe would exit gracefully on receiving a SIGTERM, but you never know. jc > -----Original Message----- > From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] > Sent: Thursday, April 03, 2003 12:54 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Shutdown Syntax for NRPE > > > What is the correct shutdown syntax for the NRPE client? > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chad.white at med.ge.com Thu Apr 3 22:25:14 2003 From: chad.white at med.ge.com (White, Chad (MED)) Date: Thu, 3 Apr 2003 12:25:14 -0800 Subject: [Nagios] Grouping service's In-Reply-To: <80155072C85A31449B97918F1C12645E3152DE@exnjmb11.nam.nsroot.net> References: <80155072C85A31449B97918F1C12645E3152DE@exnjmb11.nam.nsroot.net> Message-ID: <6034FA13-6612-11D7-905F-000A95775192@med.ge.com> Setup hostgroups that include your hosts, then in your service definition use hostgroup_name , instead of host_name. If you have just a few hosts, you can also use host_name host1,host2,host3 This is actually in the documentation pages: http://nagios.sourceforge.net/docs/1_0/templatetricks.html thx, --chd On Thursday, April 3, 2003, at 11:36 AM, Einsmann, Philip M wrote: > How do I group all the services for one server together? I have 80 > Solaris > servers to set up and listing each one in the services.cfg file with > define service{ > use generic-service > host_name tfsadmu4 > service_description telnet > contact_groups test > check_command check_telnet!tfsadmu4 > } > > This seems to only handle one at a time that is a lot of typing > Netsaint > would group them all under the hosts.cfg file I have not been able to > make > this work. > > So with 80 servers and 13 checks per server that's a big ugly file. > > Thanks > > Phil Einsmann > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crash at pinehurst.net Thu Apr 3 22:31:19 2003 From: crash at pinehurst.net (Jeff Lane) Date: Thu, 03 Apr 2003 15:31:19 -0500 Subject: Using nrpe In-Reply-To: <3E8C8DED.4030603@pinehurst.net> References: <000c01c2f9fc$0fb8a870$4f00000a@ecp.noc> <3E8C8DED.4030603@pinehurst.net> Message-ID: <3E8C9A17.6070806@pinehurst.net> Ummm nevermind... I told ya I was missing something simple... I forgot to add the $ARG1$ to the end of the command line, so the command wasnt getting the arguements It was supposed to be getting... I had to walk away from this for about a half hour to clear my head before it dawned on me that I missed something really trivial.. but it all works now! Cheers jeff Jeff Lane wrote: > command_name check_nrpe!check_disk1 > > edited checkcommands.cfg and added this: > define command{ > command_name check_nrpe > command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c > } > -- Jeffrey Lane ConnectNC.com / Internet of the Sandhills W4KDH at arrl.net chown -r us:us /yourbase/ ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rplewe at hpce.nec.com Thu Apr 3 22:30:05 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Thu, 3 Apr 2003 22:30:05 +0200 Subject: [Nagios] Grouping service's In-Reply-To: <80155072C85A31449B97918F1C12645E3152DE@exnjmb11.nam.nsroot.net>; from philip.m.einsmann@citigroup.com on Thu, Apr 03, 2003 at 02:36:17PM -0500 References: <80155072C85A31449B97918F1C12645E3152DE@exnjmb11.nam.nsroot.net> Message-ID: <20030403223005.B1560@hpce.nec.com> On Thu, Apr 03, 2003 at 02:36:17PM -0500, Einsmann, Philip M wrote: > How do I group all the services for one server together? I have 80 Solaris > servers to set up and listing each one in the services.cfg file with > define service{ > use generic-service > host_name tfsadmu4 > service_description telnet > contact_groups test > check_command check_telnet!tfsadmu4 > } > > This seems to only handle one at a time that is a lot of typing Netsaint > would group them all under the hosts.cfg file I have not been able to make > this work. > > So with 80 servers and 13 checks per server that's a big ugly file. You are looking for hostgroups to group the hosts, not services: http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#hostgroup Rasmus ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 3 23:08:02 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 03 Apr 2003 16:08:02 -0500 (EST) Subject: difference between contact groups In-Reply-To: <1049393947.1056.16.camel@x> References: <1049393947.1056.16.camel@x> Message-ID: On 3 Apr 2003, Frank Gadot wrote: > Hi All, > > Can somebody tell me if there is a difference between the CONTACT_GROUPS > in HOSTGROUPS.CFG and SERVICES.CFG ? > > Thank you. no difference - the names of the config files don't matter (except nagios.cfg and cgi.cfg) and any of the configuration elements may show up in anyfile. It's the user's preference for grouping related information. btw - I am assuming you put caps for emphasis - not from your file. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 3 23:12:31 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 03 Apr 2003 16:12:31 -0500 (EST) Subject: Webinterface Sound files In-Reply-To: <000c01c2f9fc$0fb8a870$4f00000a@ecp.noc> References: <000c01c2f9fc$0fb8a870$4f00000a@ecp.noc> Message-ID: On Thu, 3 Apr 2003, Jan van den Berg wrote: > Hi there, > > > > I was wondering what the possibilities are when writing a plugin that > this plugin has its own custom sound files played. > > > > I understand that there are only so few return codes for a plugin > (warning, critical etc.) but how about the soundfiles? Plugins are not executed by the web interface so the possiblility of knowing what sound to execute for which service would be pretty complicated... -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bgarcia at p-inet.net Thu Apr 3 23:57:55 2003 From: bgarcia at p-inet.net (Ben Garcia) Date: Thu, 3 Apr 2003 15:57:55 -0600 Subject: Webinterface Sound files Message-ID: <52477F956561A24F96504531194909A727346F@exchange1.p-inet.com> You could modify the output that is passed to Nagios in such a way that a HTML tag is passed through. That way when the page refreshes it would automatically pass the tag and play (unless HTML is filtered from the return string?). Could be VERY annoying -- esp. if you got lots of devices in a non-ok state, but that may do the trick for ya. You'd have to write a "wrapper" that would take the exit code and return string from the plug-in, concat the tag to the return string and then well.. return it... :-) If you wanted to be able to choose what files to play for which services you could just pass it as an argument to your wrapper and then code it to put the passed argument into SRC attribute of the tag. Just a thought... --Ben -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Thursday, April 03, 2003 3:13 PM To: Nagios-Users (E-mail) Subject: Re: [Nagios-users] Webinterface Sound files On Thu, 3 Apr 2003, Jan van den Berg wrote: > Hi there, > > > > I was wondering what the possibilities are when writing a plugin that > this plugin has its own custom sound files played. > > > > I understand that there are only so few return codes for a plugin > (warning, critical etc.) but how about the soundfiles? Plugins are not executed by the web interface so the possiblility of knowing what sound to execute for which service would be pretty complicated... -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Fri Apr 4 00:29:02 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 03 Apr 2003 17:29:02 -0500 Subject: difference between contact groups In-Reply-To: <20030403215323.A1560@hpce.nec.com> References: <1049393947.1056.16.camel@x> <20030403215323.A1560@hpce.nec.com> Message-ID: <1049408942.7839.21.camel@x> Let's imagine this: I have 2 contact, A and B 2 contact_groups C and D A is in C , B is in D what if I put as a contact_groups in HOSTS.CFG A , and in SERVICES.CFG B B will be notified ONLY if a service goes down ? and A will be notified ONLY if the host is unreachable/down ? frank. Rasmus Plewe wrote: > On Thu, Apr 03, 2003 at 01:19:07PM -0500, Frank Gadot wrote: > > > > Can somebody tell me if there is a difference between the CONTACT_GROUPS > > in HOSTGROUPS.CFG and SERVICES.CFG ? > > There is a difference if you chose to use different contact groups for > hosts and services. > > Actually, I don't have any CONTACT_GROUPS in any of my files. And I > suspect that Nagios is case sensitive, so if I were you I would use > contact_groups instead. But I guess it's a problem with your caps-lock > key, and you don't really mean "CONTACT_GROUPS", right? > > > Rasmus > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Craig_Huber at Dell.com Fri Apr 4 00:25:38 2003 From: Craig_Huber at Dell.com (Huber, Craig) Date: Thu, 3 Apr 2003 16:25:38 -0600 Subject: Problem with $USER1$ Message-ID: <03EFD65A457D1841B6377F424D90430579A3BE@ausx2kmps305.aus.amer.dell.com> I'm receiving errors in the eventlog that apparently the $USER1$ variable is not getting filled in when restarting nagios via external cmd. If I restart from the command line, it works great. Any thoughts on why it's not getting read? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From chbaker at powersystems.rockwell.com Fri Apr 4 00:31:12 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Thu, 3 Apr 2003 17:31:12 -0500 Subject: check_by_ssh.cfg check_disk.cfg Message-ID: No clues anyone? Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #207: We are currently trying a new concept of using a live mouse. Unfortunately, one has yet to survive being hooked up to the computer.....please bear with us. chbaker at powersystems.rockwell .com To: nagios-users at lists.sourceforge.net Sent by: cc: nagios-users-admin at lists.sour Subject: [Nagios-users] check_by_ssh.cfg check_disk.cfg ceforge.net 04/03/2003 08:36 AM My check_by_ssh.cfg looks like this: command[ssh_disk]=/usr/lib/nagios/plugins/check_by_ssh -H $HOSTNAME$ -i $ARG1$ -C '/usr/lib/nagios/plugins/check_disk -w 15% -p $ARG2$' I'm running my nagios server on a debian machine right now. And the old style configs like those above, are automatically converted and used properly. The service definition looks like: define service{ use generic-service host_name usmghsysadm service_description Root Free Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command ssh_disk!/var/log/nagios/.ssh/identity!dev/hda2 } With all that being said, in the Service Detail page the status is reported as UNKOWN, and the Status Information is "Unable to read output:" What am I doing wrong here? BTW, the nagios on my debian machine is 1.0 and the plugins are on usmghsysadm which is a RedHat 8 machine are the 1.3.0-1 rpm install. Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #207: We are currently trying a new concept of using a live mouse. Unfortunately, one has yet to survive being hooked up to the computer.....please bear with us. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnichols at pbp.net Fri Apr 4 05:13:07 2003 From: jnichols at pbp.net (Jonathan Nichols) Date: Thu, 3 Apr 2003 19:13:07 -0800 (PST) Subject: check_by_ssh.cfg check_disk.cfg In-Reply-To: References: Message-ID: > notification_options w,u,c,r > check_command > ssh_disk!/var/log/nagios/.ssh/identity!dev/hda2 > } > That looks strange to me. Here's what I have for a host called "jezebel": define service{ use generic-service ; Name of service template to use host_name jezebel service_description Disk Usage is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 360 notification_period 24x7 notification_options c,r check_command check_disk_ssh!20%!20% } If disk space gets below 20%, it'll squawk at me. Here's the hostcommand: # 'check_disk_ssh' command definition define command{ command_name check_disk_ssh command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C './check_disk -w $ARG1$ -c $ARG2$' } I make a "nagios" user on each machine, and I let it SSH in (shared key) and run the plugin that's in /home/nagios. Works great for me! ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sentono at postmaster.co.uk Fri Apr 4 06:45:23 2003 From: sentono at postmaster.co.uk (sentono lovely) Date: Fri, 04 Apr 2003 11:45:23 +0700 Subject: nsca problem :( Message-ID: hi, i have a problem to configure nsca any help would be appreciate :) here is my problem : [root at miracle eventhandlers]# /usr/bin/send_nsca 192.200.200.76 -c /etc/nagios/send_nsca.cfg Error: Timeout after 10 seconds i confuse may be i have set a wrong way :( could you all tell me or gimme an example about nsca config and nsca_send config between 2 nagios machine for distribute system. and help me to tell about example script may be can help thanks :) Sentono -- What type of toy animal was "wheezy" in the film "Toy Story 2"? Find out at postmaster.co.uk http://www.postmaster.co.uk/cgi-bin/meme/quiz.pl?id=278 ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 4 07:07:21 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 04 Apr 2003 00:07:21 -0500 Subject: check_by_ssh.cfg check_disk.cfg In-Reply-To: References: Message-ID: <1049432841.1289.2.camel@miles.debisschop.net> On Thu, 2003-04-03 at 17:31, chbaker at powersystems.rockwell.com wrote: > No clues anyone? I note that your remote invocation of check_disk has not critical threshold, which I thing will return state unknown. That could be your entire problem. Did you try running the check_by_ssh ivcantaion on the command line? Did you try riunning the check_disk incantation locally? If the first item does not pan out, those are the steps I would take to debug. > Charles H. Baker > chbaker at powersystems dot rockwell dot com > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > BOFH excuse #207: > We are currently trying a new concept of using a live mouse. > Unfortunately, one has yet to survive being hooked up to the > computer.....please bear with us. > > > > chbaker at powersystems.rockwell > .com To: nagios-users at lists.sourceforge.net > Sent by: cc: > nagios-users-admin at lists.sour Subject: [Nagios-users] check_by_ssh.cfg check_disk.cfg > ceforge.net > > > 04/03/2003 08:36 AM > > > > > > > My check_by_ssh.cfg looks like this: > > command[ssh_disk]=/usr/lib/nagios/plugins/check_by_ssh -H $HOSTNAME$ -i > $ARG1$ -C '/usr/lib/nagios/plugins/check_disk -w 15% -p $ARG2$' > > I'm running my nagios server on a debian machine right now. > And the old style configs like those above, are automatically > converted and used properly. > > The service definition looks like: > > define service{ > use generic-service > > host_name usmghsysadm > service_description Root Free Space > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command > ssh_disk!/var/log/nagios/.ssh/identity!dev/hda2 > } > > > With all that being said, in the Service Detail page the status is > reported as UNKOWN, and the Status Information is "Unable to > read output:" > > What am I doing wrong here? BTW, the nagios on my debian > machine is 1.0 and the plugins are on usmghsysadm which is > a RedHat 8 machine are the 1.3.0-1 rpm install. > > Charles H. Baker > chbaker at powersystems dot rockwell dot com > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > BOFH excuse #207: > We are currently trying a new concept of using a live mouse. > Unfortunately, one has yet to survive being hooked up to the > computer.....please bear with us. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From showkilr at showkilr.com Fri Apr 4 07:56:34 2003 From: showkilr at showkilr.com (Showkilr) Date: 03 Apr 2003 23:56:34 -0600 Subject: NRPE 2.0 BETA Notes.... In-Reply-To: References: Message-ID: <1049435794.30291.73.camel@dev.showkilr.com> I notice this one problem on RH8 and RH9 systems possibly others. openssl uses a header from kerbose 5. the kerbose headers are in /usr/kerberos/include this is the default location for the RH systems. kinda lame. In order to get it to compile with ssl support I had to edit the Makefile in src with the Extra Include. If compiling without ssl support everthing is ok. Not shure about the Distros out there. FreeBSD 4.7 has no issues with this. I have compiled sucessfully there. Haven't performed any testing on these systems for functionality as of yet. Modify nrpe/src/Makefile Line 13 CFLAGS=-g -O2 -I/usr/include/openssl -DHAVE_CONFIG_H For RH8/9 systems it should read CFLAGS=-g -O2 -I/usr/include/openssl -I/usr/kerberos/include -DHAVE_CONFIG_H for other systems just locate krb5.h if your openssl was compiled with kerbose 5 support. Showkilr ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smccool at ascendantmedia.com Fri Apr 4 08:00:13 2003 From: smccool at ascendantmedia.com (Shawn McCool) Date: Fri, 4 Apr 2003 00:00:13 -0600 Subject: histogram Message-ID: <00a801c2fa6f$79df0cd0$22652044@shawn> For some reason my histograms are completely blank. Anyone know where I can start troubleshooting them? I finally have nagios about perfectly set up with APAN/etc (cept for one RRD problem). It's exciting. -------------- next part -------------- An HTML attachment was scrubbed... URL: From evanchsa at clarkson.edu Fri Apr 4 08:36:11 2003 From: evanchsa at clarkson.edu (Stephen Evanchik) Date: Fri, 4 Apr 2003 01:36:11 -0500 Subject: Web CGIs Fail Message-ID: <200304040136.11466.evanchsa@clarkson.edu> Ok.. I've been at this for a few hours now -- just trying to get the web interface to work. What I really need to know is where to look for debug output on what is failing exactly with the CGIs. In anycase, below is a log of what I have checked after reading through the docs and searching a bit on this mailinglist. Stephen Evanchik ----- I have configured Nagios to use PostgreSQL for the backend to everything. I have logged in to the database and verified that the status of my host IS being updated. Nagios is running: [1049436253] Nagios 1.0 starting... (PID=17237) [1049436253] Finished daemonizing... (New PID=17238) [1049436277] Caught SIGTERM, shutting down... [1049436277] Successfully shutdown... (PID=17238) [1049436280] Nagios 1.0 starting... (PID=17313) [1049436281] Finished daemonizing... (New PID=17314) Authentication is on, and I am successfully logged in. Nothing works from Tactical Overview to Alert Histogram. I can view my host configuration, alerts etc. ls -l of the nagios/sbin dir: -rwxrwxr-x 1 nagios nagios 163652 Apr 4 01:37 avail.cgi -rwxrwxr-x 1 nagios nagios 173176 Apr 4 01:37 cmd.cgi -rwxrwxr-x 1 nagios nagios 130740 Apr 4 01:37 config.cgi -rwxrwxr-x 1 nagios nagios 186328 Apr 4 01:37 extinfo.cgi -rwxrwxr-x 1 nagios nagios 141220 Apr 4 01:37 histogram.cgi -rwxrwxr-x 1 nagios nagios 130888 Apr 4 01:37 history.cgi -rwxrwxr-x 1 nagios nagios 124392 Apr 4 01:37 notifications.cgi -rwxrwxr-x 1 nagios nagios 119108 Apr 4 01:37 outages.cgi -rwxrwxr-x 1 nagios nagios 116984 Apr 4 01:37 showlog.cgi -rwxrwxr-x 1 nagios nagios 168872 Apr 4 01:37 status.cgi -rwxrwxr-x 1 nagios nagios 144660 Apr 4 01:37 statusmap.cgi -rwxrwxr-x 1 nagios nagios 130788 Apr 4 01:37 statuswml.cgi -rwxrwxr-x 1 nagios nagios 127212 Apr 4 01:37 statuswrl.cgi -rwxrwxr-x 1 nagios nagios 139060 Apr 4 01:37 summary.cgi -rwxrwxr-x 1 nagios nagios 147792 Apr 4 01:37 tac.cgi -rwxrwxr-x 1 nagios nagios 147540 Apr 4 01:37 trends.cgi Apache runs as the apache user and I've tried making these CGIs owned by the apache user. My relavent Apache configuration: # # Nagios test setup # ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/local/nagios/share/ AllowOverride AuthConfig Options None Order allow,deny Allow from all ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Fri Apr 4 08:44:03 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Fri, 04 Apr 2003 08:44:03 +0200 Subject: check_citrix issues References: <2E3E9736615DD311895D00105A9CADED014BCB2D@eentsvr40.ehvert.com> Message-ID: <3E8D29B3.965DA639@dhl.com> Have you guys by any chance compiled Nagios with embeded Perl? I know this has been discussed before, and I know there was a solution. But I cannot remember what it was (*slap on the head*). I'm putting mister Hopcroft in CC to ask for his attention, as I do believe he told me what the solution was at that time. > Dean Bishop wrote: > > Good morning, > > > > I just started playing with this yesterday and am having the same > issues as Johannes Dagemark. My service definition encloses the > application name in single quotes and I used a command_line of: > > > > /bin/echo "$USER1$/check_citrix -L -C $HOSTADDRESS$ -P $ARG1$" > > /tmp/debug.txt > > > > and got: > > > > /usr/local/nagios/libexec/check_citrix -L -C 192.168.0.27 -P > Microsoft Outlook XP > > > > this won't work at the bash prompt due to the the spaces so I > enclosed $ARG1$ in single quotes (double's didn't change anything) > ala: > > > > /bin/echo "$USER1$/check_citrix -L -C $HOSTADDRESS$ -P '$ARG1$'" > > > > and got: > > > > /usr/local/nagios/libexec/check_citrix -L -C 192.168.0.27 -P > 'Microsoft Outlook XP' > > > > which _does_ work at the bash prompt. Alas Nagios still complains > that there is "No output" > > > > This sort of makes sense. If the published app is not found I would > have expected an error message stating just that. > > > > > > Ahh. Now it is a bit clearer. I just tried a published app that > does not have spaces and got the same result. > > > > Any thoughts? > > > > Thanks, > > dean ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 4 09:06:07 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 4 Apr 2003 17:06:07 +1000 Subject: check_citrix issues In-Reply-To: <3E8D29B3.965DA639@dhl.com>; from Tom.DeBlende@dhl.com on Fri, Apr 04, 2003 at 08:44:03AM +0200 References: <2E3E9736615DD311895D00105A9CADED014BCB2D@eentsvr40.ehvert.com> <3E8D29B3.965DA639@dhl.com> Message-ID: <20030404170604.B272@IPAustralia.Gov.AU> Dear Gentlemen, On Fri, Apr 04, 2003 at 08:44:03AM +0200, Tom DE BLENDE wrote: > Have you guys by any chance compiled Nagios with embeded Perl? I know > this has been discussed before, and I know there was a solution. But I > cannot remember what it was (*slap on the head*). > > I'm putting mister Hopcroft in CC to ask for his attention, as I do > believe he told me what the solution was at that time. > Unfortunately I don't know what the issue is here. I run check_citrix quite happily (different mode unfortch) under embedded Perl Nag. The most popular problem with this plugin has been the Perl module path; utils.pm (from the standard plugin dist) should be in whatever site specific arch independent (ie without i386) that perl -e 'print "@INC"\n"' shows (usually site_perl/5.x/) - either that or add a use lib '/path/to/utils.pm' to the plugin. However, that doesn't appear to be the case here since it works from the CLI (unless the plugin is being run from the Nag libexec dir from the CLI). 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 is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 4 09:48:27 2003 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 4 Apr 2003 01:48:27 -0600 (CST) Subject: check_procs CRITICAL Interpreted as OK Message-ID: Check out these logs from status.log [1049442022] SERVICE;blaster2;MMSTATUSD;OK;1/5;HARD;1049441791;1049442091; ACTIVE;1;1;1;1046701129;0;OK;2968889;0;0;0;0;0;1;0;1;1;0;0.00;0;1;1;1; CRITICAL - 0 processes running with command name mmstatusd.pl Why is nagios interpreting the output of this check_procs command as "OK" when the plugin reports "CRITICAL - 0"? This happens using the check_procs plugin across multiple hosts for several proccesses. Thanks. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johannes.dagemark at op5.se Fri Apr 4 09:52:21 2003 From: johannes.dagemark at op5.se (Johannes Dagemark) Date: Fri, 4 Apr 2003 09:52:21 +0200 Subject: check_citrix issues References: <2E3E9736615DD311895D00105A9CADED014BCB2D@eentsvr40.ehvert.com> <3E8D29B3.965DA639@dhl.com> Message-ID: <03f601c2fa7f$1fc12f20$8100a8c0@wheeljd> Hello I just want to tell that I solved the problem yesterday by simply adding the following line in the check_citrix perl script use lib "/path/to/libexec/dir" ; change "/path/to/libexec/dir" to wherever your plugins directory are. Regards Johannes Dagemark ----- Original Message ----- From: "Tom DE BLENDE" To: "Dean Bishop" Cc: ; "Stanley Hopcroft" Sent: Friday, April 04, 2003 8:44 AM Subject: Re: [Nagios-users] re: check_citrix issues > Have you guys by any chance compiled Nagios with embeded Perl? I know > this has been discussed before, and I know there was a solution. But I > cannot remember what it was (*slap on the head*). > > I'm putting mister Hopcroft in CC to ask for his attention, as I do > believe he told me what the solution was at that time. > > > Dean Bishop wrote: > > > > Good morning, > > > > > > > > I just started playing with this yesterday and am having the same > > issues as Johannes Dagemark. My service definition encloses the > > application name in single quotes and I used a command_line of: > > > > > > > > /bin/echo "$USER1$/check_citrix -L -C $HOSTADDRESS$ -P $ARG1$" > > > /tmp/debug.txt > > > > > > > > and got: > > > > > > > > /usr/local/nagios/libexec/check_citrix -L -C 192.168.0.27 -P > > Microsoft Outlook XP > > > > > > > > this won't work at the bash prompt due to the the spaces so I > > enclosed $ARG1$ in single quotes (double's didn't change anything) > > ala: > > > > > > > > /bin/echo "$USER1$/check_citrix -L -C $HOSTADDRESS$ -P '$ARG1$'" > > > > > > > > and got: > > > > > > > > /usr/local/nagios/libexec/check_citrix -L -C 192.168.0.27 -P > > 'Microsoft Outlook XP' > > > > > > > > which _does_ work at the bash prompt. Alas Nagios still complains > > that there is "No output" > > > > > > > > This sort of makes sense. If the published app is not found I would > > have expected an error message stating just that. > > > > > > > > > > > > Ahh. Now it is a bit clearer. I just tried a published app that > > does not have spaces and got the same result. > > > > > > > > Any thoughts? > > > > > > > > Thanks, > > > > dean > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smccool at ascendantmedia.com Fri Apr 4 10:22:08 2003 From: smccool at ascendantmedia.com (Shawn McCool) Date: Fri, 4 Apr 2003 02:22:08 -0600 Subject: [Apan-users] Could not insert check_load rrd issue References: <20030403222707.80431.qmail@web13908.mail.yahoo.com> <004301c2fa32$c3a71110$22652044@shawn> <3E8D3485.6010200@datavis.se> Message-ID: <00eb01c2fa83$49017fd0$22652044@shawn> It has the following under Status Information on the service detail page: 127: ----- Original Message ----- From: "Fredrik W?nglund" To: "Shawn McCool" Cc: Sent: Friday, April 04, 2003 1:30 AM Subject: Re: [Apan-users] Could not insert check_load rrd issue > What do you get in Nagios web-interface? > > > /FredrikW > > Shawn McCool wrote: > > >admin is in my hosts file, and i have another apan service check on the same > >host that works perfectly. > > > >----- Original Message ----- > >From: "Jason" > >To: "Shawn McCool" ; > > > >Sent: Thursday, April 03, 2003 4:27 PM > >Subject: Re: [Apan-users] Could not insert check_load rrd issue > > > > > > > > > >>I received this error when testing against a machine that wasn't in DNS. > >>Apparently, the apan.cfg does not use the host definitions from the Nagios > >>config files. > >> > >>-Jason > >>--- Shawn McCool wrote: > >> > >> > >>>i used > >>> > >>>rrdtool create /usr/local/nagios/rrd/server_load.rrd -s 60 > >>>DS:CPU-Load:GAUGE:900:0:U DS:SWAP-Used:GAUGE:900:U:U > >>> > >>> > >RRA:AVERAGE:0.5:1:50400 > > > > > >>>RRA:AVERAGE:0.5:60:43800 > >>> > >>> > >>> > >>>my apan.cfgl ooksl ike > >>> > >>> > >>> > >admin;LOAD-GRAPH;/usr/local/nagios/rrd/server_load.rrd;CPULOAD|SWAPUSE;CPU- L > >oad:LINE2 > > > > > >>>SWAP-Used:LINE2;Used resources;load/%; > >>> > >>> > >>> > >>>and i'm getting this in apan.debug > >>> > >>> > >>>Thu Apr 3 16:05:00 CST 2003 Args: load admin LOAD-GRAPH 1049407500 70 90 > >>>Could not insert '' , '1049407500' into > >>> > >>> > >/usr/local/nagios/rrd/server_load.rrd > > > > > >>> > >>>i got this info straight from > >>>http://apan.sourceforge.net/doc/plugins.html#load > >>> > >>> > >>>What am i doing wrong? > >>> > >>> > >>> > >>__________________________________________________ > >>Do you Yahoo!? > >>Yahoo! Tax Center - File online, calculators, forms, and more > >>http://tax.yahoo.com > >> > >> > >>------------------------------------------------------- > >>This SF.net email is sponsored by: ValueWeb: > >>Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > >>No other company gives more support or power for your dedicated server > >>http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > >>_______________________________________________ > >>Apan-users mailing list > >>Apan-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/apan-users > >> > >> > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: ValueWeb: > >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > >No other company gives more support or power for your dedicated server > >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > >_______________________________________________ > >Apan-users mailing list > >Apan-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/apan-users > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Apan-users mailing list > Apan-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/apan-users ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smccool at ascendantmedia.com Fri Apr 4 10:23:09 2003 From: smccool at ascendantmedia.com (Shawn McCool) Date: Fri, 4 Apr 2003 02:23:09 -0600 Subject: Web CGIs Fail References: <200304040136.11466.evanchsa@clarkson.edu> Message-ID: <00ff01c2fa83$6ddbb410$22652044@shawn> Do you have the authentication .htaccess file in both the share and the sbin directories? ----- Original Message ----- From: "Stephen Evanchik" To: Sent: Friday, April 04, 2003 12:36 AM Subject: [Nagios-users] Web CGIs Fail Ok.. I've been at this for a few hours now -- just trying to get the web interface to work. What I really need to know is where to look for debug output on what is failing exactly with the CGIs. In anycase, below is a log of what I have checked after reading through the docs and searching a bit on this mailinglist. Stephen Evanchik ----- I have configured Nagios to use PostgreSQL for the backend to everything. I have logged in to the database and verified that the status of my host IS being updated. Nagios is running: [1049436253] Nagios 1.0 starting... (PID=17237) [1049436253] Finished daemonizing... (New PID=17238) [1049436277] Caught SIGTERM, shutting down... [1049436277] Successfully shutdown... (PID=17238) [1049436280] Nagios 1.0 starting... (PID=17313) [1049436281] Finished daemonizing... (New PID=17314) Authentication is on, and I am successfully logged in. Nothing works from Tactical Overview to Alert Histogram. I can view my host configuration, alerts etc. ls -l of the nagios/sbin dir: -rwxrwxr-x 1 nagios nagios 163652 Apr 4 01:37 avail.cgi -rwxrwxr-x 1 nagios nagios 173176 Apr 4 01:37 cmd.cgi -rwxrwxr-x 1 nagios nagios 130740 Apr 4 01:37 config.cgi -rwxrwxr-x 1 nagios nagios 186328 Apr 4 01:37 extinfo.cgi -rwxrwxr-x 1 nagios nagios 141220 Apr 4 01:37 histogram.cgi -rwxrwxr-x 1 nagios nagios 130888 Apr 4 01:37 history.cgi -rwxrwxr-x 1 nagios nagios 124392 Apr 4 01:37 notifications.cgi -rwxrwxr-x 1 nagios nagios 119108 Apr 4 01:37 outages.cgi -rwxrwxr-x 1 nagios nagios 116984 Apr 4 01:37 showlog.cgi -rwxrwxr-x 1 nagios nagios 168872 Apr 4 01:37 status.cgi -rwxrwxr-x 1 nagios nagios 144660 Apr 4 01:37 statusmap.cgi -rwxrwxr-x 1 nagios nagios 130788 Apr 4 01:37 statuswml.cgi -rwxrwxr-x 1 nagios nagios 127212 Apr 4 01:37 statuswrl.cgi -rwxrwxr-x 1 nagios nagios 139060 Apr 4 01:37 summary.cgi -rwxrwxr-x 1 nagios nagios 147792 Apr 4 01:37 tac.cgi -rwxrwxr-x 1 nagios nagios 147540 Apr 4 01:37 trends.cgi Apache runs as the apache user and I've tried making these CGIs owned by the apache user. My relavent Apache configuration: # # Nagios test setup # ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/local/nagios/share/ AllowOverride AuthConfig Options None Order allow,deny Allow from all ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.Ostric at arm.com Fri Apr 4 10:34:08 2003 From: Lionel.Ostric at arm.com (Lionel.Ostric at arm.com) Date: Fri, 4 Apr 2003 09:34:08 +0100 Subject: Active and Passive checks of a Service Message-ID: All, I've got a problem with one of the service I'm monitoring. This service can be checked with SNMP queries so I wrote a little script that works perfectly and I set active_checks_enabled to 1. Up to that point everything is working. But this service can also send SNMP traps. so I installed the net-snmp package and configured everything as specified in the Nagios documentation. If I enable passive_checks_enabled, and disable active_checks_enabled, the traps are received and displayed correctly by nagios... The problem is that I would like both passive and active checks for that service and whenever I activate both of them, everything is fine (ie the service is OK) until the first trap arrive. This trap should normally put the service in critical state but unfortunately the web interface displays it as Pending until the next active check... do you now why ? here is the config for this service : define service{ use generic-service hostgroup_name test_cluster service_description test cluster check_period 24x7 is_volatile 1 active_checks_enabled 1 passive_checks_enabled 1 max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups admin-grp notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_lsf_cluster!/usr/local/nagios/etc/serviceclustertest.cfg!50!70 } -------------------------------------------------------------------------------------- Lionel Ostric - Systems Administrator - Engineering IT ARM France - Les Cardoulines B2 - Route des Dolines Sophia Antipolis - 06560 Valbonne - France +33 (0)4 97 23 51 22 / +33 (0)6 03 83 02 63 ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Fri Apr 4 11:34:08 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Fri, 4 Apr 2003 10:34:08 +0100 Subject: check_procs CRITICAL Interpreted as OK Message-ID: <53104E20A25CD411B556009027E50636064D5541@pnnemp02.pn.egg.com> Which version of check_procs? What do you get on the command line? What is the return code on the command line? A quick visual check of check_procs.c v1.9 (release 1.3) says that all CRITICAL messages should return with STATE_CRITICAL = 2. > -----Original Message----- > From: Demetri Mouratis [SMTP:dmourati at cm.math.uiuc.edu] > Sent: Friday, April 04, 2003 8:48 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_procs CRITICAL Interpreted as OK > > Check out these logs from status.log > > [1049442022] > SERVICE;blaster2;MMSTATUSD;OK;1/5;HARD;1049441791;1049442091; > ACTIVE;1;1;1;1046701129;0;OK;2968889;0;0;0;0;0;1;0;1;1;0;0.00;0;1;1;1; > CRITICAL - 0 processes running with command name mmstatusd.pl > > Why is nagios interpreting the output of this check_procs command as "OK" > when the plugin reports "CRITICAL - 0"? > > This happens using the check_procs plugin across multiple hosts for > several proccesses. > > Thanks. > --------------------------------------------------------------------- > Demetri Mouratis > dmourati at linfactory.com > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Quinney at hollandandholland.com Fri Apr 4 13:29:28 2003 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Fri, 4 Apr 2003 12:29:28 +0100 Subject: NagMIN In-Reply-To: <1A76CEE962963E40926786CA468A47D31D3D6B@infocoex1.infosysinc.com> References: <1A76CEE962963E40926786CA468A47D31D3D6B@infocoex1.infosysinc.com> Message-ID: Fred, Great stuff !!!! NagMin 1.06 has answered a lot of my previous problems...apart from one. I have set the module configuration so that Event handlers are disabled on all services, but Nagmin still puts the event_handlers line into the services.cfg file. Consequently Nagfios refuses to activate the config due to the null event handler value. Have I missed something ? BTW - I love the new port scanning options ! Thanks Matthew "Fred Reimers" Sent by: nagios-users-admin at lists.sourceforge.net 03/04/2003 20:07 To cc Subject [Nagios-users] NagMIN 1.0.6 - Tonight All, I decided last night to make more changes to NagMIN than I had originally planned so Release 1.0.6 is delayed until later this evening. Also, I was handling the creation of the pull-down menus pretty poorly so I rewrote it, plus some other changes. Please read the release notes when it comes out. NagMIN 1.0.6 supports all definitions and objects specified in the Nagios 1.0 documentation. (I broke down and read the manual!). The database schema is now stable from an object perspective. There may still have to be some tweaking if there's some truncation, but it will only be for string lengths. NOTE: There is no upgrade to 1.0.6, you have to start over again. I made major changes to the database schema and wasn't able to get the MySQL ALTER ... AFTER command to work to restructure the tables. NagMIN presents the data elements to you in the order they appear in the schema. My apologies if this is a major inconvenience. Global key field updating is almost complete. Alphabetically I've made it to the service table. I want to test this as much as possible because this feature has the ability to corrupt a lot of data quickly. NagMIN 1.0.6 will contain all of the features for the first stable release which will be 1.1.0 I'll make any major bug fixes that you turn up but will be focusing on documentation after this evening. ------------------------------------------------- Fred Reimers (CCIE #1469, CCSA) Senior Network Consultant Info Systems, Inc. freimers at infosysinc.com (302)993-4532 ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail has been scanned for viruses by the uuNet Internet Managed Scanning Service - powered by MessageLabs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Fri Apr 4 14:17:29 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 04 Apr 2003 07:17:29 -0500 (EST) Subject: difference between contact groups In-Reply-To: <1049408942.7839.21.camel@x> References: <1049408942.7839.21.camel@x> Message-ID: On 3 Apr 2003, Frank Gadot wrote: > Let's imagine this: > > I have 2 contact, A and B > 2 contact_groups C and D > > A is in C , B is in D > > what if I put as a contact_groups in HOSTS.CFG A , and in SERVICES.CFG B > > B will be notified ONLY if a service goes down ? > and A will be notified ONLY if the host is unreachable/down ? > > frank. > Doesn't really matter where the contact groups are located - but is specified in the host/service definition > > Rasmus Plewe wrote: > > On Thu, Apr 03, 2003 at 01:19:07PM -0500, Frank Gadot wrote: > > > > > > Can somebody tell me if there is a difference between the CONTACT_GROUPS > > > in HOSTGROUPS.CFG and SERVICES.CFG ? > > > > There is a difference if you chose to use different contact groups for > > hosts and services. > > > > Actually, I don't have any CONTACT_GROUPS in any of my files. And I > > suspect that Nagios is case sensitive, so if I were you I would use > > contact_groups instead. But I guess it's a problem with your caps-lock > > key, and you don't really mean "CONTACT_GROUPS", right? > > > > > > Rasmus > > -- ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.aaltonen at contrigo.de Fri Apr 4 14:22:45 2003 From: j.aaltonen at contrigo.de (Aaltonen, Jaakko) Date: Fri, 4 Apr 2003 14:22:45 +0200 Subject: Default Contacts for Host Definitions Message-ID: Hi there, We've been using (testing...) nagios for some weeks now, and we encountered several problems regarding notification destinations and mapping between hosts and contact-groups. Our problem is that administrators are not Service- but OS-specific; in the first place, these are windows or linux administrators. So, windows administrators are responsible for all services on windows boxes, as linux administrators are responsible for all kinds of problems with linux-boxes (and their services). But both on windows and linux servers there are equal services, smtp for example. In our current nagios configuration, we have to define contact groups for services, so that we have different services for different operating systems at the moment (smtp-linux and smtp-windows). My suggestion would be to implement the "contact_groups" directive in host object definitions, and to notify those contact-groups of service-related events if there are no contacts specified in the correspondent service definition. As I think this is not implemented at the moment, this mail should probably go to nagios-devel mailing list, but for some reason it seems obvious that other nagios-users should have the same problems. If anybody has a working solution or workaround for this problem, i would be glad to receive any response. Mit freundlichen Gr??en Jaakko Aaltonen Administration - Support - Programmierung contrigo GmbH Am Hessentuch 4 32758 Detmold Fon: 05231.94404-00 Fax: 05231.94404-01 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: logo.gif Type: image/gif Size: 2758 bytes Desc: logo.gif URL: From sghosh at sghosh.org Fri Apr 4 14:20:46 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 04 Apr 2003 07:20:46 -0500 (EST) Subject: Web CGIs Fail In-Reply-To: <00ff01c2fa83$6ddbb410$22652044@shawn> References: <00ff01c2fa83$6ddbb410$22652044@shawn> Message-ID: Also - need to change ownership of the cgi files to the apache user check the apache error logs as well. -sg On Fri, 4 Apr 2003, Shawn McCool wrote: > Do you have the authentication .htaccess file in both the share and the sbin > directories? > > ----- Original Message ----- > From: "Stephen Evanchik" > To: > Sent: Friday, April 04, 2003 12:36 AM > Subject: [Nagios-users] Web CGIs Fail > > > Ok.. I've been at this for a few hours now -- just trying to get the web > interface to work. > > What I really need to know is where to look for debug output on what is > failing exactly with the CGIs. In anycase, below is a log of what I have > checked after reading through the docs and searching a bit on this > mailinglist. > > Stephen Evanchik > > ----- > > > > > I have configured Nagios to use PostgreSQL for the backend to everything. > > I have logged in to the database and verified that the status of my host IS > being updated. > > Nagios is running: > > [1049436253] Nagios 1.0 starting... (PID=17237) > [1049436253] Finished daemonizing... (New PID=17238) > [1049436277] Caught SIGTERM, shutting down... > [1049436277] Successfully shutdown... (PID=17238) > [1049436280] Nagios 1.0 starting... (PID=17313) > [1049436281] Finished daemonizing... (New PID=17314) > > Authentication is on, and I am successfully logged in. > > Nothing works from Tactical Overview to Alert Histogram. I can view my host > configuration, alerts etc. > > ls -l of the nagios/sbin dir: > > -rwxrwxr-x 1 nagios nagios 163652 Apr 4 01:37 avail.cgi > -rwxrwxr-x 1 nagios nagios 173176 Apr 4 01:37 cmd.cgi > -rwxrwxr-x 1 nagios nagios 130740 Apr 4 01:37 config.cgi > -rwxrwxr-x 1 nagios nagios 186328 Apr 4 01:37 extinfo.cgi > -rwxrwxr-x 1 nagios nagios 141220 Apr 4 01:37 histogram.cgi > -rwxrwxr-x 1 nagios nagios 130888 Apr 4 01:37 history.cgi > -rwxrwxr-x 1 nagios nagios 124392 Apr 4 01:37 notifications.cgi > -rwxrwxr-x 1 nagios nagios 119108 Apr 4 01:37 outages.cgi > -rwxrwxr-x 1 nagios nagios 116984 Apr 4 01:37 showlog.cgi > -rwxrwxr-x 1 nagios nagios 168872 Apr 4 01:37 status.cgi > -rwxrwxr-x 1 nagios nagios 144660 Apr 4 01:37 statusmap.cgi > -rwxrwxr-x 1 nagios nagios 130788 Apr 4 01:37 statuswml.cgi > -rwxrwxr-x 1 nagios nagios 127212 Apr 4 01:37 statuswrl.cgi > -rwxrwxr-x 1 nagios nagios 139060 Apr 4 01:37 summary.cgi > -rwxrwxr-x 1 nagios nagios 147792 Apr 4 01:37 tac.cgi > -rwxrwxr-x 1 nagios nagios 147540 Apr 4 01:37 trends.cgi > > Apache runs as the apache user and I've tried making these CGIs owned by the > apache user. > > > My relavent Apache configuration: > > > # > # Nagios test setup > # > ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > > Alias /nagios/ /usr/local/nagios/share/ > > AllowOverride AuthConfig > Options None > Order allow,deny > Allow from all > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rplewe at hpce.nec.com Fri Apr 4 15:29:40 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Fri, 4 Apr 2003 15:29:40 +0200 Subject: Default Contacts for Host Definitions In-Reply-To: ; from j.aaltonen@contrigo.de on Fri, Apr 04, 2003 at 02:22:45PM +0200 References: Message-ID: <20030404152940.D1427@hpce.nec.com> On Fri, Apr 04, 2003 at 02:22:45PM +0200, Aaltonen, Jaakko wrote: > > My suggestion would be to > implement the "contact_groups" directive in host object definitions, > and to notify those contact-groups of service-related events if there > are no contacts specified in the correspondent service definition. And how do you notify the hardware people not concerned with the services if the host goes down? Currently, contacts in hosts definitions get notified on host-problems, contacts in service definitions get notified on service-problems. With your suggestion, a fire in the CPU (host down) would notify e.g. the postmaster who doesn't know a thing about changing CPUs. Rasmus ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Quinney at hollandandholland.com Fri Apr 4 15:30:19 2003 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Fri, 4 Apr 2003 14:30:19 +0100 Subject: NagMIN In-Reply-To: <1A76CEE962963E40926786CA468A47D31D3D6B@infocoex1.infosysinc.com> References: <1A76CEE962963E40926786CA468A47D31D3D6B@infocoex1.infosysinc.com> Message-ID: ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.Ostric at arm.com Fri Apr 4 16:11:52 2003 From: Lionel.Ostric at arm.com (Lionel.Ostric at arm.com) Date: Fri, 4 Apr 2003 15:11:52 +0100 Subject: Active and Passive checks of a Service Message-ID: sorry .... forgot what I said, it is working ... just a problem with script that was submitting the results to the nagios command file (under solaris date %s does not work ....) |---------+----------------------------------------> | | | | | Sent by: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 04/04/2003 10:34 | | | | |---------+----------------------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | To: nagios-users at lists.sourceforge.net | | cc: | | Subject: [Nagios-users] Active and Passive checks of a Service | >------------------------------------------------------------------------------------------------------------------------------| All, I've got a problem with one of the service I'm monitoring. This service can be checked with SNMP queries so I wrote a little script that works perfectly and I set active_checks_enabled to 1. Up to that point everything is working. But this service can also send SNMP traps. so I installed the net-snmp package and configured everything as specified in the Nagios documentation. If I enable passive_checks_enabled, and disable active_checks_enabled, the traps are received and displayed correctly by nagios... The problem is that I would like both passive and active checks for that service and whenever I activate both of them, everything is fine (ie the service is OK) until the first trap arrive. This trap should normally put the service in critical state but unfortunately the web interface displays it as Pending until the next active check... do you now why ? here is the config for this service : define service{ use generic-service hostgroup_name test_cluster service_description test cluster check_period 24x7 is_volatile 1 active_checks_enabled 1 passive_checks_enabled 1 max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups admin-grp notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_lsf_cluster!/usr/local/nagios/etc/serviceclustertest.cfg!50!70 } ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From evanchsa at clarkson.edu Fri Apr 4 16:43:46 2003 From: evanchsa at clarkson.edu (Stephen Evanchik) Date: Fri, 4 Apr 2003 09:43:46 -0500 Subject: Web CGIs Fail In-Reply-To: References: Message-ID: <200304040943.46316.evanchsa@clarkson.edu> Thanks for your input, The Apache access log shows the CGIs running: [04/Apr/2003:09:44:01 -0500] "GET /nagios/cgi-bin/status.cgi?hostgroup=all HTTP/1.1" 200 1701 ls -l of the nagios/sbin dir now shows: -rwxrwxr-x 1 apache nagios 163652 Apr 4 01:37 avail.cgi -rwxrwxr-x 1 apache nagios 173176 Apr 4 01:37 cmd.cgi -rwxrwxr-x 1 apache nagios 130740 Apr 4 01:37 config.cgi -rwxrwxr-x 1 apache nagios 186328 Apr 4 01:37 extinfo.cgi -rwxrwxr-x 1 apache nagios 141220 Apr 4 01:37 histogram.cgi -rwxrwxr-x 1 apache nagios 130888 Apr 4 01:37 history.cgi -rwxrwxr-x 1 apache nagios 124392 Apr 4 01:37 notifications.cgi -rwxrwxr-x 1 apache nagios 119108 Apr 4 01:37 outages.cgi -rwxrwxr-x 1 apache nagios 116984 Apr 4 01:37 showlog.cgi -rwxrwxr-x 1 apache nagios 168872 Apr 4 01:37 status.cgi -rwxrwxr-x 1 apache nagios 144660 Apr 4 01:37 statusmap.cgi -rwxrwxr-x 1 apache nagios 130788 Apr 4 01:37 statuswml.cgi -rwxrwxr-x 1 apache nagios 127212 Apr 4 01:37 statuswrl.cgi -rwxrwxr-x 1 apache nagios 139060 Apr 4 01:37 summary.cgi -rwxrwxr-x 1 apache nagios 147792 Apr 4 01:37 tac.cgi -rwxrwxr-x 1 apache nagios 147540 Apr 4 01:37 trends.cgi There is no change from when they were the nagios user. There is nothing in the error log. I have a .htaccess in both the share and sbin dirs and am still successfully authenticated. I still get the following error: Error: Could not read host and service status information! Thank you, Stephen Evanchik On Friday 04 April 2003 07:20 am, Subhendu Ghosh wrote: | Also - need to change ownership of the cgi files to the apache user | | check the apache error logs as well. | | -sg | | On Fri, 4 Apr 2003, Shawn McCool wrote: | > Do you have the authentication .htaccess file in both the share and the | > sbin directories? | > | > ----- Original Message ----- | > From: "Stephen Evanchik" | > To: | > Sent: Friday, April 04, 2003 12:36 AM | > Subject: [Nagios-users] Web CGIs Fail | > | > | > Ok.. I've been at this for a few hours now -- just trying to get the web | > interface to work. | > | > What I really need to know is where to look for debug output on what is | > failing exactly with the CGIs. In anycase, below is a log of what I have | > checked after reading through the docs and searching a bit on this | > mailinglist. | > | > Stephen Evanchik | > | > ----- | > | > | > | > | > I have configured Nagios to use PostgreSQL for the backend to everything. | > | > I have logged in to the database and verified that the status of my host | > IS being updated. | > | > Nagios is running: | > | > [1049436253] Nagios 1.0 starting... (PID=17237) | > [1049436253] Finished daemonizing... (New PID=17238) | > [1049436277] Caught SIGTERM, shutting down... | > [1049436277] Successfully shutdown... (PID=17238) | > [1049436280] Nagios 1.0 starting... (PID=17313) | > [1049436281] Finished daemonizing... (New PID=17314) | > | > Authentication is on, and I am successfully logged in. | > | > Nothing works from Tactical Overview to Alert Histogram. I can view my | > host configuration, alerts etc. | > | > ls -l of the nagios/sbin dir: | > | > -rwxrwxr-x 1 nagios nagios 163652 Apr 4 01:37 avail.cgi | > -rwxrwxr-x 1 nagios nagios 173176 Apr 4 01:37 cmd.cgi | > -rwxrwxr-x 1 nagios nagios 130740 Apr 4 01:37 config.cgi | > -rwxrwxr-x 1 nagios nagios 186328 Apr 4 01:37 extinfo.cgi | > -rwxrwxr-x 1 nagios nagios 141220 Apr 4 01:37 histogram.cgi | > -rwxrwxr-x 1 nagios nagios 130888 Apr 4 01:37 history.cgi | > -rwxrwxr-x 1 nagios nagios 124392 Apr 4 01:37 notifications.cgi | > -rwxrwxr-x 1 nagios nagios 119108 Apr 4 01:37 outages.cgi | > -rwxrwxr-x 1 nagios nagios 116984 Apr 4 01:37 showlog.cgi | > -rwxrwxr-x 1 nagios nagios 168872 Apr 4 01:37 status.cgi | > -rwxrwxr-x 1 nagios nagios 144660 Apr 4 01:37 statusmap.cgi | > -rwxrwxr-x 1 nagios nagios 130788 Apr 4 01:37 statuswml.cgi | > -rwxrwxr-x 1 nagios nagios 127212 Apr 4 01:37 statuswrl.cgi | > -rwxrwxr-x 1 nagios nagios 139060 Apr 4 01:37 summary.cgi | > -rwxrwxr-x 1 nagios nagios 147792 Apr 4 01:37 tac.cgi | > -rwxrwxr-x 1 nagios nagios 147540 Apr 4 01:37 trends.cgi | > | > Apache runs as the apache user and I've tried making these CGIs owned by | > the apache user. | > | > | > My relavent Apache configuration: | > | > | > # | > # Nagios test setup | > # | > ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ | > | > AllowOverride AuthConfig | > Options ExecCGI | > Order allow,deny | > Allow from all | > | > | > Alias /nagios/ /usr/local/nagios/share/ | > | > AllowOverride AuthConfig | > Options None | > Order allow,deny | > Allow from all | > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Fri Apr 4 17:11:16 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Fri, 4 Apr 2003 16:11:16 +0100 Subject: Scheduled Downtime-Command Message-ID: <200304041711.16973.Michael.Huettig@Medien-Systempartner.de> Hi Sam, could you give me an idea how to put this cron-cmd from remote system to the local nagios-server cmd-file? My purpose is, that i'm not the admin of several Unix-Boxes, but i'm able to explain my collegues, that they have to do this to their crontab's. So if they changed crontab for maintance of system nagios would be able to schedule the downtime for the services. Sorry for my bad english ;-) -- Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Fri Apr 4 17:12:12 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Fri, 4 Apr 2003 10:12:12 -0500 Subject: check_by_ssh.cfg check_disk.cfg Message-ID: Here is my ssh_disk command string: /usr/lib/nagios/plugins/check_by_ssh -H $HOSTNAME$ -i $ARG1$ -C '/usr/lib/nagios/plugins/check_disk -w 15% -c 5% -p $ARG2$' If I run it as nagios from the command line, substituting the actual path to the identity file for $ARG1$ and the actual path to the device for $ARG2 $ it produces the following output: DISK OK [17979 kb (63%) free on /dev/hda3] If I run the command enclosed in quotes, again making appropriate substitutions, on the remote machine it works just fine also. My service definition calls ssh_disk passing it the path to the identity file and the partition to check. I may try it your way though and see if I get better results. Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #207: We are currently trying a new concept of using a live mouse. Unfortunately, one has yet to survive being hooked up to the computer.....please bear with us. Jonathan Nichols cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_by_ssh.cfg check_disk.cfg 04/03/2003 10:13 PM > notification_options w,u,c,r > check_command > ssh_disk!/var/log/nagios/.ssh/identity!dev/hda2 > } > That looks strange to me. Here's what I have for a host called "jezebel": define service{ use generic-service ; Name of service template to use host_name jezebel service_description Disk Usage is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 360 notification_period 24x7 notification_options c,r check_command check_disk_ssh!20%!20% } If disk space gets below 20%, it'll squawk at me. Here's the hostcommand: # 'check_disk_ssh' command definition define command{ command_name check_disk_ssh command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C './check_disk -w $ARG1$ -c $ARG2$' } I make a "nagios" user on each machine, and I let it SSH in (shared key) and run the plugin that's in /home/nagios. Works great for me! ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Fri Apr 4 17:37:29 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Fri, 4 Apr 2003 10:37:29 -0500 Subject: check_by_ssh.cfg check_disk.cfg Message-ID: Sorry, I had another extremely embarrasing typo in my config file. I was checking a nonexistant partition. Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #207: We are currently trying a new concept of using a live mouse. Unfortunately, one has yet to survive being hooked up to the computer.....please bear with us. Karl DeBisschop cc: Nagios Users Subject: Re: [Nagios-users] check_by_ssh.cfg check_disk.cfg 04/04/2003 12:07 AM On Thu, 2003-04-03 at 17:31, chbaker at powersystems.rockwell.com wrote: > No clues anyone? I note that your remote invocation of check_disk has not critical threshold, which I thing will return state unknown. That could be your entire problem. Did you try running the check_by_ssh ivcantaion on the command line? Did you try riunning the check_disk incantation locally? If the first item does not pan out, those are the steps I would take to debug. > Charles H. Baker > chbaker at powersystems dot rockwell dot com > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > BOFH excuse #207: > We are currently trying a new concept of using a live mouse. > Unfortunately, one has yet to survive being hooked up to the > computer.....please bear with us. > > > > chbaker at powersystems.rockwell > .com To: nagios-users at lists.sourceforge.net > Sent by: cc: > nagios-users-admin at lists.sour Subject: [Nagios-users] check_by_ssh.cfg check_disk.cfg > ceforge.net > > > 04/03/2003 08:36 AM > > > > > > > My check_by_ssh.cfg looks like this: > > command[ssh_disk]=/usr/lib/nagios/plugins/check_by_ssh -H $HOSTNAME$ -i > $ARG1$ -C '/usr/lib/nagios/plugins/check_disk -w 15% -p $ARG2$' > > I'm running my nagios server on a debian machine right now. > And the old style configs like those above, are automatically > converted and used properly. > > The service definition looks like: > > define service{ > use generic-service > > host_name usmghsysadm > service_description Root Free Space > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command > ssh_disk!/var/log/nagios/.ssh/identity!dev/hda2 > } > > > With all that being said, in the Service Detail page the status is > reported as UNKOWN, and the Status Information is "Unable to > read output:" > > What am I doing wrong here? BTW, the nagios on my debian > machine is 1.0 and the plugins are on usmghsysadm which is > a RedHat 8 machine are the 1.3.0-1 rpm install. > > Charles H. Baker > chbaker at powersystems dot rockwell dot com > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > BOFH excuse #207: > We are currently trying a new concept of using a live mouse. > Unfortunately, one has yet to survive being hooked up to the > computer.....please bear with us. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Fri Apr 4 17:54:24 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Fri, 4 Apr 2003 10:54:24 -0500 Subject: Solaris Compilation Tool Chain Message-ID: Now that I have thoroughly embarrassed myself w/ typos in my config files, I would like to ask a question that may be beyond the scope of this list. My question is what in general do I need to install on a Solaris8/Sparc server to compile nagios? I am much more familiar with and accustomed to the Linux environment than Solaris. As an example, a find command on a newly installed Solaris8 box, default install, only turns up ``cc'' in /usr/ucb/cc and of course, ``gcc'' is not installed at all. I am familiar w/ sunfreeware.com and imagine I can pick up all I need there. Any tips and suggestions would be appreciated. Thanks. Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #207: We are currently trying a new concept of using a live mouse. Unfortunately, one has yet to survive being hooked up to the computer.....please bear with us. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan at e-commercepark.com Fri Apr 4 18:04:01 2003 From: jan at e-commercepark.com (Jan van den Berg) Date: Fri, 4 Apr 2003 12:04:01 -0400 Subject: Webinterface Sound files In-Reply-To: <52477F956561A24F96504531194909A727346F@exchange1.p-inet.com> References: <52477F956561A24F96504531194909A727346F@exchange1.p-inet.com> Message-ID: <000201c2fac3$d4b825c0$4f00000a@ecp.noc> So the bottomline is, that it is possible? :) I definitely want to give it a try then, because it can be pretty valuable. I do have a little trouble understanding what your saying: could you just elaborate on it a little? Regards, Jan van den Berg -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ben Garcia Sent: Thursday, April 03, 2003 5:58 PM To: Nagios-Users (E-mail) Subject: RE: [Nagios-users] Webinterface Sound files You could modify the output that is passed to Nagios in such a way that a HTML tag is passed through. That way when the page refreshes it would automatically pass the tag and play (unless HTML is filtered from the return string?). Could be VERY annoying -- esp. if you got lots of devices in a non-ok state, but that may do the trick for ya. You'd have to write a "wrapper" that would take the exit code and return string from the plug-in, concat the tag to the return string and then well.. return it... :-) If you wanted to be able to choose what files to play for which services you could just pass it as an argument to your wrapper and then code it to put the passed argument into SRC attribute of the tag. Just a thought... --Ben -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Thursday, April 03, 2003 3:13 PM To: Nagios-Users (E-mail) Subject: Re: [Nagios-users] Webinterface Sound files On Thu, 3 Apr 2003, Jan van den Berg wrote: > Hi there, > > > > I was wondering what the possibilities are when writing a plugin that > this plugin has its own custom sound files played. > > > > I understand that there are only so few return codes for a plugin > (warning, critical etc.) but how about the soundfiles? Plugins are not executed by the web interface so the possiblility of knowing what sound to execute for which service would be pretty complicated... -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjonesjr at stny.rr.com Fri Apr 4 18:47:12 2003 From: tjonesjr at stny.rr.com (Tom Jones Jr - RR) Date: Fri, 4 Apr 2003 11:47:12 -0500 Subject: nagios plugins compile error check_mysql Message-ID: <00dc01c2fac9$da3c7180$faba6118@ROADRUNNER> I am trying to compile the nagios plugins and it's failing on the build of the check_mysql plugin. This is a plugin that I need to use so I can't skip it. I do a straight ./compile (output below). When I do make it error's out on the check_mysql plugin. Here is the out put of it: gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib -I/usr/include/ldap -I/include -g -O2 -c check_mysql.c gcc -g -O2 -L. -o check_mysql check_mysql.o utils.o ../lib/libnagiosplug.a -lmysqlclient check_mysql.o: In function `main': /home/h3rb/nagios/nagios-plugins-1.3.0/plugins/check_mysql.c:55: undefined reference to `mysql_errno' /home/h3rb/nagios/nagios-plugins-1.3.0/plugins/check_mysql.c:60: undefined reference to `mysql_errno' /home/h3rb/nagios/nagios-plugins-1.3.0/plugins/check_mysql.c:65: undefined reference to `mysql_errno' /home/h3rb/nagios/nagios-plugins-1.3.0/plugins/check_mysql.c:70: undefined reference to `mysql_errno' /home/h3rb/nagios/nagios-plugins-1.3.0/plugins/check_mysql.c:75: undefined reference to `mysql_errno' /home/h3rb/nagios/nagios-plugins-1.3.0/plugins/check_mysql.c:76: undefined reference to `mysql_error' /home/h3rb/nagios/nagios-plugins-1.3.0/plugins/check_mysql.c:91: undefined reference to `mysql_error' /home/h3rb/nagios/nagios-plugins-1.3.0/plugins/check_mysql.c:93: undefined reference to `mysql_errno' /home/h3rb/nagios/nagios-plugins-1.3.0/plugins/check_mysql.c:98: undefined reference to `mysql_errno' /home/h3rb/nagios/nagios-plugins-1.3.0/plugins/check_mysql.c:99: undefined reference to `mysql_error' /home/h3rb/nagios/nagios-plugins-1.3.0/plugins/check_mysql.c:103: undefined reference to `mysql_errno' /home/h3rb/nagios/nagios-plugins-1.3.0/plugins/check_mysql.c:104: undefined reference to `mysql_error' collect2: ld returned 1 exit status make[1]: *** [check_mysql] Error 1 make[1]: Leaving directory `/home/h3rb/nagios/nagios-plugins-1.3.0/plugins' make: *** [all-recursive] Error 1 mysql binaries are installed to /usr/bin/ and the mysql libs are located at /usr/lib/mysql/ Any suggestions of what to try to get this to compile properly? OS: SuSE Linux 7.3 MySQL : 3.23.47 Thanks for any suggestions/help, Tom [output of ./configure] creating cache ./config.cache checking for a BSD compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for a BSD compatible install... /usr/bin/ginstall -c checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether make sets ${MAKE}... (cached) yes checking for gawk... gawk checking how to run the C preprocessor... gcc -E checking for elf_begin in -lelf... no checking for kvm_open in -lkvm... no checking for getloadavg in -lutil... no checking for getloadavg in -lgetloadavg... no checking for getloadavg... no checking for sys/dg_sys_info.h... no checking for inq_stats/cpustats.h... no checking for sys/cpustats.h... no checking for mach/mach.h... no checking for nlist.h... no checking whether getloadavg requires setgid... no checking for working strtod... yes checking for ranlib... ranlib checking for aclocal... /usr/local/bin/aclocal checking for automake... /usr/local/bin/automake checking for autoconf... /usr/local/bin/autoconf checking for autoheader... /usr/local/bin/autoheader checking for python... /usr/bin/python checking for perl... /usr/bin/perl checking for sh... /bin/sh checking for hostname... /bin/hostname checking for basename... /usr/bin/basename checking for main in -ldce... no checking for main in -lnsl... yes checking for socket in -lsocket... no checking for main in -lresolv... yes checking for main in -lcrypt... yes checking for PQsetdbLogin in -lpq... yes checking for pgsql/libpq-fe.h... no checking for postgresql/libpq-fe.h... no checking for libpq-fe.h... no configure: warning: Skipping PostgreSQL plugin (check_pgsql) configure: warning: install PostgreSQL headers to compile this plugin (see REQUIREMENTS). checking for rc_read_config in -lradiusclient... no configure: warning: Skipping radius plugin configure: warning: install radius libs to compile this plugin (see REQUIREMENTS). checking for main in -lldap... yes checking for mysql_init in -lmysqlclient... yes checking for mysql_close in -lmysqlclient... yes checking for mysql/mysql.h... yes checking for mysql/errmsg.h... yes checking for openssl... no checking for krb5.h... no checking for krb5.h... no checking for openssl/ssl.h... no checking for openssl/x509.h... no checking for openssl/rsa.h... no checking for openssl/pem.h... no checking for openssl/crypto.h... no checking for openssl/err.h... no checking for ssl.h... no checking for x509.h... no checking for rsa.h... no checking for pem.h... no checking for crypto.h... no checking for err.h... yes checking for CRYPTO_lock in -lcrypto... no checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for signal.h... yes checking for strings.h... yes checking for string.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for uio.h... no checking for errno.h... yes checking for regex.h... yes checking for sys/types.h... yes checking for sys/time.h... yes checking for sys/socket.h... yes checking for sys/loadavg.h... no checking for stdarg.h... yes checking for sys/unistd.h... yes checking for unistd.h... (cached) yes checking for ctype.h... yes checking for sys/wait.h... (cached) yes checking for stdlib.h... yes checking for working const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking size of int... 4 checking size of long... 4 checking size of short... 2 checking for long long... yes checking for LL suffix on long long integers... yes checking for __va_copy... yes checking for C99 vsnprintf... yes checking for snprintf... yes checking for vsnprintf... yes checking for vasprintf... yes checking for asprintf... yes checking for memmove... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for strtod... yes checking for strtol... yes checking for strtoul... yes checking for type of socket size... int checking for ps... /bin/ps ps syntax... /bin/ps -weo 'stat comm vsz rss user ppid args' checking for df... /bin/df df syntax... /bin/df -Pk checking for ping... /bin/ping ping syntax... /bin/ping -n -c checking for nslookup... /usr/bin/nslookup nslookup syntax... /usr/bin/nslookup checking for host... /usr/bin/host checking for uptime... /usr/bin/uptime checking for rpcinfo... no checking for ntpdate... no checking for ntpdc... no checking for xntpdc... no checking for ntpq... no ** Install NTP programs (http://www.ntp.org) if you want to monitor time synchronization checking for lmstat... no ** Get lmstat from Globetrotter Software to monitor flexlm licenses checking for smbclient... /usr/bin/smbclient checking for who... /usr/bin/who checking for snmpget... /usr/local/bin/snmpget checking for snmpgetnext... /usr/local/bin/snmpgetnext Found Net::SNMP perl module checking for quakestat... no checking for qstat... /usr/bin/qstat checking for fping... /usr/bin/fping checking for ssh... /usr/local/bin/ssh checking for mailq... /usr/bin/mailq found /proc/meminfo checking for dig... /usr/bin/dig yes updating cache ./config.cache creating ./config.status creating Makefile creating subst creating lib/Makefile creating plugins/Makefile creating plugins-scripts/Makefile creating plugins-scripts/subst creating plugins-scripts/utils.pm creating plugins-scripts/utils.sh creating command.cfg creating test.pl creating plugins/config.h creating plugins/common.h creating plugins/version.h creating plugins/netutils.h creating plugins/utils.h creating plugins/popen.h -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jeremy.Russell at chickasaw.net Fri Apr 4 19:12:40 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Fri, 4 Apr 2003 11:12:40 -0600 Subject: Some weird things... Message-ID: <352B04312822444A962714393AED8A4D11385A@ADAEVS01.int.chickasaw.net> Does anyone else experince this. What happens is I'm using mysql support for extended data. When I start nagios up the first time I get an error connecting to the server, but then I stop and start again it it starts working. It doesn't happen all the time either. Its weird. I think it just may be a hanging connection or something like that. It works fine none the less. Just wondering if ahy else has this problem. One more thing. On the extended info does nagios populate the SQL db from a config file or will I need to add the entries my self? Not sure how that part works. Thanks! Jeremy Russell Network Administrator CNI 580-272-2707 ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crash at pinehurst.net Fri Apr 4 19:07:09 2003 From: crash at pinehurst.net (Jeff Lane) Date: Fri, 04 Apr 2003 12:07:09 -0500 Subject: Questions about check_procs In-Reply-To: References: Message-ID: <3E8DBBBD.4080506@pinehurst.net> Hello everyone... I have a couple questions about check_procs. First off, I have it set up as a remote check on a host using nrpe... Now, nrpe seems to be working fine, and I DO get checks back, BUT I dont get the correct information back... For example: [root at xwing libexec]# ./check_nrpe -H www.pinehurst.net -p 42374 -c check_portsentry CRITICAL - 77 processes running Instead of giving me the total number of portsentry processes running, I am getting the total number of all processes on the machine. Heres how the command is set up in nrpe.cfg on the target machine: command[check_portsentry]=/usr/local/nagios/libexec/check_procs -w 1: -c :3 portsentry I think the issue is in how I have the warning and critical flags set... but not sure about that. That leads me to the second question... I need a different threshold... I need a < or > threshold, instead of a > > threshold... In other words, I want to get warnings if the number of processes for portsentry is anything other than 2. If one process dies, I want a critical warning, and if there are three or more running processes, I want a warning notice. Is that doable???Or at the very least, I want it to let me know if the total ever falls below 2... I can try setting warn and critical to 1, but that will give me a warning every time because the good total (2) will always be greater than the warning level (1). I have looked at the help for check_procs but that doesnt seem to tell me anything useful... so, does anyone have any ideas on how to do this?? Thanks Jeff -- Jeffrey Lane ConnectNC.com / Internet of the Sandhills W4KDH at arrl.net chown -r us:us /yourbase/ ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bgarcia at p-inet.net Fri Apr 4 19:29:19 2003 From: bgarcia at p-inet.net (Ben Garcia) Date: Fri, 4 Apr 2003 11:29:19 -0600 Subject: Webinterface Sound files Message-ID: <52477F956561A24F96504531194909A7273470@exchange1.p-inet.com> Technically anything is possible (although divine intervention may sometimes be required to do so :-) What I did was took one of the plugins I wrote and added
TESTING
to the end of the return string which is passed to nagios. Listed below is the relevant portion of the HTML from the "Service Status Details": == html output = AICL OK - [HTTP] Total of 0 SMA(s) (/var/log/httpd/error_log)
TESTING
  Here is the perl function that returned the state: == perl function === sub retState { ($state, $status) = @_; print STDOUT "$PLUGID $stateArr[$state] - [$ltype] $status
TESTING
\n"; exit $state; } What you would have to do is write a "wrapper" that would execute the plugin you would want to do an audio alert off of and have the wrapper add the tag to the results returned to Nagios. Here are some sample configs that illustrate how to setup things in Nagios: == services.cfg == define service{ use generic-service host_name your_host service_description SAMPLE_SERVICE is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 60 retry_check_interval 60 contact_groups your_groups notification_interval 900 notification_period 24x7 notification_options w,c,r check_command psnd_ping![sound file]!40.0,33%!100.0,100% } == checkcommands.cfg == define command{ command_name psnd_ping command_line $USER1$/psnd "$ARG1$" "check_ping -H $HOSTNAME$ -w $ARG2$ -c $ARG3$ -p 3" } Here's a quick and dirty bash script to do the job: == psnd == #!/bin/bash ## Command line arguments SNDFILE=$1 CHKCMD=$2 ## Execute command RETSTR=`$CHKCMD` ## get exit code ECODE=$? ## If critical then add tag if [ $ECODE -eq 2 ]; then RETSTR="$RETSTR " fi ## Return result to nagios echo $RETSTR ## Exit with original exit code exit $ECODE The result would be something like: PING CRITICAL - Packet loss = 0%, RTA = 201.23 ms If you wanted to play different sounds for the same service depending on if it's a warning or a critical (exit codes 1 or 2) you'll have to add more logic to it. Maybe have it read in a standard config file or something to that extent. If multiple services are encountering warning/criticals you'll probably get one sound per embed tag. Does that make sense? HTH! --Ben -----Original Message----- From: Jan van den Berg [mailto:jan at e-commercepark.com] Sent: Friday, April 04, 2003 10:04 AM To: Ben Garcia; 'Nagios-Users (E-mail)' Subject: RE: [Nagios-users] Webinterface Sound files So the bottomline is, that it is possible? :) I definitely want to give it a try then, because it can be pretty valuable. I do have a little trouble understanding what your saying: could you just elaborate on it a little? Regards, Jan van den Berg -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ben Garcia Sent: Thursday, April 03, 2003 5:58 PM To: Nagios-Users (E-mail) Subject: RE: [Nagios-users] Webinterface Sound files You could modify the output that is passed to Nagios in such a way that a HTML tag is passed through. That way when the page refreshes it would automatically pass the tag and play (unless HTML is filtered from the return string?). Could be VERY annoying -- esp. if you got lots of devices in a non-ok state, but that may do the trick for ya. You'd have to write a "wrapper" that would take the exit code and return string from the plug-in, concat the tag to the return string and then well.. return it... :-) If you wanted to be able to choose what files to play for which services you could just pass it as an argument to your wrapper and then code it to put the passed argument into SRC attribute of the tag. Just a thought... --Ben -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Thursday, April 03, 2003 3:13 PM To: Nagios-Users (E-mail) Subject: Re: [Nagios-users] Webinterface Sound files On Thu, 3 Apr 2003, Jan van den Berg wrote: > Hi there, > > > > I was wondering what the possibilities are when writing a plugin that > this plugin has its own custom sound files played. > > > > I understand that there are only so few return codes for a plugin > (warning, critical etc.) but how about the soundfiles? Plugins are not executed by the web interface so the possiblility of knowing what sound to execute for which service would be pretty complicated... -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adalle at ncf.ca Fri Apr 4 19:49:47 2003 From: adalle at ncf.ca (Andre Dalle) Date: Fri, 04 Apr 2003 12:49:47 -0500 Subject: Solaris Compilation Tool Chain In-Reply-To: References: Message-ID: <20030404174947.GA20309@ncf.ca> Well, I'd check blastwave.org. They have gcc packages as well as the GNU suite of utilities (sed/grep/awk/make/etc.) which you would need to compile most opensource. There are also Nagios packages for Solaris 8. Check for "CSWnagios" and "CSWnagiosp" in the package listing. Checkout http://blastwave.org/ - you can get the "pkg-get" utility which may facilitate package retrieval and installation if you are new to Solaris. On Fri, Apr 04, 2003 at 10:54:24AM -0500, chbaker at powersystems.rockwell.com wrote: > Now that I have thoroughly embarrassed myself w/ typos in my config files, > I would like to ask a question that may be beyond the scope of this list. > My > question is what in general do I need to install on a Solaris8/Sparc server > to compile nagios? I am much more familiar with and accustomed to the > Linux environment than Solaris. As an example, a find command on a newly > installed Solaris8 box, default install, only turns up ``cc'' in > /usr/ucb/cc and > of course, ``gcc'' is not installed at all. I am familiar w/ > sunfreeware.com and > imagine I can pick up all I need there. Any tips and suggestions would be > appreciated. Thanks. > > Charles H. Baker > chbaker at powersystems dot rockwell dot com > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > BOFH excuse #207: > We are currently trying a new concept of using a live mouse. > Unfortunately, one has yet to survive being hooked up to the > computer.....please bear with us. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Andre Dalle [adalle at ncf.ca] Systems Administrator, National Capital Freenet [http://www.ncf.ca] ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.clayton at intec.co.za Fri Apr 4 20:13:19 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Fri, 4 Apr 2003 20:13:19 +0200 Subject: Solaris Compilation Tool Chain Message-ID: <9290BC9741D67F43BDAAC84144FF870DB692E2@intecserver007.intec.co.za> Typically you would need to ensure that when installing Solaris that you installed the developers tool set. Then install GCC and binutils and gmake. That would be the bare minimum you would require to get compilations running. If you did not install the developers tool set or full package down load, you may need to try loading all the development packages that may be required. cheers -----Original Message----- From: Andre Dalle [mailto:adalle at ncf.ca] Sent: 04 April 2003 18:50 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Solaris Compilation Tool Chain Well, I'd check blastwave.org. They have gcc packages as well as the GNU suite of utilities (sed/grep/awk/make/etc.) which you would need to compile most opensource. There are also Nagios packages for Solaris 8. Check for "CSWnagios" and "CSWnagiosp" in the package listing. Checkout http://blastwave.org/ - you can get the "pkg-get" utility which may facilitate package retrieval and installation if you are new to Solaris. On Fri, Apr 04, 2003 at 10:54:24AM -0500, chbaker at powersystems.rockwell.com wrote: > Now that I have thoroughly embarrassed myself w/ typos in my config files, > I would like to ask a question that may be beyond the scope of this list. > My > question is what in general do I need to install on a Solaris8/Sparc server > to compile nagios? I am much more familiar with and accustomed to the > Linux environment than Solaris. As an example, a find command on a newly > installed Solaris8 box, default install, only turns up ``cc'' in > /usr/ucb/cc and > of course, ``gcc'' is not installed at all. I am familiar w/ > sunfreeware.com and > imagine I can pick up all I need there. Any tips and suggestions would be > appreciated. Thanks. > > Charles H. Baker > chbaker at powersystems dot rockwell dot com > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > BOFH excuse #207: > We are currently trying a new concept of using a live mouse. > Unfortunately, one has yet to survive being hooked up to the > computer.....please bear with us. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Andre Dalle [adalle at ncf.ca] Systems Administrator, National Capital Freenet [http://www.ncf.ca] ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 icnet.com.ve Fri Apr 4 21:15:03 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Fri, 04 Apr 2003 15:15:03 -0400 Subject: check_snmp Message-ID: <5.1.0.14.0.20030404151045.00b4b458@pop.icnet.com.ve> Hi, I have configure Nagios for monitor my network, but I want to monitor the routers via snmp. What I have to do for configure that? In my hosts.cgi I have something like that for my host. # 'Router' host definition define host{ use generic-host ; Name of host template $ host_name router alias Router address 10.1.5.6 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } Thanks. Jeyri Bautista ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Fri Apr 4 21:44:14 2003 From: nagios at nagios.org (Ethan Galstad) Date: Fri, 04 Apr 2003 13:44:14 -0600 Subject: NRPE 2.0 BETA Notes.... In-Reply-To: <1049435794.30291.73.camel@dev.showkilr.com> References: Message-ID: <3E8D8C2E.16636.D8E794@localhost> Thanks for the note. Patch is in CVS. On 3 Apr 2003 at 23:56, Showkilr wrote: > I notice this one problem on RH8 and RH9 systems possibly others. > openssl uses a header from kerbose 5. the kerbose headers are in > /usr/kerberos/include this is the default location for the RH systems. > kinda lame. In order to get it to compile with ssl support I had to edit > the Makefile in src with the Extra Include. If compiling without ssl > support everthing is ok. Not shure about the Distros out there. FreeBSD > 4.7 has no issues with this. I have compiled sucessfully there. Haven't > performed any testing on these systems for functionality as of yet. > > Modify nrpe/src/Makefile > Line 13 CFLAGS=-g -O2 -I/usr/include/openssl -DHAVE_CONFIG_H > > For RH8/9 systems it should read > > CFLAGS=-g -O2 -I/usr/include/openssl -I/usr/kerberos/include > -DHAVE_CONFIG_H > > for other systems just locate krb5.h if your openssl was compiled with > kerbose 5 support. > > > Showkilr > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 4 22:15:10 2003 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 4 Apr 2003 14:15:10 -0600 (CST) Subject: check_procs CRITICAL Interpreted as OK In-Reply-To: <53104E20A25CD411B556009027E50636064D5541@pnnemp02.pn.egg.com> References: <53104E20A25CD411B556009027E50636064D5541@pnnemp02.pn.egg.com> Message-ID: Check_procs is the latest (1.3). Here's an example of the problem. On the comand line I get: $ check_procs -w 1: -c 1: -C crond CRITICAL - 0 processes running with command name crond >From status.log: [1049487005] SERVICE;omailwebav01;CRON;OK;1/10;HARD;1049486965;1049487265;ACTIVE;1;1;1;1046982567;0;OK;2503772;0;0;0;0;0;1;2;1;1;0;0.00;0;1;1;1;CRITICAL - 0 processes running with command name crond Any idea why Nagios is interpreting this as OK? Thanks. On Fri, 4 Apr 2003, Voon, Ton wrote: > Which version of check_procs? What do you get on the command line? What is > the return code on the command line? > > A quick visual check of check_procs.c v1.9 (release 1.3) says that all > CRITICAL messages should return with STATE_CRITICAL = 2. > > > -----Original Message----- > > From: Demetri Mouratis [SMTP:dmourati at cm.math.uiuc.edu] > > Sent: Friday, April 04, 2003 8:48 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_procs CRITICAL Interpreted as OK > > > > Check out these logs from status.log > > > > [1049442022] > > SERVICE;blaster2;MMSTATUSD;OK;1/5;HARD;1049441791;1049442091; > > ACTIVE;1;1;1;1046701129;0;OK;2968889;0;0;0;0;0;1;0;1;1;0;0.00;0;1;1;1; > > CRITICAL - 0 processes running with command name mmstatusd.pl > > > > Why is nagios interpreting the output of this check_procs command as "OK" > > when the plugin reports "CRITICAL - 0"? > > > > This happens using the check_procs plugin across multiple hosts for > > several proccesses. > > > > Thanks. > > --------------------------------------------------------------------- > > Demetri Mouratis > > dmourati at linfactory.com > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > No other company gives more support or power for your dedicated server > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > carries out investment business on behalf of Egg and is regulated > by the Financial Services Authority. > Registered in England and Wales. Registered offices: 1 Waterhouse Square, > 138-142 Holborn, London EC1N 2NA. > If you are not the intended recipient of this e-mail and have > received it in error, please notify the sender by replying with > 'received in error' as the subject and then delete it from your > mailbox. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Fri Apr 4 22:18:00 2003 From: nagios at nagios.org (Ethan Galstad) Date: Fri, 04 Apr 2003 14:18:00 -0600 Subject: Flap detection.. and notification? In-Reply-To: <3E5678D4.8020206@datawire.net> References: <3E5678D4.8020206@datawire.net> Message-ID: <3E8D9418.11046.F7D453@localhost> This is an old post, but I've kept it on my to-respond-to list, as it will be implemented in 2.0. There are some details to be worked out on how to do this. I'll be taking this discussion to the nagios- devel list. See my post there for more info. On 21 Feb 2003 at 14:07, Ken Snider wrote: > Hey all, > > Is there a way to receive either A> a notification when a service is > suppressed for flapping, or B> A way to have the message generated by Nagios > regarding the fact that a service has been detected as flapping sent out? > > At current, it looks like flap detection isn't notified anywhere but on the > website, which means if your service is flapping between OK/Non-OK, there's > a chance flap detection will be enabled as it flips into the non-ok state, > be suppressed, and you *not* be made aware anything is (still) wrong. > > I wouldn't mind if flap detection only happened when transitioning *to* an > OK state (or to a subsequent non-ok state), because then, one would never > get a "recovery" email, and see that the service never really did recover.. > > -- > Ken Snider > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > The most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Fri Apr 4 23:19:37 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Fri, 4 Apr 2003 16:19:37 -0500 Subject: Solaris Compilation Tool Chain Message-ID: Thanks! That is very cool. I use Debian as my Linux of choice, and pkg-get is wonderful just like apt-get. Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #207: We are currently trying a new concept of using a live mouse. Unfortunately, one has yet to survive being hooked up to the computer.....please bear with us. Andre Dalle Sent by: To: nagios-users at lists.sourceforge.net nagios-users-admin at lists.sour cc: ceforge.net Subject: Re: [Nagios-users] Solaris Compilation Tool Chain 04/04/2003 12:49 PM Well, I'd check blastwave.org. They have gcc packages as well as the GNU suite of utilities (sed/grep/awk/make/etc.) which you would need to compile most opensource. There are also Nagios packages for Solaris 8. Check for "CSWnagios" and "CSWnagiosp" in the package listing. Checkout http://blastwave.org/ - you can get the "pkg-get" utility which may facilitate package retrieval and installation if you are new to Solaris. On Fri, Apr 04, 2003 at 10:54:24AM -0500, chbaker at powersystems.rockwell.com wrote: > Now that I have thoroughly embarrassed myself w/ typos in my config files, > I would like to ask a question that may be beyond the scope of this list. > My > question is what in general do I need to install on a Solaris8/Sparc server > to compile nagios? I am much more familiar with and accustomed to the > Linux environment than Solaris. As an example, a find command on a newly > installed Solaris8 box, default install, only turns up ``cc'' in > /usr/ucb/cc and > of course, ``gcc'' is not installed at all. I am familiar w/ > sunfreeware.com and > imagine I can pick up all I need there. Any tips and suggestions would be > appreciated. Thanks. > > Charles H. Baker > chbaker at powersystems dot rockwell dot com > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > BOFH excuse #207: > We are currently trying a new concept of using a live mouse. > Unfortunately, one has yet to survive being hooked up to the > computer.....please bear with us. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Andre Dalle [adalle at ncf.ca] Systems Administrator, National Capital Freenet [http://www.ncf.ca] ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pkrzystofiak at endeavors.com Fri Apr 4 23:35:46 2003 From: pkrzystofiak at endeavors.com (Peter Krzystofiak) Date: Fri, 4 Apr 2003 13:35:46 -0800 Subject: check_external_commands=1 Message-ID: <53109A46D4F58F458B18D009EAEEDC8345C628@mail.endeavorstech.com> Hello, When I set check_external_commands=1, I cannot start the service. Starting network monitor: nagios PID TTY TIME CMD Thanks, Peter ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maartenh at phreaker.net Sat Apr 5 13:56:05 2003 From: maartenh at phreaker.net (Maarten Hartsuijker) Date: Sat, 5 Apr 2003 13:56:05 +0200 Subject: check_snmp References: <5.1.0.14.0.20030404151045.00b4b458@pop.icnet.com.ve> Message-ID: <00e201c2fb6a$56835d30$195019ac@shadowplay> First thing you have to do is to configure a checkcommand in your checkcommands.cfg. The checkcommands configuration file, translates the nagios checks to real-time unix commands. An example could look like this: # 'check_snmp_3_oid' command definition define command{ command_name check_snmp_3_oid command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -c $ARG2$ -o $ARG3$ -o $ARG4$ -C $ARG5$ } After defining a check, you can start adding entries in your services.cfg that make use of snmp. An example could be: define service{ use generic-service ; Name of servic e template to use host_name swtest service_description snmp.port1 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups network-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_snmp_3_oid!ifOperStatus.101!1!ifDescr.101!ifOperStatus.101!comstring } good luck! maarten ----- Original Message ----- From: "Jeyri Bautista" To: Sent: Friday, April 04, 2003 9:15 PM Subject: [Nagios-users] check_snmp > Hi, > > I have configure Nagios for monitor my network, but I want to monitor the > routers via snmp. > > What I have to do for configure that? > > In my hosts.cgi I have something like that for my host. > > # 'Router' host definition > define host{ > use generic-host ; Name of host > template $ > host_name router > alias Router > address 10.1.5.6 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,u,r > } > > Thanks. > > Jeyri Bautista > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ski at insightful.com Sat Apr 5 17:30:07 2003 From: ski at insightful.com (Ski Kacoroski) Date: Sat, 5 Apr 2003 07:30:07 -0800 Subject: Questions on monitoring cron jobs Message-ID: Hi, I maintain several unix servers that run cron jobs that send me email each day (upwards of 100 emails per day). Many of these are things like: - checked antivirus dat file - no need to update - updated antivirus dat file - ran antivirus scan - no viruses found etc... I would like to use Nagios to monitor these. Has anybody on this list used Nagios in this manner. I can think of a few options: 1. Write a plugin that triggers the job and have it run once per day via nrpe. Sometimes the jobs fail and I think this might work good because perhaps nagios could resubmit the job after an hour if it fails instead of waiting an entire day (e.g. recovery). 2. Run the jobs from cron and have Nagios read the email. Nagios could also run a recovery script if they fail. 3. Have the jobs write to syslog and use Nagios check_log plugin. I would have to figure out how to change the jobs to write to syslog. I have linux, solaris 2.5 - 2.9, sunos 4.1.4, hpux, aix, irix, and true64 unix so this could be a bit of a job. Any ideas, thoughts, comments are most appreciated. I really like Nagios so far (it monitors my network devices, windows servers, and the unix servers listed above). Thanks in advance. cheers, ski IT Manager Insightful ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Sun Apr 6 00:51:36 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sat, 05 Apr 2003 17:51:36 -0500 (EST) Subject: Questions about check_procs In-Reply-To: <3E8DBBBD.4080506@pinehurst.net> References: <3E8DBBBD.4080506@pinehurst.net> Message-ID: On Fri, 4 Apr 2003, Jeff Lane wrote: > Hello everyone... I have a couple questions about check_procs. > > First off, I have it set up as a remote check on a host using nrpe... > Now, nrpe seems to be working fine, and I DO get checks back, BUT I dont > get the correct information back... > > For example: > > [root at xwing libexec]# ./check_nrpe -H www.pinehurst.net -p 42374 -c > check_portsentry > > CRITICAL - 77 processes running > > Instead of giving me the total number of portsentry processes running, I > am getting the total number of all processes on the machine. > > Heres how the command is set up in nrpe.cfg on the target machine: > > command[check_portsentry]=/usr/local/nagios/libexec/check_procs -w 1: -c > :3 portsentry > check_procs -h --- you need to use the "-C portsentry" arg, without -C it checks for all processes > I think the issue is in how I have the warning and critical flags set... > but not sure about that. > > That leads me to the second question... I need a different threshold... > I need a < or > threshold, instead of a > > threshold... In other words, > I want to get warnings if the number of processes for portsentry is > anything other than 2. > > If one process dies, I want a critical warning, and if there are three > or more running processes, I want a warning notice. check_procs -w 2:2 -c 2:1024 -C portsentry The above will warn if 21024 picked 1024 as an arbitrary large number > > Is that doable???Or at the very least, I want it to let me know if the > total ever falls below 2... > > I can try setting warn and critical to 1, but that will give me a > warning every time because the good total (2) will always be greater > than the warning level (1). > > I have looked at the help for check_procs but that doesnt seem to tell > me anything useful... so, does anyone have any ideas on how to do this?? > > Thanks > Jeff > > > -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Sun Apr 6 10:47:41 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Sun, 6 Apr 2003 16:47:41 +0800 Subject: services unscheduled? Message-ID: <200304061647.52137.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi nagios gurus, I am just wondering how do i tell Nagios to properly schedule ALL services for checking? I am running Nagios 1.0. SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 24 Total hosts: 5 Command check interval: -1 sec Check reaper interval: 3 sec Inter-check delay method: SMART Average check interval: 120.000 sec Inter-check delay: 5.000 sec Interleave factor method: SMART Average services per host: 4.800 Service interleave factor: 5 Initial service check scheduling info: -------------------------------------- First scheduled check: 1049618861 -> Sun Apr 6 08:47:41 2003 Last scheduled check: 1049618976 -> Sun Apr 6 08:49:36 2003 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 1 Recommend value: 3 # ORPHANED SERVICE CHECK OPTION # This determines whether or not Nagios will periodically # check for orphaned services. Since service checks are not # rescheduled until the results of their previous execution # instance are processed, there exists a possibility that some # checks may never get rescheduled. This seems to be a rare # problem and should not happen under normal circumstances. # If you have problems with service checks never getting # rescheduled, you might want to try enabling this option. # Values: 1 = enable checks, 0 = disable checks check_for_orphaned_services=1 max_concurrent_checks=100 service_reaper_frequency=3 But, it doesnt seem to solve the problem. I am still having some services unscheduled and never get checked. - -- Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+j+mtNgvTa7Hj2AURAvhqAJ9ZyoWUf74srOtC9YNmEbAsdryfqgCaAz2r hBJvxXBqmEFrC9WNyur0aKg= =fCg6 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sentono at postmaster.co.uk Sun Apr 6 12:29:19 2003 From: sentono at postmaster.co.uk (sentono lovely) Date: Sun, 06 Apr 2003 17:29:19 +0700 Subject: need nsca help! Message-ID: hi guys, please tell me if you guys have success to configure nagios + nsca addon could you please give me suggest or tutor that can tell me detailed how to configure nsca addon for check service between 2 host or more any suggest would be appreciate thanks Sentono -- The island of Gotland belongs to which country? Find out at postmaster.co.uk http://www.postmaster.co.uk/cgi-bin/meme/quiz.pl?id=183 ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From minitom at blaster.dyndns.org Sun Apr 6 12:07:40 2003 From: minitom at blaster.dyndns.org (Thomas) Date: 06 Apr 2003 12:07:40 +0200 Subject: Perf data and reloading config Message-ID: <1049623660.507.24.camel@minitom> Hi all, When I reload Nagios (killall -HUP nagios) after I modify the conf files, it doesn't take into account the "process_perf_data". For example if it doesn't process perf data for a given service and I decide that it should now, I have to stop Nagios, remove the status.sav file and then restart Nagios. I tried to play with the "State Retention Option" and the "Use Retained Program State Option" but it doesn't work. Does any one have heard of this problem ? is there a solution ? Thanks ! Thomas ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Sun Apr 6 13:23:34 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Sun, 6 Apr 2003 19:23:34 +0800 Subject: using check_log query? Message-ID: <200304061923.36294.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Nagios gurus, Does anyone know how does the 'check_log' plugin work? I dont understand the - -q query option. Do we write a script and pass in to query between the old and new pattern of the log files? It will be truly appreciated and helpful if anyone who is currently using the check_log plugin can paste a snippet sample here. Thanks! - -- Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+kA43NgvTa7Hj2AURAtXnAKCZjRqqrovbhn+RJpbYa0DawPOjOgCfWHU2 UUo/QkghGx7FxapdO06rWYU= =mVD3 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hrishys at yahoo.co.uk Mon Apr 7 07:46:17 2003 From: hrishys at yahoo.co.uk (=?iso-8859-1?q?hrishy?=) Date: Mon, 7 Apr 2003 06:46:17 +0100 (BST) Subject: nagios plugin on solaris 2.6 In-Reply-To: <4E71CFD68DCB4E49B04AD93E84827EE909ECA0@netfinity-1.foundation-it.local> References: <4E71CFD68DCB4E49B04AD93E84827EE909ECA0@netfinity-1.foundation-it.local> Message-ID: <20030407054617.57342.qmail@web12604.mail.yahoo.com> Hi Phil Thanks for the wunderful piece of info :-).That was someuseful info for me. regards Hrishy --- Phil Costelloe wrote: > > From: hrishy [mailto:hrishys at yahoo.co.uk] > > > > I am not able to get the check_load working on > solaris > > 2.6..when i run check_loda i am getting the > folowing error.. > > > > $ ./check_load > > ld.so.1: ./check_load: fatal: libc.so.1: version > > `SUNW_1.18' not found (require) > > Killed > > > > $ uname -a > > SunOS zblrdv90 5.6 Generic_105181-26 sun4u sparc > SUNW,Ultra-5_10 > > > > can somebody tell me whats going on > > check_load has been built on a machine where > libc.so.1 offers the > SUNW_1.18 interface definition and that's not > available on your > 2.6 machine. > > "pvs check_load" will tell you what it's expecting > and > "pvs /usr/lib/libc.so.1" will tell you what > libc.so.1 offers. > > Bottom line is you need a version built > conservatively for Solaris 2.6. > > Phil __________________________________________________ Yahoo! Plus For a better Internet experience http://www.yahoo.co.uk/btoffer ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Mon Apr 7 08:28:27 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Mon, 07 Apr 2003 08:28:27 +0200 Subject: Perf data and reloading config References: <1049623660.507.24.camel@minitom> Message-ID: <3E911A8B.6060402@datavis.se> I had a similar problem. Try setting 'retain_nonstatus_information' to 0 for your host or service. /FredrikW Thomas wrote: >Hi all, > >When I reload Nagios (killall -HUP nagios) after I modify the conf >files, it doesn't take into account the "process_perf_data". For example >if it doesn't process perf data for a given service and I decide that it >should now, I have to stop Nagios, remove the status.sav file and then >restart Nagios. I tried to play with the "State Retention Option" and >the "Use Retained Program State Option" but it doesn't work. > >Does any one have heard of this problem ? is there a solution ? > >Thanks ! > > Thomas > > > >------------------------------------------------------- >This SF.net email is sponsored by: ValueWeb: >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >No other company gives more support or power for your dedicated server >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From graemann at linuxmail.org Mon Apr 7 08:29:44 2003 From: graemann at linuxmail.org ( Graemann) Date: Mon, 07 Apr 2003 14:29:44 +0800 Subject: Any Idea on this.... traphandle implementing snmptrapd on nagios Message-ID: <20030407062944.18113.qmail@linuxmail.org> Fellow Nagios User: Im configuring my Nagios to receive traps from a remote host using snmptrapd. I have the following snmptrapd.conf: traphandle IF-MIB::linkUp /usr/local/nagios/libexec/evenhandlers/submit_check_result MRTGServer "PING" 1 "link UP" then when i sent a trap with the following : snmptrap -v 2c -c public localhost SNMPv2-MIB IF-MIB::linkUp when i tail my /var/log/messages i am recieving the traps although the command submit_check_result is not executed or at least its not reflecting in my Nagios alarms. But when i execuuted the command /usr/local/nagios/libexec/evenhandlers/submit_check_result MRTGServer "PING" 1 "link UP" my Nagios is showing an alarm. Plus when i change the command to /bin/echo "Link UP" > /tmp/linkstat then sent an snmptrap it is excuting the said command. What am i doing wrong? any Ideas you can share??? Thanks in Advance. -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mseisdedos at mediafusion.es Mon Apr 7 09:15:16 2003 From: mseisdedos at mediafusion.es (Montse Seisdedos) Date: Mon, 7 Apr 2003 09:15:16 +0200 Subject: template objects Message-ID: <000a01c2fcd5$70871610$520101c0@TECMSEISDEDOS> Hello: I?m migrating my object files from the old default style to the new template style. I defined a template with several attributes, and then I include it in the definition of the other objects, can I redefine in the definition of an object a yet defined attribute in the template? Montserrat SEISDEDOS Dpto. Explotaci?n Mediafusi?n Espa?a, S.A. mseisdedos at mediafusion.es www.mediafusion.es Tel. +34.91.252.32.00 Fax +34.91.572.27.08 ________________________________________________________________________ _____________________________________________ Mediafusi?n Espa?a, S.A. ? Aviso legal: Este mensaje electr?nico est? dirigido ?nicamente a la(s) direcci?n(es) indicadas anteriormente; el car?cter confidencial, personal e intransferible del mismo est? protegido legalmente. Cualquier revelaci?n, uso o reenv?o no autorizado, completo o en parte, est? prohibido. Si ha recibido este mensaje por equivocaci?n, notif?quelo inmediatamente a la persona que lo ha enviado y borre el mensaje original junto con sus ficheros anexos sin leerlo ni grabarlo, total o parcialmente. Gracias. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fred.Albrecht at za.tiscali.com Mon Apr 7 10:03:36 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Mon, 7 Apr 2003 10:03:36 +0200 Subject: RETRY: CPU Question Message-ID: Hi Not having received a reply on my previous question, I'll try again. :) (Please tell me where I can ask this question, if this is the wrong place to ask.) My cgi's take about 30 seconds from clicking on their links to displaying something on my screen. I'm running a P4, 512M Red Hat 7.2 (uname shows Linux 2.4.20). System idles at 80% CPU free most of the time, until I hit a cgi which drops the idle down to 0%, until the cgi finishes (as mentioned earlier, 25-30seconds later) and the system goes back to 80% idle. No swap is being used. I've done the following optimizations: Placed my critical files on ramdisk. They are: -rwxr-xr-x 1 nagios nagios 755 Apr 4 15:43 contactgroups.cfg -rwxr-xr-x 1 nagios nagios 2822 Apr 4 15:43 contacts.cfg -rwxr-xr-x 1 nagios nagios 14999 Apr 7 09:43 hostextinfo.cfg -rwxr-xr-x 1 nagios nagios 1565 Apr 4 15:43 hostgroups.cfg -rwxr-xr-x 1 nagios nagios 26585 Apr 4 15:43 hosts.cfg -rwxr-xr-x 1 nagios nagios 536 Apr 4 15:43 hosts-uses.cfg drwxr-xr-x 2 nagios nagios 12288 Apr 3 16:23 lost+found -rwxr-xr-x 1 nagios nagios 3092 Apr 4 15:43 misccommands.cfg -rwxr-xr-x 1 nagios nagios 1987817 Apr 4 15:43 serviceextinfo.cfg -rwxr-xr-x 1 nagios nagios 1696675 Apr 4 15:43 services.cfg -rwxr-xr-x 1 nagios nagios 3941 Apr 4 15:43 services-uses.cfg -rw-r--r-- 1 nagios nagiocmd 759981 Apr 7 09:50 status.log -rw-rw-r-- 1 nagios nagios 209360 Apr 7 09:43 status.sav -rwxr-xr-x 1 nagios nagios 1112 Apr 4 15:43 timeperiods.cfg retention_update_interval=15 aggregate_status_updates=15 My nagios stats are as follows: Check Execution Time: 0 / 7 / 0.052 sec Check Latency: 0 / 14 / 0.605 sec # Active Checks: 3404 # Passive Checks: 334 I've done everything that I could implement in the "Tuning Nagios For Maximum Performance" section. At one stage I even nfs mounted the nagios directory to another machine from which I let my clients access the cgi's. Sharing CPU this way worked fine, meaning that whenever the web interface becomes too slow, I'll just add another server in my nagios farm. The only drawback is that the clients can't write to the nagios.cmd file accross the nfs mount. Would have been a nice feature if it did work. Which raises the next question. Nagios is a distributed NMS system, how about making it a distributed client interface system, if you follow what I mean? How can I get this done? Is there anything else I can do to get the response time of the cgi's better? Is this a hardware or software issue? Any suggestions will be highly appreciated. Thanx fred -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.DeBlende at dhl.com Mon Apr 7 10:16:28 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Mon, 07 Apr 2003 10:16:28 +0200 Subject: template objects References: <000a01c2fcd5$70871610$520101c0@TECMSEISDEDOS> Message-ID: <3E9133DC.C42BE909@dhl.com> Yes. > Montse Seisdedos wrote: > > Hello: > > I?m migrating my object files from the old default style to the new > template style. I defined a template with several attributes, and > then I include it in the definition of the other objects, can I > redefine in the definition of an object a yet defined attribute in > the template? > > > > Montserrat SEISDEDOS > Dpto. Explotaci?n > > Mediafusi?n Espa?a, S.A. > mseisdedos at mediafusion.es > > www.mediafusion.es > Tel. +34.91.252.32.00 > > Fax +34.91.572.27.08 > _____________________________________________________________________________________________________________________ > > Mediafusi?n Espa?a, S.A. ? > Aviso legal: > > Este mensaje electr?nico est? dirigido ?nicamente a la(s) > direcci?n(es) indicadas anteriormente; el car?cter confidencial, > personal e intransferible del mismo est? protegido legalmente. > Cualquier revelaci?n, uso o reenv?o no autorizado, completo o en > parte, est? prohibido. > > Si ha recibido este mensaje por equivocaci?n, notif?quelo > inmediatamente a la persona que lo ha enviado y borre el mensaje > original junto con sus ficheros anexos sin leerlo ni grabarlo, total > o parcialmente. > > Gracias. > > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.clayton at intec.co.za Mon Apr 7 10:46:07 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Mon, 7 Apr 2003 10:46:07 +0200 Subject: Off the subject Message-ID: <9290BC9741D67F43BDAAC84144FF870DB692E8@intecserver007.intec.co.za> I know this is off the subject, but has anybody evaluated the SCL (www.scl.com) web monitoring and alerting product. These guys are trying to convince me that they are better than Nagios, but at about $100,000 that going to be a hard sell. Your comments would be appreciated. Regards Unix like TeePee no windows, no gates, Apache inside. Paul Clayton Global Unix Co-ordinator Intec Telecom Systems Ph +27 (0) 21 4309000 Fax +27 (0) 21 4309025 Mobile +27(0) 832853403 ******************************************************************************************* This e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.aaltonen at contrigo.de Mon Apr 7 11:10:58 2003 From: j.aaltonen at contrigo.de (Aaltonen, Jaakko) Date: Mon, 7 Apr 2003 11:10:58 +0200 Subject: AW: Default Contacts for Host Definitions Message-ID: Hm, of course you're right in some way, but how do you determine a hardware problem if a host goes down? In my opinion, especially on windows servers, the most reasons for host-down-events are os-dependent problems, not hardware failures. These host-down-events can have so many different reasons not recognizable by nagios host checks, that you should contact both hardware and software administrators of these events. And because we do not make a difference between hard- and software people (at least not in this case, because everyone of us is able to change a cpu in case of emergency), but between different os administrators, your explanation does not really fit my situation. Any other suggestions? -----Urspr?ngliche Nachricht----- Von: Rasmus Plewe [mailto:rplewe at hpce.nec.com] Gesendet: Freitag, 4. April 2003 15:30 An: Nagios users list Betreff: Re: [Nagios-users] Default Contacts for Host Definitions On Fri, Apr 04, 2003 at 02:22:45PM +0200, Aaltonen, Jaakko wrote: > > My suggestion would be to > implement the "contact_groups" directive in host object definitions, > and to notify those contact-groups of service-related events if there > are no contacts specified in the correspondent service definition. And how do you notify the hardware people not concerned with the services if the host goes down? Currently, contacts in hosts definitions get notified on host-problems, contacts in service definitions get notified on service-problems. With your suggestion, a fire in the CPU (host down) would notify e.g. the postmaster who doesn't know a thing about changing CPUs. Rasmus ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mm at elabnet.de Mon Apr 7 12:46:56 2003 From: mm at elabnet.de (Michael Markstaller) Date: Mon, 7 Apr 2003 12:46:56 +0200 Subject: Output trashed when using multiple values with upper boundaries with check_snmpp / snmppd Message-ID: <246BE4BBD2754248AD5C14E535004ABA101DE8@elab4.elabnet.com> Hi, I'm using snmppd as it speeds things up significantly with many snmp-checks and it works fine so far, but when specifying upper boundaries (in this case Cisco CPU) with more than one value polled, the returned output-values get trashed somehow. Although it still reports the correct status, it's just a bit annoying as I cannot see the polled values in Nagios anymore.. any hints ? ./check_snmpp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w :90,:75 -c :95,:90 SNMP OK -?#@?#@ ./check_snmpp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w :13 SNMP OK -17 17 ./check_snmpp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w ,:13 SNMP WARNING - 14 *17* ./check_snmpp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w :13,:13 SNMP WARNING -?#@?#@ the original check_snmp works this way: ./check_snmp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w :90,:75 -c :95,:90 -l 'CPU usage 1min/5min' -D ' / ' CPU usage 1min/5min OK - 12 / 15 regards Michael Markstaller ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 7 13:00:24 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 7 Apr 2003 21:00:24 +1000 Subject: Off the subject In-Reply-To: <9290BC9741D67F43BDAAC84144FF870DB692E8@intecserver007.intec.co.za>; from paul.clayton@intec.co.za on Mon, Apr 07, 2003 at 10:46:07AM +0200 References: <9290BC9741D67F43BDAAC84144FF870DB692E8@intecserver007.intec.co.za> Message-ID: <20030407210010.A232@IPAustralia.Gov.AU> Dear Sir, On Mon, Apr 07, 2003 at 10:46:07AM +0200, Paul Clayton wrote: > These guys are trying to convince me that they are better than Nagios, but > at about $100,000 that going to be a hard sell. > suggest you try Nagios and send Mr Galstad some of what you save. You would want to be getting a lot of . PHB reporting eg SLA conformance . enterprise application checking eg supply chain checking and problem pinpointing . support to rival the name brand vendors . scalability for them to be a serious alternative. 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 is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Mon Apr 7 13:17:59 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Mon, 07 Apr 2003 13:17:59 +0200 Subject: Sorting... References: Message-ID: <3E915E67.6010204@datavis.se> Is there something I can do to make the cgis's NOT sort the lists?? I want the hosts to be listed in the order they are in the config-files. /FredrikW ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CabreraN at southcom.disa.mil Mon Apr 7 13:51:04 2003 From: CabreraN at southcom.disa.mil (Cabrera, Nestor (Contractor)) Date: Mon, 7 Apr 2003 07:51:04 -0400 Subject: Nagios Installation Message-ID: <04C669CE7B1D8E4EB46971034B329A6C193ECE@emsmia1.southcom.disa.mil> Hello, I'm new to Nagios and Linux in general so please excuse me if this is a simple problem. The problem occurs installing Nagios on RH 8.0 machine. I run the ./configure with no errors, however when I run the "make all" command I recieve the following error: usr at server.com# make all cd ./base && make make[1]: Entering directory '/usr/local/nagios/nagios-1.0/base' make[1]: *** No rule to make target '../common/locations.h', needed by 'checks.o'. Stop. make[1]: Leaving directory '/usr/local/nagios/nagios-1.0/base' make: *** [all] Error 2 Thanks in advance. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From casperez at cesga.es Mon Apr 7 14:07:55 2003 From: casperez at cesga.es (casperez at cesga.es) Date: Mon, 7 Apr 2003 14:07:55 +0200 (CEST) Subject: Dependencies Message-ID: <52568.193.144.34.186.1049717275.squirrel@webmail.cesga.es> Hello, Can somebody tell me how the dependencies work? The dependencies.cfg is : define servicedependency{ host_name cnet0000 service_description nrpe dependent_host_name cnet0001 dependent_service_description PROCS execution_failure_criteria c notification_failure_criteria c } but don't work. Thank you ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Mon Apr 7 14:32:49 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 07 Apr 2003 08:32:49 -0400 (EDT) Subject: Any Idea on this.... traphandle implementing snmptrapd on nagios In-Reply-To: <20030407062944.18113.qmail@linuxmail.org> References: <20030407062944.18113.qmail@linuxmail.org> Message-ID: On Mon, 7 Apr 2003, Graemann wrote: > Fellow Nagios User: > > Im configuring my Nagios to receive traps from a remote host using snmptrapd. > I have the following snmptrapd.conf: > > traphandle IF-MIB::linkUp /usr/local/nagios/libexec/evenhandlers/submit_check_result MRTGServer "PING" 1 "link UP" I believe you need to specify the OID not the user friendly form used above... traphandle .1.3.6.1.2.6.3.1.1.5.4 ...... > > then when i sent a trap with the following : > > snmptrap -v 2c -c public localhost SNMPv2-MIB IF-MIB::linkUp > > when i tail my /var/log/messages i am recieving the traps although the > command submit_check_result is not executed or at least its not > reflecting in my Nagios alarms. > > But when i execuuted the command > > /usr/local/nagios/libexec/evenhandlers/submit_check_result MRTGServer "PING" 1 "link UP" > > my Nagios is showing an alarm. Plus when i change the command to > > /bin/echo "Link UP" > /tmp/linkstat > > then sent an snmptrap it is excuting the said command. > > What am i doing wrong? any Ideas you can share??? > > Thanks in Advance. > > > -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Mon Apr 7 15:04:46 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Mon, 07 Apr 2003 15:04:46 +0200 Subject: Output trashed when using multiple values with upper boundaries with check_snmpp / snmppd References: <246BE4BBD2754248AD5C14E535004ABA101DE8@elab4.elabnet.com> Message-ID: <3E91776E.5080908@datavis.se> Have you tried passing '-m NONE' to the check_snmp plugin instead of using snmppd? This will probably give you the same speedup. /FredrikW Michael Markstaller wrote: >Hi, > >I'm using snmppd as it speeds things up significantly with many snmp-checks and it works fine so far, but when specifying upper boundaries (in this case Cisco CPU) with more than one value polled, the returned output-values get trashed somehow. Although it still reports the correct status, it's just a bit annoying as I cannot see the polled values in Nagios anymore.. >any hints ? > >./check_snmpp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w :90,:75 -c :95,:90 >SNMP OK -?#@?#@ >./check_snmpp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w :13 >SNMP OK -17 17 >./check_snmpp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w ,:13 >SNMP WARNING - 14 *17* >./check_snmpp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w :13,:13 >SNMP WARNING -?#@?#@ > >the original check_snmp works this way: >./check_snmp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w :90,:75 -c :95,:90 -l 'CPU usage 1min/5min' -D ' / ' >CPU usage 1min/5min OK - 12 / 15 > >regards > >Michael Markstaller > > >------------------------------------------------------- >This SF.net email is sponsored by: ValueWeb: >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >No other company gives more support or power for your dedicated server >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mm at elabnet.de Mon Apr 7 15:29:04 2003 From: mm at elabnet.de (Michael Markstaller) Date: Mon, 7 Apr 2003 15:29:04 +0200 Subject: Output trashed when using multiple values with upper boundaries with check_snmpp / snmppd Message-ID: <246BE4BBD2754248AD5C14E535004ABA101DEC@elab4.elabnet.com> many thanks, I musted have missed the -m option from the changelog.. This helps out, so I can also use the current check_snmp plugin again without performance-problems because the "-m ALL" was the reason to use snmppd. Michael -----Original Message----- From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] Sent: Monday, April 07, 2003 3:05 PM To: Michael Markstaller Cc: nagios-users at lists.sourceforge.net; nagiosplug-help at lists.sourceforge.net; slava at nsys.by Subject: Re: [Nagios-users] Output trashed when using multiple values with upper boundaries with check_snmpp / snmppd Have you tried passing '-m NONE' to the check_snmp plugin instead of using snmppd? This will probably give you the same speedup. /FredrikW Michael Markstaller wrote: >Hi, > >I'm using snmppd as it speeds things up significantly with many snmp-checks and it works fine so far, but when specifying upper boundaries (in this case Cisco CPU) with more than one value polled, the returned output-values get trashed somehow. Although it still reports the correct status, it's just a bit annoying as I cannot see the polled values in Nagios anymore.. >any hints ? > >./check_snmpp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w :90,:75 -c :95,:90 >SNMP OK -?#@?#@ >./check_snmpp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w :13 >SNMP OK -17 17 >./check_snmpp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w ,:13 >SNMP WARNING - 14 *17* >./check_snmpp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w :13,:13 >SNMP WARNING -?#@?#@ > >the original check_snmp works this way: >./check_snmp -t 5 -H XXX -o .1.3.6.1.4.1.9.2.1.57.0,.1.3.6.1.4.1.9.2.1.58.0 -C XXX -w :90,:75 -c :95,:90 -l 'CPU usage 1min/5min' -D ' / ' >CPU usage 1min/5min OK - 12 / 15 > >regards > >Michael Markstaller > > >------------------------------------------------------- >This SF.net email is sponsored by: ValueWeb: >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >No other company gives more support or power for your dedicated server >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Mon Apr 7 15:43:59 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Mon, 7 Apr 2003 15:43:59 +0200 Subject: RETRY: CPU Question Message-ID: The system idles at 80% because I run other apps on the machine as well, like RTG to get my router interface stats, scripts to check passives' etc, and this runs continuously. I have used top, and the only processes that really load the system are the cgis. I've also placed some checks in the status.c file to time how long it takes to run different parts of itself. What I found was: TIME TO read_all_object_configuration_data=7.000000 TIME TO read_all_status_data=3.000000 TIME TO finish all=6.000000 TIME TO run=16.000000 These are in seconds. So to read the object configuration data takes 43% of the time, to read status data 18% and to generate the web interface 39%. Lane, what type of system do you run, the specs, to so that I can compare with what I have. Please. Thanx :) fred -----Original Message----- From: Williams, P. Lane [mailto:Lane.Williams at jhuapl.edu] Sent: 07 April 2003 01:52 PM To: Fred Albrecht Subject: RE: [Nagios-users] RETRY: CPU Question The fact that your system idles at 80% normally, may have something to do with it. All Linux distributions I've used have typically idles at 98.xxx% or better, when not under a load. I've also done what you've done, where I would cycle through the cgi's to test performance...I would see momentary spike in cpu use.....but only around 30%-40%. At the moment I do not have as many checks as you. If you haven't already, you may want to use 'top' and see if you have any run away processes or possible memory leaks. Lane -----Original Message----- From: Fred Albrecht [mailto:Fred.Albrecht at za.tiscali.com] Sent: Monday, April 07, 2003 7:33 AM To: Williams, P. Lane Subject: RE: [Nagios-users] RETRY: CPU Question No, I am saying that no swap is being used, there's no need. The system is configured with a Gig's worth of swap, but everything manages to run in memory without swapping to disk. Looking at the system now there is 3Meg swap used, 980M free. 43MB normal memory free. Thanx for your reply. -----Original Message----- From: Williams, P. Lane [mailto:Lane.Williams at jhuapl.edu] Sent: 07 April 2003 01:15 PM To: Fred Albrecht Subject: RE: [Nagios-users] RETRY: CPU Question Are you saying you have no "swap" file? Lane -----Original Message----- From: Fred Albrecht [mailto:Fred.Albrecht at za.tiscali.com] Sent: Monday, April 07, 2003 4:04 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RETRY: CPU Question Hi Not having received a reply on my previous question, I'll try again. :) (Please tell me where I can ask this question, if this is the wrong place to ask.) My cgi's take about 30 seconds from clicking on their links to displaying something on my screen. I'm running a P4, 512M Red Hat 7.2 (uname shows Linux 2.4.20). System idles at 80% CPU free most of the time, until I hit a cgi which drops the idle down to 0%, until the cgi finishes (as mentioned earlier, 25-30seconds later) and the system goes back to 80% idle. No swap is being used. I've done the following optimizations: Placed my critical files on ramdisk. They are: -rwxr-xr-x 1 nagios nagios 755 Apr 4 15:43 contactgroups.cfg -rwxr-xr-x 1 nagios nagios 2822 Apr 4 15:43 contacts.cfg -rwxr-xr-x 1 nagios nagios 14999 Apr 7 09:43 hostextinfo.cfg -rwxr-xr-x 1 nagios nagios 1565 Apr 4 15:43 hostgroups.cfg -rwxr-xr-x 1 nagios nagios 26585 Apr 4 15:43 hosts.cfg -rwxr-xr-x 1 nagios nagios 536 Apr 4 15:43 hosts-uses.cfg drwxr-xr-x 2 nagios nagios 12288 Apr 3 16:23 lost+found -rwxr-xr-x 1 nagios nagios 3092 Apr 4 15:43 misccommands.cfg -rwxr-xr-x 1 nagios nagios 1987817 Apr 4 15:43 serviceextinfo.cfg -rwxr-xr-x 1 nagios nagios 1696675 Apr 4 15:43 services.cfg -rwxr-xr-x 1 nagios nagios 3941 Apr 4 15:43 services-uses.cfg -rw-r--r-- 1 nagios nagiocmd 759981 Apr 7 09:50 status.log -rw-rw-r-- 1 nagios nagios 209360 Apr 7 09:43 status.sav -rwxr-xr-x 1 nagios nagios 1112 Apr 4 15:43 timeperiods.cfg retention_update_interval=15 aggregate_status_updates=15 My nagios stats are as follows: Check Execution Time: 0 / 7 / 0.052 sec Check Latency: 0 / 14 / 0.605 sec # Active Checks: 3404 # Passive Checks: 334 I've done everything that I could implement in the "Tuning Nagios For Maximum Performance" section. At one stage I even nfs mounted the nagios directory to another machine from which I let my clients access the cgi's. Sharing CPU this way worked fine, meaning that whenever the web interface becomes too slow, I'll just add another server in my nagios farm. The only drawback is that the clients can't write to the nagios.cmd file accross the nfs mount. Would have been a nice feature if it did work. Which raises the next question. Nagios is a distributed NMS system, how about making it a distributed client interface system, if you follow what I mean? How can I get this done? Is there anything else I can do to get the response time of the cgi's better? Is this a hardware or software issue? Any suggestions will be highly appreciated. Thanx fred -------------- next part -------------- An HTML attachment was scrubbed... URL: From a.cherrington at notes.manchester.gov.uk Mon Apr 7 15:48:48 2003 From: a.cherrington at notes.manchester.gov.uk (Alwyn Cherrington) Date: Mon, 7 Apr 2003 14:48:48 +0100 Subject: nagios-plugins-1.3.0 error during make all Message-ID: Installed Nagios, trying to install plugins ... on AIX dm05 3 4 0041C9BA4C00, I have perviously been administering NetSaint 7 on another node but did not install it. following ... /usr/local/nagios/libexec/nagios-plugins-1.3.0>make all cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib -g -c check_snmp.c "check_snmp.c", line 170.6: 1506-343 (S) Redeclaration of regex differs from pre vious declaration on line 188 of "/usr/include/regex.h". "check_snmp.c", line 170.6: 1506-382 (I) The type "unsigned char[1024]" of ident ifier regex differs from previous type "unsigned char*(unsigned char*,unsigned c har*,unsigned char*)". make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. dm05:/usr/local/nagios/libexec/nagios-plugins-1.3.0> Any help would be appreciated. regards, Alwyn Cherrington Generic Operator Technology Services Unit Corporate Services Department Manchester City Council Tel: 0161 277 5912 Fax: 0161 277 5955 Email: a.cherrington at notes.manchester.gov.uk ********************************************************************** 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 for the presence of computer viruses. Please contact internet.administrators at notes.manchester.gov.uk with any queries. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tstocking at insynccom.com Mon Apr 7 16:45:19 2003 From: tstocking at insynccom.com (Thomas Stocking) Date: Mon, 7 Apr 2003 07:45:19 -0700 Subject: Escalations result in delayed notification Message-ID: <000501c2fd14$50b4bab0$6601a8c0@olympus.insynccom.com> Hi all, Posted a similar message last month. Guess not many of us use escalations... Looks to me like Nagios 1.0 has some anomalous behavior when service escalations are used. My testing was with Nagios 1.0 on RedHat 8.0. Noted similar (but not identical) behavior on Nagios 1.0b6 and RH 7.3, but that was not a controlled environment. I compiled Nagios with all default options. I didn't fiddle with any of the timing options - basically a vanilla install. No runaway CPU or other issues - tried it on two machines. Summary of behavior: Setting the notification interval (in escalations.cfg) does not always result in notifications being sent out at the stated intervals. Setting the normal_check_interval (in services.cfg) to 1 minute fixes it - i.e. the notifications go out on time. Here's a table of some experiments I ran and the results (nearly all to the second): normal_check_interval 1 2 2 5 9 8 (services.cfg) notification_interval 3 3 5 3 10 10 (escalations.cfg) Resulting notification 3 4 6 5 18 16 separation times So there seems to be some relationship between the normal_check_interval and the time the escalation notifications go out. The same behavior does not seem to be manifested when escalations are not used. If anyone has some insight as to how I can work around this issue, I'd appreciate it. I don't think checking the services once a minute is a practical solution. I'm continuing the experimentation to find some workable, predictable settings, and if I do find them, I'll let the group know. Thanks! Thomas Stocking ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Mon Apr 7 16:59:06 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Mon, 7 Apr 2003 16:59:06 +0200 (CEST) Subject: Maybe it's a bit off topic but... Message-ID: <20030407145906.73519.qmail@web10904.mail.yahoo.com> I apologize for this posting but i think lots of you can help me. I'm using mail to create mail for Nagios notifications and then use Sendmail as MTA program. I need to attach a an archive file to the mail but i don't manage to do so. How can I proceed ? Thanks, Steve ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardoleitao at interacesso.pt Mon Apr 7 17:36:23 2003 From: eduardoleitao at interacesso.pt (Eduardo =?ISO-8859-1?Q?Leit=E3o?=) Date: 07 Apr 2003 16:36:23 +0100 Subject: Configuration sms Message-ID: <1049729783.965.37.camel@Monitor> Hi I'm thinking on the use of the aplication yaps to send sms notifications, but i need to configure if for my country Portugal. I have the number of the contact sender but i don't know how i configure the yaps. Someone can help me. Best regards Edu ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Mon Apr 7 17:47:37 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 7 Apr 2003 10:47:37 -0500 Subject: using check_log query? Message-ID: I would discourage the use of check_log, and instead use check_log.pl in the contrib directory. jc > -----Original Message----- > From: Jasmine [mailto:jasmine.chua at securecirt.com] > Sent: Sunday, April 06, 2003 6:24 AM > To: nagios-users at lists.sourceforge.net; > nagiosplug-help at lists.sourceforge.net > Subject: [Nagios-users] using check_log query? > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Nagios gurus, > > Does anyone know how does the 'check_log' plugin work? I dont > understand the > - -q query option. Do we write a script and pass in to query > between the old > and new pattern of the log files? It will be truly > appreciated and helpful if > anyone who is currently using the check_log plugin can paste > a snippet sample > here. > > Thanks! > - -- > Jasmine Chua > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (GNU/Linux) > > iD8DBQE+kA43NgvTa7Hj2AURAtXnAKCZjRqqrovbhn+RJpbYa0DawPOjOgCfWHU2 > UUo/QkghGx7FxapdO06rWYU= > =mVD3 > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bosse at klykken.com Mon Apr 7 17:46:21 2003 From: bosse at klykken.com (Bosse Klykken) Date: Mon, 7 Apr 2003 17:46:21 +0200 Subject: Eventlog In-Reply-To: <1012BD903945D411915500105A48FF57F06A6C@nt.man.fwltech.com> References: <1012BD903945D411915500105A48FF57F06A6C@nt.man.fwltech.com> Message-ID: <20030407154621.GA16580@klykken.com> On Wed, Apr 02, 2003 at 10:39:59AM +0100, Ewan Leith wrote: > I've had some success with ntsyslog from http://ntsyslog.sourceforge.net/ > it's gpl. I can second that, I am also using ntsyslog to extract NT Eventlogs to a syslog server, and it works just fine on NT/2K/XP. Also consider hacking with syslog-ng and PHP/MySQL to allow your help desk staff to monitor and acknowledge selected system events in your server farm through a web interface. I believe that it's possible to create an alert in Nagios when attention is needed in the event log interface, so that serious eventlogs gets noticed before it is too late. .../Bosse -- Bosse Klykken - http://www.klykken.com/~bosse - PGP: 0x570ABB4E We learn from history that we don't learn from history ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nbrenckle at dsl.net Mon Apr 7 18:04:01 2003 From: nbrenckle at dsl.net (Nicholas Brenckle) Date: 07 Apr 2003 12:04:01 -0400 Subject: Warning w/HTTP test Message-ID: <1049731441.10232.7.camel@localhost> I've just installed Nagios 1.0 and have it set to watch only two servers, the Nagios server itself, and a ping test to one other box. The http test on the Nagios server remains yellow with a 403 Access Denied warning. Yet a test from the command line using the check_http command works fine. Suggestions? Thanks -Nick Command line check: [nbrenckle at redtail nbrenckle]$ /usr/local/nagios/libexec/check_http -H redtail.dsl.net HTTP ok: HTTP/1.1 200 OK - 0.003 second response time |time= 0.003 Error from Nagios web pages: Current Status: WARNING Status Information:HTTP WARNING: HTTP/1.1 403 Forbidden Current Attempt:3/3 State Type:HARD Last Check Type:ACTIVE Last Check Time:04-07-2003 12:01:10 Status Data Age: 0d 0h 1m 4s Next Scheduled Active Check: 04-07-2003 12:03:10 Latency:< 1 second Check Duration:< 1 second Last State Change:04-07-2003 11:53:20 Current State Duration: 0d 0h 8m 54s Last Service Notification:04-07-2003 11:53:20 Current Notification Number:1 I s This Service Flapping?N/A Percent State Change:N/A In Scheduled Downtime? NO Last Update:04-07-2003 12:02:10 ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Mon Apr 7 18:12:48 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Mon, 7 Apr 2003 11:12:48 -0500 Subject: Warning w/HTTP test Message-ID: <7F76AA41FC7DD5119B1E00508BAF0444030B4779@gsmail.govst.edu> Change users to nagios and then see if it will run from command line. Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: Nicholas Brenckle [mailto:nbrenckle at dsl.net] Sent: Monday, April 07, 2003 11:04 AM To: nagios-users Subject: [Nagios-users] Warning w/HTTP test I've just installed Nagios 1.0 and have it set to watch only two servers, the Nagios server itself, and a ping test to one other box. The http test on the Nagios server remains yellow with a 403 Access Denied warning. Yet a test from the command line using the check_http command works fine. Suggestions? Thanks -Nick Command line check: [nbrenckle at redtail nbrenckle]$ /usr/local/nagios/libexec/check_http -H redtail.dsl.net HTTP ok: HTTP/1.1 200 OK - 0.003 second response time |time= 0.003 Error from Nagios web pages: Current Status: WARNING Status Information:HTTP WARNING: HTTP/1.1 403 Forbidden Current Attempt:3/3 State Type:HARD Last Check Type:ACTIVE Last Check Time:04-07-2003 12:01:10 Status Data Age: 0d 0h 1m 4s Next Scheduled Active Check: 04-07-2003 12:03:10 Latency:< 1 second Check Duration:< 1 second Last State Change:04-07-2003 11:53:20 Current State Duration: 0d 0h 8m 54s Last Service Notification:04-07-2003 11:53:20 Current Notification Number:1 I s This Service Flapping?N/A Percent State Change:N/A In Scheduled Downtime? NO Last Update:04-07-2003 12:02:10 ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Mon Apr 7 18:58:45 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 7 Apr 2003 11:58:45 -0500 Subject: RETRY: CPU Question Message-ID: Wild speculation on my part, but the problem you describe could be related to DNS resolution. Or in your case, lack thereof. You might want to check your /etc/resolv.conf and make sure that the first nameserver directive points to a valid IP address, ie, one where a DNS server is able to respond to your queries and reply in a timely manner. My guess is that you have multiple nameservers, and the first one isn't responding but the second one listed is. Give that a try and let us know. jc -----Original Message----- From: Fred Albrecht [mailto:Fred.Albrecht at za.tiscali.com] Sent: Monday, April 07, 2003 3:04 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RETRY: CPU Question Hi Not having received a reply on my previous question, I'll try again. :) (Please tell me where I can ask this question, if this is the wrong place to ask.) My cgi's take about 30 seconds from clicking on their links to displaying something on my screen. I'm running a P4, 512M Red Hat 7.2 (uname shows Linux 2.4.20). System idles at 80% CPU free most of the time, until I hit a cgi which drops the idle down to 0%, until the cgi finishes (as mentioned earlier, 25-30seconds later) and the system goes back to 80% idle. No swap is being used. I've done the following optimizations: Placed my critical files on ramdisk. They are: -rwxr-xr-x 1 nagios nagios 755 Apr 4 15:43 contactgroups.cfg -rwxr-xr-x 1 nagios nagios 2822 Apr 4 15:43 contacts.cfg -rwxr-xr-x 1 nagios nagios 14999 Apr 7 09:43 hostextinfo.cfg -rwxr-xr-x 1 nagios nagios 1565 Apr 4 15:43 hostgroups.cfg -rwxr-xr-x 1 nagios nagios 26585 Apr 4 15:43 hosts.cfg -rwxr-xr-x 1 nagios nagios 536 Apr 4 15:43 hosts-uses.cfg drwxr-xr-x 2 nagios nagios 12288 Apr 3 16:23 lost+found -rwxr-xr-x 1 nagios nagios 3092 Apr 4 15:43 misccommands.cfg -rwxr-xr-x 1 nagios nagios 1987817 Apr 4 15:43 serviceextinfo.cfg -rwxr-xr-x 1 nagios nagios 1696675 Apr 4 15:43 services.cfg -rwxr-xr-x 1 nagios nagios 3941 Apr 4 15:43 services-uses.cfg -rw-r--r-- 1 nagios nagiocmd 759981 Apr 7 09:50 status.log -rw-rw-r-- 1 nagios nagios 209360 Apr 7 09:43 status.sav -rwxr-xr-x 1 nagios nagios 1112 Apr 4 15:43 timeperiods.cfg retention_update_interval=15 aggregate_status_updates=15 My nagios stats are as follows: Check Execution Time: 0 / 7 / 0.052 sec Check Latency: 0 / 14 / 0.605 sec # Active Checks: 3404 # Passive Checks: 334 I've done everything that I could implement in the "Tuning Nagios For Maximum Performance" section. At one stage I even nfs mounted the nagios directory to another machine from which I let my clients access the cgi's. Sharing CPU this way worked fine, meaning that whenever the web interface becomes too slow, I'll just add another server in my nagios farm. The only drawback is that the clients can't write to the nagios.cmd file accross the nfs mount. Would have been a nice feature if it did work. Which raises the next question. Nagios is a distributed NMS system, how about making it a distributed client interface system, if you follow what I mean? How can I get this done? Is there anything else I can do to get the response time of the cgi's better? Is this a hardware or software issue? Any suggestions will be highly appreciated. Thanx fred ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Mon Apr 7 19:09:46 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 7 Apr 2003 12:09:46 -0500 Subject: Maybe it's a bit off topic but... Message-ID: Try something like this (as a proof of concept): uuencode name-of-file name-of-file | mail email.address at example.com jc > -----Original Message----- > From: Steve Dussaux [mailto:stevox2000 at yahoo.com] > Sent: Monday, April 07, 2003 9:59 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Maybe it's a bit off topic but... > > > I apologize for this posting but i think lots of you can help me. > I'm using mail to create mail for Nagios notifications and > then use Sendmail as MTA program. > I need to attach a an archive file to the mail but i don't > manage to do so. > How can I proceed ? > > Thanks, > Steve > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > Yahoo! Mail : http://fr.mail.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Mon Apr 7 19:16:56 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Mon, 7 Apr 2003 18:16:56 +0100 Subject: nagios-plugins-1.3.0 error during make all Message-ID: <53104E20A25CD411B556009027E50636064D5562@pnnemp02.pn.egg.com> Please remove nagios-users from mailing list when replying. Alwyn, Looks like line 170 is redundant as I can't see any bit of the code that uses it. The errors are probably due to AIX using a variable called regex as well. Please delete the line and do another make all. I'll remove the line from CVS later tonight. Ton > -----Original Message----- > From: Alwyn Cherrington [SMTP:a.cherrington at notes.manchester.gov.uk] > Sent: Monday, April 07, 2003 2:49 PM > To: nagios-users at lists.sourceforge.net; > nagiosplug-help at lists.sourceforge.net > Subject: [Nagiosplug-help] nagios-plugins-1.3.0 error during make all > > > Installed Nagios, trying to install plugins ... on AIX dm05 3 4 > 0041C9BA4C00, I have perviously been administering NetSaint 7 on another > node but did not install it. > > following ... /usr/local/nagios/libexec/nagios-plugins-1.3.0>make all > > > cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib > -g -c check_snmp.c > "check_snmp.c", line 170.6: 1506-343 (S) Redeclaration of regex differs > from pre > vious declaration on line 188 of "/usr/include/regex.h". > "check_snmp.c", line 170.6: 1506-382 (I) The type "unsigned char[1024]" of > ident > ifier regex differs from previous type "unsigned char*(unsigned > char*,unsigned c > har*,unsigned char*)". > make: 1254-004 The error code from the last command is 1. > > > Stop. > make: 1254-004 The error code from the last command is 1. > > > Stop. > dm05:/usr/local/nagios/libexec/nagios-plugins-1.3.0> > > Any help would be appreciated. > > regards, > > Alwyn Cherrington > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg at intouch.ca Mon Apr 7 19:22:14 2003 From: greg at intouch.ca (Greg Webster) Date: Mon, 7 Apr 2003 10:22:14 -0700 Subject: Maybe it's a bit off topic but... In-Reply-To: References: Message-ID: <20030407102214.2bedc08d.greg@intouch.ca> Possibly a better way would be to use 'mutt' on the command line instead of mail. It allows file attachments natively. Greg On Mon, 7 Apr 2003 12:09:46 -0500: Carroll, Jim P [Contractor] skribon: > Try something like this (as a proof of concept): > > uuencode name-of-file name-of-file | mail email.address at example.com > > jc > > > > -----Original Message----- > > From: Steve Dussaux [mailto:stevox2000 at yahoo.com] > > Sent: Monday, April 07, 2003 9:59 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Maybe it's a bit off topic but... > > > > > > I apologize for this posting but i think lots of you can help me. > > I'm using mail to create mail for Nagios notifications and > > then use Sendmail as MTA program. > > I need to attach a an archive file to the mail but i don't > > manage to do so. > > How can I proceed ? > > > > Thanks, > > Steve > > > > ___________________________________________________________ > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > > Yahoo! Mail : http://fr.mail.yahoo.com > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > No other company gives more support or power for your dedicated > > server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to > > /dev/null > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From echase at studentweb.providence.edu Mon Apr 7 20:01:29 2003 From: echase at studentweb.providence.edu (Edward Chase) Date: Mon, 07 Apr 2003 14:01:29 -0400 Subject: check_host_alive VS. ping service Message-ID: <5.2.0.9.0.20030407135616.0320d498@postoffice.providence.edu> I'm currently working on the setup of Nagios for our network and am still in the process of figuring out how it works. Right now I've got 175 hosts and 179 services being monitored. I've just noticed that a when a host is being monitored, it is done via Ping. Now I've setup Ping checks in services.cfg for all of the hosts. This is redundant, yes? --------------------------------------------------------------- Edward F. Chase III | echase at studentweb providence edu Providence College | http://studentweb.providence.edu Computer Services | Providence, RI 02918 | ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Mon Apr 7 20:42:57 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 07 Apr 2003 14:42:57 -0400 (EDT) Subject: check_host_alive VS. ping service In-Reply-To: <5.2.0.9.0.20030407135616.0320d498@postoffice.providence.edu> References: <5.2.0.9.0.20030407135616.0320d498@postoffice.providence.edu> Message-ID: On Mon, 7 Apr 2003, Edward Chase wrote: > > I'm currently working on the setup of Nagios for our network and am still > in the process of figuring out how it works. > > Right now I've got 175 hosts and 179 services being monitored. > > I've just noticed that a when a host is being monitored, it is done via > Ping. Now I've setup Ping checks in services.cfg for all of the > hosts. This is redundant, yes? > Yes and no - the command used for the host-check is only invoked when the service check fails - so it must provide a method of determining if a host is up. Ping indicates that at least the host's ip stack is working. If the host-check is only invoked when the service fails - that implies that you must have at least one service check for each host. And you cannot depend on the host check if all the services are ok. For the simplest case of monitoring a host on the net, one tends to use ping. So the check is identical for service and host. For the more complex cases - you can define services such as http/dns/smtp/etc for the devices and leave the ping check as the host-check confused yet :) -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From madavis at commspeed.net Mon Apr 7 20:30:11 2003 From: madavis at commspeed.net (Mike A. Davis) Date: Mon, 7 Apr 2003 11:30:11 -0700 Subject: Host vs. Service Notifications Message-ID: <009101c2fd33$b97bc150$fa2aa93f@mikeypoo> Hi. I use Nagios on a large scale network, but to introduce my problem, I will limit this down to just 2 hosts. I have Host A, which is a parent of Host B. Both hosts have only one service defined to them, which is ping. In the host configuration, I use the notification options d,r. In the service configuration, I use the notification options w,c,r,u. I have nothing defined in my dependencies.cfg file. If Host A and Host B go down, I only receive the HOST DOWN notification for Host A, as Host B is now UNREACHABLE (and I don't have u set in host configuration). This is perfect! However, the problem that I am seeing is when Host A and Host B come up, I receive the SERIVCE UP (ping) notifications for both hosts. Further more, if parent Host A is still down, and Host B comes up, I still receive the SERVICE UP (ping) notification for Host B. The documentation states: Note: Notifications about host or service recoveries are only sent out if a notification was sent out for the original problem. It doesn't make sense to get a recovery notification for something you never knew was a problem. I guess what I'm getting at is, why am I receiving the SERVICE UP's instead of the HOST UP's? Could this have something to do with the problem? Even so, I never get a notification of the PING service going down (since the service failure fell back on a host check), so I shouldn't have received the service up notification either? In my situation, if a switch were to be offline for a good 10 minutes, once it came back up, I would get 100+ pages about services coming back up. eeeeek! Anyone have any ideas on this? Any help would be greatly appreciated. Using RedHat 8.0, Nagios 1.0 I've recompiled Nagios with --enable-DEBUG4 but did not find any information what would lead me to a solution. Regardless, it is posted below: ################################################### DEBUG4 LOG OF HOST A AND HOST B GOING DOWN ################################################### HOST NOTIFICATION ATTEMPT: Host 'hosta' Current time: Sun Apr 6 19:09:25 2003 HOST STATE CHANGE! Current notification number: 1 Current Time: Sun Apr 6 19:09:25 2003 Next acceptable notification time: Sun Apr 6 20:09:25 2003 Notify user mike Raw Command: ---- snip ---- Processed Command: ---- snip ---- APPROPRIATE CONTACTS HAVE BEEN NOTIFIED HOST NOTIFICATION ATTEMPT: Host 'hostb' Current time: Sun Apr 6 19:13:15 2003 We shouldn't notify about UNREACHABLE status for this host! Sending out a notification for this host is not viable at this time. ################################################# DEBUG4 LOG OF HOST A AND HOST B COMING UP ################################################# SERVICE NOTIFICATION ATTEMPT: Service 'PING' on host 'hosta' Current time: Sun Apr 6 19:14:55 2003 Current notification number: 1 Calculating next valid notification time... Default interval: 240 Interval used for calculating next valid notification time: 240 Current Time: Sun Apr 6 19:14:55 2003 Next acceptable notification time: Sun Apr 6 23:14:55 2003 Service notification will NOT be escalated Notify user mike Raw Command: ---- snip ---- Processed Command: ---- snip ---- APPROPRIATE CONTACTS HAVE BEEN NOTIFIED SERVICE NOTIFICATION ATTEMPT: Service 'PING' on host 'hostb' Current time: Sun Apr 6 19:17:45 2003 Current notification number: 1 Calculating next valid notification time... Default interval: 240 Interval used for calculating next valid notification time: 240 Current Time: Sun Apr 6 19:17:45 2003 Next acceptable notification time: Sun Apr 6 23:17:45 2003 Service notification will NOT be escalated Notify user mike Raw Command: ---- snip ---- Processed Command: ---- snip ---- APPROPRIATE CONTACTS HAVE BEEN NOTIFIED ################################################ DEBUG4 LOG OF HOST A DOWN AND HOST B COMING UP ################################################ HOST NOTIFICATION ATTEMPT: Host 'hosta' Current time: Sun Apr 6 19:52:59 2003 Its not yet time to re-notify the contacts about this host problem... Next acceptable notification time: Sun Apr 6 20:46:43 2003 Sending out a notification for this host is not viable at this time. SERVICE NOTIFICATION ATTEMPT: Service 'PING' on host 'hostb' Current time: Sun Apr 6 19:55:09 2003 Current notification number: 1 Calculating next valid notification time... Default interval: 240 Interval used for calculating next valid notification time: 240 Current Time: Sun Apr 6 19:55:09 2003 Next acceptable notification time: Sun Apr 6 23:55:09 2003 Service notification will NOT be escalated Notify user mike Raw Command: ---- snip ---- Processed Command: ---- snip ---- APPROPRIATE CONTACTS HAVE BEEN NOTIFIED ######## END OF DEBUG ########## If any other information is needed, please let me know. Thanks in advance! Mike A. Davis -------------- next part -------------- An HTML attachment was scrubbed... URL: From echase at studentweb.providence.edu Mon Apr 7 21:07:37 2003 From: echase at studentweb.providence.edu (Edward Chase) Date: Mon, 07 Apr 2003 15:07:37 -0400 Subject: check_host_alive VS. ping service In-Reply-To: References: <5.2.0.9.0.20030407135616.0320d498@postoffice.providence.edu> Message-ID: <5.2.0.9.0.20030407150648.03234730@studentweb.providence.edu> If there is no service check defined, it will do the host check? This appears to be the case on the one host that I have removed the ping service check for. Which would be the Nagios preferred method? (ping service check and host check) or (just host check)? Actually re-reading your response, it would seem that the ping service check and host check would be the preferred method. At 02:42 PM 4/7/2003 -0400, Subhendu Ghosh wrote: >Yes and no - the command used for the host-check is only invoked when the >service check fails - so it must provide a method of determining if a host >is up. Ping indicates that at least the host's ip stack is working. > >If the host-check is only invoked when the service fails - that implies >that you must have at least one service check for each host. And you >cannot depend on the host check if all the services are ok. > >For the simplest case of monitoring a host on the net, one tends to use >ping. So the check is identical for service and host. > >For the more complex cases - you can define services such as >http/dns/smtp/etc for the devices and leave the ping check as the >host-check > >confused yet :) > >-- > >-sg >On Mon, 7 Apr 2003, Edward Chase wrote: > > > > > I'm currently working on the setup of Nagios for our network and am still > > in the process of figuring out how it works. > > > > Right now I've got 175 hosts and 179 services being monitored. > > > > I've just noticed that a when a host is being monitored, it is done via > > Ping. Now I've setup Ping checks in services.cfg for all of the > > hosts. This is redundant, yes? > > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarpe01 at usg.tufts.edu Mon Apr 7 21:38:20 2003 From: scarpe01 at usg.tufts.edu (Stephen Carpenter) Date: Mon, 7 Apr 2003 15:38:20 -0400 Subject: comments in downtime vs acknowledgements Message-ID: <20030407193820.GB16517@brake.usg.tufts.edu> SO I have a report here and am looking over our comments. Why is it that when there is a downtime the comment gets logged and then goes away when the downtime is over... but when a problem is ackknowledged the comment gets logged and then remains after the acknowledgement is gone? Is there any way to affect this? We would love for the acknowledgement comments to go away when the acknowldgement is over, just like the down times do. -Steve -- "The Creation of the Universe was made possible by a grant from Texas Instruments. " -- PBS ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Mon Apr 7 21:51:31 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 07 Apr 2003 15:51:31 -0400 Subject: check-host-alive in hosts.cfg Message-ID: <1049745090.28866.8.camel@x> Hi all, I was wondering what is the point of adding a service (check_ping) into the services.cfg file, if there is a "check-host-alive" in the hosts.cfg file. I tryed, but my host is not checked anymore. So what is the check-host-alive for in hosts.cfg ? thank you all ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marek.dohojda at linksys.com Mon Apr 7 22:00:29 2003 From: marek.dohojda at linksys.com (Marek Dohojda) Date: Mon, 7 Apr 2003 13:00:29 -0700 Subject: Availability Message-ID: <202FFF2E883FC640B0E12B88EA98FD37036966@mail2.hq.linksys.com> Hello everyone I have a quick question. Ever since I took away all authentication for nagios (I know its bad idea, but my manager didn't want to type username/password every time) I can't get correct availability report. It always shows 100% uptime even though I know that that's not correct. Marek. ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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+nagios at undergrid.net Mon Apr 7 22:46:25 2003 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Mon, 7 Apr 2003 13:46:25 -0700 Subject: check-host-alive in hosts.cfg In-Reply-To: <1049745090.28866.8.camel@x> References: <1049745090.28866.8.camel@x> Message-ID: <20030407204625.GA13152@UnderGrid.net> You have to have atleast 1 service assigned for a host in order for it to be checked... If you had other services besides ping and just removed the ping service check than it should be fine but if there are not other services for a host then ping is the easiest minimum solution... Jeremy On Mon, Apr 07, 2003 at 03:51:31PM -0400, Frank Gadot wrote: > Hi all, > > I was wondering what is the point of adding a service (check_ping) into > the services.cfg file, if there is a "check-host-alive" in the hosts.cfg > file. I tryed, but my host is not checked anymore. So what is the > check-host-alive for in hosts.cfg ? > > thank you all > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gopinath_Pulyankote at affymetrix.com Mon Apr 7 23:27:01 2003 From: Gopinath_Pulyankote at affymetrix.com (Pulyankote, Gopinath) Date: Mon, 7 Apr 2003 14:27:01 -0700 Subject: comments in downtime vs acknowledgements Message-ID: <48F1F432BF75D6118FAC0002B325BE3601A9BAAA@ntex04.affymetrix.com> Is it because the "Persistent" flag is set when you acknowledge? -----Original Message----- From: Stephen Carpenter [mailto:scarpe01 at usg.tufts.edu] Sent: Monday, April 07, 2003 12:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] comments in downtime vs acknowledgements SO I have a report here and am looking over our comments. Why is it that when there is a downtime the comment gets logged and then goes away when the downtime is over... but when a problem is ackknowledged the comment gets logged and then remains after the acknowledgement is gone? Is there any way to affect this? We would love for the acknowledgement comments to go away when the acknowldgement is over, just like the down times do. -Steve -- "The Creation of the Universe was made possible by a grant from Texas Instruments. " -- PBS ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Apr 8 00:43:43 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 7 Apr 2003 17:43:43 -0500 Subject: comments in downtime vs acknowledgements Message-ID: <5DB017510818EC468B05BD7BD9EACF83030ED9F7@mismail.ena.com> According to the command description on the Acknowledgement page, the prsistence is over Nagios restarts, not service recoveries -- "If you would like the service comment to be retained between restarts of Nagios, check the 'Persistent' checkbox." -- Marc > -----Original Message----- > From: Pulyankote, Gopinath [mailto:Gopinath_Pulyankote at affymetrix.com] > Sent: Monday, April 07, 2003 4:27 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] comments in downtime vs acknowledgements > > Is it because the "Persistent" flag is set when you acknowledge? > -----Original Message----- > From: Stephen Carpenter [mailto:scarpe01 at usg.tufts.edu] > Sent: Monday, April 07, 2003 12:38 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] comments in downtime vs acknowledgements > > > SO I have a report here and am looking over our comments. Why is it > that when there is a downtime the comment gets logged and then goes > away when the downtime is over... but when a problem is ackknowledged > the comment gets logged and then remains after the acknowledgement is > gone? > > Is there any way to affect this? We would love for the acknowledgement > comments to go away when the acknowldgement is over, just like the > down times do. > > -Steve > > -- > "The Creation of the Universe was made possible by a grant from Texas > Instruments. " > -- PBS > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daehenoc at optusnet.com.au Tue Apr 8 01:26:36 2003 From: daehenoc at optusnet.com.au (daehenoc at optusnet.com.au) Date: Tue, 08 Apr 2003 09:26:36 +1000 Subject: Checking for user logon (windows) Message-ID: <200304072326.h37NQaa08512@mail007.syd.optusnet.com.au> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From skaten at o1.com Tue Apr 8 01:35:53 2003 From: skaten at o1.com (Stephen Katen) Date: Mon, 7 Apr 2003 16:35:53 -0700 Subject: check_snmp calculations? Message-ID: My goal is to find the percentage of unused modems on a lucent TNT. I am able to obtain the number of used modems, and I am able to obtain the number of total modems, but it seems there is no OID for percentages on the device. Is there a way to take the total number of modems, and the used modems and obtain the percentage breakdown with the check_snmp command? katen ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.clayton at intec.co.za Tue Apr 1 11:56:28 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Tue, 1 Apr 2003 11:56:28 +0200 Subject: nagios plugin on solaris 2.6 Message-ID: <9290BC9741D67F43BDAAC84144FF870DB69296@intecserver007.intec.co.za> I have a zipped tarball of nagios plugins compiled on Solaris 2.6. Mail me direct and I can send. cheers -----Original Message----- From: hrishy [mailto:hrishys at yahoo.co.uk] Sent: Tuesday, April 01, 2003 10:24 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios plugin on solaris 2.6 Hi I am not able to get the check_load working on solaris 2.6..when i run check_loda i am getting the folowing error.. $ ./check_load ld.so.1: ./check_load: fatal: libc.so.1: version `SUNW_1.18' not found (require) Killed $ uname -a SunOS zblrdv90 5.6 Generic_105181-26 sun4u sparc SUNW,Ultra-5_10 can somebody tell me whats going on regards Hrishy __________________________________________________ Yahoo! Plus For a better Internet experience http://www.yahoo.co.uk/btoffer ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Apr 8 04:44:19 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 07 Apr 2003 22:44:19 -0400 (EDT) Subject: check_snmp calculations? In-Reply-To: References: Message-ID: On Mon, 7 Apr 2003, Stephen Katen wrote: > My goal is to find the percentage of unused modems on a lucent TNT. > > I am able to obtain the number of used modems, and I am able to obtain > the number of total modems, but it seems there is no OID for percentages > on the device. Is there a way to take the total number of modems, and > the used modems and obtain the percentage breakdown with the check_snmp > command? > > katen > check_snmp currently does not support operations on returned values. workarounds: 1. take a look at contrib/check_maxchannels.pl (monitor ISDN lines and modems on Ascend MAX 200/4000/6000/TNT) 2. if you know the number of modems (should be relatively fixed per device :) you can include that in the "-u" label eg: check_snmp -H host -C comm -o oid_of_unused -u " unused (of 48 modems)" 3. rework check_ifoperstatus to do the operations you are interested in.. of 1 maybe what you are looking for ;) -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From admccray at thespring.org Tue Apr 8 06:09:33 2003 From: admccray at thespring.org (admccray at thespring.org) Date: Mon, 7 Apr 2003 23:09:33 -0500 Subject: Nagios-users digest, Vol 1 #1405 - 14 msgs Message-ID: <13F0DF10A2E@shelter.thespring.org> I am out of the office for the week of April 7 and will return on Monday April 14. If this is a computer related issue, please contact vlwilliams at thespring.org for your support needs. If you need to speak to me directly, I can be reached via desk at 813-247-5433 ext 329 or via cell phone at 813-210-0421. Adrian McCray LAN Manager ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Tue Apr 8 07:52:28 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Tue, 8 Apr 2003 07:52:28 +0200 Subject: RETRY: CPU Question Message-ID: Hi Jim I had (oops) one nameserver configured in my /etc/resolv.conf. And it is a valid address. I have updated it to contain more nameservers now, placing others before the one I had. The response is still the same. BTW, why do you say that DNS might be the problem? In my configs I specify ip's for my host addresses, not fully qualified domain names. Do the cgi's try to resolve those ip's? :\ fred > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: 07 April 2003 06:59 PM > To: Fred Albrecht; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] RETRY: CPU Question > > > Wild speculation on my part, but the problem you describe > could be related > to DNS resolution. Or in your case, lack thereof. > > You might want to check your /etc/resolv.conf and make sure > that the first > nameserver directive points to a valid IP address, ie, one where a DNS > server is able to respond to your queries and reply in a > timely manner. > > My guess is that you have multiple nameservers, and the first > one isn't > responding but the second one listed is. > > Give that a try and let us know. > > jc > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mian at swemic.net Tue Apr 8 08:52:40 2003 From: mian at swemic.net (Michael Andersson) Date: Tue, 8 Apr 2003 08:52:40 +0200 Subject: Exclude a host! Message-ID: <20030408085240.41835b46.mian@swemic.net> Hi, just a short question. When you have defined a wildcard as host_name in services.cfg, is it possible to exclude some hosts? E.g. define service{ host_name * service_description Standard-Ping ... } Here I just want to exclude some hosts due to internal firewall policy. E.g. define service{ host_name * --> exclude_hosts Host-Not-To-Ping service_description Standard-PING ... } Just could not find this in any doc nor in the faq. Regards, Michael ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Tue Apr 8 10:12:48 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Tue, 8 Apr 2003 09:12:48 +0100 Subject: RETRY: CPU Question Message-ID: <1012BD903945D411915500105A48FF57F06AA3@nt.man.fwltech.com> Am I reading that correctly that your services.cfg and serviceextinfo.cfg are 1.6MB and 2MB respectively? That's an awful lot of text. The cgis parse the extinfo file on every load, and possibly the services file too, which will cause massive slowdown with files that size. nagios2 will including caching of all config files, along with various other bits and pieces that might help. until then I think you need to look at making much more use of the template system to reduce the amount of info in your config files, or maybe try using mysql to store the information. Ewan -----Original Message----- From: Fred Albrecht [mailto:Fred.Albrecht at za.tiscali.com] Sent: 07 April 2003 09:04 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RETRY: CPU Question Hi Not having received a reply on my previous question, I'll try again. :) (Please tell me where I can ask this question, if this is the wrong place to ask.) My cgi's take about 30 seconds from clicking on their links to displaying something on my screen. I'm running a P4, 512M Red Hat 7.2 (uname shows Linux 2.4.20). System idles at 80% CPU free most of the time, until I hit a cgi which drops the idle down to 0%, until the cgi finishes (as mentioned earlier, 25-30seconds later) and the system goes back to 80% idle. No swap is being used. I've done the following optimizations: Placed my critical files on ramdisk. They are: -rwxr-xr-x 1 nagios nagios 755 Apr 4 15:43 contactgroups.cfg -rwxr-xr-x 1 nagios nagios 2822 Apr 4 15:43 contacts.cfg -rwxr-xr-x 1 nagios nagios 14999 Apr 7 09:43 hostextinfo.cfg -rwxr-xr-x 1 nagios nagios 1565 Apr 4 15:43 hostgroups.cfg -rwxr-xr-x 1 nagios nagios 26585 Apr 4 15:43 hosts.cfg -rwxr-xr-x 1 nagios nagios 536 Apr 4 15:43 hosts-uses.cfg drwxr-xr-x 2 nagios nagios 12288 Apr 3 16:23 lost+found -rwxr-xr-x 1 nagios nagios 3092 Apr 4 15:43 misccommands.cfg -rwxr-xr-x 1 nagios nagios 1987817 Apr 4 15:43 serviceextinfo.cfg -rwxr-xr-x 1 nagios nagios 1696675 Apr 4 15:43 services.cfg -rwxr-xr-x 1 nagios nagios 3941 Apr 4 15:43 services-uses.cfg -rw-r--r-- 1 nagios nagiocmd 759981 Apr 7 09:50 status.log -rw-rw-r-- 1 nagios nagios 209360 Apr 7 09:43 status.sav -rwxr-xr-x 1 nagios nagios 1112 Apr 4 15:43 timeperiods.cfg retention_update_interval=15 aggregate_status_updates=15 My nagios stats are as follows: Check Execution Time: 0 / 7 / 0.052 sec Check Latency: 0 / 14 / 0.605 sec # Active Checks: 3404 # Passive Checks: 334 I've done everything that I could implement in the "Tuning Nagios For Maximum Performance" section. At one stage I even nfs mounted the nagios directory to another machine from which I let my clients access the cgi's. Sharing CPU this way worked fine, meaning that whenever the web interface becomes too slow, I'll just add another server in my nagios farm. The only drawback is that the clients can't write to the nagios.cmd file accross the nfs mount. Would have been a nice feature if it did work. Which raises the next question. Nagios is a distributed NMS system, how about making it a distributed client interface system, if you follow what I mean? How can I get this done? Is there anything else I can do to get the response time of the cgi's better? Is this a hardware or software issue? Any suggestions will be highly appreciated. Thanx fred ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Tue Apr 8 11:06:02 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Tue, 8 Apr 2003 11:06:02 +0200 Subject: RETRY: CPU Question Message-ID: Hi Ewan > Am I reading that correctly that your services.cfg and > serviceextinfo.cfg > are 1.6MB and 2MB respectively? That's an awful lot of text. Yep it is, but luckily I don't generate it by hand. ;) > The cgis parse the extinfo file on every load, and possibly > the services > file too, which will cause massive slowdown with files that size. I thought this was where my problem lies... > nagios2 will including caching of all config files, along > with various other > bits and pieces that might help. until then I think you need > to look at > making much more use of the template system to reduce the > amount of info in > your config files, or maybe try using mysql to store the information. I AM using the template system, but I agree not 100%. I agree that there is still some repitition. I'll try to optimize the files, now that I know that this is the problem. Thanx. I'll report back when I've cleaned up a bit. :) (I can smile again) fred ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frankie at etsetb.upc.es Tue Apr 8 12:51:25 2003 From: frankie at etsetb.upc.es (Francesc Guasch) Date: Tue, 08 Apr 2003 12:51:25 +0200 Subject: is repairer production-stable ? Message-ID: <3E92A9AD.7040207@etsetb.upc.es> I've found the repairer plugin in the nagios download page and it looks great. But the README is quite small and I didn't find any reference to it in the archives. Is it usable ? Maybe is there a better way to restart the services that fail ? ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Tue Apr 8 14:56:18 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Tue, 8 Apr 2003 20:56:18 +0800 Subject: Nagios nsca addon help In-Reply-To: References: Message-ID: <200304082056.19831.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Sentono, Sorry I have been busy with work and dint have time to give you a proper reply. To your question. First: when you say that you were not successful in configuring nsca addon, I am afraid you need to be more specific like - is it a connection problem? Or some other issues? And, did you try checking the log files for any hints? 2nd: Failover network monitoring. Go through the documentation found at http://nagios.sourceforge.net/docs/1_0/redundancy.html 3rd: You dont have to customise your own script. If you have read through the documentation you will come across a script call 'submit_check_result'. http://nagios.sourceforge.net/docs/1_0/distributed.html Overall I think you should really read the documentation first and if you still dont understand you can mail to the list as more heads are better than one. Providing config snippets. Thanks. On Sunday 06 April 2003 18:26, you wrote: > hi jasmine, > > > sorry for bothering you i just find your email from mailing list nagios > so far i didn't succes to configure nagios with nsca addon can you help me > ? i wan't to make 2 host that configure like failover network monitoring. > > could you tell me how can i make it running > or tell me a simple script that can help me to configure nsca to > communicate and check service between 2 host or more any suggest would be > appreciate > thanks :) > > Sentono - -- Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+ksbyNgvTa7Hj2AURAuF1AJwMUktaiZlFMsIlZWjLRfJer0RhYACbBQxh WtFqK68uleT0FsljPGuej6U= =jv1H -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrichar4 at d.umn.edu Tue Apr 8 15:30:38 2003 From: jrichar4 at d.umn.edu (Josh Richard) Date: Tue, 08 Apr 2003 08:30:38 -0500 Subject: Availability References: <202FFF2E883FC640B0E12B88EA98FD37036966@mail2.hq.linksys.com> Message-ID: <3E92CEFE.3000703@d.umn.edu> I am having the same problem with authentication turned on. In addition, some hosts show no data when I try to generate an availability report. All are using the template based method of inheritance. Regards, Josh Richard Marek Dohojda wrote: >Hello everyone > >I have a quick question. Ever since I took away all authentication for >nagios (I know its bad idea, but my manager didn't want to type >username/password every time) I can't get correct availability report. It >always shows 100% uptime even though I know that that's not correct. > >Marek. > > >------------------------------------------------------- >This SF.net email is sponsored by: ValueWeb: >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >No other company gives more support or power for your dedicated server >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > -- Josh Richard Information Technology Systems and Services University of Minnesota Duluth -- ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at cloud9.net Tue Apr 8 15:57:27 2003 From: mark at cloud9.net (Mark Hennessy) Date: Tue, 8 Apr 2003 09:57:27 -0400 (EDT) Subject: Question about service checks run over NRPE Message-ID: If a service check is run over NRPE against the services running on a remote host, if NRPE itself times out or does not respond, would this be reported as a STATE_CRITICAL, a STATE_WARNING, or a STATE_UNKNOWN? -- Mark P. Hennessy mark at cloud9.net ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pascal.renaut at electricite-strasbourg.fr Tue Apr 8 15:47:44 2003 From: pascal.renaut at electricite-strasbourg.fr (Pascal RENAUT/GROUPE-ES) Date: Tue, 8 Apr 2003 15:47:44 +0200 Subject: check_oracle : Cannot determine ORACLE_HOME for sid 'test.world' Message-ID: Hi all, I've got a little problem. When I execute the "check_oracle --tns test.world" on my local server, it works fine but when I execute the same check by nrpe (since my nagios server), I've got this message : "cannot determine ORACLE_HOME for sid test.world" I checked that my ORACLE_HOME environment variable is set, ORACLE_HOME/bin is my PATH, tnsname.ora file is properly configured and my oratab file contains my ORACLE_SID:ORACLE_HOME:Y Can you help me? .................................................................................................... Pascal RENAUT / D?partement Ing?nierie R?seaux (I.R.) / Groupe Electricit? de Strasbourg / 67953 Strasbourg Cedex 9 T?l : 33 (0) 369 20 6138 / Fax : 33 (0) 369 20 6045 / Email : pascal.renaut at electricite-strasbourg.fr ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue Apr 8 16:56:33 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 8 Apr 2003 09:56:33 -0500 Subject: RETRY: CPU Question Message-ID: Ah well, it was worth a shot. No, I was thinking more in terms of your webserver trying to do a reverse lookup for every hit it receives, unless this is something you've disabled. jc > -----Original Message----- > From: Fred Albrecht [mailto:Fred.Albrecht at za.tiscali.com] > Sent: Tuesday, April 08, 2003 12:52 AM > To: Carroll, Jim P [Contractor]; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] RETRY: CPU Question > > > Hi Jim > > I had (oops) one nameserver configured in my > /etc/resolv.conf. And it is a valid address. I have updated > it to contain more nameservers now, placing others before the > one I had. The response is still the same. > > BTW, why do you say that DNS might be the problem? In my > configs I specify ip's for my host addresses, not fully > qualified domain names. Do the cgi's try to resolve those ip's? > > :\ > fred > > > -----Original Message----- > > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: 07 April 2003 06:59 PM > To: Fred Albrecht; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] RETRY: CPU Question > > > Wild speculation on my part, but the problem you describe > could be related > to DNS resolution. Or in your case, lack thereof. > > You might want to check your /etc/resolv.conf and make sure > that the first > nameserver directive points to a valid IP address, ie, one where a DNS > server is able to respond to your queries and reply in a > timely manner. > > My guess is that you have multiple nameservers, and the first > one isn't > responding but the second one listed is. > > Give that a try and let us know. > > jc > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue Apr 8 17:05:41 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 8 Apr 2003 10:05:41 -0500 Subject: leveraging MON Message-ID: Greets to all, We're in the process of putting an Egenera bladeframe system through its paces. I learned yesterday that they use MON for monitoring critical processes. I've never once looked at MON, so forgive me for not RTFM/STFW. I was wondering how much of a "round peg, square hole" effort it would be to dovetail MON on the bladeframe hosts with Nagios on my end. I'm guessing it'll require NRPE...? Thoughts...? jc ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Raj.Mudhar at nottingham.ac.uk Tue Apr 8 16:54:20 2003 From: Raj.Mudhar at nottingham.ac.uk (Raj Mudhar) Date: Tue, 08 Apr 2003 15:54:20 +0100 Subject: Scriptalias Alias clarification Message-ID: hi In the manual it says the script-Alias line must come before the Alias line. Otherwise Apache will parse the lines differently. Well im confused as the Alias section is before the script alias section in my httpd.conf file (rh8). So what are u asking? swap the two sections around or what? ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Tue Apr 8 17:46:21 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Tue, 8 Apr 2003 10:46:21 -0500 Subject: nsclient connection refused after restart Message-ID: <7F76AA41FC7DD5119B1E00508BAF0444A8008D@gsmail.govst.edu> I have searched the nagios.org faq and looked at the mail archives back through November 2002 and didn't find anything relating to this issue, unless I missed which is possible. I'm running nagios 1.0 on a RH 7.2 server with nsclient 1.07.1. I have the nsclient service running on multiple Win2k servers. If anyone restarts one of the Win2k servers while nagios is still running, the Win2k server will come back up and nagios will report 'Connection refused by host'. I will then check the Win2k system and verify that the nsclient service is running. If I then stop and restart the nsclient service; nagios will again start monitoring the affected services successfully. Is there a solution to this issue for the Win2k servers? Tim Van Zee ITS Network Specialist Governors State University -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.atlas at mg-france.fr Tue Apr 8 17:47:28 2003 From: patrick.atlas at mg-france.fr (Dr Patrick Atlas) Date: Tue, 8 Apr 2003 17:47:28 +0200 Subject: Warning: Monitoring process may not be running! Error... In-Reply-To: References: Message-ID: <000c01c2fde6$2acda1e0$3f01a8c0@anhinga> Nagios is running on my server. all seems to be fine and working but on the web interface I can read: Warning: Monitoring process may not be running! I am sure that the nagios daemon is running. This error is occuring after a new installation (new DNS, new Ips), before during the tests, I didn't got this error. Do I forget something to configure? Thanks for any idea. Patrick Atlas ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pierre.buisson at dgi.finances.gouv.fr Tue Apr 8 18:23:34 2003 From: pierre.buisson at dgi.finances.gouv.fr (pierre.buisson at dgi.finances.gouv.fr) Date: Tue, 8 Apr 2003 18:23:34 +0200 Subject: pb with plugin snmp Message-ID: I dont know how to install check_snmp in the libexec directory. I have already install the plugin nagios-plugins-1.3.0 and executed configure - make all - make install, but the compiled version snmp dont go in the libexec directory. Thanks for your help You can see below the log of installation [root at nagios nagios-plugins-1.3.0]# make all Making all in lib make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/lib' make[1]: Rien ` faire pour `all'. make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/lib' Making all in plugins make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugin s' make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugins' Making all in plugins-scripts make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugin s-scripts' make[1]: Rien ` faire pour `all'. make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugins-sc ripts' make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0' make[1]: Rien ` faire pour `all-am'. make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0' [root at nagios nagios-plugins-1.3.0]# [root at nagios nagios-plugins-1.3.0]# make install Making install in lib make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/lib' make[2]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/lib' make[2]: Rien ` faire pour `install-exec-am'. make[2]: Rien ` faire pour `install-data-am'. make[2]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/lib' make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/lib' Making install in plugins make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugin s' make[2]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugin s' /bin/sh ../mkinstalldirs /usr/local/nagios/libexec /usr/bin/install -c -o nagios -g nagios check_disk /usr/local/nagios/libexec/c heck_disk /usr/bin/install -c -o nagios -g nagios check_dummy /usr/local/nagios/libexec/ check_dummy /usr/bin/install -c -o nagios -g nagios check_http /usr/local/nagios/libexec/c heck_http /usr/bin/install -c -o nagios -g nagios check_load /usr/local/nagios/libexec/c heck_load /usr/bin/install -c -o nagios -g nagios check_mrtg /usr/local/nagios/libexec/c heck_mrtg /usr/bin/install -c -o nagios -g nagios check_mrtgtraf /usr/local/nagios/libex ec/check_mrtgtraf /usr/bin/install -c -o nagios -g nagios check_nwstat /usr/local/nagios/libexec /check_nwstat /usr/bin/install -c -o nagios -g nagios check_overcr /usr/local/nagios/libexec /check_overcr /usr/bin/install -c -o nagios -g nagios check_ping /usr/local/nagios/libexec/c heck_ping /usr/bin/install -c -o nagios -g nagios check_procs /usr/local/nagios/libexec/ check_procs /usr/bin/install -c -o nagios -g nagios check_real /usr/local/nagios/libexec/c heck_real /usr/bin/install -c -o nagios -g nagios check_smtp /usr/local/nagios/libexec/c heck_smtp /usr/bin/install -c -o nagios -g nagios check_ssh /usr/local/nagios/libexec/ch eck_ssh /usr/bin/install -c -o nagios -g nagios check_tcp /usr/local/nagios/libexec/ch eck_tcp /usr/bin/install -c -o nagios -g nagios check_time /usr/local/nagios/libexec/c heck_time /usr/bin/install -c -o nagios -g nagios check_udp /usr/local/nagios/libexec/ch eck_udp /usr/bin/install -c -o nagios -g nagios check_ups /usr/local/nagios/libexec/ch eck_ups /usr/bin/install -c -o nagios -g nagios check_users /usr/local/nagios/libexec/ check_users /usr/bin/install -c -o nagios -g nagios check_vsz /usr/local/nagios/libexec/ch eck_vsz /usr/bin/install -c -o nagios -g nagios negate /usr/local/nagios/libexec/negat e /usr/bin/install -c -o nagios -g nagios urlize /usr/local/nagios/libexec/urliz e /usr/bin/install -c -o nagios -g nagios check_nagios /usr/local/nagios/libexec /check_nagios /usr/bin/install -c -o nagios -g nagios check_dns /usr/local/nagios/libexec/ch eck_dns /usr/bin/install -c -o nagios -g nagios check_dns /usr/local/nagios/libexec/ch eck_dns /usr/bin/install -c -o nagios -g nagios check_by_ssh /usr/local/nagios/libexec /check_by_ssh /usr/bin/install -c -o nagios -g nagios check_swap /usr/local/nagios/libexec/c heck_swap /usr/bin/install -c -o nagios -g nagios check_dig /usr/local/nagios/libexec/ch eck_dig /usr/bin/install -c -o nagios -g nagios check_nt /usr/local/nagios/libexec/che ck_nt make install-exec-hook make[3]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugin s' cd /usr/local/nagios/libexec && \ for i in check_ftp check_imap check_nntp check_pop ; do rm -f $i; ln -sf check_t cp $i ; done make[3]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugins' make[2]: Rien ` faire pour `install-data-am'. make[2]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugins' make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugins' Making install in plugins-scripts make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugin s-scripts' make[2]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugin s-scripts' /bin/sh ../mkinstalldirs /usr/local/nagios/libexec /usr/bin/install -c -o nagios -g nagios check_breeze /usr/local/nagios/libexec/ check_breeze /usr/bin/install -c -o nagios -g nagios check_disk_smb /usr/local/nagios/libexe c/check_disk_smb /usr/bin/install -c -o nagios -g nagios check_flexlm /usr/local/nagios/libexec/ check_flexlm /usr/bin/install -c -o nagios -g nagios check_ircd /usr/local/nagios/libexec/ch eck_ircd /usr/bin/install -c -o nagios -g nagios check_log /usr/local/nagios/libexec/che ck_log /usr/bin/install -c -o nagios -g nagios check_ntp /usr/local/nagios/libexec/che ck_ntp /usr/bin/install -c -o nagios -g nagios check_oracle /usr/local/nagios/libexec/ check_oracle /usr/bin/install -c -o nagios -g nagios check_rpc /usr/local/nagios/libexec/che ck_rpc /usr/bin/install -c -o nagios -g nagios check_sensors /usr/local/nagios/libexec /check_sensors /usr/bin/install -c -o nagios -g nagios check_wave /usr/local/nagios/libexec/ch eck_wave /usr/bin/install -c -o nagios -g nagios check_ifstatus /usr/local/nagios/libexe c/check_ifstatus /usr/bin/install -c -o nagios -g nagios check_ifoperstatus /usr/local/nagios/li bexec/check_ifoperstatus /usr/bin/install -c -o nagios -g nagios check_mailq /usr/local/nagios/libexec/c heck_mailq /usr/bin/install -c -o nagios -g nagios utils.sh /usr/local/nagios/libexec/util s.sh /usr/bin/install -c -o nagios -g nagios utils.pm /usr/local/nagios/libexec/util s.pm make[2]: Rien ` faire pour `install-data-am'. make[2]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugins-sc ripts' make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugins-sc ripts' make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0' make[2]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0' make[2]: Rien ` faire pour `install-exec-am'. make[2]: Rien ` faire pour `install-data-am'. make[2]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0' make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0' [root at nagios nagios-plugins-1.3.0]# -------------- next part -------------- An HTML attachment was scrubbed... URL: From mseisdedos at mediafusion.es Tue Apr 8 18:06:39 2003 From: mseisdedos at mediafusion.es (Montse Seisdedos) Date: Tue, 8 Apr 2003 18:06:39 +0200 Subject: problems compiling with debug options Message-ID: <001f01c2fde8$d661f860$520101c0@TECMSEISDEDOS> Hello: I configured nagios this way: ./configure --with-nagios-user=nagios --with-nagios-group=nagios --enable-DEBUG 0 --enable-DEBUG1 --enable-DEBUG2 --enable-DEBUG3 --enable-DEBUG4 --enable-DEBUG5 I got the following errors: gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI avail.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -o avail.cgi ../xdata/xodtemplate.c: In function `xodtemplate_add_object_property': ../xdata/xodtemplate.c:1344: `temp_buffer' undeclared (first use in this function) ../xdata/xodtemplate.c:1344: (Each undeclared identifier is reported only once ../xdata/xodtemplate.c:1344: for each function it appears in.) ../xdata/xodtemplate.c:1346: `NSLOG_CONFIG_ERROR' undeclared (first use in this function) make[1]: *** [avail.cgi] Error 1 make[1]: Saliendo directorio `/u/others/nagios/nagios-1.0/cgi' make: *** [all] Error 2 Can anybody help me??? Mediafusi?n Espa?a, S.A. ? Aviso legal: Este mensaje electr?nico est? dirigido ?nicamente a la(s) direcci?n(es) indicadas anteriormente; el car?cter confidencial, personal e intransferible del mismo est? protegido legalmente. Cualquier revelaci?n, uso o reenv?o no autorizado, completo o en parte, est? prohibido. Si ha recibido este mensaje por equivocaci?n, notif?quelo inmediatamente a la persona que lo ha enviado y borre el mensaje original junto con sus ficheros anexos sin leerlo ni grabarlo, total o parcialmente. Gracias. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Tue Apr 8 18:46:28 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 08 Apr 2003 12:46:28 -0400 (EDT) Subject: pb with plugin snmp In-Reply-To: References: Message-ID: The problem is noted earlier on during the configure process - it could not find an appropriate snmpget program Do you have net-snmp from net-snmp.sourceforge.net ? remove config.cache rerun configure (look for errors about snmp) if ok - run make; make install -sg On Tue, 8 Apr 2003 pierre.buisson at dgi.finances.gouv.fr wrote: > I dont know how to install check_snmp in the libexec directory. > > I have already install the plugin nagios-plugins-1.3.0 and executed > configure - make all - make install, but the compiled version snmp dont > go in the libexec directory. > > Thanks for your help > > You can see below the log of installation > > > [root at nagios nagios-plugins-1.3.0]# make all > Making all in lib > make[1]: Entre dans le ripertoire > `/usr/local/nagios/nagios-plugins-1.3.0/lib' > make[1]: Rien ` faire pour `all'. > make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/lib' > Making all in plugins > make[1]: Entre dans le ripertoire > `/usr/local/nagios/nagios-plugins-1.3.0/plugin > s' > make[1]: Quitte le ripertoire > `/usr/local/nagios/nagios-plugins-1.3.0/plugins' > Making all in plugins-scripts > make[1]: Entre dans le ripertoire > `/usr/local/nagios/nagios-plugins-1.3.0/plugin > s-scripts' > make[1]: Rien ` faire pour `all'. > make[1]: Quitte le ripertoire > `/usr/local/nagios/nagios-plugins-1.3.0/plugins-sc > ripts' > make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0' > make[1]: Rien ` faire pour `all-am'. > make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0' > [root at nagios nagios-plugins-1.3.0]# > > > > [root at nagios nagios-plugins-1.3.0]# make install > Making install in lib > make[1]: Entre dans le ripertoire > `/usr/local/nagios/nagios-plugins-1.3.0/lib' > make[2]: Entre dans le ripertoire > `/usr/local/nagios/nagios-plugins-1.3.0/lib' > make[2]: Rien ` faire pour `install-exec-am'. > make[2]: Rien ` faire pour `install-data-am'. > make[2]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/lib' > make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/lib' > Making install in plugins > make[1]: Entre dans le ripertoire > `/usr/local/nagios/nagios-plugins-1.3.0/plugin > s' > make[2]: Entre dans le ripertoire > `/usr/local/nagios/nagios-plugins-1.3.0/plugin > s' > /bin/sh ../mkinstalldirs /usr/local/nagios/libexec > /usr/bin/install -c -o nagios -g nagios check_disk > /usr/local/nagios/libexec/c > heck_disk > /usr/bin/install -c -o nagios -g nagios check_dummy > /usr/local/nagios/libexec/ > check_dummy > /usr/bin/install -c -o nagios -g nagios check_http > /usr/local/nagios/libexec/c > heck_http > /usr/bin/install -c -o nagios -g nagios check_load > /usr/local/nagios/libexec/c > heck_load > /usr/bin/install -c -o nagios -g nagios check_mrtg > /usr/local/nagios/libexec/c > heck_mrtg > /usr/bin/install -c -o nagios -g nagios check_mrtgtraf > /usr/local/nagios/libex > ec/check_mrtgtraf > /usr/bin/install -c -o nagios -g nagios check_nwstat > /usr/local/nagios/libexec > /check_nwstat > /usr/bin/install -c -o nagios -g nagios check_overcr > /usr/local/nagios/libexec > /check_overcr > /usr/bin/install -c -o nagios -g nagios check_ping > /usr/local/nagios/libexec/c > heck_ping > /usr/bin/install -c -o nagios -g nagios check_procs > /usr/local/nagios/libexec/ > check_procs > /usr/bin/install -c -o nagios -g nagios check_real > /usr/local/nagios/libexec/c > heck_real > /usr/bin/install -c -o nagios -g nagios check_smtp > /usr/local/nagios/libexec/c > heck_smtp > /usr/bin/install -c -o nagios -g nagios check_ssh > /usr/local/nagios/libexec/ch > eck_ssh > /usr/bin/install -c -o nagios -g nagios check_tcp > /usr/local/nagios/libexec/ch > eck_tcp > /usr/bin/install -c -o nagios -g nagios check_time > /usr/local/nagios/libexec/c > heck_time > /usr/bin/install -c -o nagios -g nagios check_udp > /usr/local/nagios/libexec/ch > eck_udp > /usr/bin/install -c -o nagios -g nagios check_ups > /usr/local/nagios/libexec/ch > eck_ups > /usr/bin/install -c -o nagios -g nagios check_users > /usr/local/nagios/libexec/ > check_users > /usr/bin/install -c -o nagios -g nagios check_vsz > /usr/local/nagios/libexec/ch > eck_vsz > /usr/bin/install -c -o nagios -g nagios negate > /usr/local/nagios/libexec/negat > e > /usr/bin/install -c -o nagios -g nagios urlize > /usr/local/nagios/libexec/urliz > e > /usr/bin/install -c -o nagios -g nagios check_nagios > /usr/local/nagios/libexec > /check_nagios > /usr/bin/install -c -o nagios -g nagios check_dns > /usr/local/nagios/libexec/ch > eck_dns > /usr/bin/install -c -o nagios -g nagios check_dns > /usr/local/nagios/libexec/ch > eck_dns > /usr/bin/install -c -o nagios -g nagios check_by_ssh > /usr/local/nagios/libexec > /check_by_ssh > /usr/bin/install -c -o nagios -g nagios check_swap > /usr/local/nagios/libexec/c > heck_swap > /usr/bin/install -c -o nagios -g nagios check_dig > /usr/local/nagios/libexec/ch > eck_dig > /usr/bin/install -c -o nagios -g nagios check_nt > /usr/local/nagios/libexec/che > ck_nt > make install-exec-hook > make[3]: Entre dans le ripertoire > `/usr/local/nagios/nagios-plugins-1.3.0/plugin > s' > cd /usr/local/nagios/libexec && \ > for i in check_ftp check_imap check_nntp check_pop ; do rm -f $i; ln -sf > check_t > cp $i ; done > make[3]: Quitte le ripertoire > `/usr/local/nagios/nagios-plugins-1.3.0/plugins' > make[2]: Rien ` faire pour `install-data-am'. > make[2]: Quitte le ripertoire > `/usr/local/nagios/nagios-plugins-1.3.0/plugins' > make[1]: Quitte le ripertoire > `/usr/local/nagios/nagios-plugins-1.3.0/plugins' > Making install in plugins-scripts > make[1]: Entre dans le ripertoire > `/usr/local/nagios/nagios-plugins-1.3.0/plugin > s-scripts' > make[2]: Entre dans le ripertoire > `/usr/local/nagios/nagios-plugins-1.3.0/plugin > s-scripts' > /bin/sh ../mkinstalldirs /usr/local/nagios/libexec > /usr/bin/install -c -o nagios -g nagios check_breeze > /usr/local/nagios/libexec/ > check_breeze > /usr/bin/install -c -o nagios -g nagios check_disk_smb > /usr/local/nagios/libexe > c/check_disk_smb > /usr/bin/install -c -o nagios -g nagios check_flexlm > /usr/local/nagios/libexec/ > check_flexlm > /usr/bin/install -c -o nagios -g nagios check_ircd > /usr/local/nagios/libexec/ch > eck_ircd > /usr/bin/install -c -o nagios -g nagios check_log > /usr/local/nagios/libexec/che > ck_log > /usr/bin/install -c -o nagios -g nagios check_ntp > /usr/local/nagios/libexec/che > ck_ntp > /usr/bin/install -c -o nagios -g nagios check_oracle > /usr/local/nagios/libexec/ > check_oracle > /usr/bin/install -c -o nagios -g nagios check_rpc > /usr/local/nagios/libexec/che > ck_rpc > /usr/bin/install -c -o nagios -g nagios check_sensors > /usr/local/nagios/libexec > /check_sensors > /usr/bin/install -c -o nagios -g nagios check_wave > /usr/local/nagios/libexec/ch > eck_wave > /usr/bin/install -c -o nagios -g nagios check_ifstatus > /usr/local/nagios/libexe > c/check_ifstatus > /usr/bin/install -c -o nagios -g nagios check_ifoperstatus > /usr/local/nagios/li > bexec/check_ifoperstatus > /usr/bin/install -c -o nagios -g nagios check_mailq > /usr/local/nagios/libexec/c > heck_mailq > /usr/bin/install -c -o nagios -g nagios utils.sh > /usr/local/nagios/libexec/util > s.sh > /usr/bin/install -c -o nagios -g nagios utils.pm > /usr/local/nagios/libexec/util > s.pm > make[2]: Rien ` faire pour `install-data-am'. > make[2]: Quitte le ripertoire > `/usr/local/nagios/nagios-plugins-1.3.0/plugins-sc > ripts' > make[1]: Quitte le ripertoire > `/usr/local/nagios/nagios-plugins-1.3.0/plugins-sc > ripts' > make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0' > make[2]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0' > make[2]: Rien ` faire pour `install-exec-am'. > make[2]: Rien ` faire pour `install-data-am'. > make[2]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0' > make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0' > [root at nagios nagios-plugins-1.3.0]# > > > > -- ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Tue Apr 8 18:51:33 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Tue, 8 Apr 2003 12:51:33 -0400 Subject: pb with plugin snmp Message-ID: <2E3E9736615DD311895D00105A9CADED014BCB5F@eentsvr40.ehvert.com> You must have snmp installed on your system for the plugin to be compiled and installed. Later, dean -----Original Message----- From: pierre.buisson at dgi.finances.gouv.fr [mailto:pierre.buisson at dgi.finances.gouv.fr] Sent: April 8, 2003 12:24 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] pb with plugin snmp I dont know how to install check_snmp in the libexec directory. I have already install the plugin nagios-plugins-1.3.0 and executed configure - make all - make install, but the compiled version snmp dont go in the libexec directory. Thanks for your help You can see below the log of installation [root at nagios nagios-plugins-1.3.0]# make all Making all in lib make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/lib' make[1]: Rien ` faire pour `all'. make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/lib' Making all in plugins make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugin s' make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugins' Making all in plugins-scripts make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugin s-scripts' make[1]: Rien ` faire pour `all'. make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugins-sc ripts' make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0' make[1]: Rien ` faire pour `all-am'. make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0' [root at nagios nagios-plugins-1.3.0]# [root at nagios nagios-plugins-1.3.0]# make install Making install in lib make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/lib' make[2]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/lib' make[2]: Rien ` faire pour `install-exec-am'. make[2]: Rien ` faire pour `install-data-am'. make[2]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/lib' make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/lib' Making install in plugins make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugin s' make[2]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugin s' /bin/sh ../mkinstalldirs /usr/local/nagios/libexec /usr/bin/install -c -o nagios -g nagios check_disk /usr/local/nagios/libexec/c heck_disk /usr/bin/install -c -o nagios -g nagios check_dummy /usr/local/nagios/libexec/ check_dummy /usr/bin/install -c -o nagios -g nagios check_http /usr/local/nagios/libexec/c heck_http /usr/bin/install -c -o nagios -g nagios check_load /usr/local/nagios/libexec/c heck_load /usr/bin/install -c -o nagios -g nagios check_mrtg /usr/local/nagios/libexec/c heck_mrtg /usr/bin/install -c -o nagios -g nagios check_mrtgtraf /usr/local/nagios/libex ec/check_mrtgtraf /usr/bin/install -c -o nagios -g nagios check_nwstat /usr/local/nagios/libexec /check_nwstat /usr/bin/install -c -o nagios -g nagios check_overcr /usr/local/nagios/libexec /check_overcr /usr/bin/install -c -o nagios -g nagios check_ping /usr/local/nagios/libexec/c heck_ping /usr/bin/install -c -o nagios -g nagios check_procs /usr/local/nagios/libexec/ check_procs /usr/bin/install -c -o nagios -g nagios check_real /usr/local/nagios/libexec/c heck_real /usr/bin/install -c -o nagios -g nagios check_smtp /usr/local/nagios/libexec/c heck_smtp /usr/bin/install -c -o nagios -g nagios check_ssh /usr/local/nagios/libexec/ch eck_ssh /usr/bin/install -c -o nagios -g nagios check_tcp /usr/local/nagios/libexec/ch eck_tcp /usr/bin/install -c -o nagios -g nagios check_time /usr/local/nagios/libexec/c heck_time /usr/bin/install -c -o nagios -g nagios check_udp /usr/local/nagios/libexec/ch eck_udp /usr/bin/install -c -o nagios -g nagios check_ups /usr/local/nagios/libexec/ch eck_ups /usr/bin/install -c -o nagios -g nagios check_users /usr/local/nagios/libexec/ check_users /usr/bin/install -c -o nagios -g nagios check_vsz /usr/local/nagios/libexec/ch eck_vsz /usr/bin/install -c -o nagios -g nagios negate /usr/local/nagios/libexec/negat e /usr/bin/install -c -o nagios -g nagios urlize /usr/local/nagios/libexec/urliz e /usr/bin/install -c -o nagios -g nagios check_nagios /usr/local/nagios/libexec /check_nagios /usr/bin/install -c -o nagios -g nagios check_dns /usr/local/nagios/libexec/ch eck_dns /usr/bin/install -c -o nagios -g nagios check_dns /usr/local/nagios/libexec/ch eck_dns /usr/bin/install -c -o nagios -g nagios check_by_ssh /usr/local/nagios/libexec /check_by_ssh /usr/bin/install -c -o nagios -g nagios check_swap /usr/local/nagios/libexec/c heck_swap /usr/bin/install -c -o nagios -g nagios check_dig /usr/local/nagios/libexec/ch eck_dig /usr/bin/install -c -o nagios -g nagios check_nt /usr/local/nagios/libexec/che ck_nt make install-exec-hook make[3]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugin s' cd /usr/local/nagios/libexec && \ for i in check_ftp check_imap check_nntp check_pop ; do rm -f $i; ln -sf check_t cp $i ; done make[3]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugins' make[2]: Rien ` faire pour `install-data-am'. make[2]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugins' make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugins' Making install in plugins-scripts make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugin s-scripts' make[2]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugin s-scripts' /bin/sh ../mkinstalldirs /usr/local/nagios/libexec /usr/bin/install -c -o nagios -g nagios check_breeze /usr/local/nagios/libexec/ check_breeze /usr/bin/install -c -o nagios -g nagios check_disk_smb /usr/local/nagios/libexe c/check_disk_smb /usr/bin/install -c -o nagios -g nagios check_flexlm /usr/local/nagios/libexec/ check_flexlm /usr/bin/install -c -o nagios -g nagios check_ircd /usr/local/nagios/libexec/ch eck_ircd /usr/bin/install -c -o nagios -g nagios check_log /usr/local/nagios/libexec/che ck_log /usr/bin/install -c -o nagios -g nagios check_ntp /usr/local/nagios/libexec/che ck_ntp /usr/bin/install -c -o nagios -g nagios check_oracle /usr/local/nagios/libexec/ check_oracle /usr/bin/install -c -o nagios -g nagios check_rpc /usr/local/nagios/libexec/che ck_rpc /usr/bin/install -c -o nagios -g nagios check_sensors /usr/local/nagios/libexec /check_sensors /usr/bin/install -c -o nagios -g nagios check_wave /usr/local/nagios/libexec/ch eck_wave /usr/bin/install -c -o nagios -g nagios check_ifstatus /usr/local/nagios/libexe c/check_ifstatus /usr/bin/install -c -o nagios -g nagios check_ifoperstatus /usr/local/nagios/li bexec/check_ifoperstatus /usr/bin/install -c -o nagios -g nagios check_mailq /usr/local/nagios/libexec/c heck_mailq /usr/bin/install -c -o nagios -g nagios utils.sh /usr/local/nagios/libexec/util s.sh /usr/bin/install -c -o nagios -g nagios utils.pm /usr/local/nagios/libexec/util s.pm make[2]: Rien ` faire pour `install-data-am'. make[2]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugins-sc ripts' make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0/plugins-sc ripts' make[1]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0' make[2]: Entre dans le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0' make[2]: Rien ` faire pour `install-exec-am'. make[2]: Rien ` faire pour `install-data-am'. make[2]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0' make[1]: Quitte le ripertoire `/usr/local/nagios/nagios-plugins-1.3.0' [root at nagios nagios-plugins-1.3.0]# -------------- next part -------------- An HTML attachment was scrubbed... URL: From mian at swemic.net Tue Apr 8 18:52:03 2003 From: mian at swemic.net (Michael Andersson) Date: Tue, 8 Apr 2003 18:52:03 +0200 Subject: nsclient connection refused after restart In-Reply-To: <7F76AA41FC7DD5119B1E00508BAF0444A8008D@gsmail.govst.edu> References: <7F76AA41FC7DD5119B1E00508BAF0444A8008D@gsmail.govst.edu> Message-ID: <20030408185203.7eb67640.mian@swemic.net> Hi, maybe you should try to autostart "nsclient" with an alternative NT user. I.e. not as by default installation "Local System Account", might be some AD policy issue. (Have not seen this problem my self though) However, it's just my $0.1 guess. Regards, /Michael On Tue, 8 Apr 2003 10:46:21 -0500 "VanZee, Timothy" wrote: > I have searched the nagios.org faq and looked at the mail archives back > through November 2002 and didn't find anything relating to this issue, > unless I missed which is possible. > > > > I'm running nagios 1.0 on a RH 7.2 server with nsclient 1.07.1. I have > the nsclient service running on multiple Win2k servers. If anyone > restarts one of the Win2k servers while nagios is still running, the > Win2k server will come back up and nagios will report 'Connection > refused by host'. I will then check the Win2k system and verify that > the nsclient service is running. If I then stop and restart the > nsclient service; nagios will again start monitoring the affected > services successfully. > > > > Is there a solution to this issue for the Win2k servers? > > > > > > Tim Van Zee > > ITS Network Specialist > > Governors State University > > > > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Tue Apr 8 18:49:22 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Tue, 8 Apr 2003 12:49:22 -0400 Subject: nsclient connection refused after restart Message-ID: <2E3E9736615DD311895D00105A9CADED014BCB5E@eentsvr40.ehvert.com> I have run into similar issues. In my case some other service was grabbing the port that NSClient uses (1284 I think). Grab a copy of tcpview from sysinternals.com and see if you can determine the offender. You may have to change the port that NSClient uses. Hope this helps, dean -----Original Message----- From: VanZee, Timothy [mailto:T-VANZEE at govst.edu] Sent: April 8, 2003 11:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nsclient connection refused after restart I have searched the nagios.org faq and looked at the mail archives back through November 2002 and didn't find anything relating to this issue, unless I missed which is possible. I'm running nagios 1.0 on a RH 7.2 server with nsclient 1.07.1. I have the nsclient service running on multiple Win2k servers. If anyone restarts one of the Win2k servers while nagios is still running, the Win2k server will come back up and nagios will report 'Connection refused by host'. I will then check the Win2k system and verify that the nsclient service is running. If I then stop and restart the nsclient service; nagios will again start monitoring the affected services successfully. Is there a solution to this issue for the Win2k servers? Tim Van Zee ITS Network Specialist Governors State University -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmarquart at planalytics.com Tue Apr 8 19:38:38 2003 From: jmarquart at planalytics.com (jmarquart at planalytics.com) Date: Tue, 8 Apr 2003 13:38:38 -0400 Subject: [Fwd: check_oracle : Cannot determine ORACLE _HOME for sid 'test.world']] Message-ID: <85256D02.0060EC56.00@mailhost.planalytics.com> My recommendation is NOT to hardcode this value into the script. (that certainly is effective though) YMMV - but I found it easiest to just configure my checks like: /usr/bin/env -i "ORACLE_HOME=/path/to/oracle" check_oracle ... This enables me to make frequent updates to both the check scripts - as well as the ORACLE_HOME dirs - with minimal reconfigurations. -john "Lonny Selinger" on 04/08/2003 12:44:09 PM To: nagios-users at lists.sourceforge.net cc: (bcc: John J. der Schalla Marquart/Planalytics) Subject: [Fwd: [Nagios-users] check_oracle : Cannot determine ORACLE_HOME for sid 'test.world']] -=-=-=-==-=-=-=-=-=-= from my Oracle GURU -=-=-=-=-=-=-=-=-=-=- Lonny, I have added the ORACLE_HOME right into the script: export ORACLE_HOME= Cosidering the --tns switch just does a tnsping on the database, this only tells you that the listener for that server is listening, not that the database is up. Lowell Hi all, I've got a little problem. When I execute the "check_oracle --tns test.world" on my local server, it works fine but when I execute the same check by nrpe (since my nagios server), I've got this message : "cannot determine ORACLE_HOME for sid test.world" I checked that my ORACLE_HOME environment variable is set, ORACLE_HOME/bin is my PATH, tnsname.ora file is properly configured and my oratab file contains my ORACLE_SID:ORACLE_HOME:Y Can you help me? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ghaygood-news1 at brightlane.com Tue Apr 8 21:24:52 2003 From: ghaygood-news1 at brightlane.com (Greg Haygood) Date: Tue, 8 Apr 2003 15:24:52 -0400 Subject: problems compiling with debug options In-Reply-To: <001f01c2fde8$d661f860$520101c0@TECMSEISDEDOS> References: <001f01c2fde8$d661f860$520101c0@TECMSEISDEDOS> Message-ID: <00c701c2fe04$87c0d0c0$54010a0a@ghaygood> I hit that problem last night as well, trying to get some debug output for an issue I'm seeing on my working config (saved that for a subsequence posting). Any of the DEBUG options tripped up the CGI compile. So I did a 'make nagios' with the debug options, copied out the new nagios binary, then reconfigured without them to compile the CGIs. So now I have debug and non-debug binaries to switch in and out as necessary. -g -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Montse Seisdedos Sent: Tuesday, April 08, 2003 12:07 PM To: nagios-users Subject: [Nagios-users] problems compiling with debug options Hello: I configured nagios this way: ./configure --with-nagios-user=nagios --with-nagios-group=nagios --enable-DEBUG 0 --enable-DEBUG1 --enable-DEBUG2 --enable-DEBUG3 --enable-DEBUG4 --enable-DEBUG5 I got the following errors: gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI avail.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -o avail.cgi ../xdata/xodtemplate.c: In function `xodtemplate_add_object_property': ../xdata/xodtemplate.c:1344: `temp_buffer' undeclared (first use in this function) ../xdata/xodtemplate.c:1344: (Each undeclared identifier is reported only once ../xdata/xodtemplate.c:1344: for each function it appears in.) ../xdata/xodtemplate.c:1346: `NSLOG_CONFIG_ERROR' undeclared (first use in this function) make[1]: *** [avail.cgi] Error 1 make[1]: Saliendo directorio `/u/others/nagios/nagios-1.0/cgi' make: *** [all] Error 2 Can anybody help me??? Mediafusi?n Espa?a, S.A. ? Aviso legal: Este mensaje electr?nico est? dirigido ?nicamente a la(s) direcci?n(es) indicadas anteriormente; el car?cter confidencial, personal e intransferible del mismo est? protegido legalmente. Cualquier revelaci?n, uso o reenv?o no autorizado, completo o en parte, est? prohibido. Si ha recibido este mensaje por equivocaci?n, notif?quelo inmediatamente a la persona que lo ha enviado y borre el mensaje original junto con sus ficheros anexos sin leerlo ni grabarlo, total o parcialmente. Gracias. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jgotner at fhcrc.org Tue Apr 8 21:35:51 2003 From: jgotner at fhcrc.org (Gotner, James) Date: Tue, 8 Apr 2003 12:35:51 -0700 Subject: Problem with resource.cfg macro definiton Message-ID: <9667A0D2033CD51195F90002B330A3BF04CBA251@moe.fhcrc.org> Hello, I have installed nagios and associated plugins, and have come across a problem that I cannot resolve through searching the archives, or anywhere in the manual. When running ./nagios -v /usr/local/nagios/etc/nagios.cfg, I receive an error to the effect of 'Error: unexpected token or statement in file '/usr/local/nagios/etc/resource.cfg' on line 24. Well, line 24 defines the $USER1$ macro which is defined as: $USER1$=/usr/lib/nagios/plugins I mv'd the resource.cfg-sample file to my config directory as resource.cfg, and only changed the location of the plugin directory ($USER$1) within it. Is there something that I am overlooking here? Thanks for any help.. James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Apr 8 22:04:43 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 08 Apr 2003 16:04:43 -0400 (EDT) Subject: leveraging MON In-Reply-To: References: Message-ID: On Tue, 8 Apr 2003, Carroll, Jim P [Contractor] wrote: > Greets to all, > > We're in the process of putting an Egenera bladeframe system through its > paces. > > I learned yesterday that they use MON for monitoring critical processes. > > I've never once looked at MON, so forgive me for not RTFM/STFW. I was > wondering how much of a "round peg, square hole" effort it would be to > dovetail MON on the bladeframe hosts with Nagios on my end. I'm guessing > it'll require NRPE...? > > Thoughts...? > > jc > > round peg, round hole - just diferent sizes... mon uses pluggable service monitors like Nagios Invocation is "service.monitor hostname hostname hostname" The exit codes are 0 - OK and 1 - NotOK You can use the service monitors with nrpe without any problems - you just note that you will not get any critical alarms in Nagios. Or you could modify the exit codes - they are hardcoded in most of the standard service monitors. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Apr 8 22:18:00 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 08 Apr 2003 16:18:00 -0400 (EDT) Subject: Warning: Monitoring process may not be running! Error... In-Reply-To: <000c01c2fde6$2acda1e0$3f01a8c0@anhinga> References: <000c01c2fde6$2acda1e0$3f01a8c0@anhinga> Message-ID: On Tue, 8 Apr 2003, Dr Patrick Atlas wrote: > Nagios is running on my server. > all seems to be fine and working but on the web interface I can read: > > Warning: Monitoring process may not be running! > > I am sure that the nagios daemon is running. > > This error is occuring after a new installation (new DNS, new Ips), before > during the tests, I didn't got this error. > > Do I forget something to configure? > > Thanks for any idea. > > Patrick Atlas > Looks like the output of ps does not match what check_nagios expects... in cgi.cg http://nagios.sourceforge.net/docs/1_0/configcgi.html#nagios_check_command "./check_nagios -h" for format -- ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Apr 8 22:12:21 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 08 Apr 2003 16:12:21 -0400 (EDT) Subject: Question about service checks run over NRPE In-Reply-To: References: Message-ID: On Tue, 8 Apr 2003, Mark Hennessy wrote: > If a service check is run over NRPE against the services running on a > remote host, if NRPE itself times out or does not respond, would this be > reported as a STATE_CRITICAL, a STATE_WARNING, or a STATE_UNKNOWN? Follow the source luke -- >From check_nrpe: void alarm_handler(int sig){ printf("CHECK_NRPE: Socket timeout after %d seconds.\n",socket_timeout); exit(STATE_CRITICAL); } -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swhitney at journyx.com Tue Apr 8 22:24:14 2003 From: swhitney at journyx.com (Scott Whitney) Date: Tue, 8 Apr 2003 15:24:14 -0500 Subject: Need some help w/custom plug-in, please References: <53104E20A25CD411B556009027E50636064D512A@pnnemp02.pn.egg.com> Message-ID: <0a8001c2fe0c$d2dc22a0$aa64a8c0@journyx2000.int.journyx.com> I have a simple plug in. It calculates the age of the virus files based on "now" and alerts you if outside your acceptable range. It's called check_virus_dat. It returns statusText of "Virus files are ___ days old." via sys.stdout and exits with exit code 0,1 or 2 based on good, warn, critical. Now, it's python-based, but the last 2 lines are all that matter. My command is: define command { command_name check_virus_dat command_line $USER1$/check_virus_dat } The last 2 lines are: print StatusText, status sys.exit(status) It returns the statusText ok, and I can see the exit code it's about to use. Other scripts I've written are using these same exits fine. When I run locally, I get (No output!) When I run via nrpe, I get "Return code 32 is out of bounds." Can anyone help me on this, please? Scott Whitney ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Tue Apr 8 22:39:39 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Tue, 8 Apr 2003 16:39:39 -0400 Subject: Problem with resource.cfg macro definiton Message-ID: <2E3E9736615DD311895D00105A9CADED014BCB68@eentsvr40.ehvert.com> Perhaps it was a typo but you mention that you are trying to define $USER$1 and it should be $USER1$. Please post a snippet of the resource.cfg so we can have a look-see. Later, dean -----Original Message----- From: Gotner, James [mailto:jgotner at fhcrc.org] Sent: April 8, 2003 3:36 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Problem with resource.cfg macro definiton Hello, I have installed nagios and associated plugins, and have come across a problem that I cannot resolve through searching the archives, or anywhere in the manual. When running ./nagios -v /usr/local/nagios/etc/nagios.cfg, I receive an error to the effect of 'Error: unexpected token or statement in file '/usr/local/nagios/etc/resource.cfg' on line 24. Well, line 24 defines the $USER1$ macro which is defined as: $USER1$=/usr/lib/nagios/plugins I mv'd the resource.cfg-sample file to my config directory as resource.cfg, and only changed the location of the plugin directory ($USER$1) within it. Is there something that I am overlooking here? Thanks for any help.. James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Tue Apr 8 22:51:42 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Tue, 8 Apr 2003 16:51:42 -0400 Subject: Problem with resource.cfg macro definiton Message-ID: <2E3E9736615DD311895D00105A9CADED014BCB69@eentsvr40.ehvert.com> Try creating a new file with just that one line in it. Verify permissions as 644 [nagiosuser] [nagiosgroup] -----Original Message----- From: Gotner, James [mailto:jgotner at fhcrc.org] Sent: April 8, 2003 4:48 PM To: 'Dean Bishop'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Problem with resource.cfg macro definiton Yes, that was a typo in the last paragraph... I have the only 'non-commented' line listed in my original request. Here it is again: $USER1$=/usr/lib/nagios/plugins James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate -----Original Message----- From: Dean Bishop [mailto:dbishop at ehvert.com] Sent: Tuesday, April 08, 2003 1:40 PM To: 'Gotner, James'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Problem with resource.cfg macro definiton Perhaps it was a typo but you mention that you are trying to define $USER$1 and it should be $USER1$. Please post a snippet of the resource.cfg so we can have a look-see. Later, dean -----Original Message----- From: Gotner, James [mailto:jgotner at fhcrc.org] Sent: April 8, 2003 3:36 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Problem with resource.cfg macro definiton Hello, I have installed nagios and associated plugins, and have come across a problem that I cannot resolve through searching the archives, or anywhere in the manual. When running ./nagios -v /usr/local/nagios/etc/nagios.cfg, I receive an error to the effect of 'Error: unexpected token or statement in file '/usr/local/nagios/etc/resource.cfg' on line 24. Well, line 24 defines the $USER1$ macro which is defined as: $USER1$=/usr/lib/nagios/plugins I mv'd the resource.cfg-sample file to my config directory as resource.cfg, and only changed the location of the plugin directory ($USER$1) within it. Is there something that I am overlooking here? Thanks for any help.. James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgotner at fhcrc.org Tue Apr 8 22:48:21 2003 From: jgotner at fhcrc.org (Gotner, James) Date: Tue, 8 Apr 2003 13:48:21 -0700 Subject: Problem with resource.cfg macro definiton Message-ID: <9667A0D2033CD51195F90002B330A3BF04CBA253@moe.fhcrc.org> Yes, that was a typo in the last paragraph... I have the only 'non-commented' line listed in my original request. Here it is again: $USER1$=/usr/lib/nagios/plugins James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate -----Original Message----- From: Dean Bishop [mailto:dbishop at ehvert.com] Sent: Tuesday, April 08, 2003 1:40 PM To: 'Gotner, James'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Problem with resource.cfg macro definiton Perhaps it was a typo but you mention that you are trying to define $USER$1 and it should be $USER1$. Please post a snippet of the resource.cfg so we can have a look-see. Later, dean -----Original Message----- From: Gotner, James [mailto:jgotner at fhcrc.org] Sent: April 8, 2003 3:36 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Problem with resource.cfg macro definiton Hello, I have installed nagios and associated plugins, and have come across a problem that I cannot resolve through searching the archives, or anywhere in the manual. When running ./nagios -v /usr/local/nagios/etc/nagios.cfg, I receive an error to the effect of 'Error: unexpected token or statement in file '/usr/local/nagios/etc/resource.cfg' on line 24. Well, line 24 defines the $USER1$ macro which is defined as: $USER1$=/usr/lib/nagios/plugins I mv'd the resource.cfg-sample file to my config directory as resource.cfg, and only changed the location of the plugin directory ($USER$1) within it. Is there something that I am overlooking here? Thanks for any help.. James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgotner at fhcrc.org Tue Apr 8 23:06:52 2003 From: jgotner at fhcrc.org (Gotner, James) Date: Tue, 8 Apr 2003 14:06:52 -0700 Subject: Resolved: Problem with resource.cfg macro definito n Message-ID: <9667A0D2033CD51195F90002B330A3BF04CBA256@moe.fhcrc.org> Scott, Seems like it was a permissions problem... Thanks for the help. Dean, I see that my original resouce file that i copied from the samples dir wasn't world readable (640), and I didnt think of this because I hand typed all my other config files... Thanks. James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate Original Message: Hello, I have installed nagios and associated plugins, and have come across a problem that I cannot resolve through searching the archives, or anywhere in the manual. When running ./nagios -v /usr/local/nagios/etc/nagios.cfg, I receive an error to the effect of 'Error: unexpected token or statement in file '/usr/local/nagios/etc/resource.cfg' on line 24. Well, line 24 defines the $USER1$ macro which is defined as: $USER1$=/usr/lib/nagios/plugins I mv'd the resource.cfg-sample file to my config directory as resource.cfg, and only changed the location of the plugin directory ($USER$1) within it. Is there something that I am overlooking here? Thanks for any help.. James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 9 00:19:41 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 08 Apr 2003 18:19:41 -0400 (EDT) Subject: Scriptalias Alias clarification In-Reply-To: References: Message-ID: On Tue, 8 Apr 2003, Raj Mudhar wrote: > hi > > In the manual it says the script-Alias line must come before the Alias > line. Otherwise Apache will parse the lines differently. > > Well im confused as the Alias section is before the script alias section > in my httpd.conf file (rh8). > > So what are u asking? swap the two sections around or what? > alias /some/dir /nagios scriptalias /some/other/dir /nagios/cgi-bin These two must come in opposite sequence because scriptalias is a specialized alias and you cannot define a sub-branch after the main branch But you can define the sub-branch and then the main branch (Apache specific) Or in ./configure provide paths for html and cgi-bin that don't have a parent-child relationship - in which case the order doesn't matter. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 9 00:41:44 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 08 Apr 2003 18:41:44 -0400 (EDT) Subject: admin: Message-ID: Admin message - Will the subscriber(s) from "edvpartner.net" check the sourceforge policies on source address. http://sourceforge.net/docman/display_doc.php?docid=6747&group_id=1 -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swhitney at journyx.com Wed Apr 9 01:16:09 2003 From: swhitney at journyx.com (Scott Whitney) Date: Tue, 8 Apr 2003 18:16:09 -0500 Subject: Problem with resource.cfg macro definiton References: <9667A0D2033CD51195F90002B330A3BF04CBA257@moe.fhcrc.org> Message-ID: <0c3401c2fe24$d7388b00$aa64a8c0@journyx2000.int.journyx.com> James, This truly sounds like a shell-based issue. Are you sure the NAGIOS user is using the proper shell? You might source your entire profile to that user if it looks like things are ok for you. ----- Original Message ----- From: "Gotner, James" To: "'Scott Whitney'" ; Sent: Tuesday, April 08, 2003 6:13 PM Subject: RE: [Nagios-users] Problem with resource.cfg macro definiton Well, it seems that the problem wasnt permissions related, it just seems that Nagios checks the cfg files in a random order, which gave me the impression that changing permissions corrected my problem... I'll give a little background on my setup... RedHat 7.3 (2 seperate boxes) I am using bash (tried running nagios -v from /bin/sh and still got the same thing) I am writing all config files using vim (tried with other editors also - kate, vi) I have Nagios 1.0 on one, and 1.0b6 on the other for testing purposes ALL cfg files seem to exhibit this problem now with anything that isnt a comment under both versions. I even started to recreate a file without comments, and I still get the error about an unexpected token or statement. I have opened the files with a couple of editors to see if there was anything that vim wasnt displaying, and still saw nothing. I transfered the files to a samba share and pulled them back down to have them rewritten incase the files were corrupted, and that hasnt worked. Is there a better distro to use Nagios with, as the only thing I see in common is RH 7.3? Are there any suggestions on things to try? James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate Original Message: Hello, I have installed nagios and associated plugins, and have come across a problem that I cannot resolve through searching the archives, or anywhere in the manual. When running ./nagios -v /usr/local/nagios/etc/nagios.cfg, I receive an error to the effect of 'Error: unexpected token or statement in file '/usr/local/nagios/etc/resource.cfg' on line 24. Well, line 24 defines the $USER1$ macro which is defined as: $USER1$=/usr/lib/nagios/plugins I mv'd the resource.cfg-sample file to my config directory as resource.cfg, and only changed the location of the plugin directory ($USER$1) within it. Is there something that I am overlooking here? Thanks for any help.. James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgotner at fhcrc.org Wed Apr 9 01:13:40 2003 From: jgotner at fhcrc.org (Gotner, James) Date: Tue, 8 Apr 2003 16:13:40 -0700 Subject: Problem with resource.cfg macro definiton Message-ID: <9667A0D2033CD51195F90002B330A3BF04CBA257@moe.fhcrc.org> Well, it seems that the problem wasnt permissions related, it just seems that Nagios checks the cfg files in a random order, which gave me the impression that changing permissions corrected my problem... I'll give a little background on my setup... RedHat 7.3 (2 seperate boxes) I am using bash (tried running nagios -v from /bin/sh and still got the same thing) I am writing all config files using vim (tried with other editors also - kate, vi) I have Nagios 1.0 on one, and 1.0b6 on the other for testing purposes ALL cfg files seem to exhibit this problem now with anything that isnt a comment under both versions. I even started to recreate a file without comments, and I still get the error about an unexpected token or statement. I have opened the files with a couple of editors to see if there was anything that vim wasnt displaying, and still saw nothing. I transfered the files to a samba share and pulled them back down to have them rewritten incase the files were corrupted, and that hasnt worked. Is there a better distro to use Nagios with, as the only thing I see in common is RH 7.3? Are there any suggestions on things to try? James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate Original Message: Hello, I have installed nagios and associated plugins, and have come across a problem that I cannot resolve through searching the archives, or anywhere in the manual. When running ./nagios -v /usr/local/nagios/etc/nagios.cfg, I receive an error to the effect of 'Error: unexpected token or statement in file '/usr/local/nagios/etc/resource.cfg' on line 24. Well, line 24 defines the $USER1$ macro which is defined as: $USER1$=/usr/lib/nagios/plugins I mv'd the resource.cfg-sample file to my config directory as resource.cfg, and only changed the location of the plugin directory ($USER$1) within it. Is there something that I am overlooking here? Thanks for any help.. James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgotner at fhcrc.org Wed Apr 9 01:56:38 2003 From: jgotner at fhcrc.org (Gotner, James) Date: Tue, 8 Apr 2003 16:56:38 -0700 Subject: Problem with resource.cfg macro definiton Message-ID: <9667A0D2033CD51195F90002B330A3BF04CBA259@moe.fhcrc.org> Both me and 'nagios' are using /bin/bash according to /etc/passwd. James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate -----Original Message----- From: Scott Whitney [mailto:swhitney at journyx.com] Sent: Tuesday, April 08, 2003 4:16 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem with resource.cfg macro definiton James, This truly sounds like a shell-based issue. Are you sure the NAGIOS user is using the proper shell? You might source your entire profile to that user if it looks like things are ok for you. ----- Original Message ----- From: "Gotner, James" To: "'Scott Whitney'" ; Sent: Tuesday, April 08, 2003 6:13 PM Subject: RE: [Nagios-users] Problem with resource.cfg macro definiton Well, it seems that the problem wasnt permissions related, it just seems that Nagios checks the cfg files in a random order, which gave me the impression that changing permissions corrected my problem... I'll give a little background on my setup... RedHat 7.3 (2 seperate boxes) I am using bash (tried running nagios -v from /bin/sh and still got the same thing) I am writing all config files using vim (tried with other editors also - kate, vi) I have Nagios 1.0 on one, and 1.0b6 on the other for testing purposes ALL cfg files seem to exhibit this problem now with anything that isnt a comment under both versions. I even started to recreate a file without comments, and I still get the error about an unexpected token or statement. I have opened the files with a couple of editors to see if there was anything that vim wasnt displaying, and still saw nothing. I transfered the files to a samba share and pulled them back down to have them rewritten incase the files were corrupted, and that hasnt worked. Is there a better distro to use Nagios with, as the only thing I see in common is RH 7.3? Are there any suggestions on things to try? James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate Original Message: Hello, I have installed nagios and associated plugins, and have come across a problem that I cannot resolve through searching the archives, or anywhere in the manual. When running ./nagios -v /usr/local/nagios/etc/nagios.cfg, I receive an error to the effect of 'Error: unexpected token or statement in file '/usr/local/nagios/etc/resource.cfg' on line 24. Well, line 24 defines the $USER1$ macro which is defined as: $USER1$=/usr/lib/nagios/plugins I mv'd the resource.cfg-sample file to my config directory as resource.cfg, and only changed the location of the plugin directory ($USER$1) within it. Is there something that I am overlooking here? Thanks for any help.. James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Conaway at HOSystems.com Wed Apr 9 03:20:19 2003 From: Aaron.Conaway at HOSystems.com (Aaron Conaway) Date: Tue, 8 Apr 2003 21:20:19 -0400 Subject: Testing Notifications Message-ID: <7D55A9A792CFA24C8918768B5F977A2104EA50@quigon.hosystems> Is there any way to test notifications that are configured?...I mean, without unplugging the server to trigger them all. ---------- Aaron Conaway Network Engineer III Verisign, Inc. -- Telecom Services Division http://www.verisign.com Office: 912.527.4343 Fax: 912.527.4014 ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 9 03:53:20 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 08 Apr 2003 21:53:20 -0400 (EDT) Subject: Testing Notifications In-Reply-To: <7D55A9A792CFA24C8918768B5F977A2104EA50@quigon.hosystems> References: <7D55A9A792CFA24C8918768B5F977A2104EA50@quigon.hosystems> Message-ID: On Tue, 8 Apr 2003, Aaron Conaway wrote: > Is there any way to test notifications that are configured?...I mean, > without unplugging the server to trigger them all. > > ---------- > Aaron Conaway > Network Engineer III > Verisign, Inc. -- Telecom Services Division > http://www.verisign.com > Office: 912.527.4343 > Fax: 912.527.4014 > You mean without taking verisign off the net ;) Actually - if you change the address of the host definition and assuming you don't have addresses hardcoded for the services - you should be able to check for the notifications -- -sg ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Wed Apr 9 07:26:38 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Wed, 9 Apr 2003 13:26:38 +0800 Subject: check_log.pl Message-ID: <200304091326.39930.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Sorry but I cant seem to find the check_log.pl plugin in http://nagios.sourceforge.net/download/contrib/plugins/ Am i looking at the right place? Or should i access the Nagios CVS? Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+k68ONgvTa7Hj2AURAl7yAJwOnUq30ic+96LxghM+7qQinZAAbgCaAoO3 dX5SqHO9ub4Rz7WAfIouOJA= =waDm -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Wed Apr 9 08:57:08 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Wed, 09 Apr 2003 08:57:08 +0200 Subject: nsclient connection refused after restart References: <7F76AA41FC7DD5119B1E00508BAF0444A8008D@gsmail.govst.edu> Message-ID: <3E93C444.DD513B1E@dhl.com> Here's what I think your problem is: W2K box is rebooting. It comes back up and the TCP/IP stack is loaded quite early in the boot process. Nagios sees your W2K has returned to life again, and assumes it's OK to start checking services on that host again. However, since the boot process has not been fully completed, the NSClient service is more than likely not available for queries yet. To test my theory, you should try to run the plugin a few times from the CLI after the system is fully booted to see if that really is the problem. > "VanZee, Timothy" wrote: > > I have searched the nagios.org faq and looked at the mail archives > back through November 2002 and didn?t find anything relating to this > issue, unless I missed which is possible. > > > > I?m running nagios 1.0 on a RH 7.2 server with nsclient 1.07.1. I > have the nsclient service running on multiple Win2k servers. If > anyone restarts one of the Win2k servers while nagios is still > running, the Win2k server will come back up and nagios will report > ?Connection refused by host?. I will then check the Win2k system > and verify that the nsclient service is running. If I then stop and > restart the nsclient service; nagios will again start monitoring the > affected services successfully. > > > > Is there a solution to this issue for the Win2k servers? > > > > > > Tim Van Zee > > ITS Network Specialist > > Governors State University > > ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Brad at pretzel.com.au Wed Apr 9 10:31:23 2003 From: Brad at pretzel.com.au (Brad Dunn) Date: Wed, 9 Apr 2003 16:31:23 +0800 Subject: gnokii Message-ID: <131A385F21AAD311BD6400902763781D020DD3D7@Z8> Hey there, I've got gnokii working manually and I'm now looking at using it with nagios, I've set it up in miscommands like so # 'Notify-by-sms' command definition define command{ command_name notify-by-sms command_line /usr/local/bin/gnokii --sendsms $CONTACTPAGER$ '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ ($OUTP UT$)' } # 'Host-Notify-by-sms' define command{ command_name host-notify-by-sms command_line /usr/local/bin/gnokii --sendsms $CONTACTPAGER$ '$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$ ($OUTPUT$)' } I'm assuming there is probably a lot wrong with this because I got the template from the only SMS page I could find in the FAQ's (it was using yaps) Anyways, If there is something wrong with the above can u let me know. (the /usr/local/bin/gnokii is the correct path) What I'm after is maybe all the config files that someone has that relate to gnokii directly so I can use them as a guide. If anyone is using gnokii and wouldn't mind just emailing me the files I would greatly appreciate it. Thanks -Brad ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.atlas at mg-france.fr Wed Apr 9 10:42:16 2003 From: patrick.atlas at mg-france.fr (Dr Patrick Atlas) Date: Wed, 9 Apr 2003 10:42:16 +0200 Subject: Warning: Monitoring process may not be running! Error... In-Reply-To: References: Message-ID: <003401c2fe73$ed1c3c60$3f01a8c0@anhinga> Here is the solution which fixed the problem, sent by Dwan Norwood: "My assumption is that you're running Nagios on a Linux system, and that you've recently updated your linux kernel. The new version of the kernel changes the way that daemonized processes are display with ps. Now they appear to be enclosed in []. E.g., lp 877 1 0 17:52 ? 00:00:00 [lpd] nobody 972 949 0 17:52 ? 00:00:00 [httpd] In the past ps would show the nagios process as: /usr/local/nagios/bin/nagios -d Now it is displayed as: [nagios] Example: nagios 1102 1 0 17:52 ? 00:00:00 [nagios] Your check_nagios command (in the cgi.cfg) looks for the process string returned from ps. Your current configuration probably looks like this: nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.log 30 '/usr/local/nagios/bin/nagios' So, change the configuration entry to look like this: nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.log 30 '[nagios]' " Thanks to Dwan Our Nagios is running on a linux, I updated the kernel 2 days ago. Patrick Atlas -----Message d'origine----- De : nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] De la part de Subhendu Ghosh Envoy? : mardi 8 avril 2003 22:18 ? : Dr Patrick Atlas Cc : nagios-users at lists.sourceforge.net Objet : Re: [Nagios-users] Warning: Monitoring process may not be running! Error... On Tue, 8 Apr 2003, Dr Patrick Atlas wrote: > Nagios is running on my server. > all seems to be fine and working but on the web interface I can read: > > Warning: Monitoring process may not be running! > > I am sure that the nagios daemon is running. > > This error is occuring after a new installation (new DNS, new Ips), > before during the tests, I didn't got this error. > > Do I forget something to configure? > > Thanks for any idea. > > Patrick Atlas > Looks like the output of ps does not match what check_nagios expects... in cgi.cg http://nagios.sourceforge.net/docs/1_0/configcgi.html#nagios_check_command "./check_nagios -h" for format -- ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardoleitao at interacesso.pt Wed Apr 9 11:14:03 2003 From: eduardoleitao at interacesso.pt (Eduardo =?ISO-8859-1?Q?Leit=E3o?=) Date: 09 Apr 2003 10:14:03 +0100 Subject: gnokii In-Reply-To: <131A385F21AAD311BD6400902763781D020DD3D7@Z8> References: <131A385F21AAD311BD6400902763781D020DD3D7@Z8> Message-ID: <1049879644.3173.5.camel@Monitor> Hi How do you configure the aplication to send sms, what i want to know is where i put the parameters of my message center and country setting, in my case the settings of Portugal. I think there is two ways to send a sms: - send by modem - or you contact a nessage center I'm right or i have not understand Best regards On Wed, 2003-04-09 at 09:31, Brad Dunn wrote: > Hey there, > > I've got gnokii working manually and I'm now looking at using it with > nagios, I've set it up in miscommands like so > > # 'Notify-by-sms' command definition > define command{ > command_name notify-by-sms > command_line /usr/local/bin/gnokii --sendsms $CONTACTPAGER$ > '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ ($OUTP > UT$)' > } > > > # 'Host-Notify-by-sms' > define command{ > command_name host-notify-by-sms > command_line /usr/local/bin/gnokii --sendsms $CONTACTPAGER$ > '$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$ ($OUTPUT$)' > } > > > I'm assuming there is probably a lot wrong with this because I got the > template from the only SMS page I could find in the FAQ's (it was using > yaps) > > Anyways, If there is something wrong with the above can u let me know. (the > /usr/local/bin/gnokii is the correct path) > > What I'm after is maybe all the config files that someone has that relate to > gnokii directly so I can use them as a guide. If anyone is using gnokii and > wouldn't mind just emailing me the files I would greatly appreciate it. > > Thanks > > -Brad > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Wed Apr 9 12:46:06 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Wed, 9 Apr 2003 12:46:06 +0200 Subject: Treeview in side.html In-Reply-To: <3E8ADEF4.2090800@datavis.se> References: <1012BD903945D411915500105A48FF57F06A6F@nt.man.fwltech.com> <3E8ADEF4.2090800@datavis.se> Message-ID: <200304091246.06768.Michael.Huettig@Medien-Systempartner.de> Hi Fredrik, i've downloaded the grouplist.tar and follewed your instructions, but it seems that grouplist.cgi doesn't generate some group-info. File-permissions are the same as all other cgi's, side1, side2 are loaded, when i directly loaded them with konquerer. I have a lot of hosts-cfgs stored in directories under nagios/etc with the cfg-dir-directive in nagios.cfg but the hostgroups.cfg defined the group-definitions. Do you have any hint for me? Thanks ... -- Michael Am Mittwoch, 2. April 2003 15:00 schrieb Fredrik W?nglund: > OK, there was a small bug in it. I've uploaded a fixed version now. > > > /FredrikW > > Ewan Leith wrote: > >Are you sure you've uploaded the right file? the index.html in particular > > is broken, with the "Home" link in the top right hand corner pointing to > > the cgi directory instead of the html directory, etc? > > > >Ewan > > > >>-----Original Message----- > >>From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] > >>Sent: 02 April 2003 12:04 > >>To: Masopust Christian > >>Cc: 'nagios-users at lists.sourceforge.net' > >>Subject: Re: [Nagios-users] treeview in side.html > >> > >> > >>I've posted it on Apans web-page (apan.sourceforge.net) > >> > >> > >>/FredrikW > >> > >>Masopust Christian wrote: > >>>Hi Nagios-users! > >>> > >>>Could anybody be so kind to share a side.html which shows a > >> > >>treeview > >> > >>>of, for example, > >>>the defined hostgroups? > >>> > >>>I saw this the first time at the screenshots at the apan-site > >>>(apan.sourceforge.net). > >>> > >>>thanks in advance, > >>>chris > >> > >>------------------------------------------------------- > >>This SF.net email is sponsored by: ValueWeb: > >>Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > >>No other company gives more support or power for your dedicated server > >>http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > >>::: Please include Nagios version, plugin version (-v) and OS > >> > >>when reporting any issue. > >> > >>::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Wed Apr 9 13:30:04 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 09 Apr 2003 13:30:04 +0200 Subject: Treeview in side.html References: <1012BD903945D411915500105A48FF57F06A6F@nt.man.fwltech.com> <3E8ADEF4.2090800@datavis.se> <200304091246.06768.Michael.Huettig@Medien-Systempartner.de> Message-ID: <3E94043C.3080200@datavis.se> There's a new version out now on apan.sf.net. I've fixed a few bugs and made it a little bit more 'general'.. Michael, What do you get if you run grouplist.cgi from the command-line? Michael H?ttig wrote: >Hi Fredrik, >i've downloaded the grouplist.tar and follewed your instructions, but it seems >that grouplist.cgi doesn't generate some group-info. File-permissions are the >same as all other cgi's, side1, side2 are loaded, when i directly loaded them >with konquerer. I have a lot of hosts-cfgs stored in directories under >nagios/etc with the cfg-dir-directive in nagios.cfg but the hostgroups.cfg defined the group-definitions. > >Do you have any hint for me? > >Thanks ... > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.masopust at siemens.com Wed Apr 9 13:51:14 2003 From: christian.masopust at siemens.com (Masopust Christian) Date: Wed, 9 Apr 2003 13:51:14 +0200 Subject: AW: Treeview in side.html Message-ID: hi michael, you have to look at your hostgroups-definition. as i remember, there must not be any spaces in hostgroup-name. bye, chris -----Urspr?ngliche Nachricht----- Von: Michael H?ttig [mailto:Michael.Huettig at Medien-Systempartner.de] Gesendet: Mittwoch, 09. April 2003 12:46 An: Fredrik W?nglund Cc: 'nagios-users at lists.sourceforge.net' Betreff: [Nagios-users] Treeview in side.html Hi Fredrik, i've downloaded the grouplist.tar and follewed your instructions, but it seems that grouplist.cgi doesn't generate some group-info. File-permissions are the same as all other cgi's, side1, side2 are loaded, when i directly loaded them with konquerer. I have a lot of hosts-cfgs stored in directories under nagios/etc with the cfg-dir-directive in nagios.cfg but the hostgroups.cfg defined the group-definitions. Do you have any hint for me? Thanks ... -- Michael Am Mittwoch, 2. April 2003 15:00 schrieb Fredrik W?nglund: > OK, there was a small bug in it. I've uploaded a fixed version now. > > > /FredrikW > > Ewan Leith wrote: > >Are you sure you've uploaded the right file? the index.html in particular > > is broken, with the "Home" link in the top right hand corner pointing to > > the cgi directory instead of the html directory, etc? > > > >Ewan > > > >>-----Original Message----- > >>From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] > >>Sent: 02 April 2003 12:04 > >>To: Masopust Christian > >>Cc: 'nagios-users at lists.sourceforge.net' > >>Subject: Re: [Nagios-users] treeview in side.html > >> > >> > >>I've posted it on Apans web-page (apan.sourceforge.net) > >> > >> > >>/FredrikW > >> > >>Masopust Christian wrote: > >>>Hi Nagios-users! > >>> > >>>Could anybody be so kind to share a side.html which shows a > >> > >>treeview > >> > >>>of, for example, > >>>the defined hostgroups? > >>> > >>>I saw this the first time at the screenshots at the apan-site > >>>(apan.sourceforge.net). > >>> > >>>thanks in advance, > >>>chris > >> > >>------------------------------------------------------- > >>This SF.net email is sponsored by: ValueWeb: > >>Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > >>No other company gives more support or power for your dedicated server > >>http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > >>::: Please include Nagios version, plugin version (-v) and OS > >> > >>when reporting any issue. > >> > >>::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 christian.masopust at siemens.com Wed Apr 9 13:53:08 2003 From: christian.masopust at siemens.com (Masopust Christian) Date: Wed, 9 Apr 2003 13:53:08 +0200 Subject: AW: Treeview in side.html Message-ID: to my last mail: and one problem i had was that "hostgroup_name" in my config-file don't start at the beginning of the line, so i had to remove the "^" in the egrep-command! chris -----Urspr?ngliche Nachricht----- Von: Michael H?ttig [mailto:Michael.Huettig at Medien-Systempartner.de] Gesendet: Mittwoch, 09. April 2003 12:46 An: Fredrik W?nglund Cc: 'nagios-users at lists.sourceforge.net' Betreff: [Nagios-users] Treeview in side.html Hi Fredrik, i've downloaded the grouplist.tar and follewed your instructions, but it seems that grouplist.cgi doesn't generate some group-info. File-permissions are the same as all other cgi's, side1, side2 are loaded, when i directly loaded them with konquerer. I have a lot of hosts-cfgs stored in directories under nagios/etc with the cfg-dir-directive in nagios.cfg but the hostgroups.cfg defined the group-definitions. Do you have any hint for me? Thanks ... -- Michael Am Mittwoch, 2. April 2003 15:00 schrieb Fredrik W?nglund: > OK, there was a small bug in it. I've uploaded a fixed version now. > > > /FredrikW > > Ewan Leith wrote: > >Are you sure you've uploaded the right file? the index.html in particular > > is broken, with the "Home" link in the top right hand corner pointing to > > the cgi directory instead of the html directory, etc? > > > >Ewan > > > >>-----Original Message----- > >>From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] > >>Sent: 02 April 2003 12:04 > >>To: Masopust Christian > >>Cc: 'nagios-users at lists.sourceforge.net' > >>Subject: Re: [Nagios-users] treeview in side.html > >> > >> > >>I've posted it on Apans web-page (apan.sourceforge.net) > >> > >> > >>/FredrikW > >> > >>Masopust Christian wrote: > >>>Hi Nagios-users! > >>> > >>>Could anybody be so kind to share a side.html which shows a > >> > >>treeview > >> > >>>of, for example, > >>>the defined hostgroups? > >>> > >>>I saw this the first time at the screenshots at the apan-site > >>>(apan.sourceforge.net). > >>> > >>>thanks in advance, > >>>chris > >> > >>------------------------------------------------------- > >>This SF.net email is sponsored by: ValueWeb: > >>Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > >>No other company gives more support or power for your dedicated server > >>http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > >>::: Please include Nagios version, plugin version (-v) and OS > >> > >>when reporting any issue. > >> > >>::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 juarez.alves.unitech at telebahiacelular.com.br Wed Apr 9 14:11:01 2003 From: juarez.alves.unitech at telebahiacelular.com.br (juarez.alves.unitech at telebahiacelular.com.br) Date: Wed, 9 Apr 2003 10:11:01 -0200 Subject: Router Interfaces. Message-ID: I have a problem. I want to monitor a router and yours interfaces, 12 interfaces WAN, 2 Ethernet Interfaces. I wanted to place each interface as service of host, and I do not know as to make. They could help me? At?s Juarez -------------- next part -------------- An HTML attachment was scrubbed... URL: From Michael.Huettig at Medien-Systempartner.de Wed Apr 9 14:41:57 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Wed, 9 Apr 2003 14:41:57 +0200 Subject: AW: Treeview in side.html In-Reply-To: References: Message-ID: <200304091441.57664.Michael.Huettig@Medien-Systempartner.de> Am Mittwoch, 9. April 2003 13:53 schrieb Masopust Christian: > to my last mail: > > and one problem i had was that "hostgroup_name" in my config-file > don't start at the beginning of the line, so i had to remove the > "^" in the egrep-command! > Hi Chris, that's it, works realy fine, many thanks for your very quick tip Bye Michael > chris > > -----Urspr?ngliche Nachricht----- > Von: Michael H?ttig [mailto:Michael.Huettig at Medien-Systempartner.de] > Gesendet: Mittwoch, 09. April 2003 12:46 > An: Fredrik W?nglund > Cc: 'nagios-users at lists.sourceforge.net' > Betreff: [Nagios-users] Treeview in side.html > > > Hi Fredrik, > i've downloaded the grouplist.tar and follewed your instructions, but it > seems > that grouplist.cgi doesn't generate some group-info. File-permissions are > the > same as all other cgi's, side1, side2 are loaded, when i directly loaded > them > with konquerer. I have a lot of hosts-cfgs stored in directories under > nagios/etc with the cfg-dir-directive in nagios.cfg but the hostgroups.cfg > defined the group-definitions. > > Do you have any hint for me? > > Thanks ... ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Wed Apr 9 15:04:58 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Wed, 9 Apr 2003 09:04:58 -0400 Subject: Need some help w/custom plug-in, please Message-ID: <2E3E9736615DD311895D00105A9CADED014BCB6D@eentsvr40.ehvert.com> Could it be a permissions problem?? -----Original Message----- From: Scott Whitney [mailto:swhitney at journyx.com] Sent: April 8, 2003 4:24 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Need some help w/custom plug-in, please I have a simple plug in. It calculates the age of the virus files based on "now" and alerts you if outside your acceptable range. It's called check_virus_dat. It returns statusText of "Virus files are ___ days old." via sys.stdout and exits with exit code 0,1 or 2 based on good, warn, critical. Now, it's python-based, but the last 2 lines are all that matter. My command is: define command { command_name check_virus_dat command_line $USER1$/check_virus_dat } The last 2 lines are: print StatusText, status sys.exit(status) It returns the statusText ok, and I can see the exit code it's about to use. Other scripts I've written are using these same exits fine. When I run locally, I get (No output!) When I run via nrpe, I get "Return code 32 is out of bounds." Can anyone help me on this, please? Scott Whitney ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 9 16:12:41 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 09 Apr 2003 10:12:41 -0400 (EDT) Subject: Router Interfaces. In-Reply-To: References: Message-ID: On Wed, 9 Apr 2003 juarez.alves.unitech at telebahiacelular.com.br wrote: > I have a problem. > > I want to monitor a router and yours interfaces, 12 interfaces WAN, 2 > Ethernet Interfaces. I wanted to place each interface as service of host, > and I do not know as to make. > Define the router as a host define each interface as a service and use check_ifoperstatus as the command Assumes you have snmp configured and accessible on the router. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 icnet.com.ve Wed Apr 9 16:53:54 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Wed, 09 Apr 2003 10:53:54 -0400 Subject: Check_snmp Message-ID: <5.1.0.14.0.20030409105003.00bc9bb0@pop.icnet.com.ve> Hi, I have configured the check_snmp plug in on one of my routers, but I have a question, when I declare de check_command options, is necessary define a -w, or -c parameters? Thanks, Jeyri Bautista ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pascal.renaut at electricite-strasbourg.fr Wed Apr 9 15:20:01 2003 From: pascal.renaut at electricite-strasbourg.fr (Pascal RENAUT/GROUPE-ES) Date: Wed, 9 Apr 2003 15:20:01 +0200 Subject: check_nrpe under inetd (AIX 4.3.3) Message-ID: Hi all, When I used, for example, the check_oracle --tns via the check_nrpe with the daemon nrpe running on background processing, all work fine. But when I used nrpe daemon under inetd, I've got an error message talking about environment variables : Cannot determine ORACLE_HOME for sid It seems that the environment variables aren't loaded when nrpe daemon is called... Anybody would know an idea? .................................................................................................... Pascal RENAUT / D?partement Ing?nierie R?seaux (I.R.) / Groupe Electricit? de Strasbourg / 67953 Strasbourg Cedex 9 T?l : 33 (0) 369 20 6138 / Fax : 33 (0) 369 20 6045 / Email : pascal.renaut at electricite-strasbourg.fr ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From larrythethird at msn.com Wed Apr 9 17:17:23 2003 From: larrythethird at msn.com (larrythethird) Date: 9 Apr 2003 15:17:23 -0000 Subject: Wrong Time Message-ID: <20030409151723.24673.qmail@pod-163.dolphin-server.co.uk> Has anybody else seen this? Nagios' time is twenty minutes or so ahead or the system clock. Strange. Also, I could not see any replies to the process not running threads. Was there a fix? ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 9 17:22:25 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 09 Apr 2003 11:22:25 -0400 (EDT) Subject: Check_snmp In-Reply-To: <5.1.0.14.0.20030409105003.00bc9bb0@pop.icnet.com.ve> References: <5.1.0.14.0.20030409105003.00bc9bb0@pop.icnet.com.ve> Message-ID: On Wed, 9 Apr 2003, Jeyri Bautista wrote: > Hi, > > I have configured the check_snmp plug in on one of my routers, but I have a > question, when I declare de check_command options, is necessary define a > -w, or -c parameters? > it depends on the plugin - check_snmp does not require -w and -c but some others do. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bnelson at rightnow.com Wed Apr 9 17:56:50 2003 From: bnelson at rightnow.com (Nelson, Ben) Date: Wed, 9 Apr 2003 09:56:50 -0600 Subject: Testing Notifications Message-ID: I have two little command definitions defined that allow me to forcefully test failure or success for notifications. define command{ command_name return_ok command_line /path/to/some/bin/nagios_test ok } define command{ command_name return_crit command_line /path/to/some/bin/nagios_test critical } 'nagios_test' is a shell script: #!/bin/sh case $1 in ok) exit 0 ;; warning) exit 1 ;; critical) exit 2 ;; unknown) exit 3 ;; dependant) exit 4 ;; *) exit 3 esac Then, if I want to test notifications I just change the service definition to use 'return_ok' or 'return_crit' for its' check_command. --Ben -----Original Message----- From: Aaron Conaway [mailto:Aaron.Conaway at HOSystems.com] Sent: Tuesday, April 08, 2003 7:20 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Testing Notifications Is there any way to test notifications that are configured?...I mean, without unplugging the server to trigger them all. ---------- Aaron Conaway Network Engineer III Verisign, Inc. -- Telecom Services Division http://www.verisign.com Office: 912.527.4343 Fax: 912.527.4014 ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at feedroom.com Wed Apr 9 18:05:53 2003 From: David at feedroom.com (David Gitman) Date: Wed, 9 Apr 2003 12:05:53 -0400 Subject: Email Notifications (One More Try) Message-ID: My email notifications are being sent from root at host. When I run the command definition by hand it comes from nagios at host. Nagios is running as nagios. I'm running Solaris 7 and using mailx, simply because I couldn't get it to work with mail. Could Nagios be starting as root and su'ing to nagios? Any other ideas? ps -ef | grep nagios nagios 6314 1 0 Mar 20 ? 48:26 /local/project/nagios/bin/nagios -d /local/project/nagios/etc/nagios.cfg dgitman 17296 4466 0 12:38:52 pts/18 0:00 grep nagios # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 1.0 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SE RVICEDESC$\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$ } -------------- next part -------------- An HTML attachment was scrubbed... URL: From swhitney at journyx.com Wed Apr 9 18:35:14 2003 From: swhitney at journyx.com (Scott Whitney) Date: Wed, 9 Apr 2003 11:35:14 -0500 Subject: Need some help w/custom plug-in, please References: <2E3E9736615DD311895D00105A9CADED014BCB6D@eentsvr40.ehvert.com> Message-ID: <0eed01c2feb5$ff4bf960$aa64a8c0@journyx2000.int.journyx.com> Dean, I thought of that, but the thing runs just fine. If you run it from the command line. The permissions are all the same for this plug-in as well as all the others in that directory. Also, if I su to nagios, it runs fine (as well as as root). It just keeps saying "No Output". My resource config file says: $USER1$=/var/www/nagios/libexec My command file(check_virus_dat.cfg) says: define command { command_name check_virus_dat command_line $USER1$/check_virus_dat } The service file for the box it's on (camel) says: ####################### BEGIN SERVICE DEFINITION ####################### define service { use int-service host_name camel service_description virus_dat check_command check_virus_dat } ######################## END SERVICE DEFINITION ######################## There shouldn't be any more to it, I would think. Anyone???????????? This is killing me! ----- Original Message ----- From: "Dean Bishop" To: "'Scott Whitney'" ; Sent: Wednesday, April 09, 2003 8:04 AM Subject: RE: [Nagios-users] Need some help w/custom plug-in, please Could it be a permissions problem?? -----Original Message----- From: Scott Whitney [mailto:swhitney at journyx.com] Sent: April 8, 2003 4:24 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Need some help w/custom plug-in, please I have a simple plug in. It calculates the age of the virus files based on "now" and alerts you if outside your acceptable range. It's called check_virus_dat. It returns statusText of "Virus files are ___ days old." via sys.stdout and exits with exit code 0,1 or 2 based on good, warn, critical. Now, it's python-based, but the last 2 lines are all that matter. My command is: define command { command_name check_virus_dat command_line $USER1$/check_virus_dat } The last 2 lines are: print StatusText, status sys.exit(status) It returns the statusText ok, and I can see the exit code it's about to use. Other scripts I've written are using these same exits fine. When I run locally, I get (No output!) When I run via nrpe, I get "Return code 32 is out of bounds." Can anyone help me on this, please? Scott Whitney ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Wed Apr 9 18:55:46 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 9 Apr 2003 09:55:46 -0700 (PDT) Subject: Email Notifications (One More Try) In-Reply-To: References: Message-ID: <20030409165546.64986.qmail@web21503.mail.yahoo.com> Have you checked the nagios_user= option in the nagios.cfg file? David Gitman wrote: My email notifications are being sent from root at host. When I run the command definition by hand it comes from nagios at host. Nagios is running as nagios. I?m running Solaris 7 and using mailx, simply because I couldn?t get it to work with mail. Could Nagios be starting as root and su?ing to nagios? Any other ideas? ps -ef | grep nagios nagios 6314 1 0 Mar 20 ? 48:26 /local/project/nagios/bin/nagios -d /local/project/nagios/etc/nagios.cfg dgitman 17296 4466 0 12:38:52 pts/18 0:00 grep nagios # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 1.0 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SE RVICEDESC$\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$ } --------------------------------- Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmunoz at comcel.com.co Wed Apr 9 19:06:25 2003 From: jmunoz at comcel.com.co (=?iso-8859-1?Q?Jose_Orlando_Mu=F1oz_Bravo_=28HP=29?=) Date: Wed, 9 Apr 2003 12:06:25 -0500 Subject: Mail notification differences Message-ID: <8F3E96AF7095024E922116DCA0587C9DF72438@ESPERANTO.comcel.com.co> Hi all, I?m using checks for Windows and UNIX plataforms, I want to underestand why the notifications are different in the "additional info" informati?n the informati?n in the misccommands.cfg file is " ....... Additional Info:\n\n$OUTPUT$" but the mail received change for each plataform here are the 2 examples. Notification from Windows2K servers ========================================== Notification Type: PROBLEM Service: Drive C: Host: w2krecover Address: 192.168.170.68 State: CRITICAL Date/Time: Wed Apr 9 02:32:46 COT 2003 Additional Info: C: ========================================== Notification from Unix servers ========================================== Notification Type: PROBLEM Service: /Sap_arch Host: Atenea Address: 192.168.170.82 State: CRITICAL Date/Time: Wed Apr 9 09:10:47 COT 2003 Additional Info: Only 2.78G (8%) free on /Sap_arch ========================================= I like to receive the values in the W2k servers like i can see in the web interface. Thanks for your answers Jomb. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at feedroom.com Wed Apr 9 19:08:36 2003 From: David at feedroom.com (David Gitman) Date: Wed, 9 Apr 2003 13:08:36 -0400 Subject: Email Notifications (One More Try) Message-ID: Yes, it's set to nagios. [-d] -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Wednesday, April 09, 2003 12:56 PM To: David Gitman; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Email Notifications (One More Try) Have you checked the nagios_user= option in the nagios.cfg file? David Gitman wrote: My email notifications are being sent from root at host. When I run the command definition by hand it comes from nagios at host. Nagios is running as nagios. I'm running Solaris 7 and using mailx, simply because I couldn't get it to work with mail. Could Nagios be starting as root and su'ing to nagios? Any other ideas? ps -ef | grep nagios nagios 6314 1 0 Mar 20 ? 48:26 /local/project/nagios/bin/nagios -d /local/project/nagios/etc/nagios.cfg dgitman 17296 4466 0 12:38:52 pts/18 0:00 grep nagios # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 1.0 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SE RVICEDESC$\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$ } _____ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more -------------- next part -------------- An HTML attachment was scrubbed... URL: From rhltechie at yahoo.com Wed Apr 9 19:31:33 2003 From: rhltechie at yahoo.com (Strng Phisch) Date: Wed, 9 Apr 2003 10:31:33 -0700 (PDT) Subject: Help with odd message. Message-ID: <20030409173133.80438.qmail@web20102.mail.yahoo.com> Hi All- I have browsed through the archives and could not find anything on what I am experiencing. I hope posting this problem is ok. I have spent 3 days setting up nagios, trying to make sure everything was right, it is a very tough program to get installed! Well I though I finally got it. I did a "pre-flight" check and everything came back ok. I go to start nagios and I receive this: Warning: Cannot open log file '/usr/local/nagios/var/nagios.log' for writing Error: Failed to grab configuration information for retention data I used all of the defaults, this is where the file exists and is there. The odd thing is when i open the log file it has several lines in it that state that nagios is starting. Any ideas?? TIA, M __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Wed Apr 9 19:28:03 2003 From: fredrik.wanglund at datavis.se (=?windows-1252?Q?Fredrik_W=E4nglund?=) Date: Wed, 09 Apr 2003 19:28:03 +0200 Subject: Email Notifications (One More Try) References: Message-ID: <3E945823.5020706@datavis.se> Use mailx -r option to set the return address: command_line /usr/bin/printf "%b" "***** Nagios 1.0 *****\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 -r nagios at nagiosserver.com -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ /FredrikW David Gitman wrote: > My email notifications are being sent from root at host. When I run the > command definition by hand it comes from nagios at host. Nagios is > running as nagios. > > I?m running Solaris 7 and using mailx, simply because I couldn?t get > it to work with mail. > > Could Nagios be starting as root and su?ing to nagios? > > Any other ideas? > > ps -ef | grep nagios > > nagios 6314 1 0 Mar 20 ? 48:26 /local/project/nagios/bin/nagios -d > /local/project/nagios/etc/nagios.cfg > > dgitman 17296 4466 0 12:38:52 pts/18 0:00 grep nagios > > # 'notify-by-email' command definition > > define command{ > > command_name notify-by-email > > command_line /usr/bin/printf "%b" "***** Nagios 1.0 > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SE > > RVICEDESC$\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$ > > } > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 9 19:59:13 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 09 Apr 2003 13:59:13 -0400 (EDT) Subject: Mail notification differences In-Reply-To: <8F3E96AF7095024E922116DCA0587C9DF72438@ESPERANTO.comcel.com.co> References: <8F3E96AF7095024E922116DCA0587C9DF72438@ESPERANTO.comcel.com.co> Message-ID: windows notification output is missing the data because c:\ <--- the "\" is a shell meta-character -sg On Wed, 9 Apr 2003, Jose Orlando Mu?oz Bravo (HP) wrote: > Hi all, > > I?m using checks for Windows and UNIX plataforms, I want to underestand why the notifications are different in the "additional info" informati?n > the informati?n in the misccommands.cfg file is " ....... Additional Info:\n\n$OUTPUT$" but the mail received change for each plataform here are the 2 examples. > > Notification from Windows2K servers > ========================================== > Notification Type: PROBLEM > > Service: Drive C: > Host: w2krecover > Address: 192.168.170.68 > State: CRITICAL > > Date/Time: Wed Apr 9 02:32:46 COT 2003 > > Additional Info: > > C: > ========================================== > > Notification from Unix servers > ========================================== > > Notification Type: PROBLEM > > Service: /Sap_arch > Host: Atenea > Address: 192.168.170.82 > State: CRITICAL > > Date/Time: Wed Apr 9 09:10:47 COT 2003 > > Additional Info: > > Only 2.78G (8%) free on /Sap_arch > ========================================= > > I like to receive the values in the W2k servers like i can see in the web interface. > > > Thanks for your answers > > Jomb. > > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Wed Apr 9 19:57:34 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Wed, 9 Apr 2003 12:57:34 -0500 Subject: Mail notification differences Message-ID: <7F76AA41FC7DD5119B1E00508BAF0444030B4781@gsmail.govst.edu> That's because the '\' character is an escape character. Try this: define command{ command_name notify-by-email command_line /bin/echo -e '***** OpMon *****\n\nNotificationType: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /bin/mail -s "** OpMon Alert - $NOTIFICATIONTYPE$ -$HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: Jose Orlando Mu?oz Bravo (HP) [mailto:jmunoz at comcel.com.co] Sent: Wednesday, April 09, 2003 12:06 PM To: Nagios Users List (E-mail) Subject: [Nagios-users] Mail notification differences Hi all, I?m using checks for Windows and UNIX plataforms, I want to underestand why the notifications are different in the "additional info" informati?n the informati?n in the misccommands.cfg file is " ....... Additional Info:\n\n$OUTPUT$" but the mail received change for each plataform here are the 2 examples. Notification from Windows2K servers ========================================== Notification Type: PROBLEM Service: Drive C: Host: w2krecover Address: 192.168.170.68 State: CRITICAL Date/Time: Wed Apr 9 02:32:46 COT 2003 Additional Info: C: ========================================== Notification from Unix servers ========================================== Notification Type: PROBLEM Service: /Sap_arch Host: Atenea Address: 192.168.170.82 State: CRITICAL Date/Time: Wed Apr 9 09:10:47 COT 2003 Additional Info: Only 2.78G (8%) free on /Sap_arch ========================================= I like to receive the values in the W2k servers like i can see in the web interface. Thanks for your answers Jomb. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at feedroom.com Wed Apr 9 20:05:23 2003 From: David at feedroom.com (David Gitman) Date: Wed, 9 Apr 2003 14:05:23 -0400 Subject: Email Notifications (One More Try) Message-ID: I wish I could. My configuration doesn't like the -r option. When I run mailx it calls sendmail, a qmail script. [-d] -----Original Message----- From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] Sent: Wednesday, April 09, 2003 1:28 PM To: David Gitman Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Email Notifications (One More Try) Use mailx -r option to set the return address: command_line /usr/bin/printf "%b" "***** Nagios 1.0 *****\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 -r nagios at nagiosserver.com -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ /FredrikW David Gitman wrote: > My email notifications are being sent from root at host. When I run the > command definition by hand it comes from nagios at host. Nagios is > running as nagios. > > I'm running Solaris 7 and using mailx, simply because I couldn't get > it to work with mail. > > Could Nagios be starting as root and su'ing to nagios? > > Any other ideas? > > ps -ef | grep nagios > > nagios 6314 1 0 Mar 20 ? 48:26 /local/project/nagios/bin/nagios -d > /local/project/nagios/etc/nagios.cfg > > dgitman 17296 4466 0 12:38:52 pts/18 0:00 grep nagios > > # 'notify-by-email' command definition > > define command{ > > command_name notify-by-email > > command_line /usr/bin/printf "%b" "***** Nagios 1.0 > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SE > > RVICEDESC$\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$ > > } > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at feedroom.com Wed Apr 9 20:02:10 2003 From: David at feedroom.com (David Gitman) Date: Wed, 9 Apr 2003 14:02:10 -0400 Subject: Email Notifications (One More Try) Message-ID: Which one would that be? [-d] -----Original Message----- From: Drew Weaver [mailto:drew.weaver at thenap.com] Sent: Wednesday, April 09, 2003 2:10 PM To: David Gitman Subject: RE: [Nagios-users] Email Notifications (One More Try) Might help if you run nagios under a real OS. -Drew -----Original Message----- From: David Gitman [mailto:David at feedroom.com] Sent: Wednesday, April 09, 2003 1:09 PM To: Jon Lyons; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Email Notifications (One More Try) Yes, it's set to nagios. [-d] -----Original Message----- From: Jon Lyons [mailto:jlyons30 at yahoo.com] Sent: Wednesday, April 09, 2003 12:56 PM To: David Gitman; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Email Notifications (One More Try) Have you checked the nagios_user= option in the nagios.cfg file? David Gitman wrote: My email notifications are being sent from root at host. When I run the command definition by hand it comes from nagios at host. Nagios is running as nagios. I'm running Solaris 7 and using mailx, simply because I couldn't get it to work with mail. Could Nagios be starting as root and su'ing to nagios? Any other ideas? ps -ef | grep nagios nagios 6314 1 0 Mar 20 ? 48:26 /local/project/nagios/bin/nagios -d /local/project/nagios/etc/nagios.cfg dgitman 17296 4466 0 12:38:52 pts/18 0:00 grep nagios # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios 1.0 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SE RVICEDESC$\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$ } _____ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more -------------- next part -------------- An HTML attachment was scrubbed... URL: From tstocking at insynccom.com Wed Apr 9 21:00:05 2003 From: tstocking at insynccom.com (Thomas Stocking) Date: Wed, 9 Apr 2003 12:00:05 -0700 Subject: Passive Monitoring of Windows boxes? Message-ID: <002a01c2feca$3c483810$6601a8c0@olympus.insynccom.com> Has anyone found a good way (other than SNMP traps) to have Windows NT/2k systems submit passive checks? Anyone ported send_nsca to Windows? I'd like a encrypted type of transport, like nsca or something with openssl. Thomas Thomas Stocking, GCIA, GCIH Captech Partners thomas at captech.com http://www.captech.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Wed Apr 9 20:50:44 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Wed, 9 Apr 2003 14:50:44 -0400 Subject: Mail notification differences Message-ID: <2E3E9736615DD311895D00105A9CADED014BCB7D@eentsvr40.ehvert.com> This can be worked around by using "echo -e" instead of printf. Later, dean -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: April 9, 2003 1:59 PM To: Nagios Users List (E-mail) Subject: Re: [Nagios-users] Mail notification differences windows notification output is missing the data because c:\ <--- the "\" is a shell meta-character -sg On Wed, 9 Apr 2003, Jose Orlando Mu?oz Bravo (HP) wrote: > Hi all, > > I?m using checks for Windows and UNIX plataforms, I want to underestand why the notifications are different in the "additional info" informati?n > the informati?n in the misccommands.cfg file is " ....... Additional Info:\n\n$OUTPUT$" but the mail received change for each plataform here are the 2 examples. > > Notification from Windows2K servers > ========================================== > Notification Type: PROBLEM > > Service: Drive C: > Host: w2krecover > Address: 192.168.170.68 > State: CRITICAL > > Date/Time: Wed Apr 9 02:32:46 COT 2003 > > Additional Info: > > C: > ========================================== > > Notification from Unix servers > ========================================== > > Notification Type: PROBLEM > > Service: /Sap_arch > Host: Atenea > Address: 192.168.170.82 > State: CRITICAL > > Date/Time: Wed Apr 9 09:10:47 COT 2003 > > Additional Info: > > Only 2.78G (8%) free on /Sap_arch > ========================================= > > I like to receive the values in the W2k servers like i can see in the web interface. > > > Thanks for your answers > > Jomb. > > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlyons30 at yahoo.com Wed Apr 9 20:50:58 2003 From: jlyons30 at yahoo.com (Jon Lyons) Date: Wed, 9 Apr 2003 11:50:58 -0700 (PDT) Subject: Email Notifications (One More Try) In-Reply-To: References: Message-ID: <20030409185058.8281.qmail@web21501.mail.yahoo.com> He must be an MCSE....heheheh David Gitman wrote: Which one would that be? [-d] -----Original Message----- From: Drew Weaver [mailto:drew.weaver at thenap.com] Sent: Wednesday, April 09, 2003 2:10 PM To: David Gitman Subject: RE: [Nagios-users] Email Notifications (One More Try) Might help if you run nagios under a real OS. -Drew --------------------------------- Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmunoz at comcel.com.co Wed Apr 9 21:34:51 2003 From: jmunoz at comcel.com.co (=?iso-8859-1?Q?Jose_Orlando_Mu=F1oz_Bravo_=28HP=29?=) Date: Wed, 9 Apr 2003 14:34:51 -0500 Subject: Mail notification differences Message-ID: <8F3E96AF7095024E922116DCA0587C9DF7243A@ESPERANTO.comcel.com.co> Thanks Tim, It?s work fine, now have a complete messages. jomb. -----Mensaje original----- De: VanZee, Timothy [mailto:T-VANZEE at govst.edu] Enviado el: mi?rcoles, 09 de abril de 2003 12:58 Para: nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] Mail notification differences That's because the '\' character is an escape character. Try this: define command{ command_name notify-by-email command_line /bin/echo -e '***** OpMon *****\n\nNotificationType: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress:$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /bin/mail -s "** OpMon Alert - $NOTIFICATIONTYPE$ -$HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: Jose Orlando Mu?oz Bravo (HP) [mailto:jmunoz at comcel.com.co] Sent: Wednesday, April 09, 2003 12:06 PM To: Nagios Users List (E-mail) Subject: [Nagios-users] Mail notification differences Hi all, I?m using checks for Windows and UNIX plataforms, I want to underestand why the notifications are different in the "additional info" informati?n the informati?n in the misccommands.cfg file is " ....... Additional Info:\n\n$OUTPUT$" but the mail received change for each plataform here are the 2 examples. Notification from Windows2K servers ========================================== Notification Type: PROBLEM Service: Drive C: Host: w2krecover Address: 192.168.170.68 State: CRITICAL Date/Time: Wed Apr 9 02:32:46 COT 2003 Additional Info: C: ========================================== Notification from Unix servers ========================================== Notification Type: PROBLEM Service: /Sap_arch Host: Atenea Address: 192.168.170.82 State: CRITICAL Date/Time: Wed Apr 9 09:10:47 COT 2003 Additional Info: Only 2.78G (8%) free on /Sap_arch ========================================= I like to receive the values in the W2k servers like i can see in the web interface. Thanks for your answers Jomb. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigocs at mailfarm.brasilis.com.br Wed Apr 9 21:43:19 2003 From: rodrigocs at mailfarm.brasilis.com.br (Rodrigo Comparini) Date: Wed, 9 Apr 2003 16:43:19 -0300 Subject: Oracle Monitoring Message-ID: <001001c2fed0$45817580$d70e200a@network.ctbc> Is it possible to monitor Oracle's performance/Objects using Nagios ? Is there a plugin to do this ? Thank you in advance ! ================================ Rodrigo Comparini de Sousa Ger?ncia de Sistemas Operacionais COP - CTBC ================================ -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at styleadvisor.com Wed Apr 9 22:03:38 2003 From: chris at styleadvisor.com (christopher baus) Date: Wed, 09 Apr 2003 13:03:38 -0700 Subject: Using Nagios to monitor high availability clusters. Message-ID: <5.2.0.9.0.20030409121637.033c0ea0@207.198.120.62> Good Day, I have been configuring nagios to monitor our redundant servers, and I am having a problem getting the results we want. Here's a brief diagram. nagios monitor | router | -----internet----- | | | | | | main cluster back up cluster We have two levels of alerts, and have attempted to use dependencies and notification groups to implement the logic, but haven't been able to get exactly what we want.. I have set up host parents to represent this dependency tree. The router is the last host both sites have in common. Here's the logic we are looking for. o In the case of failure of the main cluster XOR back up cluster notify the first level user (ie email). o In the case of failure of the main cluster AND the back up cluster notify the critical user (ie cell phone). It seems like a simple configuration, but even using all the advanced features (dependencies, escalations, etc.), I still haven't gotten it working just right. I am currently considering creating a virtual host who's service checks check_commands actually check the status of both servers. But this seems like a lot of work, and considering how flexible the system is, it seems I could do this with in its basic framework. thanks, christopher ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Wed Apr 9 21:57:37 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Wed, 9 Apr 2003 14:57:37 -0500 Subject: Oracle Monitoring Message-ID: <352B04312822444A962714393AED8A4D113875@ADAEVS01.int.chickasaw.net> The nagios-plugins package comes with a check_oracle plugin, Not sure about performance but it will check tables, you probably can do some things you want with it if you tweak it a bit.. # ./check_oracle -h check_oracle (nagios-plugins 1.3.0) 1.4 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Usage: check_oracle --tns check_oracle --db check_oracle --login check_oracle --cache check_oracle --tablespace check_oracle --oranames check_oracle --help check_oracle --version Check remote or local TNS status and check local Database status --tns=SID/IP Address Check remote TNS server --db=SID Check local database (search /bin/ps for PMON process and check filesystem for sgadefORACLE_SID.dbf --login=SID Attempt a dummy login and alert if not ORA-01017: invalid username/password --cache Check local database for library and buffer cache hit ratios ---> Requires Oracle user/password and SID specified. ---> Requires select on v_ and v_ --tablespace Check local database for tablespace capacity in ORACLE_SID ---> Requires Oracle user/password specified. ---> Requires select on dba_data_files and dba_free_space --oranames=Hostname Check remote Oracle Names server --help Print this help screen --version Print version and license information If the plugin doesn't work, check that the ORACLE_HOME environment variable is set, that ORACLE_HOME/bin is in your PATH, and the tnsnames.ora file is locatable and is properly configured. When checking Local Database status your ORACLE_SID is case sensitive. Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net Jeremy Russell Network Administrator, CNI 580-272-2707 -----Original Message----- From: Rodrigo Comparini [mailto:rodrigocs at mailfarm.brasilis.com.br] Sent: Wednesday, April 09, 2003 2:43 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Oracle Monitoring Is it possible to monitor Oracle's ?performance/Objects using Nagios ? ? Is there a plugin to do this ? ? Thank you in advance ! ? ? ? ================================ Rodrigo Comparini de Sousa Ger?ncia de Sistemas Operacionais COP - CTBC ================================ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rhltechie at yahoo.com Wed Apr 9 22:23:26 2003 From: rhltechie at yahoo.com (Strng Phisch) Date: Wed, 9 Apr 2003 13:23:26 -0700 (PDT) Subject: newbie help...again Message-ID: <20030409202326.54232.qmail@web20109.mail.yahoo.com> Hi All- Someone so kindly answered my question earlier about not being able to start nagios. The answer given was totally correct and helped me out a lot. May I trouble all of you once more to ask another newbie question. I had the web interface working fine, but when it comes to the authentication part, I am banging my head against the wall. When I go to the page, I am prompted for a username and password. I have made these, but when I enter a valid user id and password it just spits the box back at me again. I have my .htaccess file in /usr/local/nagios, /usr/local/nagios/sbin and also /usr/sbin/nagios/share. I know it is reading the file because I have changed the AuthName to several different things and it always changes. I made my access file exactly as the docs said to, as well as adding everything needed to my httpd.conf file. I am at a loss. Help?? TAOT __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rodrigocs at mailfarm.brasilis.com.br Wed Apr 9 22:33:53 2003 From: rodrigocs at mailfarm.brasilis.com.br (Rodrigo Comparini) Date: Wed, 9 Apr 2003 17:33:53 -0300 Subject: Oracle Monitoring References: <352B04312822444A962714393AED8A4D113875@ADAEVS01.int.chickasaw.net> Message-ID: <003a01c2fed7$568e1110$d70e200a@network.ctbc> Jeremy, Thank you for your help. What about MS-SQL Server, is it possible to monitor Microsoft's Database ? Also I would like to know: 1- Were can I find a detailed list about services/applications that can be monitored using Nagios ? 2- Sucess cases of large companies using Nagios to monitor their networks/servers environment ! I will really appreciate any kind of help. Thanks in advance. ================================ Rodrigo Comparini de Sousa Ger?ncia de Sistemas Operacionais COP - CTBC ================================ ----- Original Message ----- From: "Jeremy Russell" To: "Rodrigo Comparini" ; Sent: Wednesday, April 09, 2003 4:57 PM Subject: RE: [Nagios-users] Oracle Monitoring The nagios-plugins package comes with a check_oracle plugin, Not sure about performance but it will check tables, you probably can do some things you want with it if you tweak it a bit.. # ./check_oracle -h check_oracle (nagios-plugins 1.3.0) 1.4 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Usage: check_oracle --tns check_oracle --db check_oracle --login check_oracle --cache check_oracle --tablespace check_oracle --oranames check_oracle --help check_oracle --version Check remote or local TNS status and check local Database status --tns=SID/IP Address Check remote TNS server --db=SID Check local database (search /bin/ps for PMON process and check filesystem for sgadefORACLE_SID.dbf --login=SID Attempt a dummy login and alert if not ORA-01017: invalid username/password --cache Check local database for library and buffer cache hit ratios ---> Requires Oracle user/password and SID specified. ---> Requires select on v_ and v_ --tablespace Check local database for tablespace capacity in ORACLE_SID ---> Requires Oracle user/password specified. ---> Requires select on dba_data_files and dba_free_space --oranames=Hostname Check remote Oracle Names server --help Print this help screen --version Print version and license information If the plugin doesn't work, check that the ORACLE_HOME environment variable is set, that ORACLE_HOME/bin is in your PATH, and the tnsnames.ora file is locatable and is properly configured. When checking Local Database status your ORACLE_SID is case sensitive. Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net Jeremy Russell Network Administrator, CNI 580-272-2707 -----Original Message----- From: Rodrigo Comparini [mailto:rodrigocs at mailfarm.brasilis.com.br] Sent: Wednesday, April 09, 2003 2:43 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Oracle Monitoring Is it possible to monitor Oracle's performance/Objects using Nagios ? Is there a plugin to do this ? Thank you in advance ! ================================ Rodrigo Comparini de Sousa Ger?ncia de Sistemas Operacionais COP - CTBC ================================ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbrunk at whitetec.com Thu Apr 10 00:02:08 2003 From: jbrunk at whitetec.com (Jason Brunk) Date: Wed, 9 Apr 2003 18:02:08 -0400 Subject: Templates Message-ID: <007a01c2fee3$aa7152e0$92454918@jblaptop> I am working with some application development that will coinside with nagios. I am retrieving the tac.cgi from within my application. What I want to do is do some parsing, so that I can show the information in my application. But there no real search strings available to separate the areas. Where can I locate the templates that the cgi's use so I can see if I can add hidden keys that can be searched. Jason ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jru at sunnmore.net Wed Apr 9 23:08:45 2003 From: jru at sunnmore.net (Jon Ottar Runde) Date: 09 Apr 2003 23:08:45 +0200 Subject: gnokii In-Reply-To: <1049879644.3173.5.camel@Monitor> References: <131A385F21AAD311BD6400902763781D020DD3D7@Z8> <1049879644.3173.5.camel@Monitor> Message-ID: <1049922525.4695.12.camel@twin.sunnmore.net> On Wed, 2003-04-09 at 11:14, Eduardo Leit?o wrote: > Hi > How do you configure the aplication to send sms, what i want to know is > where i put the parameters of my message center and country setting, in > my case the settings of Portugal. > > I think there is two ways to send a sms: > - send by modem > - or you contact a nessage center > I'm right or i have not understand Gnokii, is a program you use to send mail with a cellular phone connected to the server, with a cable. i.e. a nokia 6210, with a nokia datacable. All sms-config is done on the phone. You do not need a modem, a phone-line etc. Good for _real_ emergencies. > > I've got gnokii working manually and I'm now looking at using it with > > nagios, I've set it up in miscommands like so > > I'm assuming there is probably a lot wrong with this because I got the > > template from the only SMS page I could find in the FAQ's (it was using > > yaps) > > > > Anyways, If there is something wrong with the above can u let me know. (the > > /usr/local/bin/gnokii is the correct path) > > > > What I'm after is maybe all the config files that someone has that relate to > > gnokii directly so I can use them as a guide. If anyone is using gnokii and > > wouldn't mind just emailing me the files I would greatly appreciate it. > > > > Thanks > > > > -Brad Well, is it working? I'm assuming not, since you are asking here. I tried this, and it worked: define command{ command_name notify-by-sms command_line /bin/echo '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ ($OUTPUT$)'| /usr/local/bin/gnokii --sendsms $CONTACTPAGER$ } # 'Host-Notify-by-sms' define command{ command_name host-notify-by-sms command_line /bin/echo '$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$ ($OUTPUT$)' | /usr/local/bin/gnokii --sendsms $CONTACTPAGER$ } gnokii likes, in my experience, to get the sms-text on stdin. You also need to tell nagios, in contacts.cfg that you want to send sms, and the number: add in you definition: service_notification_commands notify-by-sms host_notification_commands host-notify-by-sms pager } Jon Ottar -- Jon Ottar Runde ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Wed Apr 9 22:38:55 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Wed, 9 Apr 2003 15:38:55 -0500 Subject: newbie help...again Message-ID: <352B04312822444A962714393AED8A4D113877@ADAEVS01.int.chickasaw.net> Did you create the password file using the "htpasswd" utility yet? And if so is it readable by the user running apache (usually "nobody"). Jeremy Russell Network Administrator, CNI 580-272-2707 -----Original Message----- From: Strng Phisch [mailto:rhltechie at yahoo.com] Sent: Wednesday, April 09, 2003 3:23 PM To: Nagios Mailing List Subject: [Nagios-users] newbie help...again Hi All- Someone so kindly answered my question earlier about not being able to start nagios. The answer given was totally correct and helped me out a lot. May I trouble all of you once more to ask another newbie question. I had the web interface working fine, but when it comes to the authentication part, I am banging my head against the wall. When I go to the page, I am prompted for a username and password. I have made these, but when I enter a valid user id and password it just spits the box back at me again. I have my .htaccess file in /usr/local/nagios, /usr/local/nagios/sbin and also /usr/sbin/nagios/share. I know it is reading the file because I have changed the AuthName to several different things and it always changes. I made my access file exactly as the docs said to, as well as adding everything needed to my httpd.conf file. I am at a loss. Help?? TAOT __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From darrenh at gallagher.co.nz Thu Apr 10 01:37:04 2003 From: darrenh at gallagher.co.nz (Darren Harrison) Date: Thu, 10 Apr 2003 11:37:04 +1200 Subject: Plugin timeout vs Valid Error Message-ID: Hi all, In my Nagios system I seem to get quite a few Plugin timeouts. I have Nagios running on a Alpha box with Debian, in a mainly Windows (i.e. everything else) environment using NSClient to get all info except Host pings. In some cases I get a Plugin timeout (e.g. CRITICAL - Plugin timed out after 10 seconds ) and other cases I get a valid error (e.g. PING CRITICAL - Packet loss = 100% ). With the check_nt plugin I get the warning (e.g. MEMUSE;WARNING;SOFT;1;No data was recieved from host! [sic] ) vs the error (e.g. PROC_DOMINO;CRITICAL;SOFT;5; nserver.exe: not running - nrouter.exe: not running ) The problem is that I would like to treat these two cases slightly differently. In the first case I'd like to keep trying for e.g. half an hour before reporting a problem, but the second case should be reported almost immediately. In the Plugin timeout case, I often get the same critical problem for minutes at a time, so I'd take from this that increasing the service timeout wouldn't help too much. Is there any way to accomplish this? Thanks Darren. ########################################################################### This e-mail is confidential and may contain information subject to legal privilege. If you are not the intended recipient please advise us of our error by return e-mail then delete this e-mail and any attached files. You may not copy, disclose or use the contents in any way. The views expressed in this e-mail may not be those of Gallagher Group Ltd or subsidiary companies thereof. ########################################################################### ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 10 01:44:19 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 09 Apr 2003 19:44:19 -0400 (EDT) Subject: Templates In-Reply-To: <007a01c2fee3$aa7152e0$92454918@jblaptop> References: <007a01c2fee3$aa7152e0$92454918@jblaptop> Message-ID: On Wed, 9 Apr 2003, Jason Brunk wrote: > I am working with some application development that will coinside with > nagios. I am retrieving the tac.cgi from within my application. What I > want to do is do some parsing, so that I can show the information in my > application. But there no real search strings available to separate the > areas. Where can I locate the templates that the cgi's use so I can see > if I can add hidden keys that can be searched. > > Jason > > > no templates - search the source - cgi/tac.c -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Wed Apr 9 22:45:39 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Wed, 9 Apr 2003 15:45:39 -0500 Subject: Oracle Monitoring Message-ID: <352B04312822444A962714393AED8A4D02683B@ADAEVS01.int.chickasaw.net> There is no specific plugin for MS-SQL, but using something like the NSclient and snmp you could probably check to see if its at least running as a service, and then hit the tcp port to see if its active on the network. These are the plugins that came with the Nagios-plugins 1.3.0 package. Some have multifunctionality, so you can check almost anything with just these. # ls ../libexec README check_netapp.pl apan.cgi check_nntp check_adptraid.sh check_nt check_apache.pl check_nt_load check_apc_ups.pl check_ntp check_appletalk.pl check_nwstat check_backup.pl check_nwstat.pl check_bgpstate.pl check_ora_table_space.pl check_breeze check_oracle check_breeze.pl check_oracle_instance.pl check_by_ssh check_overcr check_citrix check_ping check_compaq_insight.pl check_pop check_dig check_pop3.pl check_digitemp.pl check_procl.sh check_disk check_procr.sh check_disk_smb check_procs check_disk_snmp.pl check_qmailq.pl check_dl_size.pl check_real check_dlswcircuit.pl check_remote_nagios_status.pl check_dns check_rpc check_dns_random.pl check_rrd_data.pl check_dummy check_sap.sh check_email_loop.pl check_sensors check_file_age.pl check_smb.sh check_flexlm check_smtp check_flexlm.pl check_snmp check_ftp check_snmp_disk_monitor.pl check_ftpget.pl check_snmp_process_monitor.pl check_hpjd check_sockets.pl check_hprsc.pl check_ssh check_http check_swap check_ifoperstatus check_tcp check_ifstatus check_time check_imap check_udp check_inodes-freebsd.pl check_unix_load check_inodes.pl check_ups check_ircd check_users check_javaproc.pl check_vcs.pl check_joy.sh check_vsz check_ldap check_wave check_linux_raid.pl check_wave.pl check_lmmon.pl check_wins.pl check_load checkciscotemp.pl check_log disk_by_snmp check_log2.pl fetchlog check_mailq generate.cgi check_maxchannels.pl maser-oracle.pl check_maxwanstate.pl mrtgext.pl check_megaide nagios_sendim.pl check_mem.pl negate check_mrtg restrict.pl check_mrtgtraf sched_downtime.pl check_ms_spooler.pl uptime_by_snmp check_mysql urlize check_mysql.pl urlize.pl check_nagios utils.pm check_nagios.pl utils.sh check_nagios_db.pl We monitor around 50 servers and 200 services servicing 2500 users with it, not real big but big enough. We use Cisco products for our hundreds of access layer equip, switches and routers, but Nagios for the services side. Nagios has been very successful, the customization and configurability is what is most attractive. I would like to see it in the future be integrated with or just built into a complete network/system management solution. It has a very healthy start. Jeremy Russell Network Administrator, CNI 580-272-2707 -----Original Message----- From: Rodrigo Comparini [mailto:rodrigocs at mailfarm.brasilis.com.br] Sent: Wednesday, April 09, 2003 3:34 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Oracle Monitoring Jeremy, Thank you for your help. What about MS-SQL Server, is it possible to monitor Microsoft's Database ? Also I would like to know: 1- Were can I find a detailed list about services/applications that can be monitored using Nagios ? 2- Sucess cases of large companies using Nagios to monitor their networks/servers environment ! I will really appreciate any kind of help. Thanks in advance. ================================ Rodrigo Comparini de Sousa Ger?ncia de Sistemas Operacionais COP - CTBC ================================ ----- Original Message ----- From: "Jeremy Russell" To: "Rodrigo Comparini" ; Sent: Wednesday, April 09, 2003 4:57 PM Subject: RE: [Nagios-users] Oracle Monitoring The nagios-plugins package comes with a check_oracle plugin, Not sure about performance but it will check tables, you probably can do some things you want with it if you tweak it a bit.. # ./check_oracle -h check_oracle (nagios-plugins 1.3.0) 1.4 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Usage: check_oracle --tns check_oracle --db check_oracle --login check_oracle --cache check_oracle --tablespace check_oracle --oranames check_oracle --help check_oracle --version Check remote or local TNS status and check local Database status --tns=SID/IP Address Check remote TNS server --db=SID Check local database (search /bin/ps for PMON process and check filesystem for sgadefORACLE_SID.dbf --login=SID Attempt a dummy login and alert if not ORA-01017: invalid username/password --cache Check local database for library and buffer cache hit ratios ---> Requires Oracle user/password and SID specified. ---> Requires select on v_ and v_ --tablespace Check local database for tablespace capacity in ORACLE_SID ---> Requires Oracle user/password specified. ---> Requires select on dba_data_files and dba_free_space --oranames=Hostname Check remote Oracle Names server --help Print this help screen --version Print version and license information If the plugin doesn't work, check that the ORACLE_HOME environment variable is set, that ORACLE_HOME/bin is in your PATH, and the tnsnames.ora file is locatable and is properly configured. When checking Local Database status your ORACLE_SID is case sensitive. Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net Jeremy Russell Network Administrator, CNI 580-272-2707 -----Original Message----- From: Rodrigo Comparini [mailto:rodrigocs at mailfarm.brasilis.com.br] Sent: Wednesday, April 09, 2003 2:43 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Oracle Monitoring Is it possible to monitor Oracle's performance/Objects using Nagios ? Is there a plugin to do this ? Thank you in advance ! ================================ Rodrigo Comparini de Sousa Ger?ncia de Sistemas Operacionais COP - CTBC ================================ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From admccray at thespring.org Thu Apr 10 06:10:48 2003 From: admccray at thespring.org (admccray at thespring.org) Date: Wed, 9 Apr 2003 23:10:48 -0500 Subject: Nagios-users digest, Vol 1 #1409 - 22 msgs Message-ID: <16E8AA4760A@shelter.thespring.org> I am out of the office for the week of April 7 and will return on Monday April 14. If this is a computer related issue, please contact vlwilliams at thespring.org for your support needs. If you need to speak to me directly, I can be reached via desk at 813-247-5433 ext 329 or via cell phone at 813-210-0421. Adrian McCray LAN Manager ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daehenoc at optusnet.com.au Thu Apr 10 08:10:44 2003 From: daehenoc at optusnet.com.au (daehenoc at optusnet.com.au) Date: Thu, 10 Apr 2003 16:10:44 +1000 Subject: Nagios on Debian and hundreds of processes Message-ID: <200304100610.h3A6AiQ02377@mail022.syd.optusnet.com.au> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From fredrik.wanglund at datavis.se Thu Apr 10 08:44:30 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 10 Apr 2003 08:44:30 +0200 Subject: gnokii References: <131A385F21AAD311BD6400902763781D020DD3D7@Z8> <1049879644.3173.5.camel@Monitor> <1049922525.4695.12.camel@twin.sunnmore.net> Message-ID: <3E9512CE.1030604@datavis.se> A have written a sms-server for gammu. It consists of a deamon that scans an outbox for messages at regular times and a sender-program that does name/number/number-group lookups in a adressbook and puts the message in the outbox. I have also a Nagios-plugin that reports some basic parameters from the phone (charger/battery powered, battery-level and network-level). I'm currently working on expanding the sms-server so you also can send SMS to it, but I can post the current version on the web for you.. /FredrikW Jon Ottar Runde wrote: >On Wed, 2003-04-09 at 11:14, Eduardo Leit?o wrote: > > >>Hi >>How do you configure the aplication to send sms, what i want to know is >>where i put the parameters of my message center and country setting, in >>my case the settings of Portugal. >> >>I think there is two ways to send a sms: >> - send by modem >> - or you contact a nessage center >>I'm right or i have not understand >> >> > >Gnokii, is a program you use to send mail with a cellular phone >connected to the server, with a cable. i.e. a nokia 6210, with a nokia >datacable. All sms-config is done on the phone. >You do not need a modem, a phone-line etc. Good for _real_ emergencies. > > > > >>>I've got gnokii working manually and I'm now looking at using it with >>>nagios, I've set it up in miscommands like so >>> >>> > > > > > >>>I'm assuming there is probably a lot wrong with this because I got the >>>template from the only SMS page I could find in the FAQ's (it was using >>>yaps) >>> >>>Anyways, If there is something wrong with the above can u let me know. (the >>>/usr/local/bin/gnokii is the correct path) >>> >>>What I'm after is maybe all the config files that someone has that relate to >>>gnokii directly so I can use them as a guide. If anyone is using gnokii and >>>wouldn't mind just emailing me the files I would greatly appreciate it. >>> >>>Thanks >>> >>>-Brad >>> >>> >Well, is it working? >I'm assuming not, since you are asking here. > >I tried this, and it worked: > > > >define command{ >command_name notify-by-sms >command_line /bin/echo '$NOTIFICATIONTYPE$: $HOSTNAME$: >$SERVICEDESC$ is $SERVICESTATE$ ($OUTPUT$)'| /usr/local/bin/gnokii >--sendsms $CONTACTPAGER$ >} ># 'Host-Notify-by-sms' >define command{ >command_name host-notify-by-sms >command_line /bin/echo '$NOTIFICATIONTYPE$: $HOSTNAME$ is >$HOSTSTATE$ ($OUTPUT$)' | /usr/local/bin/gnokii --sendsms $CONTACTPAGER$ >} > > >gnokii likes, in my experience, to get the sms-text on stdin. > >You also need to tell nagios, in contacts.cfg that you want to send sms, >and the number: >add in you definition: > >service_notification_commands notify-by-sms > host_notification_commands host-notify-by-sms > pager > } > > > >Jon Ottar > > > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthieu.couvrand at proservia.fr Thu Apr 10 09:16:12 2003 From: matthieu.couvrand at proservia.fr (Matthieu COUVRAND) Date: Thu, 10 Apr 2003 09:16:12 +0200 Subject: Problems with nsca Message-ID: <3D70F1B3E51A6541B58FD122DD12873821AD81@srv442.proservia.lan> Hi, I would like to use nsca for monitoring but I have got a problem. In my distributed monitoring server, I do some active checks and there is no problem but it doesn't send informations to the central server. I don't understand why. When I run send_nsca in command line, I have got these errors Error: Server closed connection before init packet was received Error: Could not read init packet from server In the main server the nsca deamon look ok (I can conect it with telnet) Is there sommeone who could explain me how to resolv this problem or send me there configuration files for nsca (main and distribute server) Thanks matthieu ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Thu Apr 10 09:20:36 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 10 Apr 2003 09:20:36 +0200 Subject: Oracle Monitoring References: <352B04312822444A962714393AED8A4D02683B@ADAEVS01.int.chickasaw.net> <3E951AE9.BAE5F05B@dhl.com> Message-ID: <3E951B44.D8E6FB8F@dhl.com> Sorry, my mistake, it's there: http://www.nagios.org/faqs/viewfaq.php?faq_id=156 Tom De Blende wrote: > > Jeremy Russell wrote: > > > > There is no specific plugin for MS-SQL, but using something like the NSclient and snmp you could probably check to see if its at least running as a service, and then hit the tcp port to see if its active on the network. > > > > Up until SQL Server 7, Microsoft officially supported Sybase client > software. So you could download the Sybase client, and connect to MS > SQL. With TDS version 8.0 (and legacy support for version 7.0) in SQL > 2000, compatibility with Sybase client was broken. However, you can > use the Freetds libraries instead. > > So here's what I've done to have a way to connect to both SQL 7 and > SQL 2000: > > 1) Download and install freetds from http://www.freetds.org. > 2) Download and install sqsh from http://www.sqsh.org. > 3) export SYBASE=/usr/local/freetds (or where ever your freetds is > installed) > > Now you can use sqsh to connect to your MS SQL: > > sqsh -S servername -U username > > You're now ready to script your own plugins based on the output you > get from your queries. Works great. > > If someone is really interested to write a Perl plugin, you can find > more info on http://www.whirlycott.com/phil/dbdsybase/ on how to use a > Perl module for this (DBD::Sybase). This paper is written for SQL 7 > and the Sybase libraries. But with the info I gave above, it should be > possible to use SQL 2000 with the freetds libraries as well. > > I'll try again to add this to the FAQ's, as my previous attempt > failed... > > For internal use I've written a few Bash plugins that check whether: > > 1) all Maintenance plans (backups, integrity checks,...) on an MS SQL > server have succeeded. > 2) no processes are being deadlocked. > 3) no backup processes are running during production hours. > 4) no DBCC is running during production hours. > > I personally don't think these are such a big deal and rather Linux > (Bash) specific, so I haven't posted them in the contrib... ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Thu Apr 10 09:19:05 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 10 Apr 2003 09:19:05 +0200 Subject: Oracle Monitoring References: <352B04312822444A962714393AED8A4D02683B@ADAEVS01.int.chickasaw.net> Message-ID: <3E951AE9.BAE5F05B@dhl.com> Jeremy Russell wrote: > > There is no specific plugin for MS-SQL, but using something like the NSclient and snmp you could probably check to see if its at least running as a service, and then hit the tcp port to see if its active on the network. Up until SQL Server 7, Microsoft officially supported Sybase client software. So you could download the Sybase client, and connect to MS SQL. With TDS version 8.0 (and legacy support for version 7.0) in SQL 2000, compatibility with Sybase client was broken. However, you can use the Freetds libraries instead. So here's what I've done to have a way to connect to both SQL 7 and SQL 2000: 1) Download and install freetds from http://www.freetds.org. 2) Download and install sqsh from http://www.sqsh.org. 3) export SYBASE=/usr/local/freetds (or where ever your freetds is installed) Now you can use sqsh to connect to your MS SQL: sqsh -S servername -U username You're now ready to script your own plugins based on the output you get from your queries. Works great. If someone is really interested to write a Perl plugin, you can find more info on http://www.whirlycott.com/phil/dbdsybase/ on how to use a Perl module for this (DBD::Sybase). This paper is written for SQL 7 and the Sybase libraries. But with the info I gave above, it should be possible to use SQL 2000 with the freetds libraries as well. I'll try again to add this to the FAQ's, as my previous attempt failed... For internal use I've written a few Bash plugins that check whether: 1) all Maintenance plans (backups, integrity checks,...) on an MS SQL server have succeeded. 2) no processes are being deadlocked. 3) no backup processes are running during production hours. 4) no DBCC is running during production hours. I personally don't think these are such a big deal and rather Linux (Bash) specific, so I haven't posted them in the contrib... ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Thu Apr 10 09:22:27 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 10 Apr 2003 09:22:27 +0200 Subject: Nagios on Debian and hundreds of processes References: <200304100610.h3A6AiQ02377@mail022.syd.optusnet.com.au> Message-ID: <3E951BB3.E9E19F54@dhl.com> http://www.nagios.org/faqs/viewfaq.php?faq_id=123&expand=false&showdesc=true daehenoc at optusnet.com.au wrote: > > Hi all, > > I'm running both 1.0 release and 1.0b5 > versions of Nagios on Debian. On both > machines i'm seeing hundreds (200-350+) > instances of Nagios! > > vickersg at scotty:~$ ps aux | grep nagios | wc > 306 3680 31524 > > This is the line that is repeated most: > > nagios 5639 0.1 0.2 3164 2344 ? > SN 16:00 0:00 /usr/sbin/nagios > /etc/nagios/nagios.cfg > > Here are (what I think are) relevant > nagios.cfg settings: > > service_reaper_frequency=10 > (all other settings regarding scheduling > queue are not set and are presumably default...) > > TIA, > Greg > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.Verscheure at loria.fr Thu Apr 10 09:55:31 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Thu, 10 Apr 2003 09:55:31 +0200 Subject: check_nt Message-ID: <3E952373.3060004@loria.fr> Hello, i try the plugin "check_nt" ... But my connection is refused by host (as say The result of command ). I see you can put a password to access to the host. But what i have to configure on my Windows Host after ? Is there a documentation about ? ( i don't find one anywhere ) Thanks in advance. Bye bye. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daehenoc at optusnet.com.au Thu Apr 10 10:24:46 2003 From: daehenoc at optusnet.com.au (daehenoc at optusnet.com.au) Date: Thu, 10 Apr 2003 18:24:46 +1000 Subject: Nagios on Debian and hundreds of processes Message-ID: <200304100824.h3A8OkQ15542@mail022.syd.optusnet.com.au> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From Tom.DeBlende at dhl.com Thu Apr 10 11:13:19 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 10 Apr 2003 11:13:19 +0200 Subject: Nagios on Debian and hundreds of processes References: <200304100824.h3A8OkQ15542@mail022.syd.optusnet.com.au> Message-ID: <3E9535AF.4BFC98D2@dhl.com> Hi Greg, It depends on how many services and hosts you have. If the amount of processes is not constantly increasing, it is not a problem. Kind regards, Tom daehenoc at optusnet.com.au wrote: > > Thanks for the info Tom. Is it usual to have > hundreds of Nagios processes? > > I found the FAQ "Nagios is hogging memory or > causing the server to swap heavily", > http://www.nagios.org/faqs/viewfaq.php?faq_id=115&expand=false&showdesc=true > and will reduce my service_reaper_frequency > and see how that goes. > > Greg > > > Tom DE BLENDE wrote: > > > > > > daehenoc at optusnet.com.au wrote: > > > > > > Hi all, > > > > > > I'm running both 1.0 release and 1.0b5 > > > versions of Nagios on Debian. On both > > > machines i'm seeing hundreds (200-350+) > > > instances of Nagios! > > > > > > vickersg at scotty:~$ ps aux | grep nagios | wc > > > 306 3680 31524 > > > > > > This is the line that is repeated most: > > > > > > nagios 5639 0.1 0.2 3164 2344 ? > > > SN 16:00 0:00 /usr/sbin/nagios > > > /etc/nagios/nagios.cfg > > > > > > Here are (what I think are) relevant > > > nagios.cfg settings: > > > > > > service_reaper_frequency=10 > > > (all other settings regarding scheduling > > > queue are not set and are presumably > default...) > > > > > > TIA, > > > Greg > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Etnus, > makers of TotalView, The > > debugger > > > for complex code. Debugging C/C++ > programs can leave you feeling > > lost and > > > disoriented. TotalView can help you find > your way. Available on > > major UNIX > > > and Linux platforms. Try it free. > www.etnus.com > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin > version (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will > risk being sent to > > /dev/null > > > http://www.nagios.org/faqs/viewfaq.php?faq_id=123&expand=false&showde > > sc=true > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Thu Apr 10 11:26:35 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Thu, 10 Apr 2003 11:26:35 +0200 Subject: [Fwd: Ang: [Fwd: Returned mail: see transcript fordetails]] Message-ID: <3E9538CB.3B85F001@dhl.com> And if this subscriber will spam me until April 22nd, I would very appreciate a temporarily removal as well! -------------- next part -------------- An embedded message was scrubbed... From: "Stefan Hanssen" Subject: Ang: [Nagios-users] [Fwd: Returned mail: see transcript for details] Date: Thu, 10 Apr 2003 11:23:59 +0200 Size: 1681 URL: From Kurzer at c-bs.de Thu Apr 10 11:46:31 2003 From: Kurzer at c-bs.de (Matthias Kurzer) Date: Thu, 10 Apr 2003 11:46:31 +0200 Subject: Nagios on Debian and hundreds of processes In-Reply-To: <200304100610.h3A6AiQ02377@mail022.syd.optusnet.com.au> References: <200304100610.h3A6AiQ02377@mail022.syd.optusnet.com.au> Message-ID: <3E953D77.2050506@c-bs.de> daehenoc at optusnet.com.au wrote: > I'm running both 1.0 release and 1.0b5 > versions of Nagios on Debian. On both > machines i'm seeing hundreds (200-350+) > instances of Nagios! > service_reaper_frequency=10 Reduce it to service_reaper_frequency=1 works for me. -- Matthias Kurzer/IT Systemadministrator c: Channel Business Service GmbH Tel.: +49 40 76629-1966 Mail: kurzer at c-bs.de ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Thu Apr 10 12:10:09 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Thu, 10 Apr 2003 06:10:09 -0400 Subject: check_nt Message-ID: <2E3E9736615DD311895D00105A9CADED014BCB7F@eentsvr40.ehvert.com> You need nsclient installed on the windows servers See the nagios download page for directions. Later, dean -----Original Message----- From: Lionel Verscheure [mailto:Lionel.Verscheure at loria.fr] Sent: April 10, 2003 3:56 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_nt Hello, i try the plugin "check_nt" ... But my connection is refused by host (as say The result of command ). I see you can put a password to access to the host. But what i have to configure on my Windows Host after ? Is there a documentation about ? ( i don't find one anywhere ) Thanks in advance. Bye bye. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Thu Apr 10 13:49:14 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Thu, 10 Apr 2003 13:49:14 +0200 Subject: Notification-Problem with escalation Message-ID: <200304101349.14046.Michael.Huettig@Medien-Systempartner.de> Hi, i defined some hostgroups to classify our environment (switches, routers, novell, nt, linux etc.) For each group i've defined hostgroupescalation. 1-2 warnings via email to admins, the next 2-5 via email to another group too and after 5 notification with sms. Running System ist RH7.3 and nagios 1.0 Problem-description: the defined contact-groups have all three members, but only the first member would be notified. example: # 'nt-admins' contact group definition define contactgroup{ contactgroup_name nt-admins alias NT Admins members user-a, user-b, user-c } # 'nt-admins-sms' contact group definition define contactgroup{ contactgroup_name nt-admins-sms alias NT Admins SMS members user-a-sms, user-b-sms, user-c-sms } # Hostgroup 'nt-servers' escalation definition define hostgroupescalation{ hostgroup_name nt-servers first_notification 2 last_notification 5 contact_groups nt-admins, leitstand notification_interval 10 } # Hostgroup 'novell-servers' escalation definition define hostgroupescalation{ hostgroup_name nt-servers first_notification 6 last_notification 0 contact_groups nt-admins-sms, leitstand-sms notification_interval 10 } I couldn't believe, that the " " [SPACE] between some definitions is a problem, becaus SPACES work on hosts.cfg, services.cfg and so on. -- Mit freundlichem Gru? Michael H?ttig ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Thu Apr 10 15:04:10 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Thu, 10 Apr 2003 15:04:10 +0200 Subject: Notification-Problem Message-ID: <200304101504.10804.Michael.Huettig@Medien-Systempartner.de> Hi anyone, hi Ethan, I have another notification problem. I receive notifications for hosts and services for which i'm not the defined contact. When changing a contactgroup notes go out to the formarly configured group and not to the actual defined group. I thought that nagios 1.0 is caching some information and doesn't refrech its config-data. Do you have some tip for me? -- Greets Michael H?ttig ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Thu Apr 10 15:25:24 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Thu, 10 Apr 2003 09:25:24 -0400 Subject: DEC Alpha Message-ID: Has anyone monitored a DEC Alpha running NT? If so, what client have you used? Thanks, Lane ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 icnet.com.ve Thu Apr 10 15:36:03 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Thu, 10 Apr 2003 09:36:03 -0400 Subject: Net:SNMP Message-ID: <5.1.0.14.0.20030410093401.00bb7590@pop.icnet.com.ve> Hi, I want to use the check_ifstatus command, but the following errors appears. Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec /usr/ lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site _perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl 5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/pe rl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /usr/local/nagios/libexec /check_ifstatus line 35. BEGIN failed--compilation aborted at /usr/local/nagios/libexec/check_ifstatus li ne 35. Where can I find that library? Thanks, Jeyri ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ange.ferrari at digital-network.org Thu Apr 10 15:39:29 2003 From: ange.ferrari at digital-network.org (ange.ferrari at digital-network.org) Date: Thu, 10 Apr 2003 15:39:29 +0200 Subject: Net:SNMP In-Reply-To: <5.1.0.14.0.20030410093401.00bb7590@pop.icnet.com.ve> References: <5.1.0.14.0.20030410093401.00bb7590@pop.icnet.com.ve> Message-ID: <1049981969.3e957411b6960@ns1.digital-network.net> http://search.cpan.org Ange Selon Jeyri Bautista : > Hi, > > I want to use the check_ifstatus command, but the following errors appears. > > Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec > /usr/ > lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 > /usr/lib/perl5/site > _perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 > /usr/lib/perl > 5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi > /usr/lib/pe > rl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at > /usr/local/nagios/libexec > /check_ifstatus line 35. > BEGIN failed--compilation aborted at > /usr/local/nagios/libexec/check_ifstatus li > ne 35. > > Where can I find that library? > > Thanks, > > Jeyri > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ---------------------------------------------------------------------- This mail sent through Toaster-Horde (http://qmailtoaster.clikka.com/) ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Thu Apr 10 16:40:46 2003 From: jsm at inpro.net (Jeff McKeon) Date: 10 Apr 2003 10:40:46 -0400 Subject: Check Command Output error Message-ID: <1049985647.1327.8.camel@rh80-jsm.telaurus.net> I've just installed nagios 1.0 on a new server and moved my configs from my old 1.0b dev server over. It's up and running fine except for one thing that I now see on both servers. If I go into a host detail on the web interface I can't issue any commands to effect the hosts and under where the host commands should be is a message: "It appears as though Nagios is not running so commands are temporarily unavailable... Click here to view nagios process information" Process Status Information: Critical: Check Command Output: Could not locate a running Nagios Process!! What have I screwed up here? thanks, Jeff ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 alienn.net Thu Apr 10 17:01:27 2003 From: nagios-users at alienn.net (Nicki Messerschmidt, Linksystem Muenchen GmbH) Date: Thu, 10 Apr 2003 17:01:27 +0200 Subject: Configuration Message-ID: <019c01c2ff72$10e4cd20$d0551ec3@linkm.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list, I just setup nagios, but I think that I didn't get the templates idea. Everytime I add a host I have to modify a least two files (hostgroups.cfg and my template for new hosts). And this is a lot of work as I have to specify the hostname at a lot of locations. And If I want to add a new escalation level I have to modify all of my host templates and service templates. And this, I'm sure, is too much work... I hope someone can provide a "perfect" nagios configuration with at least two escalation levels (mail/pager) and some hostgroups and hosts. I hope that I can save a lot of work... Cheers and thanks Nicki - -- Linksystem Muenchen GmbH info at link-m.de Schloerstrasse 10 http://www.link-m.de 80634 Muenchen Tel. 089 / 890 518-0 We make the Net work. Fax 089 / 890 518-77 -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.3 for non-commercial use Comment: Keys at: https://www.link-m.de/pgp iQA/AwUBPpV5N+s1nPm17iBDEQJHnQCgifpR6yt7rJIJ//oawjMWON76mqwAnRHn 2nTDZCbscxzFyNdCe+pE7eWQ =xXXR -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Thu Apr 10 17:01:35 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Thu, 10 Apr 2003 10:01:35 -0500 Subject: Netbotz. Message-ID: <352B04312822444A962714393AED8A4D11387A@ADAEVS01.int.chickasaw.net> Hello list! Has anyone used Nagios the monitor the temp sensor on the Netbotz net appliances? I have SNMP enabled on the device, so I assume you could pull that info through there, just don't know the MIB. Thanks. Jeremy Russell Network Administrator, CNI 580-272-2707 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jsm at inpro.net Thu Apr 10 17:09:16 2003 From: jsm at inpro.net (Jeff McKeon) Date: 10 Apr 2003 11:09:16 -0400 Subject: Check Command Output error In-Reply-To: <1049985647.1327.8.camel@rh80-jsm.telaurus.net> References: <1049985647.1327.8.camel@rh80-jsm.telaurus.net> Message-ID: <1049987357.1327.12.camel@rh80-jsm.telaurus.net> Here is what the ps command shows... [root at rh80-jsm etc]# ps axu | grep nagios nagios 2300 0.0 0.2 2108 1100 ? S 10:57 0:00 [nagios] root 2796 0.0 0.1 4452 644 pts/1 S 11:08 0:00 grep nagios On Thu, 2003-04-10 at 10:40, Jeff McKeon wrote: > I've just installed nagios 1.0 on a new server and moved my configs from > my old 1.0b dev server over. It's up and running fine except for one > thing that I now see on both servers. If I go into a host detail on the > web interface I can't issue any commands to effect the hosts and under > where the host commands should be is a message: > > "It appears as though Nagios is not running so commands are temporarily > unavailable... Click here to view nagios process information" > > Process Status Information: > > Critical: Check Command Output: Could not locate a running Nagios > Process!! > > What have I screwed up here? > > thanks, > > Jeff > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Thu Apr 10 17:24:52 2003 From: jsm at inpro.net (Jeff McKeon) Date: 10 Apr 2003 11:24:52 -0400 Subject: Check Command Output error In-Reply-To: <1049987357.1327.12.camel@rh80-jsm.telaurus.net> References: <1049985647.1327.8.camel@rh80-jsm.telaurus.net> <1049987357.1327.12.camel@rh80-jsm.telaurus.net> Message-ID: <1049988292.1327.14.camel@rh80-jsm.telaurus.net> Proceeding to knock my head against the wall...... I fixed it.. thanks anyway.. On Thu, 2003-04-10 at 11:09, Jeff McKeon wrote: > Here is what the ps command shows... > > [root at rh80-jsm etc]# ps axu | grep nagios > nagios 2300 0.0 0.2 2108 1100 ? S 10:57 0:00 [nagios] > root 2796 0.0 0.1 4452 644 pts/1 S 11:08 0:00 grep nagios > > > On Thu, 2003-04-10 at 10:40, Jeff McKeon wrote: > > I've just installed nagios 1.0 on a new server and moved my configs from > > my old 1.0b dev server over. It's up and running fine except for one > > thing that I now see on both servers. If I go into a host detail on the > > web interface I can't issue any commands to effect the hosts and under > > where the host commands should be is a message: > > > > "It appears as though Nagios is not running so commands are temporarily > > unavailable... Click here to view nagios process information" > > > > Process Status Information: > > > > Critical: Check Command Output: Could not locate a running Nagios > > Process!! > > > > What have I screwed up here? > > > > thanks, > > > > Jeff > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > > for complex code. Debugging C/C++ programs can leave you feeling lost and > > disoriented. TotalView can help you find your way. Available on major UNIX > > and Linux platforms. Try it free. www.etnus.com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rblayzor at inoc.net Thu Apr 10 17:24:13 2003 From: rblayzor at inoc.net (Robert Blayzor) Date: Thu, 10 Apr 2003 11:24:13 -0400 Subject: Permissions on outage.cgi Message-ID: <003601c2ff75$3de01f70$d300000a@z0.inoc.net> When using "authenicated contacts" no matter what I do, I get a "permission denied" when going to the "Network Outages" CGI. Everything else seems to run great, and the authenticated contact has plenty of hosts underneath it. Anyone have any suggestions? -- Robert Blayzor, BOFH INOC, LLC rblayzor at inoc.net Sure it's user-friendly...if you know what you're doing. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 icnet.com.ve Thu Apr 10 17:42:33 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Thu, 10 Apr 2003 11:42:33 -0400 Subject: Services or host extinfo Message-ID: <5.1.0.14.0.20030410113933.00b619c0@pop.icnet.com.ve> Hi, I want to configure the hostextinfo or serviceextinfo on my nagios. I used the default old method but don?t show me the icon, and I used the template based but don?t show me nothing eather. Can anybody help me? Thanks, Jeyri ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 icnet.com.ve Thu Apr 10 17:50:32 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Thu, 10 Apr 2003 11:50:32 -0400 Subject: Services or host extinfo Message-ID: <5.1.0.14.0.20030410115002.00ba7020@pop.icnet.com.ve> Hi, I want to configure the hostextinfo or serviceextinfo on my nagios. I used the default old method but don?t show me the icon, and I used the template based but don?t show me nothing eather. Can anybody help me? Thanks, Jeyri ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.rendl at ifsna.com Thu Apr 10 18:06:52 2003 From: jeff.rendl at ifsna.com (Jeff Rendl) Date: Thu, 10 Apr 2003 11:06:52 -0500 Subject: Environment settings for check_oracle Message-ID: <372E1E73DFD59941A76494F0219A2574043588CA@mkemail.namerica.corpnet.ifsworld.com> The question is: How do I configure a "system-wide" environment variable in Linux so that my Nagios process (which starts as a service) has access to them? I am running Redhat V8. I'll admit it, I'm a Linux newbie, I figured most this stuff out (with help), but I'm stumped now. In order for the check_oracle plugin to work, it has to be able to access the ORACLE_HOME (amongst others) environment variables. I figured out how to make these available to my shell consistantly, but they aren't available to the NAGIOS process. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmunoz at comcel.com.co Thu Apr 10 18:19:29 2003 From: jmunoz at comcel.com.co (=?iso-8859-1?Q?Jose_Orlando_Mu=F1oz_Bravo_=28HP=29?=) Date: Thu, 10 Apr 2003 11:19:29 -0500 Subject: Multiple web interface Message-ID: <8F3E96AF7095024E922116DCA0587C9DA3416B@ESPERANTO.comcel.com.co> Hi all, I want to know if is posible to have a diferent views I have checks for some services that the most part of the time are in a non-OK state, and I want to separate this of the others than always must be in the OK state. I mean in a diferent web interface like if I were using 2 nagios servers. (hppt://my_nagios_server/nagios and hppt://my_nagios_server/nagios/terporalservices) Thansk is advance for any idea Jomb. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.loew at steyr-ssf.com Thu Apr 10 19:55:41 2003 From: christian.loew at steyr-ssf.com (Christian =?iso-8859-1?B?TPZ3?=) Date: Thu, 10 Apr 2003 19:55:41 +0200 Subject: Netbotz. In-Reply-To: <352B04312822444A962714393AED8A4D11387A@ADAEVS01.int.chickasaw.net> References: <352B04312822444A962714393AED8A4D11387A@ADAEVS01.int.chickasaw.net> Message-ID: <20030410175540.GC17284@debian> On Thu, Apr 10, 2003 at 10:01:35AM -0500, Jeremy Russell wrote: > Has anyone used Nagios the monitor the temp sensor on the > Netbotz net appliances? I have SNMP enabled on the device, so I assume > you could pull that info through there, just don't know the MIB. > Thanks. the MIB is somewhere on the netbotz homepage for download (i dont remeber the full URL) Chris ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 10 21:18:08 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 10 Apr 2003 15:18:08 -0400 (EDT) Subject: Multiple web interface In-Reply-To: <8F3E96AF7095024E922116DCA0587C9DA3416B@ESPERANTO.comcel.com.co> References: <8F3E96AF7095024E922116DCA0587C9DA3416B@ESPERANTO.comcel.com.co> Message-ID: On Thu, 10 Apr 2003, Jose Orlando Mu?oz Bravo (HP) wrote: > > Hi all, > > I want to know if is posible to have a diferent views > > I have checks for some services that the most part of the time are in a > non-OK state, and I want to separate this of the others than always must > be in the OK state. > > I mean in a diferent web interface like if I were using 2 nagios > servers. (hppt://my_nagios_server/nagios and > hppt://my_nagios_server/nagios/terporalservices) > > Thansk is advance for any idea > > Jomb. > If you know in advance when the non-ok states are going to occur and they occur with a repeatable pattern - you might want to define timeperiods when they are not checked. If you want the non-OK to be a *normal* state, you might want to use the negate plugin as a wrapper around the service check. Negate will change the service status from non-OK to OK before reporting it back to NAgios. This would give you a single installation to manage. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From antaegid at takas.lt Thu Apr 10 21:18:42 2003 From: antaegid at takas.lt (Egidijus Antanaitis) Date: Thu, 10 Apr 2003 22:18:42 +0300 Subject: can't get e-mail notifications.. Message-ID: <00e301c2ff96$0038e0a0$4c00000a@lukoil.lt> Hi all, got stuck with configuring notifications by e-mail. It seems, nagios attempts to execute the notification script and successfully, but somewhy I do not receive an e-mail. In ../var/nagios.log: [1049978345] HOST NOTIFICATION: root;nt1;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds I am sure nagios executes the notification script, because when i incorectly set the notification command, I have seen such a record: [1049978345] Warning: Attempting to execute the command "/bin/echo "" | /sbin/mail -s "host notification by email" antaegid at takas.lt resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... When all is correctly set, the message somewhere disapears. The same command, executed from shell, works correctly - it sends the mail. My mailserver is on the other linux box and is running qmail. Second day wasted and tons of documentation read on this question. What a hell am I missing? Egidijus ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 icnet.com.ve Thu Apr 10 21:42:00 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Thu, 10 Apr 2003 15:42:00 -0400 Subject: Ifoperstatus Message-ID: <5.1.0.14.0.20030410153906.00ba5c98@pop.icnet.com.ve> Hi, In the check_command ifoperstatus I have to colocate de -k (key), but I don?t kwow what is it? Jeyri ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From networks at wi.rr.com Thu Apr 10 22:30:00 2003 From: networks at wi.rr.com (Networks) Date: 10 Apr 2003 15:30:00 -0500 Subject: Netbotz. In-Reply-To: <352B04312822444A962714393AED8A4D11387A@ADAEVS01.int.chickasaw.net> References: <352B04312822444A962714393AED8A4D11387A@ADAEVS01.int.chickasaw.net> Message-ID: <1050006604.16181.6.camel@elijah> Jeremy ~ I am having on of our developers write a some perl code to check the device. I am using a snmpwalk to view the temps of the sensor. The command should be something like this.. snmpwalk -m +NETBOTZ-MIB -c public -v 1 192.168.1.1 netBotz-prd-bot-temp Now this assumes a few things. First off it assumes you downloaded the netbotz.mib and saved it as NETBOTZ-MIB.TXT in the /usr/share/snmp/mibs directory. second it assumes that the community string is left to the default of public, the 192.168.1.1 can be replaced with the IP addy of your netbotz box, and the last part is the OID. You need to change the OID to what you want to look for on the device.. if you do this command snmpwalk -m +NETBOTZ-MIB -c public -v 1 192.168.1.1 netBotz and leave the oid as just neetBotz, it will return the entire subtree.. basically giving you a list of stuff you can choose from. If you have any other questions let me know. Hopefully from there you can create a plugin to use... Best of Luck, Josh PS. On a side note.. snmptranslate +M +NETBOTZ %OID% is a command you can use to check if snmp knows what the heck you are talking about.. the -m +NETBOTZ is used to tell snmp to load that MIB. On Thu, 2003-04-10 at 10:01, Jeremy Russell wrote: > Hello list! > Has anyone used Nagios the monitor the temp sensor on the > Netbotz net appliances? I have SNMP enabled on the device, so I assume > you could pull that info through there, just don't know the MIB. > Thanks. > > Jeremy Russell > Network Administrator, CNI > 580-272-2707 > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 10 22:20:44 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 10 Apr 2003 16:20:44 -0400 (EDT) Subject: Ifoperstatus In-Reply-To: <5.1.0.14.0.20030410153906.00ba5c98@pop.icnet.com.ve> References: <5.1.0.14.0.20030410153906.00ba5c98@pop.icnet.com.ve> Message-ID: On Thu, 10 Apr 2003, Jeyri Bautista wrote: > Hi, > > In the check_command ifoperstatus I have to colocate de -k (key), but I > don?t kwow what is it? > > Jeyri > use "snmpwalk -c community hostname interfaces" to see the all the interfaces - the ifIndex key can be selected from there. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmunoz at comcel.com.co Thu Apr 10 22:53:00 2003 From: jmunoz at comcel.com.co (=?iso-8859-1?Q?Jose_Orlando_Mu=F1oz_Bravo_=28HP=29?=) Date: Thu, 10 Apr 2003 15:53:00 -0500 Subject: Multiple web interface Message-ID: <8F3E96AF7095024E922116DCA0587C9DF7243E@ESPERANTO.comcel.com.co> In my configurati?n time perios don?t apply, I have proces that can start any time during the 24 hours day, I just configure a normal service with "notification_interval 0" so it send a only one notification when the service state change OK to non-OK or non-OK to OK. So I know when the process start and when it finish. The problem is, some times my web interface show criticals and warnings than are normal. Can I use your second recomendation ? HOW? Thanks, -----Mensaje original----- De: Subhendu Ghosh [mailto:sghosh at sghosh.org] Enviado el: jueves, 10 de abril de 2003 14:18 Para: Nagios Users List (E-mail) Asunto: Re: [Nagios-users] Multiple web interface On Thu, 10 Apr 2003, Jose Orlando Mu?oz Bravo (HP) wrote: > > Hi all, > > I want to know if is posible to have a diferent views > > I have checks for some services that the most part of the time are in a > non-OK state, and I want to separate this of the others than always must > be in the OK state. > > I mean in a diferent web interface like if I were using 2 nagios > servers. (hppt://my_nagios_server/nagios and > hppt://my_nagios_server/nagios/terporalservices) > > Thansk is advance for any idea > > Jomb. > If you know in advance when the non-ok states are going to occur and they occur with a repeatable pattern - you might want to define timeperiods when they are not checked. If you want the non-OK to be a *normal* state, you might want to use the negate plugin as a wrapper around the service check. Negate will change the service status from non-OK to OK before reporting it back to NAgios. This would give you a single installation to manage. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgotner at fhcrc.org Thu Apr 10 23:01:44 2003 From: jgotner at fhcrc.org (Gotner, James) Date: Thu, 10 Apr 2003 14:01:44 -0700 Subject: Problem with resource.cfg macro definiton Message-ID: <9667A0D2033CD51195F90002B330A3BF04CBA264@moe.fhcrc.org> I got it figured out... I had all of my object config files in the same dir as nagios.cfg.. so nagios was trying to parse all the files (resource.cfg, cgi.cfg) as templates... Oops! James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate Original Message: Hello, I have installed nagios and associated plugins, and have come across a problem that I cannot resolve through searching the archives, or anywhere in the manual. When running ./nagios -v /usr/local/nagios/etc/nagios.cfg, I receive an error to the effect of 'Error: unexpected token or statement in file '/usr/local/nagios/etc/resource.cfg' on line 24. Well, line 24 defines the $USER1$ macro which is defined as: $USER1$=/usr/lib/nagios/plugins I mv'd the resource.cfg-sample file to my config directory as resource.cfg, and only changed the location of the plugin directory ($USER$1) within it. Is there something that I am overlooking here? Thanks for any help.. James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgotner at fhcrc.org Thu Apr 10 23:15:31 2003 From: jgotner at fhcrc.org (Gotner, James) Date: Thu, 10 Apr 2003 14:15:31 -0700 Subject: Timeperiod already been defined Message-ID: <9667A0D2033CD51195F90002B330A3BF04CBA265@moe.fhcrc.org> OK, solve one problem, get into another... While running nagios -v, I now receive an error stating that timeperiod 'worktime' has already been defined. And - Error: Could not register timeperiod 'worktime'. Well, I have all timeperiods defined in one file, timeperiods.cfg, and worktime and one other, 24x7, are the only ones defined. Apparently, nagios accepts the 24x7 definition, as I get an error on the second one. I searched through the archives, and noticed someone with a similar problem. They recompiled the program and their problem was solved... Well, that didnt work for me... Any suggestions on what else to check? Thanks. Nagios v1.0 RedHat Linux 7.3 timeperiods.cfg ----------------- # Time Period Definition # Description: A time period is a list of times during various days that are considered to be "valid" times for notificatins and service checks. It consists of one or more time periods for each day of the week that "rotate" once the week has come to an end. Exceptions to the weekly time range are not supported. #define timeperiod{ # timeperiod_name timeperiod_name ; Short name used to ID the timeperiod # alias alias ; Description for timeperiod # sunday 00:00-24:00 ; Time periods to be used, seperate with commas for multiple timeperiods # monday 00:00-24:00 ; If you do not want any notification on a certian day, then do not # tuesday 00:00-24:00 ; include the day in the definition or comment out. # wednesday 00:00-24:00 # thursday 00:00-24:00 # friday 00:00-24:00 # saturday 00:00-24:00 #} define timeperiod{ timeperiod_name 24x7 alias All the time sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } define timeperiod{ timeperiod_name worktime alias The Nine to Fiver # sunday ; Not used monday 09:00-17:00 tuesday 09:00-17:00 wednesday 09:00-17:00 thursday 09:00-17:00 friday 09:00-17:00 # saturday ; Not used } ---End timeperiods.cfg-------- James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 10 23:25:08 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 10 Apr 2003 17:25:08 -0400 (EDT) Subject: Multiple web interface In-Reply-To: <8F3E96AF7095024E922116DCA0587C9DF7243E@ESPERANTO.comcel.com.co> References: <8F3E96AF7095024E922116DCA0587C9DF7243E@ESPERANTO.comcel.com.co> Message-ID: in order to get notifications you need a state-change. The state (OK,WARNING,CRITICAL) will be reflected on the web interface. If a service in and OK state is OK and in a CRITICAL state is also considered OK - then what are you trying to achieve by monitoring it? Another config item you might want to consider configuring is a volatile service - notification on all state changes. However - warnging and crtical will still be displayed as such on the web interface. -sg On Thu, 10 Apr 2003, Jose Orlando Mu?oz Bravo (HP) wrote: > > In my configurati?n time perios don?t apply, I have proces that can > start any time during the 24 hours day, I just configure a normal > service with "notification_interval 0" so it send a only one > notification when the service state change OK to non-OK or non-OK to OK. > So I know when the process start and when it finish. > > The problem is, some times my web interface show criticals and warnings than are normal. > > Can I use your second recomendation ? HOW? > > Thanks, > > > -----Mensaje original----- > De: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Enviado el: jueves, 10 de abril de 2003 14:18 > Para: Nagios Users List (E-mail) > Asunto: Re: [Nagios-users] Multiple web interface > > > On Thu, 10 Apr 2003, Jose Orlando Mu?oz Bravo (HP) wrote: > > > > > Hi all, > > > > I want to know if is posible to have a diferent views > > > > I have checks for some services that the most part of the time are in a > > non-OK state, and I want to separate this of the others than always must > > be in the OK state. > > > > I mean in a diferent web interface like if I were using 2 nagios > > servers. (hppt://my_nagios_server/nagios and > > hppt://my_nagios_server/nagios/terporalservices) > > > > Thansk is advance for any idea > > > > Jomb. > > > > If you know in advance when the non-ok states are going to occur and they > occur with a repeatable pattern - you might want to define timeperiods > when they are not checked. > > If you want the non-OK to be a *normal* state, you might want to use the > negate plugin as a wrapper around the service check. Negate will change > the service status from non-OK to OK before reporting it back to NAgios. > > This would give you a single installation to manage. > > > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 10 23:23:01 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 10 Apr 2003 17:23:01 -0400 (EDT) Subject: Problem with resource.cfg macro definiton In-Reply-To: <9667A0D2033CD51195F90002B330A3BF04CBA264@moe.fhcrc.org> References: <9667A0D2033CD51195F90002B330A3BF04CBA264@moe.fhcrc.org> Message-ID: Now you can post a FAQ item - cfg_dir entries should only contain object definitions ;) -sg On Thu, 10 Apr 2003, Gotner, James wrote: > I got it figured out... I had all of my object config files in the same dir > as nagios.cfg.. so nagios was trying to parse all the files (resource.cfg, > cgi.cfg) as templates... Oops! > > James Gotner > > Security Certified Network Professional > A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional > Certified Internet Webmaster Associate > > > > Original Message: > > Hello, > > I have installed nagios and associated plugins, and have come across a > problem that I cannot resolve through searching the archives, or anywhere in > the manual. When running ./nagios -v /usr/local/nagios/etc/nagios.cfg, I > receive an error to the effect of 'Error: unexpected token or statement in > file '/usr/local/nagios/etc/resource.cfg' on line 24. Well, line 24 > defines the $USER1$ macro which is defined as: > $USER1$=/usr/lib/nagios/plugins > > I mv'd the resource.cfg-sample file to my config directory as resource.cfg, > and only changed the location of the plugin directory ($USER$1) within it. > Is there something that I am overlooking here? Thanks for any help.. > > James Gotner > > Security Certified Network Professional > A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional > Certified Internet Webmaster Associate > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benjy at feen.com Thu Apr 10 23:51:43 2003 From: benjy at feen.com (Benjamin Feen) Date: Thu, 10 Apr 2003 14:51:43 -0700 Subject: Monitoring services that span hosts? Message-ID: <20030410215143.GI31959@pianosa.catch22.org> Greetings all, Let's say I have a set of URLs: http://foo.feen.com/bar http://foo.feen.com/yay http://foo.feen.com/qaz (these are bogus URLs) These URLs serve up a web application which I'll be monitoring with a custom plugin that logs in and performs a dummy transaction to verify that the site works. Now, there's a whole three-tier architecture behind these URLs: web01 web02 web03 app01 app02 app03 db01 db01 As I understand Nagios, every service must live on a host. So: how do I implement these checks, if they don't really live on any one host? Thanks! Benjamin -- Benjamin Feen benjamin(AT)feen.com http://www.monkeybagel.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgotner at fhcrc.org Fri Apr 11 00:05:11 2003 From: jgotner at fhcrc.org (Gotner, James) Date: Thu, 10 Apr 2003 15:05:11 -0700 Subject: Problem with resource.cfg macro definiton Message-ID: <9667A0D2033CD51195F90002B330A3BF04CBA268@moe.fhcrc.org> Yeah. Maybe object definiton files should end with .obj or .def, and config files end with .cfg. Just a thought. James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Thursday, April 10, 2003 2:23 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Problem with resource.cfg macro definiton Now you can post a FAQ item - cfg_dir entries should only contain object definitions ;) -sg On Thu, 10 Apr 2003, Gotner, James wrote: > I got it figured out... I had all of my object config files in the same dir > as nagios.cfg.. so nagios was trying to parse all the files (resource.cfg, > cgi.cfg) as templates... Oops! > > James Gotner > > Security Certified Network Professional > A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional > Certified Internet Webmaster Associate > > > > Original Message: > > Hello, > > I have installed nagios and associated plugins, and have come across a > problem that I cannot resolve through searching the archives, or anywhere in > the manual. When running ./nagios -v /usr/local/nagios/etc/nagios.cfg, I > receive an error to the effect of 'Error: unexpected token or statement in > file '/usr/local/nagios/etc/resource.cfg' on line 24. Well, line 24 > defines the $USER1$ macro which is defined as: > $USER1$=/usr/lib/nagios/plugins > > I mv'd the resource.cfg-sample file to my config directory as resource.cfg, > and only changed the location of the plugin directory ($USER$1) within it. > Is there something that I am overlooking here? Thanks for any help.. > > James Gotner > > Security Certified Network Professional > A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional > Certified Internet Webmaster Associate > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmacminn at emergency.qld.gov.au Fri Apr 11 00:16:30 2003 From: gmacminn at emergency.qld.gov.au (Gary MacMinn) Date: Fri, 11 Apr 2003 08:16:30 +1000 Subject: Multiple web interface Message-ID: <60780C6B27232849B51929453E0EC01E1E25F3@deskpe2k3.des> Good Morning All, I'd like to be able to do multiple user defined views as well, but for a slightly different reason. I have more sites to monitor than will easily fit on one statupmap screen. I'd like to be able to break the displays up into our organisational regions, with some hosts visible in all views and others in selected views. Any thoughts on if and/or how this could be done? TIA, Gary MacMinn Network Support Engineer Department of Emergency Services ================================= +61 7 3109 5084 +61 7 3247 8665 (fax) ================================= gmacminn at emergency.qld.gov.au ================================= -----Original Message----- From: Jose Orlando Mu?oz Bravo (HP) [mailto:jmunoz at comcel.com.co] Sent: Friday, 11 April 2003 6:53 AM To: Nagios Users List (E-mail) Subject: RE: [Nagios-users] Multiple web interface In my configurati?n time perios don?t apply, I have proces that can start any time during the 24 hours day, I just configure a normal service with "notification_interval 0" so it send a only one notification when the service state change OK to non-OK or non-OK to OK. So I know when the process start and when it finish. The problem is, some times my web interface show criticals and warnings than are normal. Can I use your second recomendation ? HOW? Thanks, -----Mensaje original----- De: Subhendu Ghosh [mailto:sghosh at sghosh.org] Enviado el: jueves, 10 de abril de 2003 14:18 Para: Nagios Users List (E-mail) Asunto: Re: [Nagios-users] Multiple web interface On Thu, 10 Apr 2003, Jose Orlando Mu?oz Bravo (HP) wrote: > > Hi all, > > I want to know if is posible to have a diferent views > > I have checks for some services that the most part of the time are in a > non-OK state, and I want to separate this of the others than always must > be in the OK state. > > I mean in a diferent web interface like if I were using 2 nagios > servers. (hppt://my_nagios_server/nagios and > hppt://my_nagios_server/nagios/terporalservices) > > Thansk is advance for any idea > > Jomb. > If you know in advance when the non-ok states are going to occur and they occur with a repeatable pattern - you might want to define timeperiods when they are not checked. If you want the non-OK to be a *normal* state, you might want to use the negate plugin as a wrapper around the service check. Negate will change the service status from non-OK to OK before reporting it back to NAgios. This would give you a single installation to manage. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 embedded and charset-unspecified text was scrubbed... Name: InterScan_Disclaimer.txt URL: From jgotner at fhcrc.org Fri Apr 11 00:18:12 2003 From: jgotner at fhcrc.org (Gotner, James) Date: Thu, 10 Apr 2003 15:18:12 -0700 Subject: Timeperiod already been defined Message-ID: <9667A0D2033CD51195F90002B330A3BF04CBA269@moe.fhcrc.org> Nope, just the one instance in the timeperiods file... James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Thursday, April 10, 2003 3:14 PM To: Gotner, James Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] Timeperiod already been defined does "grep worktime * " report more than one instance? -sg On Thu, 10 Apr 2003, Gotner, James wrote: > OK, solve one problem, get into another... While running nagios -v, I now > receive an error stating that timeperiod 'worktime' has already been > defined. And - Error: Could not register timeperiod 'worktime'. > Well, I have all timeperiods defined in one file, timeperiods.cfg, and > worktime and one other, 24x7, are the only ones defined. Apparently, nagios > accepts the 24x7 definition, as I get an error on the second one. I > searched through the archives, and noticed someone with a similar problem. > They recompiled the program and their problem was solved... Well, that didnt > work for me... Any suggestions on what else to check? Thanks. > > Nagios v1.0 > RedHat Linux 7.3 > > timeperiods.cfg > ----------------- > > # Time Period Definition > # Description: A time period is a list of times during various days that are > considered to be "valid" times for notificatins and service checks. It > consists of one or more time periods for each day of the week that "rotate" > once the week has come to an end. Exceptions to the weekly time range are > not supported. > > #define timeperiod{ > # timeperiod_name timeperiod_name ; Short name used to > ID the timeperiod > # alias alias ; > Description for timeperiod > # sunday 00:00-24:00 ; Time > periods to be used, seperate with commas for multiple timeperiods > # monday 00:00-24:00 ; If you do > not want any notification on a certian day, then do not > # tuesday 00:00-24:00 ; include > the day in the definition or comment out. > # wednesday 00:00-24:00 > # thursday 00:00-24:00 > # friday 00:00-24:00 > # saturday 00:00-24:00 > #} > > define timeperiod{ > timeperiod_name 24x7 > alias All the time > sunday 00:00-24:00 > monday 00:00-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > > define timeperiod{ > timeperiod_name worktime > alias The Nine to Fiver > # sunday ; Not used > monday 09:00-17:00 > tuesday 09:00-17:00 > wednesday 09:00-17:00 > thursday 09:00-17:00 > friday 09:00-17:00 > # saturday ; Not used > } > > ---End timeperiods.cfg-------- > > > James Gotner > > Security Certified Network Professional > A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional > Certified Internet Webmaster Associate > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Apr 11 00:13:47 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 10 Apr 2003 18:13:47 -0400 (EDT) Subject: Timeperiod already been defined In-Reply-To: <9667A0D2033CD51195F90002B330A3BF04CBA265@moe.fhcrc.org> References: <9667A0D2033CD51195F90002B330A3BF04CBA265@moe.fhcrc.org> Message-ID: does "grep worktime * " report more than one instance? -sg On Thu, 10 Apr 2003, Gotner, James wrote: > OK, solve one problem, get into another... While running nagios -v, I now > receive an error stating that timeperiod 'worktime' has already been > defined. And - Error: Could not register timeperiod 'worktime'. > Well, I have all timeperiods defined in one file, timeperiods.cfg, and > worktime and one other, 24x7, are the only ones defined. Apparently, nagios > accepts the 24x7 definition, as I get an error on the second one. I > searched through the archives, and noticed someone with a similar problem. > They recompiled the program and their problem was solved... Well, that didnt > work for me... Any suggestions on what else to check? Thanks. > > Nagios v1.0 > RedHat Linux 7.3 > > timeperiods.cfg > ----------------- > > # Time Period Definition > # Description: A time period is a list of times during various days that are > considered to be "valid" times for notificatins and service checks. It > consists of one or more time periods for each day of the week that "rotate" > once the week has come to an end. Exceptions to the weekly time range are > not supported. > > #define timeperiod{ > # timeperiod_name timeperiod_name ; Short name used to > ID the timeperiod > # alias alias ; > Description for timeperiod > # sunday 00:00-24:00 ; Time > periods to be used, seperate with commas for multiple timeperiods > # monday 00:00-24:00 ; If you do > not want any notification on a certian day, then do not > # tuesday 00:00-24:00 ; include > the day in the definition or comment out. > # wednesday 00:00-24:00 > # thursday 00:00-24:00 > # friday 00:00-24:00 > # saturday 00:00-24:00 > #} > > define timeperiod{ > timeperiod_name 24x7 > alias All the time > sunday 00:00-24:00 > monday 00:00-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > > define timeperiod{ > timeperiod_name worktime > alias The Nine to Fiver > # sunday ; Not used > monday 09:00-17:00 > tuesday 09:00-17:00 > wednesday 09:00-17:00 > thursday 09:00-17:00 > friday 09:00-17:00 > # saturday ; Not used > } > > ---End timeperiods.cfg-------- > > > James Gotner > > Security Certified Network Professional > A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional > Certified Internet Webmaster Associate > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Apr 11 00:46:07 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 10 Apr 2003 18:46:07 -0400 (EDT) Subject: Monitoring services that span hosts? In-Reply-To: <20030410215143.GI31959@pianosa.catch22.org> References: <20030410215143.GI31959@pianosa.catch22.org> Message-ID: On Thu, 10 Apr 2003, Benjamin Feen wrote: > Greetings all, > > Let's say I have a set of URLs: > > http://foo.feen.com/bar > http://foo.feen.com/yay > http://foo.feen.com/qaz > (these are bogus URLs) > > These URLs serve up a web application which I'll be monitoring with > a custom plugin that logs in and performs a dummy transaction to > verify that the site works. > > Now, there's a whole three-tier architecture behind these URLs: > web01 web02 web03 > app01 app02 app03 > db01 db01 > > As I understand Nagios, every service must live on a host. So: how > do I implement these checks, if they don't really live on any one > host? > > > Thanks! > Benjamin If the custom plugin checks the entire transaction - it should be a service for the front end web server. Other services should check - each webserver each appserver each db server The transaction plugin should have a service dependency on all of these "detailed" services" -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ferlatte at cryptio.net Fri Apr 11 00:48:39 2003 From: ferlatte at cryptio.net (Mark Ferlatte) Date: Thu, 10 Apr 2003 15:48:39 -0700 Subject: Environment settings for check_oracle In-Reply-To: <372E1E73DFD59941A76494F0219A2574043588CA@mkemail.namerica.corpnet.ifsworld.com> References: <372E1E73DFD59941A76494F0219A2574043588CA@mkemail.namerica.corpnet.ifsworld.com> Message-ID: <20030410224839.GG95178@radix.cryptio.net> Jeff Rendl said on Thu, Apr 10, 2003 at 11:06:52AM -0500: > The question is: How do I configure a "system-wide" environment variable in > Linux so that my Nagios process (which starts as a service) has access to > them? I am running Redhat V8. > > I'll admit it, I'm a Linux newbie, I figured most this stuff out (with > help), but I'm stumped now. In order for the check_oracle plugin to work, > it has to be able to access the ORACLE_HOME (amongst others) environment > variables. I figured out how to make these available to my shell > consistantly, but they aren't available to the NAGIOS process. You can't easily define them system wide. You can define them in the /etc/init.d/nagios script, if you want. M -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From rblayzor at inoc.net Fri Apr 11 01:42:18 2003 From: rblayzor at inoc.net (Robert Blayzor) Date: Thu, 10 Apr 2003 19:42:18 -0400 Subject: IE and 3D Status Map under SSL Message-ID: <000801c2ffba$d3609f80$0a0010ac@void> Has anyone run into the problem where if your Nagios web interface is using SSL, when clicking on the "3-D Status Map", IE will prompt you for a "File Download". It seems to work fine when NOT using https. Netscape seems to work fine under http or https. I'm using the ParallelGraphics Cortona client, and the web server is Apache+mod_ssl. I'm curious as to if there is setting in IE that's not execing the mime type returned by the CGI under SSL... -- Robert Blayzor, BOFH INOC, LLC rblayzor at inoc.net Exclusive: We're the only ones who have the documentation. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From erich at omnilux.net Fri Apr 11 02:02:15 2003 From: erich at omnilux.net (Erich Kuehn) Date: Thu, 10 Apr 2003 17:02:15 -0700 Subject: IE and 3D Status Map under SSL Message-ID: <18361A0163154B4E9BF6AE2659E01F090100EAB4@rosemead.iad.idealab.com> >From what I found out, this will not work. Why I don't know. If someone else knows how to make this work, I'm all ears. If you turn off SSL, you should be able to get the 3d status map to work. Erich -----Original Message----- From: Robert Blayzor [mailto:rblayzor at inoc.net] Sent: Thursday, April 10, 2003 16:42 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] IE and 3D Status Map under SSL Has anyone run into the problem where if your Nagios web interface is using SSL, when clicking on the "3-D Status Map", IE will prompt you for a "File Download". It seems to work fine when NOT using https. Netscape seems to work fine under http or https. I'm using the ParallelGraphics Cortona client, and the web server is Apache+mod_ssl. I'm curious as to if there is setting in IE that's not execing the mime type returned by the CGI under SSL... -- Robert Blayzor, BOFH INOC, LLC rblayzor at inoc.net Exclusive: We're the only ones who have the documentation. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Fri Apr 11 02:14:08 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 10 Apr 2003 20:14:08 -0400 Subject: Different notifications Message-ID: <1050020048.4333.2.camel@localhost> Hi All ! I was wondering how could I get two different notifications time for some users, like : during work hours, I would send an email during nonwork hours, I would send an email + pager the only way I found was to create 2 users each time for one person. Anything better ? :-) frank ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daehenoc at optusnet.com.au Fri Apr 11 03:00:18 2003 From: daehenoc at optusnet.com.au (daehenoc at optusnet.com.au) Date: Fri, 11 Apr 2003 11:00:18 +1000 Subject: Nagios on Debian and hundreds of processes Message-ID: <200304110100.h3B10Io06902@mail012.syd.optusnet.com.au> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From daehenoc at optusnet.com.au Fri Apr 11 05:18:23 2003 From: daehenoc at optusnet.com.au (Greg Vickers) Date: Fri, 11 Apr 2003 13:18:23 +1000 Subject: Creeping latency Message-ID: <200304110318.h3B3INQ04060@mail022.syd.optusnet.com.au> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From atulsh at hclinsys.com Fri Apr 11 06:29:28 2003 From: atulsh at hclinsys.com (Atul Shrivastava) Date: Fri, 11 Apr 2003 09:59:28 +0530 Subject: Help required to configure SNMP TRAP for Cisco Routers Message-ID: <006501c2ffe2$f0ed71e0$5f7b0297@atul> Hello, I have configured my cisco routers to send SNMP TRAPs to my nagios box. But I am unable to collect and process these Traps. I have gone through all the documentation of nagios but I am not be able to get through. Can anyone send me a document to configure this. My requirement is that I want both the SNMP TRAP collector and the nagios dameon on the same box. Thanks in advance. Regards and have a nice day, Atul Shrivastava Info Structure Services HCL INFOSYSTEMS LTD. E - 4,5,6 Sector XI, Noida - 201301 Tel: 91-120-2526910,2443013 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fred.Albrecht at za.tiscali.com Fri Apr 11 07:18:36 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Fri, 11 Apr 2003 07:18:36 +0200 Subject: Multiple web interface Message-ID: Please visit www.tiscali.co.za Why don't you try putting your two services groups in different contact groups. Eg, put service group A in contact group A, while B goes to B. Then log in as a user in contact group A and you'll only see service group A. Similar for B. Should be easy enough. :) fred > -----Original Message----- > From: Jose Orlando Mu?oz Bravo (HP) [mailto:jmunoz at comcel.com.co] > Sent: 10 April 2003 06:19 PM > To: Nagios Users List (E-mail) > Subject: [Nagios-users] Multiple web interface > > > > Hi all, > > I want to know if is posible to have a diferent views > > I have checks for some services that the most part of the > time are in a non-OK state, and I want to separate this of > the others than always must be in the OK state. > > I mean in a diferent web interface like if I were using 2 > nagios servers. (hppt://my_nagios_server/nagios and > hppt://my_nagios_server/nagios/terporalservices) > > Thansk is advance for any idea > > Jomb. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of > TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you > feeling lost and > disoriented. TotalView can help you find your way. Available > on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Fri Apr 11 07:51:25 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Fri, 11 Apr 2003 13:51:25 +0800 Subject: Installing nrpe on Solaris7 box. Message-ID: <200304111351.26609.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Nagios gurus, I am about to install nrpe on Solaris7 but would like to avoid all the unnecessary pkg hassle that i may get. I cant seem to find the nrpe package for solaris7 and only manage to find nrpe-1.5 for 8 at http://nagios.sourceforge.net/download/ports/solaris/ Was just wondering if I can use this package for solaris 7? Anyone try installing it on solaris 7 before? I have checked out the cvs but to no avail. Thanks, Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+llfdNgvTa7Hj2AURAhAJAKC2XnxpAF1aFE2U2Fnd0t4zuCHthACfXbTJ I0tiBHhojdR/DST9I1MPMQg= =E4AT -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Fri Apr 11 08:13:19 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 11 Apr 2003 08:13:19 +0200 Subject: Multiple web interface References: <60780C6B27232849B51929453E0EC01E1E25F3@deskpe2k3.des> Message-ID: <3E965CFF.8020901@datavis.se> This is in the docs... Basically you cerate a user in the web-iterface withe the same name as a contact in Nagios. If the user then logs in it should only be able to see those hosts/service that have a contact-group where this contact is a member of (Simple, eh?. /FredrikW Gary MacMinn wrote: >Good Morning All, > >I'd like to be able to do multiple user defined views as well, but for a slightly different reason. > >I have more sites to monitor than will easily fit on one statupmap screen. I'd like to be able to break the displays up into our organisational regions, with some hosts visible in all views and others in selected views. > >Any thoughts on if and/or how this could be done? > >TIA, > >Gary MacMinn >Network Support Engineer >Department of Emergency Services >================================= >+61 7 3109 5084 >+61 7 3247 8665 (fax) >================================= >gmacminn at emergency.qld.gov.au >================================= > >-----Original Message----- >From: Jose Orlando Mu?oz Bravo (HP) [mailto:jmunoz at comcel.com.co] >Sent: Friday, 11 April 2003 6:53 AM >To: Nagios Users List (E-mail) >Subject: RE: [Nagios-users] Multiple web interface > > > >In my configurati?n time perios don?t apply, I have proces that can start any time during the 24 hours day, I just configure a normal service with "notification_interval 0" so it send a only one notification when the service state change OK to non-OK or non-OK to OK. So I know when the process start and when it finish. > >The problem is, some times my web interface show criticals and warnings than are normal. > >Can I use your second recomendation ? HOW? > >Thanks, > > >-----Mensaje original----- >De: Subhendu Ghosh [mailto:sghosh at sghosh.org] >Enviado el: jueves, 10 de abril de 2003 14:18 >Para: Nagios Users List (E-mail) >Asunto: Re: [Nagios-users] Multiple web interface > > >On Thu, 10 Apr 2003, Jose Orlando Mu?oz Bravo (HP) wrote: > > > >>Hi all, >> >>I want to know if is posible to have a diferent views >> >>I have checks for some services that the most part of the time are in a >>non-OK state, and I want to separate this of the others than always must >>be in the OK state. >> >>I mean in a diferent web interface like if I were using 2 nagios >>servers. (hppt://my_nagios_server/nagios and >>hppt://my_nagios_server/nagios/terporalservices) >> >>Thansk is advance for any idea >> >>Jomb. >> >> >> > >If you know in advance when the non-ok states are going to occur and they >occur with a repeatable pattern - you might want to define timeperiods >when they are not checked. > >If you want the non-OK to be a *normal* state, you might want to use the >negate plugin as a wrapper around the service check. Negate will change >the service status from non-OK to OK before reporting it back to NAgios. > >This would give you a single installation to manage. > > > > >------------------------------------------------------------------------ > >This correspondence is for the named persons only. It may contain confidential or privileged information or both. No confidentiality or privilege is waived or lost by any mis transmission. If you receive this correspondence in error please delete it from your system immediately and notify the sender. You must not disclose, copy or relay on any part of this correspondence, if you are not the intended recipient. Any opinions expressed in this message are those of the individual sender except where the sender expressly, and with the authority, states them to be the opinions of the Department of Emergency Services, Queensland. > > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Fri Apr 11 08:28:04 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Fri, 11 Apr 2003 07:28:04 +0100 Subject: Environment settings for check_oracle Message-ID: <53104E20A25CD411B556009027E50636079A99DF@pnnemp02.pn.egg.com> My understanding of Oracle is that the oratab file (located usually in /etc or /var/opt/oracle) holds the ORACLE_HOME and thus the location of the binaries. This is on a per-SID basis and usually extracted with . oraenv (or . coraenv). Later versions of check_oracle (look in CVS on sourceforge) will take a sid of * in the oratab to mean "use this as the default ORACLE_HOME", which seems to be the convention at my workplace here. That way, only the check_oracle plugin will pick up the Oracle variables. However, Mark Ferlatte's suggestion of putting it in the startup script for Nagios would also work (but maybe a bit baffling if you ever upgrade Oracle on the Nagios server). Ton > -----Original Message----- > From: Jeff Rendl [SMTP:jeff.rendl at ifsna.com] > Sent: Thursday, April 10, 2003 5:07 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Environment settings for check_oracle > > The question is: How do I configure a "system-wide" environment variable > in Linux so that my Nagios process (which starts as a service) has access > to them? I am running Redhat V8. > > I'll admit it, I'm a Linux newbie, I figured most this stuff out (with > help), but I'm stumped now. In order for the check_oracle plugin to work, > it has to be able to access the ORACLE_HOME (amongst others) environment > variables. I figured out how to make these available to my shell > consistantly, but they aren't available to the NAGIOS process. > > Thanks! This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Fri Apr 11 08:26:53 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Fri, 11 Apr 2003 08:26:53 +0200 Subject: Environment settings for check_oracle References: <372E1E73DFD59941A76494F0219A2574043588CA@mkemail.namerica.corpnet.ifsworld.com> Message-ID: <3E96602D.BBABA7D9@dhl.com> Add it to /etc/profile. > Jeff Rendl wrote: > > The question is: How do I configure a "system-wide" environment > variable in Linux so that my Nagios process (which starts as a > service) has access to them? I am running Redhat V8. > > I'll admit it, I'm a Linux newbie, I figured most this stuff out > (with help), but I'm stumped now. In order for the check_oracle > plugin to work, it has to be able to access the ORACLE_HOME (amongst > others) environment variables. I figured out how to make these > available to my shell consistantly, but they aren't available to the > NAGIOS process. > > Thanks! ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ulrich.tehrani at dhl.com Fri Apr 11 08:25:31 2003 From: ulrich.tehrani at dhl.com (Ulrich Tehrani) Date: Fri, 11 Apr 2003 08:25:31 +0200 Subject: problems compiling statusmap.cgi on HP-UX Message-ID: <000801c2fff3$27abedf0$f2a12902@chbsluag.ch.danzas.com> Hi all, I have got the following problem. Today i compiled nagios 1.0 on hp-ux 11.00. Everything is working fine expect of the CGIs needing the library GD. I installed all necessary libraries: libpng, jpeg, gd, zlib) but the configure script can't find them. I tried it also with the options for configure. But no success. Anybody an idea ? Thanks in advance Uli ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Fri Apr 11 08:58:14 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Fri, 11 Apr 2003 14:58:14 +0800 Subject: Creeping latency In-Reply-To: <200304110318.h3B3INQ04060@mail022.syd.optusnet.com.au> References: <200304110318.h3B3INQ04060@mail022.syd.optusnet.com.au> Message-ID: <200304111458.15738.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Try setting max_concurrent_checks higher to maybe 100. refer to some of the previous mails about latency. you can get quite a lot of information by searching for the keyword 'latency' On Friday 11 April 2003 11:18, Greg Vickers wrote: > Hi all, > > I'm seeing the latency of my checks creep up > and up to about 200-300 seconds after each > restart of Nagios. > > Which is weird, cause: > service_reaper_frequency=1 > max_concurrent_checks=0 > > So the checks get reaped every second > (limiting instances of Nagios in memory) and > it spawns as many checks as it wants. Now I > know that my service checks do not take > *that* long to complete. In fact the service > checks are all set to time out after 30 seconds. > > Anyone else having this problem??? > > Greg > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null - -- Jasmine Chua Security Engineer SecureCiRT Pte Ltd Blk 750C Chai Chee Road #04-01 Technopark at ChaiChee Singapore 469003 Tel: 6243 6800 DID: 6243 6802 Fax: 6441 5119 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+lmeGNgvTa7Hj2AURAtXUAKCLP7qy8qS4mZyWoYuB0DEjWVKeXACgy00Y 8J/FKgs9OueKineU6CJbAcA= =XB6y -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thkung at yahoo.com Fri Apr 11 09:02:38 2003 From: thkung at yahoo.com (hkung1) Date: 11 Apr 2003 07:02:38 -0000 Subject: calling external program Message-ID: <20030411070238.20066.qmail@pod-163.dolphin-server.co.uk> I'm using check command - check_http to check http status for one of my server(namely PSSR06, defined in hosts.cfg,) that's being monitored. Whenever check_http returns a status warning, i'll need to execute script_test which will then execute my java program. Below are the configuration that i've done so far: services.cfg ------------ define service{ use generic-service ; Name of service template to use host_name PSSR06 service_description my-HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_my_http } checkcommands.cfg ----------------- define command{ command_name check_my_http command_line $USER1$/script_test } Below is my script: #!/bin/bash cStatus=1 result="`/usr/local/nagios/libexec/check_http -I 172.20.0.0`" #echo $result if [ "$result" == "HTTP ok: HTTP/1.1 200 OK - 0.003 second response time |time= 0.003" ]; then echo "http status ok" cStatus=0 exit $cStatus elif [ "$result" == "HTTP WARNING: HTTP/1.1 403 Access Forbidden" ]; then echo "http with warning status" java sendSMS cStatus=1 exit $cStatus else echo "http with critical status"; cStatus=2 exit $cStatus fi This script works fine when i execute it manually. However, it doesn't seem to be triggered by Nagios eventhough the HTTP is returning "HTTP WARNING: HTTP/1.1 403 Access Forbidden" as checked in the script. Can anyone help? Thanks in advance! ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johannes.dagemark at op5.se Fri Apr 11 09:50:44 2003 From: johannes.dagemark at op5.se (Johannes Dagemark) Date: Fri, 11 Apr 2003 09:50:44 +0200 Subject: Multiple web interface References: <8F3E96AF7095024E922116DCA0587C9DA3416B@ESPERANTO.comcel.com.co> Message-ID: <017001c2ffff$0e6bbbc0$3300a8c0@wheeljd> Hello You could install 2 diffrent instances of Nagios. One configured with the critical applications and one configured with the "not so critical" applications. Just make shure that you configure nagios correctly. ./configure --prefix=/usr/local/nagios-critical --with-htmurl=/nagios-critical --with-cgiurl=/nagios-critical/cgi-bin --with-nagios-user=nagios --with-nagios-g rp=nagios --with-command-user=nagios --with-command-grp=nagios ./configure --prefix=/usr/local/nagios-nocrit --with-htmurl=/nagios-nocrit --wi th-cgiurl=/nagios-nocrit/cgi-bin --with-nagios-user=nagios --with-nagios-grp=nag ios --with-command-user=nagios --with-command-grp=nagios Regards Johannes Dagemark ----- Original Message ----- From: "Jose Orlando Mu?oz Bravo (HP)" To: "Nagios Users List (E-mail)" Sent: Thursday, April 10, 2003 6:19 PM Subject: [Nagios-users] Multiple web interface Hi all, I want to know if is posible to have a diferent views I have checks for some services that the most part of the time are in a non-OK state, and I want to separate this of the others than always must be in the OK state. I mean in a diferent web interface like if I were using 2 nagios servers. (hppt://my_nagios_server/nagios and hppt://my_nagios_server/nagios/terporalservices) Thansk is advance for any idea Jomb. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Fri Apr 11 10:09:15 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Fri, 11 Apr 2003 10:09:15 +0200 Subject: Creeping latency In-Reply-To: <200304110318.h3B3INQ04060@mail022.syd.optusnet.com.au> References: <200304110318.h3B3INQ04060@mail022.syd.optusnet.com.au> Message-ID: <200304111009.15653.Michael.Huettig@Medien-Systempartner.de> Am Freitag, 11. April 2003 05:18 schrieb Greg Vickers: > Hi all, > > I'm seeing the latency of my checks creep up > and up to about 200-300 seconds after each > restart of Nagios. > > Which is weird, cause: > service_reaper_frequency=1 > max_concurrent_checks=0 > > So the checks get reaped every second > (limiting instances of Nagios in memory) and > it spawns as many checks as it wants. Now I > know that my service checks do not take > *that* long to complete. In fact the service > checks are all set to time out after 30 seconds. > > Anyone else having this problem??? > > Greg > Hi Greg, try the following: /usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg Nagios 1.0 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 11-24-2002 License: GPL SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 615 Total hosts: 229 Command check interval: -1 sec Check reaper interval: 10 sec Inter-check delay method: SMART Average check interval: 448.780 sec Inter-check delay: 0.730 sec Interleave factor method: SMART Average services per host: 2.686 Service interleave factor: 3 Initial service check scheduling info: -------------------------------------- First scheduled check: 1050048403 -> Fri Apr 11 10:06:43 2003 Last scheduled check: 1050048851 -> Fri Apr 11 10:14:11 2003 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 14 Recommend value: 42 -- Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Blaauw at solweb.nl Fri Apr 11 14:51:05 2003 From: H.Blaauw at solweb.nl (Hans Blaauw) Date: Fri, 11 Apr 2003 14:51:05 +0200 Subject: HoststatusData & MySql (Rappel) Message-ID: Hi everybody, I have compiled nagios with mysql support for hoststatus data, did a make all; created a database; created the tables en created a user with all privileges for this database. I changed cgi.cfg & resource.cfg according to the documentation, but nagios refuses to write anything to the appropriate tables. nagios.log says : [1048515195] Error: Could not lock status data tables in database '' It's probably something stupid i forgot, but can someone help me out ? Many thanks !!!! Best regards, Hans Blaauw ********************************************************************** 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 ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David.Stacy at evenflo.com Fri Apr 11 14:59:02 2003 From: David.Stacy at evenflo.com (Stacy, David) Date: Fri, 11 Apr 2003 08:59:02 -0400 Subject: Installing nrpe on Solaris7 box. Message-ID: <49482AB0C282D5119A3C0090273AD98D03A26227@evvan1exc2.evenflo.com> I'm using the Solaris 8 binaries on Solaris 2.6 and they seem to work OK. I'd go ahead and try it. -----Original Message----- From: Jasmine [mailto:jasmine.chua at securecirt.com] Sent: Friday, April 11, 2003 1:51 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Installing nrpe on Solaris7 box. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Nagios gurus, I am about to install nrpe on Solaris7 but would like to avoid all the unnecessary pkg hassle that i may get. I cant seem to find the nrpe package for solaris7 and only manage to find nrpe-1.5 for 8 at http://nagios.sourceforge.net/download/ports/solaris/ Was just wondering if I can use this package for solaris 7? Anyone try installing it on solaris 7 before? I have checked out the cvs but to no avail. Thanks, Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+llfdNgvTa7Hj2AURAhAJAKC2XnxpAF1aFE2U2Fnd0t4zuCHthACfXbTJ I0tiBHhojdR/DST9I1MPMQg= =E4AT -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Fri Apr 11 14:56:01 2003 From: jsm at inpro.net (Jeff McKeon) Date: 11 Apr 2003 08:56:01 -0400 Subject: general notifications setup question. Message-ID: <1050065761.7265.13.camel@rh80-jsm.telaurus.net> Ok, thanks to the help of several people on this list I've got nagios monitoring all the UPS's in my data center. I've got an 8 port serial card in my nagios server that connects to each of my 7 ups's. So I have 7 check_ups services set up directly on my nagios machine. The issue I have is this. My sys admin has a pager that get's paged with notifications from nagios. I only have the pager set to get critical pages because if it received every warning, he'd woken up all night for non critical issues. A UPS going to battery power however is a critical issue and time sensitive so I DO want these warning notification to be sent to his pager. Is there an elegant way to do this? Also, I'm not sure I fully understand the -w and -c settings for check_ups. I know they are the number of seconds for warning state and critical state but what determines a warning state and a critical state? If I have it set for -w 30 and -c 120 does that mean that when the UPS goes to battery power and stays there for 30 seconds, its a warning state? Then once it's been on battery for > 120 seconds it goes to critical? Also what does this translate into in terms of when the notifications actually go out. Is it 30 seconds (for warning notification) and 5 tries? And if there are 1 minute between tries that would put the first warning sent out at roughtly 5.5 minutes after going to battery power? A lot of questions I know, thanks for any help you can give... Thanks, Jeff ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Fri Apr 11 14:42:03 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Fri, 11 Apr 2003 14:42:03 +0200 (CEST) Subject: Help required to configure SNMP TRAP for Cisco Routers In-Reply-To: <002201c3001a$cc63ad20$5f7b0297@atul> References: <002201c3001a$cc63ad20$5f7b0297@atul> Message-ID: <20030411124203.12240.qmail@web10903.mail.yahoo.com> To get Cisco traps you have to look at the MIBs file corresponding to your Cisco routers. I can't give you traps OIDs because i don't monitor Cisco routers, LMS is doing this stuff:) In my configuration i gave to you, i have the SNMP traps collector and the Nagios server on the same box. This is where you specify SNMP traps collector : /usr/local/nagios/bin/./send_nsca -H localhost. To setup traps i've used the following diagram : Get traps from vendor MIBs (i.e. Cisco) -> add traps definition in snmptrapd.conf -> build the script that handles traps -> build the script that sends passive checks to Nagios (i.e. traps result) -> restart snmptrapd And don't forget to add a passive service for traps : define service { host_name UOF35 service_description Trap_test is_volatile 1 active_checks_enabled 0 passive_checks_enabled 1 max_check_attempts 1 contact_groups nagios-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_period 24x7 normal_check_interval 2 retry_check_interval 1 check_command check_none } with check_none a dummy command that does nothing : define command { command_name check_none command_line echo } It's a bit of pain to configure but it works :), Steve --- Atul Shrivastava a ?crit?: > Hello, > > Can you tell me how can I know that what all traps need to be configured for cisco routers. Or > you can tell me from where I can get the traps info. Also is it possible to have both SNMP > Collector and nagios on the same box. I think that you are using NCSA for this all. Can you tell > me the logical diagram for your setup so that I will not do any mistake for my setup. Thanks for > your mail. > > Regards and have a nice day, > Atul Shrivastava > Info Structure Services > HCL INFOSYSTEMS LTD. > E - 4,5,6 Sector XI, > Noida - 201301 > Tel: 91-120-2526910,2443013 > > -------------------------------------------------------------------------------- > > > > ----- Original Message ----- > From: "Steve Dussaux" > To: "Atul Shrivastava" > Sent: Friday, April 11, 2003 3:41 PM > Subject: Re: [Nagios-users] Help required to configure SNMP TRAP for Cisco Routers > > > > Here is my config to support LOTUS Notes Traps. > > To enable your Cisco Traps you have to modify : > > > > - snmptrapd.conf to the appropriates cisco traps > > - trap handling script to support your hosts and to manage Nagios STATES > > > > snmptrapd.conf : > > ###NOTES TRAPS > > traphandle NOTES-MIB::lnServerUpTrap /usr/local/nagios/etc/snmp-traps/traps 11 > > traphandle NOTES-MIB::lnServerDownTrap /usr/local/nagios/etc/snmp-traps/traps 12 > > traphandle NOTES-MIB::lnServerPulseFailedTrap /usr/local/nagios/etc/snmp-traps/traps 13 > > traphandle NOTES-MIB::lnServerPulseRestoredTrap /usr/local/nagios/etc/snmp-traps/traps 14 > > traphandle NOTES-MIB::lnSystemRebootingTrap /usr/local/nagios/etc/snmp-traps/traps 15 > > traphandle NOTES-MIB::lnServerNotRespondingTrap /usr/local/nagios/etc/snmp-traps/traps 16 > > traphandle NOTES-MIB::lnServerNowRespondingTrap /usr/local/nagios/etc/snmp-traps/traps 17 > > ########################################################################################## > > > > my traps handle script (traps) : > > #!/bin/sh > > > > # First line passed from snmptrapd is FQDN of host that sent the trap > > read hostname > > > > case $hostname in > > > > "nagios.toto.com") > > hostname="UOF35" > > ;; > > esac > > > > > > # Get severity level (OK, WARNING, UNKNOWN, or CRITICAL) and plugin output based on trape > type > > state=-1 > > output="No output" > > case "$1" in > > > > ############################################ > > #Notes TRAPS > > > > 11) > > output="Notes server is up" > > state=0 > > ;; > > > > 12) > > output="Notes server is down" > > state=2 > > ;; > > > > 13) > > output="Notes server is busy" > > state=1 > > ;; > > > > 14) > > output="Notes server is up" > > state=0 > > ;; > > > > 15) > > output="Notes server is rebooting" > > state=3 > > ;; > > > > 16) > > output="Notes server is not responding" > > state=2 > > ;; > > > > 17) > > output="Notes server is up" > > state=0 > > ;; > > esac > > > > > > # Submit passive check result to monitoring host > > /usr/local/nagios/libexec/eventhandlers/submit_check_result $hostname "Trap_test" $state > > "$output" > > exit 0 > > > > > > And to finish the script that submit passive checks to nagios (submit_check_result) : > > #!/bin/sh > > > > # Arguments > > # $1 = name of host in service definition > > # $2 = name/description of service in service definition > > # $3 = return code > > # $4 = output > > > > /bin/echo -e "$1\t$2\t$3\t$4\n" | -c > > /usr/local/nagios/etc/send_nsca.cfg > > > > > > Hope this help, > > Steve > > > > --- Atul Shrivastava a ?crit : > Hello, > > > > > > I have configured my cisco routers to send SNMP TRAPs to my nagios box. But I am unable to > > > collect and process these Traps. I have gone through all the documentation of nagios but I > am > > > not be able to get through. Can anyone send me a document to configure this. My requirement > is > > > that I want both the SNMP TRAP collector and the nagios dameon on the same box. Thanks in > > > advance. > > > > > > Regards and have a nice day, > > > Atul Shrivastava > > > Info Structure Services > > > HCL INFOSYSTEMS LTD. > > > E - 4,5,6 Sector XI, > > > Noida - 201301 > > > Tel: 91-120-2526910,2443013 > > > > > > > > > > ___________________________________________________________ > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > > Yahoo! Mail : http://fr.mail.yahoo.com ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Fri Apr 11 15:01:13 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Fri, 11 Apr 2003 09:01:13 -0400 Subject: FW: ** PROBLEM alert - Mail/SMTP on email1 is WARNING ** <-Invali d response!!!??? Message-ID: <880E60DA7286AB4CBEECB01B169A63BD0286772D@NJ-2K-Email1.delphi-tech.com> I'm wondering what could the 'invalid response' be?! Has anyone seen this before, or tell me how to get more verbose output on certain errors? tia P.S.: Funny how the alert for SMTP comes through the mail server, haha -Dave -----Original Message----- From: nagios at delphi-tech.com [mailto:nagios at delphi-tech.com] Sent: Thursday, April 10, 2003 4:43 PM To: dterrell at delphi-tech.com Subject: ** PROBLEM alert - Mail/SMTP on email1 is WARNING ** ***** Nagios 1.0 ***** Notification Type: PROBLEM Service: SMTP on email1 Host: Mail Address: 10.192.3.15 State: WARNING Date/Time: Thu Apr 10 16:43:14 EDT 2003 Additional Info: Invalid SMTP response received from host ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johannes.dagemark at op5.se Fri Apr 11 15:37:12 2003 From: johannes.dagemark at op5.se (Johannes Dagemark) Date: Fri, 11 Apr 2003 15:37:12 +0200 Subject: Sending sms notifications to multiple contacts References: <20030411124203.12240.qmail@web10903.mail.yahoo.com> Message-ID: <044001c3002f$757a2d30$3300a8c0@wheeljd> Hello I have a problem when trying to notify more than one contactperson by sms. I have tryed gnokii, sms_client, putsms you name it. All applications works fine as long as your trying to send one notification at a time. My problem is that i would like to notify up to at least 5 contactpersons at a time. Nagios runs the notification command for all contactpersons very fast, resulting in problems since gnokii for example has no queing intelligence. Is there a way i can either tell nagios to wait a couple of seconds before running the next notification command or is there some nice script that can hande queing for me? Regards Johannes Dagemark ----- Original Message ----- From: "Steve Dussaux" To: "Atul Shrivastava" ; Sent: Friday, April 11, 2003 2:42 PM Subject: Re: [Nagios-users] Help required to configure SNMP TRAP for Cisco Routers > To get Cisco traps you have to look at the MIBs file corresponding to your Cisco routers. > I can't give you traps OIDs because i don't monitor Cisco routers, LMS is doing this stuff:) > In my configuration i gave to you, i have the SNMP traps collector and the Nagios server on the > same box. > This is where you specify SNMP traps collector : /usr/local/nagios/bin/./send_nsca -H localhost. > To setup traps i've used the following diagram : > > Get traps from vendor MIBs (i.e. Cisco) -> add traps definition in snmptrapd.conf -> build the > script that handles traps -> build the script that sends passive checks to Nagios (i.e. traps > result) -> restart snmptrapd > > And don't forget to add a passive service for traps : > define service { > host_name UOF35 > service_description Trap_test > is_volatile 1 > active_checks_enabled 0 > passive_checks_enabled 1 > max_check_attempts 1 > contact_groups nagios-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_period 24x7 > normal_check_interval 2 > retry_check_interval 1 > check_command check_none > } > > with check_none a dummy command that does nothing : > > define command { > command_name check_none > command_line echo > } > > It's a bit of pain to configure but it works :), > Steve > > > --- Atul Shrivastava a ?crit : > Hello, > > > > Can you tell me how can I know that what all traps need to be configured for cisco routers. Or > > you can tell me from where I can get the traps info. Also is it possible to have both SNMP > > Collector and nagios on the same box. I think that you are using NCSA for this all. Can you tell > > me the logical diagram for your setup so that I will not do any mistake for my setup. Thanks for > > your mail. > > > > Regards and have a nice day, > > Atul Shrivastava > > Info Structure Services > > HCL INFOSYSTEMS LTD. > > E - 4,5,6 Sector XI, > > Noida - 201301 > > Tel: 91-120-2526910,2443013 > > > > ------------------------------------------------------------------------------ -- > > > > > > > > ----- Original Message ----- > > From: "Steve Dussaux" > > To: "Atul Shrivastava" > > Sent: Friday, April 11, 2003 3:41 PM > > Subject: Re: [Nagios-users] Help required to configure SNMP TRAP for Cisco Routers > > > > > > > Here is my config to support LOTUS Notes Traps. > > > To enable your Cisco Traps you have to modify : > > > > > > - snmptrapd.conf to the appropriates cisco traps > > > - trap handling script to support your hosts and to manage Nagios STATES > > > > > > snmptrapd.conf : > > > ###NOTES TRAPS > > > traphandle NOTES-MIB::lnServerUpTrap /usr/local/nagios/etc/snmp-traps/traps 11 > > > traphandle NOTES-MIB::lnServerDownTrap /usr/local/nagios/etc/snmp-traps/traps 12 > > > traphandle NOTES-MIB::lnServerPulseFailedTrap /usr/local/nagios/etc/snmp-traps/traps 13 > > > traphandle NOTES-MIB::lnServerPulseRestoredTrap /usr/local/nagios/etc/snmp-traps/traps 14 > > > traphandle NOTES-MIB::lnSystemRebootingTrap /usr/local/nagios/etc/snmp-traps/traps 15 > > > traphandle NOTES-MIB::lnServerNotRespondingTrap /usr/local/nagios/etc/snmp-traps/traps 16 > > > traphandle NOTES-MIB::lnServerNowRespondingTrap /usr/local/nagios/etc/snmp-traps/traps 17 > > > ################################################################################ ########## > > > > > > my traps handle script (traps) : > > > #!/bin/sh > > > > > > # First line passed from snmptrapd is FQDN of host that sent the trap > > > read hostname > > > > > > case $hostname in > > > > > > "nagios.toto.com") > > > hostname="UOF35" > > > ;; > > > esac > > > > > > > > > # Get severity level (OK, WARNING, UNKNOWN, or CRITICAL) and plugin output based on trape > > type > > > state=-1 > > > output="No output" > > > case "$1" in > > > > > > ############################################ > > > #Notes TRAPS > > > > > > 11) > > > output="Notes server is up" > > > state=0 > > > ;; > > > > > > 12) > > > output="Notes server is down" > > > state=2 > > > ;; > > > > > > 13) > > > output="Notes server is busy" > > > state=1 > > > ;; > > > > > > 14) > > > output="Notes server is up" > > > state=0 > > > ;; > > > > > > 15) > > > output="Notes server is rebooting" > > > state=3 > > > ;; > > > > > > 16) > > > output="Notes server is not responding" > > > state=2 > > > ;; > > > > > > 17) > > > output="Notes server is up" > > > state=0 > > > ;; > > > esac > > > > > > > > > # Submit passive check result to monitoring host > > > /usr/local/nagios/libexec/eventhandlers/submit_check_result $hostname "Trap_test" $state > > > "$output" > > > exit 0 > > > > > > > > > And to finish the script that submit passive checks to nagios (submit_check_result) : > > > #!/bin/sh > > > > > > # Arguments > > > # $1 = name of host in service definition > > > # $2 = name/description of service in service definition > > > # $3 = return code > > > # $4 = output > > > > > > /bin/echo -e "$1\t$2\t$3\t$4\n" | -c > > > /usr/local/nagios/etc/send_nsca.cfg > > > > > > > > > Hope this help, > > > Steve > > > > > > --- Atul Shrivastava a ?crit : > Hello, > > > > > > > > I have configured my cisco routers to send SNMP TRAPs to my nagios box. But I am unable to > > > > collect and process these Traps. I have gone through all the documentation of nagios but I > > am > > > > not be able to get through. Can anyone send me a document to configure this. My requirement > > is > > > > that I want both the SNMP TRAP collector and the nagios dameon on the same box. Thanks in > > > > advance. > > > > > > > > Regards and have a nice day, > > > > Atul Shrivastava > > > > Info Structure Services > > > > HCL INFOSYSTEMS LTD. > > > > E - 4,5,6 Sector XI, > > > > Noida - 201301 > > > > Tel: 91-120-2526910,2443013 > > > > > > > > > > > > > > ___________________________________________________________ > > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > > > Yahoo! Mail : http://fr.mail.yahoo.com > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > Yahoo! Mail : http://fr.mail.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.clayton at intec.co.za Fri Apr 11 15:21:12 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Fri, 11 Apr 2003 15:21:12 +0200 Subject: Installing nrpe on Solaris7 box. Message-ID: <9290BC9741D67F43BDAAC84144FF870DB69337@intecserver007.intec.co.za> Guys, I have compiled the latest from about 3 weeks back and placed binaries at http://www.geocities.com/sandbay2003/nagios -----Original Message----- From: Stacy, David [mailto:David.Stacy at evenflo.com] Sent: Friday, April 11, 2003 2:59 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Installing nrpe on Solaris7 box. I'm using the Solaris 8 binaries on Solaris 2.6 and they seem to work OK. I'd go ahead and try it. -----Original Message----- From: Jasmine [mailto:jasmine.chua at securecirt.com] Sent: Friday, April 11, 2003 1:51 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Installing nrpe on Solaris7 box. ******************************************************************************************* This e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Nagios gurus, I am about to install nrpe on Solaris7 but would like to avoid all the unnecessary pkg hassle that i may get. I cant seem to find the nrpe package for solaris7 and only manage to find nrpe-1.5 for 8 at http://nagios.sourceforge.net/download/ports/solaris/ Was just wondering if I can use this package for solaris 7? Anyone try installing it on solaris 7 before? I have checked out the cvs but to no avail. Thanks, Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+llfdNgvTa7Hj2AURAhAJAKC2XnxpAF1aFE2U2Fnd0t4zuCHthACfXbTJ I0tiBHhojdR/DST9I1MPMQg= =E4AT -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Fri Apr 11 15:35:24 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Fri, 11 Apr 2003 09:35:24 -0400 Subject: Need some help w/custom plug-in, please Message-ID: <2E3E9736615DD311895D00105A9CADED014BCB92@eentsvr40.ehvert.com> Glad I was able to help. Actually, I am sorry I didn't notice it earlier. I should have picked that up from your script. Anyway, glad to hear that it is working. Later, dean -----Original Message----- From: Scott Whitney [mailto:swhitney at journyx.com] Sent: April 10, 2003 6:22 PM To: Dean Bishop Subject: Re: [Nagios-users] Need some help w/custom plug-in, please Eureka! You are the man. I didn't even think of debugging it like this. Turns out it was (as usual) a boneheaded mistake. su - nagios, right? implies environment, so "uvscan --version" runs fine. The nagios user HAS NO PATH when running, so "/usr/local/bin/uvscan" runs while "uvscan" complains about not knowing where it is. *sigh* Thanks for the help, man! ps: you use mcAfee on Unix, you're welcome to this script. It works, now. ;) ----- Original Message ----- From: "Dean Bishop" To: "'Scott Whitney'" Sent: Thursday, April 10, 2003 3:51 PM Subject: RE: [Nagios-users] Need some help w/custom plug-in, please To make sure that the plugin is operating properly change the line in your checkcommands.cfg to: command_line /bin/echo "$USER1$/check_virus_dat" > /tmp/debug.txt force the service check and then check the contents of /tmp/debug.txt then try something like this to get the output to go to a file. I am not sure about the syntax here. It might be easier to add some debugging lines to your script. command_line $USER1$/check_virus_dat 2>&1 >> /tmp/debug.txt -----Original Message----- From: Scott Whitney [mailto:swhitney at journyx.com] Sent: April 10, 2003 4:45 PM To: Dean Bishop Subject: Re: [Nagios-users] Need some help w/custom plug-in, please Nope. He sits there with a warning/crit saying "No Output!" I'm wondering if he's even hitting the check_virus_dat plugin. It's in the libexec dir, and everything else there runs. I just don't get it. ----- Original Message ----- From: "Dean Bishop" To: "'Scott Whitney'" Sent: Thursday, April 10, 2003 3:43 PM Subject: RE: [Nagios-users] Need some help w/custom plug-in, please Does Nagios receive the exit status properly? Can you force a successful check and see if the service turns green even though there is a (No Output!) message? dean -----Original Message----- From: Scott Whitney [mailto:swhitney at journyx.com] Sent: April 10, 2003 4:39 PM To: Dean Bishop Subject: Re: [Nagios-users] Need some help w/custom plug-in, please Yep. Just did. [nagios at camel libexec]$ ./check_virus_dat Virus definitions on camel are 1086 days old. 2 [nagios at camel libexec]$ echo $? 2 [nagios at camel libexec]$ The status code is there. ----- Original Message ----- From: "Dean Bishop" To: "'Scott Whitney'" Sent: Thursday, April 10, 2003 8:29 AM Subject: RE: [Nagios-users] Need some help w/custom plug-in, please I was thinking about this in the shower last night (best thinking is done in the bathroom) and wondered if the status was working or not. What I mean is, does Nagios at least see the status code (0, 1, or 2) and turn the service the correct colour? Can this be run locally on the Nagios box as a service? What I am getting at is whether it is just the output text that is the problem or the whole of the output status (i.e. $? Plus text). Have you verified the output code? bash$ ./check_virus_dat bash$ echo $? [output code is here] bash$ just thinkin' dean -----Original Message----- From: Dean Bishop Sent: April 9, 2003 1:49 PM To: 'Scott Whitney' Subject: RE: [Nagios-users] Need some help w/custom plug-in, please Sorry, I don't know python. i just created my first couple of plugins using perl and ran into the same error. I already sent you one suggestion that leans toward meeting the nagios-plugins rules for development(although you will have to python-ize it), also I found that I needed to use a linefeed on my exit text. Sorry I couldn't be more help, Later, Dean -----Original Message----- From: Scott Whitney [mailto:swhitney at journyx.com] Sent: April 9, 2003 1:30 PM To: Dean Bishop Subject: Re: [Nagios-users] Need some help w/custom plug-in, please Not at all. I appreciate your help with this. ----- Original Message ----- From: "Dean Bishop" To: "'Scott Whitney'" Sent: Wednesday, April 09, 2003 12:24 PM Subject: RE: [Nagios-users] Need some help w/custom plug-in, please Would you mind sending the code to your plugin? I just had a similar problem with a perl script and had to include the lines: use lib "/usr/local/nagios/libexec"; use utils qw(%ERRORS% &print_revision &support &usage); $ENV{'PATH'}=''; $ENV{'BASH_ENV'}=''; $ENV{'ENV'}=''; dean -----Original Message----- From: Scott Whitney [mailto:swhitney at journyx.com] Sent: April 9, 2003 12:35 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Need some help w/custom plug-in, please Dean, I thought of that, but the thing runs just fine. If you run it from the command line. The permissions are all the same for this plug-in as well as all the others in that directory. Also, if I su to nagios, it runs fine (as well as as root). It just keeps saying "No Output". My resource config file says: $USER1$=/var/www/nagios/libexec My command file(check_virus_dat.cfg) says: define command { command_name check_virus_dat command_line $USER1$/check_virus_dat } The service file for the box it's on (camel) says: ####################### BEGIN SERVICE DEFINITION ####################### define service { use int-service host_name camel service_description virus_dat check_command check_virus_dat } ######################## END SERVICE DEFINITION ######################## There shouldn't be any more to it, I would think. Anyone???????????? This is killing me! ----- Original Message ----- From: "Dean Bishop" To: "'Scott Whitney'" ; Sent: Wednesday, April 09, 2003 8:04 AM Subject: RE: [Nagios-users] Need some help w/custom plug-in, please Could it be a permissions problem?? -----Original Message----- From: Scott Whitney [mailto:swhitney at journyx.com] Sent: April 8, 2003 4:24 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Need some help w/custom plug-in, please I have a simple plug in. It calculates the age of the virus files based on "now" and alerts you if outside your acceptable range. It's called check_virus_dat. It returns statusText of "Virus files are ___ days old." via sys.stdout and exits with exit code 0,1 or 2 based on good, warn, critical. Now, it's python-based, but the last 2 lines are all that matter. My command is: define command { command_name check_virus_dat command_line $USER1$/check_virus_dat } The last 2 lines are: print StatusText, status sys.exit(status) It returns the statusText ok, and I can see the exit code it's about to use. Other scripts I've written are using these same exits fine. When I run locally, I get (No output!) When I run via nrpe, I get "Return code 32 is out of bounds." Can anyone help me on this, please? Scott Whitney ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Apr 11 16:17:37 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 11 Apr 2003 10:17:37 -0400 (EDT) Subject: FW: ** PROBLEM alert - Mail/SMTP on email1 is WARNING ** <-Invali d response!!!??? In-Reply-To: <880E60DA7286AB4CBEECB01B169A63BD0286772D@NJ-2K-Email1.delphi-tech.com> References: <880E60DA7286AB4CBEECB01B169A63BD0286772D@NJ-2K-Email1.delphi-tech.com> Message-ID: check_smtp expects that the smtp server will start by answering with the "220" code in the first line. Looks like your mail server might be configured not to do that... Can you telnet to the smtp port and check the output -sg On Fri, 11 Apr 2003 DTerrell at Delphi-Tech.com wrote: > I'm wondering what could the 'invalid response' be?! Has anyone seen this > before, or tell me how to get more verbose output on certain errors? > > tia > > P.S.: Funny how the alert for SMTP comes through the mail server, haha > > -Dave > > -----Original Message----- > From: nagios at delphi-tech.com [mailto:nagios at delphi-tech.com] > Sent: Thursday, April 10, 2003 4:43 PM > To: dterrell at delphi-tech.com > Subject: ** PROBLEM alert - Mail/SMTP on email1 is WARNING ** > > > ***** Nagios 1.0 ***** > > Notification Type: PROBLEM > > Service: SMTP on email1 > Host: Mail > Address: 10.192.3.15 > State: WARNING > > Date/Time: Thu Apr 10 16:43:14 EDT 2003 > > Additional Info: > > Invalid SMTP response received from host > > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Apr 11 16:40:03 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 11 Apr 2003 10:40:03 -0400 (EDT) Subject: general notifications setup question. In-Reply-To: <1050065761.7265.13.camel@rh80-jsm.telaurus.net> References: <1050065761.7265.13.camel@rh80-jsm.telaurus.net> Message-ID: On 11 Apr 2003, Jeff McKeon wrote: > Ok, thanks to the help of several people on this list I've got nagios > monitoring all the UPS's in my data center. I've got an 8 port serial > card in my nagios server that connects to each of my 7 ups's. So I have > 7 check_ups services set up directly on my nagios machine. > > The issue I have is this. My sys admin has a pager that get's paged > with notifications from nagios. I only have the pager set to get > critical pages because if it received every warning, he'd woken up all > night for non critical issues. > > A UPS going to battery power however is a critical issue and time > sensitive so I DO want these warning notification to be sent to his > pager. Is there an elegant way to do this? > > Also, I'm not sure I fully understand the -w and -c settings for > check_ups. I know they are the number of seconds for warning state and > critical state but what determines a warning state and a critical state? > > If I have it set for -w 30 and -c 120 does that mean that when the UPS > goes to battery power and stays there for 30 seconds, its a warning > state? Then once it's been on battery for > 120 seconds it goes to > critical? Also what does this translate into in terms of when the > notifications actually go out. Is it 30 seconds (for warning > notification) and 5 tries? And if there are 1 minute between tries that > would put the first warning sent out at roughtly 5.5 minutes after going > to battery power? > > A lot of questions I know, thanks for any help you can give... > > Thanks, > > Jeff > Took a look at the code to refresh my memory - -w and -c only apply if you specify a variable to check (LINE, BATTPCT, LOADPCT) using the -v option (variable not verbose - doc needs a fix) (You are probably not using -v) you will get a CRITICAL if "On Battery && Low Battery" you will get a WARNING if "On Battery" OR "Low Battery" OR "Replace Battery" (code needs a bit of cleanup for the help) I would setup up another contactgroup/contact for the UPS such that the warning messages will get paged. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ib at solnet.ch Fri Apr 11 16:44:49 2003 From: ib at solnet.ch (Benjamin Indermuehle) Date: Fri, 11 Apr 2003 16:44:49 +0200 Subject: Nagios Problems with check_snmp_disk and Nagios Message-ID: <200304111639.19505.ib@solnet.ch> please dont swear at me i am new to nagios I have setup nagios to check the disk space on my servers It works fine with most hosts and disks The problem is that on some hosts the last disk always fails. Nagios logs an error message which looks like this: [1050011908] Warning: Return code of 139 for check of service 'DISK/news/spool/news/P.04' on host 'newsspool' was out of bounds. I have run the check_snmp_disk plugin manually and everything looks fine. input: ./check_snmp_disk -H 212.101.4.133 -o 7 -w 80 -c 90 -l Space -u% output: Space OK - 14 % /news/spool/news/P.04 The funny thing is that this problem only occurs on the last disk of my host. If i delete the check for the last disk the error occurs on the next disk. I dont think the problem has to do with the plugin or the snmp server since the manual check runs fine. I dont think its a network Problem either because the check fails every time it is executed. I have googled the error message and looked through the news archives but i wasnt able to discover a simular problem. I would be realy glad if someone could help me out. Thanx in advance Greets Ben -- *~*~* *~*~* We are connecting the world ! *~*~* *~*~* SolNet - Internet Solution Provider Bechburgstrasse 29, 4528 Zuchwil, Switzerland Phone: +41 32 686 82 82, Fax: +41 32 685 96 13 WWW: http://www.solnet.ch - E-Mail:ib at solnet.ch *~*~* *~*~* *~*~* *~*~* *~*~* *~*~* *~*~* *~*~* *~*~*~* ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Apr 11 16:48:45 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 11 Apr 2003 10:48:45 -0400 (EDT) Subject: FW: ** PROBLEM alert - Mail/SMTP on email1 is WARNING ** <-Invali d response!!!??? In-Reply-To: <880E60DA7286AB4CBEECB01B169A63BD02867738@NJ-2K-Email1.delphi-tech.com> References: <880E60DA7286AB4CBEECB01B169A63BD02867738@NJ-2K-Email1.delphi-tech.com> Message-ID: which version of check_smtp, with what args? On Fri, 11 Apr 2003 DTerrell at Delphi-Tech.com wrote: > It definately replies with 220... > > 220 NJ-2K-Email1.delphi-tech.com ESMTP Server (Microsoft Exchange Internet > Mail Service 5.5.2653.13) ready > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Friday, April 11, 2003 10:18 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] FW: ** PROBLEM alert - Mail/SMTP on email1 > is WARNING ** <-Invali d response!!!??? > > > check_smtp expects that the smtp server will start by answering with the > "220" code in the first line. > > Looks like your mail server might be configured not to do that... > > Can you telnet to the smtp port and check the output > > -sg > > On Fri, 11 Apr 2003 DTerrell at Delphi-Tech.com wrote: > > > I'm wondering what could the 'invalid response' be?! Has anyone seen this > > before, or tell me how to get more verbose output on certain errors? > > > > tia > > > > P.S.: Funny how the alert for SMTP comes through the mail server, haha > > > > -Dave > > > > -----Original Message----- > > From: nagios at delphi-tech.com [mailto:nagios at delphi-tech.com] > > Sent: Thursday, April 10, 2003 4:43 PM > > To: dterrell at delphi-tech.com > > Subject: ** PROBLEM alert - Mail/SMTP on email1 is WARNING ** > > > > > > ***** Nagios 1.0 ***** > > > > Notification Type: PROBLEM > > > > Service: SMTP on email1 > > Host: Mail > > Address: 10.192.3.15 > > State: WARNING > > > > Date/Time: Thu Apr 10 16:43:14 EDT 2003 > > > > Additional Info: > > > > Invalid SMTP response received from host > > > > > > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Fri Apr 11 17:50:55 2003 From: jsm at inpro.net (Jeff McKeon) Date: 11 Apr 2003 11:50:55 -0400 Subject: general notifications setup question. In-Reply-To: References: Message-ID: <1050076255.7281.28.camel@rh80-jsm.telaurus.net> Thanks for the info... I'm still a little confused though.. What command should I use (if any) if I wanted check_ups to go critical as soon as the ups was on battery power? As for the notifications.. I should have something like this... contact = ups_alert with options w,c,u,r contactgroup = UPS make ups_alert a member of UPS set notify by pager for contact ups_alert. Hostgroup = UPS_01 with contact_group set to UPS Host= MIS01 (the pc that is connected to all the ups') MIS01 is a member of UPS Wouldn't this send a page to ups_alert for every warning that occured on MIS01? MIS01 is also a meber of Hostgroup "CK_servers" is this ok? Thanks, Jeff On Fri, 2003-04-11 at 10:40, Subhendu Ghosh wrote: > On 11 Apr 2003, Jeff McKeon wrote: > > > Ok, thanks to the help of several people on this list I've got nagios > > monitoring all the UPS's in my data center. I've got an 8 port serial > > card in my nagios server that connects to each of my 7 ups's. So I have > > 7 check_ups services set up directly on my nagios machine. > > > > The issue I have is this. My sys admin has a pager that get's paged > > with notifications from nagios. I only have the pager set to get > > critical pages because if it received every warning, he'd woken up all > > night for non critical issues. > > > > A UPS going to battery power however is a critical issue and time > > sensitive so I DO want these warning notification to be sent to his > > pager. Is there an elegant way to do this? > > > > Also, I'm not sure I fully understand the -w and -c settings for > > check_ups. I know they are the number of seconds for warning state and > > critical state but what determines a warning state and a critical state? > > > > If I have it set for -w 30 and -c 120 does that mean that when the UPS > > goes to battery power and stays there for 30 seconds, its a warning > > state? Then once it's been on battery for > 120 seconds it goes to > > critical? Also what does this translate into in terms of when the > > notifications actually go out. Is it 30 seconds (for warning > > notification) and 5 tries? And if there are 1 minute between tries that > > would put the first warning sent out at roughtly 5.5 minutes after going > > to battery power? > > > > A lot of questions I know, thanks for any help you can give... > > > > Thanks, > > > > Jeff > > > > Took a look at the code to refresh my memory - > > -w and -c only apply if you specify a variable to check (LINE, BATTPCT, > LOADPCT) using the -v option (variable not verbose - doc needs a fix) > (You are probably not using -v) > > > you will get a CRITICAL if "On Battery && Low Battery" > you will get a WARNING if "On Battery" OR "Low Battery" OR "Replace Battery" > > (code needs a bit of cleanup for the help) > > I would setup up another contactgroup/contact for the UPS such that the > warning messages will get paged. > > -- > -sg > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swhitney at journyx.com Fri Apr 11 17:55:05 2003 From: swhitney at journyx.com (Scott Whitney) Date: Fri, 11 Apr 2003 10:55:05 -0500 Subject: LogWatch References: Message-ID: <184c01c30042$b860f7b0$aa64a8c0@journyx2000.int.journyx.com> Anyone write a logwatch parser for nagios? ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Apr 11 18:00:38 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 11 Apr 2003 12:00:38 -0400 (EDT) Subject: general notifications setup question. In-Reply-To: <1050076255.7281.28.camel@rh80-jsm.telaurus.net> References: <1050076255.7281.28.camel@rh80-jsm.telaurus.net> Message-ID: Inline On 11 Apr 2003, Jeff McKeon wrote: > Thanks for the info... > > I'm still a little confused though.. > > What command should I use (if any) if I wanted check_ups to go critical > as soon as the ups was on battery power? You can't at the moment. Only WARNING if "On Battery". You can use "-v BATTPCT -w 40 -c 20" to WARN if battery percent remaining fell below 40% and CRIT if percent remaining fell below 20% Assuming you know your load and runtimes, and BATTPCT is retrievable, you can adjust the warning and critical levels. > > As for the notifications.. I should have something like this... > > contact = ups_alert with options w,c,u,r > contactgroup = UPS > make ups_alert a member of UPS > set notify by pager for contact ups_alert. use UPS as contact group for the check_ups services only - not the host or other services on the host. For the other services/hosts maitain the existing contact definition that doesn't send out pages on warning. > > Hostgroup = UPS_01 with contact_group set to UPS > Host= MIS01 (the pc that is connected to all the ups') > MIS01 is a member of UPS > > Wouldn't this send a page to ups_alert for every warning that occured on > MIS01? > > MIS01 is also a meber of Hostgroup "CK_servers" > > is this ok? -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eschlichte at idtdna.com Fri Apr 11 18:11:10 2003 From: eschlichte at idtdna.com (eschlichte) Date: 11 Apr 2003 16:11:10 -0000 Subject: SQL Stats and Check_NT Message-ID: <20030411161110.21617.qmail@pod-163.dolphin-server.co.uk> Has anyone successfully gotten the SQL Transactions per second to work with check_nt. It gives me the same value everytime and that does not match what is in perfmon. Thanks Eric ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmunoz at comcel.com.co Fri Apr 11 18:13:53 2003 From: jmunoz at comcel.com.co (=?iso-8859-1?Q?Jose_Orlando_Mu=F1oz_Bravo_=28HP=29?=) Date: Fri, 11 Apr 2003 11:13:53 -0500 Subject: Multiple web interface Message-ID: <8F3E96AF7095024E922116DCA0587C9DF72441@ESPERANTO.comcel.com.co> Thanks a lot to every answer, I'm sending this message because I have resolved my point The Question was: Is possible to have Different Views in the web interface? Is possible to have different companies in a single nagios server? each company see only your machines. And using this topics the answer is YES. FredrikW This is in the docs... Basically you cerate a user in the web-iterface withe the same name as a contact in Nagios. If the user then logs in it should only be able to see those hosts/service that have a contact-group where this contact is a member of (Simple, eh?. Fred Albrecht (Similar Answer) Why don't you try putting your two services groups in different contact groups. Eg, put service group A in contact group A, while B goes to B. Then log in as a user in contact group A and you'll only see service group A. Similar for B. Should be easy enough. Johannes Dagemark (Is good in order to have a separate configurations) You could install 2 diffrent instances of Nagios Just make shure that you configure nagios correctly. ./configure --prefix=/usr/local/nagios-critical --with-htmurl=/nagios-critical --with-cgiurl=/nagios-critical/cgi-bin --with-nagios-user=nagios --with-nagios-g rp=nagios --with-command-user=nagios --with-command-grp=nagios ./configure --prefix=/usr/local/nagios-nocrit --with-htmurl=/nagios-nocrit --wi th-cgiurl=/nagios-nocrit/cgi-bin --with-nagios-user=nagios --with-nagios-grp=nag ios --with-command-user=nagios --with-command-grp=nagios Jose ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Fri Apr 11 18:29:46 2003 From: jsm at inpro.net (Jeff McKeon) Date: 11 Apr 2003 12:29:46 -0400 Subject: general notifications setup question. In-Reply-To: References: Message-ID: <1050078586.7265.37.camel@rh80-jsm.telaurus.net> I see so I can use the following to get almost imediate responces.. check_ups -H localhost -u ups1-1 -v BATTPCT -w 95 -c 90 is that correct? As for the service being part of the contact_group, do I just put the service name in the contact group instead of the hostname? On Fri, 2003-04-11 at 12:00, Subhendu Ghosh wrote: > Inline > > On 11 Apr 2003, Jeff McKeon wrote: > > > Thanks for the info... > > > > I'm still a little confused though.. > > > > What command should I use (if any) if I wanted check_ups to go critical > > as soon as the ups was on battery power? > > You can't at the moment. Only WARNING if "On Battery". > > You can use "-v BATTPCT -w 40 -c 20" to WARN if battery percent remaining > fell below 40% and CRIT if percent remaining fell below 20% > > Assuming you know your load and runtimes, and BATTPCT is retrievable, you > can adjust the warning and critical levels. > > > > > > As for the notifications.. I should have something like this... > > > > contact = ups_alert with options w,c,u,r > > contactgroup = UPS > > make ups_alert a member of UPS > > set notify by pager for contact ups_alert. > > use UPS as contact group for the check_ups services only - not the host or > other services on the host. > > For the other services/hosts maitain the existing contact definition that > doesn't send out pages on warning. > > > > > > Hostgroup = UPS_01 with contact_group set to UPS > > Host= MIS01 (the pc that is connected to all the ups') > > MIS01 is a member of UPS > > > > Wouldn't this send a page to ups_alert for every warning that occured on > > MIS01? > > > > MIS01 is also a meber of Hostgroup "CK_servers" > > > > is this ok? > > > -- > > -sg > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Apr 11 18:07:01 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 11 Apr 2003 12:07:01 -0400 (EDT) Subject: FW: ** PROBLEM alert - Mail/SMTP on email1 is WARNING ** <-Invali d response!!!??? In-Reply-To: <880E60DA7286AB4CBEECB01B169A63BD0286773A@NJ-2K-Email1.delphi-tech.com> References: <880E60DA7286AB4CBEECB01B169A63BD0286773A@NJ-2K-Email1.delphi-tech.com> Message-ID: you might want to upgrade to the 1.3 release -sg On Fri, 11 Apr 2003 DTerrell at Delphi-Tech.com wrote: > I have: check_smtp (nagios-plugins 1.3.0-beta3) 1.9 > > and... > > define command { > command_name check_smtp > command_line $USER1$/check_smtp -H $HOSTADDRESS$ > } > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Friday, April 11, 2003 10:49 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] FW: ** PROBLEM alert - Mail/SMTP on email1 > is WARNING ** <-Invali d response!!!??? > > > which version of check_smtp, with what args? > > On Fri, 11 Apr 2003 DTerrell at Delphi-Tech.com wrote: > > > It definately replies with 220... > > > > 220 NJ-2K-Email1.delphi-tech.com ESMTP Server (Microsoft Exchange Internet > > Mail Service 5.5.2653.13) ready > > > > -----Original Message----- > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > Sent: Friday, April 11, 2003 10:18 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] FW: ** PROBLEM alert - Mail/SMTP on email1 > > is WARNING ** <-Invali d response!!!??? > > > > > > check_smtp expects that the smtp server will start by answering with the > > "220" code in the first line. > > > > Looks like your mail server might be configured not to do that... > > > > Can you telnet to the smtp port and check the output > > > > -sg > > > > On Fri, 11 Apr 2003 DTerrell at Delphi-Tech.com wrote: > > > > > I'm wondering what could the 'invalid response' be?! Has anyone seen > this > > > before, or tell me how to get more verbose output on certain errors? > > > > > > tia > > > > > > P.S.: Funny how the alert for SMTP comes through the mail server, haha > > > > > > -Dave > > > > > > -----Original Message----- > > > From: nagios at delphi-tech.com [mailto:nagios at delphi-tech.com] > > > Sent: Thursday, April 10, 2003 4:43 PM > > > To: dterrell at delphi-tech.com > > > Subject: ** PROBLEM alert - Mail/SMTP on email1 is WARNING ** > > > > > > > > > ***** Nagios 1.0 ***** > > > > > > Notification Type: PROBLEM > > > > > > Service: SMTP on email1 > > > Host: Mail > > > Address: 10.192.3.15 > > > State: WARNING > > > > > > Date/Time: Thu Apr 10 16:43:14 EDT 2003 > > > > > > Additional Info: > > > > > > Invalid SMTP response received from host > > > > > > > > > > > > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Fri Apr 11 18:25:28 2003 From: jsm at inpro.net (Jeff McKeon) Date: 11 Apr 2003 12:25:28 -0400 Subject: general notifications setup question. In-Reply-To: References: Message-ID: <1050078328.7265.34.camel@rh80-jsm.telaurus.net> Also, I tried check_ups from the command line with -v and it didn't like it. I'm running check_ups v1.6 I think. [root at MIS01TC07927 libexec]# ./check_ups -H localhost -u ups2-2 -v line -w 30 -c 60 check_ups: Unrecognized UPS variable - line Usage: check_ups -H host [-e expect] [-p port] [-w warn] [-c crit] [-t timeout] [-v] check_ups --help check_ups --version [root at MIS01TC07927 libexec]# ./check_ups -v -H localhost -u ups2-2 -w 30 -c 60 check_ups: Unrecognized UPS variable - -H Usage: check_ups -H host [-e expect] [-p port] [-w warn] [-c crit] [-t timeout] [-v] check_ups --help check_ups --version So how do you use the -v option???? thanks, Jeff On Fri, 2003-04-11 at 10:40, Subhendu Ghosh wrote: > On 11 Apr 2003, Jeff McKeon wrote: > > > Ok, thanks to the help of several people on this list I've got nagios > > monitoring all the UPS's in my data center. I've got an 8 port serial > > card in my nagios server that connects to each of my 7 ups's. So I have > > 7 check_ups services set up directly on my nagios machine. > > > > The issue I have is this. My sys admin has a pager that get's paged > > with notifications from nagios. I only have the pager set to get > > critical pages because if it received every warning, he'd woken up all > > night for non critical issues. > > > > A UPS going to battery power however is a critical issue and time > > sensitive so I DO want these warning notification to be sent to his > > pager. Is there an elegant way to do this? > > > > Also, I'm not sure I fully understand the -w and -c settings for > > check_ups. I know they are the number of seconds for warning state and > > critical state but what determines a warning state and a critical state? > > > > If I have it set for -w 30 and -c 120 does that mean that when the UPS > > goes to battery power and stays there for 30 seconds, its a warning > > state? Then once it's been on battery for > 120 seconds it goes to > > critical? Also what does this translate into in terms of when the > > notifications actually go out. Is it 30 seconds (for warning > > notification) and 5 tries? And if there are 1 minute between tries that > > would put the first warning sent out at roughtly 5.5 minutes after going > > to battery power? > > > > A lot of questions I know, thanks for any help you can give... > > > > Thanks, > > > > Jeff > > > > Took a look at the code to refresh my memory - > > -w and -c only apply if you specify a variable to check (LINE, BATTPCT, > LOADPCT) using the -v option (variable not verbose - doc needs a fix) > (You are probably not using -v) > > > you will get a CRITICAL if "On Battery && Low Battery" > you will get a WARNING if "On Battery" OR "Low Battery" OR "Replace Battery" > > (code needs a bit of cleanup for the help) > > I would setup up another contactgroup/contact for the UPS such that the > warning messages will get paged. > > -- > -sg > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Fri Apr 11 18:33:27 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Fri, 11 Apr 2003 11:33:27 -0500 Subject: general notifications setup question. Message-ID: <352B04312822444A962714393AED8A4D113885@ADAEVS01.int.chickasaw.net> >I see so I can use the following to get almost imediate responces.. >check_ups -H localhost -u ups1-1 -v BATTPCT -w 95 -c 90 >is that correct? >As for the service being part of the contact_group, do I just put the >service name in the contact group instead of the hostname? Well, I wouldn't think so, I would think that you put your contact group in the contact for the service. On Fri, 2003-04-11 at 12:00, Subhendu Ghosh wrote: > Inline > > On 11 Apr 2003, Jeff McKeon wrote: > > > Thanks for the info... > > > > I'm still a little confused though.. > > > > What command should I use (if any) if I wanted check_ups to go critical > > as soon as the ups was on battery power? > > You can't at the moment. Only WARNING if "On Battery". > > You can use "-v BATTPCT -w 40 -c 20" to WARN if battery percent remaining > fell below 40% and CRIT if percent remaining fell below 20% > > Assuming you know your load and runtimes, and BATTPCT is retrievable, you > can adjust the warning and critical levels. > > > > > > As for the notifications.. I should have something like this... > > > > contact = ups_alert with options w,c,u,r > > contactgroup = UPS > > make ups_alert a member of UPS > > set notify by pager for contact ups_alert. > > use UPS as contact group for the check_ups services only - not the host or > other services on the host. > > For the other services/hosts maitain the existing contact definition that > doesn't send out pages on warning. > > > > > > Hostgroup = UPS_01 with contact_group set to UPS > > Host= MIS01 (the pc that is connected to all the ups') > > MIS01 is a member of UPS > > > > Wouldn't this send a page to ups_alert for every warning that occured on > > MIS01? > > > > MIS01 is also a meber of Hostgroup "CK_servers" > > > > is this ok? > > > -- > > -sg > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Fri Apr 11 18:31:58 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Fri, 11 Apr 2003 11:31:58 -0500 Subject: AD Checks Message-ID: <352B04312822444A962714393AED8A4D113884@ADAEVS01.int.chickasaw.net> Hello list, I was just going to check and see if anyone uses a different method than mine to check Active Directory. Right now I use the check_ldap plugin, works fine, but just wondering if anyone uses something else that maybe better. Thanks. Jeremy Russell Network Administrator, CNI 580-272-2707 -------------- next part -------------- An HTML attachment was scrubbed... URL: From erik.larkin at nuasis.com Fri Apr 11 18:51:10 2003 From: erik.larkin at nuasis.com (Erik Larkin) Date: Fri, 11 Apr 2003 09:51:10 -0700 Subject: Creeping latency (Greg Vickers) Message-ID: I had a somewhat related problem with freshness checks on my central server. After the first check, latency would creep up and never stop; I'd see latency of over 30000 seconds for checks that I'd purposely leave stale. Search back in this list for "Huge delay in scheduling freshness service check after 3rd try" for full details. I've had to treat this problem as a bug, since I couldn't find a fix. Thankfully, since this is my central server and it's not performing any active checks, I was able to toss in a kludgy workaround by reloading nagios every hour, which resets the scheduling queue. Latency creeps up in that hour to about 200 seconds or so (if a freshness check is stale for the duration), but that's bearable. Erik Today's Topics: 1. Creeping latency (Greg Vickers) --__--__-- Message: 1 From: Greg Vickers To: nagios-users at sourceforge.net Date: Fri, 11 Apr 2003 13:18:23 +1000 Subject: [Nagios-users] Creeping latency Hi all, I'm seeing the latency of my checks creep up and up to about 200-300 seconds after each restart of Nagios. Which is weird, cause: service_reaper_frequency=1 max_concurrent_checks=0 So the checks get reaped every second (limiting instances of Nagios in memory) and it spawns as many checks as it wants. Now I know that my service checks do not take *that* long to complete. In fact the service checks are all set to time out after 30 seconds. Anyone else having this problem??? Greg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Apr 11 18:35:37 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 11 Apr 2003 12:35:37 -0400 (EDT) Subject: general notifications setup question. In-Reply-To: <1050078586.7265.37.camel@rh80-jsm.telaurus.net> References: <1050078586.7265.37.camel@rh80-jsm.telaurus.net> Message-ID: On 11 Apr 2003, Jeff McKeon wrote: > I see so I can use the following to get almost imediate responces.. > > check_ups -H localhost -u ups1-1 -v BATTPCT -w 95 -c 90 > > is that correct? Correct - in this case warning will never happen. -sg > > As for the service being part of the contact_group, do I just put the > service name in the contact group instead of the hostname? > > On Fri, 2003-04-11 at 12:00, Subhendu Ghosh wrote: > > Inline > > > > On 11 Apr 2003, Jeff McKeon wrote: > > > > > Thanks for the info... > > > > > > I'm still a little confused though.. > > > > > > What command should I use (if any) if I wanted check_ups to go critical > > > as soon as the ups was on battery power? > > > > You can't at the moment. Only WARNING if "On Battery". > > > > You can use "-v BATTPCT -w 40 -c 20" to WARN if battery percent remaining > > fell below 40% and CRIT if percent remaining fell below 20% > > > > Assuming you know your load and runtimes, and BATTPCT is retrievable, you > > can adjust the warning and critical levels. > > > > > > > > > > As for the notifications.. I should have something like this... > > > > > > contact = ups_alert with options w,c,u,r > > > contactgroup = UPS > > > make ups_alert a member of UPS > > > set notify by pager for contact ups_alert. > > > > use UPS as contact group for the check_ups services only - not the host or > > other services on the host. > > > > For the other services/hosts maitain the existing contact definition that > > doesn't send out pages on warning. > > > > > > > > > > Hostgroup = UPS_01 with contact_group set to UPS > > > Host= MIS01 (the pc that is connected to all the ups') > > > MIS01 is a member of UPS > > > > > > Wouldn't this send a page to ups_alert for every warning that occured on > > > MIS01? > > > > > > MIS01 is also a meber of Hostgroup "CK_servers" > > > > > > is this ok? > > > > > > -- > > > > -sg > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > > for complex code. Debugging C/C++ programs can leave you feeling lost and > > disoriented. TotalView can help you find your way. Available on major UNIX > > and Linux platforms. Try it free. www.etnus.com > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From erik.larkin at nuasis.com Fri Apr 11 18:55:44 2003 From: erik.larkin at nuasis.com (Erik Larkin) Date: Fri, 11 Apr 2003 09:55:44 -0700 Subject: Freshness check as an all-clear? Message-ID: I had an idea for what seems like a novel use of freshness checks, and I thought I'd see if anyone else has tried it. I've got a number of passive checks that only send error conditions; consequently, they're always shown as critical in nagios. I had an idea of using freshness checks with maybe a 10 minute threshold or so, that when tripped would call a script that returned an "OK" value and a message like "no error messaged received in the last 10 minutes". Has anyone tried this? I am a bit leery because of latency creep problems I've had on my central server for freshness checks. Erik Larkin elarkin at nuasis.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hagen_Deike at icon-scm.com Fri Apr 11 18:58:40 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Fri, 11 Apr 2003 18:58:40 +0200 Subject: AW: AD Checks Message-ID: <7E47A0E20913514C8F4CD1BC241A37030A453F@serv-075.icon-germany.local> Hi Jeremy, I'm doing the same thing. Working fine here with 3 AD Servers... I'd recommend you also use check_nt to look after the vital functions of the servers. Regards, Hagen Deike -----Urspr?ngliche Nachricht----- Von: Jeremy Russell [mailto:Jeremy.Russell at chickasaw.net] Gesendet: Freitag, 11. April 2003 18:32 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] AD Checks Hello list, I was just going to check and see if anyone uses a different method than mine to check Active Directory. Right now I use the check_ldap plugin, works fine, but just wondering if anyone uses something else that maybe better. Thanks. Jeremy Russell Network Administrator, CNI 580-272-2707 -------------- next part -------------- An HTML attachment was scrubbed... URL: From wgong at smu.edu.sg Fri Apr 11 19:19:36 2003 From: wgong at smu.edu.sg (GONG Wei) Date: Sat, 12 Apr 2003 01:19:36 +0800 Subject: [Q] Service Alert still sent out after schedule HOST downtime Message-ID: <108506BDA45F1F45AA6EDE147A27FC0102A8F4AB@mail1.smu.edu.sg> Hi, 1. nagios is up and running, everything is fine (version 1.0, Nov 24, 2002, on RedHat Linux 7.2) 2. a scheduled downtime for a host has been submitted. If reboot the host, no notification will be sent although we can see the status change from the event log. 3. however, if we stop one of the monitored service instead of reboot the machine, e.g., stop the apache process, then a "service alert" would be sent. Q: anyway to avoid this? Our reasoning is that after schedule downtime for the HOST, SERVICE notification should not be sent, i.e., the notification routine should check the HOST filter AND service filter, to decide whether notification should be sent out or not. Certainly this is just our understanding of the problem. We feel this might be more "practically needed", though. Another alternative way to workaround this issue is to provide some simple interface to schedule downtime for "all service hosted on this HOST". Currently seems can only do "Schedule downtime for all services in this hostgroup" As usual, any comments are more than welcomed. Please do drop me a copy of your email as I am not on the list. Thank you! Regards ========== Gong Wei (+65 68220120, wgong at smu.edu.sg) Office of CIT, SMU free Thawte Personal Email Cert: http://www.thawte.com/ GnuPG key: http://www.keyserver.net/en/ Standard Disclaimer: The contents of this Email and any attachments are confidential and may be privileged or otherwise protected from disclosure. Unauthorized use, review, distribution and copying of this Email and any attachments herein are prohibited. If this Email has been transmitted to you in error or you are not the addressee indicated in this Email, please delete it immediately and notify the sender. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swhitney at journyx.com Fri Apr 11 19:39:03 2003 From: swhitney at journyx.com (Scott Whitney) Date: Fri, 11 Apr 2003 12:39:03 -0500 Subject: AD Checks References: <352B04312822444A962714393AED8A4D113884@ADAEVS01.int.chickasaw.net> Message-ID: <19bc01c30051$3e91cf40$aa64a8c0@journyx2000.int.journyx.com> What do you want it to do? I just finished coding an app to talk to ADS, so I might have some suggestions. ----- Original Message ----- From: Jeremy Russell To: nagios-users at lists.sourceforge.net Sent: Friday, April 11, 2003 11:31 AM Subject: [Nagios-users] AD Checks Hello list, I was just going to check and see if anyone uses a different method than mine to check Active Directory. Right now I use the check_ldap plugin, works fine, but just wondering if anyone uses something else that maybe better. Thanks. Jeremy Russell Network Administrator, CNI 580-272-2707 -------------- next part -------------- An HTML attachment was scrubbed... URL: From magnus at hacka.net Fri Apr 11 20:32:45 2003 From: magnus at hacka.net (Magnus Glantz) Date: Fri, 11 Apr 2003 20:32:45 +0200 Subject: check_real: what does it really do? and is it enough? Message-ID: <001501c30058$c181d7e0$cb0c7483@FRED> I'm trying to figure out what exactly the check_real plugin checks.. using the -url option, does it actually start a stream with the server? Or does it only check if the .rm file is there and reachable? If check_real only checks for a description of the file, is it enough to say that the service is OK? I dumped the conversation (tcpdump -X) while doing: ./check_real -H host -u /url/file.rm I'm not 100% sure what happens.. Though.. I've been able to understand some stuff.. ( I've had some help interpeting the packets from the RTSP RFC. http://www.freesoft.org/CIE/RFC/bynum.cgi?2326 ) 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: P 1:36(35) ack 1 win 5840 (DF) 0x0000 4500 0057 a274 4000 4006 4bd5 c2ec e2e9 E..W.t at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 .C.=...*P...s... 0x0020 8018 16d0 04f6 0000 0101 080a 1185 1070 ...............p 0x0030 a54c 4fd3 4f50 5449 4f4e 5320 7274 7370 .LO.OPTIONS.rtsp 0x0040 3a2f 2f28 6e75 6c6c 293a 3535 3420 5254 ://(null):554.RT 0x0050 5350 SP Above.. the Nagios server asks the real server for the available methods. (PLAY PAUSE etc..) 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: P 45:102(57) ack 270 win 6432 (DF) 0x0000 4500 006d a277 4000 4006 4bbc c2ec e2e9 E..m.w at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 .C.=...*P..Is..! 0x0020 8018 1920 0dac 0000 0101 080a 1185 1077 ...............w 0x0030 a54c 4fd9 4445 5343 5249 4245 2072 7473 .LO.DESCRIBE.rts 0x0040 703a 2f2f 286e 756c 6c29 3a35 3534 2f74 p://(null):554/t 0x0050 692f i/ Above.. check_real asks the real-server of a description of the file. 16:59:51.276763 streaming-server.rtsp > netsaint.37062: P 4614:5232(618) ack 111 win 33304 (DF) 0x0000 4500 029e 1e46 4000 3906 d4bc c343 e33d E....F at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 f019 50ff b28b .....*..s...P... 0x0020 8018 8218 a8af 0000 0101 080a a54c 4fed .............LO. 0x0030 1185 1083 7468 203c 2032 3630 3030 292c ....th.<.26000), 0x0040 4176 6572 6167 6542 616e 6477 6964 7468 AverageBandwidth 0x0050 3d31 =1 After this Nagios (the Netsaint host) sends win 0, and finilizes the connection. Now, the question is.. what did the check_real plugin test? That you can get an description of a file on the server? The author of the plug-in writes in his source code (check_real.c). ----------------snip------------- /* Part II - Check stream exists and is ok */ if ((result == STATE_OK) && (server_url != NULL)) { /* Part I - Server Check */ /* send the OPTIONS request */ sprintf (buffer, "DESCRIBE rtsp://%s:%d%s RTSP/1.0\n", host_name, server_port, server_url); result = send (sd, buffer, strlen (buffer), 0); /* send the header sync */ sprintf (buffer, "CSeq: 2\n"); result = send (sd, buffer, strlen (buffer), 0); /* send a newline so the server knows we're done with the request */ sprintf (buffer, "\n"); result = send (sd, buffer, strlen (buffer), 0); ----------------snip------------- DESCRIBE seems to be the last actuall command that the check_real plugin send to the server. But I could be wrong.. please check for yourselfs. An actual stream is from what I can tell, not initialized.. Though, if the server give an description of the file (the description comes from the file itself) I guess a stream should be able to be initialized.. but.. then again, I'm no TCP/IP or RTSP expert. Full dump of "check_real -H hostname -u /url/file.rm" below.. Hope you can shed some light upon this.. Cheers, //Magnus Glantz 16:59:50.676763 netsaint.37062 > streaming-server.rtsp.rtsp: S 1358934556:1358934556(0) win 5840 (DF) 0x0000 4500 003c a272 4000 4006 4bf2 c2ec e2e9 E..<.r at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21c 0000 0000 .C.=...*P....... 0x0020 a002 16d0 2ce0 0000 0204 05b4 0402 080a ....,........... 0x0030 1185 106e 0000 0000 0103 0300 ...n........ 16:59:50.696763 streaming-server.rtsp > netsaint.37062: S 1937890835:1937890835(0) ack 1358934557 win 33304 (DF) 0x0000 4500 0040 1e3f 4000 3906 d721 c343 e33d E.. at .?@.9..!.C.= 0x0010 c2ec e2e9 022a 90c6 7381 de13 50ff b21d .....*..s...P... 0x0020 b012 8218 68cb 0000 0101 080a a54c 4fd3 ....h........LO. 0x0030 1185 106e 0103 0300 0101 0402 0204 05b4 ...n............ 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: . ack 1 win 5840 (DF) 0x0000 4500 0034 a273 4000 4006 4bf9 c2ec e2e9 E..4.s at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 .C.=...*P...s... 0x0020 8010 16d0 14dd 0000 0101 080a 1185 1070 ...............p 0x0030 a54c 4fd3 .LO. 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: P 1:36(35) ack 1 win 5840 (DF) 0x0000 4500 0057 a274 4000 4006 4bd5 c2ec e2e9 E..W.t at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 .C.=...*P...s... 0x0020 8018 16d0 04f6 0000 0101 080a 1185 1070 ...............p 0x0030 a54c 4fd3 4f50 5449 4f4e 5320 7274 7370 .LO.OPTIONS.rtsp 0x0040 3a2f 2f28 6e75 6c6c 293a 3535 3420 5254 ://(null):554.RT 0x0050 5350 SP 16:59:50.726763 streaming-server.rtsp > netsaint.37062: . ack 36 win 33304 (DF) 0x0000 4500 0034 1e40 4000 3906 d72c c343 e33d E..4.@@.9..,.C.= 0x0010 c2ec e2e9 022a 90c6 7381 de14 50ff b240 .....*..s...P..@ 0x0020 8010 8218 a96e 0000 0101 080a a54c 4fd6 .....n.......LO. 0x0030 1185 1070 ...p 16:59:50.726763 netsaint.37062 > streaming-server.rtsp: P 36:45(9) ack 1 win 5840 (DF) 0x0000 4500 003d a275 4000 4006 4bee c2ec e2e9 E..=.u at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b240 7381 de14 .C.=...*P.. at s... 0x0020 8018 16d0 f6b3 0000 0101 080a 1185 1073 ...............s 0x0030 a54c 4fd6 4353 6571 3a20 310a 0a .LO.CSeq:.1.. 16:59:50.766763 streaming-server.rtsp > netsaint.37062: P 1:270(269) ack 45 win 33304 (DF) 0x0000 4500 0141 1e41 4000 3906 d61e c343 e33d E..A.A at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 de14 50ff b249 .....*..s...P..I 0x0020 8018 8218 1a2f 0000 0101 080a a54c 4fd9 ...../.......LO. 0x0030 1185 1073 5254 5350 2f31 2e30 2032 3030 ...sRTSP/1.0.200 0x0040 204f 4b0d 0a43 5365 713a 2031 0d0a 4461 .OK..CSeq:.1..Da 0x0050 7465 te 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: . ack 270 win 6432 (DF) 0x0000 4500 0034 a276 4000 4006 4bf6 c2ec e2e9 E..4.v at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 .C.=...*P..Is..! 0x0020 8010 1920 1147 0000 0101 080a 1185 1077 .....G.........w 0x0030 a54c 4fd9 .LO. 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: P 45:102(57) ack 270 win 6432 (DF) 0x0000 4500 006d a277 4000 4006 4bbc c2ec e2e9 E..m.w at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 .C.=...*P..Is..! 0x0020 8018 1920 0dac 0000 0101 080a 1185 1077 ...............w 0x0030 a54c 4fd9 4445 5343 5249 4245 2072 7473 .LO.DESCRIBE.rts 0x0040 703a 2f2f 286e 756c 6c29 3a35 3534 2f74 p://(null):554/t 0x0050 692f i/ 16:59:50.886763 streaming-server.rtsp > netsaint.37062: . ack 102 win 33304 (DF) 0x0000 4500 0034 1e42 4000 3906 d72a c343 e33d E..4.B at .9..*.C.= 0x0010 c2ec e2e9 022a 90c6 7381 df21 50ff b282 .....*..s..!P... 0x0020 8010 8218 a807 0000 0101 080a a54c 4fe7 .............LO. 0x0030 1185 1077 ...w 16:59:50.886763 netsaint.37062 > streaming-server.rtsp: P 102:111(9) ack 270 win 6432 (DF) 0x0000 4500 003d a278 4000 4006 4beb c2ec e2e9 E..=.x at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b282 7381 df21 .C.=...*P...s..! 0x0020 8018 1920 f1f3 0000 0101 080a 1185 1083 ................ 0x0030 a54c 4fe7 4353 6571 3a20 320a 0a .LO.CSeq:.2.. 16:59:51.046763 streaming-server.rtsp > netsaint.37062: . 270:1718(1448) ack 111 win 33304 (DF) 0x0000 4500 05dc 1e43 4000 3906 d181 c343 e33d E....C at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 df21 50ff b28b .....*..s..!P... 0x0020 8010 8218 3fd8 0000 0101 080a a54c 4fed ....?........LO. 0x0030 1185 1083 5254 5350 2f31 2e30 2032 3030 ....RTSP/1.0.200 0x0040 204f 4b0d 0a43 5365 713a 2032 0d0a 4461 .OK..CSeq:.2..Da 0x0050 7465 te 16:59:51.046763 netsaint.37062 > streaming-server.rtsp: R 111:111(0) ack 1718 win 8688 (DF) 0x0000 4500 0034 a279 4000 4006 4bf3 c2ec e2e9 E..4.y at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b28b 7381 e4c9 .C.=...*P...s... 0x0020 8014 21f0 0259 0000 0101 080a 1185 1093 ..!..Y.......... 0x0030 a54c 4fed .LO. 16:59:51.136763 streaming-server.rtsp > netsaint.37062: P 1718:3166(1448) ack 111 win 33304 (DF) 0x0000 4500 05dc 1e44 4000 3906 d180 c343 e33d E....D at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 e4c9 50ff b28b .....*..s...P... 0x0020 8018 8218 6d86 0000 0101 080a a54c 4fed ....m........LO. 0x0030 1185 1083 300a 613d 5374 6172 7454 696d ....0.a=StartTim 0x0040 653a 696e 7465 6765 723b 300a 613d 4176 e:integer;0.a=Av 0x0050 6742 gB 16:59:51.136763 netsaint.37062 > streaming-server.rtsp: R 1358934667:1358934667(0) win 0 (DF) 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 E..(.. at .../x.... 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 .C.=...*P....... 0x0020 5004 0000 cd0d 0000 P....... 16:59:51.236763 streaming-server.rtsp > netsaint.37062: . 3166:4614(1448) ack 111 win 33304 (DF) 0x0000 4500 05dc 1e45 4000 3906 d17f c343 e33d E....E at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 ea71 50ff b28b .....*..s..qP... 0x0020 8010 8218 97b0 0000 0101 080a a54c 4fed .............LO. 0x0030 1185 1083 696e 7465 6765 723b 3131 3739 ....integer;1179 0x0040 3538 0a61 3d45 6e64 4f6e 6552 756c 6545 58.a=EndOneRuleE 0x0050 6e64 nd 16:59:51.236763 netsaint.37062 > streaming-server.rtsp: R 1358934667:1358934667(0) win 0 (DF) 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 E..(.. at .../x.... 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 .C.=...*P....... 0x0020 5004 0000 cd0d 0000 P....... 16:59:51.276763 streaming-server.rtsp > netsaint.37062: P 4614:5232(618) ack 111 win 33304 (DF) 0x0000 4500 029e 1e46 4000 3906 d4bc c343 e33d E....F at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 f019 50ff b28b .....*..s...P... 0x0020 8018 8218 a8af 0000 0101 080a a54c 4fed .............LO. 0x0030 1185 1083 7468 203c 2032 3630 3030 292c ....th.<.26000), 0x0040 4176 6572 6167 6542 616e 6477 6964 7468 AverageBandwidth 0x0050 3d31 =1 16:59:51.276763 netsaint.37062 > streaming-server.rtsp: R 1358934667:1358934667(0) win 0 (DF) 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 E..(.. at .../x.... 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 .C.=...*P....... 0x0020 5004 0000 cd0d 0000 P....... -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jeremy.Russell at chickasaw.net Fri Apr 11 21:42:05 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Fri, 11 Apr 2003 14:42:05 -0500 Subject: AD Checks Message-ID: <352B04312822444A962714393AED8A4D02683D@ADAEVS01.int.chickasaw.net> Ya, Im using that too. One piece of advice though... Don't ever use check_nt on an Cluster Virtual Server. It kept freaking our Exchange Cluster out and bringing it completely down, it wouldn't even fail over, took two weeks to figure out it was our Monitoring software (ironic :/). It was my fault for just putting the hostgroup in (contained the two servers and the virtual server) instead of just the two servers... DOH! So, I'm probably the only one dumb enough to do that. :-) Jeremy Russell Network Administrator, CNI 580-272-2707 -----Original Message----- From: Hagen Deike [mailto:Hagen_Deike at icon-scm.com] Sent: Friday, April 11, 2003 11:59 AM To: 'nagios-users at lists.sourceforge.net' Subject: AW: [Nagios-users] AD Checks Hi Jeremy, I'm doing the same thing. Working fine here with 3 AD Servers... I'd recommend you also use check_nt to look after the vital functions of the servers. Regards, Hagen Deike -----Urspr?ngliche Nachricht----- Von: Jeremy Russell [mailto:Jeremy.Russell at chickasaw.net] Gesendet: Freitag, 11. April 2003 18:32 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] AD Checks Hello list, I was just going to check and see if anyone uses a different method than mine to check Active Directory. Right now I use the check_ldap plugin, works fine, but just wondering if anyone uses something else that maybe better. Thanks. Jeremy Russell Network Administrator, CNI 580-272-2707 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ferlatte at cryptio.net Fri Apr 11 22:12:47 2003 From: ferlatte at cryptio.net (Mark Ferlatte) Date: Fri, 11 Apr 2003 13:12:47 -0700 Subject: IE and 3D Status Map under SSL In-Reply-To: <18361A0163154B4E9BF6AE2659E01F090100EAB4@rosemead.iad.idealab.com> References: <18361A0163154B4E9BF6AE2659E01F090100EAB4@rosemead.iad.idealab.com> Message-ID: <20030411201247.GE48174@radix.cryptio.net> Erich Kuehn said on Thu, Apr 10, 2003 at 05:02:15PM -0700: > From what I found out, this will not work. Why I don't know. If someone > else knows how to make this work, I'm all ears. If you turn off SSL, you > should be able to get the 3d status map to work. This will only work if you have a VRML viewer that speaks SSL. I don't know of any that do. M -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From jsm at inpro.net Fri Apr 11 22:23:32 2003 From: jsm at inpro.net (Jeff McKeon) Date: 11 Apr 2003 16:23:32 -0400 Subject: custom plugin problem. Message-ID: <1050092613.7265.47.camel@rh80-jsm.telaurus.net> hello all, I've got 5 UPS's all connected to my Nagios server via an 8 port serial card. Currently I have 5 check_ups services running to check all the ups's That's fine but I was thinking if I got it down to one pluggin that could check all 5 at once, it would cut down on the services overhead. so I wrote this script... "check_all_ups1" (no laughing at my scripting ability, I never claimed to be a programmer :oP ) **************************************** #! /bin/sh UPS01=`/usr/local/nagios/libexec/check_ups -H localhost -u ups0-1 -v BATTPCT -w 99 -c 98` UPS11=`/usr/local/nagios/libexec/check_ups -H localhost -u ups1-1 -v BATTPCT -w 99 -c 98` UPS12=`/usr/local/nagios/libexec/check_ups -H localhost -u ups1-2 -v BATTPCT -w 99 -c 98` UPS21=`/usr/local/nagios/libexec/check_ups -H localhost -u ups2-1 -v BATTPCT -w 99 -c 98` UPS22=`/usr/local/nagios/libexec/check_ups -H localhost -u ups2-2 -v BATTPCT -w 99 -c 98` echo "UPS0-1 $UPS01" > ups.status echo "UPS1-1 $UPS11" >> ups.status echo "UPS1-2 $UPS12" >> ups.status echo "UPS2-1 $UPS21" >> ups.status echo "UPS2-2 $UPS22" >> ups.status numbad=`grep -c problem ups.status` badups=`grep problem ups.status` if [ $numbad -ge 1 ]; then echo "CRITICAL: $numbad CK UPS's have switched to battery power" exit 1; fi echo "OK: All UPS's on-line" exit 0; ************************************* If I run it from the command line it works great. If I run it in nagios though, it only ever returns a status of OK, even when the normal check_ups pluggin is showing critical. What did I screw up here or is it just not possible to use a script as a pluggin? thanks, jeff ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benjy at feen.com Fri Apr 11 22:31:31 2003 From: benjy at feen.com (Benjamin Feen) Date: Fri, 11 Apr 2003 13:31:31 -0700 Subject: Monitoring services that span hosts? In-Reply-To: References: <20030410215143.GI31959@pianosa.catch22.org> Message-ID: <20030411203131.GK31959@pianosa.catch22.org> > > Now, there's a whole three-tier architecture behind these URLs: > > web01 web02 web03 > > app01 app02 app03 > > db01 db01 > If the custom plugin checks the entire transaction - it should be a > service for the front end web server. > Ah, but there's the problem: the check is being transparently load-balanced. It could be hitting any of the webservers, and that's fine with me -- what I'm checking is whether it works *at all*. So: sounds like I *must* associate this check with some actual host? Can I create a dummy host with a null host check command to act as a container for this kind of check? What if I were monitoring the ambient temperature of my bedroom? What host would that check be associated with? Just associating it with the Nagios host seems so messy... -- Benjamin Feen benjamin(AT)feen.com http://www.monkeybagel.com ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rblayzor at inoc.net Fri Apr 11 22:36:16 2003 From: rblayzor at inoc.net (Robert Blayzor) Date: Fri, 11 Apr 2003 16:36:16 -0400 Subject: IE and 3D Status Map under SSL In-Reply-To: <20030411201247.GE48174@radix.cryptio.net> References: <20030411201247.GE48174@radix.cryptio.net> Message-ID: <007901c3006a$00323690$d300000a@z0.inoc.net> > This will only work if you have a VRML viewer that speaks SSL. > > I don't know of any that do. Actually, that's not true. Netscape runs the same plug-in under SSL just fine. The problem is something internally with MSIE and SSL when downloading files. It has to do with the "no cache" setting sent by the CGI's. Aparantly this bug has been known by Microsoft for some time now and have yet to fix it. Big surprise. -- Robert Blayzor, BOFH INOC, LLC rblayzor at inoc.net "Document code? Why do you think they call it ""code?""" ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Fri Apr 11 22:35:43 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Fri, 11 Apr 2003 15:35:43 -0500 Subject: custom plugin problem. Message-ID: <352B04312822444A962714393AED8A4D113887@ADAEVS01.int.chickasaw.net> You might need to specify the absolute path to "grep" or beter yet specify a PATH in the beginning of the startup script for nagios. Jeremy Russell Network Administrator, CNI 580-272-2707 -----Original Message----- From: Jeff McKeon [mailto:jsm at inpro.net] Sent: Friday, April 11, 2003 3:24 PM To: Nagios List Subject: [Nagios-users] custom plugin problem. hello all, I've got 5 UPS's all connected to my Nagios server via an 8 port serial card. Currently I have 5 check_ups services running to check all the ups's That's fine but I was thinking if I got it down to one pluggin that could check all 5 at once, it would cut down on the services overhead. so I wrote this script... "check_all_ups1" (no laughing at my scripting ability, I never claimed to be a programmer :oP ) **************************************** #! /bin/sh UPS01=`/usr/local/nagios/libexec/check_ups -H localhost -u ups0-1 -v BATTPCT -w 99 -c 98` UPS11=`/usr/local/nagios/libexec/check_ups -H localhost -u ups1-1 -v BATTPCT -w 99 -c 98` UPS12=`/usr/local/nagios/libexec/check_ups -H localhost -u ups1-2 -v BATTPCT -w 99 -c 98` UPS21=`/usr/local/nagios/libexec/check_ups -H localhost -u ups2-1 -v BATTPCT -w 99 -c 98` UPS22=`/usr/local/nagios/libexec/check_ups -H localhost -u ups2-2 -v BATTPCT -w 99 -c 98` echo "UPS0-1 $UPS01" > ups.status echo "UPS1-1 $UPS11" >> ups.status echo "UPS1-2 $UPS12" >> ups.status echo "UPS2-1 $UPS21" >> ups.status echo "UPS2-2 $UPS22" >> ups.status numbad=`grep -c problem ups.status` badups=`grep problem ups.status` if [ $numbad -ge 1 ]; then echo "CRITICAL: $numbad CK UPS's have switched to battery power" exit 1; fi echo "OK: All UPS's on-line" exit 0; ************************************* If I run it from the command line it works great. If I run it in nagios though, it only ever returns a status of OK, even when the normal check_ups pluggin is showing critical. What did I screw up here or is it just not possible to use a script as a pluggin? thanks, jeff ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Apr 11 22:47:34 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 11 Apr 2003 16:47:34 -0400 (EDT) Subject: Monitoring services that span hosts? In-Reply-To: <20030411203131.GK31959@pianosa.catch22.org> References: <20030411203131.GK31959@pianosa.catch22.org> Message-ID: On Fri, 11 Apr 2003, Benjamin Feen wrote: > > > Now, there's a whole three-tier architecture behind these URLs: > > > web01 web02 web03 > > > app01 app02 app03 > > > db01 db01 > > > If the custom plugin checks the entire transaction - it should be a > > service for the front end web server. > > > > Ah, but there's the problem: the check is being transparently load-balanced. > It could be hitting any of the webservers, and that's fine with me -- what > I'm checking is whether it works *at all*. Associate with the load balancer(s) > > So: sounds like I *must* associate this check with some actual host? > Can I create a dummy host with a null host check command to act as a container > for this kind of check? > > What if I were monitoring the ambient temperature of my bedroom? > What host would that check be associated with? Just associating > it with the Nagios host seems so messy... > > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Fri Apr 11 22:58:13 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Fri, 11 Apr 2003 15:58:13 -0500 Subject: AD Checks Message-ID: <352B04312822444A962714393AED8A4D113888@ADAEVS01.int.chickasaw.net> They came with the Nagios-plugins 1.3.0 package, but as far as I know they were in all of the realease of Nagios-pligins. You have to have the ldap libaries (http://www.openldap.org) installed for the check_ldap plugin. Check_nt uses the NSClient (http://nsclient.ready2run.nl/) to get stats, but should compile and install without any requirements. Jeremy Russell Network Administrator, CNI 580-272-2707 -----Original Message----- From: Nicholas Bernstein [mailto:nick at docmagic.com] Sent: Friday, April 11, 2003 3:01 PM To: Jeremy Russell Subject: RE: [Nagios-users] AD Checks Where did you get the check_nt & check_ldap tools? they weren't installed with nagios like the other check commands were, so I assume they were part of an add-on. On Fri, 2003-04-11 at 12:42, Jeremy Russell wrote: > Ya, Im using that too. > > > > One piece of advice though... Don't ever use check_nt on an Cluster > Virtual Server. It kept freaking our Exchange Cluster out and > bringing it completely down, it wouldn't even fail over, took two > weeks to figure out it was our Monitoring software (ironic :/). It > was my fault for just putting the hostgroup in (contained the two > servers and the virtual server) instead of just the two servers... DOH! > So, I'm probably the only one dumb enough to do that. J > > > > > > > > Jeremy Russell > > Network Administrator, CNI > > 580-272-2707 > > > > > -----Original Message----- > From: Hagen Deike [mailto:Hagen_Deike at icon-scm.com] > Sent: Friday, April 11, 2003 11:59 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: AW: [Nagios-users] AD Checks > > > > Hi Jeremy, > > > > I'm doing the same thing. Working fine here with 3 AD Servers... > > I'd recommend you also use check_nt to look after the vital functions > of the servers. > > > > Regards, > > Hagen Deike > > > > -----Urspr?ngliche Nachricht----- > Von: Jeremy Russell [mailto:Jeremy.Russell at chickasaw.net] > Gesendet: Freitag, 11. April 2003 18:32 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] AD Checks > > > > Hello list, > > I was just going to check and see if anyone uses a different > method than mine to check Active Directory. Right now I use the > check_ldap plugin, works fine, but just wondering if anyone uses > something else that maybe better. Thanks. > > > > > > Jeremy Russell > > Network Administrator, CNI > > 580-272-2707 > > -- +---------------------------------------------------------------+ | Nicholas Bernstein | nick at docmagic.com | | UNIX Systems Administrator | http://www.docmagic.com | | Document Systems Inc. | | +---------------------------------------------------------------+ ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.rendl at ifsna.com Fri Apr 11 22:56:02 2003 From: jeff.rendl at ifsna.com (Jeff Rendl) Date: Fri, 11 Apr 2003 15:56:02 -0500 Subject: Environment settings for check_oracle Message-ID: <372E1E73DFD59941A76494F0219A2574043588E6@mkemail.namerica.corpnet.ifsworld.com> I just wanted to thank everyone that responded, the solution I chose to solve the problem was adding the following line to the service startup script for Nagios: export ORACLE_HOME=/opt/oracle/product/9.2.0 as the first line in the start) section. Thanks again! -----Original Message----- From: Voon, Ton [mailto:Ton.Voon at egg.com] Sent: Friday, April 11, 2003 1:28 AM To: 'Jeff Rendl'; 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Environment settings for check_oracle My understanding of Oracle is that the oratab file (located usually in /etc or /var/opt/oracle) holds the ORACLE_HOME and thus the location of the binaries. This is on a per-SID basis and usually extracted with . oraenv (or . coraenv). Later versions of check_oracle (look in CVS on sourceforge) will take a sid of * in the oratab to mean "use this as the default ORACLE_HOME", which seems to be the convention at my workplace here. That way, only the check_oracle plugin will pick up the Oracle variables. However, Mark Ferlatte's suggestion of putting it in the startup script for Nagios would also work (but maybe a bit baffling if you ever upgrade Oracle on the Nagios server). Ton > -----Original Message----- > From: Jeff Rendl [SMTP:jeff.rendl at ifsna.com] > Sent: Thursday, April 10, 2003 5:07 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Environment settings for check_oracle > > The question is: How do I configure a "system-wide" environment > variable in Linux so that my Nagios process (which starts as a > service) has access to them? I am running Redhat V8. > > I'll admit it, I'm a Linux newbie, I figured most this stuff out (with > help), but I'm stumped now. In order for the check_oracle plugin to > work, it has to be able to access the ORACLE_HOME (amongst others) > environment variables. I figured out how to make these available to > my shell consistantly, but they aren't available to the NAGIOS > process. > > Thanks! This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Sat Apr 12 00:44:12 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 11 Apr 2003 18:44:12 -0400 Subject: CGI missing ? Message-ID: <1050101052.11516.88.camel@localhost> Hi All, I reinstalled nagios for the second time, thinking that I did something wrong, but apparently no, I really miss some CGI (how come?) I miss the following files, any idea why ? statusmap.cgi, trends.cgi, histogram.cgi, thank you ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Sat Apr 12 00:45:18 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Fri, 11 Apr 2003 17:45:18 -0500 Subject: Netbotz. Message-ID: <352B04312822444A962714393AED8A4D11388A@ADAEVS01.int.chickasaw.net> Alright, I took your advice here, and used Net:SNMP to write a plugin, its not done but I have it returning the TEMP and Uptime, I'll look up the OIDs for other stuff and add them in. If anyone wants the code let me know. I tried to follow the Plugin guidelines so far, I will send it the the plugin developers as contrib. when I finally finish. Jeremy Russell Network Administrator, CNI 580-272-2707 -----Original Message----- From: Networks [mailto:networks at wi.rr.com] Sent: Thursday, April 10, 2003 3:30 PM To: Jeremy Russell Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Netbotz. Jeremy ~ I am having on of our developers write a some perl code to check the device. I am using a snmpwalk to view the temps of the sensor. The command should be something like this.. snmpwalk -m +NETBOTZ-MIB -c public -v 1 192.168.1.1 netBotz-prd-bot-temp Now this assumes a few things. First off it assumes you downloaded the netbotz.mib and saved it as NETBOTZ-MIB.TXT in the /usr/share/snmp/mibs directory. second it assumes that the community string is left to the default of public, the 192.168.1.1 can be replaced with the IP addy of your netbotz box, and the last part is the OID. You need to change the OID to what you want to look for on the device.. if you do this command snmpwalk -m +NETBOTZ-MIB -c public -v 1 192.168.1.1 netBotz and leave the oid as just neetBotz, it will return the entire subtree.. basically giving you a list of stuff you can choose from. If you have any other questions let me know. Hopefully from there you can create a plugin to use... Best of Luck, Josh PS. On a side note.. snmptranslate +M +NETBOTZ %OID% is a command you can use to check if snmp knows what the heck you are talking about.. the -m +NETBOTZ is used to tell snmp to load that MIB. On Thu, 2003-04-10 at 10:01, Jeremy Russell wrote: > Hello list! > Has anyone used Nagios the monitor the temp sensor on the > Netbotz net appliances? I have SNMP enabled on the device, so I assume > you could pull that info through there, just don't know the MIB. > Thanks. > > Jeremy Russell > Network Administrator, CNI > 580-272-2707 > ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From san113 at amtartha.xftp.net Sat Apr 12 03:53:54 2003 From: san113 at amtartha.xftp.net (san) Date: Sat, 12 Apr 2003 10:53:54 +0900 Subject: (±¤°í) ++ Bulk Email Does Work ++ Message-ID: An HTML attachment was scrubbed... URL: From thkung at yahoo.com Sat Apr 12 10:12:32 2003 From: thkung at yahoo.com (hkung1) Date: 12 Apr 2003 08:12:32 -0000 Subject: Return code of 127 is out of bounds Message-ID: <20030412081232.13637.qmail@pod-163.dolphin-server.co.uk> Hi all, I'm getting this status information "Status Information: (Return code of 127 is out of bounds - plugin may be missing) ". I need to monitor HTTP at my test server (namely PBSR01) from my nagios monitoring server. Whenever a warning is received, i'll need to do a http post to a url (as coded in the script). Below are the details obtained from nagios.log: nagios.log ---------- [1050115566] Warning: Return code of 127 for check of service 'test-HTTP' on host 'PBSR01' was out of bounds. Make sure the plugin you're trying to run actually exists. I've defined test-HTTP in my services.cfg as below : define service{ use generic-service ; Name of service template to use host_name PBSR01 service_description test-HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_http_test } and checkcommands.cfg : define command{ command_name check_http_test command_line $USER1$/script_test } Below is my script_test in directory libexec : #!/bin/bash cStatus=1 result="`/usr/local/nagios/libexec/check_http -I 172.27.0.1`" echo $result if [ "$result" == "HTTP ok: HTTP/1.1 200 OK - 0.003 second response time |time= 0.003" ]; then echo "http status ok" cStatus=0 exit $cStatus elif [ "$result" == "HTTP WARNING: HTTP/1.1 403 Access Forbidden" ]; then echo "http with warning status" ./script_test2.pl cStatus=1 exit $cStatus else echo "http with critical status"; cStatus=2 exit $cStatus fi script_test2.pl is just another perl script to do a http post to a URL. script_test works fine when i execute it manually. However it's not being triggered by nagios. Anyone has any ideas when have gone wrong? There shouldn't be any issue regarding permissions. Your help is greatly appreciated! ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.loew at steyr-ssf.com Sat Apr 12 10:09:00 2003 From: christian.loew at steyr-ssf.com (Christian =?iso-8859-1?B?TPZ3?=) Date: Sat, 12 Apr 2003 10:09:00 +0200 Subject: servicedependencies Message-ID: <20030412080859.GA14246@debian> Hi, i have some troubles to define service dependencies.. I'm monitoring some Windows-Server using the netsaint client (no Problem so far) what i have is: define servicedependency{ host_name ssfsrv01 service_description DISKUSAGE_C,DISKUSAGE_D dependent_host_name ssfsrv01 dependent_service_description nsclient_running execution_failure_criteria w,u,c notification_failure_criteria w,u,c } how i can define 'host_name' as group or with '*' AND 'dependent_host_name' like $HOSTNAME$ ? i want to do like define servicedependency{ host_name * [...] dependent_host_name $HOSTNAME$ } i hope you know what i mean Chris ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Apr 12 10:07:56 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 12 Apr 2003 18:07:56 +1000 Subject: Problem with resource.cfg macro definiton In-Reply-To: ; from sghosh@sghosh.org on Thu, Apr 10, 2003 at 05:23:01PM -0400 References: <9667A0D2033CD51195F90002B330A3BF04CBA264@moe.fhcrc.org> Message-ID: <20030412180752.C244@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, > On Thu, 10 Apr 2003, Gotner, James wrote: > > > I got it figured out... I had all of my object config files in the same dir > > as nagios.cfg.. so nagios was trying to parse all the files (resource.cfg, > > cgi.cfg) as templates... Oops! > > this doesn't seem right to me. This installation of Nagios-1.0 has had object files (services, hosts, hostgroups, ..) and non object files in the same directory without problem since conversion from Netsaint. tsitc> ls /usr/local/nagios/etc/ RCS contactgroups.cfg-sample escalations.cfg-sample misccommands.cfg resource.cfg timeperiods.cfg-sample cgi.cfg contacts.cfg help_covert_from_netsaint misccommands.cfg-sample resource.cfg-sample cgi.cfg-sample contacts.cfg-sample hostgroups.cfg misccommands.cfg.no_notify sap_its.txt checkcommands.cfg dependencies.cfg hostgroups.cfg-sample misccommands.cfg.ok services.cfg checkcommands.cfg-sample dependencies.cfg-sample hosts.cfg nagios.cfg services.cfg-sample contactgroups.cfg escalations.cfg hosts.cfg-sample nagios.cfg-sample timeperiods.cfg tsitc> tsitc> perl -ne 'print if \! /^#/ and \! /^$/ ' /usr/local/nagios/etc/cgi.cfg main_config_file=/usr/local/nagios/etc/nagios.cfg physical_html_path=/usr/local/nagios/share url_html_path=/nagios show_context_help=0 use_authentication=1 tsitc> head -60 /usr/local/nagios/etc/services.cfg | tail -35 # ################################################################################ # SERVICE DEFINITIONS # # SYNTAX: # ################################################################################ # Generic service definition template define service{ name generic-service ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options u,c,r register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! tsitc> > > James Gotner I am obviously not with you. Please would you say again what you think is the cause of the problem and how you dealt with it ? 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 is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atulsh at hclinsys.com Sat Apr 12 13:36:08 2003 From: atulsh at hclinsys.com (Atul Shrivastava) Date: Sat, 12 Apr 2003 17:06:08 +0530 Subject: APAN Problem ---- Graph (Bandwidth Utilization) Message-ID: <012801c300e7$b5e8bcc0$5f7b0297@atul> Hello, I am facing problem in Bandwidth Utilization. The graphs are showing that correct, but after the 24 hour graph the Y axis changes from 1.0 to 10 M i.e. from 1 KBps to 10 MBps which is impossible and it means that it is displaying wrong values. Have anyone faced the same problem earlier. Can anyone look into this probelm. I am trying to solve this problem and if I get the solution then I will inform in the mailing list. But it someone else have the solution then pls mail me. Thanks in advance. Regards and have a nice day, Atul Shrivastava Info Structure Services HCL INFOSYSTEMS LTD. E - 4,5,6 Sector XI, Noida - 201301 Tel: 91-120-2526910,2443013 -------------- next part -------------- An HTML attachment was scrubbed... URL: From dinesh.v at net4india.net Sat Apr 12 15:04:37 2003 From: dinesh.v at net4india.net (Dinesh Raj) Date: Sat, 12 Apr 2003 18:34:37 +0530 Subject: monitoring linux systems Message-ID: <039c01c300f4$12658850$f19347ca@kanchan> hi all, I am starter of nagios , i can able to monitor the windows machine ( cpu,meminfo,etc.) using the nsclient s/w, like wise how can i monitor linux and other operating systems , can any one help me i want to monitor the cpu utilization, meminfo is there any plugins, pls let me know. Thanks in advance Regards, V.Dinesh Raj Engineer Networking Net 4 India Ltd., No-17,Khader Nawaz khan road, Nungambakkam, Chennai-600024, Tel: +91 044 28333511 Extn.310 URL: http://www.net4india.com _______________________________________________ This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. _______________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Sat Apr 12 23:50:26 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sat, 12 Apr 2003 17:50:26 -0400 (EDT) Subject: CGI missing ? In-Reply-To: <1050101052.11516.88.camel@localhost> References: <1050101052.11516.88.camel@localhost> Message-ID: On 11 Apr 2003, Frank Gadot wrote: > Hi All, > > I reinstalled nagios for the second time, thinking that I did something > wrong, but apparently no, I really miss some CGI (how come?) > > I miss the following files, any idea why ? > > statusmap.cgi, trends.cgi, histogram.cgi, > > thank you > When you ran configure - it must have not found the GD libraries and headers. Withotu GD those CGIs are not built as they need the graphics capabilities of GD. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Sat Apr 12 23:58:23 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sat, 12 Apr 2003 17:58:23 -0400 (EDT) Subject: monitoring linux systems In-Reply-To: <039c01c300f4$12658850$f19347ca@kanchan> References: <039c01c300f4$12658850$f19347ca@kanchan> Message-ID: On Sat, 12 Apr 2003, Dinesh Raj wrote: > hi all, > I am starter of nagios , i can able to monitor the windows machine ( > cpu,meminfo,etc.) using the nsclient s/w, like wise how can i monitor > linux and other operating systems , can any one help me i want to > monitor the cpu utilization, meminfo is there any plugins, pls let me > know. > You need to install the plugins on the target system and use one of the many methods available - nrpe, check_by_ssh, nsca Run the plugins in the distribution with the -h option to see what they offer. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Sat Apr 12 23:52:44 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sat, 12 Apr 2003 17:52:44 -0400 (EDT) Subject: Return code of 127 is out of bounds In-Reply-To: <20030412081232.13637.qmail@pod-163.dolphin-server.co.uk> References: <20030412081232.13637.qmail@pod-163.dolphin-server.co.uk> Message-ID: 127 - cannot find or execute program. make sure path is correct and nagios has execute permissions. -sg On 12 Apr 2003, hkung1 wrote: > > Hi all, > I'm getting this status information "Status Information: (Return > code of 127 is out of bounds - plugin may be missing) ". I need to monitor HTTP at my test server (namely PBSR01) from my nagios monitoring server. Whenever a warning is received, i'll need to do a http post to a url (as coded in the script). > > Below are the details obtained from nagios.log: > > nagios.log > ---------- > [1050115566] Warning: Return code of 127 for check of > service 'test-HTTP' on host 'PBSR01' was out of bounds. > Make sure the plugin you're trying to run actually exists. > > I've defined test-HTTP in my services.cfg as below : > > define service{ > use generic-service ; Name of > service template to use > > host_name PBSR01 > service_description test-HTTP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_http_test > } > > and checkcommands.cfg : > > define command{ > command_name check_http_test > command_line $USER1$/script_test > } > > Below is my script_test in directory libexec : > > #!/bin/bash > > cStatus=1 > > result="`/usr/local/nagios/libexec/check_http -I 172.27.0.1`" > > echo $result > > if [ "$result" == "HTTP ok: HTTP/1.1 200 OK - 0.003 second response time > |time= 0.003" ]; then > echo "http status ok" > cStatus=0 > exit $cStatus > elif [ "$result" == "HTTP WARNING: HTTP/1.1 403 Access Forbidden" ]; then > echo "http with warning status" > ./script_test2.pl > cStatus=1 > exit $cStatus > else > echo "http with critical status"; > cStatus=2 > exit $cStatus > fi > > > script_test2.pl is just another perl script to do a http post to a URL. > script_test works fine when i execute it manually. However it's not being triggered by nagios. > Anyone has any ideas when have gone wrong? There shouldn't be any issue regarding permissions. > Your help is greatly appreciated! > -- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From admccray at thespring.org Sun Apr 13 06:11:00 2003 From: admccray at thespring.org (admccray at thespring.org) Date: Sat, 12 Apr 2003 23:11:00 -0500 Subject: Nagios-users digest, Vol 1 #1415 - 8 msgs Message-ID: <1B5BE3B33EE@shelter.thespring.org> I am out of the office for the week of April 7 and will return on Monday April 14. If this is a computer related issue, please contact vlwilliams at thespring.org for your support needs. If you need to speak to me directly, I can be reached via desk at 813-247-5433 ext 329 or via cell phone at 813-210-0421. Adrian McCray LAN Manager ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From durket at stanford.edu Sun Apr 13 06:03:01 2003 From: durket at stanford.edu (Michael Durket) Date: Sat, 12 Apr 2003 21:03:01 -0700 Subject: Unpredictable service check times fixed? Message-ID: <20030412210301.43436a53.durket@stanford.edu> Hello, We're looking at using Nagios as a replacement for SiteScope, but have run into a problem that's been pointed out on this list (with no apparent solution as yet that I can find after searching the archives). The problem is that the scheduling list appears to lockup. Service checks which are supposed to be scheduled every 10 minutes don't get scheduled for hours, and one can look at the scheduler list via the extinfo CGI and see that the list still has entries in it for times long since passed. Needless to say, this is a severe problem which makes Nagios virtually unusable for large scale monitoring. This problem doesn't appear to be the 'orphaned process' problem that's been cited occasionally in this list. It seems to be more of a scheduler fault. I know that Nagios is used to monitor installations larger than ours (we need to monitor about 500 services and ~50 - 100 hosts) so I hope this has been solved by somebody. Does anyone know if a) this has been fixed, or b) if there's a way in Nagios to override the scheduler's randomizing of service check times, and force service checks to occur on schedule at the intervals specified in the individual service entries (in our case, every 10 minutes, for example). Thanks very much, Michael Durket ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Apr 13 07:20:12 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sun, 13 Apr 2003 15:20:12 +1000 Subject: Unpredictable service check times fixed? In-Reply-To: <20030412210301.43436a53.durket@stanford.edu>; from durket@stanford.edu on Sat, Apr 12, 2003 at 09:03:01PM -0700 References: <20030412210301.43436a53.durket@stanford.edu> Message-ID: <20030413152003.A245@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, 0 If you are not using Nagios-1.0 then please try that, otherwise 1 You may have found a bug as you say in the scheduler. However, there are _many_ Nag installations monitoring far more hosts and services without problems. (Here ~ 200 hosts and 350 services). If that is the case, the only way you can demonstrate the bug is by setting up a Test Nag environment - it could be your production environment since that is exhibiting the problem - and run Nagios in such a way that you can collect debug information. This is probably easiest done by rebuilding Nag with the appropriate debug config option (./configure --help .. --enable-DEBUG0 shows function entry and exit --enable-DEBUG1 shows general info messages --enable-DEBUG2 shows warning messages --enable-DEBUG3 shows scheduled events (service and host checks... etc) --enable-DEBUG4 shows service and host notifications --enable-DEBUG5 shows SQL queries so probably DEBUG3) then run Nag in foreground (no -d) and post the parts of the log that show scheduling anomalies. Alternatively, modify the plugin of the service that seems to be suffering the most severe scheduling delays to log it's invocation and exit. This probably means adding code like (to a C plugin) +time_t my_clock; +clock = time() ; +fprintf(stderr, "myPlugin started at %s." ctime(&clock)) ; ... +clock = time() ; +fprintf(stderr, "myPlugin finished at %s.", ctime(&clock)) ; recompiling it and installing it - probably under a new name - in the Nag libexec directory. 2 If you want a tactical dumpb solution, a cron job that sends a hangup signal to Nagios periodically (or restarts it). You probably want to post the relevant parts of nagios.cfg also. 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 is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rblayzor at inoc.net Sun Apr 13 07:33:02 2003 From: rblayzor at inoc.net (Robert Blayzor) Date: Sun, 13 Apr 2003 01:33:02 -0400 Subject: Unpredictable service check times fixed? In-Reply-To: <20030412210301.43436a53.durket@stanford.edu> References: <20030412210301.43436a53.durket@stanford.edu> Message-ID: <000001c3017e$27c67350$0a0010ac@void> > Does anyone know if a) this has been fixed, or b) if > there's a way in Nagios to > override the scheduler's randomizing of service check times, > and force service checks to occur on schedule at the > intervals specified in the individual service entries > (in our case, every 10 minutes, for example). Lots of options in the nagios.cfg file if I remember correctly. After we dumpped about 80+ services on ours we noticed that Nagios spread initial checks way to far out of us. (some not even checking for an hour and a half) I believe we changed our interval to like 4.5 seconds and things get checked a lot faster when we initially start it. -- Robert Blayzor, BOFH INOC, LLC rblayzor at inoc.net Exclusive: We're the only ones who have the documentation. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From securityguy at ikano.com Sun Apr 13 08:13:05 2003 From: securityguy at ikano.com (Robert S. Galloway) Date: Sun, 13 Apr 2003 00:13:05 -0600 Subject: Unpredictable service check times fixed? In-Reply-To: <20030413152003.A245@IPAustralia.Gov.AU> References: <20030413152003.A245@IPAustralia.Gov.AU> Message-ID: <000001c30183$beede0b0$ddd0d0cd@pendleton> Hi Stan and Mike, I also reported this a while back, but never received any replies. I am in a similarly sized environment and have seen the same latency. It appears to be totally random. I am running on RedHat 8. I'll see about configuring the debugs as well and post any info that I get, but as I said it seems completely random. Thanks, Robert S. Galloway Chief Network Security Engineer IKANO Communications ...the Internet branding company Official Data Networking Services Provider for the Salt Lake Olympic Winter Games of 2002 securityguy at ikano.com 801-415-8089 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Stanley Hopcroft Sent: Saturday, April 12, 2003 11:20 PM To: Michael Durket Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Unpredictable service check times fixed? Dear Sir, I am writing to thank you for your letter and say, 0 If you are not using Nagios-1.0 then please try that, otherwise 1 You may have found a bug as you say in the scheduler. However, there are _many_ Nag installations monitoring far more hosts and services without problems. (Here ~ 200 hosts and 350 services). If that is the case, the only way you can demonstrate the bug is by setting up a Test Nag environment - it could be your production environment since that is exhibiting the problem - and run Nagios in such a way that you can collect debug information. This is probably easiest done by rebuilding Nag with the appropriate debug config option (./configure --help .. --enable-DEBUG0 shows function entry and exit --enable-DEBUG1 shows general info messages --enable-DEBUG2 shows warning messages --enable-DEBUG3 shows scheduled events (service and host checks... etc) --enable-DEBUG4 shows service and host notifications --enable-DEBUG5 shows SQL queries so probably DEBUG3) then run Nag in foreground (no -d) and post the parts of the log that show scheduling anomalies. Alternatively, modify the plugin of the service that seems to be suffering the most severe scheduling delays to log it's invocation and exit. This probably means adding code like (to a C plugin) +time_t my_clock; +clock = time() ; +fprintf(stderr, "myPlugin started at %s." ctime(&clock)) ; ... +clock = time() ; +fprintf(stderr, "myPlugin finished at %s.", ctime(&clock)) ; recompiling it and installing it - probably under a new name - in the Nag libexec directory. 2 If you want a tactical dumpb solution, a cron job that sends a hangup signal to Nagios periodically (or restarts it). You probably want to post the relevant parts of nagios.cfg also. 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 is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Sun Apr 13 12:42:20 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Sun, 13 Apr 2003 22:42:20 +1200 Subject: Errors when clicking through on statusmap.cgi In-Reply-To: References: Message-ID: <200304131042.h3DAg2B10248@spectre.freeparking.co.nz> Hi Everyone, I'm running nagios binaries that are pinned from debian unstable on a debian stable system. Everything appears to be running fine apart from one thing. When I click on an object in the statusmap, I get an internal server error. (Premature end of script headers: /usr/lib/cgi-bin/nagios//statusmap.cgi) This only occurs when I "click through" - the initial main map displays fine. To make this more interesting, the problem only happens when the statusmaps are the circular variant. The balanced tree/collapsed tree variants are fine... fyi, the trends and alert histogram cgi's are fine (i.e gd seems OK) I did an ldd on statusmap.cgi, and that checked out ok as well. Has anyone else come across this? Cheers Jamie ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thorstengiese at gmx.de Sun Apr 13 22:01:58 2003 From: thorstengiese at gmx.de (Thorsten Giese) Date: Sun, 13 Apr 2003 22:01:58 +0200 Subject: AD Checks In-Reply-To: <352B04312822444A962714393AED8A4D113884@ADAEVS01.int.chickasaw.net> References: <352B04312822444A962714393AED8A4D113884@ADAEVS01.int.chickasaw.net> Message-ID: <200304132201.47196.thgi0001@student-zw.fh-kl.de> Am Freitag, 11. April 2003 18:31 schrieb Jeremy Russell: > Hello list, > I was just going to check and see if anyone uses a different > method than mine to check Active Directory. Right now I use the > check_ldap plugin, works fine, but just wondering if anyone uses > something else that maybe better. Thanks. Hello there. We are checking the Windows servers using snmp and NSClient. We also use check_ldap to monitor the AD Server. We would like to check the login process more deeply by using a perl script oder something similar making a fake login. Does such a plugin alread exists or are there any reasons not to do it? Any experiences? Clues greatly appreciated. -- Viele Gr??e Thorsten Giese ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dshurett at gahost.com Sun Apr 13 22:22:00 2003 From: dshurett at gahost.com (Danny Shurett) Date: Sun, 13 Apr 2003 16:22:00 -0400 Subject: Could not locate a running Natios process Message-ID: <02a701c301fa$577038d0$6401a8c0@dancpuman> How do I go about checking or fixing this? Process Status: CRITICAL Check Command Output: Could not locate a running Nagios process! ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chad.white at med.ge.com Mon Apr 14 00:12:02 2003 From: chad.white at med.ge.com (White, Chad (MED)) Date: Sun, 13 Apr 2003 17:12:02 -0500 Subject: Advice needed on hostgroups and notifications Message-ID: I am almost there on our sites configuration of Nagios but I am at a point where I might like a little advice. In my situation, there is a group of sysadmins that need to get all notifications because we are ultimately responsible for all the hosts that are monitored by Nagios. However, there are other groups (DBAs, etc.) that we would like to also get all the notifications that come from certain hosts that are important to those particular users. Obviously, this is possible using the notification options in the service definitions. However, to keep my config files under control, I have up to this point used "all-inclusive" hostgroups in my service definitions whenever possible. For example, I have a hostgroup for all Solaris machines. Because those machines all get the same checks run on them, I have always just used those big general groups in my service definitions. I really like this setup because it keeps the config files under control and makes adding/removing of hosts to Nagios much easier, because I don't have to modify a bunch of service definitions. Now, this is causing me problems. I still want the "sysadmin" group to get all the notifications; but for just certain servers, I want "dbateam" to get the notifications too. I tried making a hostgroup that contained all the servers that the "dbateam" would care about, and assigning the "dbateam" as contact group. That worked great for the web interface (they see all the right servers) but notifications still only get sent to the groups listed in the service definition. I've tried removing the contact_groups option from the service definition, to see if it would pick up the one in the hostgroup definition, but that didn't seem to work. Any other ideas? I really want to avoid having to make a ton of tiny hostgroups, as that would make maintenance of the config files a royal pain when we add/remove hosts... thx, Chad ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ellipses at society86.com Mon Apr 14 00:20:53 2003 From: ellipses at society86.com (ellipses) Date: Sun, 13 Apr 2003 17:20:53 -0500 Subject: AD Checks In-Reply-To: <200304132201.47196.thgi0001@student-zw.fh-kl.de> References: <200304132201.47196.thgi0001@student-zw.fh-kl.de> Message-ID: <008b01c3020a$f3a4acd0$01a8a8c0@rancid3> I don't know of a plugin that exists but it is a good idea. You could probly create a very simple one though using Net::LDAPapi or something to that nature. Actually that is a pretty good idea, I might look into writing something. :) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Thorsten Giese Sent: Sunday, April 13, 2003 3:02 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] AD Checks Am Freitag, 11. April 2003 18:31 schrieb Jeremy Russell: > Hello list, > I was just going to check and see if anyone uses a different > method than mine to check Active Directory. Right now I use the > check_ldap plugin, works fine, but just wondering if anyone uses > something else that maybe better. Thanks. Hello there. We are checking the Windows servers using snmp and NSClient. We also use check_ldap to monitor the AD Server. We would like to check the login process more deeply by using a perl script oder something similar making a fake login. Does such a plugin alread exists or are there any reasons not to do it? Any experiences? Clues greatly appreciated. -- Viele Gr??e Thorsten Giese ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thorstengiese at gmx.de Mon Apr 14 02:45:17 2003 From: thorstengiese at gmx.de (Thorsten Giese) Date: Mon, 14 Apr 2003 02:45:17 +0200 Subject: Oracle Monitoring In-Reply-To: <352B04312822444A962714393AED8A4D113875@ADAEVS01.int.chickasaw.net> References: <352B04312822444A962714393AED8A4D113875@ADAEVS01.int.chickasaw.net> Message-ID: <200304140245.17380.thorstengiese@gmx.de> Hello there. I am not in that lucky situation to have Oracle running on a Linux box nor a Unix box. I really would like to monitor that, not using ./check_tcp ... because it is a main server. Is there a plugin to monitor a remote located oracle running the listener? As far as I can see, the check_oracle only checks local databases. Or am I completly wrong? BTW: I experimented with --tns switch on that Host, but did not get any results. What does it (the switch) check exactly? -- Viele Gr??e Thorsten Giese Am Mittwoch, 9. April 2003 21:57 schrieb Jeremy Russell: > The nagios-plugins package comes with a check_oracle plugin, Not sure > about performance but it will check tables, you probably can do some > things you want with it if you tweak it a bit.. > > # ./check_oracle -h > check_oracle (nagios-plugins 1.3.0) 1.4 > The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute > copies of the plugins under the terms of the GNU General Public License. > For more information about these matters, see the file named COPYING. > > Usage: > check_oracle --tns > check_oracle --db > check_oracle --login > check_oracle --cache > check_oracle --tablespace > check_oracle --oranames > check_oracle --help > check_oracle --version > > Check remote or local TNS status and check local Database status > > --tns=SID/IP Address > Check remote TNS server > --db=SID > Check local database (search /bin/ps for PMON process and check > filesystem for sgadefORACLE_SID.dbf > --login=SID > Attempt a dummy login and alert if not ORA-01017: invalid > username/password --cache > Check local database for library and buffer cache hit ratios > ---> Requires Oracle user/password and SID specified. > ---> Requires select on v_ and v_ > --tablespace > Check local database for tablespace capacity in ORACLE_SID > ---> Requires Oracle user/password specified. > ---> Requires select on dba_data_files and dba_free_space > --oranames=Hostname > Check remote Oracle Names server > --help > Print this help screen > --version > Print version and license information > > If the plugin doesn't work, check that the ORACLE_HOME environment > variable is set, that ORACLE_HOME/bin is in your PATH, and the > tnsnames.ora file is locatable and is properly configured. > > When checking Local Database status your ORACLE_SID is case sensitive. > > Send email to nagios-users at lists.sourceforge.net if you have questions > regarding use of this software. To submit patches or suggest improvements, > send email to nagiosplug-devel at lists.sourceforge.net > > > > Jeremy Russell > Network Administrator, CNI > 580-272-2707 > > -----Original Message----- > From: Rodrigo Comparini [mailto:rodrigocs at mailfarm.brasilis.com.br] > Sent: Wednesday, April 09, 2003 2:43 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Oracle Monitoring > > Is it possible to monitor Oracle's performance/Objects using Nagios ? > > Is there a plugin to do this ? > > Thank you in advance ! > > > > ================================ > Rodrigo Comparini de Sousa > Ger?ncia de Sistemas Operacionais > COP - CTBC > ================================ > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Mon Apr 14 05:09:15 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sun, 13 Apr 2003 23:09:15 -0400 (EDT) Subject: Oracle Monitoring In-Reply-To: <200304140245.17380.thorstengiese@gmx.de> References: <200304140245.17380.thorstengiese@gmx.de> Message-ID: On Mon, 14 Apr 2003, Thorsten Giese wrote: > Hello there. > > I am not in that lucky situation to have Oracle running on a Linux box nor a > Unix box. I really would like to monitor that, not using ./check_tcp ... > because it is a main server. > > Is there a plugin to monitor a remote located oracle running the listener? As > far as I can see, the check_oracle only checks local databases. Or am I > completly wrong? > > BTW: I experimented with --tns switch on that Host, but did not get any > results. What does it (the switch) check exactly? > > check_oracle should work with local and remote hosts. All you need on the local system are the Oracle client installation - with tnsping, namsectl, sqlplus. The most important part of the is plugin is making sure ORACLE_HOME as an environment var is set for Nagios --tns does a "tnsping host" which you result in either an OK or a CRITICAL if a listner is not present. Works with remote or local hosts. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.masopust at siemens.com Mon Apr 14 06:24:11 2003 From: christian.masopust at siemens.com (Masopust Christian) Date: Mon, 14 Apr 2003 06:24:11 +0200 Subject: AW: Sending sms notifications to multiple contacts Message-ID: hi johannes, for this purpose i'm using "smstools" which you can get from: http://www.isis.de/~s.frings/smstools/ it works very fine for me! regards, chris -----Urspr?ngliche Nachricht----- Von: Johannes Dagemark [mailto:johannes.dagemark at op5.se] Gesendet: Freitag, 11. April 2003 15:37 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Sending sms notifications to multiple contacts Hello I have a problem when trying to notify more than one contactperson by sms. I have tryed gnokii, sms_client, putsms you name it. All applications works fine as long as your trying to send one notification at a time. My problem is that i would like to notify up to at least 5 contactpersons at a time. Nagios runs the notification command for all contactpersons very fast, resulting in problems since gnokii for example has no queing intelligence. Is there a way i can either tell nagios to wait a couple of seconds before running the next notification command or is there some nice script that can hande queing for me? Regards Johannes Dagemark -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.barro at shaw.ca Mon Apr 14 12:22:33 2003 From: john.barro at shaw.ca (john.barro at shaw.ca) Date: Mon, 14 Apr 2003 06:22:33 -0400 Subject: Warning: Monitoring process may not be running Message-ID: <28b922532f.2532f28b92@shaw.ca> I am running Nagios 1.0b1 for quite some time now. I received the following message on the web front end (Warning: Monitoring process may not be running). Where should I start to look? When I go into the process info, I receive the following: "It appears as though Nagios is not running, so commands are temporarily unavailable." It appears that all the checks are being scheduled and performed. I am running this on Red Hat 7.3 with kernel 2.4.18-3 TIA, John ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From antaegid at takas.lt Mon Apr 14 12:48:04 2003 From: antaegid at takas.lt (Egidijus Antanaitis) Date: Mon, 14 Apr 2003 13:48:04 +0300 Subject: questions with cgi Message-ID: <003f01c30273$540823a0$4c00000a@lukoil.lt> Hello, now yet another question about nagios cgi work. I have hosts, which are shown as "DOWN" in nagios cgi. But when I manualy execute the check-host-alive (check_ping) plugin from shell - I get "PING OK - Packet loss = 0%, RTA = 45.47 ms". My host configuration options: define host{ use generic-host host_name host2 alias host2 address 10.131.140.158 parents central_router check_command check-host-alive max_check_attempts 5 notification_interval 120 notification_period 24x7 notification_options d,u,r } Host is checked with: check-host-alive $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 3 Why the host is marked as "DOWN" then? Egidijus ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikko.kaipila at nic.fi Mon Apr 14 13:04:51 2003 From: mikko.kaipila at nic.fi (Mikko Kaipila) Date: 14 Apr 2003 14:04:51 +0300 Subject: NSClient problem Message-ID: <1050318290.14987.19.camel@tyly.seclan.com> Hi! I should monitor winword.exe process in NT, but there are no options to do monitoring like following: I would like to get a Warning state answer if that process are running after 20 minutes and a Critical state answer if that process are running after 30 minutes. If there any hope to do this with the help of the check_nt plugin and NSClient agent? I have checked variable called COUNTER of the check_nt, but I think that that is not answer to my problem... -- Mikko Kaipila ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardoleitao at interacesso.pt Mon Apr 14 13:27:30 2003 From: eduardoleitao at interacesso.pt (Eduardo =?ISO-8859-1?Q?Leit=E3o?=) Date: 14 Apr 2003 12:27:30 +0100 Subject: AW: Sending sms notifications to multiple contacts In-Reply-To: References: Message-ID: <1050319651.1032.81.camel@Monitor> Hi, I'm new to this but can you tell me how i will use the smstools? My doubts are the alterations In the miscommands.cfg file, and can i put the numbers of celular phones in the contacts? Anyone hnows the definitions that i must use to Portugal? On Mon, 2003-04-14 at 05:24, Masopust Christian wrote: > > hi johannes, > > for this purpose i'm using "smstools" which you can get from: > http://www.isis.de/~s.frings/smstools/ > it works very fine for me! > > regards, > chris > > > -----Urspr?ngliche Nachricht----- > Von: Johannes Dagemark [mailto:johannes.dagemark at op5.se] > Gesendet: Freitag, 11. April 2003 15:37 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] Sending sms notifications to multiple contacts > > > Hello > > I have a problem when trying to notify more than one contactperson by sms. I > have tryed gnokii, sms_client, putsms you name it. All applications works > fine > as long as your trying to send one notification at a time. My problem is > that i > would like to notify up to at least 5 contactpersons at a time. Nagios runs > the > notification command for all contactpersons very fast, resulting in problems > since gnokii for example has no queing intelligence. > > Is there a way i can either tell nagios to wait a couple of seconds before > running the next notification command or is there some nice script that can > hande queing for me? > > Regards > > Johannes Dagemark > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikko.kaipila at seclan.com Mon Apr 14 13:31:18 2003 From: mikko.kaipila at seclan.com (Mikko Kaipila) Date: 14 Apr 2003 14:31:18 +0300 Subject: [Fwd: Re: Nagios-users -- confirmation of subscription -- request 509576] Message-ID: <1050319877.14987.36.camel@tyly.seclan.com> -- Mikko Kaipila -------------- next part -------------- An embedded message was scrubbed... From: Mikko Kaipila Subject: Re: Nagios-users -- confirmation of subscription -- request 509576 Date: 25 Feb 2003 04:46:37 -0200 Size: 1456 URL: From Lane.Williams at jhuapl.edu Mon Apr 14 14:22:47 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Mon, 14 Apr 2003 08:22:47 -0400 Subject: notification clarification Message-ID: I am trying to set balckout periods for notifications for services........Lets say I have a hostgroup of Exchange servers and half are rebooted on tuesday and the other half on friday. Do I have to create two service entries for the different reboot times, for the monitored services? Or is there a way I can make the services "notification_period" dependent on the host "notification_period"? Thanks for any help, Lane ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.barro at shaw.ca Mon Apr 14 14:29:47 2003 From: john.barro at shaw.ca (john.barro at shaw.ca) Date: Mon, 14 Apr 2003 08:29:47 -0400 Subject: Warning: Monitoring process may not be running. Message-ID: <245b82723a.2723a245b8@shaw.ca> I am running Nagios 1.0b1 for quite some time now. I received the following message on the web front end (Warning: Monitoring process may not be running). Where should I start to look? When I go into the process info, I receive the following: "It appears as though Nagios is not running, so commands are temporarily unavailable." It appears that all the checks are being scheduled and performed. I am running this on Red Hat 7.3 with kernel 2.4.18-3 TIA, John ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Mon Apr 14 14:35:19 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Mon, 14 Apr 2003 07:35:19 -0500 Subject: NSClient problem Message-ID: <7F76AA41FC7DD5119B1E00508BAF0444030B478F@gsmail.govst.edu> Use ./check_nt -H hostname -v PROCSTATE -l winword.exe and the negate functionality in Nagios which I can't recall right now, if someone else could add on with that... Then just adjust the timing of your checks so that you get warning at 20 and critical at 30. Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: Mikko Kaipila [mailto:mikko.kaipila at nic.fi] Sent: Monday, April 14, 2003 6:05 AM To: Nagios Subject: [Nagios-users] NSClient problem Hi! I should monitor winword.exe process in NT, but there are no options to do monitoring like following: I would like to get a Warning state answer if that process are running after 20 minutes and a Critical state answer if that process are running after 30 minutes. If there any hope to do this with the help of the check_nt plugin and NSClient agent? I have checked variable called COUNTER of the check_nt, but I think that that is not answer to my problem... -- Mikko Kaipila ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 14 14:53:33 2003 From: ric at nkn.net (Ric Moseley) Date: Mon, 14 Apr 2003 07:53:33 -0500 Subject: Warning: Monitoring process may not be running In-Reply-To: <28b922532f.2532f28b92@shaw.ca> References: <28b922532f.2532f28b92@shaw.ca> Message-ID: <005001c30284$dc9f6c80$1bd010ac@theplanet.com> Have you moved the location of your status.log file? Check your cgi.cfg file and make sure you can run the following command. (or similar) # NAGIOS PROCESS CHECK COMMAND nagios_check_command=/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios' Thanks. Ric. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of john.barro at shaw.ca Sent: Monday, April 14, 2003 5:23 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Warning: Monitoring process may not be running I am running Nagios 1.0b1 for quite some time now. I received the following message on the web front end (Warning: Monitoring process may not be running). Where should I start to look? When I go into the process info, I receive the following: "It appears as though Nagios is not running, so commands are temporarily unavailable." It appears that all the checks are being scheduled and performed. I am running this on Red Hat 7.3 with kernel 2.4.18-3 TIA, John ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Mon Apr 14 15:07:34 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Mon, 14 Apr 2003 08:07:34 -0500 Subject: notification clarification Message-ID: <7F76AA41FC7DD5119B1E00508BAF0444030B4792@gsmail.govst.edu> Here's an option that I use. Define two new timeperiods and use them in your hosts file with the appropriate hosts. Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: Williams, P. Lane [mailto:Lane.Williams at jhuapl.edu] Sent: Monday, April 14, 2003 7:23 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] notification clarification I am trying to set balckout periods for notifications for services........Lets say I have a hostgroup of Exchange servers and half are rebooted on tuesday and the other half on friday. Do I have to create two service entries for the different reboot times, for the monitored services? Or is there a way I can make the services "notification_period" dependent on the host "notification_period"? Thanks for any help, Lane ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dack at msi.umn.edu Mon Apr 14 15:18:52 2003 From: dack at msi.umn.edu (Dack Anderson) Date: Mon, 14 Apr 2003 08:18:52 -0500 (CDT) Subject: NSClient problem In-Reply-To: <7F76AA41FC7DD5119B1E00508BAF0444030B478F@gsmail.govst.edu> References: <7F76AA41FC7DD5119B1E00508BAF0444030B478F@gsmail.govst.edu> Message-ID: ./negate "./check_nt -H hostname -v PROCSTATE -l winword.exe" On Mon, 14 Apr 2003, VanZee, Timothy wrote: > Use ./check_nt -H hostname -v PROCSTATE -l winword.exe and the negate > functionality in Nagios which I can't recall right now, if someone else > could add on with that... > > Then just adjust the timing of your checks so that you get warning at 20 > and critical at 30. > > > Tim Van Zee > ITS Network Specialist > Governors State University > > -----Original Message----- > From: Mikko Kaipila [mailto:mikko.kaipila at nic.fi] > Sent: Monday, April 14, 2003 6:05 AM > To: Nagios > Subject: [Nagios-users] NSClient problem > > Hi! > > I should monitor winword.exe process in NT, but there are no options to > do monitoring like following: > > I would like to get a Warning state answer if that process are running > after 20 minutes and a Critical state answer if that process are running > after 30 minutes. If there any hope to do this with the help of the > check_nt plugin and NSClient agent? > > I have checked variable called COUNTER of the check_nt, but I think that > that is not answer to my problem... > > > > -- Dack R. Anderson dack at msi.umn.edu UNIX Systems Administrator University of Minnesota Supercomputing Institute for Digital Simulation and Advanced Computation ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Mon Apr 14 15:17:02 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Mon, 14 Apr 2003 09:17:02 -0400 Subject: notification clarification Message-ID: I understand for the host. What I am looking for is the services.....What I run into is the server is up and running during a maintenance window, and the checked service is still down. What I am trying to eleviate the the need to replicate a service check definition for a host within a "hostgroup", because it has a different reboot schedule than the other hosts in the hostgroup. If I could make the checked service definition notification_period dependent upon the host notification_period that would be great. Thanks, Lane -----Original Message----- From: VanZee, Timothy [mailto:T-VANZEE at govst.edu] Sent: Monday, April 14, 2003 9:08 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] notification clarification Here's an option that I use. Define two new timeperiods and use them in your hosts file with the appropriate hosts. Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: Williams, P. Lane [mailto:Lane.Williams at jhuapl.edu] Sent: Monday, April 14, 2003 7:23 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] notification clarification I am trying to set balckout periods for notifications for services........Lets say I have a hostgroup of Exchange servers and half are rebooted on tuesday and the other half on friday. Do I have to create two service entries for the different reboot times, for the monitored services? Or is there a way I can make the services "notification_period" dependent on the host "notification_period"? Thanks for any help, Lane ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.barro at shaw.ca Mon Apr 14 15:20:08 2003 From: john.barro at shaw.ca (john.barro at shaw.ca) Date: Mon, 14 Apr 2003 09:20:08 -0400 Subject: Warning: Monitoring process may not be running Message-ID: <28ad128676.2867628ad1@shaw.ca> ...Thanks for the info. I have not moved the location of the status.log file. When I checed my cgi.cfg and ran the command you specified, I received the following: Nagios ok: located 242 processes, status log updated 6 seconds ago I logged in as root to do this... If I log in as the nagios user, I receive the following: Could not locate a running Nagios process! ...any ideas? ----- Original Message ----- From: Ric Moseley Date: Monday, April 14, 2003 8:53 am Subject: RE: [Nagios-users] Warning: Monitoring process may not be running > Have you moved the location of your status.log file? Check your > cgi.cfgfile and make sure you can run the following command. (or > similar) > > # NAGIOS PROCESS CHECK COMMAND > nagios_check_command=/usr/local/nagios/libexec/check_nagios > /usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios' > > Thanks. > > Ric. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > john.barro at shaw.ca > Sent: Monday, April 14, 2003 5:23 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Warning: Monitoring process may not be running > > I am running Nagios 1.0b1 for quite some time now. I received the > following message on the web front end (Warning: Monitoring > process may > not be running). Where should I start to look? When I go into the > process info, I receive the following: "It appears as though > Nagios is > not running, so commands are temporarily unavailable." It appears > thatall the checks are being scheduled and performed. I am > running this on > Red Hat 7.3 with kernel 2.4.18-3 > > TIA, > John > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From echase at studentweb.providence.edu Mon Apr 14 15:15:11 2003 From: echase at studentweb.providence.edu (Edward Chase) Date: Mon, 14 Apr 2003 09:15:11 -0400 Subject: Warning: Monitoring process may not be running In-Reply-To: <005001c30284$dc9f6c80$1bd010ac@theplanet.com> References: <28b922532f.2532f28b92@shaw.ca> Message-ID: <5.2.0.9.0.20030414091316.00bb4ba0@studentweb.providence.edu> In my case, I had to change the nagios_check_command If I did a 'ps -ef', 'nagios' would show as running. Not '/usr/local/nagios/bin/nagios'. At 07:53 AM 4/14/2003 -0500, Ric Moseley wrote: >Have you moved the location of your status.log file? Check your cgi.cfg >file and make sure you can run the following command. (or similar) > ># NAGIOS PROCESS CHECK COMMAND >nagios_check_command=/usr/local/nagios/libexec/check_nagios >/usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios' > >Thanks. > >Ric. > >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of >john.barro at shaw.ca >Sent: Monday, April 14, 2003 5:23 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Warning: Monitoring process may not be running > >I am running Nagios 1.0b1 for quite some time now. I received the >following message on the web front end (Warning: Monitoring process may >not be running). Where should I start to look? When I go into the >process info, I receive the following: "It appears as though Nagios is >not running, so commands are temporarily unavailable." It appears that >all the checks are being scheduled and performed. I am running this on >Red Hat 7.3 with kernel 2.4.18-3 > >TIA, >John > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at woodstream.net Mon Apr 14 18:15:51 2003 From: mark at woodstream.net (mark) Date: Mon, 14 Apr 2003 12:15:51 -0400 (EDT) Subject: timeperiod availability reporting Message-ID: Hi all, Has anyone figured out a good way to report availability during specific hours of the day? For example, I need to know how available a server was during business hours (7a-6p, M-F) for the past month. I thought about using timeperiods but I'd still like to get notified at 2am when the server dies. I just don't want that to count as downtime in the availability report. I'm sure this can be done but thought I'd check with others before I tried to invent it myself. So how about it, anyone have a good mechanism for reporting this type of information? Thanks! Mark ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.barro at shaw.ca Mon Apr 14 19:07:59 2003 From: john.barro at shaw.ca (john.barro at shaw.ca) Date: Mon, 14 Apr 2003 13:07:59 -0400 Subject: Warning: Monitoring process may not be running Message-ID: <7a3f7cb5.7cb57a3f@shaw.ca> Hmm....I'm still baffled.... Everything appears to be in order.... Service checks and host checks are continuing, but nagios reports the process itself is not running? ----- Original Message ----- From: Edward Chase Date: Monday, April 14, 2003 9:15 am Subject: RE: [Nagios-users] Warning: Monitoring process may not be running > In my case, I had to change the nagios_check_command > > If I did a 'ps -ef', 'nagios' would show as running. Not > '/usr/local/nagios/bin/nagios'. > > > > At 07:53 AM 4/14/2003 -0500, Ric Moseley wrote: > >Have you moved the location of your status.log file? Check your > cgi.cfg>file and make sure you can run the following command. (or > similar)> > ># NAGIOS PROCESS CHECK COMMAND > >nagios_check_command=/usr/local/nagios/libexec/check_nagios > >/usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios' > > > >Thanks. > > > >Ric. > > > >-----Original Message----- > >From: nagios-users-admin at lists.sourceforge.net > >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > >john.barro at shaw.ca > >Sent: Monday, April 14, 2003 5:23 AM > >To: nagios-users at lists.sourceforge.net > >Subject: [Nagios-users] Warning: Monitoring process may not be > running> > >I am running Nagios 1.0b1 for quite some time now. I received the > >following message on the web front end (Warning: Monitoring > process may > >not be running). Where should I start to look? When I go into the > >process info, I receive the following: "It appears as though > Nagios is > >not running, so commands are temporarily unavailable." It > appears that > >all the checks are being scheduled and performed. I am running > this on > >Red Hat 7.3 with kernel 2.4.18-3 > > > >TIA, > >John > > > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when > >reporting any issue. > >::: Messages without supporting info will risk being sent to > /dev/null> > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS > when > >reporting any issue. > >::: Messages without supporting info will risk being sent to > /dev/null > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fernando at puc-campinas.edu.br Mon Apr 14 19:51:55 2003 From: fernando at puc-campinas.edu.br (Fernando Ribeiro) Date: Mon, 14 Apr 2003 14:51:55 -0300 Subject: hostgroup member limit Message-ID: <05a701c302ae$8a06c390$0ffb88c8@cifernando> Hi, Does the "hostgroup" have a limit for number of "members"? Tks Fernando -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Mon Apr 14 20:15:22 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 14 Apr 2003 13:15:22 -0500 Subject: hostgroup member limit Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D42F2@mismail.ena.com> No, but there is a limit on the maximum number of characters per line to read in. By default it's about 8196 characters. You can adjust it in xdata/xodtemplate.h #define MAX_XODTEMPLATE_INPUT_BUFFER 8196 I've increased mine to 49152 with no apparent problems but YMMV. -- Marc -----Original Message----- From: Fernando Ribeiro [mailto:fernando at puc-campinas.edu.br] Sent: Monday, April 14, 2003 12:52 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] hostgroup member limit Hi, Does the "hostgroup" have a limit for number of "members"? Tks Fernando -------------- next part -------------- An HTML attachment was scrubbed... URL: From rhltechie at yahoo.com Mon Apr 14 20:57:30 2003 From: rhltechie at yahoo.com (Strng Phisch) Date: Mon, 14 Apr 2003 11:57:30 -0700 (PDT) Subject: Unique check commands Message-ID: <20030414185730.75717.qmail@web20106.mail.yahoo.com> Hi all- I am very new to all of this. With some help of a few of you here I have managed to get my nagios up and running with a good many of my hosts, as well as getting gd installed and showing off some pretty icons. ;) Now, on to the harder stuff. I notice in the services.cfg file, that you specify a service to check, obviously, and then below, one of the variables is check_$SERVICENAME$ My question. What if you would like to check a service that does not have a check command? or can you even do that? do you have to write your own check command? if so, how would one go about this? TIA, M __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fernando at puc-campinas.edu.br Mon Apr 14 21:10:03 2003 From: fernando at puc-campinas.edu.br (Fernando Ribeiro) Date: Mon, 14 Apr 2003 16:10:03 -0300 Subject: RES: hostgroup member limit In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83032D42F2@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83032D42F2@mismail.ena.com> Message-ID: <064b01c302b9$74535710$0ffb88c8@cifernando> After, doing this I have to compile the binaries again, right? Is there a way to solve this just by changing a configuration? -----Mensagem original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Marc Powell Enviada em: segunda-feira, 14 de abril de 2003 15:15 Para: fernando at puc-campinas.edu.br; nagios-users at lists.sourceforge.net Assunto: RE: [Nagios-users] hostgroup member limit No, but there is a limit on the maximum number of characters per line to read in. By default it's about 8196 characters. You can adjust it in xdata/xodtemplate.h #define MAX_XODTEMPLATE_INPUT_BUFFER 8196 I've increased mine to 49152 with no apparent problems but YMMV. -- Marc -----Original Message----- From: Fernando Ribeiro [mailto:fernando at puc-campinas.edu.br] Sent: Monday, April 14, 2003 12:52 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] hostgroup member limit Hi, Does the "hostgroup" have a limit for number of "members"? Tks Fernando -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Mon Apr 14 21:13:54 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 14 Apr 2003 14:13:54 -0500 Subject: hostgroup member limit Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D42F4@mismail.ena.com> Yes. You should even 'make clean' just to be on the safe side... No. -- Marc -----Original Message----- From: Fernando Ribeiro [mailto:fernando at puc-campinas.edu.br] Sent: Monday, April 14, 2003 2:10 PM To: Marc Powell; nagios-users at lists.sourceforge.net Subject: RES: [Nagios-users] hostgroup member limit After, doing this I have to compile the binaries again, right? Is there a way to solve this just by changing a configuration? -----Mensagem original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Marc Powell Enviada em: segunda-feira, 14 de abril de 2003 15:15 Para: fernando at puc-campinas.edu.br; nagios-users at lists.sourceforge.net Assunto: RE: [Nagios-users] hostgroup member limit No, but there is a limit on the maximum number of characters per line to read in. By default it's about 8196 characters. You can adjust it in xdata/xodtemplate.h #define MAX_XODTEMPLATE_INPUT_BUFFER 8196 I've increased mine to 49152 with no apparent problems but YMMV. -- Marc -----Original Message----- From: Fernando Ribeiro [mailto:fernando at puc-campinas.edu.br] Sent: Monday, April 14, 2003 12:52 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] hostgroup member limit Hi, Does the "hostgroup" have a limit for number of "members"? Tks Fernando -------------- next part -------------- An HTML attachment was scrubbed... URL: From JCampisi at iona.edu Mon Apr 14 21:25:31 2003 From: JCampisi at iona.edu (Campisi, Joseph) Date: Mon, 14 Apr 2003 15:25:31 -0400 Subject: Host notifications do not work when dependencies are enabled Message-ID: <63AAC79ACC12D311B1100060081EF9E72E1BB8@ionanrmail1.iona.edu> Hi All, I'm having a problem with host notifications and host dependencies. If I do NOT have any dependencies defined, host notification works properly. As a test I brought down host navgw1. HOST ALERT: navgw1;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: navgw1;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: navgw1;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: navgw1;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: navgw1;DOWN;HARD;5;CRITICAL - Plugin timed out after 10 seconds HOST NOTIFICATION: networkservices;navgw1;DOWN;host-notify-by-sound;CRITICAL - Plugin timed out after 10 seconds HOST NOTIFICATION: networkservices;navgw1;DOWN;host-notify-by-pager;CRITICAL - Plugin timed out after 10 seconds HOST NOTIFICATION: networkservices;navgw1;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds SERVICE ALERT: navgw1;C: Drive Space;CRITICAL;HARD;1;Socket timeout after 10 seconds SERVICE ALERT: navgw1;smtp;CRITICAL;HARD;1;Socket timeout after 10 seconds HOST ALERT: navgw1;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.69 ms HOST NOTIFICATION: networkservices;navgw1;UP;host-notify-by-sound;PING OK - Packet loss = 0%, RTA = 0.69 ms HOST NOTIFICATION: networkservices;navgw1;UP;host-notify-by-pager;PING OK - Packet loss = 0%, RTA = 0.69 ms HOST NOTIFICATION: networkservices;navgw1;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.69 ms SERVICE ALERT: navgw1;C: Drive Space;OK;HARD;1;C:\ - total: 8.42 Gb - used: 1.85 Gb (22%) - free 6.57 Gb (78%) SERVICE ALERT: navgw1;smtp;OK;HARD;1;SMTP OK - 0 second response time (both notifications for down and recovery work fine) If I have a host dependency defined, I did the same test bringing host navgw1, and I do NOT get notified. HOST ALERT: navgw1;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: navgw1;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: navgw1;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: navgw1;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds HOST ALERT: navgw1;DOWN;HARD;5;CRITICAL - Plugin timed out after 10 seconds SERVICE ALERT: navgw1;C: Drive Space;CRITICAL;HARD;1;Socket timeout after 10 seconds SERVICE ALERT: navgw1;smtp;CRITICAL;HARD;1;Socket timeout after 10 seconds SERVICE ALERT: navgw1;smtp;OK;HARD;1;SMTP OK - 0 second response time SERVICE ALERT: navgw1;C: Drive Space;OK;HARD;1;C:\ - total: 8.42 Gb - used: 1.85 Gb (22%) - free 6.57 Gb (78%) SERVICE ALERT: navgw1;smtp;OK;HARD;1;SMTP OK - 0 second response time Does anyone have any idea? Here is an example of my cfg files. Thanks, Joe define host{ name generic-host check_command check-host-alive max_check_attempts 5 notification_interval 240 notification_period 24x7 notification_options d,u,r 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 - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host{ use generic-host host_name navgw1 alias navgw1 address 10.10.10.10 parents fmvip } define hostdependency{ dependent_host_name navgw1 host_name fmvip notification_failure_criteria d,u,o } -------------- next part -------------- An HTML attachment was scrubbed... URL: From Steve.Rossen at Parago.Com Mon Apr 14 21:35:36 2003 From: Steve.Rossen at Parago.Com (Steve Rossen) Date: Mon, 14 Apr 2003 14:35:36 -0500 Subject: Trends Message-ID: <870BC6C69F20D4118ECC009027FC77610672C80E@copexc01.parago.com> http://www.nagios.org/faqs/viewfaq.php?faq_id=136 -----Original Message----- From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] Sent: Monday, April 14, 2003 1:39 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Trends Hi All, Just curious if anyone might know what I'm missing (option or otherwise). When I go to check trending (for pretty much anything) it's not actually doing any calculations. When checking availability all I get is 100% undertimined and the histograms show nothing for any reporting period. Am I just not seeing an option or is there a permissions thing I'm missing? Any help is appreciated, -- Lonny ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JTorres at abnamroprime.com Mon Apr 14 21:45:49 2003 From: JTorres at abnamroprime.com (Torres, Joe) Date: Mon, 14 Apr 2003 15:45:49 -0400 Subject: (no subject) Message-ID: <9F6689758D87D51191180002A55CB988067FF5F6@pb350exc.ingprime.com> I have setup all my services But I would like to know how to refresh them for example Nagios will show me a problem like this: 700): 08:44:39 Shutdown Mode which is fine but how do I get it to refresh? I don't want to see the same error over and over when I am viewing it from my browser Thanks Joe Torres Prime Brokerage I.T. ABN AMRO Incorporated 350 Park Ave. New York,N.Y.10022 Phone-212 251-3924 Fax-212 251-3950 Email-jtorres at abnamroprime.com This message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. ABN AMRO Bank N.V. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. ABN AMRO Bank N.V. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 14 21:42:29 2003 From: ric at nkn.net (Ric Moseley) Date: Mon, 14 Apr 2003 14:42:29 -0500 Subject: host state statistics In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83032D42F4@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83032D42F4@mismail.ena.com> Message-ID: <00be01c302bd$fc6f4150$1bd010ac@theplanet.com> In netsaint there used to be a 'host state statistics' table in the host view and in nagios it is gone. Is there a way to get this back by turning on an option in the config file? Thanks. Ric. -------------- next part -------------- An HTML attachment was scrubbed... URL: From buraglio at ncsa.uiuc.edu Mon Apr 14 22:27:57 2003 From: buraglio at ncsa.uiuc.edu (Nicholas D . Buraglio) Date: Mon, 14 Apr 2003 15:27:57 -0500 Subject: Please - Notification by e-mail In-Reply-To: ; from hugo.rebello@br.danzas.com on Thu, Mar 06, 2003 at 02:48:52PM -0300 References: Message-ID: <20030414152757.C69879@ncsa.uiuc.edu> are all your paths correct in your misccommands.cfg? specifically /usr/bin/mail? nb On Thu, Mar 06, 2003 at 02:48:52PM -0300, Hugo Rebello wrote: > Please, anybody help me ? > I can?t get to send notification by e-mail using "mail command" > Some sugestion ? > > Thank you. > > Hugo Rebello > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger > for complex code. Debugging C/C++ programs can leave you feeling lost and > disoriented. TotalView can help you find your way. Available on major UNIX > and Linux platforms. Try it free. www.etnus.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ------------ ------------ - Nick Buraglio Network Engineer - - Phone: 217.244.6428 - - National Center for Supercomputing Applications - - CAB 269, 605 E Springfield, Champaign IL 61820 - - www: http://www.ncsa.uiuc.edu/People/buraglio/ - ------------ ------------ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From buraglio at ncsa.uiuc.edu Mon Apr 14 22:26:09 2003 From: buraglio at ncsa.uiuc.edu (Nicholas D . Buraglio) Date: Mon, 14 Apr 2003 15:26:09 -0500 Subject: notify-by-email problems (body of message missing) Message-ID: <20030414152609.B69879@ncsa.uiuc.edu> I'm not seeing any body in the messages sent by nagios, I've not had this problem in the past with netsaint, so I'm not really sure where to check. I did not modify misccommands.cfg, so that should be default. Any help or ideas appreciated. Nothing jumps out in nagios.log. nb -- ------------ ------------ - Nick Buraglio Network Engineer - - Phone: 217.244.6428 - - National Center for Supercomputing Applications - - CAB 269, 605 E Springfield, Champaign IL 61820 - - www: http://www.ncsa.uiuc.edu/People/buraglio/ - ------------ ------------ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Mon Apr 14 22:49:27 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Mon, 14 Apr 2003 15:49:27 -0500 Subject: Netbotz plugin. Message-ID: <352B04312822444A962714393AED8A4D113890@ADAEVS01.int.chickasaw.net> Ok finished up the plugin to check stuff from netbotz. I can currently pretty much get anything from them. I have built in an easy interface to get the temp, humidity, airflow, doorajar, and uptime from them (just but the numerical OID's in the script) but it will take any numerical OID as an argument. One thing I was wondering is if anyone knows what kind of license is on the Netbotz MIB, I was going to add an argument that would create the MIB that way you didn't have to download separate. I havn't found anything on the site yet. Jeremy Russell Network Administrator, CNI 580-272-2707 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramog at starcalif.com Tue Apr 15 00:32:57 2003 From: ramog at starcalif.com (ramog) Date: Mon, 14 Apr 2003 15:32:57 -0700 Subject: GD 2.0.12 Message-ID: <021501c302d5$cc557cb0$0d1fa8c0@sysadmin.starcalif.com> Hi, I got my Nagios 1.0 monitoring software installed (without gd library) and is already up and running in my Red Hat Linux 8.0 system but three (3) monitoring and reporting utilities ( status map, trends and alert histogram ) still does'nt display anything because it needs gd library installed on the system. I just downloaded the gd 2.0.12, compiled and installed it on the system but the above utilities still does'nt work.. Do you think I need to re-install nagios after installing the gd library? If not, can somebody point me what I'm missing... Any help would be greatly appreciated... Thanks, RFA Sys Admin -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Tue Apr 15 01:34:15 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 15 Apr 2003 09:34:15 +1000 Subject: hostgroup member limit In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83032D42F2@mismail.ena.com>; from mpowell@ena.com on Mon, Apr 14, 2003 at 01:15:22PM -0500 References: <5DB017510818EC468B05BD7BD9EACF83032D42F2@mismail.ena.com> Message-ID: <20030415093413.C65536@IPAustralia.Gov.AU> Dear Sir, Please tell me to look in the monster Nagios installations if necessary, otherwise On Mon, Apr 14, 2003 at 01:15:22PM -0500, Marc Powell wrote: > > I've increased mine to 49152 with no apparent problems but YMMV. > how many hosts are you monitoring ? 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Apr 15 01:40:10 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 14 Apr 2003 18:40:10 -0500 Subject: hostgroup member limit Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D42FD@mismail.ena.com> 2000+ but I have a particular hostgroup that has 692 members and another has 541 members. I've got about 200 hostgroups with some amount of overlap for more logical groupings. marc -----Original Message----- From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] Sent: Monday, April 14, 2003 6:34 PM To: Marc Powell Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] hostgroup member limit Dear Sir, Please tell me to look in the monster Nagios installations if necessary, otherwise On Mon, Apr 14, 2003 at 01:15:22PM -0500, Marc Powell wrote: > > I've increased mine to 49152 with no apparent problems but YMMV. > how many hosts are you monitoring ? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.hertrick at neovera.com Tue Apr 15 02:52:00 2003 From: m.hertrick at neovera.com (Michael Hertrick) Date: Tue, 15 Apr 2003 10:52:00 +1000 Subject: GD 2.0.12 References: <021501c302d5$cc557cb0$0d1fa8c0@sysadmin.starcalif.com> Message-ID: <00a401c302e9$39ca2350$8e0ca8c0@monster> The nagios binary you're running must be compiled with the gd libraries and includes. You will have to build nagios again. If the configure script does not find gd and/or status-map and such do not work, you may have to specify the path to gd on the command line when you run configure. --with-gd-lib=DIR sets location of the gd library --with-gd-inc=DIR sets location of the gd include files ----- Original Message ----- From: ramog To: nagios-users at lists.sourceforge.net Sent: Tuesday, April 15, 2003 8:32 AM Subject: [Nagios-users] GD 2.0.12 Hi, I got my Nagios 1.0 monitoring software installed (without gd library) and is already up and running in my Red Hat Linux 8.0 system but three (3) monitoring and reporting utilities ( status map, trends and alert histogram ) still does'nt display anything because it needs gd library installed on the system. I just downloaded the gd 2.0.12, compiled and installed it on the system but the above utilities still does'nt work.. Do you think I need to re-install nagios after installing the gd library? If not, can somebody point me what I'm missing... Any help would be greatly appreciated... Thanks, RFA Sys Admin -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank.gadot at epscorp.com Tue Apr 15 02:26:39 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 14 Apr 2003 20:26:39 -0400 Subject: Problem with NAGIOS.CMD Message-ID: <1050366399.3126.3.camel@localhost> Hi all, I've been trying to add some comments, add some shutdown time, using the CGIs, and I keep having this message : Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. I went to the folder /usr/local/nagios/var/rw , and the chmod is 777, so anyone could write into it. Any idea why it doesn't work ? thank you. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at awprojects.com Tue Apr 15 02:36:35 2003 From: tom at awprojects.com (Tom Bloomfield) Date: Mon, 14 Apr 2003 19:36:35 -0500 Subject: check_nrpe: could not complete SSL handshake Message-ID: <037c01c302e7$131b4100$01000001@digital1> Hi all, I have compiled and build NRPE on both a nagios daemon and client machine with no errors. However, when running check_nrpe as follows from the daemon machine: ./check_nrpe -t 20 -H somehost.com check_disk I receive the message: CHECK_NRPE: Error - Could not complete SSL handshake. I have enabled debug logging on the client machine, and see nothing entered into the log. I have openssl 9.6b installed on both machines. When running check_nrpe with no arguments I receive the following information: Version: 2.0b1 Last Modified: 04-03-2003 License: GPL SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required That's about all the background information I can think of ;-) Has anyone seen this before? TIA! Tom ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Tue Apr 15 03:07:04 2003 From: nagios at nagios.org (Ethan Galstad) Date: Mon, 14 Apr 2003 20:07:04 -0500 Subject: check_nrpe: could not complete SSL handshake In-Reply-To: <037c01c302e7$131b4100$01000001@digital1> References: <037c01c302e7$131b4100$01000001@digital1> Message-ID: <3E9B14E8.10143.B52058@localhost> If running NRPE as a standalone daemon, make sure the client is authorized to connect to the daemon. This is an option in the config file. Also, look at the system log on the server the daemon is running on - it should have more info on why the error is occurring. On 14 Apr 2003 at 19:36, Tom Bloomfield wrote: > Hi all, > I have compiled and build NRPE on both a nagios daemon and client machine > with no errors. However, when running check_nrpe as follows from the daemon > machine: > ./check_nrpe -t 20 -H somehost.com check_disk > > I receive the message: > CHECK_NRPE: Error - Could not complete SSL handshake. > > I have enabled debug logging on the client machine, and see nothing entered > into the log. I have openssl 9.6b installed on both machines. When running > check_nrpe with no arguments I receive the following information: > > Version: 2.0b1 > Last Modified: 04-03-2003 > License: GPL > SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required > > That's about all the background information I can think of ;-) Has anyone > seen this before? > > TIA! > Tom > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Tue Apr 15 03:08:21 2003 From: nagios at nagios.org (Ethan Galstad) Date: Mon, 14 Apr 2003 20:08:21 -0500 Subject: hostgroup member limit In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83032D42FD@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83032D42FD@mismail.ena.com> Message-ID: <3E9B1535.29657.B64E01@localhost> That's the largest install I've heard of thus far. I'm surprised Nagios isn't barfing all over itself with that number of services. :- ) Care to add your installation to the user profiles listing? http://www.nagios.org/userprofiles/ On 14 Apr 2003 at 18:40, Marc Powell wrote: > 2000+ but I have a particular hostgroup that has 692 members and another > has 541 members. I've got about 200 hostgroups with some amount of > overlap for more logical groupings. > > marc > > -----Original Message----- > From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] > Sent: Monday, April 14, 2003 6:34 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] hostgroup member limit > > Dear Sir, > > Please tell me to look in the monster Nagios installations if necessary, > > otherwise > > On Mon, Apr 14, 2003 at 01:15:22PM -0500, Marc Powell wrote: > > > > I've increased mine to 49152 with no apparent problems but YMMV. > > > > how many hosts are you monitoring ? > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcarr at apple.com Tue Apr 15 04:30:06 2003 From: mcarr at apple.com (Mateo Carr) Date: Mon, 14 Apr 2003 19:30:06 -0700 Subject: Unpredictable service check times fixed? In-Reply-To: <20030413152003.A245@IPAustralia.Gov.AU> References: <20030413152003.A245@IPAustralia.Gov.AU> Message-ID: <2BE17112-6EEA-11D7-9205-00039390582A@apple.com> I have been experiencing this problem as well. We have 46 hosts running 330 services currently configured in nagios. I expect this to grow to about 300 hosts and over 1800 service checks assuming we can get this issue resolved. I re-compiled with the --enable-DEBUG3 as suggested. Included is the relevant output displayed to the screen (by running nagios w/out the -d option) and associated nagios.log output. nagios.log sample: [1050363305] Warning: The check of service 'Root Volume Usage' on host 'webx02' could not be performed due to a fork() error. The check will be rescheduled. [1050363305] Warning: The check of service 'NFS' on host 'webx01' could not be performed due to a fork() error. The check will be rescheduled. [1050363305] Warning: The check of service 'Syslogd' on host 'webx03' could not be performed due to a fork() error. The check will be rescheduled. [1050363305] Warning: The check of service 'CLOSE_WAITS' on host 'webx05' could not be performed due to a fork() error. The check will be rescheduled. [1050363305] Warning: The check of service 'Cron' on host ' 01' could not be performed due to a fork() error. The check will be rescheduled. [1050363305] Warning: The check of service 'NFS' on host 'webx09' could not be performed due to a fork() error. The check will be rescheduled. [1050363305] Warning: The check of service 'Clock_Drift' on host 'webx06' could not be performed due to a fork() error. The check will be rescheduled. [1050363305] Warning: The check of service 'Cron' on host '03' could not be performed due to a fork() error. The check will be rescheduled. etc..... output on the screen: *** Event Check Loop *** Current time: Mon Apr 14 16:35:05 2003 Next High Priority Event Time: Mon Apr 14 16:35:12 2003 Next Low Priority Event Time: Mon Apr 14 16:34:37 2003 Current/Max Outstanding Checks: 106/0 *** Event Details *** Event type: 0 (service check) Service Description: Root Volume Usage Associated Host: webx02 Event time: Mon Apr 14 16:34:37 2003 Checking service 'Root Volume Usage' on host 'webx02'... Input: check_nrpe!check_root_disk Output: $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -to 60 Warning: The check of service 'Root Volume Usage' on host 'webx02' could not be performed due to a fork() error. The check will be rescheduled. Preferred Time: 1050363305 --> Mon Apr 14 16:35:05 2003 Next Valid Time: 1050363305 --> Mon Apr 14 16:35:05 2003 *** Event Check Loop *** Current time: Mon Apr 14 16:35:05 2003 Next High Priority Event Time: Mon Apr 14 16:35:12 2003 Next Low Priority Event Time: Mon Apr 14 16:34:37 2003 Current/Max Outstanding Checks: 107/0 *** Event Details *** Event type: 0 (service check) Service Description: NFS Associated Host: webx01 Event time: Mon Apr 14 16:34:37 2003 Checking service 'NFS' on host 'webx01'... Input: check_nrpe!check_nfs_hang Output: $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -to 60 Warning: The check of service 'NFS' on host 'webx01' could not be performed due to a fork() error. The check will be rescheduled. Preferred Time: 1050363305 --> Mon Apr 14 16:35:05 2003 Next Valid Time: 1050363305 --> Mon Apr 14 16:35:05 2003 *** Event Check Loop *** Current time: Mon Apr 14 16:35:05 2003 Next High Priority Event Time: Mon Apr 14 16:35:12 2003 Next Low Priority Event Time: Mon Apr 14 16:34:38 2003 Current/Max Outstanding Checks: 108/0 *** Event Details *** Event type: 0 (service check) Service Description: Syslogd Associated Host: webx03 Event time: Mon Apr 14 16:34:38 2003 Checking service 'Syslogd' on host 'webx03'... Input: check_nrpe!check_syslog Output: $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -to 60 Warning: The check of service 'Syslogd' on host 'webx03' could not be performed due to a fork() error. The check will be rescheduled. Preferred Time: 1050363305 --> Mon Apr 14 16:35:05 2003 Next Valid Time: 1050363305 --> Mon Apr 14 16:35:05 2003 *** Event Check Loop *** Current time: Mon Apr 14 16:35:05 2003 Next High Priority Event Time: Mon Apr 14 16:35:12 2003 Next Low Priority Event Time: Mon Apr 14 16:34:38 2003 Current/Max Outstanding Checks: 109/0 *** Event Details *** Event type: 0 (service check) Service Description: CLOSE_WAITS Associated Host: webx05 Event time: Mon Apr 14 16:34:38 2003 Checking service 'CLOSE_WAITS' on host 'webx05'... Input: check_nrpe!check_close_wait Output: $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -to 60 Warning: The check of service 'CLOSE_WAITS' on host 'webx05' could not be performed due to a fork() error. The check will be rescheduled. Preferred Time: 1050363305 --> Mon Apr 14 16:35:05 2003 Next Valid Time: 1050363305 --> Mon Apr 14 16:35:05 2003 etc.....you get the point. A restart appears to clear up the problem for about 3 to 4 hours. Any light that could be shed on why this is happening would be very much appreciated. Thanks! Mateo Carr Systems Engineer Apple Computer, Inc. mcarr at apple.com On Saturday, April 12, 2003, at 10:20 PM, Stanley Hopcroft wrote: > Dear Sir, > > I am writing to thank you for your letter and say, > > 0 If you are not using Nagios-1.0 then please try that, otherwise > > 1 You may have found a bug as you say in the scheduler. > > However, there are _many_ Nag installations monitoring far more hosts > and services without problems. (Here ~ 200 hosts and 350 services). > > If that is the case, the only way you can demonstrate the bug is by > setting up a Test Nag environment - it could be your production > environment since that is exhibiting the problem - and run Nagios in > such a way that you can collect debug information. > > This is probably easiest done by rebuilding Nag with the appropriate > debug config option > > (./configure --help > .. > --enable-DEBUG0 shows function entry and exit > --enable-DEBUG1 shows general info messages > --enable-DEBUG2 shows warning messages > --enable-DEBUG3 shows scheduled events (service and host checks... etc) > --enable-DEBUG4 shows service and host notifications > --enable-DEBUG5 shows SQL queries > > so probably DEBUG3) > > then run Nag in foreground (no -d) and post the parts of the log that > show scheduling anomalies. > > Alternatively, modify the plugin of the service that seems to be > suffering the most severe scheduling delays to log it's invocation and > exit. > > This probably means adding code like (to a C plugin) > > +time_t my_clock; > +clock = time() ; > +fprintf(stderr, "myPlugin started at %s." ctime(&clock)) ; > > ... > > +clock = time() ; > +fprintf(stderr, "myPlugin finished at %s.", ctime(&clock)) ; > > recompiling it and installing it - probably under a new name - in the > Nag libexec directory. > > 2 If you want a tactical dumpb solution, a cron job that sends a hangup > signal to Nagios periodically (or restarts it). > > You probably want to post the relevant parts of nagios.cfg also. > > Yours sincerely. > > -- > ----------------------------------------------------------------------- > - > Stanley Hopcroft > ----------------------------------------------------------------------- > - ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bliwanag at yahoo.com Tue Apr 15 04:46:28 2003 From: bliwanag at yahoo.com (bernie liwanag) Date: Mon, 14 Apr 2003 19:46:28 -0700 (PDT) Subject: check_oracle Message-ID: <20030415024628.5956.qmail@web40604.mail.yahoo.com> Hi Everyone! I've encountered an error when I run the command : #check_oracle -h Cannot determine ORACLE_HOME for sid Do I need to install Oracle in my Linux box where my nagios is running before I can use the check_oracle plugins? Thanks! Bernie __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 15 05:14:30 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 15 Apr 2003 13:14:30 +1000 Subject: Unpredictable service check times fixed? In-Reply-To: <2BE17112-6EEA-11D7-9205-00039390582A@apple.com>; from mcarr@apple.com on Mon, Apr 14, 2003 at 07:30:06PM -0700 References: <20030413152003.A245@IPAustralia.Gov.AU> <2BE17112-6EEA-11D7-9205-00039390582A@apple.com> Message-ID: <20030415131428.G65536@IPAustralia.Gov.AU> Dear Sir, I am writing to say that it seems to me that the delays in checking services are caused by Nagios not being able to fork() itself to perform the service checks. This fork failure is the cause of the problem, it has nothing to do with Nagios. When Nagios wants to run a check it calls the system (kernel) fork() function to generate a new process that can then execve() the service check program. If Nagios cannot get a new process returned by fork(), it cannot check the service, simple as that. Fork can fail for a number of mainly resource related reasons such as (on this FreeBSD system, happily checking 350 services) ERRORS Fork() will fail and no child process will be created if: [EAGAIN] The system-imposed limit on the total number of pro- cesses under execution would be exceeded. The limit is given by the sysctl(3) MIB variable KERN_MAXPROC. (The limit is actually ten less than this except for the super user). [EAGAIN] The user is not the super user, and the system-imposed limit on the total number of processes under execution by a single user would be exceeded. The limit is given by the sysctl(3) MIB variable KERN_MAXPROCPERUID. [EAGAIN] The user is not the super user, and the soft resource limit corresponding to the resource parameter RLIMIT_NPROC would be exceeded (see getrlimit(2)). [ENOMEM] There is insufficient swap space for the new process. The problem is I think in your Nagios host having either . insufficient memory and or swap. Your host may simply be overcommitted with other applications. If you are running ntop or snort or an SQL DB, you may have to get rid of them or upgrade your host. . unpriviledged user resource limits Some of these limits can be changed dynamincally, others may require a kernel rebuild. You probably should consult a local system administrator that is familiar with tuning whatever OS Nagios is running under. This sytem (FreeBSD 4.7, 256 MB RAM and an 866 MHz Celeron) with Nag, Apache, smslink, sendmail) only runs at a load average of 0.15. Hope this helps. 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daehenoc at optusnet.com.au Tue Apr 15 05:27:07 2003 From: daehenoc at optusnet.com.au (Greg Vickers) Date: Tue, 15 Apr 2003 13:27:07 +1000 Subject: Lab situation (blatant cry for help :) ) Message-ID: <200304150327.h3F3R7o14707@mail012.syd.optusnet.com.au> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From m.hertrick at neovera.com Tue Apr 15 06:42:58 2003 From: m.hertrick at neovera.com (Michael Hertrick) Date: Tue, 15 Apr 2003 14:42:58 +1000 Subject: check_oracle References: <20030415024628.5956.qmail@web40604.mail.yahoo.com> Message-ID: <004701c30309$7e74d200$8e0ca8c0@monster> Yes. BTW, I believe ORACLE_HOME is an environment variable that should point to the Oracle binaries (like sqlplus). ----- Original Message ----- From: "bernie liwanag" To: Sent: Tuesday, April 15, 2003 12:46 PM Subject: [Nagios-users] check_oracle > Hi Everyone! > > I've encountered an error when I run the command : > > #check_oracle -h > Cannot determine ORACLE_HOME for sid > > Do I need to install Oracle in my Linux box where my > nagios is running before I can use the check_oracle > plugins? > > Thanks! > Bernie > > __________________________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo > http://search.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Apr 15 07:03:47 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 15 Apr 2003 01:03:47 -0400 (EDT) Subject: CGI missing ? In-Reply-To: <1050360354.4376.7.camel@localhost> References: <1050360354.4376.7.camel@localhost> Message-ID: which GD version and what GD pre-requisites did you install... -sg On 14 Apr 2003, Frank Gadot wrote: > Hi ! > > As I remember, I did install GD library after Nagios, because I needed > it for another program. Anyway, when I try to recompile nagios, here is > what I have now: > > > /tmp/ccb2YLRk.o: In function `load_image_from_file': > /goinfre/nagios-1.0/cgi/statusmap.c:2222: undefined reference to > `gdImageCreateFromJpeg' > collect2: ld returned 1 exit status > make[1]: *** [statusmap.cgi] Error 1 > make[1]: Leaving directory `/goinfre/nagios-1.0/cgi' > make: *** [all] Error 2 > > > any idea why ? > > thank you. > > Frank > > > On Sat, 2003-04-12 at 17:50, Subhendu Ghosh wrote: > > On 11 Apr 2003, Frank Gadot wrote: > > > > > Hi All, > > > > > > I reinstalled nagios for the second time, thinking that I did something > > > wrong, but apparently no, I really miss some CGI (how come?) > > > > > > I miss the following files, any idea why ? > > > > > > statusmap.cgi, trends.cgi, histogram.cgi, > > > > > > thank you > > > > > > > When you ran configure - it must have not found the GD libraries and > > headers. Withotu GD those CGIs are not built as they need the graphics > > capabilities of GD. > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Apr 15 07:18:42 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 15 Apr 2003 01:18:42 -0400 (EDT) Subject: host state statistics In-Reply-To: <00be01c302bd$fc6f4150$1bd010ac@theplanet.com> References: <00be01c302bd$fc6f4150$1bd010ac@theplanet.com> Message-ID: On Mon, 14 Apr 2003, Ric Moseley wrote: > In netsaint there used to be a 'host state statistics' table in the host > view and in nagios it is gone. Is there a way to get this back by > turning on an option in the config file? > Trends | Availability | Hosts Or Host Detail | View Availability Report of this Host -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Tue Apr 15 07:25:23 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Tue, 15 Apr 2003 07:25:23 +0200 Subject: hostgroup member limit Message-ID: Please visit www.tiscali.co.za And what makes me curious is what hardware is being used to run this on and what is being monitored??? If that is not too confidential? :) > -----Original Message----- > From: Ethan Galstad [mailto:nagios at nagios.org] > Sent: 15 April 2003 03:08 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] hostgroup member limit > > > That's the largest install I've heard of thus far. I'm surprised > Nagios isn't barfing all over itself with that number of services. :- > ) Care to add your installation to the user profiles listing? > > http://www.nagios.org/userprofiles/ > > > On 14 Apr 2003 at 18:40, Marc Powell wrote: > > > 2000+ but I have a particular hostgroup that has 692 > members and another > > has 541 members. I've got about 200 hostgroups with some amount of > > overlap for more logical groupings. > > > > marc > > > > -----Original Message----- > > From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] > > Sent: Monday, April 14, 2003 6:34 PM > > To: Marc Powell > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] hostgroup member limit > > > > Dear Sir, > > > > Please tell me to look in the monster Nagios installations > if necessary, > > > > otherwise > > > > On Mon, Apr 14, 2003 at 01:15:22PM -0500, Marc Powell wrote: > > > > > > I've increased mine to 49152 with no apparent problems but YMMV. > > > > > > > how many hosts are you monitoring ? > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Apr 15 07:38:55 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 15 Apr 2003 01:38:55 -0400 (EDT) Subject: Lab situation (blatant cry for help :) ) In-Reply-To: <200304150327.h3F3R7o14707@mail012.syd.optusnet.com.au> References: <200304150327.h3F3R7o14707@mail012.syd.optusnet.com.au> Message-ID: On Tue, 15 Apr 2003, Greg Vickers wrote: > Hi all, > > We use Nagios to monitor our servers etc here. > > I have been tasked with looking at how Nagios > could be applied to monitor our Lab > computers. We have ~900 PCs across four > campuses. We would like to show our students > where available computers are. > > I'm thinking of compiling nsca so that the > client will run on win32 (labs run XP) and > submitting checks on startup (OK state, PC > available), logon (CRITICAL state, PC not > available) and reboot (UNKNOWN state, PC > rebooting). So we would have our raw data in > the nagios log files. > > Then i'd write something to pull the data > about Lab PCs in an OK/(CRITICAL|WARNING) > state and show students something like this: > > A block Lab: > 10 PCs available > 35 PCs unavailable > > Can anyone comment on the feasibility/reality > of this, since IANACP (I Am Not A C > Programmer, I love learning curves), or > has/would anyone approached this situation in > a different manner? > > Or am I barking mad? > > Thanks, > Greg > > p.s. potential proposal in the project is to > integrate with Sylabus+ so that we can show > the students which labs are booked and > when.... (cue maniac laughter) > Depending out on your setup - other options might be to a) look a a centralized EventLog/syslog for events b) if logon/logoff scripts are used, add a sub to log the event c) not use C - nsca packet structure can be found in common/common.h -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Tue Apr 15 09:05:13 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Tue, 15 Apr 2003 09:05:13 +0200 Subject: AD Checks References: <352B04312822444A962714393AED8A4D02683D@ADAEVS01.int.chickasaw.net> Message-ID: <3E9BAF29.DFE39B99@dhl.com> For the record: I'm using NSClient and check_nt on a Windows 2000 SQL cluster, and it works like a charm. > Jeremy Russell wrote: > > Ya, Im using that too. > > > > One piece of advice though Don?t ever use check_nt on an Cluster > Virtual Server. It kept freaking our Exchange Cluster out and > bringing it completely down, it wouldn?t even fail over, took two > weeks to figure out it was our Monitoring software (ironic :/). It > was my fault for just putting the hostgroup in (contained the two > servers and the virtual server) instead of just the two servers > DOH! So, I?m probably the only one dumb enough to do that. J > > > > > > > > Jeremy Russell > > Network Administrator, CNI > > 580-272-2707 > > > > -----Original Message----- > From: Hagen Deike [mailto:Hagen_Deike at icon-scm.com] > Sent: Friday, April 11, 2003 11:59 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: AW: [Nagios-users] AD Checks > > > > Hi Jeremy, > > > > I'm doing the same thing. Working fine here with 3 AD Servers... > > I'd recommend you also use check_nt to look after the vital > functions of the servers. > > > > Regards, > > Hagen Deike > > > > -----Urspr?ngliche Nachricht----- > Von: Jeremy Russell [mailto:Jeremy.Russell at chickasaw.net] > Gesendet: Freitag, 11. April 2003 18:32 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] AD Checks > > > > Hello list, > > I was just going to check and see if anyone uses a > different method than mine to check Active Directory. Right now I > use the check_ldap plugin, works fine, but just wondering if anyone > uses something else that maybe better. Thanks. > > > > > > Jeremy Russell > > Network Administrator, CNI > > 580-272-2707 > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.barro at shaw.ca Tue Apr 15 10:43:06 2003 From: john.barro at shaw.ca (john.barro at shaw.ca) Date: Tue, 15 Apr 2003 04:43:06 -0400 Subject: Warning: Monitoring process may not be running Message-ID: <2ffe92fef4.2fef42ffe9@shaw.ca> ...something else is wierd also, I have another Redhat system with kernel 2.4.18-3 running Nagios 1.0b6 and I am receiving the same message on the GUI....Warning: Montitoring Process may not be running.... However, on this system I rebooted and all is well. On my other Redhat system with kernel 2.4.18-3 running Nagios 1.0b1, even after countless reboots, I still receive the warning....any ideas??? TIA, John These ----- Original Message ----- From: Edward Chase Date: Monday, April 14, 2003 9:15 am Subject: RE: [Nagios-users] Warning: Monitoring process may not be running > In my case, I had to change the nagios_check_command > > If I did a 'ps -ef', 'nagios' would show as running. Not > '/usr/local/nagios/bin/nagios'. > > > > At 07:53 AM 4/14/2003 -0500, Ric Moseley wrote: > >Have you moved the location of your status.log file? Check your > cgi.cfg>file and make sure you can run the following command. (or > similar)> > ># NAGIOS PROCESS CHECK COMMAND > >nagios_check_command=/usr/local/nagios/libexec/check_nagios > >/usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios' > > > >Thanks. > > > >Ric. > > > >-----Original Message----- > >From: nagios-users-admin at lists.sourceforge.net > >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > >john.barro at shaw.ca > >Sent: Monday, April 14, 2003 5:23 AM > >To: nagios-users at lists.sourceforge.net > >Subject: [Nagios-users] Warning: Monitoring process may not be > running> > >I am running Nagios 1.0b1 for quite some time now. I received the > >following message on the web front end (Warning: Monitoring > process may > >not be running). Where should I start to look? When I go into the > >process info, I receive the following: "It appears as though > Nagios is > >not running, so commands are temporarily unavailable." It > appears that > >all the checks are being scheduled and performed. I am running > this on > >Red Hat 7.3 with kernel 2.4.18-3 > > > >TIA, > >John > > > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when > >reporting any issue. > >::: Messages without supporting info will risk being sent to > /dev/null> > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS > when > >reporting any issue. > >::: Messages without supporting info will risk being sent to > /dev/null > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.barro at shaw.ca Tue Apr 15 12:18:32 2003 From: john.barro at shaw.ca (john.barro at shaw.ca) Date: Tue, 15 Apr 2003 06:18:32 -0400 Subject: Warning: Monitoring process may not be running Message-ID: ...actually, on the machine where Nagios runs fine, I can execute the check_nagios command as the 'nagios' user. The machine that I am having trouble with, when I execute the check_nagios command as the 'nagios' user, I receive 'Could not locate a running Nagios process!' - although the command works fine when logged in as root. Any more help would be appreciated.... ----- Original Message ----- From: john.barro at shaw.ca Date: Tuesday, April 15, 2003 4:43 am Subject: Re: RE: [Nagios-users] Warning: Monitoring process may not be running > > ...something else is wierd also, > > I have another Redhat system with kernel 2.4.18-3 running Nagios > 1.0b6 and I am receiving the same message on the GUI....Warning: > Montitoring Process may not be running.... However, on this system > I rebooted and all is well. On my other Redhat system with kernel > 2.4.18-3 running Nagios 1.0b1, even after countless reboots, I > still receive the warning....any ideas??? > > TIA, > John > > > These > ----- Original Message ----- > From: Edward Chase > Date: Monday, April 14, 2003 9:15 am > Subject: RE: [Nagios-users] Warning: Monitoring process may not be > running > > In my case, I had to change the nagios_check_command > > > > If I did a 'ps -ef', 'nagios' would show as running. Not > > '/usr/local/nagios/bin/nagios'. > > > > > > > > At 07:53 AM 4/14/2003 -0500, Ric Moseley wrote: > > >Have you moved the location of your status.log file? Check > your > > cgi.cfg>file and make sure you can run the following command. > (or > > similar)> > > ># NAGIOS PROCESS CHECK COMMAND > > >nagios_check_command=/usr/local/nagios/libexec/check_nagios > > >/usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios' > > > > > >Thanks. > > > > > >Ric. > > > > > >-----Original Message----- > > >From: nagios-users-admin at lists.sourceforge.net > > >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > > >john.barro at shaw.ca > > >Sent: Monday, April 14, 2003 5:23 AM > > >To: nagios-users at lists.sourceforge.net > > >Subject: [Nagios-users] Warning: Monitoring process may not be > > running> > > >I am running Nagios 1.0b1 for quite some time now. I received the > > >following message on the web front end (Warning: Monitoring > > process may > > >not be running). Where should I start to look? When I go into the > > >process info, I receive the following: "It appears as though > > Nagios is > > >not running, so commands are temporarily unavailable." It > > appears that > > >all the checks are being scheduled and performed. I am running > > this on > > >Red Hat 7.3 with kernel 2.4.18-3 > > > > > >TIA, > > >John > > > > > > > > > > > > > > >------------------------------------------------------- > > >This sf.net email is sponsored by:ThinkGeek > > >Welcome to geek heaven. > > >http://thinkgeek.com/sf > > >_______________________________________________ > > >Nagios-users mailing list > > >Nagios-users at lists.sourceforge.net > > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > >::: Please include Nagios version, plugin version (-v) and OS when > > >reporting any issue. > > >::: Messages without supporting info will risk being sent to > > /dev/null> > > > > > > > > >------------------------------------------------------- > > >This sf.net email is sponsored by:ThinkGeek > > >Welcome to geek heaven. > > >http://thinkgeek.com/sf > > >_______________________________________________ > > >Nagios-users mailing list > > >Nagios-users at lists.sourceforge.net > > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > >::: Please include Nagios version, plugin version (-v) and OS > > when > > >reporting any issue. > > >::: Messages without supporting info will risk being sent to > > /dev/null > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null> > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.barro at shaw.ca Tue Apr 15 12:19:33 2003 From: john.barro at shaw.ca (john.barro at shaw.ca) Date: Tue, 15 Apr 2003 06:19:33 -0400 Subject: Warning: Monitoring process may not be running Message-ID: <6467b0e.7b0e646@shaw.ca> ...I think this may be a permissions problem? But not sure where to look.... ----- Original Message ----- From: john.barro at shaw.ca Date: Tuesday, April 15, 2003 6:18 am Subject: Re: RE: [Nagios-users] Warning: Monitoring process may not be running > ...actually, on the machine where Nagios runs fine, I can execute > the check_nagios command as the 'nagios' user. The machine that I > am having trouble with, when I execute the check_nagios command as > the 'nagios' user, I receive 'Could not locate a running Nagios > process!' - although the command works fine when logged in as > root. Any more help would be appreciated.... > > ----- Original Message ----- > From: john.barro at shaw.ca > Date: Tuesday, April 15, 2003 4:43 am > Subject: Re: RE: [Nagios-users] Warning: Monitoring process may > not be running > > > > > ...something else is wierd also, > > > > I have another Redhat system with kernel 2.4.18-3 running Nagios > > 1.0b6 and I am receiving the same message on the GUI....Warning: > > Montitoring Process may not be running.... However, on this > system > > I rebooted and all is well. On my other Redhat system with > kernel > > 2.4.18-3 running Nagios 1.0b1, even after countless reboots, I > > still receive the warning....any ideas??? > > > > TIA, > > John > > > > > > These > > ----- Original Message ----- > > From: Edward Chase > > Date: Monday, April 14, 2003 9:15 am > > Subject: RE: [Nagios-users] Warning: Monitoring process may not > be > > running > > > In my case, I had to change the nagios_check_command > > > > > > If I did a 'ps -ef', 'nagios' would show as running. Not > > > '/usr/local/nagios/bin/nagios'. > > > > > > > > > > > > At 07:53 AM 4/14/2003 -0500, Ric Moseley wrote: > > > >Have you moved the location of your status.log file? Check > > your > > > cgi.cfg>file and make sure you can run the following command. > > (or > > > similar)> > > > ># NAGIOS PROCESS CHECK COMMAND > > > >nagios_check_command=/usr/local/nagios/libexec/check_nagios > > > >/usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios' > > > > > > > >Thanks. > > > > > > > >Ric. > > > > > > > >-----Original Message----- > > > >From: nagios-users-admin at lists.sourceforge.net > > > >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > > > >john.barro at shaw.ca > > > >Sent: Monday, April 14, 2003 5:23 AM > > > >To: nagios-users at lists.sourceforge.net > > > >Subject: [Nagios-users] Warning: Monitoring process may not > be > > > running> > > > >I am running Nagios 1.0b1 for quite some time now. I > received the > > > >following message on the web front end (Warning: Monitoring > > > process may > > > >not be running). Where should I start to look? When I go > into the > > > >process info, I receive the following: "It appears as though > > > Nagios is > > > >not running, so commands are temporarily unavailable." It > > > appears that > > > >all the checks are being scheduled and performed. I am > running > > > this on > > > >Red Hat 7.3 with kernel 2.4.18-3 > > > > > > > >TIA, > > > >John > > > > > > > > > > > > > > > > > > > >------------------------------------------------------- > > > >This sf.net email is sponsored by:ThinkGeek > > > >Welcome to geek heaven. > > > >http://thinkgeek.com/sf > > > >_______________________________________________ > > > >Nagios-users mailing list > > > >Nagios-users at lists.sourceforge.net > > > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > >::: Please include Nagios version, plugin version (-v) and OS > when> > >reporting any issue. > > > >::: Messages without supporting info will risk being sent to > > > /dev/null> > > > > > > > > > > > >------------------------------------------------------- > > > >This sf.net email is sponsored by:ThinkGeek > > > >Welcome to geek heaven. > > > >http://thinkgeek.com/sf > > > >_______________________________________________ > > > >Nagios-users mailing list > > > >Nagios-users at lists.sourceforge.net > > > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > >::: Please include Nagios version, plugin version (-v) and OS > > > when > > > >reporting any issue. > > > >::: Messages without supporting info will risk being sent to > > > /dev/null > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > > when > > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to > > /dev/null> > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null> > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikko.kaipila at seclan.com Tue Apr 15 13:06:24 2003 From: mikko.kaipila at seclan.com (Mikko Kaipila) Date: 15 Apr 2003 14:06:24 +0300 Subject: host checks and notifications Message-ID: <1050404783.16666.23.camel@tyly.seclan.com> hi! maybe simply question: how often does Nagios execute check-host-alive command? I havent found that configuration (e.g check interval on hosts.cfg) anywhere. In addition to: Obviously Host notification is sending only if a host state is changing? If I am right, so what is the meaning of host notification_interval? Thanks some advice in advance -- Mikko Kaipila ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Tue Apr 15 13:34:39 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Tue, 15 Apr 2003 07:34:39 -0400 Subject: Problem with NAGIOS.CMD Message-ID: <2E3E9736615DD311895D00105A9CADED014BCBAC@eentsvr40.ehvert.com> A quick and easy fix would be to go back to your source tree and do a make install-commandmode dean -----Original Message----- From: Frank Gadot [mailto:frank.gadot at epscorp.com] Sent: April 14, 2003 8:27 PM To: Nagios-Users Subject: [Nagios-users] Problem with NAGIOS.CMD Hi all, I've been trying to add some comments, add some shutdown time, using the CGIs, and I keep having this message : Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. I went to the folder /usr/local/nagios/var/rw , and the chmod is 777, so anyone could write into it. Any idea why it doesn't work ? thank you. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Tue Apr 15 13:46:15 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Tue, 15 Apr 2003 07:46:15 -0400 Subject: AD Checks Message-ID: <2E3E9736615DD311895D00105A9CADED014BCBAE@eentsvr40.ehvert.com> I, too, am using check_nt on a number of clusters without issue. Dean -----Original Message----- From: Tom DE BLENDE [mailto:Tom.DeBlende at dhl.com] Sent: April 15, 2003 3:05 AM To: Jeremy Russell Cc: Hagen Deike; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] AD Checks For the record: I'm using NSClient and check_nt on a Windows 2000 SQL cluster, and it works like a charm. > Jeremy Russell wrote: > > Ya, Im using that too. > > > > One piece of advice though... Don't ever use check_nt on an Cluster > Virtual Server. It kept freaking our Exchange Cluster out and > bringing it completely down, it wouldn't even fail over, took two > weeks to figure out it was our Monitoring software (ironic :/). It > was my fault for just putting the hostgroup in (contained the two > servers and the virtual server) instead of just the two servers... > DOH! So, I'm probably the only one dumb enough to do that. J > > > > > > > > Jeremy Russell > > Network Administrator, CNI > > 580-272-2707 > > > > -----Original Message----- > From: Hagen Deike [mailto:Hagen_Deike at icon-scm.com] > Sent: Friday, April 11, 2003 11:59 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: AW: [Nagios-users] AD Checks > > > > Hi Jeremy, > > > > I'm doing the same thing. Working fine here with 3 AD Servers... > > I'd recommend you also use check_nt to look after the vital > functions of the servers. > > > > Regards, > > Hagen Deike > > > > -----Urspr?ngliche Nachricht----- > Von: Jeremy Russell [mailto:Jeremy.Russell at chickasaw.net] > Gesendet: Freitag, 11. April 2003 18:32 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] AD Checks > > > > Hello list, > > I was just going to check and see if anyone uses a > different method than mine to check Active Directory. Right now I > use the check_ldap plugin, works fine, but just wondering if anyone > uses something else that maybe better. Thanks. > > > > > > Jeremy Russell > > Network Administrator, CNI > > 580-272-2707 > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Tue Apr 15 13:39:34 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Tue, 15 Apr 2003 07:39:34 -0400 Subject: CGI missing ? Message-ID: <2E3E9736615DD311895D00105A9CADED014BCBAD@eentsvr40.ehvert.com> On my system I found that I was missing gd, libjpeg, and libpng packages (including related devel packages which is where the necessary headers are). dean -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: April 15, 2003 1:04 AM To: Frank Gadot Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] CGI missing ? which GD version and what GD pre-requisites did you install... -sg On 14 Apr 2003, Frank Gadot wrote: > Hi ! > > As I remember, I did install GD library after Nagios, because I needed > it for another program. Anyway, when I try to recompile nagios, here is > what I have now: > > > /tmp/ccb2YLRk.o: In function `load_image_from_file': > /goinfre/nagios-1.0/cgi/statusmap.c:2222: undefined reference to > `gdImageCreateFromJpeg' > collect2: ld returned 1 exit status > make[1]: *** [statusmap.cgi] Error 1 > make[1]: Leaving directory `/goinfre/nagios-1.0/cgi' > make: *** [all] Error 2 > > > any idea why ? > > thank you. > > Frank > > > On Sat, 2003-04-12 at 17:50, Subhendu Ghosh wrote: > > On 11 Apr 2003, Frank Gadot wrote: > > > > > Hi All, > > > > > > I reinstalled nagios for the second time, thinking that I did something > > > wrong, but apparently no, I really miss some CGI (how come?) > > > > > > I miss the following files, any idea why ? > > > > > > statusmap.cgi, trends.cgi, histogram.cgi, > > > > > > thank you > > > > > > > When you ran configure - it must have not found the GD libraries and > > headers. Withotu GD those CGIs are not built as they need the graphics > > capabilities of GD. > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cristian.dimalio at lisit.it Tue Apr 15 14:02:37 2003 From: cristian.dimalio at lisit.it (Cristian DiMalio) Date: Tue, 15 Apr 2003 14:02:37 +0200 Subject: nagios plugins for Sparc In-Reply-To: References: Message-ID: <3E9BF4DD.5020302@lisit.it> Hi to all I need precompiled tarball or rpm, package of nagios plugins, last version because cannot compile (hardened solaris) thanks ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Apr 15 14:14:44 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 15 Apr 2003 08:14:44 -0400 (EDT) Subject: Warning: Monitoring process may not be running In-Reply-To: <6467b0e.7b0e646@shaw.ca> References: <6467b0e.7b0e646@shaw.ca> Message-ID: Did you install one of the "secure kernels" - if so - need to changes its config to allow a user "ps" to display all processes. -sg On Tue, 15 Apr 2003 john.barro at shaw.ca wrote: > ...I think this may be a permissions problem? But not sure where to look.... > > ----- Original Message ----- > From: john.barro at shaw.ca > Date: Tuesday, April 15, 2003 6:18 am > Subject: Re: RE: [Nagios-users] Warning: Monitoring process may not be running > > > ...actually, on the machine where Nagios runs fine, I can execute > > the check_nagios command as the 'nagios' user. The machine that I > > am having trouble with, when I execute the check_nagios command as > > the 'nagios' user, I receive 'Could not locate a running Nagios > > process!' - although the command works fine when logged in as > > root. Any more help would be appreciated.... > > > > ----- Original Message ----- > > From: john.barro at shaw.ca > > Date: Tuesday, April 15, 2003 4:43 am > > Subject: Re: RE: [Nagios-users] Warning: Monitoring process may > > not be running > > > > > > > > ...something else is wierd also, > > > > > > I have another Redhat system with kernel 2.4.18-3 running Nagios > > > 1.0b6 and I am receiving the same message on the GUI....Warning: > > > Montitoring Process may not be running.... However, on this > > system > > > I rebooted and all is well. On my other Redhat system with > > kernel > > > 2.4.18-3 running Nagios 1.0b1, even after countless reboots, I > > > still receive the warning....any ideas??? > > > > > > TIA, > > > John > > > > > > > > > These > > > ----- Original Message ----- > > > From: Edward Chase > > > Date: Monday, April 14, 2003 9:15 am > > > Subject: RE: [Nagios-users] Warning: Monitoring process may not > > be > > > running > > > > In my case, I had to change the nagios_check_command > > > > > > > > If I did a 'ps -ef', 'nagios' would show as running. Not > > > > '/usr/local/nagios/bin/nagios'. > > > > > > > > > > > > > > > > At 07:53 AM 4/14/2003 -0500, Ric Moseley wrote: > > > > >Have you moved the location of your status.log file? Check > > > your > > > > cgi.cfg>file and make sure you can run the following command. > > > (or > > > > similar)> > > > > ># NAGIOS PROCESS CHECK COMMAND > > > > >nagios_check_command=/usr/local/nagios/libexec/check_nagios > > > > >/usr/local/nagios/var/status.log 5 '/usr/local/nagios/bin/nagios' > > > > > > > > > >Thanks. > > > > > > > > > >Ric. > > > > > > > > > >-----Original Message----- > > > > >From: nagios-users-admin at lists.sourceforge.net > > > > >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > > > > >john.barro at shaw.ca > > > > >Sent: Monday, April 14, 2003 5:23 AM > > > > >To: nagios-users at lists.sourceforge.net > > > > >Subject: [Nagios-users] Warning: Monitoring process may not > > be > > > > running> > > > > >I am running Nagios 1.0b1 for quite some time now. I > > received the > > > > >following message on the web front end (Warning: Monitoring > > > > process may > > > > >not be running). Where should I start to look? When I go > > into the > > > > >process info, I receive the following: "It appears as though > > > > Nagios is > > > > >not running, so commands are temporarily unavailable." It > > > > appears that > > > > >all the checks are being scheduled and performed. I am > > running > > > > this on > > > > >Red Hat 7.3 with kernel 2.4.18-3 > > > > > > > > > >TIA, > > > > >John > > > > > > > > > > > > > > > > > > > > > > > > >------------------------------------------------------- > > > > >This sf.net email is sponsored by:ThinkGeek > > > > >Welcome to geek heaven. > > > > >http://thinkgeek.com/sf > > > > >_______________________________________________ > > > > >Nagios-users mailing list > > > > >Nagios-users at lists.sourceforge.net > > > > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > >::: Please include Nagios version, plugin version (-v) and OS > > when> > >reporting any issue. > > > > >::: Messages without supporting info will risk being sent to > > > > /dev/null> > > > > > > > > > > > > > > >------------------------------------------------------- > > > > >This sf.net email is sponsored by:ThinkGeek > > > > >Welcome to geek heaven. > > > > >http://thinkgeek.com/sf > > > > >_______________________________________________ > > > > >Nagios-users mailing list > > > > >Nagios-users at lists.sourceforge.net > > > > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > >::: Please include Nagios version, plugin version (-v) and OS > > > > when > > > > >reporting any issue. > > > > >::: Messages without supporting info will risk being sent to > > > > /dev/null > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS > > > when > > > > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to > > > /dev/null> > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > > when > > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to > > /dev/null> > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 15 14:16:23 2003 From: tguldener at monzoon.net (Thomas Guldener) Date: Tue, 15 Apr 2003 14:16:23 +0200 Subject: hostexinfo - statusmap.cgi Message-ID: Hello everybody I tray to setup special images in statusmap.cgi with hostextinfo.cfg. I use the nagios system on a freebsd 4.8 box installed from freebsd ports with the following configuration: cgi.cfg: .... xedtemplate_config_file=/usr/local/etc/nagios/hostextinfo.cfg ... hostextinfo.cfg: define hostextinfo{ name cisco350 icon_image cisco350.png icon_image_alt Cisco 350 Bridge vrml_image cisco350.png gd2_image cisco350.gd2 register 0 } define hostextinfo{ use cisco350 host_name bad00ap0.ag.ch.monzoon.net } .... hosts.cfg .... define host { host_name bad00ap0.ag.ch.monzoon.net alias Grand Casino Baden AP #1 address x.x.x.x register 1 use MONZOON-APs parents bad00ca0.ag.ch.monzoon.net } ..... But the images will not change in the statusmap.cgi. Can you give me some support? Have others also the same Problem? Greats Thomas ----------->> sent via monzoon secure wireless access <<----------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ThomasScholten at schmuecker.de Tue Apr 15 14:53:43 2003 From: ThomasScholten at schmuecker.de (Scholten, Thomas) Date: Tue, 15 Apr 2003 14:53:43 +0200 Subject: NSClient can't display CPULOAD - digging deeper into the problem Message-ID: Hello All, recently i stumbled over the following errors in Windows 2000 CPU Performance monitoring with nagios 1.0 and nsclient 1.7.0.1. i also saw some more posts about this problem so may be it helps fishing for some more ideas: CPULOAD:UNKNOWN:NSClient - ERROR:Malformed request or internal error. Check EventLog:None&2&10 The event log showing NSClient: Division by zero. Checking the Processor counters using perfmon under Windows 2000 Server SP3 brought up that they disappeared! Browsing the M$ knowledge base resulted in several problems with missing and/or corrupted counters. Sadly only solutions offered so far was updating to a new service pack. Unfortunally i'm already at sp3. I also tried an kb article which recommended disabling the performance counters per Hand until it works again. For today time is running out getting deeper into it, but hopefully someone out there has a good clue for solving this problem. Thomas P.S.: Thanks to Ethan for this nice and funny new playground :) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.barro at shaw.ca Tue Apr 15 15:48:54 2003 From: john.barro at shaw.ca (john.barro at shaw.ca) Date: Tue, 15 Apr 2003 09:48:54 -0400 Subject: Warning: Monitoring process may not be running - SOLVED Message-ID: Thanks everyone, It turns out that I had invalid permissions set on the /lib/libproc.so.2.0.6 file. Now I have to find out who/how they changed! ----- Original Message ----- From: Subhendu Ghosh Date: Tuesday, April 15, 2003 8:14 am Subject: Re: RE: [Nagios-users] Warning: Monitoring process may not be running > > Did you install one of the "secure kernels" - if so - need to > changes its > config to allow a user "ps" to display all processes. > > -sg > > > On Tue, 15 Apr 2003 john.barro at shaw.ca wrote: > > > ...I think this may be a permissions problem? But not sure where > to look.... > > > > ----- Original Message ----- > > From: john.barro at shaw.ca > > Date: Tuesday, April 15, 2003 6:18 am > > Subject: Re: RE: [Nagios-users] Warning: Monitoring process may > not be running > > > > > ...actually, on the machine where Nagios runs fine, I can > execute > > > the check_nagios command as the 'nagios' user. The machine > that I > > > am having trouble with, when I execute the check_nagios > command as > > > the 'nagios' user, I receive 'Could not locate a running > Nagios > > > process!' - although the command works fine when logged in as > > > root. Any more help would be appreciated.... > > > > > > ----- Original Message ----- > > > From: john.barro at shaw.ca > > > Date: Tuesday, April 15, 2003 4:43 am > > > Subject: Re: RE: [Nagios-users] Warning: Monitoring process > may > > > not be running > > > > > > > > > > > ...something else is wierd also, > > > > > > > > I have another Redhat system with kernel 2.4.18-3 running > Nagios > > > > 1.0b6 and I am receiving the same message on the > GUI....Warning: > > > > Montitoring Process may not be running.... However, on this > > > system > > > > I rebooted and all is well. On my other Redhat system with > > > kernel > > > > 2.4.18-3 running Nagios 1.0b1, even after countless reboots, > I > > > > still receive the warning....any ideas??? > > > > > > > > TIA, > > > > John > > > > > > > > > > > > These > > > > ----- Original Message ----- > > > > From: Edward Chase > > > > Date: Monday, April 14, 2003 9:15 am > > > > Subject: RE: [Nagios-users] Warning: Monitoring process may > not > > > be > > > > running > > > > > In my case, I had to change the nagios_check_command > > > > > > > > > > If I did a 'ps -ef', 'nagios' would show as running. Not > > > > > '/usr/local/nagios/bin/nagios'. > > > > > > > > > > > > > > > > > > > > At 07:53 AM 4/14/2003 -0500, Ric Moseley wrote: > > > > > >Have you moved the location of your status.log file? > Check > > > > your > > > > > cgi.cfg>file and make sure you can run the following > command. > > > > (or > > > > > similar)> > > > > > ># NAGIOS PROCESS CHECK COMMAND > > > > > >nagios_check_command=/usr/local/nagios/libexec/check_nagios > > > > > >/usr/local/nagios/var/status.log 5 > '/usr/local/nagios/bin/nagios'> > > > > > > > > > >Thanks. > > > > > > > > > > > >Ric. > > > > > > > > > > > >-----Original Message----- > > > > > >From: nagios-users-admin at lists.sourceforge.net > > > > > >[mailto:nagios-users-admin at lists.sourceforge.net] On > Behalf Of > > > > > >john.barro at shaw.ca > > > > > >Sent: Monday, April 14, 2003 5:23 AM > > > > > >To: nagios-users at lists.sourceforge.net > > > > > >Subject: [Nagios-users] Warning: Monitoring process may > not > > > be > > > > > running> > > > > > >I am running Nagios 1.0b1 for quite some time now. I > > > received the > > > > > >following message on the web front end (Warning: > Monitoring > > > > > process may > > > > > >not be running). Where should I start to look? When I go > > > into the > > > > > >process info, I receive the following: "It appears as > though > > > > > Nagios is > > > > > >not running, so commands are temporarily unavailable." > It > > > > > appears that > > > > > >all the checks are being scheduled and performed. I am > > > running > > > > > this on > > > > > >Red Hat 7.3 with kernel 2.4.18-3 > > > > > > > > > > > >TIA, > > > > > >John > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >------------------------------------------------------- > > > > > >This sf.net email is sponsored by:ThinkGeek > > > > > >Welcome to geek heaven. > > > > > >http://thinkgeek.com/sf > > > > > >_______________________________________________ > > > > > >Nagios-users mailing list > > > > > >Nagios-users at lists.sourceforge.net > > > > > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > >::: Please include Nagios version, plugin version (-v) > and OS > > > when> > >reporting any issue. > > > > > >::: Messages without supporting info will risk being sent > to > > > > > /dev/null> > > > > > > > > > > > > > > > > > >------------------------------------------------------- > > > > > >This sf.net email is sponsored by:ThinkGeek > > > > > >Welcome to geek heaven. > > > > > >http://thinkgeek.com/sf > > > > > >_______________________________________________ > > > > > >Nagios-users mailing list > > > > > >Nagios-users at lists.sourceforge.net > > > > > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > >::: Please include Nagios version, plugin version (-v) > and OS > > > > > when > > > > > >reporting any issue. > > > > > >::: Messages without supporting info will risk being sent > to > > > > > /dev/null > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ::: Please include Nagios version, plugin version (-v) and > OS > > > > when > > > > > reporting any issue. > > > > > ::: Messages without supporting info will risk being sent > to > > > > /dev/null> > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and > OS > > > when > > > > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to > > > /dev/null> > > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null> > > -- > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Tue Apr 15 16:22:08 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Tue, 15 Apr 2003 09:22:08 -0500 Subject: AD Checks Message-ID: <352B04312822444A962714393AED8A4D113895@ADAEVS01.int.chickasaw.net> Ya, I was able to do our F/P and SQL clusters, but when I grabbed info from the Exchange cluster Virtual Server is when ours burnt... Of course that was the only cluster built by some consultants... hmmmm.... Jeremy Russell Network Administrator, CNI 580-272-2707 -----Original Message----- From: Tom DE BLENDE [mailto:Tom.DeBlende at dhl.com] Sent: Tuesday, April 15, 2003 2:05 AM To: Jeremy Russell Cc: Hagen Deike; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] AD Checks For the record: I'm using NSClient and check_nt on a Windows 2000 SQL cluster, and it works like a charm. > Jeremy Russell wrote: > > Ya, Im using that too. > > > > One piece of advice though... Don't ever use check_nt on an Cluster > Virtual Server. It kept freaking our Exchange Cluster out and > bringing it completely down, it wouldn't even fail over, took two > weeks to figure out it was our Monitoring software (ironic :/). It > was my fault for just putting the hostgroup in (contained the two > servers and the virtual server) instead of just the two servers... > DOH! So, I'm probably the only one dumb enough to do that. J > > > > > > > > Jeremy Russell > > Network Administrator, CNI > > 580-272-2707 > > > > -----Original Message----- > From: Hagen Deike [mailto:Hagen_Deike at icon-scm.com] > Sent: Friday, April 11, 2003 11:59 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: AW: [Nagios-users] AD Checks > > > > Hi Jeremy, > > > > I'm doing the same thing. Working fine here with 3 AD Servers... > > I'd recommend you also use check_nt to look after the vital > functions of the servers. > > > > Regards, > > Hagen Deike > > > > -----Urspr?ngliche Nachricht----- > Von: Jeremy Russell [mailto:Jeremy.Russell at chickasaw.net] > Gesendet: Freitag, 11. April 2003 18:32 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] AD Checks > > > > Hello list, > > I was just going to check and see if anyone uses a > different method than mine to check Active Directory. Right now I > use the check_ldap plugin, works fine, but just wondering if anyone > uses something else that maybe better. Thanks. > > > > > > Jeremy Russell > > Network Administrator, CNI > > 580-272-2707 > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandromergvaz at uol.com.br Tue Apr 15 17:45:38 2003 From: sandromergvaz at uol.com.br (Sandro Vaz (UOL)) Date: Tue, 15 Apr 2003 12:45:38 -0300 Subject: RES: NSClient can't display CPULOAD - digging deeper into the problem In-Reply-To: References: Message-ID: Thomas: I have installed more than 100 NSClients, and have seen all kind of problems. Some of them: 1) Division by zero: solved once changing the counters.defs, because Nsclient has detected OS language in a wrong way (it was English but detected Brazilian Portuguese). 2) NSClient does not answer the queries after restart: had to downgrade to version 1.07.0 or 1.06.2. 3) NSClient does not install: tried 3 times with same version, and i worked. 4) Connection refused by host (through different period of time - 5 min or 2 hours): don?t know why yet. Despite of that, NSClient has serious problems when trying to get some counters, and some guys here in the list are working on that. It is vital to put Nagios in a multiplataform environment, so we have to live with it (because it works great for the basic stuffs). In NSClient site, we have a promise to get soon a full Nagios compliant version. Let?s wait for the future... Finally, I have problem with lost Exchange 5.5 performance counters, and find an article telling me how to restore them (KB156494). HTH, Sandro Vaz -----Mensagem original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Scholten, Thomas Enviada em: ter?a-feira, 15 de abril de 2003 09:54 Para: Nagios User Mailinglist (E-Mail) Assunto: [Nagios-users] NSClient can't display CPULOAD - digging deeper into the problem Hello All, recently i stumbled over the following errors in Windows 2000 CPU Performance monitoring with nagios 1.0 and nsclient 1.7.0.1. i also saw some more posts about this problem so may be it helps fishing for some more ideas: CPULOAD:UNKNOWN:NSClient - ERROR:Malformed request or internal error. Check EventLog:None&2&10 The event log showing NSClient: Division by zero. Checking the Processor counters using perfmon under Windows 2000 Server SP3 brought up that they disappeared! Browsing the M$ knowledge base resulted in several problems with missing and/or corrupted counters. Sadly only solutions offered so far was updating to a new service pack. Unfortunally i'm already at sp3. I also tried an kb article which recommended disabling the performance counters per Hand until it works again. For today time is running out getting deeper into it, but hopefully someone out there has a good clue for solving this problem. Thomas P.S.: Thanks to Ethan for this nice and funny new playground :) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.471 / Virus Database: 269 - Release Date: 10/4/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.471 / Virus Database: 269 - Release Date: 10/4/2003 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Apr 15 18:09:22 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 15 Apr 2003 11:09:22 -0500 Subject: hostgroup member limit Message-ID: <5DB017510818EC468B05BD7BD9EACF83029F2940@mismail.ena.com> Sure, no problem. Note that I didn't say it wasn't without its quirks, just that expanding the hostgroup limit didn't break it ;) For those who are curios, we've implemented a distributed monitoring system with 4 data collectors, the largest of which is polling 692 hosts. Our aggregate checks are approximately 1800 check_ping and 300 miscellaneous check_http variants, check_dns, check_smtp, etc... All data collectors are reporting back to 2 central hosts via nsca. I'd like to have only 1 central host but performance issues prevent it so I've got one host that uses a flat-file back end and another that uses a postgres back end. We use the database backend because we need to do some fairly fluid reporting to our major customer going back up to 5 years so we suck that information over to SQL Server 2000 for archiving. The problem with using the database backend in this scenario is that service checks come in faster than nagios can process the pipe and update the database. I have to restart nagios 2 times each day on this machine (bleh) in order to clear up the 7000+ backlogged processes. I don't have any such problems with the flat-file backend central host. My only real limitation there is that the Status Summary views take up to 3-4 minutes to generate so I've just created a cron job that creates them as static HTML every 5 minutes. Other caveats -- Host checks are not performed (check is defined as check_dummy 0) so parenting, etc. is irrelevant. I guess that's it... - Data Collectors are PIII 800MHz with 512Megs RAM, Redhat 7.3. Load is minimal and each Data Collector is running Nagios, Cricket and Smokeping. - Central Host #1 (Postgres) is a quad PIII 550 with 2GB Ram, Redhat 7.3. This box is solely dedicated to Nagios/Cricket/Smokeping aggregation (not used as user front-end though). Load typically sucks and can be as high as 800 for the 5 minute average. The machine is still usable though and the high load average is the result of the high number of nsca/nagios processes hanging out waiting to write to the command pipe. - Central Host #2 (flat-file) is a quad PIII 500 with 1GB Ram, Redhat 7.3. Nagios aggregation point and a host of other services. User front-end as well. Load is minimal and this is actually a heavily used box for both interactive and non-interactive services. -- Marc -----Original Message----- From: Ethan Galstad [mailto:nagios at nagios.org] Sent: Monday, April 14, 2003 8:08 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] hostgroup member limit That's the largest install I've heard of thus far. I'm surprised Nagios isn't barfing all over itself with that number of services. :- ) Care to add your installation to the user profiles listing? http://www.nagios.org/userprofiles/ On 14 Apr 2003 at 18:40, Marc Powell wrote: > 2000+ but I have a particular hostgroup that has 692 members and another > has 541 members. I've got about 200 hostgroups with some amount of > overlap for more logical groupings. > > marc > > -----Original Message----- > From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] > Sent: Monday, April 14, 2003 6:34 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] hostgroup member limit > > Dear Sir, > > Please tell me to look in the monster Nagios installations if necessary, > > otherwise > > On Mon, Apr 14, 2003 at 01:15:22PM -0500, Marc Powell wrote: > > > > I've increased mine to 49152 with no apparent problems but YMMV. > > > > how many hosts are you monitoring ? > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsellens at generalconcepts.com Tue Apr 15 16:49:11 2003 From: jsellens at generalconcepts.com (John Sellens) Date: Tue, 15 Apr 2003 10:49:11 -0400 (EDT) Subject: nagios && rrd Message-ID: <200304151449.h3FEnBV51723@gc0.generalconcepts.com> | From: Jason Burnett | Date: Thu, 20 Mar 2003 17:15:55 -0500 | | Is anyone else using RRD to process the service-perf data? If so, what | are you using to parse out the $PERFDATA$ & $OUTPUT$ info? We are | working on perl to parse it out and put it in RRD for us, but if | someone has found an easier way to do this please let me know. My belief, which I haven't implemented yet, is that a good graphing/trending mechanism is to log the host and service perfdata from within Nagios, and then use Orca (http://www.orcaware.com/orca/) to insert the data into RRD files and manage the HTML interface. I'm reasonably optimistic that this is a good idea. John jsellens at generalconcepts.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at woodstream.net Tue Apr 15 19:22:41 2003 From: mark at woodstream.net (mark) Date: Tue, 15 Apr 2003 13:22:41 -0400 (EDT) Subject: nagios && rrd In-Reply-To: <200304151449.h3FEnBV51723@gc0.generalconcepts.com> References: <200304151449.h3FEnBV51723@gc0.generalconcepts.com> Message-ID: I agree. This is a solution that I plan on implementing also. I have heard / seen at least one other person mention this also. Sounds like it's about time one (or all) of us got on with it and get Orca working with Nagios. Jason, did you have any ideas on how you were going to hand the data to Orca? I see two options, you could run a process for each piece of data, which would be each event(?), and run Orca in the rrd insert only mode. Or, you could write to a log file and have Orca batch load the data. The second is my choice but I haven't come up with a clear / clean way to write the data to logs in a format that Orca likes. I think I would need a log for each host and possibly for each service. Anyone else come to a similar conclusion? Mark On Tue, 15 Apr 2003, John Sellens wrote: > | From: Jason Burnett > | Date: Thu, 20 Mar 2003 17:15:55 -0500 > | > | Is anyone else using RRD to process the service-perf data? If so, what > | are you using to parse out the $PERFDATA$ & $OUTPUT$ info? We are > | working on perl to parse it out and put it in RRD for us, but if > | someone has found an easier way to do this please let me know. > > My belief, which I haven't implemented yet, is that a good > graphing/trending mechanism is to log the host and service perfdata > from within Nagios, and then use Orca (http://www.orcaware.com/orca/) > to insert the data into RRD files and manage the HTML interface. > > I'm reasonably optimistic that this is a good idea. > > John > jsellens at generalconcepts.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Apr 15 19:51:40 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 15 Apr 2003 13:51:40 -0400 (EDT) Subject: nagios && rrd In-Reply-To: References: Message-ID: Before you go off and start coding - any comments or suggestion for improvement with APAN? -sg On Tue, 15 Apr 2003, mark wrote: > I agree. This is a solution that I plan on implementing also. I have > heard / seen at least one other person mention this also. Sounds like > it's about time one (or all) of us got on with it and get Orca working > with Nagios. > > > Jason, did you have any ideas on how you were going to hand the data to > Orca? I see two options, you could run a process for each piece of data, > which would be each event(?), and run Orca in the rrd insert only mode. > Or, you could write to a log file and have Orca batch load the data. The > second is my choice but I haven't come up with a clear / clean way to > write the data to logs in a format that Orca likes. I think I would need > a log for each host and possibly for each service. Anyone else come to a > similar conclusion? > > Mark > > > On Tue, 15 Apr 2003, John Sellens wrote: > > > | From: Jason Burnett > > | Date: Thu, 20 Mar 2003 17:15:55 -0500 > > | > > | Is anyone else using RRD to process the service-perf data? If so, what > > | are you using to parse out the $PERFDATA$ & $OUTPUT$ info? We are > > | working on perl to parse it out and put it in RRD for us, but if > > | someone has found an easier way to do this please let me know. > > > > My belief, which I haven't implemented yet, is that a good > > graphing/trending mechanism is to log the host and service perfdata > > from within Nagios, and then use Orca (http://www.orcaware.com/orca/) > > to insert the data into RRD files and manage the HTML interface. > > > > I'm reasonably optimistic that this is a good idea. > > > > John > > jsellens at generalconcepts.com > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sebastian.schubert at sskm.de Tue Apr 15 20:03:33 2003 From: sebastian.schubert at sskm.de (Sebastian Schubert) Date: 15 Apr 2003 20:03:33 +0200 Subject: nagios && rrd In-Reply-To: <200304151449.h3FEnBV51723@gc0.generalconcepts.com> References: <200304151449.h3FEnBV51723@gc0.generalconcepts.com> Message-ID: <1050429812.31035.17.camel@lnx024071100.vz.intra.sskm.de> > My belief, which I haven't implemented yet, is that a good > graphing/trending mechanism is to log the host and service perfdata > from within Nagios, and then use Orca (http://www.orcaware.com/orca/) > to insert the data into RRD files and manage the HTML interface. > > I'm reasonably optimistic that this is a good idea. > > John > jsellens at generalconcepts.com hi there, we're currently working on script that takes the perf data and pumps the data in cacti, yet another cool frontend/tool for rrdtool .. you might want to have a look at http://www.raxnet.net/products/cacti i've got an installed cacti on http://wir-wollen.zukunft-gestalten.de/ user:guest/password:guest if you want to look at it maybe i'll be able to fill the graphs with nagios data in a couple of days :) -- "In god we trust, the Rest we Monitor" Sebastian Schubert - RHCE Stadtsparkasse Munich Network and Security Ungererstr. 75 80805 Munich - Germany -------------------------- sebastian.schubert at sskm.de Tel.+49 (89) 2167-6399 Fax.+49 (89) 2167-86399 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 248 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: From jbautista at icnet.com.ve Tue Apr 15 20:19:48 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Tue, 15 Apr 2003 14:19:48 -0400 Subject: Ifstatus, Ifoperstatus Message-ID: <5.1.0.14.0.20030415105309.00b8fbe0@pop.icnet.com.ve> Hello, What is the difference between ifstatus and ifoperstatus? Thanks, Jeyri Bautista ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Tue Apr 15 20:21:54 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 15 Apr 2003 14:21:54 -0400 Subject: Compilation errors Message-ID: <1050430914.3126.37.camel@localhost> Hi All, I did download Nagios, installed it a first time. Then I downloaded dg, libjpeg, libjpeg-devel, libpng, libpng-devel, and tryed to recompile nagios, but it would not work anymore.. Any idea why ? Here is the error message I've got : /goinfre/nagios-1.0/cgi/statusmap.c:2222: undefined reference to `gdImageCreateFromJpeg' collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/goinfre/nagios-1.0/cgi' make: *** [all] Error 2 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick at narmida.com Tue Apr 15 20:16:05 2003 From: patrick at narmida.com (Patrick Lambooy) Date: Tue, 15 Apr 2003 20:16:05 +0200 Subject: nrpe and xinetd In-Reply-To: <200304151449.h3FEnBV51723@gc0.generalconcepts.com> References: <200304151449.h3FEnBV51723@gc0.generalconcepts.com> Message-ID: <000001c3037b$174dc7e0$3104a8c0@roestbak> Does anybody know how to start up the deamon I have port 5666 open on de remote and it is in xinted ipchains is open and it still says connection refused Help needed plz Regards, Patrick Lambooy ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at feedroom.com Tue Apr 15 20:27:29 2003 From: David at feedroom.com (David Gitman) Date: Tue, 15 Apr 2003 14:27:29 -0400 Subject: notify-by-email problems (body of message missing) Message-ID: What OS are you running? [-d] -----Original Message----- From: Nicholas D . Buraglio [mailto:buraglio at ncsa.uiuc.edu] Sent: Monday, April 14, 2003 4:26 PM To: nagios-users at lists.sourceforge.net I'm not seeing any body in the messages sent by nagios, I've not had this problem in the past with netsaint, so I'm not really sure where to check. I did not modify misccommands.cfg, so that should be default. Any help or ideas appreciated. Nothing jumps out in nagios.log. nb -- ------------ ------------ - Nick Buraglio Network Engineer - - Phone: 217.244.6428 - - National Center for Supercomputing Applications - - CAB 269, 605 E Springfield, Champaign IL 61820 - - www: http://www.ncsa.uiuc.edu/People/buraglio/ - ------------ ------------ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at woodstream.net Tue Apr 15 20:26:26 2003 From: mark at woodstream.net (mark) Date: Tue, 15 Apr 2003 14:26:26 -0400 (EDT) Subject: nagios && rrd In-Reply-To: References: Message-ID: Sure. I looked at APAN and here is what I didn't like. The main thing was that I had to manually create an rrd store for each thing I wanted to graph. While this is fine for small, static shops, larger places with a somewhat dynamic base will quickly get tired of this. That is why I like Orca. All I have to do is feed it a log file and it creates and manages the rrd for me. Beyond install, I never have to touch rrd. The second, minor, thing is creating a service for each APAN item. Now it's true, I have to create a service for each thing I want to monitor anyway. But if I all ready have say 5k+ services, adding APAN to those could become tedious. Again, I'm thinking I could write some quick logic that feeds the data into Orca / rrd without my intervention. This should be easy as the HOSTNAME, HOSTALIAS, HOSTADDRESS, SERVICE, etc. are available. So, dynamic creation of rrd objects and a more variable based, centralized method for adding the APAN services would be my suggestions. Again, the dynamic rrd creation is the big one. Mark On Tue, 15 Apr 2003, Subhendu Ghosh wrote: > Before you go off and start coding - any comments or suggestion for > improvement with APAN? > > -sg > > On Tue, 15 Apr 2003, mark wrote: > > > I agree. This is a solution that I plan on implementing also. I have > > heard / seen at least one other person mention this also. Sounds like > > it's about time one (or all) of us got on with it and get Orca working > > with Nagios. > > > > > > Jason, did you have any ideas on how you were going to hand the data to > > Orca? I see two options, you could run a process for each piece of data, > > which would be each event(?), and run Orca in the rrd insert only mode. > > Or, you could write to a log file and have Orca batch load the data. The > > second is my choice but I haven't come up with a clear / clean way to > > write the data to logs in a format that Orca likes. I think I would need > > a log for each host and possibly for each service. Anyone else come to a > > similar conclusion? > > > > Mark > > > > > > On Tue, 15 Apr 2003, John Sellens wrote: > > > > > | From: Jason Burnett > > > | Date: Thu, 20 Mar 2003 17:15:55 -0500 > > > | > > > | Is anyone else using RRD to process the service-perf data? If so, what > > > | are you using to parse out the $PERFDATA$ & $OUTPUT$ info? We are > > > | working on perl to parse it out and put it in RRD for us, but if > > > | someone has found an easier way to do this please let me know. > > > > > > My belief, which I haven't implemented yet, is that a good > > > graphing/trending mechanism is to log the host and service perfdata > > > from within Nagios, and then use Orca (http://www.orcaware.com/orca/) > > > to insert the data into RRD files and manage the HTML interface. > > > > > > I'm reasonably optimistic that this is a good idea. > > > > > > John > > > jsellens at generalconcepts.com > > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Tue Apr 15 20:38:13 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Tue, 15 Apr 2003 14:38:13 -0400 Subject: nagios && rrd Message-ID: <2E3E9736615DD311895D00105A9CADED014BCBB8@eentsvr40.ehvert.com> I believe that this is the aim of the apan project. You can find it's project page on the nagios downloads section. I don't know how far along he is now or how he is doing it but it might be worth investigating. dean -----Original Message----- From: John Sellens [mailto:jsellens at generalconcepts.com] Sent: April 15, 2003 10:49 AM To: jason at cannonfodder.org; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios && rrd | From: Jason Burnett | Date: Thu, 20 Mar 2003 17:15:55 -0500 | | Is anyone else using RRD to process the service-perf data? If so, what | are you using to parse out the $PERFDATA$ & $OUTPUT$ info? We are | working on perl to parse it out and put it in RRD for us, but if | someone has found an easier way to do this please let me know. My belief, which I haven't implemented yet, is that a good graphing/trending mechanism is to log the host and service perfdata from within Nagios, and then use Orca (http://www.orcaware.com/orca/) to insert the data into RRD files and manage the HTML interface. I'm reasonably optimistic that this is a good idea. John jsellens at generalconcepts.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsellens at f2.moxad.com Tue Apr 15 20:46:52 2003 From: jsellens at f2.moxad.com (John Sellens) Date: Tue, 15 Apr 2003 14:46:52 -0400 (EDT) Subject: nagios && rrd Message-ID: <200304151846.h3FIkqP59863@gc0.generalconcepts.com> As I understand APAN, the service check and the RRD update happen at the same time. Separating the RRD update from the "real time" service check may smooth system performance somewhat - it would even allow the graphing/history to be on a separate machine. And using the existing perfdata mechanism may provide a more flexible interface - it would decouple the reporting (RRD, whatever) from the service checks. I think both approaches, APAN and perfdata/Orca/whatever, likely have merits and drawbacks, and may (or may not) be appropriate for different circumstances. I'm not sure we (any of us) know what the "best" answer is, so I was kind of looking at this as somewhat of a research project. i.e. It might be a dead end, but I think it would likely give us some useful information that may help provide an even better solution in the end. i.e. I don't think of these as competing approaches, but as complementary approaches. Cheers John jsellens at generalconcepts.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Apr 15 21:08:54 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 15 Apr 2003 15:08:54 -0400 (EDT) Subject: Ifstatus, Ifoperstatus In-Reply-To: <5.1.0.14.0.20030415105309.00b8fbe0@pop.icnet.com.ve> References: <5.1.0.14.0.20030415105309.00b8fbe0@pop.icnet.com.ve> Message-ID: On Tue, 15 Apr 2003, Jeyri Bautista wrote: > Hello, > > What is the difference between ifstatus and ifoperstatus? > > Thanks, > > Jeyri Bautista ifstatus checks all interfaces on the device ifoperstatus checks one interface (specified by -k) -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Apr 15 21:10:57 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 15 Apr 2003 15:10:57 -0400 (EDT) Subject: nagios && rrd In-Reply-To: <200304151846.h3FIkqP59863@gc0.generalconcepts.com> References: <200304151846.h3FIkqP59863@gc0.generalconcepts.com> Message-ID: Mark, John Thanks for the feedback - feedback is always useful. -sg On Tue, 15 Apr 2003, John Sellens wrote: > As I understand APAN, the service check and the RRD update happen > at the same time. Separating the RRD update from the "real time" > service check may smooth system performance somewhat - it would > even allow the graphing/history to be on a separate machine. And > using the existing perfdata mechanism may provide a more flexible > interface - it would decouple the reporting (RRD, whatever) from > the service checks. > > I think both approaches, APAN and perfdata/Orca/whatever, likely > have merits and drawbacks, and may (or may not) be appropriate > for different circumstances. I'm not sure we (any of us) know > what the "best" answer is, so I was kind of looking at this as > somewhat of a research project. i.e. It might be a dead end, but > I think it would likely give us some useful information that > may help provide an even better solution in the end. > > i.e. I don't think of these as competing approaches, but as > complementary approaches. > > Cheers > > John > jsellens at generalconcepts.com > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swares at qwest.com Tue Apr 15 21:52:07 2003 From: swares at qwest.com (Scott Wares) Date: Tue, 15 Apr 2003 13:52:07 -0600 (MDT) Subject: nagios: Cannot find ELF Message-ID: OS:Solaris 8 HW:Ultra 5 gcc (GCC) 3.2.2 Nagios seemed to compile just fine but when you try to execute it it dies with the message - nagios: Cannot find ELF Killed Other ELF binaries on the system work fine. Help. Scott Wares, Unix SysAdmin Tier II, Desktop Support 303-707-5479, swares at qwest.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Tue Apr 15 22:14:53 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Tue, 15 Apr 2003 15:14:53 -0500 Subject: Mutiple IP addresses Message-ID: <352B04312822444A962714393AED8A4D113899@ADAEVS01.int.chickasaw.net> Hello list, Does anyone have any advice on monitoring a Host with two IP address on two separate interfaces? Routers with IP Numbered Serial Interfaces on WAN Links. Thanks Jeremy Russell Network Administrator, CNI 580-272-2707 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jeremy.Russell at chickasaw.net Tue Apr 15 22:05:36 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Tue, 15 Apr 2003 15:05:36 -0500 Subject: nagios: Cannot find ELF Message-ID: <352B04312822444A962714393AED8A4D113898@ADAEVS01.int.chickasaw.net> It may be your gcc version. You might want to come back down to 2.95.3, anything above this has trouble on Solaris 8 with its shared libraries. Jeremy Russell Network Administrator, CNI 580-272-2707 -----Original Message----- From: Scott Wares [mailto:swares at qwest.com] Sent: Tuesday, April 15, 2003 2:52 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios: Cannot find ELF OS:Solaris 8 HW:Ultra 5 gcc (GCC) 3.2.2 Nagios seemed to compile just fine but when you try to execute it it dies with the message - nagios: Cannot find ELF Killed Other ELF binaries on the system work fine. Help. Scott Wares, Unix SysAdmin Tier II, Desktop Support 303-707-5479, swares at qwest.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue Apr 15 22:32:24 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 15 Apr 2003 15:32:24 -0500 Subject: nagios && rrd Message-ID: If I could make a suggestion for 'thinking outside the box', why use RRDtool at all? Consider the following components: - PHP - JpGraph http://www.aditus.nu/jpgraph/ - MySQL (or PostgreSQL) Periodically slurp serviceperf.log and dump into MySQL. Hit PHP to query the database and drive the JpGraph-based output on demand. Thoughts? jc > -----Original Message----- > From: mark [mailto:mark at woodstream.net] > Sent: Tuesday, April 15, 2003 1:26 PM > To: Subhendu Ghosh > Cc: John Sellens; jason at cannonfodder.org; > nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios && rrd > > > Sure. I looked at APAN and here is what I didn't like. The main thing > was that I had to manually create an rrd store for each thing > I wanted > to graph. While this is fine for small, static shops, larger > places with > a somewhat dynamic base will quickly get tired of this. That is why I > like Orca. All I have to do is feed it a log file and it creates and > manages the rrd for me. Beyond install, I never have to touch > rrd. The > second, minor, thing is creating a service for each APAN > item. Now it's > true, I have to create a service for each thing I want to monitor > anyway. But if I all ready have say 5k+ services, adding APAN > to those > could become tedious. Again, I'm thinking I could write some > quick logic > that feeds the data into Orca / rrd without my intervention. > This should > be easy as the HOSTNAME, HOSTALIAS, HOSTADDRESS, SERVICE, etc. are > available. > > So, dynamic creation of rrd objects and a more variable > based, centralized > method for adding the APAN services would be my suggestions. > Again, the > dynamic rrd creation is the big one. > > Mark > > On Tue, 15 Apr 2003, Subhendu Ghosh wrote: > > > Before you go off and start coding - any comments or suggestion for > > improvement with APAN? > > > > -sg > > > > On Tue, 15 Apr 2003, mark wrote: > > > > > I agree. This is a solution that I plan on implementing > also. I have > > > heard / seen at least one other person mention this also. > Sounds like > > > it's about time one (or all) of us got on with it and get > Orca working > > > with Nagios. > > > > > > > > > Jason, did you have any ideas on how you were going to > hand the data to > > > Orca? I see two options, you could run a process for each > piece of data, > > > which would be each event(?), and run Orca in the rrd > insert only mode. > > > Or, you could write to a log file and have Orca batch > load the data. The > > > second is my choice but I haven't come up with a clear / > clean way to > > > write the data to logs in a format that Orca likes. I > think I would need > > > a log for each host and possibly for each service. Anyone > else come to a > > > similar conclusion? > > > > > > Mark > > > > > > > > > On Tue, 15 Apr 2003, John Sellens wrote: > > > > > > > | From: Jason Burnett > > > > | Date: Thu, 20 Mar 2003 17:15:55 -0500 > > > > | > > > > | Is anyone else using RRD to process the service-perf > data? If so, what > > > > | are you using to parse out the $PERFDATA$ & $OUTPUT$ > info? We are > > > > | working on perl to parse it out and put it in RRD for > us, but if > > > > | someone has found an easier way to do this please let me know. > > > > > > > > My belief, which I haven't implemented yet, is that a good > > > > graphing/trending mechanism is to log the host and > service perfdata > > > > from within Nagios, and then use Orca (http://www.orcaware.com/orca/) > > > to insert the data into RRD files and manage the HTML interface. > > > > > > I'm reasonably optimistic that this is a good idea. > > > > > > John > > > jsellens at generalconcepts.com > > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JTorres at abnamroprime.com Tue Apr 15 22:37:21 2003 From: JTorres at abnamroprime.com (Torres, Joe) Date: Tue, 15 Apr 2003 16:37:21 -0400 Subject: Refresh Status Information Message-ID: <9F6689758D87D51191180002A55CB988067FF611@pb350exc.ingprime.com> Does anyone know how do I refresh the status information column Once I see the error on the Status Info Column how do I get it to refresh? Joe Torres Prime Brokerage I.T. ABN AMRO Incorporated 350 Park Ave. New York,N.Y.10022 Phone-212 251-3924 Fax-212 251-3950 Email-jtorres at abnamroprime.com This message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. ABN AMRO Bank N.V. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. ABN AMRO Bank N.V. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_steeves at vrtx.com Tue Apr 15 22:29:05 2003 From: michael_steeves at vrtx.com (Michael Steeves) Date: Tue, 15 Apr 2003 16:29:05 -0400 Subject: nagios: Cannot find ELF References: Message-ID: <3E9C6B91.9@vrtx.com> Scott Wares wrote: > OS:Solaris 8 > HW:Ultra 5 > gcc (GCC) 3.2.2 > > Nagios seemed to compile just fine but when you try to execute it it dies > with the message - > > nagios: Cannot find ELF > Killed > > Other ELF binaries on the system work fine. Doing a quick check on google, I noticed that there are a few things that come up where it looks like using strip(1) on binaries causes this problem. I'm just finishing up building apache and mod_perl on the following environment: steeves::frigidaire [20:28] > gcc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls Thread model: posix gcc version 3.2 steeves::frigidaire [20:28] > uname -a SunOS frigidaire 5.8 Generic_108528-16 sun4u sparc SUNW,Sun-Fire-480R -- Michael Steeves | Phone: 617-444-6100 michael_steeves at vrtx.com | Fax: 617-444-6680 Senior Network Systems Engineer | Vertex Pharmaceuticals, Inc. | ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Apr 15 22:35:20 2003 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 15 Apr 2003 16:35:20 -0400 Subject: NRPE Client Functionality Message-ID: <5593DA408212D511B0910002A513501F06558DBE@phsexch20.mgh.harvard.edu> One question about the NRPE client...In terms of its functionality, does the client request specific device files or swap space in order for it to successfully operate? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue Apr 15 22:44:37 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 15 Apr 2003 15:44:37 -0500 Subject: nagios: Cannot find ELF Message-ID: Not sure if this helps you, but: http://www.der-keiler.de/Newsgroups/comp.security.ssh/2002-01/0098.html jc > -----Original Message----- > From: Scott Wares [mailto:swares at qwest.com] > Sent: Tuesday, April 15, 2003 2:52 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios: Cannot find ELF > > > OS:Solaris 8 > HW:Ultra 5 > gcc (GCC) 3.2.2 > > Nagios seemed to compile just fine but when you try to > execute it it dies > with the message - > > nagios: Cannot find ELF > Killed > > Other ELF binaries on the system work fine. > > Help. > > Scott Wares, Unix SysAdmin > Tier II, Desktop Support > 303-707-5479, swares at qwest.com > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Apr 15 22:46:03 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 15 Apr 2003 16:46:03 -0400 (EDT) Subject: Mutiple IP addresses In-Reply-To: <352B04312822444A962714393AED8A4D113899@ADAEVS01.int.chickasaw.net> References: <352B04312822444A962714393AED8A4D113899@ADAEVS01.int.chickasaw.net> Message-ID: On Tue, 15 Apr 2003, Jeremy Russell wrote: > Hello list, > Does anyone have any advice on monitoring a Host with two IP > address on two separate interfaces? Routers with IP Numbered Serial > Interfaces on WAN Links. > host address should be the one closer to nagios (ramdom selection if "closer" is not defined) use check_ifstatus/check_ifoperstatus to monitor the interfaces... -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.clayton at intec.co.za Tue Apr 15 23:07:26 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Tue, 15 Apr 2003 23:07:26 +0200 Subject: nagios: Cannot find ELF Message-ID: <9290BC9741D67F43BDAAC84144FF870DB69356@intecserver007.intec.co.za> Try this web site http://www.geocities.com/sandbay2003/nagios I have some compiled binaries there -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: 15 April 2003 21:45 To: 'swares at qwest.com'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios: Cannot find ELF Not sure if this helps you, but: http://www.der-keiler.de/Newsgroups/comp.security.ssh/2002-01/0098.html jc > -----Original Message----- > From: Scott Wares [mailto:swares at qwest.com] > Sent: Tuesday, April 15, 2003 2:52 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios: Cannot find ELF > > > OS:Solaris 8 > HW:Ultra 5 > gcc (GCC) 3.2.2 > > Nagios seemed to compile just fine but when you try to > execute it it dies > with the message - > > nagios: Cannot find ELF > Killed > > Other ELF binaries on the system work fine. > > Help. > > Scott Wares, Unix SysAdmin > Tier II, Desktop Support > 303-707-5479, swares at qwest.com > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Apr 15 23:27:51 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 15 Apr 2003 17:27:51 -0400 (EDT) Subject: Refresh Status Information In-Reply-To: <9F6689758D87D51191180002A55CB988067FF611@pb350exc.ingprime.com> References: <9F6689758D87D51191180002A55CB988067FF611@pb350exc.ingprime.com> Message-ID: On Tue, 15 Apr 2003, Torres, Joe wrote: > Does anyone know how do I refresh the status information column > > Once I see the error on the Status Info Column how do I > get it to refresh? The CGIs are usually set to auto expire after 30 seconds causing a browser reload with new data... -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.hertrick at neovera.com Wed Apr 16 00:35:56 2003 From: m.hertrick at neovera.com (Michael Hertrick) Date: Wed, 16 Apr 2003 08:35:56 +1000 Subject: Mutiple IP addresses References: <352B04312822444A962714393AED8A4D113899@ADAEVS01.int.chickasaw.net> Message-ID: <005501c3039f$628a2590$8e0ca8c0@monster> > Does anyone have any advice on monitoring a Host with two IP address on two separate interfaces? Routers with IP Numbered Serial Interfaces on WAN Links. You may want to use snmp to check the status of each interface. Either snmpget in a script or the check_snmp plugin. This is a paste from Cisco's MIB browser... even if your hosts aren't Cisco, this OID should still work. You may find some others of interest in there, too. http://www.cisco.com/pcgi-bin/Support/Mibbrowser/unity.pl?o=&t=yes Object ifOperStatus OID 1.3.6.1.2.1.2.2.1.8 Type INTEGER Permission read-only Status current Values 1 : up 2 : down 3 : testing 4 : unknown 5 : dormant 6 : notPresent 7 : lowerLayerDown MIB IF-MIB; - View supporting images Description The current operational state of the interface. The testing(3) state indicates that no operational packets can be passed. If ifAdminStatus is down(2) then ifOperStatus should be down(2). If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic; it should change to dormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection); it should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state; it should remain in the notPresent(6) state if the interface has missing (typically, hardware) components. ----- Original Message ----- From: Jeremy Russell To: nagios-users at lists.sourceforge.net Sent: Wednesday, April 16, 2003 6:14 AM Subject: [Nagios-users] Mutiple IP addresses Hello list, Does anyone have any advice on monitoring a Host with two IP address on two separate interfaces? Routers with IP Numbered Serial Interfaces on WAN Links. Thanks Jeremy Russell Network Administrator, CNI 580-272-2707 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmunoz at comcel.com.co Wed Apr 16 00:09:08 2003 From: jmunoz at comcel.com.co (=?iso-8859-1?Q?Jose_Orlando_Mu=F1oz_Bravo_=28HP=29?=) Date: Tue, 15 Apr 2003 17:09:08 -0500 Subject: NSClient on Compressed disk - Windows2k. Message-ID: <8F3E96AF7095024E922116DCA0587C9DF7244C@ESPERANTO.comcel.com.co> Hi all, I'm using the NSclient v 1.0.7.1, and I have W2k server with a NTFS drive D: using compress, when I tray to use the check_nt over this disk the plugging return "Invalid drive" and the service state "UNKNOWN" # ./check_nt -H w2kmailserver -v USEDDISKSPACE -l D Free disk space : Invalid drive I try to implement it using SNMP but the values obtained are alwaiys 0. # snmpwalk -O n -c public w2kmdeccdco03 .1.3.6.1.2.1.25.2.3.1.3 .1.3.6.1.2.1.25.2.3.1.3.2 = C:\ Label:Local Disk Serial Number 44628232 .1.3.6.1.2.1.25.2.3.1.3.3 = D:\ OK. # snmpwalk -O n -c public w2kmdeccdco03 .1.3.6.1.2.1.25.2.3.1.4.3 .1.3.6.1.2.1.25.2.3.1.4.3 = 0 Bytes # snmpwalk -O n -c public w2kmdeccdco03 .1.3.6.1.2.1.25.2.3.1.5.3 .1.3.6.1.2.1.25.2.3.1.5.3 = 0 # snmpwalk -O n -c public w2kmdeccdco03 .1.3.6.1.2.1.25.2.3.1.6.3 .1.3.6.1.2.1.25.2.3.1.6.3 = 0 Thanks in advance for any idea. Jomb. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandromergvaz at uol.com.br Wed Apr 16 00:38:22 2003 From: sandromergvaz at uol.com.br (Sandro Vaz (UOL)) Date: Tue, 15 Apr 2003 19:38:22 -0300 Subject: Hostgroup membership allows to see all services? Message-ID: Hi List, we have a problem os misunderstanding (as usual)... I have defined more than 330 services for one client, some of them pointing to database contactgroup, other so operatingsystem contactgroup, and so on. If you logon as a DBA and go to the "Service definitions", everything is OK (see just the services related to DB stuff). But some DBA?s want to use some other visions, as "Status Summary" or "Status Grid", and had no authorization to see it. Then I created a database hostgroup, and put all db servers there. But the drawback is that now the DBA?s see all services in that hosts, not only which they are authorized for in services.cfg. Is that behaviour correct? I?d like that they see only the services they are defined in services.cfg I?m using Nagios 1.0b6. TIA very much, Sandro Vaz --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.471 / Virus Database: 269 - Release Date: 10/4/2003 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Wed Apr 16 00:52:02 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 15 Apr 2003 18:52:02 -0400 Subject: command.cmd / cgis Message-ID: <1050447122.3126.197.camel@localhost> Hi all, I did recompile the gd library, libjpeg and libpng (both with devel package), and then recompiled nagios. I still cannot run any "shutdown" script because of this : Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! + my CGI problems now (for status map for example): root at nagios:/usr/local/nagios/sbin> ./statusmap.cgi host=all ./statusmap.cgi: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory anyone has an idea ? thank you ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Magnus.M.Glantz at telia.se Wed Apr 16 01:00:31 2003 From: Magnus.M.Glantz at telia.se (Magnus.M.Glantz at telia.se) Date: Wed, 16 Apr 2003 01:00:31 +0200 Subject: SV: check_real: what does it really do? and is it enough? Message-ID: <6A72D51571C7C348906310222963B23D01376E1D@TMS031MB.tcad.telia.se> Well, I'm drawing the conclusion after talking with some streaming specialists that sending a DESCRIBE method to the streaming server should do the trick. A successful try indicates that you got a two-way connection to/from the server, the file you're searching for (on, for example an ondemand server) exists, and the server can send you a description of the file. The people I've talked to cannot see any problems that should hinder an actual stream from taking place after the server successfully answered to the DESCRIBE method. Though, I'm still doing some research on this. I'll prolly know in acouple of days, should this not be the case. I'll send a mail to the list, when I know more. :-) Cheers, //Magnus Glantz -----Ursprungligt meddelande----- Fr?n: David Gitman [mailto:David at feedroom.com] Skickat: ti 2003-04-15 19:45 Till: Magnus Glantz Kopia: ?mne: RE: [Nagios-users] check_real: what does it really do? and is it enough? Have you found out anything? [-d] _____ From: Magnus Glantz [mailto:magnus at hacka.net] Sent: Friday, April 11, 2003 2:33 PM To: nagios-users at lists.sourceforge.net I'm trying to figure out what exactly the check_real plugin checks.. using the -url option, does it actually start a stream with the server? Or does it only check if the .rm file is there and reachable? If check_real only checks for a description of the file, is it enough to say that the service is OK? I dumped the conversation (tcpdump -X) while doing: ./check_real -H host -u /url/file.rm I'm not 100% sure what happens.. Though.. I've been able to understand some stuff.. ( I've had some help interpeting the packets from the RTSP RFC. http://www.freesoft.org/CIE/RFC/bynum.cgi?2326 ) 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: P 1:36(35) ack 1 win 5840 (DF) 0x0000 4500 0057 a274 4000 4006 4bd5 c2ec e2e9 E..W.t at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 .C.=...*P...s... 0x0020 8018 16d0 04f6 0000 0101 080a 1185 1070 ...............p 0x0030 a54c 4fd3 4f50 5449 4f4e 5320 7274 7370 .LO.OPTIONS.rtsp 0x0040 3a2f 2f28 6e75 6c6c 293a 3535 3420 5254 ://(null):554.RT 0x0050 5350 SP Above.. the Nagios server asks the real server for the available methods. (PLAY PAUSE etc..) 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: P 45:102(57) ack 270 win 6432 (DF) 0x0000 4500 006d a277 4000 4006 4bbc c2ec e2e9 E..m.w at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 .C.=...*P..Is..! 0x0020 8018 1920 0dac 0000 0101 080a 1185 1077 ...............w 0x0030 a54c 4fd9 4445 5343 5249 4245 2072 7473 .LO.DESCRIBE.rts 0x0040 703a 2f2f 286e 756c 6c29 3a35 3534 2f74 p://(null):554/t 0x0050 692f i/ Above.. check_real asks the real-server of a description of the file. 16:59:51.276763 streaming-server.rtsp > netsaint.37062: P 4614:5232(618) ack 111 win 33304 (DF) 0x0000 4500 029e 1e46 4000 3906 d4bc c343 e33d E....F at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 f019 50ff b28b .....*..s...P... 0x0020 8018 8218 a8af 0000 0101 080a a54c 4fed .............LO. 0x0030 1185 1083 7468 203c 2032 3630 3030 292c ....th.<.26000), 0x0040 4176 6572 6167 6542 616e 6477 6964 7468 AverageBandwidth 0x0050 3d31 =1 After this Nagios (the Netsaint host) sends win 0, and finilizes the connection. Now, the question is.. what did the check_real plugin test? That you can get an description of a file on the server? The author of the plug-in writes in his source code (check_real.c). ----------------snip------------- /* Part II - Check stream exists and is ok */ if ((result == STATE_OK) && (server_url != NULL)) { /* Part I - Server Check */ /* send the OPTIONS request */ sprintf (buffer, "DESCRIBE rtsp://%s:%d%s RTSP/1.0\n", host_name, server_port, server_url); result = send (sd, buffer, strlen (buffer), 0); /* send the header sync */ sprintf (buffer, "CSeq: 2\n"); result = send (sd, buffer, strlen (buffer), 0); /* send a newline so the server knows we're done with the request */ sprintf (buffer, "\n"); result = send (sd, buffer, strlen (buffer), 0); ----------------snip------------- DESCRIBE seems to be the last actuall command that the check_real plugin send to the server. But I could be wrong.. please check for yourselfs. An actual stream is from what I can tell, not initialized.. Though, if the server give an description of the file (the description comes from the file itself) I guess a stream should be able to be initialized.. but.. then again, I'm no TCP/IP or RTSP expert. Full dump of "check_real -H hostname -u /url/file.rm" below.. Hope you can shed some light upon this.. Cheers, //Magnus Glantz 16:59:50.676763 netsaint.37062 > streaming-server.rtsp.rtsp: S 1358934556:1358934556(0) win 5840 (DF) 0x0000 4500 003c a272 4000 4006 4bf2 c2ec e2e9 E..<.r at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21c 0000 0000 .C.=...*P....... 0x0020 a002 16d0 2ce0 0000 0204 05b4 0402 080a ....,........... 0x0030 1185 106e 0000 0000 0103 0300 ...n........ 16:59:50.696763 streaming-server.rtsp > netsaint.37062: S 1937890835:1937890835(0) ack 1358934557 win 33304 (DF) 0x0000 4500 0040 1e3f 4000 3906 d721 c343 e33d E.. at .?@.9..!.C.= 0x0010 c2ec e2e9 022a 90c6 7381 de13 50ff b21d .....*..s...P... 0x0020 b012 8218 68cb 0000 0101 080a a54c 4fd3 ....h........LO. 0x0030 1185 106e 0103 0300 0101 0402 0204 05b4 ...n............ 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: . ack 1 win 5840 (DF) 0x0000 4500 0034 a273 4000 4006 4bf9 c2ec e2e9 E..4.s at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 .C.=...*P...s... 0x0020 8010 16d0 14dd 0000 0101 080a 1185 1070 ...............p 0x0030 a54c 4fd3 .LO. 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: P 1:36(35) ack 1 win 5840 (DF) 0x0000 4500 0057 a274 4000 4006 4bd5 c2ec e2e9 E..W.t at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 .C.=...*P...s... 0x0020 8018 16d0 04f6 0000 0101 080a 1185 1070 ...............p 0x0030 a54c 4fd3 4f50 5449 4f4e 5320 7274 7370 .LO.OPTIONS.rtsp 0x0040 3a2f 2f28 6e75 6c6c 293a 3535 3420 5254 ://(null):554.RT 0x0050 5350 SP 16:59:50.726763 streaming-server.rtsp > netsaint.37062: . ack 36 win 33304 (DF) 0x0000 4500 0034 1e40 4000 3906 d72c c343 e33d E..4.@@.9..,.C.= 0x0010 c2ec e2e9 022a 90c6 7381 de14 50ff b240 .....*..s...P..@ 0x0020 8010 8218 a96e 0000 0101 080a a54c 4fd6 .....n.......LO. 0x0030 1185 1070 ...p 16:59:50.726763 netsaint.37062 > streaming-server.rtsp: P 36:45(9) ack 1 win 5840 (DF) 0x0000 4500 003d a275 4000 4006 4bee c2ec e2e9 E..=.u at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b240 7381 de14 .C.=...*P.. at s... 0x0020 8018 16d0 f6b3 0000 0101 080a 1185 1073 ...............s 0x0030 a54c 4fd6 4353 6571 3a20 310a 0a .LO.CSeq:.1.. 16:59:50.766763 streaming-server.rtsp > netsaint.37062: P 1:270(269) ack 45 win 33304 (DF) 0x0000 4500 0141 1e41 4000 3906 d61e c343 e33d E..A.A at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 de14 50ff b249 .....*..s...P..I 0x0020 8018 8218 1a2f 0000 0101 080a a54c 4fd9 ...../.......LO. 0x0030 1185 1073 5254 5350 2f31 2e30 2032 3030 ...sRTSP/1.0.200 0x0040 204f 4b0d 0a43 5365 713a 2031 0d0a 4461 .OK..CSeq:.1..Da 0x0050 7465 te 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: . ack 270 win 6432 (DF) 0x0000 4500 0034 a276 4000 4006 4bf6 c2ec e2e9 E..4.v at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 .C.=...*P..Is..! 0x0020 8010 1920 1147 0000 0101 080a 1185 1077 .....G.........w 0x0030 a54c 4fd9 .LO. 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: P 45:102(57) ack 270 win 6432 (DF) 0x0000 4500 006d a277 4000 4006 4bbc c2ec e2e9 E..m.w at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 .C.=...*P..Is..! 0x0020 8018 1920 0dac 0000 0101 080a 1185 1077 ...............w 0x0030 a54c 4fd9 4445 5343 5249 4245 2072 7473 .LO.DESCRIBE.rts 0x0040 703a 2f2f 286e 756c 6c29 3a35 3534 2f74 p://(null):554/t 0x0050 692f i/ 16:59:50.886763 streaming-server.rtsp > netsaint.37062: . ack 102 win 33304 (DF) 0x0000 4500 0034 1e42 4000 3906 d72a c343 e33d E..4.B at .9..*.C.= 0x0010 c2ec e2e9 022a 90c6 7381 df21 50ff b282 .....*..s..!P... 0x0020 8010 8218 a807 0000 0101 080a a54c 4fe7 .............LO. 0x0030 1185 1077 ...w 16:59:50.886763 netsaint.37062 > streaming-server.rtsp: P 102:111(9) ack 270 win 6432 (DF) 0x0000 4500 003d a278 4000 4006 4beb c2ec e2e9 E..=.x at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b282 7381 df21 .C.=...*P...s..! 0x0020 8018 1920 f1f3 0000 0101 080a 1185 1083 ................ 0x0030 a54c 4fe7 4353 6571 3a20 320a 0a .LO.CSeq:.2.. 16:59:51.046763 streaming-server.rtsp > netsaint.37062: . 270:1718(1448) ack 111 win 33304 (DF) 0x0000 4500 05dc 1e43 4000 3906 d181 c343 e33d E....C at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 df21 50ff b28b .....*..s..!P... 0x0020 8010 8218 3fd8 0000 0101 080a a54c 4fed ....?........LO. 0x0030 1185 1083 5254 5350 2f31 2e30 2032 3030 ....RTSP/1.0.200 0x0040 204f 4b0d 0a43 5365 713a 2032 0d0a 4461 .OK..CSeq:.2..Da 0x0050 7465 te 16:59:51.046763 netsaint.37062 > streaming-server.rtsp: R 111:111(0) ack 1718 win 8688 (DF) 0x0000 4500 0034 a279 4000 4006 4bf3 c2ec e2e9 E..4.y at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b28b 7381 e4c9 .C.=...*P...s... 0x0020 8014 21f0 0259 0000 0101 080a 1185 1093 ..!..Y.......... 0x0030 a54c 4fed .LO. 16:59:51.136763 streaming-server.rtsp > netsaint.37062: P 1718:3166(1448) ack 111 win 33304 (DF) 0x0000 4500 05dc 1e44 4000 3906 d180 c343 e33d E....D at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 e4c9 50ff b28b .....*..s...P... 0x0020 8018 8218 6d86 0000 0101 080a a54c 4fed ....m........LO. 0x0030 1185 1083 300a 613d 5374 6172 7454 696d ....0.a=StartTim 0x0040 653a 696e 7465 6765 723b 300a 613d 4176 e:integer;0.a=Av 0x0050 6742 gB 16:59:51.136763 netsaint.37062 > streaming-server.rtsp: R 1358934667:1358934667(0) win 0 (DF) 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 E..(.. at .../x.... 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 .C.=...*P....... 0x0020 5004 0000 cd0d 0000 P....... 16:59:51.236763 streaming-server.rtsp > netsaint.37062: . 3166:4614(1448) ack 111 win 33304 (DF) 0x0000 4500 05dc 1e45 4000 3906 d17f c343 e33d E....E at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 ea71 50ff b28b .....*..s..qP... 0x0020 8010 8218 97b0 0000 0101 080a a54c 4fed .............LO. 0x0030 1185 1083 696e 7465 6765 723b 3131 3739 ....integer;1179 0x0040 3538 0a61 3d45 6e64 4f6e 6552 756c 6545 58.a=EndOneRuleE 0x0050 6e64 nd 16:59:51.236763 netsaint.37062 > streaming-server.rtsp: R 1358934667:1358934667(0) win 0 (DF) 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 E..(.. at .../x.... 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 .C.=...*P....... 0x0020 5004 0000 cd0d 0000 P....... 16:59:51.276763 streaming-server.rtsp > netsaint.37062: P 4614:5232(618) ack 111 win 33304 (DF) 0x0000 4500 029e 1e46 4000 3906 d4bc c343 e33d E....F at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 f019 50ff b28b .....*..s...P... 0x0020 8018 8218 a8af 0000 0101 080a a54c 4fed .............LO. 0x0030 1185 1083 7468 203c 2032 3630 3030 292c ....th.<.26000), 0x0040 4176 6572 6167 6542 616e 6477 6964 7468 AverageBandwidth 0x0050 3d31 =1 16:59:51.276763 netsaint.37062 > streaming-server.rtsp: R 1358934667:1358934667(0) win 0 (DF) 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 E..(.. at .../x.... 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 .C.=...*P....... 0x0020 5004 0000 cd0d 0000 P....... ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 16 01:23:53 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 16 Apr 2003 09:23:53 +1000 Subject: nagios && rrd In-Reply-To: ; from jcarro10@sprintspectrum.com on Tue, Apr 15, 2003 at 03:32:24PM -0500 References: Message-ID: <20030416092349.A79170@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, This little black ducks 0.02 worth (that's cents there folks) is that RRDs are superior to databases for __time series__ data because . leading software such as MRTG, Orca, Ntop and so on have made that conclusion, in some cases switching from other means of data persistence (mySQL for Ntop) . RRDs have a fixed size . RRDs automatically deal with exceptions (data that is too large or small) and missing data (by interpolation). The update application would have to deal with these cases otherwise . have built in anomaly detection (Holt-Winters forecasting in RRD dev releases) that aids the identification of problems or faults for time series that exhibit periodicity (eg a router interface that shows a greater range of values and more variation during the business hours than otherwise exhibits diurnal periodicity) . are popular with those developing network management applications (Cacti, Cricket, RRDFrameWork) 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Wed Apr 16 01:32:36 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Wed, 16 Apr 2003 11:32:36 +1200 Subject: nagios && rrd References: Message-ID: <00b501c303a7$4d45d5f0$b58031ca@bcl977307> good god Jim - are you crazy? Do you mean write code rather than hack it? what are they feeding you there? :-) jamie ----- Original Message ----- From: "Carroll, Jim P [Contractor]" To: Sent: Wednesday, April 16, 2003 8:32 AM Subject: RE: [Nagios-users] nagios && rrd > If I could make a suggestion for 'thinking outside the box', why use RRDtool > at all? Consider the following components: > > - PHP > - JpGraph http://www.aditus.nu/jpgraph/ > - MySQL (or PostgreSQL) > > Periodically slurp serviceperf.log and dump into MySQL. Hit PHP to query > the database and drive the JpGraph-based output on demand. > > Thoughts? > > jc > > > > -----Original Message----- > > From: mark [mailto:mark at woodstream.net] > > Sent: Tuesday, April 15, 2003 1:26 PM > > To: Subhendu Ghosh > > Cc: John Sellens; jason at cannonfodder.org; > > nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] nagios && rrd > > > > > > Sure. I looked at APAN and here is what I didn't like. The main thing > > was that I had to manually create an rrd store for each thing > > I wanted > > to graph. While this is fine for small, static shops, larger > > places with > > a somewhat dynamic base will quickly get tired of this. That is why I > > like Orca. All I have to do is feed it a log file and it creates and > > manages the rrd for me. Beyond install, I never have to touch > > rrd. The > > second, minor, thing is creating a service for each APAN > > item. Now it's > > true, I have to create a service for each thing I want to monitor > > anyway. But if I all ready have say 5k+ services, adding APAN > > to those > > could become tedious. Again, I'm thinking I could write some > > quick logic > > that feeds the data into Orca / rrd without my intervention. > > This should > > be easy as the HOSTNAME, HOSTALIAS, HOSTADDRESS, SERVICE, etc. are > > available. > > > > So, dynamic creation of rrd objects and a more variable > > based, centralized > > method for adding the APAN services would be my suggestions. > > Again, the > > dynamic rrd creation is the big one. > > > > Mark > > > > On Tue, 15 Apr 2003, Subhendu Ghosh wrote: > > > > > Before you go off and start coding - any comments or suggestion for > > > improvement with APAN? > > > > > > -sg > > > > > > On Tue, 15 Apr 2003, mark wrote: > > > > > > > I agree. This is a solution that I plan on implementing > > also. I have > > > > heard / seen at least one other person mention this also. > > Sounds like > > > > it's about time one (or all) of us got on with it and get > > Orca working > > > > with Nagios. > > > > > > > > > > > > Jason, did you have any ideas on how you were going to > > hand the data to > > > > Orca? I see two options, you could run a process for each > > piece of data, > > > > which would be each event(?), and run Orca in the rrd > > insert only mode. > > > > Or, you could write to a log file and have Orca batch > > load the data. The > > > > second is my choice but I haven't come up with a clear / > > clean way to > > > > write the data to logs in a format that Orca likes. I > > think I would need > > > > a log for each host and possibly for each service. Anyone > > else come to a > > > > similar conclusion? > > > > > > > > Mark > > > > > > > > > > > > On Tue, 15 Apr 2003, John Sellens wrote: > > > > > > > > > | From: Jason Burnett > > > > > | Date: Thu, 20 Mar 2003 17:15:55 -0500 > > > > > | > > > > > | Is anyone else using RRD to process the service-perf > > data? If so, what > > > > > | are you using to parse out the $PERFDATA$ & $OUTPUT$ > > info? We are > > > > > | working on perl to parse it out and put it in RRD for > > us, but if > > > > > | someone has found an easier way to do this please let me know. > > > > > > > > > > My belief, which I haven't implemented yet, is that a good > > > > > graphing/trending mechanism is to log the host and > > service perfdata > > > > > from within Nagios, and then use Orca > (http://www.orcaware.com/orca/) > > > > to insert the data into RRD files and manage the HTML interface. > > > > > > > > I'm reasonably optimistic that this is a good idea. > > > > > > > > John > > > > jsellens at generalconcepts.com > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgotner at fhcrc.org Wed Apr 16 01:46:00 2003 From: jgotner at fhcrc.org (Gotner, James) Date: Tue, 15 Apr 2003 16:46:00 -0700 Subject: Timeperiod already been defined Message-ID: <9667A0D2033CD51195F90002B330A3BF04CBA280@moe.fhcrc.org> List members, I am having no luck getting this going. I have tried removing the second entry, only to have nagios -v complain about the first entry already being defined. I did a grep on all of my config files and the timeperiods only show up in timeperiods.cfg once each. I have tried changing the timeperiod names and I have tried retyping the config file from scratch and still get the same problem... Could someone look at my config file and tell me if there is anything wrong? I built my config file according to the documentation, so I wouldnt think that there is a problem. Is there a problem compiling nagios with gcc that comes with redhat 7.3? I know there have been intermittent problems with gcc 2.96, since it is actually redhat's version and not supported by the gcc community, and also has caused problems with compiling other programs... Has anyone gotten nagios to work on RH 7.3 at all? Has anyone had a problem compiling nagios with gcc v3.2.x, as that will probably be my next step? Can nagios work under cygwin, so I can test my config files at least? Thanks for any help... James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate -----Original Message----- From: Gotner, James Sent: Thursday, April 10, 2003 2:16 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Timeperiod already been defined OK, solve one problem, get into another... While running nagios -v, I now receive an error stating that timeperiod 'worktime' has already been defined. And - Error: Could not register timeperiod 'worktime'. Well, I have all timeperiods defined in one file, timeperiods.cfg, and worktime and one other, 24x7, are the only ones defined. Apparently, nagios accepts the 24x7 definition, as I get an error on the second one. I searched through the archives, and noticed someone with a similar problem. They recompiled the program and their problem was solved... Well, that didnt work for me... Any suggestions on what else to check? Thanks. Nagios v1.0 RedHat Linux 7.3 timeperiods.cfg ----------------- # Time Period Definition # Description: A time period is a list of times during various days that are # considered to be "valid" times for notificatins and service checks. It # consists of one or more time periods for each day of the week that "rotate" # once the week has come to an end. Exceptions to the weekly time range are # not supported. #define timeperiod{ # timeperiod_name timeperiod_name ; Short name used to ID the timeperiod # alias alias ; Description for timeperiod # sunday 00:00-24:00 ; Time periods to be used, seperate with commas for multiple timeperiods # monday 00:00-24:00 ; If you do not want any notification on a certian day, then do not # tuesday 00:00-24:00 ; include the day in the definition or comment out. # wednesday 00:00-24:00 # thursday 00:00-24:00 # friday 00:00-24:00 # saturday 00:00-24:00 #} define timeperiod{ timeperiod_name 24x7 alias All the time sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } define timeperiod{ timeperiod_name worktime alias The Nine to Fiver # sunday ; Not used monday 09:00-17:00 tuesday 09:00-17:00 wednesday 09:00-17:00 thursday 09:00-17:00 friday 09:00-17:00 # saturday ; Not used } ---End timeperiods.cfg-------- James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Wed Apr 16 03:29:24 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Tue, 15 Apr 2003 21:29:24 -0400 Subject: Timeperiod already been defined Message-ID: <2E3E9736615DD311895D00105A9CADED014BCBBD@eentsvr40.ehvert.com> Nagios works fine on RH7.3. Sounds like you have a definition for "worktime" perhaps in another config file. Please post the exact error message. Later, dean -----Original Message----- From: Gotner, James [mailto:jgotner at fhcrc.org] Sent: April 15, 2003 7:46 PM To: Nagios (E-mail) Subject: RE: [Nagios-users] Timeperiod already been defined List members, I am having no luck getting this going. I have tried removing the second entry, only to have nagios -v complain about the first entry already being defined. I did a grep on all of my config files and the timeperiods only show up in timeperiods.cfg once each. I have tried changing the timeperiod names and I have tried retyping the config file from scratch and still get the same problem... Could someone look at my config file and tell me if there is anything wrong? I built my config file according to the documentation, so I wouldnt think that there is a problem. Is there a problem compiling nagios with gcc that comes with redhat 7.3? I know there have been intermittent problems with gcc 2.96, since it is actually redhat's version and not supported by the gcc community, and also has caused problems with compiling other programs... Has anyone gotten nagios to work on RH 7.3 at all? Has anyone had a problem compiling nagios with gcc v3.2.x, as that will probably be my next step? Can nagios work under cygwin, so I can test my config files at least? Thanks for any help... James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate -----Original Message----- From: Gotner, James Sent: Thursday, April 10, 2003 2:16 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Timeperiod already been defined OK, solve one problem, get into another... While running nagios -v, I now receive an error stating that timeperiod 'worktime' has already been defined. And - Error: Could not register timeperiod 'worktime'. Well, I have all timeperiods defined in one file, timeperiods.cfg, and worktime and one other, 24x7, are the only ones defined. Apparently, nagios accepts the 24x7 definition, as I get an error on the second one. I searched through the archives, and noticed someone with a similar problem. They recompiled the program and their problem was solved... Well, that didnt work for me... Any suggestions on what else to check? Thanks. Nagios v1.0 RedHat Linux 7.3 timeperiods.cfg ----------------- # Time Period Definition # Description: A time period is a list of times during various days that are # considered to be "valid" times for notificatins and service checks. It # consists of one or more time periods for each day of the week that "rotate" # once the week has come to an end. Exceptions to the weekly time range are # not supported. #define timeperiod{ # timeperiod_name timeperiod_name ; Short name used to ID the timeperiod # alias alias ; Description for timeperiod # sunday 00:00-24:00 ; Time periods to be used, seperate with commas for multiple timeperiods # monday 00:00-24:00 ; If you do not want any notification on a certian day, then do not # tuesday 00:00-24:00 ; include the day in the definition or comment out. # wednesday 00:00-24:00 # thursday 00:00-24:00 # friday 00:00-24:00 # saturday 00:00-24:00 #} define timeperiod{ timeperiod_name 24x7 alias All the time sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } define timeperiod{ timeperiod_name worktime alias The Nine to Fiver # sunday ; Not used monday 09:00-17:00 tuesday 09:00-17:00 wednesday 09:00-17:00 thursday 09:00-17:00 friday 09:00-17:00 # saturday ; Not used } ---End timeperiods.cfg-------- James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daehenoc at optusnet.com.au Wed Apr 16 05:45:03 2003 From: daehenoc at optusnet.com.au (Greg Vickers) Date: Wed, 16 Apr 2003 13:45:03 +1000 Subject: More news on monitoring our Labs Message-ID: <200304160345.h3G3j3l19162@mail023.syd.optusnet.com.au> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From patrick at narmida.com Wed Apr 16 07:34:20 2003 From: patrick at narmida.com (Patrick Lambooy) Date: Wed, 16 Apr 2003 07:34:20 +0200 Subject: nrpe and xinetd In-Reply-To: <000001c3037b$174dc7e0$3104a8c0@roestbak> References: <000001c3037b$174dc7e0$3104a8c0@roestbak> Message-ID: <000701c303d9$d49fb9d0$3104a8c0@roestbak> Does anybody know how to start up the deamon I have port 5666 open on de remote and it is in xinted ipchains is open and it still says connection refused Help needed plz Regards, Patrick Lambooy ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Wed Apr 16 07:45:56 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Wed, 16 Apr 2003 07:45:56 +0200 Subject: nagios && rrd Message-ID: Please visit www.tiscali.co.za > Dear Ladies and Gentlemen, > > This little black ducks 0.02 worth (that's cents there folks) is that > RRDs are superior to databases for __time series__ data because Except offcourse if your client does not want data loss, like mine does. They need to go back to any five minute interval, anywhere in a three month range. fred ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Wed Apr 16 07:43:06 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Wed, 16 Apr 2003 07:43:06 +0200 Subject: hostgroup member limit Message-ID: Please visit www.tiscali.co.za Hi Marc > My > only real limitation there is that the Status Summary views take up to > 3-4 minutes to generate so I've just created a cron job that creates > them as static HTML every 5 minutes. Mmmm, now this part I find interesting. Umm, now how did you do this part? The static html part, that is. I'm sitting with a case where my status views take too long for my liking to generate. I'd be kewl if I could point my users to a static page instead of having them eat away at my cpu when status refresh happens. Thx fred ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 16 08:38:52 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 16 Apr 2003 16:38:52 +1000 Subject: nagios && rrd In-Reply-To: ; from Fred.Albrecht@za.tiscali.com on Wed, Apr 16, 2003 at 07:45:56AM +0200 References: Message-ID: <20030416163851.J79756@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter but say I think you are mistaken. On Wed, Apr 16, 2003 at 07:45:56AM +0200, Fred Albrecht wrote: > > Except off course if your client does not want data loss, like mine > does. They need to go back to any five minute interval, > anywhere in a three month range. > If you mean a 3 month interval from the current time, then provided that the RRD has been designed to keep that number of data points (ie the RRA that uses only 1 data point contains that number of rows eg Here is an RRA that keeps 5 minute observations for 3 months filename = "SONI_RTM.rrd" rrd_version = "0001" step = 300 last_update = 1050059101 ds[TotalDelayAverage].type = "GAUGE" ds[TotalDelayAverage].minimal_heartbeat = 600 ... rra[0].cf = "AVERAGE" rra[0].rows = 32768 rra[0].pdp_per_row = 1 rra[0].xff = 5.0000000000e-01 rra[0].cdp_prep[0].value = NaN rra[0].cdp_prep[0].unknown_datapoints = 0 rra[0].cdp_prep[1].value = NaN rra[0].cdp_prep[1].unknown_datapoints = 0 ) If on the other hand, you mean any 5 minute interval with no loss of accuracy, in the life of the monitoring, then as you say, it's necessary to store the data exactly in the persistent store of your choice - and worry about its maintenance etc. I think however that for a lot of time series data, the RRD approach of keeping whatever number of observations you declare when you design your RRDs - depending on queries, graph sizes etc - and consolidate that data with averages or maxima for periods longer than that time, you are get the best of both worlds. Perhaps I am missing the point ? > fred -- ------------------------------------------------------------------------ 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Wed Apr 16 08:50:26 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 16 Apr 2003 08:50:26 +0200 Subject: nagios && rrd References: Message-ID: <3E9CFD32.4050400@datavis.se> Hello. I'm Fredrik Wanglund, the author of Apan.. I won't say that Apan is the ultimate solution, but before you start making your own perfdata-backend I will give you the background to why I dont't use it in Apan (Of course I looked at the perfdata function in Nagios before writing Apan). I found two major problems with the perfdata-approach: - You still have to write a 'wrapper' that can reformat the output from each of the plugins you want to log data from and decide in wich 'log' it should be stored. - The 'wrapper' dont't know wich plugin was executed. There is a macro called $SERVICEDESC$ ,but it contains the name you have given the service, not the name of the actual plugin. There is two obvius ways to work around this. Either change your names so all services that checks the same thing have the same names or add an extra parameter to the check_command. Both of these 'workarounds' makes it necessary to update the service-definitions for all 5k+ services /FredrikW mark wrote: >Sure. I looked at APAN and here is what I didn't like. The main thing >was that I had to manually create an rrd store for each thing I wanted >to graph. While this is fine for small, static shops, larger places with >a somewhat dynamic base will quickly get tired of this. That is why I >like Orca. All I have to do is feed it a log file and it creates and >manages the rrd for me. Beyond install, I never have to touch rrd. The >second, minor, thing is creating a service for each APAN item. Now it's >true, I have to create a service for each thing I want to monitor >anyway. But if I all ready have say 5k+ services, adding APAN to those >could become tedious. Again, I'm thinking I could write some quick logic >that feeds the data into Orca / rrd without my intervention. This should >be easy as the HOSTNAME, HOSTALIAS, HOSTADDRESS, SERVICE, etc. are >available. > >So, dynamic creation of rrd objects and a more variable based, centralized >method for adding the APAN services would be my suggestions. Again, the >dynamic rrd creation is the big one. > >Mark > >On Tue, 15 Apr 2003, Subhendu Ghosh wrote: > > > >>Before you go off and start coding - any comments or suggestion for >>improvement with APAN? >> >>-sg >> >>On Tue, 15 Apr 2003, mark wrote: >> >> >> >>>I agree. This is a solution that I plan on implementing also. I have >>>heard / seen at least one other person mention this also. Sounds like >>>it's about time one (or all) of us got on with it and get Orca working >>>with Nagios. >>> >>> >>>Jason, did you have any ideas on how you were going to hand the data to >>>Orca? I see two options, you could run a process for each piece of data, >>>which would be each event(?), and run Orca in the rrd insert only mode. >>>Or, you could write to a log file and have Orca batch load the data. The >>>second is my choice but I haven't come up with a clear / clean way to >>>write the data to logs in a format that Orca likes. I think I would need >>>a log for each host and possibly for each service. Anyone else come to a >>>similar conclusion? >>> >>>Mark >>> >>> >>>On Tue, 15 Apr 2003, John Sellens wrote: >>> >>> >>> >>>>| From: Jason Burnett >>>>| Date: Thu, 20 Mar 2003 17:15:55 -0500 >>>>| >>>>| Is anyone else using RRD to process the service-perf data? If so, what >>>>| are you using to parse out the $PERFDATA$ & $OUTPUT$ info? We are >>>>| working on perl to parse it out and put it in RRD for us, but if >>>>| someone has found an easier way to do this please let me know. >>>> >>>>My belief, which I haven't implemented yet, is that a good >>>>graphing/trending mechanism is to log the host and service perfdata >>>>from within Nagios, and then use Orca (http://www.orcaware.com/orca/) >>>>to insert the data into RRD files and manage the HTML interface. >>>> >>>>I'm reasonably optimistic that this is a good idea. >>>> >>>>John >>>>jsellens at generalconcepts.com >>>> >>>> >>>> > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Wed Apr 16 09:09:49 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Wed, 16 Apr 2003 09:09:49 +0200 Subject: nagios && rrd Message-ID: Please visit www.tiscali.co.za Hi Stanley > If you mean a 3 month interval from the current time, then > provided that > the RRD has been designed to keep that number of data points (ie the > RRA that uses only 1 data point contains that number of rows eg > rra[0].cf = "AVERAGE" > rra[0].rows = 32768 > rra[0].pdp_per_row = 1 > rra[0].xff = 5.0000000000e-01 > rra[0].cdp_prep[0].value = NaN > rra[0].cdp_prep[0].unknown_datapoints = 0 > rra[0].cdp_prep[1].value = NaN > rra[0].cdp_prep[1].unknown_datapoints = 0 > ) Ah, I've learnt something today! ;) From my background with cricket I never really messed with the details of rrd, cricket simply configured the rrd for me. The default time (I think) that cricket takes is to keep the records "uncompressed" for about two days, then averaging starts. How would rrd handle 3000+ datafiles with 32k+ rows each? Any idea what kind of performance impact this will have? Thanx for clearing this up. :) fred ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Juris.Berzins at tele2.lv Wed Apr 16 09:25:52 2003 From: Juris.Berzins at tele2.lv (Juris Berzins) Date: Wed, 16 Apr 2003 10:25:52 +0300 Subject: Mutiple IP addresses References: <352B04312822444A962714393AED8A4D113899@ADAEVS01.int.chickasaw.net> Message-ID: <3E9D0580.6050001@tele2.lv> What is your problem? Juris Jeremy Russell wrote: > Hello list, > > Does anyone have any advice on monitoring a Host with two IP > address on two separate interfaces? Routers with IP Numbered Serial > Interfaces on WAN Links. > > > > Thanks > > > > Jeremy Russell > > Network Administrator, CNI > > 580-272-2707 > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bastian.Brinkmann at blanco.de Wed Apr 16 09:49:12 2003 From: Bastian.Brinkmann at blanco.de (Brinkmann, Bastian) Date: Wed, 16 Apr 2003 09:49:12 +0200 Subject: Problems logging HARD-SOFT state Message-ID: <3316cf476ff8a622b1f92a2831e57e063e9d0aee@blanco.de> Hello I had the following problem: If Nagios logged a CRITICAL HARD and later a CRITICAL SOFT error, it only gave its OK to the SOFT error, the HARD error wasn't fixed. This seems to be an error in Nagios itself. To solve this problem, I had to edit the sourcecode: In /opt/nagios-1.0/base/checks.c around line 1010 I found the following: 1005: /* the host is up, so continue to retry the service check */ 1006: else{ 1007: 1008: /* this is a soft state */ 1009: temp_service->state_type=SOFT_STATE; 1010: 1011: /* update service state times if necessary and last state change time */ 1012: if(state_change==TRUE) 1013: update_service_state_times(temp_service); 1014: 1015: /* log the service check retry */ 1016: log_service_event(temp_service,SOFT_STATE); 1017: state_was_logged=TRUE; I just had to add a little if-command: 1005: /* the host is up, so continue to retry the service check */ 1006: else{ 1007: 1008: /* this is a soft state */ 1009: if( hard_state_change==FALSE && temp_service->state_type!=HARD_STATE ) 1010: temp_service->state_type=SOFT_STATE; 1011: 1012: /* update service state times if necessary and last state change time */ 1013: if(state_change==TRUE) 1014: update_service_state_times(temp_service); 1015: 1016: /* log the service check retry */ 1017: log_service_event(temp_service,SOFT_STATE); 1018: state_was_logged=TRUE; After compiling (make), I had to stop nagios (/etc/init.d/nagios stop), copied the new nagios file (/opt/nagios-1.0/base/nagios) to /opt/nagios/bin/ and restarted nagios (/etc/init.d/nagios start). I tested with a client two times and everything seems to work fine. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Wed Apr 16 10:35:18 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Wed, 16 Apr 2003 09:35:18 +0100 Subject: Timeperiod already been defined Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909E806@netfinity-1.foundation-it.local> > From: Gotner, James [mailto:jgotner at fhcrc.org] > > I am having no luck getting this going. I have tried > removing the second entry, only to have nagios -v complain > about the first entry already being defined. I did a grep on > all of my config files and the timeperiods only show up in > timeperiods.cfg once each. I have tried changing the > timeperiod names and I have tried retyping the config file > from scratch and still get the same problem... Sounds rather like Nagios is using a different timeperiods.cfg file than the one you think it is. I'd doublecheck the cfg_file definitions in nagios.cfg. Phil ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 16 11:51:24 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 16 Apr 2003 19:51:24 +1000 Subject: nagios && rrd. Long and boring. In-Reply-To: ; from Fred.Albrecht@za.tiscali.com on Wed, Apr 16, 2003 at 09:09:49AM +0200 References: Message-ID: <20030416195120.A237@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Wed, Apr 16, 2003 at 09:09:49AM +0200, Fred Albrecht wrote: > > Ah, I've learnt something today! ;) From my background with cricket I never really messed with the details of rrd, > cricket simply configured the rrd for me. Yes, this is where Cricket and friends and value. >From the rrdtoo create man page NAME rrdtool create - Set up a new Round Robin Database SYNOPSIS rrdtool create filename [--start|-b start time] [--step|-s step] [DS:ds-name:DST:heartbeat:min:max] [RRA:CF:xff:steps:rows] DESCRIPTION The create function of the RRDtool lets you set up new Round Robin Database (RRD) files. The file is created at its final, full size and filled with *UNKNOWN* data. RRA:CF:xff:steps:rows The purpose of an RRD is to store data in the round robin archives (RRA). An archive consists of a number of data values from all the defined data- sources (DS) and is defined with an RRA line. When data is entered into an RRD, it is first fit into time slots of the length defined with the -s option becoming a primary data point. The data is also consolidated with the consolidation function (CF) of the archive. The following consolidation functions are defined: AVERAGE, MIN, MAX, LAST. ... steps defines how many of these primary data points are used to build a consolidated data point which then goes into the archive. rows defines how many generations of data values are kept in an RRA. The CFs provide the means of saving a summary of the data points, when the number of data points exceeds the numbers of rows defined for an RRA. The definition of an RRD typically includes a whole bunch of RRAs: this gets to be tedious without the infrastructure provided by an RRD framework such as Steve Shipways (? see the RRD web page), Cricket, RRDFramework etc. Here's an example of creating one from Perl RRDs::create ($rrd, "--start", time() - 1, "--step",300, "DS:SAP:COUNTER:600:0:U", "DS:HTTP:COUNTER:600:0:U", "DS:DNS:COUNTER:600:0:U", "DS:Virus:COUNTER:600:0:U", "DS:Ntop:COUNTER:600:0:U", "DS:NBIOS-IP:COUNTER:600:0:U", "DS:Mail:COUNTER:600:0:U", "DS:SNMP:COUNTER:600:0:U", "DS:Telnet:COUNTER:600:0:U", "DS:Cache:COUNTER:600:0:U", "DS:PSCAM:COUNTER:600:0:U", "DS:BEA:COUNTER:600:0:U", "DS:SSH:COUNTER:600:0:U", "DS:LPD:COUNTER:600:0:U", "DS:PCAny:COUNTER:600:0:U", "RRA:AVERAGE:0.5:1:2016", "RRA:AVERAGE:0.5:6:672", "RRA:AVERAGE:0.5:24:672", "RRA:MAX:0.5:1:2016", "RRA:MAX:0.5:6:672", "RRA:MAX:0.5:24:672", "RRA:HWPREDICT:2016:0.28:0.0035:288", ); > The default time (I > think) that cricket takes is to keep the records "uncompressed" for > about two days, then averaging starts. > in that case, Cricket may define the first RRA with rows == max(2 * 288, 2**n st n = int(log _base2_ 2 * 288) + 0.5 ) > How would rrd handle 3000+ datafiles with 32k+ rows each? Any idea what kind of performance impact this will have? > I can't say. However, . MRTG v3 will use RRDs . rrdtool is claimed to be thread safe or nearly so . rrd_update.c uses either fstat (Win 32) or fcntl (POSIX) to lock the RRD prior to update. This I think allows concurrent update. While I suspect this is the standard POSIX way of allowing concurrent writes - APUUE may spell it out in the chapter on Databases - I don't know how well it performs. Probably, since this is only way of providing concurrent writes, does as well as a DB. . Orca seems to be fast . and one more HUGE advantage forgotten before. With COUNTER datatypes (eg Octets from an Interface), rrdtool outputs the instantaneous rate (ie last two values divided by step). You don't have to work out Kbp/s or Mbp/s. However, the main speed limiter in the example you cite is probably the file system. You probably wouldn't keep your RRDs on NFS anymore than your DB files (even if NFS locking works). Some file systems perform much better than others. Maybe having a memory mapped file system would be a big winner in the RRD case since the RRD looks after missing values (if you crash). > Thanx for clearing this up. > > :) > fred > 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Wed Apr 16 12:16:11 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 16 Apr 2003 12:16:11 +0200 Subject: nagios && rrd References: Message-ID: <3E9D2D6B.1040409@datavis.se> I usually set up the RRDs to store minute-values for the last 35 days (50400 rows) and hour-averages for the last 5 years (.43800 rows) This makes the files around 1.5Mb for each DS. Performance is not really affected by the number of rows since the filesize is constant and rrdtool store new values by inserting it at a 'floating' insertion-point (if the rrd is 'full',rrdtool will always overwrite the oldest value). This is why it's called rrd, Round-Robin Database. /FredrikW Fred Albrecht wrote: >Please visit www.tiscali.co.za > > >Hi Stanley > > > >>If you mean a 3 month interval from the current time, then >>provided that >>the RRD has been designed to keep that number of data points (ie the >>RRA that uses only 1 data point contains that number of rows eg >> >> > > > >>rra[0].cf = "AVERAGE" >>rra[0].rows = 32768 >>rra[0].pdp_per_row = 1 >>rra[0].xff = 5.0000000000e-01 >>rra[0].cdp_prep[0].value = NaN >>rra[0].cdp_prep[0].unknown_datapoints = 0 >>rra[0].cdp_prep[1].value = NaN >>rra[0].cdp_prep[1].unknown_datapoints = 0 >>) >> >> > >Ah, I've learnt something today! ;) From my background with cricket I never really messed with the details of rrd, cricket simply configured the rrd for me. The default time (I think) that cricket takes is to keep the records "uncompressed" for about two days, then averaging starts. > >How would rrd handle 3000+ datafiles with 32k+ rows each? Any idea what kind of performance impact this will have? > >Thanx for clearing this up. > >:) >fred > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From casperez at cesga.es Wed Apr 16 13:30:34 2003 From: casperez at cesga.es (casperez at cesga.es) Date: Wed, 16 Apr 2003 13:30:34 +0200 (CEST) Subject: Change the state of the hosts ? Message-ID: <58508.193.144.34.186.1050492634.squirrel@webmail.cesga.es> Hello! Can somebody say me if i can change the state of the hosts? This is possibel with the cgi in the services but i don't known if it is possibel whith hosts Thank you. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magnus at hacka.net Wed Apr 16 15:12:10 2003 From: magnus at hacka.net (Magnus Glantz) Date: Wed, 16 Apr 2003 15:12:10 +0200 Subject: check_real (nagios-plugins 1.3.0) 1.4 Message-ID: <001e01c30419$c9edbc40$973dd2d9@telia.com> Hiyas, didnt know where to send this exatly to.. I sending it in hope that it might be of help to someone. I noticed that after upgrading from check_real (nagios-plugins 1.3.0-beta2) 1.2 to check_real (nagios-plugins 1.3.0) 1.4, all my "regular" Real tests: ./check_real -H hostname Started to get: "RTSP/1.0 404 Not Found" When not looking for anything, this is an strange error message.. I noticed in the source for check_real that the server_url pointer had been changed to char *server_url = "/"; to prevent software failure. Now.. with this as 'default url' the plugin will look for "/" in the server. That was what was causing the error messages. The streaming servers I check demand that you give a valid URL and "/" is not one. I don't know if this is actually a good solution, it's a quick dirty hack that worked out good for me. Even though I never have experienced any problems.. beware.. the author writes about his change: ----------snip----------- 2003-01-28 kdebisschop at alert.infoplease.com * plugins/check_real.c: make sure host_name is set and remove NULL string inits that can lead to segfaults ----------snip----------- The system that I compiled on is Linux Redhat 7.2 (i386) with 2.4.18-27.7.x Kernel. I can't see any reason why this shouldnt work on most systems though. What to do; Change below syntax in check_real.c: --------------original source snip---------------- int server_port = PORT; char *server_address = ""; char *host_name = ""; char *server_url = "/"; char *server_expect = EXPECT; int warning_time = 0; int check_warning_time = FALSE; int critical_time = 0; int check_critical_time = FALSE; int verbose = FALSE; --------------snip---------------- TO --------------original source snip---------------- int server_port = PORT; char *server_address = ""; char *host_name = ""; char *server_url = NULL; char *server_expect = EXPECT; int warning_time = 0; int check_warning_time = FALSE; int critical_time = 0; int check_critical_time = FALSE; int verbose = FALSE; --------------snip---------------- AND --------------original source snip---------------- /* Part II - Check stream exists and is ok */ if (result == STATE_OK) { ---------------------snip------------------------------- TO /* Part II - Check stream exists and is ok */ if ((result == STATE_OK) && (server_url != NULL)) { And recompile. Cheers, //Magnus Glantz -------------- next part -------------- An HTML attachment was scrubbed... URL: From steve.freegard at lbsltd.co.uk Wed Apr 16 15:39:41 2003 From: steve.freegard at lbsltd.co.uk (Steve Freegard) Date: Wed, 16 Apr 2003 14:39:41 +0100 Subject: Usage Prediction Message-ID: <67D9E7698329D411936E00508B6590B9027934FD@neelix.lbsltd.co.uk> ********************************************************************** 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.lbsltd.co.uk ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From lukebfth at tlen.pl Wed Apr 16 15:37:21 2003 From: lukebfth at tlen.pl (Lukasz Lesniak) Date: Wed, 16 Apr 2003 15:37:21 Subject: =?iso-8859-2?Q?Question=20about=20check_load=20plugin.?= Message-ID: <20030416133721.1F72E33F73@rekin.go2.pl> Hi. Check_load measure load of system in last 1, 5, 15 minutes, isn't it? But what does mean load? Wchich level of load is warning level or critical level? Default values of this plugin is 15,10,5 for warning and 30,25,20 for critical. Load (from uptime command) from my prior server is:2.59,1.91,1.40. Is this hard? Explain me, please. Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 16 16:36:36 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 16 Apr 2003 10:36:36 -0400 (EDT) Subject: [Nagiosplug-devel] check_real (nagios-plugins 1.3.0) 1.4 In-Reply-To: <001e01c30419$c9edbc40$973dd2d9@telia.com> References: <001e01c30419$c9edbc40$973dd2d9@telia.com> Message-ID: Lets keep this on one list. Matthias reported the same problem a couple of minutes earlier. The only change in check_real was some option handling cleanup bteween beta2 and release. The only relevant change seems to be in line 65-66 - initalization changed from NULL to "" and "/" for hostname and url respectively. So it looks like we are sending a default url "/" This causes the second part of the check - stream exists - to be invoked. Previously, "stream exists" would only be checked if the -u option was provided. Please post a SF bug report - I'll get a patch in for the old behavior. -sg On Wed, 16 Apr 2003, Magnus Glantz wrote: > Hiyas, didnt know where to send this exatly to.. > I sending it in hope that it might be of help to someone. > > I noticed that after upgrading from check_real (nagios-plugins 1.3.0-beta2) 1.2 > to check_real (nagios-plugins 1.3.0) 1.4, all my "regular" Real tests: > > ./check_real -H hostname > > Started to get: "RTSP/1.0 404 Not Found" > > When not looking for anything, this is an strange error message.. > > I noticed in the source for check_real that the server_url pointer had been changed to > char *server_url = "/"; to prevent software failure. Now.. with this as 'default url' the plugin will look for "/" in the server. > That was what was causing the error messages. The streaming servers I check demand that you give a valid URL and "/" is not one. > > I don't know if this is actually a good solution, it's a quick dirty hack that worked out good for me. > Even though I never have experienced any problems.. > beware.. the author writes about his change: > > ----------snip----------- > 2003-01-28 kdebisschop at alert.infoplease.com > > * plugins/check_real.c: > make sure host_name is set and remove NULL string inits that can lead to segfaults > ----------snip----------- > > The system that I compiled on is Linux Redhat 7.2 (i386) with 2.4.18-27.7.x Kernel. > I can't see any reason why this shouldnt work on most systems though. > > What to do; > Change below syntax in check_real.c: > > --------------original source snip---------------- > int server_port = PORT; > char *server_address = ""; > char *host_name = ""; > > char *server_url = "/"; > > char *server_expect = EXPECT; > int warning_time = 0; > int check_warning_time = FALSE; > int critical_time = 0; > int check_critical_time = FALSE; > int verbose = FALSE; > --------------snip---------------- > TO > > --------------original source snip---------------- > int server_port = PORT; > char *server_address = ""; > char *host_name = ""; > > char *server_url = NULL; > > char *server_expect = EXPECT; > int warning_time = 0; > int check_warning_time = FALSE; > int critical_time = 0; > int check_critical_time = FALSE; > int verbose = FALSE; > --------------snip---------------- > > > AND > > --------------original source snip---------------- > /* Part II - Check stream exists and is ok */ > if (result == STATE_OK) { > ---------------------snip------------------------------- > > TO > > /* Part II - Check stream exists and is ok */ > if ((result == STATE_OK) && (server_url != NULL)) { > > > And recompile. > > Cheers, > //Magnus Glantz > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Wed Apr 16 16:33:23 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Wed, 16 Apr 2003 09:33:23 -0500 Subject: nagios && rrd Message-ID: <352B04312822444A962714393AED8A4D026840@ADAEVS01.int.chickasaw.net> I just want to say one thing... I would like to have some sort of statistic tool, but I would want it integrated closely with Nagios. I don't want to change UI's form Nagios to a graphing package. I would think that to be one of the things to think about when developing something. Also, among APAN, Cacti, and Orca are there still others that use RRDTool? If so could there not be a conglomeration of code for different features and the such to make a tightly integrated package. I guess I'm just thinking outloud. Jeremy Russell Network Administrator, CNI 580-272-2707 -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Tuesday, April 15, 2003 12:52 PM To: mark Cc: John Sellens; jason at cannonfodder.org; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios && rrd Before you go off and start coding - any comments or suggestion for improvement with APAN? -sg On Tue, 15 Apr 2003, mark wrote: > I agree. This is a solution that I plan on implementing also. I have > heard / seen at least one other person mention this also. Sounds like > it's about time one (or all) of us got on with it and get Orca working > with Nagios. > > > Jason, did you have any ideas on how you were going to hand the data to > Orca? I see two options, you could run a process for each piece of data, > which would be each event(?), and run Orca in the rrd insert only mode. > Or, you could write to a log file and have Orca batch load the data. The > second is my choice but I haven't come up with a clear / clean way to > write the data to logs in a format that Orca likes. I think I would need > a log for each host and possibly for each service. Anyone else come to a > similar conclusion? > > Mark > > > On Tue, 15 Apr 2003, John Sellens wrote: > > > | From: Jason Burnett > > | Date: Thu, 20 Mar 2003 17:15:55 -0500 > > | > > | Is anyone else using RRD to process the service-perf data? If so, what > > | are you using to parse out the $PERFDATA$ & $OUTPUT$ info? We are > > | working on perl to parse it out and put it in RRD for us, but if > > | someone has found an easier way to do this please let me know. > > > > My belief, which I haven't implemented yet, is that a good > > graphing/trending mechanism is to log the host and service perfdata > > from within Nagios, and then use Orca (http://www.orcaware.com/orca/) > > to insert the data into RRD files and manage the HTML interface. > > > > I'm reasonably optimistic that this is a good idea. > > > > John > > jsellens at generalconcepts.com > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From casperez at cesga.es Wed Apr 16 17:11:11 2003 From: casperez at cesga.es (casperez at cesga.es) Date: Wed, 16 Apr 2003 17:11:11 +0200 (CEST) Subject: Change the state of the hosts? Message-ID: <36515.193.144.34.186.1050505871.squirrel@webmail.cesga.es> Hello! Can somebody say me if i can change the state of the hosts? This is possible with the cgi in the services but i don't known if it is possible whith hosts Thank you. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Apr 16 17:17:50 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 16 Apr 2003 10:17:50 -0500 Subject: hostgroup member limit Message-ID: <5DB017510818EC468B05BD7BD9EACF83030EDC01@mismail.ena.com> > -----Original Message----- > From: Fred Albrecht [mailto:Fred.Albrecht at za.tiscali.com] > Sent: Wednesday, April 16, 2003 12:43 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] hostgroup member limit > > Please visit www.tiscali.co.za > > > Hi Marc > > > My > > only real limitation there is that the Status Summary views take up to > > 3-4 minutes to generate so I've just created a cron job that creates > > them as static HTML every 5 minutes. > > Mmmm, now this part I find interesting. Umm, now how did you do this > part? The static html part, that is. I'm sitting with a case where my > status views take too long for my liking to generate. I'd be kewl if I > could point my users to a static page instead of having them eat away at > my cpu when status refresh happens. #/bin/tcsh cd /usr/local/nagios/sbin /usr/bin/wget --http-user --http-passwd -O /usr/local/nagios/sbin/summary.tmp.$$ -q "http:///cgi/status.cgi?hostgroup=all&style=summary" --header='Refresh: 90' mv /usr/local/nagios/sbin/summary.tmp.$$ /usr/local/nagios/sbin/summary.html Then it's just a matter of editing side.html to link to summary.html. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 16 17:34:22 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 16 Apr 2003 11:34:22 -0400 (EDT) Subject: [Nagiosplug-devel] check_real (nagios-plugins 1.3.0) 1.4 In-Reply-To: References: Message-ID: PAtch for old behaviour is back in - both HEAD and r1_3_0 branches - let me know if this works. -sg On Wed, 16 Apr 2003, Subhendu Ghosh wrote: > > Lets keep this on one list. > Matthias reported the same problem a couple of minutes earlier. > > The only change in check_real was some option handling cleanup bteween > beta2 and release. > > The only relevant change seems to be in line 65-66 - initalization changed > from NULL to "" and "/" for hostname and url respectively. > > So it looks like we are sending a default url "/" > This causes the second part of the check - stream exists - to be invoked. > Previously, "stream exists" would only be checked if the -u option was > provided. > > > Please post a SF bug report - I'll get a patch in for the old behavior. > > -sg > > > On Wed, 16 Apr 2003, Magnus Glantz wrote: > > > Hiyas, didnt know where to send this exatly to.. > > I sending it in hope that it might be of help to someone. > > > > I noticed that after upgrading from check_real (nagios-plugins 1.3.0-beta2) 1.2 > > to check_real (nagios-plugins 1.3.0) 1.4, all my "regular" Real tests: > > > > ./check_real -H hostname > > > > Started to get: "RTSP/1.0 404 Not Found" > > > > When not looking for anything, this is an strange error message.. > > > > I noticed in the source for check_real that the server_url pointer had been changed to > > char *server_url = "/"; to prevent software failure. Now.. with this as 'default url' the plugin will look for "/" in the server. > > That was what was causing the error messages. The streaming servers I check demand that you give a valid URL and "/" is not one. > > > > I don't know if this is actually a good solution, it's a quick dirty hack that worked out good for me. > > Even though I never have experienced any problems.. > > beware.. the author writes about his change: > > > > ----------snip----------- > > 2003-01-28 kdebisschop at alert.infoplease.com > > > > * plugins/check_real.c: > > make sure host_name is set and remove NULL string inits that can lead to segfaults > > ----------snip----------- > > > > The system that I compiled on is Linux Redhat 7.2 (i386) with 2.4.18-27.7.x Kernel. > > I can't see any reason why this shouldnt work on most systems though. > > > > What to do; > > Change below syntax in check_real.c: > > > > --------------original source snip---------------- > > int server_port = PORT; > > char *server_address = ""; > > char *host_name = ""; > > > > char *server_url = "/"; > > > > char *server_expect = EXPECT; > > int warning_time = 0; > > int check_warning_time = FALSE; > > int critical_time = 0; > > int check_critical_time = FALSE; > > int verbose = FALSE; > > --------------snip---------------- > > TO > > > > --------------original source snip---------------- > > int server_port = PORT; > > char *server_address = ""; > > char *host_name = ""; > > > > char *server_url = NULL; > > > > char *server_expect = EXPECT; > > int warning_time = 0; > > int check_warning_time = FALSE; > > int critical_time = 0; > > int check_critical_time = FALSE; > > int verbose = FALSE; > > --------------snip---------------- > > > > > > AND > > > > --------------original source snip---------------- > > /* Part II - Check stream exists and is ok */ > > if (result == STATE_OK) { > > ---------------------snip------------------------------- > > > > TO > > > > /* Part II - Check stream exists and is ok */ > > if ((result == STATE_OK) && (server_url != NULL)) { > > > > > > And recompile. > > > > Cheers, > > //Magnus Glantz > > > > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmunoz at comcel.com.co Wed Apr 16 18:04:52 2003 From: jmunoz at comcel.com.co (Jose Orlando Munoz Bravo (HP)) Date: Wed, 16 Apr 2003 11:04:52 -0500 Subject: Question about check load plugin. Message-ID: <8F3E96AF7095024E922116DCA0587C9DF7244E@ESPERANTO.comcel.com.co> All depend, This apply for a server with one CPU. "The load average numbers give the average number of jobs in the run queue for the last 5 seconds, the last 30 seconds, and the last 60 seconds. >From the command output, you can determine whether the load is increasing or decreasing. An acceptable load average depends on your type of system and how it is being used. In general, for a large system, a load of 10 is high, and a load of 3 is low." (Thru Performance Manual) So if you have a server with more than one CPU the queue of 10 is not so high, however you can't consider that 20 is high for 2 Cup's because 2 CPU must attend the run process fast and do not permit the queue getting up. there are not a formula to calculate a exactly number but if you evaluate the moment whit additional measurements how %CPU and %memory, wheh this parameters going to 0 you will get a number that means your system is load. Jomb -----Mensaje original----- De: Lukasz Lesniak [mailto:lukebfth at tlen.pl] Enviado el: mi?rcoles, 16 de abril de 2003 10:37 Para: nagios-users at lists.sourceforge.net Asunto: [Nagios-users] Question about check load plugin. Hi. Check_load measure load of system in last 1, 5, 15 minutes, isn't it? But what does mean load? Wchich level of load is warning level or critical level? Default values of this plugin is 15,10,5 for warning and 30,25,20 for critical. Load (from uptime command) from my prior server is:2.59,1.91,1.40. Is this hard? Explain me, please. Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From russell at quadrix.com Wed Apr 16 18:11:03 2003 From: russell at quadrix.com (Russell Scibetti) Date: Wed, 16 Apr 2003 12:11:03 -0400 Subject: External Commands for Downtime Message-ID: <3E9D8097.3050808@quadrix.com> Are there external commands to schedule host and service downtimes? I tried to use "SCHEDULE_SVC_DOWNTIME" and I get an error in the nagios.log that says "Warning: Unrecognized External Command." Russell Scibetti -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgotner at fhcrc.org Wed Apr 16 18:23:57 2003 From: jgotner at fhcrc.org (Gotner, James) Date: Wed, 16 Apr 2003 09:23:57 -0700 Subject: Timeperiod already been defined Message-ID: <9667A0D2033CD51195F90002B330A3BF04CBA281@moe.fhcrc.org> Error message as stated in original post Error: Timeperiod 'worktime' has already been defined. Error: Could not register timeperiod (config file '/usr/local/nagios/etc/templates/timeperiods.cfg', line 30) RELEVANT LINES TAKEN FROM NAGIOS.CFG ----------------- cfg_file=/usr/local/nagios/etc/templates/timeperiods.cfg cfg_dir=/usr/local/nagios/etc/templates/ ----------------------- These are the only things that relate to **any** timeperiod definitions. If I rename the timeperiod 'worktime', the error changes accordingly. If I delete that definition, then I recieve the exact same error for my other timeperiod, '24x7'. I did a grep on all of my template-based config files for worktime, and it only comes up once in timeperiods.cfg. I can change it to 'foobar' and it will still say its already defined. James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate On Tue, 2003-04-15 at 16:46, Gotner, James wrote: > List members, > > I am having no luck getting this going. I have tried removing the second > entry, only to have nagios -v complain about the first entry already being > defined. I did a grep on all of my config files and the timeperiods only > show up in timeperiods.cfg once each. I have tried changing the timeperiod > names and I have tried retyping the config file from scratch and still get > the same problem... Could someone look at my config file and tell me if > there is anything wrong? I built my config file according to the > documentation, so I wouldnt think that there is a problem. Is there a > problem compiling nagios with gcc that comes with redhat 7.3? I know there > have been intermittent problems with gcc 2.96, since it is actually redhat's > version and not supported by the gcc community, and also has caused problems > with compiling other programs... Has anyone gotten nagios to work on RH 7.3 > at all? Has anyone had a problem compiling nagios with gcc v3.2.x, as that > will probably be my next step? Can nagios work under cygwin, so I can test > my config files at least? Thanks for any help... > > James Gotner > > Security Certified Network Professional > A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional > Certified Internet Webmaster Associate > > > > -----Original Message----- > From: Gotner, James > Sent: Thursday, April 10, 2003 2:16 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Timeperiod already been defined > > > OK, solve one problem, get into another... While running nagios -v, I now > receive an error stating that **timeperiod 'worktime' has already been > defined**. And - **Error: Could not register timeperiod** 'worktime'. > Well, I have all timeperiods defined in one file, timeperiods.cfg, and > worktime and one other, 24x7, are the only ones defined. Apparently, nagios > accepts the 24x7 definition, as I get an error on the second one. I > searched through the archives, and noticed someone with a similar problem. > They recompiled the program and their problem was solved... Well, that didnt > work for me... Any suggestions on what else to check? Thanks. > > Nagios v1.0 > RedHat Linux 7.3 > > timeperiods.cfg > ----------------- > > # Time Period Definition > # Description: A time period is a list of times during various days that are > # considered to be "valid" times for notificatins and service checks. It > # consists of one or more time periods for each day of the week that > "rotate" > # once the week has come to an end. Exceptions to the weekly time range are > # not supported. > > #define timeperiod{ > # timeperiod_name timeperiod_name ; Short name used to > ID the timeperiod > # alias alias ; > Description for timeperiod > # sunday 00:00-24:00 ; Time > periods to be used, seperate with commas for multiple timeperiods > # monday 00:00-24:00 ; If you do > not want any notification on a certian day, then do not > # tuesday 00:00-24:00 ; include > the day in the definition or comment out. > # wednesday 00:00-24:00 > # thursday 00:00-24:00 > # friday 00:00-24:00 > # saturday 00:00-24:00 > #} > > define timeperiod{ > timeperiod_name 24x7 > alias All the time > sunday 00:00-24:00 > monday 00:00-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > > define timeperiod{ > timeperiod_name worktime > alias The Nine to Fiver > # sunday ; Not used > monday 09:00-17:00 > tuesday 09:00-17:00 > wednesday 09:00-17:00 > thursday 09:00-17:00 > friday 09:00-17:00 > # saturday ; Not used > } > > ---End timeperiods.cfg-------- > > > James Gotner > > Security Certified Network Professional > A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional > Certified Internet Webmaster Associate > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- +---------------------------------------------------------------+ | Nicholas Bernstein | nick at docmagic.com | | UNIX Systems Administrator | http://www.docmagic.com | | Document Systems Inc. | | +---------------------------------------------------------------+ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fes at users.sourceforge.net Wed Apr 16 18:38:28 2003 From: fes at users.sourceforge.net (Frank Sweetser) Date: Wed, 16 Apr 2003 12:38:28 -0400 Subject: Timeperiod already been defined In-Reply-To: <9667A0D2033CD51195F90002B330A3BF04CBA281@moe.fhcrc.org> References: <9667A0D2033CD51195F90002B330A3BF04CBA281@moe.fhcrc.org> Message-ID: <20030416163828.GA11648@erwin.wpi.edu> On Wed, Apr 16, 2003 at 09:23:57AM -0700, Gotner, James wrote: > Error message as stated in original post > > Error: Timeperiod 'worktime' has already been defined. > Error: Could not register timeperiod (config file > '/usr/local/nagios/etc/templates/timeperiods.cfg', line 30) > > RELEVANT LINES TAKEN FROM NAGIOS.CFG > ----------------- > cfg_file=/usr/local/nagios/etc/templates/timeperiods.cfg This line includes timeperiods.cfg > cfg_dir=/usr/local/nagios/etc/templates/ This line includes any files in the templates dir - including timeperiods.cfg again. Remove the first redundant cfg_file directive and you should be fine. -- Frank Sweetser fs at wpi.edu WPI Network Engineer ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Wed Apr 16 18:32:33 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Thu, 17 Apr 2003 00:32:33 +0800 Subject: Plugin help and needed! Message-ID: <200304170032.38944.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi gurus, does anyone know of a plugin that can check a port. If it is open I want it to return Ok status intead of critical? Because i have a script but its not working & On nagios web interface, it keeps reporting "no output!" error. I tested the script is working by itself , but somethings screwed when i tried to execute it as user 'nagios'. `su - nagios ./check_remote_port -H x.x.x.x -P 23` Here's the permissions: -rwxr-xr-x 1 nagios nagios 3247 Mar 27 18:41 check_remote_port Here's the script in Perl. #!/usr/bin/perl # Usage: # check_remote_port_closed -H use IO::Socket; use Getopt::Long; Getopt::Long::Configure('bundling'); $version=0.01; my %ERRORS = ('UNKNOWN' , '-1', 'OK' , '0', 'WARNING', '1', 'CRITICAL', '2'); # # some default values # # # get command line options the regular way # GetOptions ("V" => \$opt_V, "version" => \$opt_V, "H=s" => \$opt_H, "hostname=s" => \$opt_H, "P=s" => \$opt_P, "port=s" => \$opt_P, "T=s" => \$opt_T, "timeout=s" => \$opt_T); # # handle the verbose stuff first # if ($opt_V) { print "\n"; print "check_remote_port_closed plugin version $version\n"; print "\n"; print "\n"; exit $ERRORS{'UNKNOWN'}; } # now get options the weired way and set the defaults # if nothing else is provided # $opt_H = shift unless ($opt_H); $opt_P = shift unless ($opt_P); $opt_T = shift unless ($opt_T); print "No Host specified. (-H )\n" unless ($opt_H); exit $ERRORS{'UNKNOWN'} unless ($opt_H); print "No Port specified (-P ) \n" unless ($opt_P); exit $ERRORS{'UNKNOWN'} unless ($opt_P); $TIMEOUT= $opt_T || 15; $SIG{'ALRM'} = sub { print ("OK: Cannot connect to port (alarm)\n"); exit $ERRORS{"OK"}; }; alarm($TIMEOUT); # # now we set things up for the real work # and fire up the request # # Build the socket connection. $socket = IO::Socket::INET->new(PeerAddr => $opt_H, PeerPort => $opt_P, Proto => "tcp", Type => SOCK_STREAM) or &error_can_connect; close ($socket); print "CRITICAL: Can connect to port!\n"; exit $ERRORS{'CRITICAL'}; sub error_can_connect { print "OK: Cannot connect to port\n"; exit $ERRORS{'OK'}; } Here's my service definition define service{ host_name host abc service_description Telnet check_command check_remote_port!23!10 active_checks_enabled 1 passive_checks_enabled 0 parallelize_check 1 obsess_over_service 1 check_freshness 0 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 check_period 24x7 notification_interval 10 notification_period 24x7 notification_options n contact_groups admin } Here's my command definition: # 'check_remote_port' command definition define command{ command_name check_remote_port command_line $USER1$/check_remote_port -H $HOSTADDRESS$ -P $ARG1$ \ - -T $ARG2$ } And, $USER1$ Macro points to the right directory where the plugin is. Thanks Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+nYWlNgvTa7Hj2AURAgr8AJsEu7U/XllfCokjugDAQkE+oBoTxgCfdq1q h2XpirReC+Ac5/86izEnaq8= =amQO -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Wed Apr 16 18:33:19 2003 From: philc at foundation-it.com (Phil Costelloe) Date: Wed, 16 Apr 2003 17:33:19 +0100 Subject: Question about check load plugin. Message-ID: <4E71CFD68DCB4E49B04AD93E84827EE909ECAD@netfinity-1.foundation-it.local> > From: Lukasz Lesniak [mailto:lukebfth at tlen.pl] > > Check_load measure load of system in last 1, 5, 15 minutes, > isn't it? Yes. > But what does mean load? Load is the number of processes in the run queue averaged over the time period. It's an arbitrary but surprisingly useful metric. > Which level of load is warning level or critical level? Default > values of this plugin is 15,10,5 for warning and 30,25,20 for > critical. The plugin checks all three values. As I understand it, it would raise a warning if 1 minute load was over 15 or 5 minute load was over 10 or 15 minute load was over 5. > Load (from uptime command) from my prior server > is:2.59,1.91,1.40. Is this hard? The load was obviously increasing at the time you checked it (the 1 minute average is double the 15 minute average) but other than that it looks OK. The defaults are nicely judged - I'd generally start worrying if the 15 minute average was hitting 5 or either of the others was hitting double figures. Phil ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 16 18:54:01 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 16 Apr 2003 12:54:01 -0400 (EDT) Subject: Timeperiod already been defined In-Reply-To: <9667A0D2033CD51195F90002B330A3BF04CBA281@moe.fhcrc.org> References: <9667A0D2033CD51195F90002B330A3BF04CBA281@moe.fhcrc.org> Message-ID: nagios reads timeperiods.cfg twice because it is defined twice... once with a cfg_file and once with a cfg_dir -remove the cfg_file entery and you should be fine. -sg On Wed, 16 Apr 2003, Gotner, James wrote: > Error message as stated in original post > > Error: Timeperiod 'worktime' has already been defined. > Error: Could not register timeperiod (config file > '/usr/local/nagios/etc/templates/timeperiods.cfg', line 30) > > RELEVANT LINES TAKEN FROM NAGIOS.CFG > ----------------- > cfg_file=/usr/local/nagios/etc/templates/timeperiods.cfg > > cfg_dir=/usr/local/nagios/etc/templates/ > > ----------------------- > > These are the only things that relate to **any** timeperiod definitions. If > I rename the timeperiod 'worktime', the error changes accordingly. If I > delete that definition, then I recieve the exact same error for my other > timeperiod, '24x7'. I did a grep on all of my template-based config files > for worktime, and it only comes up once in timeperiods.cfg. I can change it > to 'foobar' and it will still say its already defined. > > James Gotner > > Security Certified Network Professional > A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional > Certified Internet Webmaster Associate > > On Tue, 2003-04-15 at 16:46, Gotner, James wrote: > > List members, > > > > I am having no luck getting this going. I have tried removing the > second > > entry, only to have nagios -v complain about the first entry already being > > defined. I did a grep on all of my config files and the timeperiods only > > show up in timeperiods.cfg once each. I have tried changing the > timeperiod > > names and I have tried retyping the config file from scratch and still get > > the same problem... Could someone look at my config file and tell me if > > there is anything wrong? I built my config file according to the > > documentation, so I wouldnt think that there is a problem. Is there a > > problem compiling nagios with gcc that comes with redhat 7.3? I know > there > > have been intermittent problems with gcc 2.96, since it is actually > redhat's > > version and not supported by the gcc community, and also has caused > problems > > with compiling other programs... Has anyone gotten nagios to work on RH > 7.3 > > at all? Has anyone had a problem compiling nagios with gcc v3.2.x, as > that > > will probably be my next step? Can nagios work under cygwin, so I can > test > > my config files at least? Thanks for any help... > > > > James Gotner > > > > Security Certified Network Professional > > A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional > > Certified Internet Webmaster Associate > > > > > > > > -----Original Message----- > > From: Gotner, James > > Sent: Thursday, April 10, 2003 2:16 PM > > To: 'nagios-users at lists.sourceforge.net' > > Subject: [Nagios-users] Timeperiod already been defined > > > > > > OK, solve one problem, get into another... While running nagios -v, I now > > receive an error stating that **timeperiod 'worktime' has already been > > defined**. And - **Error: Could not register timeperiod** 'worktime'. > > Well, I have all timeperiods defined in one file, timeperiods.cfg, and > > worktime and one other, 24x7, are the only ones defined. Apparently, > nagios > > accepts the 24x7 definition, as I get an error on the second one. I > > searched through the archives, and noticed someone with a similar problem. > > They recompiled the program and their problem was solved... Well, that > didnt > > work for me... Any suggestions on what else to check? Thanks. > > > > Nagios v1.0 > > RedHat Linux 7.3 > > > > timeperiods.cfg > > ----------------- > > > > # Time Period Definition > > # Description: A time period is a list of times during various days that > are > > # considered to be "valid" times for notificatins and service checks. It > > # consists of one or more time periods for each day of the week that > > "rotate" > > # once the week has come to an end. Exceptions to the weekly time range > are > > # not supported. > > > > #define timeperiod{ > > # timeperiod_name timeperiod_name ; Short name used to > > ID the timeperiod > > # alias alias ; > > Description for timeperiod > > # sunday 00:00-24:00 ; Time > > periods to be used, seperate with commas for multiple timeperiods > > # monday 00:00-24:00 ; If you do > > not want any notification on a certian day, then do not > > # tuesday 00:00-24:00 ; include > > the day in the definition or comment out. > > # wednesday 00:00-24:00 > > # thursday 00:00-24:00 > > # friday 00:00-24:00 > > # saturday 00:00-24:00 > > #} > > > > define timeperiod{ > > timeperiod_name 24x7 > > alias All the time > > sunday 00:00-24:00 > > monday 00:00-24:00 > > tuesday 00:00-24:00 > > wednesday 00:00-24:00 > > thursday 00:00-24:00 > > friday 00:00-24:00 > > saturday 00:00-24:00 > > } > > > > define timeperiod{ > > timeperiod_name worktime > > alias The Nine to Fiver > > # sunday ; Not used > > monday 09:00-17:00 > > tuesday 09:00-17:00 > > wednesday 09:00-17:00 > > thursday 09:00-17:00 > > friday 09:00-17:00 > > # saturday ; Not used > > } > > > > ---End timeperiods.cfg-------- > > > > > > James Gotner > > > > Security Certified Network Professional > > A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional > > Certified Internet Webmaster Associate > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgotner at fhcrc.org Wed Apr 16 19:09:49 2003 From: jgotner at fhcrc.org (Gotner, James) Date: Wed, 16 Apr 2003 10:09:49 -0700 Subject: Timeperiod already been defined Message-ID: <9667A0D2033CD51195F90002B330A3BF04CBA283@moe.fhcrc.org> So, the purpose of the cfg_file directive is for any files that are not located within the directories listed under the cfg_dir directive? Is this correct? If so, then the documentation is very vague in what goes under these two directives. James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Wednesday, April 16, 2003 9:54 AM To: Gotner, James Cc: Nagios (E-mail) Subject: RE: [Nagios-users] Timeperiod already been defined nagios reads timeperiods.cfg twice because it is defined twice... once with a cfg_file and once with a cfg_dir -remove the cfg_file entery and you should be fine. -sg On Wed, 16 Apr 2003, Gotner, James wrote: > Error message as stated in original post > > Error: Timeperiod 'worktime' has already been defined. > Error: Could not register timeperiod (config file > '/usr/local/nagios/etc/templates/timeperiods.cfg', line 30) > > RELEVANT LINES TAKEN FROM NAGIOS.CFG > ----------------- > cfg_file=/usr/local/nagios/etc/templates/timeperiods.cfg > > cfg_dir=/usr/local/nagios/etc/templates/ > > ----------------------- > > These are the only things that relate to **any** timeperiod definitions. If > I rename the timeperiod 'worktime', the error changes accordingly. If I > delete that definition, then I recieve the exact same error for my other > timeperiod, '24x7'. I did a grep on all of my template-based config files > for worktime, and it only comes up once in timeperiods.cfg. I can change it > to 'foobar' and it will still say its already defined. > > James Gotner > > Security Certified Network Professional > A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional > Certified Internet Webmaster Associate > > On Tue, 2003-04-15 at 16:46, Gotner, James wrote: > > List members, > > > > I am having no luck getting this going. I have tried removing the > second > > entry, only to have nagios -v complain about the first entry already being > > defined. I did a grep on all of my config files and the timeperiods only > > show up in timeperiods.cfg once each. I have tried changing the > timeperiod > > names and I have tried retyping the config file from scratch and still get > > the same problem... Could someone look at my config file and tell me if > > there is anything wrong? I built my config file according to the > > documentation, so I wouldnt think that there is a problem. Is there a > > problem compiling nagios with gcc that comes with redhat 7.3? I know > there > > have been intermittent problems with gcc 2.96, since it is actually > redhat's > > version and not supported by the gcc community, and also has caused > problems > > with compiling other programs... Has anyone gotten nagios to work on RH > 7.3 > > at all? Has anyone had a problem compiling nagios with gcc v3.2.x, as > that > > will probably be my next step? Can nagios work under cygwin, so I can > test > > my config files at least? Thanks for any help... > > > > James Gotner > > > > Security Certified Network Professional > > A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional > > Certified Internet Webmaster Associate > > > > > > > > -----Original Message----- > > From: Gotner, James > > Sent: Thursday, April 10, 2003 2:16 PM > > To: 'nagios-users at lists.sourceforge.net' > > Subject: [Nagios-users] Timeperiod already been defined > > > > > > OK, solve one problem, get into another... While running nagios -v, I now > > receive an error stating that **timeperiod 'worktime' has already been > > defined**. And - **Error: Could not register timeperiod** 'worktime'. > > Well, I have all timeperiods defined in one file, timeperiods.cfg, and > > worktime and one other, 24x7, are the only ones defined. Apparently, > nagios > > accepts the 24x7 definition, as I get an error on the second one. I > > searched through the archives, and noticed someone with a similar problem. > > They recompiled the program and their problem was solved... Well, that > didnt > > work for me... Any suggestions on what else to check? Thanks. > > > > Nagios v1.0 > > RedHat Linux 7.3 > > > > timeperiods.cfg > > ----------------- > > > > # Time Period Definition > > # Description: A time period is a list of times during various days that > are > > # considered to be "valid" times for notificatins and service checks. It > > # consists of one or more time periods for each day of the week that > > "rotate" > > # once the week has come to an end. Exceptions to the weekly time range > are > > # not supported. > > > > #define timeperiod{ > > # timeperiod_name timeperiod_name ; Short name used to > > ID the timeperiod > > # alias alias ; > > Description for timeperiod > > # sunday 00:00-24:00 ; Time > > periods to be used, seperate with commas for multiple timeperiods > > # monday 00:00-24:00 ; If you do > > not want any notification on a certian day, then do not > > # tuesday 00:00-24:00 ; include > > the day in the definition or comment out. > > # wednesday 00:00-24:00 > > # thursday 00:00-24:00 > > # friday 00:00-24:00 > > # saturday 00:00-24:00 > > #} > > > > define timeperiod{ > > timeperiod_name 24x7 > > alias All the time > > sunday 00:00-24:00 > > monday 00:00-24:00 > > tuesday 00:00-24:00 > > wednesday 00:00-24:00 > > thursday 00:00-24:00 > > friday 00:00-24:00 > > saturday 00:00-24:00 > > } > > > > define timeperiod{ > > timeperiod_name worktime > > alias The Nine to Fiver > > # sunday ; Not used > > monday 09:00-17:00 > > tuesday 09:00-17:00 > > wednesday 09:00-17:00 > > thursday 09:00-17:00 > > friday 09:00-17:00 > > # saturday ; Not used > > } > > > > ---End timeperiods.cfg-------- > > > > > > James Gotner > > > > Security Certified Network Professional > > A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional > > Certified Internet Webmaster Associate > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Apr 16 19:50:30 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 16 Apr 2003 12:50:30 -0500 Subject: nagios && rrd Message-ID: Those are, indeed, compelling arguments. Of course, were it a simple matter to do integrate RRDs into Nagios, the present groundswell for some sort of relatively painless integration (thus excluding APAN) would not exist. In defense of relational databases: - the database server could exist on another host - the database server could collect data from the start, and not be forced to expire data which exceeds a time period defined at the moment of creation - queries could be for arbitrary 'from' and 'to' dates/times and graphed in kind I'm not saying that MySQL/JpGraph is The Way To Go, but like all things Nagios (and in Perl, and in other things): TMTOWTDI :) About a year ago (before I started working on installing Nagios here), one of my associates installed LARRD on our Big Brother system. He indicated it was pretty simple to do, and the results were impressive. If there were a LARRD-like solution for Nagios, we could return to the more banal questions du jour. ;) If I were to envision a LARRD-like solution for Nagios, then missing RRDs would be created whenever Nagios was restarted, and default values for each class of service would be more than sufficient for most sites. jc > -----Original Message----- > From: Stanley Hopcroft [mailto:Stanley.Hopcroft at IPAustralia.Gov.AU] > Sent: Tuesday, April 15, 2003 6:24 PM > To: Carroll, Jim P [Contractor] > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios && rrd > > > Dear Ladies and Gentlemen, > > This little black ducks 0.02 worth (that's cents there folks) is that > RRDs are superior to databases for __time series__ data because > > . leading software such as MRTG, Orca, Ntop and so on have made that > conclusion, in some cases switching from other means of data > persistence > (mySQL for Ntop) > > . RRDs have a fixed size > > . RRDs automatically deal with exceptions (data that is too large or > small) and missing data (by interpolation). The update > application would > have to deal with these cases otherwise > > . have built in anomaly detection (Holt-Winters forecasting > in RRD dev > releases) that aids the identification of problems or faults for time > series that exhibit periodicity (eg a router interface that shows > a greater range of values and more variation during the > business hours > than otherwise exhibits diurnal periodicity) > > . are popular with those developing network management > applications (Cacti, Cricket, RRDFrameWork) > > 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Apr 16 19:51:36 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 16 Apr 2003 12:51:36 -0500 Subject: nagios && rrd Message-ID: You should see the sample code for JpGraph. It's jaw-droppingly simple. :) Compare that to trying to create an RRD from scratch. ;) jc > -----Original Message----- > From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] > Sent: Tuesday, April 15, 2003 6:33 PM > To: Carroll, Jim P [Contractor]; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios && rrd > > > good god Jim - are you crazy? Do you mean write code rather > than hack it? > > what are they feeding you there? > > :-) > > jamie > > ----- Original Message ----- > From: "Carroll, Jim P [Contractor]" > To: > Sent: Wednesday, April 16, 2003 8:32 AM > Subject: RE: [Nagios-users] nagios && rrd > > > > If I could make a suggestion for 'thinking outside the box', why use > RRDtool > > at all? Consider the following components: > > > > - PHP > > - JpGraph http://www.aditus.nu/jpgraph/ > > - MySQL (or PostgreSQL) > > > > Periodically slurp serviceperf.log and dump into MySQL. > Hit PHP to query > > the database and drive the JpGraph-based output on demand. > > > > Thoughts? > > > > jc > > > > > > > -----Original Message----- > > > From: mark [mailto:mark at woodstream.net] > > > Sent: Tuesday, April 15, 2003 1:26 PM > > > To: Subhendu Ghosh > > > Cc: John Sellens; jason at cannonfodder.org; > > > nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] nagios && rrd > > > > > > > > > Sure. I looked at APAN and here is what I didn't like. > The main thing > > > was that I had to manually create an rrd store for each thing > > > I wanted > > > to graph. While this is fine for small, static shops, larger > > > places with > > > a somewhat dynamic base will quickly get tired of this. > That is why I > > > like Orca. All I have to do is feed it a log file and it > creates and > > > manages the rrd for me. Beyond install, I never have to touch > > > rrd. The > > > second, minor, thing is creating a service for each APAN > > > item. Now it's > > > true, I have to create a service for each thing I want to monitor > > > anyway. But if I all ready have say 5k+ services, adding APAN > > > to those > > > could become tedious. Again, I'm thinking I could write some > > > quick logic > > > that feeds the data into Orca / rrd without my intervention. > > > This should > > > be easy as the HOSTNAME, HOSTALIAS, HOSTADDRESS, SERVICE, etc. are > > > available. > > > > > > So, dynamic creation of rrd objects and a more variable > > > based, centralized > > > method for adding the APAN services would be my suggestions. > > > Again, the > > > dynamic rrd creation is the big one. > > > > > > Mark > > > > > > On Tue, 15 Apr 2003, Subhendu Ghosh wrote: > > > > > > > Before you go off and start coding - any comments or > suggestion for > > > > improvement with APAN? > > > > > > > > -sg > > > > > > > > On Tue, 15 Apr 2003, mark wrote: > > > > > > > > > I agree. This is a solution that I plan on implementing > > > also. I have > > > > > heard / seen at least one other person mention this also. > > > Sounds like > > > > > it's about time one (or all) of us got on with it and get > > > Orca working > > > > > with Nagios. > > > > > > > > > > > > > > > Jason, did you have any ideas on how you were going to > > > hand the data to > > > > > Orca? I see two options, you could run a process for each > > > piece of data, > > > > > which would be each event(?), and run Orca in the rrd > > > insert only mode. > > > > > Or, you could write to a log file and have Orca batch > > > load the data. The > > > > > second is my choice but I haven't come up with a clear / > > > clean way to > > > > > write the data to logs in a format that Orca likes. I > > > think I would need > > > > > a log for each host and possibly for each service. Anyone > > > else come to a > > > > > similar conclusion? > > > > > > > > > > Mark > > > > > > > > > > > > > > > On Tue, 15 Apr 2003, John Sellens wrote: > > > > > > > > > > > | From: Jason Burnett > > > > > > | Date: Thu, 20 Mar 2003 17:15:55 -0500 > > > > > > | > > > > > > | Is anyone else using RRD to process the service-perf > > > data? If so, what > > > > > > | are you using to parse out the $PERFDATA$ & $OUTPUT$ > > > info? We are > > > > > > | working on perl to parse it out and put it in RRD for > > > us, but if > > > > > > | someone has found an easier way to do this please > let me know. > > > > > > > > > > > > My belief, which I haven't implemented yet, is that a good > > > > > > graphing/trending mechanism is to log the host and > > > service perfdata > > > > > > from within Nagios, and then use Orca > > (http://www.orcaware.com/orca/) > > > > > to insert the data into RRD files and manage the HTML > interface. > > > > > > > > > > I'm reasonably optimistic that this is a good idea. > > > > > > > > > > John > > > > > jsellens at generalconcepts.com > > > > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at woodstream.net Wed Apr 16 23:10:11 2003 From: mark at woodstream.net (mark) Date: Wed, 16 Apr 2003 17:10:11 -0400 (EDT) Subject: nrpe-2.0b2 on FreeBSD In-Reply-To: References: Message-ID: Has anyone managed to compile nrpe-2.0b2 on FreeBSD with command args enabled? I'm trying to compile it on FreeBSD-4.8, here is what I get: ./configure --enable-ssl --enable-command-args [config works fine] # make all cd ./src/; make ; cd .. gcc -g -O2 -I/usr/local/include/openssl -DHAVE_CONFIG_H -L/usr/local/lib -lssl -lcrypto -o nrpe nrpe.c utils.c nrpe.c: In function `validate_request': nrpe.c:1327: `x' undeclared (first use in this function) nrpe.c:1327: (Each undeclared identifier is reported only once nrpe.c:1327: for each function it appears in.) *** Error code 1 Stop in /usr/local/src/nrpe-2.0b2/src. *** Error code 1 Stop in /usr/local/src/nrpe-2.0b2. # It's definitly in the "arguments" part of the code. I defined x in nrpe.c and while it compiled, nrpe didn't work then. I'm sure I just defined it wrong. Anyone know how it should be defined and where in nrpe.c it should be defined? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Thu Apr 17 00:03:58 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Thu, 17 Apr 2003 06:03:58 +0800 Subject: Fwd: Re: [Nagiosplug-help] Plugin help and needed! Message-ID: <200304170604.02678.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Will only post to 1 list thanks. Sorry oops.. i type wrongly. I want the status to return OK if the port is CLOSE. Can check_tcp plugin do that? - -- Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+ndNONgvTa7Hj2AURAludAJ9RFFaW09/SBlh/NJVn335eXGzgzgCgoeyh RrgkFvEVqFcopyRSNWUbjos= =Yrz0 -----END PGP SIGNATURE----- -------------- next part -------------- An embedded message was scrubbed... From: Subhendu Ghosh Subject: Re: [Nagiosplug-help] Plugin help and needed! Date: Wed, 16 Apr 2003 12:55:56 -0400 (EDT) Size: 6569 URL: From GBunting864 at Worldsavings.com Thu Apr 17 00:00:35 2003 From: GBunting864 at Worldsavings.com (Bunting, Glen, IG) Date: Wed, 16 Apr 2003 15:00:35 -0700 Subject: problems with snmpget & APAN Message-ID: <6CF7A192A85BD1458E7C5F35D607750C7BF8E9@ok1ems2.worldsavings.com> All, I am currently running nagios with APAN for some services. I am trying to get the bandwidth usage of one of our win2k boxes. I think I have everything set up correctly, but from the nagios page I am getting an unknown status with the message the snmp returned no data. when I run the command from the command line, I get SNMP OK - 19099227. When I look at /tmp/apan.debug, I get the following error: Wed Apr 16 14:38:10 PDT 2003 Args: snmpget GlenNT Net-usage 1050529090 10 20 Could not insert ':IN' , '1050529090:19089543' into /usr/local/nagios/rrd/GlenNT_Net-usage.rrd Wed Apr 16 14:39:10 PDT 2003 Args: snmpget GlenNT Net-usage 1050529150 10 20 Could not insert ':IN' , '1050529150:19090595' into /usr/local/nagios/rrd/GlenNT_Net-usage.rrd Here are the relevant configs: apan.cfg: # Bandwidth Usage GlenNT;Net-usage;/usr/local/nagios/rrd/GlenNT_Net-usage.rrd;public:.1.3.6.1.2.1.2.2.1.10.1|public:.1.3.6.1.2.1.2.2.2.1.16.1;IN:LINE2 OUT:LINE2;Network throughput;Bytes/Sec; services.cfg: # Service definition for bandwidth usage define service{ host_name GlenNT service_description Net-usage is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command apan!snmpget!10!20 use generic-service normal_check_interval 1 } The rrd was created with the following command: rrdtool create /usr/local/nagios/rrd/GlenNT_Net-usage.rrd -s 60 DS:IN:COUNTER:300:0:U DS:OUT:COUNTER:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 What have I miss-configured? Thanks Glen ***************************************************************************** If you are not the intended recipient of this e-mail, please notify the sender immediately. The contents of this e-mail do not amend any existing disclosures or agreements unless expressly stated. ***************************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From HarlanRichardC at JohnDeere.com Wed Apr 16 22:01:43 2003 From: HarlanRichardC at JohnDeere.com (Harlan Richard C) Date: Wed, 16 Apr 2003 15:01:43 -0500 Subject: Error Code 127 Message-ID: <88DBF0F5824B31449104920BF89A758FC1B827@edxmb3.jdnet.deere.com> I am getting a error code 127 on a new plugin we have been using. I have check the commands.cfg and it is pointing to the right place. The only thing I can think of is Nagios does not like the plugin output. I have attach the code for the plugin. Any help would be great. Thanks -------------- next part -------------- A non-text attachment was scrubbed... Name: database update Type: application/octet-stream Size: 2117 bytes Desc: not available URL: From jamie.baddeley at vpc.co.nz Thu Apr 17 00:31:45 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Thu, 17 Apr 2003 10:31:45 +1200 Subject: nagios && rrd References: <352B04312822444A962714393AED8A4D026840@ADAEVS01.int.chickasaw.net> Message-ID: <002a01c30467$f82ce420$b58031ca@bcl977307> I'm using cricket. It's got built in notification capability via email if I get desperate.... ----- Original Message ----- From: "Jeremy Russell" To: "Subhendu Ghosh" ; Sent: Thursday, April 17, 2003 2:33 AM Subject: RE: [Nagios-users] nagios && rrd > I just want to say one thing... I would like to have some sort of > statistic tool, but I would want it integrated closely with Nagios. I > don't want to change UI's form Nagios to a graphing package. I would > think that to be one of the things to think about when developing > something. > > Also, among APAN, Cacti, and Orca are there still others that use > RRDTool? If so could there not be a conglomeration of code for > different features and the such to make a tightly integrated package. > > I guess I'm just thinking outloud. > > Jeremy Russell > Network Administrator, CNI > 580-272-2707 > > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Tuesday, April 15, 2003 12:52 PM > To: mark > Cc: John Sellens; jason at cannonfodder.org; > nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios && rrd > > Before you go off and start coding - any comments or suggestion for > improvement with APAN? > > -sg > > On Tue, 15 Apr 2003, mark wrote: > > > I agree. This is a solution that I plan on implementing also. I have > > heard / seen at least one other person mention this also. Sounds like > > it's about time one (or all) of us got on with it and get Orca working > > > with Nagios. > > > > > > Jason, did you have any ideas on how you were going to hand the data > to > > Orca? I see two options, you could run a process for each piece of > data, > > which would be each event(?), and run Orca in the rrd insert only > mode. > > Or, you could write to a log file and have Orca batch load the data. > The > > second is my choice but I haven't come up with a clear / clean way to > > write the data to logs in a format that Orca likes. I think I would > need > > a log for each host and possibly for each service. Anyone else come to > a > > similar conclusion? > > > > Mark > > > > > > On Tue, 15 Apr 2003, John Sellens wrote: > > > > > | From: Jason Burnett > > > | Date: Thu, 20 Mar 2003 17:15:55 -0500 > > > | > > > | Is anyone else using RRD to process the service-perf data? If so, > what > > > | are you using to parse out the $PERFDATA$ & $OUTPUT$ info? We are > > > | working on perl to parse it out and put it in RRD for us, but if > > > | someone has found an easier way to do this please let me know. > > > > > > My belief, which I haven't implemented yet, is that a good > > > graphing/trending mechanism is to log the host and service perfdata > > > from within Nagios, and then use Orca > (http://www.orcaware.com/orca/) > > > to insert the data into RRD files and manage the HTML interface. > > > > > > I'm reasonably optimistic that this is a good idea. > > > > > > John > > > jsellens at generalconcepts.com > > > > -- > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Apr 17 00:32:04 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 16 Apr 2003 17:32:04 -0500 Subject: Error Code 127 Message-ID: <5DB017510818EC468B05BD7BD9EACF83030EDC54@mismail.ena.com> Typically a 127 return code means that nagios cannot find or execute the plugin. If the output of your program were bad you'd see something like 'No Output' as a response. Can you send the command definition and any relevant macro definitions? Also check the permissions on the program. Is it executable by the nagios user? i.e. typically 755? -- Marc > -----Original Message----- > From: Harlan Richard C [mailto:HarlanRichardC at JohnDeere.com] > Sent: Wednesday, April 16, 2003 3:02 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Error Code 127 > > I am getting a error code 127 on a new plugin we have been using. I have > check the commands.cfg and it is pointing to the right place. The only > thing > I can think of is Nagios does not like the plugin output. I have attach > the > code for the plugin. Any help would be great. Thanks > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JTorres at abnamroprime.com Thu Apr 17 00:27:10 2003 From: JTorres at abnamroprime.com (Torres, Joe) Date: Wed, 16 Apr 2003 18:27:10 -0400 Subject: Seek files and refresh Message-ID: <9F6689758D87D51191180002A55CB988067FF61D@pb350exc.ingprime.com> Can someone tell me what I am doing wrong: I am checking various logs like adm messages rm6 logs etc I am using the perl script called check_log2.pl this script works with arguements passed to it and one of them is creating a seek file for every error pattern search Well that works ok when the error is encounter it shows it in the info column on the web browser that's also fine The problem I am having is that the error stays in the info column even after a refresh occurs what is causing this? It has nothing to do with the refresh option in the cgi.cfg file that's refreshing every 30 seconds Can someone point me in the right direction I would appreciated Thank you -------------------------- Sent from my BlackBerry Wireless Handheld (www.BlackBerry.net) This message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. ABN AMRO Bank N.V. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. ABN AMRO Bank N.V. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Apr 17 01:06:59 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 16 Apr 2003 18:06:59 -0500 Subject: Seek files and refresh Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D432E@mismail.ena.com> Nagios will always display the last info it gets until that info changes. When the error clears does check_log2 update the info? -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Torres, Joe To: 'nagios-users at lists.sourceforge.net' Sent: Wed Apr 16 17:27:10 2003 Subject: [Nagios-users] Seek files and refresh Can someone tell me what I am doing wrong: I am checking various logs like adm messages rm6 logs etc I am using the perl script called check_log2.pl this script works with arguements passed to it and one of them is creating a seek file for every error pattern search Well that works ok when the error is encounter it shows it in the info column on the web browser that's also fine The problem I am having is that the error stays in the info column even after a refresh occurs what is causing this? It has nothing to do with the refresh option in the cgi.cfg file that's refreshing every 30 seconds Can someone point me in the right direction I would appreciated Thank you -------------------------- Sent from my BlackBerry Wireless Handheld (www.BlackBerry.net) This message (including any attachments) is confidential and may be privileged. If you have received it by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change. ABN AMRO Bank N.V. (including its group companies) shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. ABN AMRO Bank N.V. (or its group companies) does not guarantee that the integrity of this communication has been maintained nor that this communication is free of viruses, interceptions or interference. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 frank.gadot at epscorp.com Thu Apr 17 01:28:06 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 16 Apr 2003 19:28:06 -0400 Subject: nagios.cmd Message-ID: <1050535686.15427.32.camel@localhost> Hi All, I again did reinstall everything and it still does not work. Anyone has an idea of why i got this error message when I try to add a downtime, comment, or anything else that require nagios.cmd ? : Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! root at nagios:/usr/local/nagios/var/rw> ls -la prw-rw---- 1 nagios nagios 0 Apr 16 19:20 /usr/local/nagios/var/rw/nagios.cmd I would appreciate all help. thank you ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marek.dohojda at linksys.com Thu Apr 17 01:42:29 2003 From: marek.dohojda at linksys.com (Marek Dohojda) Date: Wed, 16 Apr 2003 16:42:29 -0700 Subject: nagios.cmd Message-ID: <202FFF2E883FC640B0E12B88EA98FD37036A47@mail2.hq.linksys.com> Do chmod 777 on that file, and see what happenes. -----Original Message----- From: Frank Gadot [mailto:frank.gadot at epscorp.com] Sent: Wednesday, April 16, 2003 4:28 PM To: Nagios-Users Subject: [Nagios-users] nagios.cmd Hi All, I again did reinstall everything and it still does not work. Anyone has an idea of why i got this error message when I try to add a downtime, comment, or anything else that require nagios.cmd ? : Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! root at nagios:/usr/local/nagios/var/rw> ls -la prw-rw---- 1 nagios nagios 0 Apr 16 19:20 /usr/local/nagios/var/rw/nagios.cmd I would appreciate all help. thank you ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From durket at stanford.edu Thu Apr 17 01:54:14 2003 From: durket at stanford.edu (Michael Durket) Date: Wed, 16 Apr 2003 16:54:14 -0700 Subject: Unpredictable services times (possible solution found) Message-ID: <20030416165414.5fcd2a2a.durket@stanford.edu> I may have found a solution to the service scheduler lockups I was experiencing. In an effort to minimize the load on the monitoring system, I had increased the service reaper frequency value to 60 seconds from the original default value. Changing it back to its default value corrected the problem I was having. My thanks go out to all the nagios users on this list who offered so many helpful suggestions and replied to my message. Michael Durket ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.gadot at epscorp.com Thu Apr 17 01:50:54 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 16 Apr 2003 19:50:54 -0400 Subject: nagios.cmd In-Reply-To: <202FFF2E883FC640B0E12B88EA98FD37036A47@mail2.hq.linksys.com> References: <202FFF2E883FC640B0E12B88EA98FD37036A47@mail2.hq.linksys.com> Message-ID: <1050537054.15427.34.camel@localhost> same message .. On Wed, 2003-04-16 at 19:42, Marek Dohojda wrote: > Do chmod 777 on that file, and see what happenes. > > -----Original Message----- > From: Frank Gadot [mailto:frank.gadot at epscorp.com] > Sent: Wednesday, April 16, 2003 4:28 PM > To: Nagios-Users > Subject: [Nagios-users] nagios.cmd > > > Hi All, > > I again did reinstall everything and it still does not work. Anyone has > an idea of why i got this error message when I try to add a downtime, > comment, or anything else that require nagios.cmd ? : > > Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' > for update! > > > > root at nagios:/usr/local/nagios/var/rw> ls -la > > prw-rw---- 1 nagios nagios 0 Apr 16 19:20 > /usr/local/nagios/var/rw/nagios.cmd > > > I would appreciate all help. thank you > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 17 01:58:59 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 16 Apr 2003 19:58:59 -0400 (EDT) Subject: Plugin help and needed! In-Reply-To: <200304170604.02678.jasmine.chua@securecirt.com> References: <200304170604.02678.jasmine.chua@securecirt.com> Message-ID: check_tcp replies with a critical for closed ports. negate can flip the return code to ok ./negate ./check_tcp -H host -p port -sg On Thu, 17 Apr 2003, Jasmine wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Will only post to 1 list thanks. > Sorry oops.. i type wrongly. I want the status to return OK if the port is > CLOSE. Can check_tcp plugin do that? > - -- > Jasmine Chua > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (GNU/Linux) > > iD8DBQE+ndNONgvTa7Hj2AURAludAJ9RFFaW09/SBlh/NJVn335eXGzgzgCgoeyh > RrgkFvEVqFcopyRSNWUbjos= > =Yrz0 > -----END PGP SIGNATURE----- > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 17 02:01:20 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 16 Apr 2003 20:01:20 -0400 (EDT) Subject: nagios.cmd In-Reply-To: <1050535686.15427.32.camel@localhost> References: <1050535686.15427.32.camel@localhost> Message-ID: the web-user need write permissions. The best way to set this up is to add the nagios group to your apache group and restart apache. -sg On 16 Apr 2003, Frank Gadot wrote: > Hi All, > > I again did reinstall everything and it still does not work. Anyone has > an idea of why i got this error message when I try to add a downtime, > comment, or anything else that require nagios.cmd ? : > > Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' > for update! > > > > root at nagios:/usr/local/nagios/var/rw> ls -la > > prw-rw---- 1 nagios nagios 0 Apr 16 19:20 > /usr/local/nagios/var/rw/nagios.cmd > > > I would appreciate all help. thank you > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Farris at key3media.com Thu Apr 17 02:41:05 2003 From: Ben.Farris at key3media.com (Ben.Farris at key3media.com) Date: Wed, 16 Apr 2003 17:41:05 -0700 Subject: status map internal server error Message-ID: I know I'm missing something pretty obvious here, but I cannot seem to get the status map page to load. I have gd compiled in and libpng.so.3 is where it should be. I did a quick search on the newsgroups and didnt see anything about this nor anything in the install docs. Sorry if this painfully obvious, but does anyone know what I'm missing. The following is my apache error log: [Wed Apr 16 17:21:50 2003] [error] [client xxx.xxx.xx.xxx] Options ExecCGI is off in this directory: /opt/nagios/share//statusmap.cgi ld.so.1: statusmap.cgi: fatal: libpng.so.3: open failed: No such file or directory [Wed Apr 16 17:21:54 2003] [error] [client xxx.xxx.xx.xxx] Premature end of script headers: /opt/nagios/sbin/statusmap.cgi ld.so.1: statusmap.cgi: fatal: libpng.so.3: open failed: No such file or directory [Wed Apr 16 17:23:26 2003] [error] [client xxx.xxx.xx.xxx] Premature end of script headers: /opt/nagios/sbin/statusmap.cgi ld.so.1: statusmap.cgi: fatal: libpng.so.3: open failed: No such file or directory [Wed Apr 16 17:33:07 2003] [error] [client xxx.xxx.xx.xxx] Premature end of script headers: /opt/nagios/sbin/statusmap.cgi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcarr at apple.com Thu Apr 17 02:46:57 2003 From: mcarr at apple.com (Mateo Carr) Date: Wed, 16 Apr 2003 17:46:57 -0700 Subject: Unpredictable service check times fixed? In-Reply-To: <20030415140421.H65536@IPAustralia.Gov.AU> References: <20030415140421.H65536@IPAustralia.Gov.AU> Message-ID: <17D5E83C-706E-11D7-B55B-00039390582A@apple.com> Thank you for all of your help. I am running nagios on OS X. There were a couple of challenges to getting everything compiled and happy, but nothing insurmountable. It is a really great piece of software, and we are looking forward to getting it fully deployed. It turns out that my issue was actually that I was bouncing off of the user maxproc limit and not running out of memory as previously thought.. I determined this for certain by making a small change to the source so that it says which errno condition is set. Now that I have worked around that issue, I have one more quick question, which is related to this situation being triggered to begin with. It seems that over time the service checks all get clumped closer and closer together. I have been sampling the number of nagios user processes every 5 seconds, and over time a pattern like the following emerges: 9 9 9 9 7 7 7 7 7 7 7 7 48 170 64 76 33 31 21 47 55 43 21 17 13 9 6 6 6 6 ......etc.... This grouping of checks is confirmed by looking at the scheduling queue. My question is has anybody else observed such behavior? I realize that I could set the max_concurrent_checks manually as a workaround, it just that I would prefer to let nagios sort it out. Thanks! **Mateo On Monday, April 14, 2003, at 09:04 PM, Stanley Hopcroft wrote: > Dear Sir, > > On Mon, Apr 14, 2003 at 08:47:51PM -0700, Mateo Carr wrote: >> Doah, you're absolutely right. I was running quite low on RAM. I >> should >> have thought to check that (I blame a total lack of sleep). >> >> Thank you for your help! >> > > Thank you very much for > > 1 Going to the trouble to collect the debugging information that was > essential to the resolution of the problem > > 2 Letting me know the result (it's too easy to offer help that actually > isn't because of carelessness in reading or sloppy thinking). > >> Cheers >> **Mateo >> >> > > I hope you get it sorted out. > > (You may want to let the list know that you are doing well on Mac OS if > that's what you are running Nag under. Lot's of developers (eg > Deri/ntop, Lemon/dhcpd choose to code under OS X). > > 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From HarlanRichardC at JohnDeere.com Thu Apr 17 04:01:43 2003 From: HarlanRichardC at JohnDeere.com (Harlan Richard C) Date: Wed, 16 Apr 2003 21:01:43 -0500 Subject: Error Code 127 Message-ID: <88DBF0F5824B31449104920BF89A758F2368BE@edxmb3.jdnet.deere.com> Found out what I did wrong, it was a long day and I froget to check the services.cfg file I had a older test plugin there. I change to the new plugin and everything work. Thanks -----Original Message----- From: Harlan Richard C Sent: Wed 4/16/2003 3:01 PM To: nagios-users at lists.sourceforge.net Cc: Subject: [Nagios-users] Error Code 127 I am getting a error code 127 on a new plugin we have been using. I have check the commands.cfg and it is pointing to the right place. The only thing I can think of is Nagios does not like the plugin output. I have attach the code for the plugin. Any help would be great. Thanks ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Thu Apr 17 07:47:32 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 17 Apr 2003 07:47:32 +0200 Subject: APAN References: <52230.24.72.6.129.1050521606.squirrel@webmail.bangtherockstogether.ne t> Message-ID: <3E9E3FF4.1010909@datavis.se> 1) Yes, all these are required. I use to st all required params in my templates and the re-set them in the object-definitions if I want another value. 2) Apan does not work with NRPE, but Im working on a major rewriting of Apan. In the new version I will try to make it able to be fed with data from NRPE or other passive checks. The new version will also have a format on the config file(s) that looks more like Nagios (probably even templates) /FredrikW Lonny Selinger wrote: >Just curious if anyone is currently running apan on their systems. I've tried >creating different templates in services to see if I can get any output but I get an >error in my config using entries as they appear in the documentation. From something >like: > >define service { >host_name server >service_description Ping >check_command apan!ping!100.0,20%!500.0,60% >name Ping >use generic-service >normal_check_interval 1 >} > >I get: > >Error: Invalid max_attempts, check_interval, retry_interval, or >notification_interval value for service 'Ping' on host ... > >Does every service actually require all of the above fields? >Also ... I'm assuming the only checks you can do are the ones included with apan ... >but from the syntax it appears as though you can't actually obtain the data from >nrpe (unless you write a parallel branch of plugins made specifically to do this) >... is this correct? > >Just looking for a little light :) >TIA > >-- >Lonny > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Brad at pretzel.com.au Thu Apr 17 07:49:04 2003 From: Brad at pretzel.com.au (Brad Dunn) Date: Thu, 17 Apr 2003 13:49:04 +0800 Subject: Gnokii says yes..i say no Message-ID: <131A385F21AAD311BD6400902763781D020DD436@Z8> Hi there, I had a question about gnokii in relation to sending nagios SMS alerts. First off this is on a Debian linux box and gnokii works no worries from the command line. Nagios Also has the permissions in order to run gnokii commands as when I su to nagios I can still send sms's manually etc. Next this is from my /var/nagios.log file which to me seems to indicate that the SMS's are being send ok. (which they aren't) [1050586817] SERVICE NOTIFICATION: nagios;server91;FTP;OK;notify-by-sms;FTP OK - 0.008 second response time on port 21 [220 server91 Micro soft FTP Service (Version 5.0).] This is what my contacts.cfg looks like # '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,notify-by-sms host_notification_commands host-notify-by-email,host-notify-by-sms email alerts at pretzel.com.au pager 0420000000 } And this is what my misccommands.cfg looks like # 'notify-by-sms' define command{ command_name notify-by-sms command_line /bin/echo '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ ($OUTPUT$)'| /usr/local/bin/gnokii --sendsm s $CONTACTPAGER$ } # 'host-notify-by-sms' define command{ command_name host-notify-by-sms command_line /bin/echo '$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$ ($OUTPUT$)' | /usr/local/bin/gnokii --sendsms $CONTACTPAGER$ } Note # my gnokii bin sits [/usr/local/bin/gnokii] The gnokii config file looks like this [global] port = /dev/ttyS0 model = 7110 initlength = default connection = serial bindir = /usr/sbin/ Now I cant find any other useful gnokii / nagios logs that are reporting any errors that would help me work this out. Does anyone have any suggestions, I've been through the forums and FAQ's etc with little luck on finding a solution. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Thu Apr 17 07:51:26 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 17 Apr 2003 07:51:26 +0200 Subject: problems with snmpget & APAN References: <6CF7A192A85BD1458E7C5F35D607750C7BF8E9@ok1ems2.worldsavings.com> Message-ID: <3E9E40DE.2040303@datavis.se> Do you have GlenNT in ypur /etc/hosts file? What happens if you run 'snmpget -c public GlenNT .1.3.6.1.2.1.2.2.1.10.1' (or 'snmpwalk GlenNT public .1.3.6.1.2.1.2.2.1.10.1' if you have ucd-snmp < version 5)? /FredrikW Bunting, Glen, IG wrote: >All, > >I am currently running nagios with APAN for some services. I am trying to get the bandwidth usage of one of our win2k boxes. I think I have everything set up correctly, but from the nagios page I am getting an unknown status with the message the snmp returned no data. when I run the command from the command line, I get SNMP OK - 19099227. When I look at /tmp/apan.debug, I get the following error: > >Wed Apr 16 14:38:10 PDT 2003 Args: snmpget GlenNT Net-usage 1050529090 10 20 >Could not insert ':IN' , '1050529090:19089543' into /usr/local/nagios/rrd/GlenNT_Net-usage.rrd >Wed Apr 16 14:39:10 PDT 2003 Args: snmpget GlenNT Net-usage 1050529150 10 20 >Could not insert ':IN' , '1050529150:19090595' into /usr/local/nagios/rrd/GlenNT_Net-usage.rrd > >Here are the relevant configs: >apan.cfg: > ># Bandwidth Usage >GlenNT;Net-usage;/usr/local/nagios/rrd/GlenNT_Net-usage.rrd;public:.1.3.6.1.2.1.2.2.1.10.1|public:.1.3.6.1.2.1.2.2.2.1.16.1;IN:LINE2 OUT:LINE2;Network throughput;Bytes/Sec; > >services.cfg: > ># Service definition for bandwidth usage > >define service{ > host_name GlenNT > service_description Net-usage > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > check_command apan!snmpget!10!20 > use generic-service > normal_check_interval 1 > } > >The rrd was created with the following command: > >rrdtool create /usr/local/nagios/rrd/GlenNT_Net-usage.rrd -s 60 DS:IN:COUNTER:300:0:U DS:OUT:COUNTER:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 > >What have I miss-configured? > >Thanks > >Glen > > >***************************************************************************** >If you are not the intended recipient of this e-mail, please notify >the sender immediately. The contents of this e-mail do not amend >any existing disclosures or agreements unless expressly stated. >***************************************************************************** > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johannes.dagemark at op5.se Thu Apr 17 08:00:28 2003 From: johannes.dagemark at op5.se (Johannes Dagemark) Date: Thu, 17 Apr 2003 08:00:28 +0200 Subject: Fwd: Re: [Nagiosplug-help] Plugin help and needed! References: <200304170604.02678.jasmine.chua@securecirt.com> Message-ID: <008b01c304a6$a60ae540$0200a8c0@wheeljd> I guess that you could use the negate plugin together with check_tcp. Regards Johannes Dagemark ----- Original Message ----- From: "Jasmine" To: Sent: Thursday, April 17, 2003 12:03 AM Subject: [Nagios-users] Fwd: Re: [Nagiosplug-help] Plugin help and needed! -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Will only post to 1 list thanks. Sorry oops.. i type wrongly. I want the status to return OK if the port is CLOSE. Can check_tcp plugin do that? - -- Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+ndNONgvTa7Hj2AURAludAJ9RFFaW09/SBlh/NJVn335eXGzgzgCgoeyh RrgkFvEVqFcopyRSNWUbjos= =Yrz0 -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Blaauw at solweb.nl Thu Apr 17 11:46:09 2003 From: H.Blaauw at solweb.nl (Hans Blaauw) Date: Thu, 17 Apr 2003 11:46:09 +0200 Subject: Using Nagios with Mysql Status support Message-ID: Hello, I'm trying to use Mysql in combination with Nagios, storing all host and service log entries. I compiled it as described in the manual, added the appropriate entries in cgi.cfg & resource.cfg and made sure the mysql user has every possible authorizations. When I (re)start Nagios the nagios.log says : [1050571874] Error: Could not lock status data tables in database ' ' I tried to do a check_msql, but this produced a seg fault.... How do I get Nagios to recognize the database and eventually write data in it ? Help is very much appreciated !!!!!!! Many thanks in advance !!!! Kind regards, Hans Blaauw ********************************************************************** 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 Stefan.Schindewolf at Infraserv.com Thu Apr 17 12:19:36 2003 From: Stefan.Schindewolf at Infraserv.com (Schindewolf, Stefan, Infraserv-Hoechst/DE) Date: Thu, 17 Apr 2003 12:19:36 +0200 Subject: NSClient "Malformed request or internal error. Check EventLog:Non e&2&1" Message-ID: <2B6CA561B67B72418738D8F3D7853DA3010DA126@20-exchange-1.infraserv.com> Hello. The problem occurs with NSCLIENT 1.07.1 I received the following error, that has been concerning several people on the list: The command line is something like: "/usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v CPULOAD -l 1,85,95,5,75,85,15,55,75" The output is: "Malformed request or internal error. Check EventLog:None&2&1" The output of event log is: "Division by zero" We tracked it down to line 250 in uNSCLIENT.pas: REQ_CPUTOTAL: FindAnswer:= IntToStr(CPUBuffer.GetAverage(StrToIntDef(asArgv[2],60)*12)); It must be the GetAverage call because everything else could not raise this exception. We suppose CPUBuffer.GetAverage is a win32 api call !? Can we sue MS for that "division by zero" shit? On some hosts (running service pack 2) there is no problem. We tried to call the windows performance counters directly (""/usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v COUNTER ...") but are only receiving either 100% or 0% CPULOAD, depending on our parameters. Has anyone a clue how to workaround it? Thanks in advance and best regards. > Stefan Schindewolf > > Infraserv GmbH & Co H?chst KG > Service Center Informationstechnologie > D710, D-65926 Frankfurt > Telefon: (069)305 - 43870 > Fax: (069)305 - 23549 > Mail: stefan.schindewolf at infraserv.com > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve.freegard at lbsltd.co.uk Thu Apr 17 13:55:25 2003 From: steve.freegard at lbsltd.co.uk (Steve Freegard) Date: Thu, 17 Apr 2003 12:55:25 +0100 Subject: Prediction Message-ID: <67D9E7698329D411936E00508B6590B902793512@neelix.lbsltd.co.uk> Hello, I've had an idea for a useful plug-in: prediction - e.g. Based on current hourly/daily/weekly/monthly usage, how many hours/days/months/years will it take for a device (e.g. disk/avg.cpu/avg. memory/avg. bandwith) to run out of capacity or reach a set value (e.g. 80% avg cpu usage), and to be able to set warning and critical values based on this. I'm not really sure how to implement this as it would obviously have to hold the history from another plug-in and be able to work out an average value over a timeperiod and then multiply the value until it reaches a maximum. Anyone else think that this might be useful - or has anyone already implemented this? or have any thoughts about how best to go about implementing this? Kind regards, Steve -- Steve Freegard Systems Manager Littlehampton Book Services Ltd. ********************************************************************** 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.lbsltd.co.uk ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Apr 17 14:35:20 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 17 Apr 2003 22:35:20 +1000 Subject: Prediction In-Reply-To: <67D9E7698329D411936E00508B6590B902793512@neelix.lbsltd.co.uk>; from steve.freegard@lbsltd.co.uk on Thu, Apr 17, 2003 at 12:55:25PM +0100 References: <67D9E7698329D411936E00508B6590B902793512@neelix.lbsltd.co.uk> Message-ID: <20030417223511.A238@IPAustralia.Gov.AU> Dear Sir, You may find Jake Brutlags famous article on Network anomaly detection (written about experience with WebTVs use of the Holt-Winters forcasting of time-series data from _many_ router interfaces). I can't remember the name of the article but it should be easy to find. 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stefan.Schindewolf at Infraserv.com Thu Apr 17 14:37:56 2003 From: Stefan.Schindewolf at Infraserv.com (Schindewolf, Stefan, Infraserv-Hoechst/DE) Date: Thu, 17 Apr 2003 14:37:56 +0200 Subject: NSCLIENT "Malformed request or internal error. Check EventLog:Non e&2&1" Message-ID: <2B6CA561B67B72418738D8F3D7853DA3010DA127@20-exchange-1.infraserv.com> Hello. The problem occurs with NSCLIENT 1.07.1 I received the following error, that has been concerning several people on the list: The command line is something like: "/usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v CPULOAD -l 1,85,95,5,75,85,15,55,75" The output is: "Malformed request or internal error. Check EventLog:None&2&1" The output of event log is: "Division by zero" We tracked it down to line 250 in uNSCLIENT.pas: REQ_CPUTOTAL: FindAnswer:= IntToStr(CPUBuffer.GetAverage(StrToIntDef(asArgv[2],60)*12)); It must be the GetAverage call because everything else could not raise this exception. We suppose CPUBuffer.GetAverage is a win32 api call !? Can we sue MS for that "division by zero" stuff? On some hosts (running service pack 2) there is no problem. We tried to call the windows performance counters directly (""/usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v COUNTER ...") but are only receiving either 100% or 0% CPULOAD, depending on our parameters. Has anyone a clue how to workaround it? Thanks in advance and best regards. > Mit freundlichen Gr??en > > Stefan Schindewolf > > Infraserv GmbH & Co H?chst KG > Service Center Informationstechnologie > D710, D-65926 Frankfurt > Telefon: (069)305 - 43870 > Fax: (069)305 - 23549 > Mail: stefan.schindewolf at infraserv.com > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Thu Apr 17 15:11:37 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Thu, 17 Apr 2003 09:11:37 -0400 Subject: Pop Up Alerts Message-ID: I think I know the answer to this, but just to be sure I'll ask. Does nagios have any JavaScript popups to alert an operator of a problem? Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #426: internet is needed to catch the etherbunny ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at woodstream.net Thu Apr 17 14:58:23 2003 From: mark at woodstream.net (mark) Date: Thu, 17 Apr 2003 08:58:23 -0400 (EDT) Subject: Prediction In-Reply-To: <67D9E7698329D411936E00508B6590B902793512@neelix.lbsltd.co.uk> References: <67D9E7698329D411936E00508B6590B902793512@neelix.lbsltd.co.uk> Message-ID: I think that would be a useful feature. I think howerver instead of just "prediction" we should talk more about growth and capacity planning. Prediction may be confused with failure prediction. With the recent discussions around APAN, Orca, rrd, etc, etc. I can see that prediction could be implemented in the performance graphing arena. For example, if you are graphing the historical trend of a metric, it should be reasonable that you could extrapolate that line out into the future. Of course the more history you have, the more likely that projection is to be accurate. Interesting idea. Jim, I know you've been looking at jgraph, is it capable of extrapolation? If not, does anyone else know of a plotting package that is? Maybe phplot or gnuplot? Mark On Thu, 17 Apr 2003, Steve Freegard wrote: > Hello, > > I've had an idea for a useful plug-in: prediction - e.g. Based on current > hourly/daily/weekly/monthly usage, how many hours/days/months/years will it > take for a device (e.g. disk/avg.cpu/avg. memory/avg. bandwith) to run out > of capacity or reach a set value (e.g. 80% avg cpu usage), and to be able to > set warning and critical values based on this. > > I'm not really sure how to implement this as it would obviously have to hold > the history from another plug-in and be able to work out an average value > over a timeperiod and then multiply the value until it reaches a maximum. > > Anyone else think that this might be useful - or has anyone already > implemented this? or have any thoughts about how best to go about > implementing this? > > Kind regards, > Steve > > -- > Steve Freegard > Systems Manager > Littlehampton Book Services Ltd. > > > ********************************************************************** > 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.lbsltd.co.uk > ********************************************************************** > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Thu Apr 17 15:09:20 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Thu, 17 Apr 2003 09:09:20 -0400 Subject: NRPE vs. check by ssh Message-ID: Which is the prefered way to execute remote plugins, nrpe or check_by_ssh? Are there any particular advantages either way? Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #426: internet is needed to catch the etherbunny ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ellipses at society86.com Thu Apr 17 16:38:39 2003 From: ellipses at society86.com (ellipses) Date: Thu, 17 Apr 2003 09:38:39 -0500 Subject: Pop Up Alerts In-Reply-To: References: Message-ID: <012901c304ef$0b794e60$01a8a8c0@rancid3> Not any that I'm aware of, but that might be a good suggestion for 2. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of > chbaker at powersystems.rockwell.com > Sent: Thursday, April 17, 2003 8:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Pop Up Alerts > > I think I know the answer to this, but just to be sure I'll ask. Does > nagios > have any JavaScript popups to alert an operator of a problem? > > Charles H. Baker > chbaker at powersystems dot rockwell dot com > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > BOFH excuse #426: > internet is needed to catch the etherbunny > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 17 16:30:16 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 17 Apr 2003 10:30:16 -0400 (EDT) Subject: nrpe-2.0b2 on FreeBSD In-Reply-To: References: Message-ID: Mark - what version of gcc is in use? I compile on NetBSD without any problems. -sg On Wed, 16 Apr 2003, mark wrote: > Has anyone managed to compile nrpe-2.0b2 on FreeBSD with command args > enabled? I'm trying to compile it on FreeBSD-4.8, here is what I get: > > ./configure --enable-ssl --enable-command-args > [config works fine] > > > # make all > cd ./src/; make ; cd .. > gcc -g -O2 -I/usr/local/include/openssl -DHAVE_CONFIG_H -L/usr/local/lib > -lssl -lcrypto -o nrpe nrpe.c utils.c > nrpe.c: In function `validate_request': > nrpe.c:1327: `x' undeclared (first use in this function) > nrpe.c:1327: (Each undeclared identifier is reported only once > nrpe.c:1327: for each function it appears in.) > *** Error code 1 > > Stop in /usr/local/src/nrpe-2.0b2/src. > *** Error code 1 > > Stop in /usr/local/src/nrpe-2.0b2. > # > > It's definitly in the "arguments" part of the code. I defined x in nrpe.c > and while it compiled, nrpe didn't work then. I'm sure I just defined it > wrong. Anyone know how it should be defined and where in nrpe.c it should > be defined? > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at woodstream.net Thu Apr 17 16:44:22 2003 From: mark at woodstream.net (mark) Date: Thu, 17 Apr 2003 10:44:22 -0400 (EDT) Subject: nrpe-2.0b2 on FreeBSD In-Reply-To: References: Message-ID: I'm using gcc 2.95.4. I"m also tried using both make and gmake, they both produce the same problem. Mark On Thu, 17 Apr 2003, Subhendu Ghosh wrote: > Mark - what version of gcc is in use? > > I compile on NetBSD without any problems. > > -sg > > On Wed, 16 Apr 2003, mark wrote: > > > Has anyone managed to compile nrpe-2.0b2 on FreeBSD with command args > > enabled? I'm trying to compile it on FreeBSD-4.8, here is what I get: > > > > ./configure --enable-ssl --enable-command-args > > [config works fine] > > > > > > # make all > > cd ./src/; make ; cd .. > > gcc -g -O2 -I/usr/local/include/openssl -DHAVE_CONFIG_H -L/usr/local/lib > > -lssl -lcrypto -o nrpe nrpe.c utils.c > > nrpe.c: In function `validate_request': > > nrpe.c:1327: `x' undeclared (first use in this function) > > nrpe.c:1327: (Each undeclared identifier is reported only once > > nrpe.c:1327: for each function it appears in.) > > *** Error code 1 > > > > Stop in /usr/local/src/nrpe-2.0b2/src. > > *** Error code 1 > > > > Stop in /usr/local/src/nrpe-2.0b2. > > # > > > > It's definitly in the "arguments" part of the code. I defined x in nrpe.c > > and while it compiled, nrpe didn't work then. I'm sure I just defined it > > wrong. Anyone know how it should be defined and where in nrpe.c it should > > be defined? > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at feedroom.com Thu Apr 17 17:02:20 2003 From: David at feedroom.com (David Gitman) Date: Thu, 17 Apr 2003 11:02:20 -0400 Subject: check_real: what does it really do? and is it enough? Message-ID: Has anyone written a plug-in for Windows Media 9 Streaming? [-d] -----Original Message----- From: Magnus.M.Glantz at telia.se [mailto:Magnus.M.Glantz at telia.se] Sent: Tuesday, April 15, 2003 7:01 PM To: David Gitman Cc: nagios-users at lists.sourceforge.net Well, I'm drawing the conclusion after talking with some streaming specialists that sending a DESCRIBE method to the streaming server should do the trick. A successful try indicates that you got a two-way connection to/from the server, the file you're searching for (on, for example an ondemand server) exists, and the server can send you a description of the file. The people I've talked to cannot see any problems that should hinder an actual stream from taking place after the server successfully answered to the DESCRIBE method. Though, I'm still doing some research on this. I'll prolly know in acouple of days, should this not be the case. I'll send a mail to the list, when I know more. :-) Cheers, //Magnus Glantz -----Ursprungligt meddelande----- Fr?n: David Gitman [mailto:David at feedroom.com] Skickat: ti 2003-04-15 19:45 Till: Magnus Glantz Kopia: ?mne: RE: [Nagios-users] check_real: what does it really do? and is it enough? Have you found out anything? [-d] _____ From: Magnus Glantz [mailto:magnus at hacka.net] Sent: Friday, April 11, 2003 2:33 PM To: nagios-users at lists.sourceforge.net I'm trying to figure out what exactly the check_real plugin checks.. using the -url option, does it actually start a stream with the server? Or does it only check if the .rm file is there and reachable? If check_real only checks for a description of the file, is it enough to say that the service is OK? I dumped the conversation (tcpdump -X) while doing: ./check_real -H host -u /url/file.rm I'm not 100% sure what happens.. Though.. I've been able to understand some stuff.. ( I've had some help interpeting the packets from the RTSP RFC. http://www.freesoft.org/CIE/RFC/bynum.cgi?2326 ) 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: P 1:36(35) ack 1 win 5840 (DF) 0x0000 4500 0057 a274 4000 4006 4bd5 c2ec e2e9 E..W.t at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 .C.=...*P...s... 0x0020 8018 16d0 04f6 0000 0101 080a 1185 1070 ...............p 0x0030 a54c 4fd3 4f50 5449 4f4e 5320 7274 7370 .LO.OPTIONS.rtsp 0x0040 3a2f 2f28 6e75 6c6c 293a 3535 3420 5254 ://(null):554.RT 0x0050 5350 SP Above.. the Nagios server asks the real server for the available methods. (PLAY PAUSE etc..) 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: P 45:102(57) ack 270 win 6432 (DF) 0x0000 4500 006d a277 4000 4006 4bbc c2ec e2e9 E..m.w at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 .C.=...*P..Is..! 0x0020 8018 1920 0dac 0000 0101 080a 1185 1077 ...............w 0x0030 a54c 4fd9 4445 5343 5249 4245 2072 7473 .LO.DESCRIBE.rts 0x0040 703a 2f2f 286e 756c 6c29 3a35 3534 2f74 p://(null):554/t 0x0050 692f i/ Above.. check_real asks the real-server of a description of the file. 16:59:51.276763 streaming-server.rtsp > netsaint.37062: P 4614:5232(618) ack 111 win 33304 (DF) 0x0000 4500 029e 1e46 4000 3906 d4bc c343 e33d E....F at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 f019 50ff b28b .....*..s...P... 0x0020 8018 8218 a8af 0000 0101 080a a54c 4fed .............LO. 0x0030 1185 1083 7468 203c 2032 3630 3030 292c ....th.<.26000), 0x0040 4176 6572 6167 6542 616e 6477 6964 7468 AverageBandwidth 0x0050 3d31 =1 After this Nagios (the Netsaint host) sends win 0, and finilizes the connection. Now, the question is.. what did the check_real plugin test? That you can get an description of a file on the server? The author of the plug-in writes in his source code (check_real.c). ----------------snip------------- /* Part II - Check stream exists and is ok */ if ((result == STATE_OK) && (server_url != NULL)) { /* Part I - Server Check */ /* send the OPTIONS request */ sprintf (buffer, "DESCRIBE rtsp://%s:%d%s RTSP/1.0\n", host_name, server_port, server_url); result = send (sd, buffer, strlen (buffer), 0); /* send the header sync */ sprintf (buffer, "CSeq: 2\n"); result = send (sd, buffer, strlen (buffer), 0); /* send a newline so the server knows we're done with the request */ sprintf (buffer, "\n"); result = send (sd, buffer, strlen (buffer), 0); ----------------snip------------- DESCRIBE seems to be the last actuall command that the check_real plugin send to the server. But I could be wrong.. please check for yourselfs. An actual stream is from what I can tell, not initialized.. Though, if the server give an description of the file (the description comes from the file itself) I guess a stream should be able to be initialized.. but.. then again, I'm no TCP/IP or RTSP expert. Full dump of "check_real -H hostname -u /url/file.rm" below.. Hope you can shed some light upon this.. Cheers, //Magnus Glantz 16:59:50.676763 netsaint.37062 > streaming-server.rtsp.rtsp: S 1358934556:1358934556(0) win 5840 (DF) 0x0000 4500 003c a272 4000 4006 4bf2 c2ec e2e9 E..<.r at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21c 0000 0000 .C.=...*P....... 0x0020 a002 16d0 2ce0 0000 0204 05b4 0402 080a ....,........... 0x0030 1185 106e 0000 0000 0103 0300 ...n........ 16:59:50.696763 streaming-server.rtsp > netsaint.37062: S 1937890835:1937890835(0) ack 1358934557 win 33304 (DF) 0x0000 4500 0040 1e3f 4000 3906 d721 c343 e33d E.. at .?@.9..!.C.= 0x0010 c2ec e2e9 022a 90c6 7381 de13 50ff b21d .....*..s...P... 0x0020 b012 8218 68cb 0000 0101 080a a54c 4fd3 ....h........LO. 0x0030 1185 106e 0103 0300 0101 0402 0204 05b4 ...n............ 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: . ack 1 win 5840 (DF) 0x0000 4500 0034 a273 4000 4006 4bf9 c2ec e2e9 E..4.s at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 .C.=...*P...s... 0x0020 8010 16d0 14dd 0000 0101 080a 1185 1070 ...............p 0x0030 a54c 4fd3 .LO. 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: P 1:36(35) ack 1 win 5840 (DF) 0x0000 4500 0057 a274 4000 4006 4bd5 c2ec e2e9 E..W.t at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 .C.=...*P...s... 0x0020 8018 16d0 04f6 0000 0101 080a 1185 1070 ...............p 0x0030 a54c 4fd3 4f50 5449 4f4e 5320 7274 7370 .LO.OPTIONS.rtsp 0x0040 3a2f 2f28 6e75 6c6c 293a 3535 3420 5254 ://(null):554.RT 0x0050 5350 SP 16:59:50.726763 streaming-server.rtsp > netsaint.37062: . ack 36 win 33304 (DF) 0x0000 4500 0034 1e40 4000 3906 d72c c343 e33d E..4.@@.9..,.C.= 0x0010 c2ec e2e9 022a 90c6 7381 de14 50ff b240 .....*..s...P..@ 0x0020 8010 8218 a96e 0000 0101 080a a54c 4fd6 .....n.......LO. 0x0030 1185 1070 ...p 16:59:50.726763 netsaint.37062 > streaming-server.rtsp: P 36:45(9) ack 1 win 5840 (DF) 0x0000 4500 003d a275 4000 4006 4bee c2ec e2e9 E..=.u at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b240 7381 de14 .C.=...*P.. at s... 0x0020 8018 16d0 f6b3 0000 0101 080a 1185 1073 ...............s 0x0030 a54c 4fd6 4353 6571 3a20 310a 0a .LO.CSeq:.1.. 16:59:50.766763 streaming-server.rtsp > netsaint.37062: P 1:270(269) ack 45 win 33304 (DF) 0x0000 4500 0141 1e41 4000 3906 d61e c343 e33d E..A.A at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 de14 50ff b249 .....*..s...P..I 0x0020 8018 8218 1a2f 0000 0101 080a a54c 4fd9 ...../.......LO. 0x0030 1185 1073 5254 5350 2f31 2e30 2032 3030 ...sRTSP/1.0.200 0x0040 204f 4b0d 0a43 5365 713a 2031 0d0a 4461 .OK..CSeq:.1..Da 0x0050 7465 te 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: . ack 270 win 6432 (DF) 0x0000 4500 0034 a276 4000 4006 4bf6 c2ec e2e9 E..4.v at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 .C.=...*P..Is..! 0x0020 8010 1920 1147 0000 0101 080a 1185 1077 .....G.........w 0x0030 a54c 4fd9 .LO. 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: P 45:102(57) ack 270 win 6432 (DF) 0x0000 4500 006d a277 4000 4006 4bbc c2ec e2e9 E..m.w at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 .C.=...*P..Is..! 0x0020 8018 1920 0dac 0000 0101 080a 1185 1077 ...............w 0x0030 a54c 4fd9 4445 5343 5249 4245 2072 7473 .LO.DESCRIBE.rts 0x0040 703a 2f2f 286e 756c 6c29 3a35 3534 2f74 p://(null):554/t 0x0050 692f i/ 16:59:50.886763 streaming-server.rtsp > netsaint.37062: . ack 102 win 33304 (DF) 0x0000 4500 0034 1e42 4000 3906 d72a c343 e33d E..4.B at .9..*.C.= 0x0010 c2ec e2e9 022a 90c6 7381 df21 50ff b282 .....*..s..!P... 0x0020 8010 8218 a807 0000 0101 080a a54c 4fe7 .............LO. 0x0030 1185 1077 ...w 16:59:50.886763 netsaint.37062 > streaming-server.rtsp: P 102:111(9) ack 270 win 6432 (DF) 0x0000 4500 003d a278 4000 4006 4beb c2ec e2e9 E..=.x at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b282 7381 df21 .C.=...*P...s..! 0x0020 8018 1920 f1f3 0000 0101 080a 1185 1083 ................ 0x0030 a54c 4fe7 4353 6571 3a20 320a 0a .LO.CSeq:.2.. 16:59:51.046763 streaming-server.rtsp > netsaint.37062: . 270:1718(1448) ack 111 win 33304 (DF) 0x0000 4500 05dc 1e43 4000 3906 d181 c343 e33d E....C at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 df21 50ff b28b .....*..s..!P... 0x0020 8010 8218 3fd8 0000 0101 080a a54c 4fed ....?........LO. 0x0030 1185 1083 5254 5350 2f31 2e30 2032 3030 ....RTSP/1.0.200 0x0040 204f 4b0d 0a43 5365 713a 2032 0d0a 4461 .OK..CSeq:.2..Da 0x0050 7465 te 16:59:51.046763 netsaint.37062 > streaming-server.rtsp: R 111:111(0) ack 1718 win 8688 (DF) 0x0000 4500 0034 a279 4000 4006 4bf3 c2ec e2e9 E..4.y at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b28b 7381 e4c9 .C.=...*P...s... 0x0020 8014 21f0 0259 0000 0101 080a 1185 1093 ..!..Y.......... 0x0030 a54c 4fed .LO. 16:59:51.136763 streaming-server.rtsp > netsaint.37062: P 1718:3166(1448) ack 111 win 33304 (DF) 0x0000 4500 05dc 1e44 4000 3906 d180 c343 e33d E....D at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 e4c9 50ff b28b .....*..s...P... 0x0020 8018 8218 6d86 0000 0101 080a a54c 4fed ....m........LO. 0x0030 1185 1083 300a 613d 5374 6172 7454 696d ....0.a=StartTim 0x0040 653a 696e 7465 6765 723b 300a 613d 4176 e:integer;0.a=Av 0x0050 6742 gB 16:59:51.136763 netsaint.37062 > streaming-server.rtsp: R 1358934667:1358934667(0) win 0 (DF) 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 E..(.. at .../x.... 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 .C.=...*P....... 0x0020 5004 0000 cd0d 0000 P....... 16:59:51.236763 streaming-server.rtsp > netsaint.37062: . 3166:4614(1448) ack 111 win 33304 (DF) 0x0000 4500 05dc 1e45 4000 3906 d17f c343 e33d E....E at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 ea71 50ff b28b .....*..s..qP... 0x0020 8010 8218 97b0 0000 0101 080a a54c 4fed .............LO. 0x0030 1185 1083 696e 7465 6765 723b 3131 3739 ....integer;1179 0x0040 3538 0a61 3d45 6e64 4f6e 6552 756c 6545 58.a=EndOneRuleE 0x0050 6e64 nd 16:59:51.236763 netsaint.37062 > streaming-server.rtsp: R 1358934667:1358934667(0) win 0 (DF) 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 E..(.. at .../x.... 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 .C.=...*P....... 0x0020 5004 0000 cd0d 0000 P....... 16:59:51.276763 streaming-server.rtsp > netsaint.37062: P 4614:5232(618) ack 111 win 33304 (DF) 0x0000 4500 029e 1e46 4000 3906 d4bc c343 e33d E....F at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 f019 50ff b28b .....*..s...P... 0x0020 8018 8218 a8af 0000 0101 080a a54c 4fed .............LO. 0x0030 1185 1083 7468 203c 2032 3630 3030 292c ....th.<.26000), 0x0040 4176 6572 6167 6542 616e 6477 6964 7468 AverageBandwidth 0x0050 3d31 =1 16:59:51.276763 netsaint.37062 > streaming-server.rtsp: R 1358934667:1358934667(0) win 0 (DF) 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 E..(.. at .../x.... 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 .C.=...*P....... 0x0020 5004 0000 cd0d 0000 P....... ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at feedroom.com Thu Apr 17 17:26:50 2003 From: David at feedroom.com (David Gitman) Date: Thu, 17 Apr 2003 11:26:50 -0400 Subject: Pop Up Alerts Message-ID: Or play a sound clip. [-d] -----Original Message----- From: ellipses [mailto:ellipses at society86.com] Sent: Thursday, April 17, 2003 10:39 AM To: chbaker at powersystems.rockwell.com; nagios-users at lists.sourceforge.net Not any that I'm aware of, but that might be a good suggestion for 2. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of > chbaker at powersystems.rockwell.com > Sent: Thursday, April 17, 2003 8:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Pop Up Alerts > > I think I know the answer to this, but just to be sure I'll ask. Does > nagios > have any JavaScript popups to alert an operator of a problem? > > Charles H. Baker > chbaker at powersystems dot rockwell dot com > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > BOFH excuse #426: > internet is needed to catch the etherbunny > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Apr 17 18:25:51 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 17 Apr 2003 11:25:51 -0500 Subject: Seek files and refresh Message-ID: Please paste a snippet from services.cfg which refers to check_log2.pl (albeit indirectly). jc > -----Original Message----- > From: Torres, Joe [mailto:JTorres at abnamroprime.com] > Sent: Wednesday, April 16, 2003 5:27 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Seek files and refresh > > > Can someone tell me what I am doing wrong: > > I am checking various logs like adm messages rm6 logs etc > > I am using the perl script called check_log2.pl this script works with > arguements passed to it and one of them is creating a seek > file for every > error pattern search > > Well that works ok when the error is encounter it shows it in the info > column on the web browser that's also fine > > The problem I am having is that the error stays in the info > column even > after a refresh occurs what is causing this? It has nothing > to do with the > refresh option in the cgi.cfg file that's refreshing every 30 seconds > > Can someone point me in the right direction I would appreciated > > Thank you > > -------------------------- > Sent from my BlackBerry Wireless Handheld (www.BlackBerry.net) > > > > This message (including any attachments) is > confidential and may be > privileged. If you have received it by mistake please notify > the sender by > return e-mail and delete this message from your system. > Any unauthorized > use or dissemination of this message in whole or in > part is strictly > prohibited. Please note that e-mails are susceptible to > change. ABN AMRO > Bank N.V. (including its group companies) shall not be > liable for the > improper or incomplete transmission of the information > contained in this > communication nor for any delay in its receipt or damage > to your system. > ABN AMRO Bank N.V. (or its group companies) does not > guarantee that the > integrity of this communication has been maintained > nor that this > communication is free of viruses, interceptions or interference. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 17 18:16:00 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 17 Apr 2003 12:16:00 -0400 (EDT) Subject: Pop Up Alerts In-Reply-To: References: Message-ID: There used to be sound options in Netsaint - but a lot of people found it annoying as it would play on every refresh (30 sec). Without session tracking - every refresh will cause a pop-up/play a sound. -sg On Thu, 17 Apr 2003, David Gitman wrote: > Or play a sound clip. > > [-d] > > -----Original Message----- > From: ellipses [mailto:ellipses at society86.com] > Sent: Thursday, April 17, 2003 10:39 AM > To: chbaker at powersystems.rockwell.com; > nagios-users at lists.sourceforge.net > > Not any that I'm aware of, but that might be a good suggestion for 2. > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of > > chbaker at powersystems.rockwell.com > > Sent: Thursday, April 17, 2003 8:12 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Pop Up Alerts > > > > I think I know the answer to this, but just to be sure I'll ask. Does > > nagios > > have any JavaScript popups to alert an operator of a problem? > > > > Charles H. Baker > > chbaker at powersystems dot rockwell dot com > > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > > BOFH excuse #426: > > internet is needed to catch the etherbunny > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > --- > > Incoming mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at skynetweb.com Thu Apr 17 18:01:09 2003 From: jason at skynetweb.com (Jason Lancaster) Date: Thu, 17 Apr 2003 12:01:09 -0400 Subject: Can't use bang (!) as string in services.cfg check_command declaration Message-ID: <003d01c304fa$8fe23e90$f805ff0a@tekniq> In my service definition file, I need to define a check_command that looks something like this: check_command check_http!-S -u /post.html -P username=abc&password=!ab2!)z! -s status The problem with this is the password has bang's (!) and Nagios translates these into arguments when it executes the check_http command. I don't want the above line to be split into multiple arguments. It should be a single argument passed to the check command check_http. There needs to be a way to designate text passed through service definitions as a string or to somehow cancel out the !'s. I've tried backslashes, double !'s, double quotes, single quotes, and everything else I could think of. I think nagios is hard-coded to see any ! in a object configuration file as a special character. This is bad! Does anyone know a way around this other than defining a new check command for this service? Best Regards, Jason Lancaster Intranet Administrator, Affinity Internet http://www.affinity.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Apr 17 18:29:23 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 17 Apr 2003 11:29:23 -0500 Subject: Unpredictable service check times fixed? Message-ID: Yes, the grouping you're seeing is quite common (if I understood your question correctly). jc > -----Original Message----- > From: Mateo Carr [mailto:mcarr at apple.com] > Sent: Wednesday, April 16, 2003 7:47 PM > To: Stanley Hopcroft > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Unpredictable service check times fixed? > > > Thank you for all of your help. > > I am running nagios on OS X. There were a couple of challenges to > getting everything compiled and happy, but nothing > insurmountable. It > is a really great piece of software, and we are looking forward to > getting it fully deployed. > > It turns out that my issue was actually that I was bouncing > off of the > user maxproc limit and not running out of memory as previously > thought.. I determined this for certain by making a small > change to the > source so that it says which errno condition is set. > > Now that I have worked around that issue, I have one more quick > question, which is related to this situation being triggered > to begin > with. It seems that over time the service checks all get > clumped closer > and closer together. I have been sampling the number of nagios user > processes every 5 seconds, and over time a pattern like the > following > emerges: 9 9 9 9 7 7 7 7 7 7 7 7 48 170 64 76 33 31 21 47 55 > 43 21 17 > 13 9 6 6 6 6 ......etc.... This grouping of checks is confirmed by > looking at the scheduling queue. My question is has anybody else > observed such behavior? I realize that I could set the > max_concurrent_checks manually as a workaround, it just that I would > prefer to let nagios sort it out. > > Thanks! > **Mateo > > > On Monday, April 14, 2003, at 09:04 PM, Stanley Hopcroft wrote: > > > Dear Sir, > > > > On Mon, Apr 14, 2003 at 08:47:51PM -0700, Mateo Carr wrote: > >> Doah, you're absolutely right. I was running quite low on RAM. I > >> should > >> have thought to check that (I blame a total lack of sleep). > >> > >> Thank you for your help! > >> > > > > Thank you very much for > > > > 1 Going to the trouble to collect the debugging information that was > > essential to the resolution of the problem > > > > 2 Letting me know the result (it's too easy to offer help > that actually > > isn't because of carelessness in reading or sloppy thinking). > > > >> Cheers > >> **Mateo > >> > >> > > > > I hope you get it sorted out. > > > > (You may want to let the list know that you are doing well > on Mac OS if > > that's what you are running Nag under. Lot's of developers (eg > > Deri/ntop, Lemon/dhcpd choose to code under OS X). > > > > 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 is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Apr 17 18:35:32 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 17 Apr 2003 11:35:32 -0500 Subject: problems with snmpget & APAN Message-ID: This is a long shot, but.... I've seen weird things happen in the past (not with Nagios) when a particular hostname had uppercase characters in it. You might want to reconfig Nagios (and /etc/hosts and/or DNS, if that's how you're resolving hostnames) to use just lowercase characters. At the very least, create a hostname alias in /etc/hosts or DNS and definitely try using lowercase in your Nagios configs. This might not be the problem at all, but.... jc > -----Original Message----- > From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] > Sent: Thursday, April 17, 2003 12:51 AM > To: Bunting, Glen, IG > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] problems with snmpget & APAN > > > Do you have GlenNT in ypur /etc/hosts file? > > What happens if you run 'snmpget -c public GlenNT > .1.3.6.1.2.1.2.2.1.10.1' (or 'snmpwalk GlenNT public > .1.3.6.1.2.1.2.2.1.10.1' if you have ucd-snmp < version 5)? > > /FredrikW > > > Bunting, Glen, IG wrote: > > >All, > > > >I am currently running nagios with APAN for some services. I > am trying to get the bandwidth usage of one of our win2k > boxes. I think I have everything set up correctly, but from > the nagios page I am getting an unknown status with the > message the snmp returned no data. when I run the command > from the command line, I get SNMP OK - 19099227. When I look > at /tmp/apan.debug, I get the following error: > > > >Wed Apr 16 14:38:10 PDT 2003 Args: snmpget GlenNT Net-usage > 1050529090 10 20 > >Could not insert ':IN' , '1050529090:19089543' into > /usr/local/nagios/rrd/GlenNT_Net-usage.rrd > >Wed Apr 16 14:39:10 PDT 2003 Args: snmpget GlenNT Net-usage > 1050529150 10 20 > >Could not insert ':IN' , '1050529150:19090595' into > /usr/local/nagios/rrd/GlenNT_Net-usage.rrd > > > >Here are the relevant configs: > >apan.cfg: > > > ># Bandwidth Usage > >GlenNT;Net-usage;/usr/local/nagios/rrd/GlenNT_Net-usage.rrd;p ublic:.1.3.6.1.2.1.2.2.1.10.1|public:.1.3.6.1.2.1.2.2.2.1.16.1;IN:LINE2 OUT:LINE2;Network > throughput;Bytes/Sec; > > > >services.cfg: > > > ># Service definition for bandwidth usage > > > >define service{ > > host_name GlenNT > > service_description Net-usage > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups linux-admins > > notification_interval 120 > > notification_period 24x7 > > notification_options c,r > > check_command apan!snmpget!10!20 > > use generic-service > > normal_check_interval 1 > > } > > > >The rrd was created with the following command: > > > >rrdtool create /usr/local/nagios/rrd/GlenNT_Net-usage.rrd -s > 60 DS:IN:COUNTER:300:0:U DS:OUT:COUNTER:300:0:U > RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 > > > >What have I miss-configured? > > > >Thanks > > > >Glen > > > > > >************************************************************* > **************** > >If you are not the intended recipient of this e-mail, please notify > >the sender immediately. The contents of this e-mail do not amend > >any existing disclosures or agreements unless expressly stated. > >************************************************************* > **************** > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > >::: Messages without supporting info will risk being sent to > /dev/null > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.hertrick at neovera.com Thu Apr 17 19:26:29 2003 From: m.hertrick at neovera.com (Michael Hertrick) Date: Fri, 18 Apr 2003 03:26:29 +1000 Subject: Pop Up Alerts References: Message-ID: <014701c30506$7c0682d0$8e0ca8c0@monster> > Or play a sound clip. Yes. I've got mine playing Star Trek and 2001:A Space Odyssey clips..... See cgi.cfg ----- Original Message ----- From: "David Gitman" To: "ellipses" ; ; Sent: Friday, April 18, 2003 1:26 AM Subject: RE: [Nagios-users] Pop Up Alerts > Or play a sound clip. > > [-d] > > -----Original Message----- > From: ellipses [mailto:ellipses at society86.com] > Sent: Thursday, April 17, 2003 10:39 AM > To: chbaker at powersystems.rockwell.com; > nagios-users at lists.sourceforge.net > > Not any that I'm aware of, but that might be a good suggestion for 2. > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of > > chbaker at powersystems.rockwell.com > > Sent: Thursday, April 17, 2003 8:12 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Pop Up Alerts > > > > I think I know the answer to this, but just to be sure I'll ask. Does > > nagios > > have any JavaScript popups to alert an operator of a problem? > > > > Charles H. Baker > > chbaker at powersystems dot rockwell dot com > > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > > BOFH excuse #426: > > internet is needed to catch the etherbunny > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > --- > > Incoming mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Thu Apr 17 18:46:54 2003 From: jsm at inpro.net (Jeff McKeon) Date: 17 Apr 2003 12:46:54 -0400 Subject: using qpage Message-ID: <1050598014.2804.10.camel@rh80-jsm.telaurus.net> Ok, I've got qpage installed and working on my RH8.0 box... sort of. If I type.. #qpage -p admin hello I get a message saying that it cannot connect to the SNPP server on "localhost": connection refused However if I do... #qpage -i -p admin hello the page goes through. Also I had to modify the permission on my /var/lock dir to 777 to get it to work (shotgun approach). I'm a little concerned that this may be a bad thing to do. Now assuming that I get all the glitches worked out of qpage, how do I then begin sending nagios notification using qpage? I suppose I need to add some code to misccommands.cfg? thanks, Jeff -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Apr 17 18:49:59 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 17 Apr 2003 11:49:59 -0500 Subject: NRPE vs. check by ssh Message-ID: (This isn't quite a FAQ, but it's starting to get there. ;^) The answer is: It depends. It's all about tradeoffs. Do you need to punch through a firewall? check_by_ssh might be the logical choice. Are you running a *lot* of remote checks from a dated piece of hardware? If so, you can expect the multiple check_by_ssh checks to bog down your system, thus making NRPE the logical choice. check_by_ssh is dependent on sshd being up on the remote host. NRPE is dependent on the nrpe daemon (or (x)inetd) being up and running on the remote host. You might want to try both approaches. I know that if I were to suggest that you stick with NRPE except for those hosts which are on the other side of a firewall, someone here will tell you they're successfully using check_by_ssh for 100% of their remote hostchecks. I'd say the biggest issue with check_by_ssh is scalability. I'd be remiss if I didn't mention that there are other options for checking hosts remotely. But my impressions from this list have been that NRPE and check_by_ssh (and NSCA to a lesser extent) hold the lion's share. HTH. jc > -----Original Message----- > From: chbaker at powersystems.rockwell.com > [mailto:chbaker at powersystems.rockwell.com] > Sent: Thursday, April 17, 2003 8:09 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NRPE vs. check by ssh > > > Which is the prefered way to execute remote plugins, nrpe or > check_by_ssh? > Are there any particular advantages either way? > > Charles H. Baker > chbaker at powersystems dot rockwell dot com > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > BOFH excuse #426: > internet is needed to catch the etherbunny > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Apr 17 19:17:20 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 17 Apr 2003 12:17:20 -0500 Subject: Pop Up Alerts Message-ID: Alternatives to JavaScript: - e-mail (and let the MUA run an agent to do something unusual) - pager (tends to get one's attention) - leverage WinPopup (I tried STFW for the Linux command, as I've used it in the past, but no luck) if the operators' workstations are running Windows (and have Messenger service enabled) - NTray (again, if the operators' workstations are running Windows) Food for thought. jc > -----Original Message----- > From: ellipses [mailto:ellipses at society86.com] > Sent: Thursday, April 17, 2003 9:39 AM > To: chbaker at powersystems.rockwell.com; > nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Pop Up Alerts > > > Not any that I'm aware of, but that might be a good suggestion for 2. > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of > > chbaker at powersystems.rockwell.com > > Sent: Thursday, April 17, 2003 8:12 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Pop Up Alerts > > > > I think I know the answer to this, but just to be sure I'll > ask. Does > > nagios > > have any JavaScript popups to alert an operator of a problem? > > > > Charles H. Baker > > chbaker at powersystems dot rockwell dot com > > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > > BOFH excuse #426: > > internet is needed to catch the etherbunny > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > --- > > Incoming mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.459 / Virus Database: 258 - Release Date: 2/25/2003 > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Thu Apr 17 19:17:27 2003 From: nagios at nagios.org (Ethan Galstad) Date: Thu, 17 Apr 2003 12:17:27 -0500 Subject: nrpe-2.0b2 on FreeBSD In-Reply-To: References: Message-ID: <3E9E9B57.15898.712F5C@localhost> This was just fixed in CVS. Beta 3 can now be downloaded. On 16 Apr 2003 at 17:10, mark wrote: > Has anyone managed to compile nrpe-2.0b2 on FreeBSD with command args > enabled? I'm trying to compile it on FreeBSD-4.8, here is what I get: > > ./configure --enable-ssl --enable-command-args > [config works fine] > > > # make all > cd ./src/; make ; cd .. > gcc -g -O2 -I/usr/local/include/openssl -DHAVE_CONFIG_H -L/usr/local/lib > -lssl -lcrypto -o nrpe nrpe.c utils.c > nrpe.c: In function `validate_request': > nrpe.c:1327: `x' undeclared (first use in this function) > nrpe.c:1327: (Each undeclared identifier is reported only once > nrpe.c:1327: for each function it appears in.) > *** Error code 1 > > Stop in /usr/local/src/nrpe-2.0b2/src. > *** Error code 1 > > Stop in /usr/local/src/nrpe-2.0b2. > # > > It's definitly in the "arguments" part of the code. I defined x in nrpe.c > and while it compiled, nrpe didn't work then. I'm sure I just defined it > wrong. Anyone know how it should be defined and where in nrpe.c it should > be defined? > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 17 19:21:42 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 17 Apr 2003 13:21:42 -0400 (EDT) Subject: nrpe-2.0b2 on FreeBSD In-Reply-To: References: Message-ID: Looks like Ethan just posted a patch for that. try the new cvs. Strange - gcc 2.95.3/2.96/3.22 didn't complain ... -sg On Thu, 17 Apr 2003, mark wrote: > I'm using gcc 2.95.4. I"m also tried using both make and gmake, they > both produce the same problem. > > Mark > > > On Thu, 17 Apr 2003, Subhendu Ghosh wrote: > > > Mark - what version of gcc is in use? > > > > I compile on NetBSD without any problems. > > > > -sg > > > > On Wed, 16 Apr 2003, mark wrote: > > > > > Has anyone managed to compile nrpe-2.0b2 on FreeBSD with command args > > > enabled? I'm trying to compile it on FreeBSD-4.8, here is what I get: > > > > > > ./configure --enable-ssl --enable-command-args > > > [config works fine] > > > > > > > > > # make all > > > cd ./src/; make ; cd .. > > > gcc -g -O2 -I/usr/local/include/openssl -DHAVE_CONFIG_H -L/usr/local/lib > > > -lssl -lcrypto -o nrpe nrpe.c utils.c > > > nrpe.c: In function `validate_request': > > > nrpe.c:1327: `x' undeclared (first use in this function) > > > nrpe.c:1327: (Each undeclared identifier is reported only once > > > nrpe.c:1327: for each function it appears in.) > > > *** Error code 1 > > > > > > Stop in /usr/local/src/nrpe-2.0b2/src. > > > *** Error code 1 > > > > > > Stop in /usr/local/src/nrpe-2.0b2. > > > # > > > > > > It's definitly in the "arguments" part of the code. I defined x in nrpe.c > > > and while it compiled, nrpe didn't work then. I'm sure I just defined it > > > wrong. Anyone know how it should be defined and where in nrpe.c it should > > > be defined? > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GBunting864 at Worldsavings.com Thu Apr 17 19:22:32 2003 From: GBunting864 at Worldsavings.com (Bunting, Glen, IG) Date: Thu, 17 Apr 2003 10:22:32 -0700 Subject: problems with snmpget & APAN Message-ID: <6CF7A192A85BD1458E7C5F35D607750C7EBAEC@ok1ems2.worldsavings.com> Fredrick, GlenNT is in my /etc/hosts file. Running the commands below I get timed out. It appears that I need to specify the version of snmp to use using the -v flag. When I do that I get data using both version 1 and version 2c. Thanks Glen -----Original Message----- From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] Sent: Wednesday, April 16, 2003 10:51 PM To: Bunting, Glen, IG Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] problems with snmpget & APAN Do you have GlenNT in ypur /etc/hosts file? What happens if you run 'snmpget -c public GlenNT .1.3.6.1.2.1.2.2.1.10.1' (or 'snmpwalk GlenNT public .1.3.6.1.2.1.2.2.1.10.1' if you have ucd-snmp < version 5)? /FredrikW Bunting, Glen, IG wrote: >All, > >I am currently running nagios with APAN for some services. I am trying to get the bandwidth usage of one of our win2k boxes. I think I have everything set up correctly, but from the nagios page I am getting an unknown status with the message the snmp returned no data. when I run the command from the command line, I get SNMP OK - 19099227. When I look at /tmp/apan.debug, I get the following error: > >Wed Apr 16 14:38:10 PDT 2003 Args: snmpget GlenNT Net-usage 1050529090 10 20 >Could not insert ':IN' , '1050529090:19089543' into /usr/local/nagios/rrd/GlenNT_Net-usage.rrd >Wed Apr 16 14:39:10 PDT 2003 Args: snmpget GlenNT Net-usage 1050529150 10 20 >Could not insert ':IN' , '1050529150:19090595' into /usr/local/nagios/rrd/GlenNT_Net-usage.rrd > >Here are the relevant configs: >apan.cfg: > ># Bandwidth Usage >GlenNT;Net-usage;/usr/local/nagios/rrd/GlenNT_Net-usage.rrd;public:.1.3.6.1.2.1.2.2.1.10.1|public:.1.3.6.1.2.1.2.2.2.1.16.1;IN:LINE2 OUT:LINE2;Network throughput;Bytes/Sec; > >services.cfg: > ># Service definition for bandwidth usage > >define service{ > host_name GlenNT > service_description Net-usage > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > check_command apan!snmpget!10!20 > use generic-service > normal_check_interval 1 > } > >The rrd was created with the following command: > >rrdtool create /usr/local/nagios/rrd/GlenNT_Net-usage.rrd -s 60 DS:IN:COUNTER:300:0:U DS:OUT:COUNTER:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 > >What have I miss-configured? > >Thanks > >Glen > > >***************************************************************************** >If you are not the intended recipient of this e-mail, please notify >the sender immediately. The contents of this e-mail do not amend >any existing disclosures or agreements unless expressly stated. >***************************************************************************** > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ***************************************************************************** If you are not the intended recipient of this e-mail, please notify the sender immediately. The contents of this e-mail do not amend any existing disclosures or agreements unless expressly stated. ***************************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Thu Apr 17 20:06:20 2003 From: jsm at inpro.net (Jeff McKeon) Date: 17 Apr 2003 14:06:20 -0400 Subject: using qpage In-Reply-To: <55849.24.72.6.129.1050601889.squirrel@webmail.bangtherockstogether.ne t> References: <1050598014.2804.10.camel@rh80-jsm.telaurus.net> <55849.24.72.6.129.1050601889.squirrel@webmail.bangtherockstogether.ne t> Message-ID: <1050602779.2804.12.camel@rh80-jsm.telaurus.net> Thanks Lonny, I'll give that a try! On Thu, 2003-04-17 at 13:51, Lonny Selinger wrote: > Just as an example: > > define command { > command_name page_whoever > command_line /bin/echo -e 'Host: $HOSTNAME$\nInfo: $OUTPUT$' | > /usr/local/bin/qpage -f Nagios whoever > } > > something like the above added to misccommands is what I use to use qpage. I have > entries for individuals and groups each with their own comand name. > > -- > Lonny > > > Ok, I've got qpage installed and working on my RH8.0 box... sort of. > > > > If I type.. > > > > #qpage -p admin hello > > > > I get a message saying that it cannot connect to the SNPP server on > > "localhost": connection refused > > > > However if I do... > > > > #qpage -i -p admin hello > > > > the page goes through. > > > > Also I had to modify the permission on my /var/lock dir to 777 to get it > > to work (shotgun approach). I'm a little concerned that this may be a > > bad thing to do. > > > > Now assuming that I get all the glitches worked out of qpage, how do I > > then begin sending nagios notification using qpage? I suppose I need to > > add some code to misccommands.cfg? > > > > thanks, > > > > Jeff > > -- > > Jeff McKeon > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > > issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Thu Apr 17 21:31:37 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Thu, 17 Apr 2003 14:31:37 -0500 Subject: using qpage In-Reply-To: <1050598014.2804.10.camel@rh80-jsm.telaurus.net> References: <1050598014.2804.10.camel@rh80-jsm.telaurus.net> Message-ID: <18175.6102167585$1050608943@news.gmane.org> Not to blow you out of the water or anything, but I recommend Sendpage for alphapaging. Its more flexible than qpage, plus supports concurrent dialing on multiple modems to multiple paging carriers. Piggybacking also makes it faster for sending pages to multiple pagers (ie: nearly simultaneous paging versus a minute between each page). I used qpage for about 2 years with Netsaint 0.0.4b, and then transitioned to Sendpage when I went to Netsaint 0.0.6. I'll be moving to Nagios soon as I get a new server, and plan on continuing to use Sendpage. I've got about 550 pagers defined, using 4 carriers. I've got an internal email paging domain setup (username at paging.myhost.com), and two modems for outbound traffic. Just my $0.02. =] Russell On Thu, Apr 17, 2003 at 12:46:54PM -0400, Jeff McKeon wrote: > Ok, I've got qpage installed and working on my RH8.0 box... sort of. > > If I type.. > > #qpage -p admin hello > > I get a message saying that it cannot connect to the SNPP server on > "localhost": connection refused > > However if I do... > > #qpage -i -p admin hello > > the page goes through. > > Also I had to modify the permission on my /var/lock dir to 777 to get it > to work (shotgun approach). I'm a little concerned that this may be a > bad thing to do. > > Now assuming that I get all the glitches worked out of qpage, how do I > then begin sending nagios notification using qpage? I suppose I need to > add some code to misccommands.cfg? > > thanks, > > Jeff > -- > Jeff McKeon > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crash at pinehurst.net Thu Apr 17 21:30:35 2003 From: crash at pinehurst.net (Jeff Lane) Date: Thu, 17 Apr 2003 15:30:35 -0400 Subject: Contact programs Message-ID: <3E9F00DB.3080604@pinehurst.net> Afternoon everyone... or morning or evening depending on your timezone... I have a somewhat on and off topic question... I have Nagios running on my computer, monitoring various processes on machines across my network... What I need to do now is figure out how to get Nagios to contact me when an alert is issued. Now, here is th on topic part: I understand setting up Nagios to email and page me when an even occurs. And I can probably set this up to email an alpha pager so I will know what problem is occuring on what machine, without having to worry about it dialing a numeric pager and sending me a cryptic string of numbers... Problem is, my cell phone will not support this. It DOES have text messaging, email, and numeric paging capabilities... but they are rather limited... For example... email is set to a web account that I have to check periodically wiht the phone... there is no instant notification there. numeric paging does notify the phone, IIRC, BUT in order to send a page, I would have to have it dail my phone directly, wait for voicemail to pickup, and then dial the pager info... this would mean that I could never actually answer the phone when it rings, and would have to wait and check voicemail/messages every so often to actually find out if someone called me... I could have text messaging, BUT the company that my cell is through doesnt want to share any ideas on how to get a text message through without going to their web site to send it... (or using a second phone to send the messages....) SO, here is hte offtopic part... I would like to try to find something that runs on Linux, that will dial my phone directly, and on connection, play a wav file... This way, if an even occured, I could have Nagios run this external program to dial my phone and play an alert wav file, so I would know to check my email to see what Nagios is saying. Has anyone tried something like this? I know its a bit of a kluge, BUT until I can get my cell company to tell me how to send text messages directly from my computer to my phone, I am kinda stuck... Cheers JEff -- Jeffrey Lane ConnectNC.com / Internet of the Sandhills W4KDH at arrl.net chown -r us:us /yourbase/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Thu Apr 17 21:34:09 2003 From: jsm at inpro.net (Jeff McKeon) Date: 17 Apr 2003 15:34:09 -0400 Subject: using qpage In-Reply-To: <55849.24.72.6.129.1050601889.squirrel@webmail.bangtherockstogether.ne t> References: <1050598014.2804.10.camel@rh80-jsm.telaurus.net> <55849.24.72.6.129.1050601889.squirrel@webmail.bangtherockstogether.ne t> Message-ID: <1050608048.2804.54.camel@rh80-jsm.telaurus.net> Ok, theoretically that would work except for the problem I'm having with qpage. if I do: [root at MIS01TC07927 log]# qpage -f nagios admin hello Cannot connect to SNPP server at localhost: Connection refused if I use the -i option for interactive, then it works. I don't think however that interactive mode will work within the nagios command. has anyone else seen this issue with qpage? thanks, Jeff On Thu, 2003-04-17 at 13:51, Lonny Selinger wrote: > Just as an example: > > define command { > command_name page_whoever > command_line /bin/echo -e 'Host: $HOSTNAME$\nInfo: $OUTPUT$' | > /usr/local/bin/qpage -f Nagios whoever > } > > something like the above added to misccommands is what I use to use qpage. I have > entries for individuals and groups each with their own comand name. > > -- > Lonny > > > Ok, I've got qpage installed and working on my RH8.0 box... sort of. > > > > If I type.. > > > > #qpage -p admin hello > > > > I get a message saying that it cannot connect to the SNPP server on > > "localhost": connection refused > > > > However if I do... > > > > #qpage -i -p admin hello > > > > the page goes through. > > > > Also I had to modify the permission on my /var/lock dir to 777 to get it > > to work (shotgun approach). I'm a little concerned that this may be a > > bad thing to do. > > > > Now assuming that I get all the glitches worked out of qpage, how do I > > then begin sending nagios notification using qpage? I suppose I need to > > add some code to misccommands.cfg? > > > > thanks, > > > > Jeff > > -- > > Jeff McKeon > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > > issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sakrafd at yahoo.com Thu Apr 17 21:45:19 2003 From: sakrafd at yahoo.com (sakrafd) Date: Thu, 17 Apr 2003 12:45:19 -0700 (PDT) Subject: web application monitoring - windows authentication Message-ID: <20030417194519.18359.qmail@web20708.mail.yahoo.com> Hi, I am trying to set up nagios to monitor a web application that is located in a different windows domain on an intranet. The IIS5 server the application runs on does not allow anonymous or basic authentication access - all users have do have specific ACL's to view the site (a windows challenge/response prompt pops up in IE when first attempting to hit the app). Is it possible to monitor this type of application with nagios? If so, how? If not, does anyone know of a free monitoring tool that will? Thanks in advance, Dave --------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.hertrick at neovera.com Fri Apr 18 00:19:44 2003 From: m.hertrick at neovera.com (Michael Hertrick) Date: Fri, 18 Apr 2003 08:19:44 +1000 Subject: web application monitoring - windows authentication References: <20030417194519.18359.qmail@web20708.mail.yahoo.com> Message-ID: <002701c3052f$73b04700$8e0ca8c0@monster> Yes, it is possible to monitor a web server with digest authentication (it sounds like that's what you're talking about). You will need to write your own "plugin" to do it, but it shouldn't be hard if you have some basic knowledge of shell scripting and a little patience. Last I checked most web-browsers do not even support digest authentication and I don't personally know of any monitoring programs that do either. Read the RFC for all the details. RFC2617 -- HTTP Authentication Here's a summary: Client sends a GET for a particular document, /dir/index.html The server responds with (the challenge): HTTP/1.1 401 Unauthorized WWW-Authenticate: Digest realm="testrealm at host.com", qop="auth,auth-int", nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093", opaque="5ccc069c403ebaf9f0171e9517f40e41" The client then replies with this (the response): Authorization: Digest username="Mufasa", realm="testrealm at host.com", nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093", uri="/dir/index.html", qop=auth, nc=00000001, cnonce="0a4f113b", response="6629fae49393a05397450978507c4ef1", opaque="5ccc069c403ebaf9f0171e9517f40e41" Notice the "nonce" and "opaque" are taken from the server's challenge... you don't need to compute those. You must calculate and provide a cnonce value (see RFC) and response (your md5 password hash). You can use 'md5' to compute the password hash. For example: # echo "mypassword" | md5 d84c7934a7a786d26da3d34d5f7c6c86 Looks pretty simple to me...... famous last words, I know. ;-) I do not have a script that does it, or I'd just give it to you. I would like to see something like this available as a plugin, so let me know if you need any help with it. The right way to do it would be to add the functionality to check_http, but I don't know C that well, so I just use existing programs and shell scripts to do custom stuff like this. ~Mike. ----- Original Message ----- From: sakrafd To: nagios-users at lists.sourceforge.net Sent: Friday, April 18, 2003 5:45 AM Subject: [Nagios-users] web application monitoring - windows authentication Hi, I am trying to set up nagios to monitor a web application that is located in a different windows domain on an intranet. The IIS5 server the application runs on does not allow anonymous or basic authentication access - all users have do have specific ACL's to view the site (a windows challenge/response prompt pops up in IE when first attempting to hit the app). Is it possible to monitor this type of application with nagios? If so, how? If not, does anyone know of a free monitoring tool that will? Thanks in advance, Dave ------------------------------------------------------------------------------ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jamie.baddeley at vpc.co.nz Thu Apr 17 23:26:43 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 18 Apr 2003 09:26:43 +1200 Subject: Prediction In-Reply-To: References: Message-ID: <200304172126.h3HLQEP29581@spectre.freeparking.co.nz> Hi Mark, I think this has been done. The stuff that Mr Hopcroft referred to (Holt-Winters forecasting) has been implemented in Cricket (which came out of webtv) http://cricket.sourceforge.net/aberrant/rrd_hw.htm I must admit I haven't used it. jamie On Fri, 18 Apr 2003 00:58, mark wrote: > I think that would be a useful feature. I think howerver instead of just > "prediction" we should talk more about growth and capacity planning. > Prediction may be confused with failure prediction. With the recent > discussions around APAN, Orca, rrd, etc, etc. I can see that prediction > could be implemented in the performance graphing arena. For example, if > you are graphing the historical trend of a metric, it should be reasonable > that you could extrapolate that line out into the future. Of course the > more history you have, the more likely that projection is to be accurate. > > Interesting idea. Jim, I know you've been looking at jgraph, is it capable > of extrapolation? If not, does anyone else know of a plotting package that > is? Maybe phplot or gnuplot? > > Mark > > On Thu, 17 Apr 2003, Steve Freegard wrote: > > Hello, > > > > I've had an idea for a useful plug-in: prediction - e.g. Based on current > > hourly/daily/weekly/monthly usage, how many hours/days/months/years will > > it take for a device (e.g. disk/avg.cpu/avg. memory/avg. bandwith) to run > > out of capacity or reach a set value (e.g. 80% avg cpu usage), and to be > > able to set warning and critical values based on this. > > > > I'm not really sure how to implement this as it would obviously have to > > hold the history from another plug-in and be able to work out an average > > value over a timeperiod and then multiply the value until it reaches a > > maximum. > > > > Anyone else think that this might be useful - or has anyone already > > implemented this? or have any thoughts about how best to go about > > implementing this? > > > > Kind regards, > > Steve > > > > -- > > Steve Freegard > > Systems Manager > > Littlehampton Book Services Ltd. > > > > > > ********************************************************************** > > 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.lbsltd.co.uk > > ********************************************************************** > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at woodstream.net Fri Apr 18 00:12:58 2003 From: mark at woodstream.net (mark) Date: Thu, 17 Apr 2003 18:12:58 -0400 (EDT) Subject: Prediction In-Reply-To: <200304172126.h3HLQEP29581@spectre.freeparking.co.nz> References: <200304172126.h3HLQEP29581@spectre.freeparking.co.nz> Message-ID: I looked at Cricket and it does prediction, but not forecasting (AFAIK). What Cricket does, to my understanding, is look for times when the metric is outside the baseline bounds. These baseline bounds are determined from past history. So Cricket watches the current metric value and if it is outside the bounds, it flags it for further investigation. This reduces the need for humans to have to watch graphs on a regular basis. They only need look at the graphs and times that have been flagged. You can achieve similar results with thesholds but you still need someone to set the threshold for each metric. Using Cricket, I think you can automatically get baseline or threshold values over time. What I would like is forecasting or prediction into the future. Basically, if a certain rate of change has been logged over some historical time period, project that out into the future so I can see when we will run out of disk, cpu, memory, whatever. But thanks for the input. I'm also looking at using Cricket to reduce the human labor needed to watch things and the human "knowledge" needed to correctly set thresholds. Mark On Fri, 18 Apr 2003, Jamie Baddeley wrote: > Hi Mark, > > I think this has been done. The stuff that Mr Hopcroft referred to > (Holt-Winters forecasting) has been implemented in Cricket (which came out of > webtv) > > http://cricket.sourceforge.net/aberrant/rrd_hw.htm > > I must admit I haven't used it. > > jamie > > On Fri, 18 Apr 2003 00:58, mark wrote: > > I think that would be a useful feature. I think howerver instead of just > > "prediction" we should talk more about growth and capacity planning. > > Prediction may be confused with failure prediction. With the recent > > discussions around APAN, Orca, rrd, etc, etc. I can see that prediction > > could be implemented in the performance graphing arena. For example, if > > you are graphing the historical trend of a metric, it should be reasonable > > that you could extrapolate that line out into the future. Of course the > > more history you have, the more likely that projection is to be accurate. > > > > Interesting idea. Jim, I know you've been looking at jgraph, is it capable > > of extrapolation? If not, does anyone else know of a plotting package that > > is? Maybe phplot or gnuplot? > > > > Mark > > > > On Thu, 17 Apr 2003, Steve Freegard wrote: > > > Hello, > > > > > > I've had an idea for a useful plug-in: prediction - e.g. Based on current > > > hourly/daily/weekly/monthly usage, how many hours/days/months/years will > > > it take for a device (e.g. disk/avg.cpu/avg. memory/avg. bandwith) to run > > > out of capacity or reach a set value (e.g. 80% avg cpu usage), and to be > > > able to set warning and critical values based on this. > > > > > > I'm not really sure how to implement this as it would obviously have to > > > hold the history from another plug-in and be able to work out an average > > > value over a timeperiod and then multiply the value until it reaches a > > > maximum. > > > > > > Anyone else think that this might be useful - or has anyone already > > > implemented this? or have any thoughts about how best to go about > > > implementing this? > > > > > > Kind regards, > > > Steve > > > > > > -- > > > Steve Freegard > > > Systems Manager > > > Littlehampton Book Services Ltd. > > > > > > > > > ********************************************************************** > > > 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.lbsltd.co.uk > > > ********************************************************************** > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > ::: reporting any issue. Messages without supporting info will risk being > > > ::: sent to /dev/null > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adalle at ncf.ca Fri Apr 18 00:23:17 2003 From: adalle at ncf.ca (Andre Dalle) Date: Thu, 17 Apr 2003 18:23:17 -0400 Subject: nagios plugins for Sparc In-Reply-To: <3E9BF4DD.5020302@lisit.it> References: <3E9BF4DD.5020302@lisit.it> Message-ID: <20030417222317.GA29506@ncf.ca> Checkout http://blastwave.org/ I have contributed nagios and nagios-plugin packages. CSWnagios|CSWnagiosp The plugin package includes some of the extra plugins, such as ldap, sql, snmp, and nrpe as well. It is compiled for Solaris 8 sparc and intel. On Tue, Apr 15, 2003 at 02:02:37PM +0200, Cristian DiMalio wrote: > Hi to all > I need precompiled tarball or rpm, package of nagios plugins, last version > because cannot compile (hardened solaris) > thanks > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null -- Andre Dalle [adalle at ncf.ca] Systems Administrator, National Capital Freenet [http://www.ncf.ca] ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benjy at feen.com Fri Apr 18 03:29:03 2003 From: benjy at feen.com (Benjamin Feen) Date: Thu, 17 Apr 2003 18:29:03 -0700 Subject: examples of escalation? Message-ID: <20030418012903.GW20361@pianosa.catch22.org> I'm making progress with my Nagios setup, and now it's time to add escalations. Would anyone be willing to send me their escalation configuration file? I read the documentation, but somehow it's just confusing me more... :) (Please send to me directly, rather than to the list) Thanks! B -- Benjamin Feen benjamin(AT)feen.com http://www.monkeybagel.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philip at roysys.com.au Fri Apr 18 03:40:02 2003 From: philip at roysys.com.au (Philip Roy) Date: Fri, 18 Apr 2003 11:40:02 +1000 Subject: Gnokii says yes..i say no In-Reply-To: <131A385F21AAD311BD6400902763781D020DD436@Z8> References: <131A385F21AAD311BD6400902763781D020DD436@Z8> Message-ID: <000a01c3054b$71fc92d0$12dddccb@ROYSYSLT> Brad, >From what you have described I can't see any particular problem. I happily use nagios from RedHat 7.2 and 8. A couple of points: * I had some locking problems originally and during my testing found that notifications in the nagios log file did not reliably reflect a sent message. Yes nagios thinks it has sent a notification but if there was a problem with gnokii then the log file entry was incorrect, as you have found. * I'm using gnokii 0.4.3 and in the gnokiirc file have use_locking = yes That means that you will have to have access to write to /var/lock * I've made nagios a member of the gnokii, lock, and uucp groups for their respective permissions. But if you can run gnokii from a nagios user command line it shouldn't be a permissions problem. Phil. > > Hi there, I had a question about gnokii in relation to sending nagios SMS > alerts. > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Magnus.M.Glantz at telia.se Fri Apr 18 09:54:45 2003 From: Magnus.M.Glantz at telia.se (Magnus.M.Glantz at telia.se) Date: Fri, 18 Apr 2003 09:54:45 +0200 Subject: SV: check_real: what does it really do? and is it enough? Message-ID: <6A72D51571C7C348906310222963B23D01376E30@TMS031MB.tcad.telia.se> My $0.05. $USER1$/check_tcp -H $HOSTADDRESS$ -p 1755 -w $ARG1$ -c $ARG2$ It checks that you can make a TCP connection to the Windows Media Streaming server. I think that writing a decent plug-in for Windows Media would be very difficult, cause the MMS protocoll is 'closed' and heavily copywrited. I guess that if someone managed to write a plug-in and implement the protocoll, it couldnt not be published without payin' some heavy dues to Microsoft, and that plug-in could not be OpenSource. I guess that if someone figured out what to send and what to expect as answere, you could use the check_tcp plugin -s and/or -e switches.. Cheers, //Magnus Glantz -----Ursprungligt meddelande----- Fr?n: David Gitman [mailto:David at feedroom.com] Skickat: to 2003-04-17 17:02 Till: Glantz, Magnus M. /Communications /070-211 99 22, 070-211 99 22 Kopia: nagios-users at lists.sourceforge.net ?mne: RE: [Nagios-users] check_real: what does it really do? and is it enough? Has anyone written a plug-in for Windows Media 9 Streaming? [-d] -----Original Message----- From: Magnus.M.Glantz at telia.se [mailto:Magnus.M.Glantz at telia.se] Sent: Tuesday, April 15, 2003 7:01 PM To: David Gitman Cc: nagios-users at lists.sourceforge.net Well, I'm drawing the conclusion after talking with some streaming specialists that sending a DESCRIBE method to the streaming server should do the trick. A successful try indicates that you got a two-way connection to/from the server, the file you're searching for (on, for example an ondemand server) exists, and the server can send you a description of the file. The people I've talked to cannot see any problems that should hinder an actual stream from taking place after the server successfully answered to the DESCRIBE method. Though, I'm still doing some research on this. I'll prolly know in acouple of days, should this not be the case. I'll send a mail to the list, when I know more. :-) Cheers, //Magnus Glantz -----Ursprungligt meddelande----- Fr?n: David Gitman [mailto:David at feedroom.com] Skickat: ti 2003-04-15 19:45 Till: Magnus Glantz Kopia: ?mne: RE: [Nagios-users] check_real: what does it really do? and is it enough? Have you found out anything? [-d] _____ From: Magnus Glantz [mailto:magnus at hacka.net] Sent: Friday, April 11, 2003 2:33 PM To: nagios-users at lists.sourceforge.net I'm trying to figure out what exactly the check_real plugin checks.. using the -url option, does it actually start a stream with the server? Or does it only check if the .rm file is there and reachable? If check_real only checks for a description of the file, is it enough to say that the service is OK? I dumped the conversation (tcpdump -X) while doing: ./check_real -H host -u /url/file.rm I'm not 100% sure what happens.. Though.. I've been able to understand some stuff.. ( I've had some help interpeting the packets from the RTSP RFC. http://www.freesoft.org/CIE/RFC/bynum.cgi?2326 ) 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: P 1:36(35) ack 1 win 5840 (DF) 0x0000 4500 0057 a274 4000 4006 4bd5 c2ec e2e9 E..W.t at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 .C.=...*P...s... 0x0020 8018 16d0 04f6 0000 0101 080a 1185 1070 ...............p 0x0030 a54c 4fd3 4f50 5449 4f4e 5320 7274 7370 .LO.OPTIONS.rtsp 0x0040 3a2f 2f28 6e75 6c6c 293a 3535 3420 5254 ://(null):554.RT 0x0050 5350 SP Above.. the Nagios server asks the real server for the available methods. (PLAY PAUSE etc..) 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: P 45:102(57) ack 270 win 6432 (DF) 0x0000 4500 006d a277 4000 4006 4bbc c2ec e2e9 E..m.w at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 .C.=...*P..Is..! 0x0020 8018 1920 0dac 0000 0101 080a 1185 1077 ...............w 0x0030 a54c 4fd9 4445 5343 5249 4245 2072 7473 .LO.DESCRIBE.rts 0x0040 703a 2f2f 286e 756c 6c29 3a35 3534 2f74 p://(null):554/t 0x0050 692f i/ Above.. check_real asks the real-server of a description of the file. 16:59:51.276763 streaming-server.rtsp > netsaint.37062: P 4614:5232(618) ack 111 win 33304 (DF) 0x0000 4500 029e 1e46 4000 3906 d4bc c343 e33d E....F at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 f019 50ff b28b .....*..s...P... 0x0020 8018 8218 a8af 0000 0101 080a a54c 4fed .............LO. 0x0030 1185 1083 7468 203c 2032 3630 3030 292c ....th.<.26000), 0x0040 4176 6572 6167 6542 616e 6477 6964 7468 AverageBandwidth 0x0050 3d31 =1 After this Nagios (the Netsaint host) sends win 0, and finilizes the connection. Now, the question is.. what did the check_real plugin test? That you can get an description of a file on the server? The author of the plug-in writes in his source code (check_real.c). ----------------snip------------- /* Part II - Check stream exists and is ok */ if ((result == STATE_OK) && (server_url != NULL)) { /* Part I - Server Check */ /* send the OPTIONS request */ sprintf (buffer, "DESCRIBE rtsp://%s:%d%s RTSP/1.0\n", host_name, server_port, server_url); result = send (sd, buffer, strlen (buffer), 0); /* send the header sync */ sprintf (buffer, "CSeq: 2\n"); result = send (sd, buffer, strlen (buffer), 0); /* send a newline so the server knows we're done with the request */ sprintf (buffer, "\n"); result = send (sd, buffer, strlen (buffer), 0); ----------------snip------------- DESCRIBE seems to be the last actuall command that the check_real plugin send to the server. But I could be wrong.. please check for yourselfs. An actual stream is from what I can tell, not initialized.. Though, if the server give an description of the file (the description comes from the file itself) I guess a stream should be able to be initialized.. but.. then again, I'm no TCP/IP or RTSP expert. Full dump of "check_real -H hostname -u /url/file.rm" below.. Hope you can shed some light upon this.. Cheers, //Magnus Glantz 16:59:50.676763 netsaint.37062 > streaming-server.rtsp.rtsp: S 1358934556:1358934556(0) win 5840 (DF) 0x0000 4500 003c a272 4000 4006 4bf2 c2ec e2e9 E..<.r at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21c 0000 0000 .C.=...*P....... 0x0020 a002 16d0 2ce0 0000 0204 05b4 0402 080a ....,........... 0x0030 1185 106e 0000 0000 0103 0300 ...n........ 16:59:50.696763 streaming-server.rtsp > netsaint.37062: S 1937890835:1937890835(0) ack 1358934557 win 33304 (DF) 0x0000 4500 0040 1e3f 4000 3906 d721 c343 e33d E.. at .?@.9..!.C.= 0x0010 c2ec e2e9 022a 90c6 7381 de13 50ff b21d .....*..s...P... 0x0020 b012 8218 68cb 0000 0101 080a a54c 4fd3 ....h........LO. 0x0030 1185 106e 0103 0300 0101 0402 0204 05b4 ...n............ 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: . ack 1 win 5840 (DF) 0x0000 4500 0034 a273 4000 4006 4bf9 c2ec e2e9 E..4.s at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 .C.=...*P...s... 0x0020 8010 16d0 14dd 0000 0101 080a 1185 1070 ...............p 0x0030 a54c 4fd3 .LO. 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: P 1:36(35) ack 1 win 5840 (DF) 0x0000 4500 0057 a274 4000 4006 4bd5 c2ec e2e9 E..W.t at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 .C.=...*P...s... 0x0020 8018 16d0 04f6 0000 0101 080a 1185 1070 ...............p 0x0030 a54c 4fd3 4f50 5449 4f4e 5320 7274 7370 .LO.OPTIONS.rtsp 0x0040 3a2f 2f28 6e75 6c6c 293a 3535 3420 5254 ://(null):554.RT 0x0050 5350 SP 16:59:50.726763 streaming-server.rtsp > netsaint.37062: . ack 36 win 33304 (DF) 0x0000 4500 0034 1e40 4000 3906 d72c c343 e33d E..4.@@.9..,.C.= 0x0010 c2ec e2e9 022a 90c6 7381 de14 50ff b240 .....*..s...P..@ 0x0020 8010 8218 a96e 0000 0101 080a a54c 4fd6 .....n.......LO. 0x0030 1185 1070 ...p 16:59:50.726763 netsaint.37062 > streaming-server.rtsp: P 36:45(9) ack 1 win 5840 (DF) 0x0000 4500 003d a275 4000 4006 4bee c2ec e2e9 E..=.u at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b240 7381 de14 .C.=...*P.. at s... 0x0020 8018 16d0 f6b3 0000 0101 080a 1185 1073 ...............s 0x0030 a54c 4fd6 4353 6571 3a20 310a 0a .LO.CSeq:.1.. 16:59:50.766763 streaming-server.rtsp > netsaint.37062: P 1:270(269) ack 45 win 33304 (DF) 0x0000 4500 0141 1e41 4000 3906 d61e c343 e33d E..A.A at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 de14 50ff b249 .....*..s...P..I 0x0020 8018 8218 1a2f 0000 0101 080a a54c 4fd9 ...../.......LO. 0x0030 1185 1073 5254 5350 2f31 2e30 2032 3030 ...sRTSP/1.0.200 0x0040 204f 4b0d 0a43 5365 713a 2031 0d0a 4461 .OK..CSeq:.1..Da 0x0050 7465 te 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: . ack 270 win 6432 (DF) 0x0000 4500 0034 a276 4000 4006 4bf6 c2ec e2e9 E..4.v at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 .C.=...*P..Is..! 0x0020 8010 1920 1147 0000 0101 080a 1185 1077 .....G.........w 0x0030 a54c 4fd9 .LO. 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: P 45:102(57) ack 270 win 6432 (DF) 0x0000 4500 006d a277 4000 4006 4bbc c2ec e2e9 E..m.w at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 .C.=...*P..Is..! 0x0020 8018 1920 0dac 0000 0101 080a 1185 1077 ...............w 0x0030 a54c 4fd9 4445 5343 5249 4245 2072 7473 .LO.DESCRIBE.rts 0x0040 703a 2f2f 286e 756c 6c29 3a35 3534 2f74 p://(null):554/t 0x0050 692f i/ 16:59:50.886763 streaming-server.rtsp > netsaint.37062: . ack 102 win 33304 (DF) 0x0000 4500 0034 1e42 4000 3906 d72a c343 e33d E..4.B at .9..*.C.= 0x0010 c2ec e2e9 022a 90c6 7381 df21 50ff b282 .....*..s..!P... 0x0020 8010 8218 a807 0000 0101 080a a54c 4fe7 .............LO. 0x0030 1185 1077 ...w 16:59:50.886763 netsaint.37062 > streaming-server.rtsp: P 102:111(9) ack 270 win 6432 (DF) 0x0000 4500 003d a278 4000 4006 4beb c2ec e2e9 E..=.x at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b282 7381 df21 .C.=...*P...s..! 0x0020 8018 1920 f1f3 0000 0101 080a 1185 1083 ................ 0x0030 a54c 4fe7 4353 6571 3a20 320a 0a .LO.CSeq:.2.. 16:59:51.046763 streaming-server.rtsp > netsaint.37062: . 270:1718(1448) ack 111 win 33304 (DF) 0x0000 4500 05dc 1e43 4000 3906 d181 c343 e33d E....C at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 df21 50ff b28b .....*..s..!P... 0x0020 8010 8218 3fd8 0000 0101 080a a54c 4fed ....?........LO. 0x0030 1185 1083 5254 5350 2f31 2e30 2032 3030 ....RTSP/1.0.200 0x0040 204f 4b0d 0a43 5365 713a 2032 0d0a 4461 .OK..CSeq:.2..Da 0x0050 7465 te 16:59:51.046763 netsaint.37062 > streaming-server.rtsp: R 111:111(0) ack 1718 win 8688 (DF) 0x0000 4500 0034 a279 4000 4006 4bf3 c2ec e2e9 E..4.y at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b28b 7381 e4c9 .C.=...*P...s... 0x0020 8014 21f0 0259 0000 0101 080a 1185 1093 ..!..Y.......... 0x0030 a54c 4fed .LO. 16:59:51.136763 streaming-server.rtsp > netsaint.37062: P 1718:3166(1448) ack 111 win 33304 (DF) 0x0000 4500 05dc 1e44 4000 3906 d180 c343 e33d E....D at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 e4c9 50ff b28b .....*..s...P... 0x0020 8018 8218 6d86 0000 0101 080a a54c 4fed ....m........LO. 0x0030 1185 1083 300a 613d 5374 6172 7454 696d ....0.a=StartTim 0x0040 653a 696e 7465 6765 723b 300a 613d 4176 e:integer;0.a=Av 0x0050 6742 gB 16:59:51.136763 netsaint.37062 > streaming-server.rtsp: R 1358934667:1358934667(0) win 0 (DF) 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 E..(.. at .../x.... 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 .C.=...*P....... 0x0020 5004 0000 cd0d 0000 P....... 16:59:51.236763 streaming-server.rtsp > netsaint.37062: . 3166:4614(1448) ack 111 win 33304 (DF) 0x0000 4500 05dc 1e45 4000 3906 d17f c343 e33d E....E at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 ea71 50ff b28b .....*..s..qP... 0x0020 8010 8218 97b0 0000 0101 080a a54c 4fed .............LO. 0x0030 1185 1083 696e 7465 6765 723b 3131 3739 ....integer;1179 0x0040 3538 0a61 3d45 6e64 4f6e 6552 756c 6545 58.a=EndOneRuleE 0x0050 6e64 nd 16:59:51.236763 netsaint.37062 > streaming-server.rtsp: R 1358934667:1358934667(0) win 0 (DF) 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 E..(.. at .../x.... 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 .C.=...*P....... 0x0020 5004 0000 cd0d 0000 P....... 16:59:51.276763 streaming-server.rtsp > netsaint.37062: P 4614:5232(618) ack 111 win 33304 (DF) 0x0000 4500 029e 1e46 4000 3906 d4bc c343 e33d E....F at .9....C.= 0x0010 c2ec e2e9 022a 90c6 7381 f019 50ff b28b .....*..s...P... 0x0020 8018 8218 a8af 0000 0101 080a a54c 4fed .............LO. 0x0030 1185 1083 7468 203c 2032 3630 3030 292c ....th.<.26000), 0x0040 4176 6572 6167 6542 616e 6477 6964 7468 AverageBandwidth 0x0050 3d31 =1 16:59:51.276763 netsaint.37062 > streaming-server.rtsp: R 1358934667:1358934667(0) win 0 (DF) 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 E..(.. at .../x.... 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 .C.=...*P....... 0x0020 5004 0000 cd0d 0000 P....... ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atulsh at hclinsys.com Fri Apr 18 06:50:53 2003 From: atulsh at hclinsys.com (Atul Shrivastava) Date: Fri, 18 Apr 2003 10:20:53 +0530 (IST) Subject: web application monitoring - windows authentication In-Reply-To: <20030417194519.18359.qmail@web20708.mail.yahoo.com> References: <20030417194519.18359.qmail@web20708.mail.yahoo.com> Message-ID: Hello, You can do it by this command: ./check_tcp -H HostIP -p 80 This 80 port is used if you are using the default web service else you have to specify the respective port. This you can check from the command prompt and then use the check_tcp command with the argument as: check_tcp!80!warning!critical Regards, Atul On Thu, 17 Apr 2003, sakrafd wrote: > > Hi, > > I am trying to set up nagios to monitor a web application that is located in a different windows domain on an intranet. The IIS5 server the application runs on does not allow anonymous or basic authentication access - all users have do have specific ACL's to view the site (a windows challenge/response prompt pops up in IE when first attempting to hit the app). Is it possible to monitor this type of application with nagios? If so, how? If not, does anyone know of a free monitoring tool that will? > > Thanks in advance, > > Dave > > > > --------------------------------- > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. -- Regards and have a nice day, Atul Shrivastava Info Structure Services HCL INFOSYSTEMS LTD. E - 4,5,6 Sector XI, Noida - 201301 Tel: 91-120-2526910,2443013 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Fri Apr 18 13:51:02 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Fri, 18 Apr 2003 13:51:02 +0200 (CEST) Subject: Pop Up Alerts In-Reply-To: References: Message-ID: <20030418115102.17311.qmail@web10901.mail.yahoo.com> If the Nagios operator is under Microsoft OS you can send Winpopup by using smbclient. Steve --- chbaker at powersystems.rockwell.com a ?crit?: > I think I know the answer to this, but just to be sure I'll ask. Does > nagios > have any JavaScript popups to alert an operator of a problem? > > Charles H. Baker > chbaker at powersystems dot rockwell dot com > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > BOFH excuse #426: > internet is needed to catch the etherbunny > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From NOC at eiiecomm.com Fri Apr 18 15:43:17 2003 From: NOC at eiiecomm.com (NOC at eiiecomm.com) Date: Fri, 18 Apr 2003 09:43:17 -0400 Subject: Notifications only get to certain email accounts In-Reply-To: References: Message-ID: Hi all, I am having trouble figuring out why notifications get to my yahoo email but, don't get to my Road Runner email. I get notifications on my ATT cell phone but, can't get them at my corporate email through Lotus notes. Does anyone have suggestions on how I might remedy this issue? Nagios is sending notification perfectly but, it appears that certain email servers do not all the three section domain name. ie; nagios at hostname.domainname.com Any help would be greatly appreciated Mike Hall ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crash at pinehurst.net Fri Apr 18 16:13:42 2003 From: crash at pinehurst.net (Jeff Lane) Date: Fri, 18 Apr 2003 10:13:42 -0400 Subject: Configuring nrpe Message-ID: <3EA00816.2050006@pinehurst.net> Good morning all... I need a little help in configureing a check for nrpe... the one thing that has me stumped is how to check a process that is started by /bin/sh specifically mysqld. I have tried the following in nrpe.cfg: command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C '/bin/sh /usr/bin/safe_mysqld' command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C "/bin/sh /usr/bin/safe_mysqld" command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C `/bin/sh /usr/bin/safe_mysqld` command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C /usr/bin/safe_mysqld command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C /bin/sh\ /usr/bin/safe_mysqld and none of these worked... here is what mysql looks like to ps: 28887 ? S 0:00 /bin/sh /usr/bin/safe_mysqld --defaults-file=/etc/my. 28914 ? S 0:00 \_ /usr/libexec/mysqld --defaults-file=/etc/my.cnf - 28916 ? S 0:16 \_ /usr/libexec/mysqld --defaults-file=/etc/my.c 28917 ? S 1:29 \_ /usr/libexec/mysqld --defaults-file=/etc/ I have even tried it wiht the child process names as well... since this is a server that is constantly tweaked, just using the process number would be futile, as it changes at least once a week... so could someone point me in the right direction to getting this checked??? Thanks! Jeff -- Jeffrey Lane ConnectNC.com / Internet of the Sandhills W4KDH at arrl.net chown -r us:us /yourbase/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Apr 18 17:05:42 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 18 Apr 2003 11:05:42 -0400 (EDT) Subject: Configuring nrpe In-Reply-To: <3EA00816.2050006@pinehurst.net> References: <3EA00816.2050006@pinehurst.net> Message-ID: You should be able to use "-C /bin/sh -a /usr/bin/safe_mysqld" note the ps on the command line probably has different defaults than ps in check_procs. Take look at your config.h for PS_COMMAND. -sg On Fri, 18 Apr 2003, Jeff Lane wrote: > Good morning all... > > I need a little help in configureing a check for nrpe... the one thing > that has me stumped is how to check a process that is started by /bin/sh > > specifically mysqld. > > I have tried the following in nrpe.cfg: > > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > '/bin/sh /usr/bin/safe_mysqld' > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > "/bin/sh /usr/bin/safe_mysqld" > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > `/bin/sh /usr/bin/safe_mysqld` > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > /usr/bin/safe_mysqld > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > /bin/sh\ /usr/bin/safe_mysqld > > and none of these worked... > > here is what mysql looks like to ps: > > > 28887 ? S 0:00 /bin/sh /usr/bin/safe_mysqld > --defaults-file=/etc/my. > 28914 ? S 0:00 \_ /usr/libexec/mysqld > --defaults-file=/etc/my.cnf - > 28916 ? S 0:16 \_ /usr/libexec/mysqld > --defaults-file=/etc/my.c > 28917 ? S 1:29 \_ /usr/libexec/mysqld > --defaults-file=/etc/ > > I have even tried it wiht the child process names as well... > > since this is a server that is constantly tweaked, just using the > process number would be futile, as it changes at least once a week... > so could someone point me in the right direction to getting this checked??? > > Thanks! > Jeff > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From val at nycity.com Fri Apr 18 17:14:55 2003 From: val at nycity.com (Val Vechnyak) Date: Fri, 18 Apr 2003 11:14:55 -0400 Subject: Mail FROM field needs to be changed Message-ID: <01f301c305bd$449a3320$fa01a8c0@reesa> Hello, I apologize if this was discussed already in this list, but since I just signed up I did not know. My problem is when nagios is sending email notifications it includes the entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname.com). There is no problem when I send an email using PINE from nagios user, so my sendmail is configured properly. This is a problem for me because some email servers lookup the MX record of the domain name and refuse email if it does not match. ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com, but nagios still puts the hostname in the FROM field. Could anyone tell me where I can configure it? Thanks, Val -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank.gadot at epscorp.com Fri Apr 18 18:41:42 2003 From: frank.gadot at epscorp.com (Frank Gadot) Date: 18 Apr 2003 12:41:42 -0400 Subject: CGI trouble Message-ID: <1050684101.31802.10.camel@localhost> Hi all, Can somebody tell me how come my CGIs do not find the libgd.so.2 library ? I have it on my computer, here is the output of the cgi when I run it from the command line... ./trends.cgi: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory thank you for your help ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.Ostric at arm.com Fri Apr 18 18:55:24 2003 From: Lionel.Ostric at arm.com (Lionel.Ostric at arm.com) Date: Fri, 18 Apr 2003 18:55:24 +0200 Subject: CGI trouble Message-ID: You are missing two directives in your http.conf file which are : PassEnv LD_LIBRARY_PATH SetEnv LD_LIBRARY_PATH /usr/local/lib to tell your cgis where to find the libs .... -------------------------------------------------------------------------------------- Lionel Ostric - Systems Administrator - Engineering IT ARM France - Les Cardoulines B2 - Route des Dolines Sophia Antipolis - 06560 Valbonne - France +33 (0)4 97 23 51 22 / +33 (0)6 03 83 02 63 |---------+----------------------------------------> | | Frank Gadot | | | | | | Sent by: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 18/04/2003 18:41 | | | | |---------+----------------------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | To: Nagios-Users | | cc: | | Subject: [Nagios-users] CGI trouble | >------------------------------------------------------------------------------------------------------------------------------| Hi all, Can somebody tell me how come my CGIs do not find the libgd.so.2 library ? I have it on my computer, here is the output of the cgi when I run it from the command line... ./trends.cgi: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory thank you for your help ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Hall at eiiecomm.com Fri Apr 18 19:13:50 2003 From: Mike.Hall at eiiecomm.com (Mike.Hall at eiiecomm.com) Date: Fri, 18 Apr 2003 13:13:50 -0400 Subject: Notifications only get to certain email accounts Message-ID: Hi all, I am having trouble figuring out why notifications get to my yahoo email but, don't get to my Road Runner email. I get notifications on my ATT cell phone but, can't get them at my corporate email through Lotus notes. Does anyone have suggestions on how I might remedy this issue? Nagios is sending notification perfectly but, it appears that certain email servers do not all the three section domain name. ie; nagios at hostname.domainname.com Any help would be greatly appreciated Mike Hall ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Apr 18 19:22:33 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 18 Apr 2003 12:22:33 -0500 Subject: Mail FROM field needs to be changed Message-ID: I'm not convinced that your sendmail config is blameless. Try the following: # su - nagios $ echo 'hello' | /usr/lib/sendmail val at nycity.com Let us know what the FROM header looks like on the receiving end. jc -----Original Message----- From: Val Vechnyak [mailto:val at nycity.com] Sent: Friday, April 18, 2003 10:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Mail FROM field needs to be changed Hello, I apologize if this was discussed already in this list, but since I just signed up I did not know. My problem is when nagios is sending email notifications it includes the entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname.com ). There is no problem when I send an email using PINE from nagios user, so my sendmail is configured properly. This is a problem for me because some email servers lookup the MX record of the domain name and refuse email if it does not match. ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com , but nagios still puts the hostname in the FROM field. Could anyone tell me where I can configure it? Thanks, Val -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Fri Apr 18 19:28:16 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 18 Apr 2003 12:28:16 -0500 Subject: Notifications only get to certain email accounts Message-ID: <5DB017510818EC468B05BD7BD9EACF83030EDCBD@mismail.ena.com> Is hostname.domainname.com in both forward _and_ reverse DNS? Do they match? Some mail configurations will reject mail from hosts that do not match. Also, is your IP a dialup/DSL or in some RBL listed IP range? -- Marc > -----Original Message----- > From: Mike.Hall at eiiecomm.com [mailto:Mike.Hall at eiiecomm.com] > Sent: Friday, April 18, 2003 12:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notifications only get to certain email accounts > > Hi all, > I am having trouble figuring out why notifications get to my yahoo email > but, don't get to my Road Runner email. I get notifications on my ATT cell > phone but, can't get them at my corporate email through Lotus notes. Does > anyone have suggestions on how I might remedy this issue? > > Nagios is sending notification perfectly but, it appears that certain > email servers do not all the three section domain name. > > ie; nagios at hostname.domainname.com > > Any help would be greatly appreciated > > Mike Hall > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mnatoli at yahoo.com Fri Apr 18 19:37:10 2003 From: mnatoli at yahoo.com (Mark Natoli) Date: Fri, 18 Apr 2003 10:37:10 -0700 (PDT) Subject: acknowledgements in config files Message-ID: <20030418173710.44044.qmail@web21406.mail.yahoo.com> Hi, I've come to rely on the ntray tool heavily to let me know the status of multiple systems at a glance. This tool shows red, yellow, green in your system tray. My problem is that occasionally I have systems that are out of service for a couple of days for repairs, etc. I don't want to rip out the configs for these or comment out all of the services. How do I easily shut down the monitoring of these services for a particular system using the config files without removing/commenting all of the entries? TIA -Mark __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From val at nycity.com Fri Apr 18 20:20:52 2003 From: val at nycity.com (Val Vechnyak) Date: Fri, 18 Apr 2003 14:20:52 -0400 Subject: Mail FROM field needs to be changed In-Reply-To: References: Message-ID: <000801c305d7$3ef35db0$fa01a8c0@reesa> Ummmmm, You are right. My bad. That's embarrassing. It works using PINE, but not from the command line. Don't know what is going on. Thanks and sorry I took your time. ---------------------------------------------------------------------------- Val Vechnyak MCP Technical support: support at msohosting.com -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Friday, April 18, 2003 13:23 To: 'Val Vechnyak'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Mail FROM field needs to be changed I'm not convinced that your sendmail config is blameless. Try the following: # su - nagios $ echo 'hello' | /usr/lib/sendmail val at nycity.com Let us know what the FROM header looks like on the receiving end. jc -----Original Message----- From: Val Vechnyak [mailto:val at nycity.com] Sent: Friday, April 18, 2003 10:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Mail FROM field needs to be changed Hello, I apologize if this was discussed already in this list, but since I just signed up I did not know. My problem is when nagios is sending email notifications it includes the entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname.com). There is no problem when I send an email using PINE from nagios user, so my sendmail is configured properly. This is a problem for me because some email servers lookup the MX record of the domain name and refuse email if it does not match. ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com, but nagios still puts the hostname in the FROM field. Could anyone tell me where I can configure it? Thanks, Val -------------- next part -------------- An HTML attachment was scrubbed... URL: From crash at pinehurst.net Fri Apr 18 20:35:12 2003 From: crash at pinehurst.net (Jeff Lane) Date: Fri, 18 Apr 2003 14:35:12 -0400 Subject: Configuring still Message-ID: <3EA04560.4010709@pinehurst.net> Oddly enough, I tried changing the command bit to mysqld and it worked... weird... and changing it to just safe_mysqld worked as well... Here is another problem however... I have also put nrpe on a web server and I am getting problems iwth the checks timing out automatically... Here is what the GUI shows: webgnostics Cobalt Admin Status CRITICAL 04-18-2003 14:26:25 0d 0h 38m 1s 3/3 CHECK_NRPE: Socket timeout after 10 seconds. Current Load CRITICAL 04-18-2003 14:26:48 0d 0h 37m 41s 3/3 CHECK_NRPE: Socket timeout after 10 seconds. Current Users CRITICAL 04-18-2003 14:27:10 0d 0h 37m 11s 3/3 CHECK_NRPE: Socket timeout after 10 seconds. and there are many others... what causes this? If I run the check_nrpe commands by hand, each and every one works perfectly... HOWEVER when they are run by nagios automatically, they all fail... This failure is ONLY occuring for this one host. I checked service.cfg and hosts.cfg and everthing seems to be correct in each of them Any thoughts? Jeff Subhendu Ghosh wrote: > You should be able to use "-C /bin/sh -a /usr/bin/safe_mysqld" > > note the ps on the command line probably has different defaults than ps in check_procs. Take look at your config.h for PS_COMMAND. > -- Jeffrey Lane ConnectNC.com / Internet of the Sandhills W4KDH at arrl.net chown -r us:us /yourbase/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Apr 18 20:34:54 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 18 Apr 2003 14:34:54 -0400 (EDT) Subject: Configuring nrpe In-Reply-To: <3EA044E6.70607@pinehurst.net> References: <3EA044E6.70607@pinehurst.net> Message-ID: Do you have the correct port number configured? Does the command line and configure syntax match? -sg On Fri, 18 Apr 2003, Jeff Lane wrote: > Oddly enough, I tried changing the command bit to mysqld and it > worked... weird... and changing it to just safe_mysqld worked as well... > > Here is another problem however... > > I have also put nrpe on a web server and I am getting problems iwth the > checks timing out automatically... > > Here is what the GUI shows: > webgnostics > > > Cobalt Admin Status > CRITICAL 04-18-2003 14:26:25 0d 0h 38m 1s 3/3 CHECK_NRPE: Socket > timeout after 10 seconds. > > Current Load > CRITICAL 04-18-2003 14:26:48 0d 0h 37m 41s 3/3 CHECK_NRPE: Socket > timeout after 10 seconds. > > Current Users > CRITICAL 04-18-2003 14:27:10 0d 0h 37m 11s 3/3 CHECK_NRPE: Socket > timeout after 10 seconds. > > > and there are many others... what causes this? If I run the check_nrpe > commands by hand, each and every one works perfectly... HOWEVER when > they are run by nagios automatically, they all fail... > > This failure is ONLY occuring for this one host. I checked service.cfg > and hosts.cfg and everthing seems to be correct in each of them > > Any thoughts? > > Jeff > > Subhendu Ghosh wrote: > > You should be able to use "-C /bin/sh -a /usr/bin/safe_mysqld" > > > > note the ps on the command line probably has different defaults than ps in > > check_procs. Take look at your config.h for PS_COMMAND. > > > > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crash at pinehurst.net Fri Apr 18 20:57:55 2003 From: crash at pinehurst.net (Jeff Lane) Date: Fri, 18 Apr 2003 14:57:55 -0400 Subject: Configuring nrpe In-Reply-To: References: Message-ID: <3EA04AB3.2050600@pinehurst.net> Yep... to try it manually, I am merely copying the configured commands and filling in the blanks... for example... to check the disk I am using: check_nrpe -H ip.of.host.machine -p portIchose -c check_disk1 which gives me a correct response... however setting it automatically does not work... it isnt that just one or two things arent working for this host... Ic ould probably figure that out on my own... but the problem is that ALL checks are failing on this one host, even though I can do each and every one of them from command line and have them work. I am pretty sure its not in the syntax either, since a good number of these checks are being run on some other machines as well, and are working fine on those machines. (for example the check_disk command, check_sshd command, and some other commands I have been using for general service checks). Cheers Jeff Subhendu Ghosh wrote: > Do you have the correct port number configured? > > Does the command line and configure syntax match? > > -sg > > On Fri, 18 Apr 2003, Jeff Lane wrote: > > >>Oddly enough, I tried changing the command bit to mysqld and it >>worked... weird... and changing it to just safe_mysqld worked as well... >> >>Here is another problem however... >> >>I have also put nrpe on a web server and I am getting problems iwth the >>checks timing out automatically... >> >>Here is what the GUI shows: >>webgnostics >> >> >>Cobalt Admin Status >>CRITICAL 04-18-2003 14:26:25 0d 0h 38m 1s 3/3 CHECK_NRPE: Socket >>timeout after 10 seconds. >> >>Current Load >>CRITICAL 04-18-2003 14:26:48 0d 0h 37m 41s 3/3 CHECK_NRPE: Socket >>timeout after 10 seconds. >> >>Current Users >>CRITICAL 04-18-2003 14:27:10 0d 0h 37m 11s 3/3 CHECK_NRPE: Socket >>timeout after 10 seconds. >> >> >>and there are many others... what causes this? If I run the check_nrpe >>commands by hand, each and every one works perfectly... HOWEVER when >>they are run by nagios automatically, they all fail... >> >>This failure is ONLY occuring for this one host. I checked service.cfg >>and hosts.cfg and everthing seems to be correct in each of them >> >>Any thoughts? >> >>Jeff >> >>Subhendu Ghosh wrote: >> >>>You should be able to use "-C /bin/sh -a /usr/bin/safe_mysqld" >>> >>>note the ps on the command line probably has different defaults than ps in >>>check_procs. Take look at your config.h for PS_COMMAND. >>> >> >> >> >> > -- Jeffrey Lane ConnectNC.com / Internet of the Sandhills W4KDH at arrl.net chown -r us:us /yourbase/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Apr 18 21:22:05 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 18 Apr 2003 14:22:05 -0500 Subject: acknowledgements in config files Message-ID: I asked a similar question months ago. IIRC, the author said there's not much he can do, until Nagios can provide XML on the interface. Something like this. Sorry for being vague, but if you really need the e-mail in question, I can try to dig it out. jc > -----Original Message----- > From: Mark Natoli [mailto:mnatoli at yahoo.com] > Sent: Friday, April 18, 2003 12:37 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] acknowledgements in config files > > > Hi, > > I've come to rely on the ntray tool heavily to let > me know the status of multiple systems at a glance. > This tool shows red, yellow, green in your system > tray. > My problem is that occasionally I have systems that > are out of service for a couple of days for repairs, > etc. I don't want to rip out the configs for these or > comment out all of the services. > How do I easily shut down the monitoring of these > services for a particular system using the config > files without removing/commenting all of the entries? > > TIA > -Mark > > __________________________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo > http://search.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Apr 18 21:28:34 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 18 Apr 2003 14:28:34 -0500 Subject: Mail FROM field needs to be changed Message-ID: You may have tweaked your pine config to force the FROM address. As for sendmail, depending on what version of sendmail you're running, it could be a simple tweak. Edit /etc/sendmail.cf and search for 'masquerade' or '^DM' (without the quotes) and change accordingly. Here's a sample tweak from my sendmail.cf file for one of my Linux hosts (lines 138-139) running sendmail version 8.11.6: # who I masquerade as (null for no masquerading) (see also $=M) DMsprintspectrum.com HTH. jc -----Original Message----- From: Val Vechnyak [mailto:val at nycity.com] Sent: Friday, April 18, 2003 1:21 PM To: Carroll, Jim P [Contractor]; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Mail FROM field needs to be changed Ummmmm, You are right. My bad. That's embarrassing. It works using PINE, but not from the command line. Don't know what is going on. Thanks and sorry I took your time. ---------------------------------------------------------------------------- Val Vechnyak MCP Technical support: support at msohosting.com -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Friday, April 18, 2003 13:23 To: 'Val Vechnyak'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Mail FROM field needs to be changed I'm not convinced that your sendmail config is blameless. Try the following: # su - nagios $ echo 'hello' | /usr/lib/sendmail val at nycity.com Let us know what the FROM header looks like on the receiving end. jc -----Original Message----- From: Val Vechnyak [mailto:val at nycity.com] Sent: Friday, April 18, 2003 10:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Mail FROM field needs to be changed Hello, I apologize if this was discussed already in this list, but since I just signed up I did not know. My problem is when nagios is sending email notifications it includes the entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname.com ). There is no problem when I send an email using PINE from nagios user, so my sendmail is configured properly. This is a problem for me because some email servers lookup the MX record of the domain name and refuse email if it does not match. ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com , but nagios still puts the hostname in the FROM field. Could anyone tell me where I can configure it? Thanks, Val -------------- next part -------------- An HTML attachment was scrubbed... URL: From mksmith at pa.eplus.com Fri Apr 18 21:50:39 2003 From: mksmith at pa.eplus.com (Mitchell K. Smith) Date: Fri, 18 Apr 2003 15:50:39 -0400 Subject: incredible disappearing host Message-ID: <509CCC09F64F4247983A7306863627E70D539F@exchpa2.pa.eplus.com> Greetings all. I am running Nagios 1.0, RH Linux 7.3, Compaq DL360 1.2GHz Nagios has been working fine for quite a long while. Recently we added about 30 additional servers with two services each to monitor. There is a total of 62 hosts and 125 services being monitored. In addition, I am also running MRTG/RRDTool on the same machine and it's gathering data from something like 800-1000 interfaces. The systems is getting fairly busy. What happens is this. I added a new server and 3 services to be monitored. When I start Nagios, the new server will sometimes not appear on the hosts or services screen. Doing a view config > hosts it's definately there and is configured the same as many other servers. Restarting Nagios or refreshing the browser will sometimes bring it back but it will eventually disappear again. This happens from multiple browsers or clients. Has anyone seen anything like this before? Weird. Thanks for the help. Mitchell K. Smith Host definition: # 'hpov00' host definition define host{ use generic-host host_name hpov00 alias HP OpenView server address 172.31.9.50 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } Service definitions: # Service definition hpov00 - PING define service{ use generic-service ; Name of service template to use host_name hpov00 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_ping!200.0,20%!500.0,60% } # Service definition hpov00 - HP OpenView Process Manager define service{ use generic-service ; Name of service template to use host_name hpov00 service_description HP OpenView Process Manager is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_nt_service!"HP OpenView Process Manager" } # Service definition hpov00 - SNMP EMANATE Master Agent define service{ use generic-service ; Name of service template to use host_name hpov00 service_description SNMP EMANATE Master Agent is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_nt_service!EMANATE } ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Apr 18 22:07:55 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 18 Apr 2003 15:07:55 -0500 Subject: incredible disappearing host Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D435F@mismail.ena.com> Yup. Verify that you don't have multiple copies of nagios running. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Mitchell K. Smith To: nagios-users at lists.sourceforge.net Sent: Fri Apr 18 14:50:39 2003 Subject: [Nagios-users] incredible disappearing host Greetings all. I am running Nagios 1.0, RH Linux 7.3, Compaq DL360 1.2GHz Nagios has been working fine for quite a long while. Recently we added about 30 additional servers with two services each to monitor. There is a total of 62 hosts and 125 services being monitored. In addition, I am also running MRTG/RRDTool on the same machine and it's gathering data from something like 800-1000 interfaces. The systems is getting fairly busy. What happens is this. I added a new server and 3 services to be monitored. When I start Nagios, the new server will sometimes not appear on the hosts or services screen. Doing a view config > hosts it's definately there and is configured the same as many other servers. Restarting Nagios or refreshing the browser will sometimes bring it back but it will eventually disappear again. This happens from multiple browsers or clients. Has anyone seen anything like this before? Weird. Thanks for the help. Mitchell K. Smith Host definition: # 'hpov00' host definition define host{ use generic-host host_name hpov00 alias HP OpenView server address 172.31.9.50 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } Service definitions: # Service definition hpov00 - PING define service{ use generic-service ; Name of service template to use host_name hpov00 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_ping!200.0,20%!500.0,60% } # Service definition hpov00 - HP OpenView Process Manager define service{ use generic-service ; Name of service template to use host_name hpov00 service_description HP OpenView Process Manager is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_nt_service!"HP OpenView Process Manager" } # Service definition hpov00 - SNMP EMANATE Master Agent define service{ use generic-service ; Name of service template to use host_name hpov00 service_description SNMP EMANATE Master Agent is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_nt_service!EMANATE } ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 val at nycity.com Fri Apr 18 23:07:19 2003 From: val at nycity.com (Val Vechnyak) Date: Fri, 18 Apr 2003 17:07:19 -0400 Subject: Mail FROM field needs to be changed In-Reply-To: References: Message-ID: <003f01c305ee$7fb6fd40$fa01a8c0@reesa> Yes, I have domain masquerading setup. The problem seems to have something to do with sendmail not talking correctly to domino MTA. Maybe it is the same problem that used to be in beta version of plugins when check_smtp did not issue a QUIT. ---------------------------------------------------------------------------- Val Vechnyak -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Friday, April 18, 2003 15:29 To: 'Val Vechnyak'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Mail FROM field needs to be changed You may have tweaked your pine config to force the FROM address. As for sendmail, depending on what version of sendmail you're running, it could be a simple tweak. Edit /etc/sendmail.cf and search for 'masquerade' or '^DM' (without the quotes) and change accordingly. Here's a sample tweak from my sendmail.cf file for one of my Linux hosts (lines 138-139) running sendmail version 8.11.6: # who I masquerade as (null for no masquerading) (see also $=M) DMsprintspectrum.com HTH. jc -----Original Message----- From: Val Vechnyak [mailto:val at nycity.com] Sent: Friday, April 18, 2003 1:21 PM To: Carroll, Jim P [Contractor]; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Mail FROM field needs to be changed Ummmmm, You are right. My bad. That's embarrassing. It works using PINE, but not from the command line. Don't know what is going on. Thanks and sorry I took your time. ---------------------------------------------------------------------------- Val Vechnyak MCP Technical support: support at msohosting.com -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Friday, April 18, 2003 13:23 To: 'Val Vechnyak'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Mail FROM field needs to be changed I'm not convinced that your sendmail config is blameless. Try the following: # su - nagios $ echo 'hello' | /usr/lib/sendmail val at nycity.com Let us know what the FROM header looks like on the receiving end. jc -----Original Message----- From: Val Vechnyak [mailto:val at nycity.com] Sent: Friday, April 18, 2003 10:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Mail FROM field needs to be changed Hello, I apologize if this was discussed already in this list, but since I just signed up I did not know. My problem is when nagios is sending email notifications it includes the entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname.com). There is no problem when I send an email using PINE from nagios user, so my sendmail is configured properly. This is a problem for me because some email servers lookup the MX record of the domain name and refuse email if it does not match. ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com, but nagios still puts the hostname in the FROM field. Could anyone tell me where I can configure it? Thanks, Val -------------- next part -------------- An HTML attachment was scrubbed... URL: From mkazmier at sofast.net Fri Apr 18 23:24:20 2003 From: mkazmier at sofast.net (Michael S. Kazmier) Date: Fri, 18 Apr 2003 15:24:20 -0600 Subject: check_traffic and RRD Message-ID: <004301c305f0$dff2ff40$6701010a@kazkdsxp> Hello all, I have spent the last week or so playing with the check_traffic plugin and reading the archives. I realize there are some bugs in the make-config script and what not, I got most of that figured out. What I haven't been able to master is the RRD files. I have utilized rrdtool with the proper syntax to create the RRD files. I went through the services.cfg to ensure I had the proper argument for check_traffic to update the RRD files in the db directory, I checked the check_traffic script and all syntax appears correct for the rrdtool update command. I checked the permissions in the db directory and files, all looks good there (heck, I even set them to world writeable). After all that, my RRD files are still not getting updates although the check_traffic appears to running without problem or error. Any thoughts? I am not seeing any errors, but not totally sure where to look to find them. any pointers would be helpful. Thanks, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From mkazmier at sofast.net Fri Apr 18 23:31:55 2003 From: mkazmier at sofast.net (Michael S. Kazmier) Date: Fri, 18 Apr 2003 15:31:55 -0600 Subject: check_traffic and RRD In-Reply-To: <004301c305f0$dff2ff40$6701010a@kazkdsxp> References: <004301c305f0$dff2ff40$6701010a@kazkdsxp> Message-ID: <004c01c305f1$ef5ca7f0$6701010a@kazkdsxp> Update: Actually, I forgot to mention, when I run the check_traffic script from command line as root - it works, but when I run it as nagios, I get a permission denied error.. File permissions appear to be correct except the /usr and /usr/local are owned by root.root. The /usr/local/nagios and all others under are owned by nagios.nagios with write permission.. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michael S. Kazmier Sent: Friday, April 18, 2003 3:24 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_traffic and RRD Hello all, I have spent the last week or so playing with the check_traffic plugin and reading the archives. I realize there are some bugs in the make-config script and what not, I got most of that figured out. What I haven't been able to master is the RRD files. I have utilized rrdtool with the proper syntax to create the RRD files. I went through the services.cfg to ensure I had the proper argument for check_traffic to update the RRD files in the db directory, I checked the check_traffic script and all syntax appears correct for the rrdtool update command. I checked the permissions in the db directory and files, all looks good there (heck, I even set them to world writeable). After all that, my RRD files are still not getting updates although the check_traffic appears to running without problem or error. Any thoughts? I am not seeing any errors, but not totally sure where to look to find them. any pointers would be helpful. Thanks, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Sat Apr 19 00:05:21 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 18 Apr 2003 17:05:21 -0500 Subject: Mail FROM field needs to be changed Message-ID: I should mention that domain masquerading is typically disabled for accounts like 'root'. Surely you're not running Nagios under root, are you? jc -----Original Message----- From: Val Vechnyak [mailto:val at nycity.com] Sent: Friday, April 18, 2003 4:07 PM To: Carroll, Jim P [Contractor]; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Mail FROM field needs to be changed Yes, I have domain masquerading setup. The problem seems to have something to do with sendmail not talking correctly to domino MTA. Maybe it is the same problem that used to be in beta version of plugins when check_smtp did not issue a QUIT. ---------------------------------------------------------------------------- Val Vechnyak -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Friday, April 18, 2003 15:29 To: 'Val Vechnyak'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Mail FROM field needs to be changed You may have tweaked your pine config to force the FROM address. As for sendmail, depending on what version of sendmail you're running, it could be a simple tweak. Edit /etc/sendmail.cf and search for 'masquerade' or '^DM' (without the quotes) and change accordingly. Here's a sample tweak from my sendmail.cf file for one of my Linux hosts (lines 138-139) running sendmail version 8.11.6: # who I masquerade as (null for no masquerading) (see also $=M) DMsprintspectrum.com HTH. jc -----Original Message----- From: Val Vechnyak [mailto:val at nycity.com] Sent: Friday, April 18, 2003 1:21 PM To: Carroll, Jim P [Contractor]; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Mail FROM field needs to be changed Ummmmm, You are right. My bad. That's embarrassing. It works using PINE, but not from the command line. Don't know what is going on. Thanks and sorry I took your time. ---------------------------------------------------------------------------- Val Vechnyak MCP Technical support: support at msohosting.com -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Friday, April 18, 2003 13:23 To: 'Val Vechnyak'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Mail FROM field needs to be changed I'm not convinced that your sendmail config is blameless. Try the following: # su - nagios $ echo 'hello' | /usr/lib/sendmail val at nycity.com Let us know what the FROM header looks like on the receiving end. jc -----Original Message----- From: Val Vechnyak [mailto:val at nycity.com] Sent: Friday, April 18, 2003 10:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Mail FROM field needs to be changed Hello, I apologize if this was discussed already in this list, but since I just signed up I did not know. My problem is when nagios is sending email notifications it includes the entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname.com ). There is no problem when I send an email using PINE from nagios user, so my sendmail is configured properly. This is a problem for me because some email servers lookup the MX record of the domain name and refuse email if it does not match. ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com , but nagios still puts the hostname in the FROM field. Could anyone tell me where I can configure it? Thanks, Val -------------- next part -------------- An HTML attachment was scrubbed... URL: From tstocking at insynccom.com Sat Apr 19 00:10:38 2003 From: tstocking at insynccom.com (Thomas Stocking) Date: Fri, 18 Apr 2003 15:10:38 -0700 Subject: Nagios Mail from field Message-ID: <000901c305f7$58591540$6601a8c0@olympus.insynccom.com> Check the misccommands.cfg. In there you will see an entry like this: command_line /usr/bin/printf "%b" "***** Nagios 1.0b6 *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ The printf output is being piped to /bin/mail. In my world, I do not use /bin/mail for this. A much more flexible (and also free) program called sendEmail (http://caspian.dotconf.net/menu/Software/SendEmail/) allows this sort of thing on the command line, e.g. for a service failure: command_line /usr/local/nagios/libexec/sendEmail -f nagioshost at mydomain.com -t $CONTACTEMAIL$ -u "Alert - $HOSTALIAS$ $SERVICESTATE$ $NOTIFICATIONTYPE$" -m "ATTENTION REQUIRED: Service: $SERVICEDESC$ Host: $HOSTALIAS$ Address: $HOSTADDRESS$ State: $SERVICESTATE$ Date/Time: $DATETIME$ Additional Info: $OUTPUT$" } So you see you can get as fancy as you want.... Thomas Stocking, GCIA, GCIH Captech Partners thomas at captech.com http://www.captech.com (415) 507-9267 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nils_mueller at hotmail.com Sat Apr 19 13:55:27 2003 From: nils_mueller at hotmail.com (solkan) Date: 19 Apr 2003 11:55:27 -0000 Subject: CHECK_NRPE: Error - Could not complete SSL handshake Message-ID: <20030419115527.21336.qmail@pod-163.dolphin-server.co.uk> Help please, I am newbie to nrpe and want to monitor a remote machine using this plugin but it simply gives me the above error message. Anyone can tell me what to do now? Many thanks and have a very nice day, Solkan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lee.Crow at auab.aorcentaf.af.mil Sat Apr 19 17:36:29 2003 From: Lee.Crow at auab.aorcentaf.af.mil (Crow Lee Contr 379 ECS) Date: Sat, 19 Apr 2003 15:36:29 -0000 Subject: Nagios on FreeBSD Message-ID: <8B90C04B638E1B4DB4A3FC85E35198D30164CBBE@FSARXN03> Hi all, I installed nagios about a week ago. I just got the config files right to where when I run the check on them I get zero errors. Whoopie! Anyway, I can get to my nagios web site and view all of the documentation. However, when I try to click on any of the cgi links I get a 404 error. I set up the authentication for the cgi scripts and I am logged in as nagiosadmin. Here is my setup. OS: FreeBSD Nagios installed from port with all required software 2 drwxrwxr-x 2 nagios nagios 512 Apr 15 10:59 cgi-bin In my httpd.conf file I have: ScriptAlias /nagios/cgi-bin /usr/local/share/nagios/cgi-bin AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios /usr/local/share/nagios/ Options None AllowOverride AuthConfig Order allow,deny Allow from all Does anyone know what I am doing wrong? Any help would be greatly appreciated! Thanks, Lee Crow Sr. LAN/WAN Administrator ITT Systems Division --------------------------- Cell: +974-556-3127 DSN: 318-471-2074 Lee.Crow at auab.aorcentaf.af.mil -------------- next part -------------- An HTML attachment was scrubbed... URL: From arapoport at telepacific.com Sat Apr 19 18:53:09 2003 From: arapoport at telepacific.com (Asaf Rapoport) Date: Sat, 19 Apr 2003 09:53:09 -0700 Subject: Problems with Nagios Message-ID: # service nagios start Starting network monitor: nagios No lock file found in /usr/local/nagios/var/nagios.lock Anyone? -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: Friday, April 18, 2003 1:09 PM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #1425 - 21 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. SV: [Nagios-users] check_real: what does it really do? and is it enough? (Magnus.M.Glantz at telia.se) 2. Re: web application monitoring - windows authentication (Atul Shrivastava) 3. Re: Pop Up Alerts (=?iso-8859-1?q?Steve=20Dussaux?=) 4. Notifications only get to certain email accounts (NOC at eiiecomm.com) 5. Configuring nrpe (Jeff Lane) 6. Re: Configuring nrpe (Subhendu Ghosh) 7. Mail FROM field needs to be changed (Val Vechnyak) 8. CGI trouble (Frank Gadot) 9. Re: CGI trouble (Lionel.Ostric at arm.com) 10. Notifications only get to certain email accounts (Mike.Hall at eiiecomm.com) 11. RE: Mail FROM field needs to be changed (Carroll, Jim P [Contractor]) 12. RE: Notifications only get to certain email accounts (Marc Powell) 13. acknowledgements in config files (Mark Natoli) 14. RE: Mail FROM field needs to be changed (Val Vechnyak) 15. Configuring still (Jeff Lane) 16. Re: Configuring nrpe (Subhendu Ghosh) 17. Re: Re: Configuring nrpe (Jeff Lane) 18. RE: acknowledgements in config files (Carroll, Jim P [Contractor]) 19. RE: Mail FROM field needs to be changed (Carroll, Jim P [Contractor]) 20. incredible disappearing host (Mitchell K. Smith) 21. Re: incredible disappearing host (Marc Powell) --__--__-- Message: 1 Subject: SV: [Nagios-users] check_real: what does it really do? and is it enough? Date: Fri, 18 Apr 2003 09:54:45 +0200 From: To: Cc: My $0.05. $USER1$/check_tcp -H $HOSTADDRESS$ -p 1755 -w $ARG1$ -c $ARG2$ =20 It checks that you can make a TCP connection to the Windows Media = Streaming server. =20 I think that writing a decent plug-in for Windows Media would be very = difficult, cause the MMS protocoll is 'closed' and heavily copywrited. =20 I guess that if someone managed to write a plug-in and implement the = protocoll, it couldnt not be published without payin' some heavy dues to = Microsoft, and that plug-in could not be OpenSource. =20 I guess that if someone figured out what to send and what to expect as = answere, you could use the check_tcp plugin -s and/or -e switches.. =20 Cheers, //Magnus Glantz -----Ursprungligt meddelande-----=20 Fr=E5n: David Gitman [mailto:David at feedroom.com]=20 Skickat: to 2003-04-17 17:02=20 Till: Glantz, Magnus M. /Communications /070-211 99 22, 070-211 99 22=20 Kopia: nagios-users at lists.sourceforge.net=20 =C4mne: RE: [Nagios-users] check_real: what does it really do? and is = it enough? =09 =09 Has anyone written a plug-in for Windows Media 9 Streaming? =09 [-d] =09 -----Original Message----- From: Magnus.M.Glantz at telia.se [mailto:Magnus.M.Glantz at telia.se] Sent: Tuesday, April 15, 2003 7:01 PM To: David Gitman Cc: nagios-users at lists.sourceforge.net =09 Well, I'm drawing the conclusion after talking with some streaming = specialists that sending a DESCRIBE method to the streaming server = should do the trick. =09 A successful try indicates that you got a two-way connection to/from = the server, the file you're searching for (on, for example an ondemand = server) exists, and the server can send you a description of the file. =09 The people I've talked to cannot see any problems that should hinder an = actual stream from taking place after the server successfully answered = to the DESCRIBE method. =09 Though, I'm still doing some research on this. I'll prolly know in = acouple of days, should this not be the case. =09 I'll send a mail to the list, when I know more. :-) =09 Cheers, //Magnus Glantz =09 =09 -----Ursprungligt meddelande----- Fr=E5n: David Gitman [mailto:David at feedroom.com] Skickat: ti 2003-04-15 19:45 Till: Magnus Glantz Kopia: =C4mne: RE: [Nagios-users] check_real: what does it really do? = and is it enough? =20 =20 =09 Have you found out anything? =09 =20 =09 [-d] =09 =20 _____=20 =09 =09 From: Magnus Glantz [mailto:magnus at hacka.net] Sent: Friday, April 11, 2003 2:33 PM To: nagios-users at lists.sourceforge.net =09 =20 =09 I'm trying to figure out what exactly the check_real plugin = checks.. using the -url option, does it actually start a stream with the = server? Or does it only check if the .rm file is there and reachable? If = check_real only checks for a description of the file, is it enough to = say that the service is OK? =09 =20 =09 I dumped the conversation (tcpdump -X) while doing: =09 ./check_real -H host -u /url/file.rm =09 =20 =09 I'm not 100% sure what happens.. =09 Though.. I've been able to understand some stuff.. =09 =20 =09 ( I've had some help interpeting the packets from the RTSP RFC. =09 http://www.freesoft.org/CIE/RFC/bynum.cgi?2326 ) =09 =20 =09 =20 =09 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: P = 1:36(35) ack 1 win 5840 (DF) 0x0000 4500 0057 a274 4000 4006 4bd5 c2ec e2e9 = E..W.t at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 = .C.=3D...*P...s... 0x0020 8018 16d0 04f6 0000 0101 080a 1185 1070 = ...............p 0x0030 a54c 4fd3 4f50 5449 4f4e 5320 7274 7370 = .LO.OPTIONS.rtsp 0x0040 3a2f 2f28 6e75 6c6c 293a 3535 3420 5254 = ://(null):554.RT 0x0050 5350 SP =09 =20 =09 Above.. the Nagios server asks the real server for the = available methods. (PLAY PAUSE etc..) =09 =20 =09 =20 =09 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: P = 45:102(57) ack 270 win 6432 = (DF) 0x0000 4500 006d a277 4000 4006 4bbc c2ec e2e9 = E..m.w at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 = .C.=3D...*P..Is..! 0x0020 8018 1920 0dac 0000 0101 080a 1185 1077 = ...............w 0x0030 a54c 4fd9 4445 5343 5249 4245 2072 7473 = .LO.DESCRIBE.rts 0x0040 703a 2f2f 286e 756c 6c29 3a35 3534 2f74 = p://(null):554/t 0x0050 692f i/ =09 =20 =09 Above.. check_real asks the real-server of a description of = the file. =09 =20 =09 16:59:51.276763 streaming-server.rtsp > netsaint.37062: P = 4614:5232(618) ack 111 win 33304 (DF) 0x0000 4500 029e 1e46 4000 3906 d4bc c343 e33d = E....F at .9....C.=3D 0x0010 c2ec e2e9 022a 90c6 7381 f019 50ff b28b = .....*..s...P... 0x0020 8018 8218 a8af 0000 0101 080a a54c 4fed = .............LO. 0x0030 1185 1083 7468 203c 2032 3630 3030 292c = ....th.<.26000), 0x0040 4176 6572 6167 6542 616e 6477 6964 7468 = AverageBandwidth 0x0050 3d31 =3D1 =09 =20 =09 After this Nagios (the Netsaint host) sends win 0, and = finilizes the connection. =09 =20 =09 Now, the question is.. what did the check_real plugin test? = That you can get an description of a file on the server? =09 The author of the plug-in writes in his source code = (check_real.c). =09 ----------------snip------------- =09 /* Part II - Check stream exists and is ok */ if ((result =3D=3D STATE_OK) && (server_url !=3D NULL)) = { =09 =20 =09 /* Part I - Server Check */ =09 =20 =09 /* send the OPTIONS request */ sprintf (buffer, "DESCRIBE rtsp://%s:%d%s = RTSP/1.0\n", host_name, server_port, = server_url); result =3D send (sd, buffer, strlen (buffer), = 0); =09 =20 =09 /* send the header sync */ sprintf (buffer, "CSeq: 2\n"); result =3D send (sd, buffer, strlen (buffer), = 0); =09 =20 =09 /* send a newline so the server knows we're = done with the request */ sprintf (buffer, "\n"); result =3D send (sd, buffer, strlen (buffer), = 0); ----------------snip------------- =09 =20 =09 DESCRIBE seems to be the last actuall command that the = check_real plugin send to the server. =09 But I could be wrong.. please check for yourselfs. =09 =20 =09 An actual stream is from what I can tell, not initialized.. =09 Though, if the server give an description of the file (the = description comes from the file itself) I guess a stream should =09 be able to be initialized.. but.. then again, I'm no TCP/IP or = RTSP expert. =09 =20 =09 =20 =09 Full dump of "check_real -H hostname -u /url/file.rm" below.. =09 =20 =09 Hope you can shed some light upon this.. =09 Cheers, =09 //Magnus Glantz =09 =20 =09 =20 =09 =20 =09 16:59:50.676763 netsaint.37062 > streaming-server.rtsp.rtsp: S = 1358934556:1358934556(0) win 5840 (DF) 0x0000 4500 003c a272 4000 4006 4bf2 c2ec e2e9 = E..<.r at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21c 0000 0000 = .C.=3D...*P....... 0x0020 a002 16d0 2ce0 0000 0204 05b4 0402 080a = ....,........... 0x0030 1185 106e 0000 0000 0103 0300 = ...n........ =09 =20 =09 16:59:50.696763 streaming-server.rtsp > netsaint.37062: S = 1937890835:1937890835(0) ack 1358934557 win 33304 (DF) 0x0000 4500 0040 1e3f 4000 3906 d721 c343 e33d = E.. at .?@.9..!.C.=3D 0x0010 c2ec e2e9 022a 90c6 7381 de13 50ff b21d = .....*..s...P... 0x0020 b012 8218 68cb 0000 0101 080a a54c 4fd3 = ....h........LO. 0x0030 1185 106e 0103 0300 0101 0402 0204 05b4 = ...n............ =09 =20 =09 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: . ack 1 = win 5840 (DF) 0x0000 4500 0034 a273 4000 4006 4bf9 c2ec e2e9 = E..4.s at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 = .C.=3D...*P...s... 0x0020 8010 16d0 14dd 0000 0101 080a 1185 1070 = ...............p 0x0030 a54c 4fd3 .LO. =09 =20 =09 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: P = 1:36(35) ack 1 win 5840 (DF) 0x0000 4500 0057 a274 4000 4006 4bd5 c2ec e2e9 = E..W.t at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 = .C.=3D...*P...s... 0x0020 8018 16d0 04f6 0000 0101 080a 1185 1070 = ...............p 0x0030 a54c 4fd3 4f50 5449 4f4e 5320 7274 7370 = .LO.OPTIONS.rtsp 0x0040 3a2f 2f28 6e75 6c6c 293a 3535 3420 5254 = ://(null):554.RT 0x0050 5350 SP =09 =20 =09 16:59:50.726763 streaming-server.rtsp > netsaint.37062: . ack = 36 win 33304 (DF) 0x0000 4500 0034 1e40 4000 3906 d72c c343 e33d = E..4.@@.9..,.C.=3D 0x0010 c2ec e2e9 022a 90c6 7381 de14 50ff b240 = .....*..s...P..@ 0x0020 8010 8218 a96e 0000 0101 080a a54c 4fd6 = .....n.......LO. 0x0030 1185 1070 ...p =09 =20 =09 16:59:50.726763 netsaint.37062 > streaming-server.rtsp: P = 36:45(9) ack 1 win 5840 (DF) 0x0000 4500 003d a275 4000 4006 4bee c2ec e2e9 = E..=3D.u at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b240 7381 de14 = .C.=3D...*P.. at s... 0x0020 8018 16d0 f6b3 0000 0101 080a 1185 1073 = ...............s 0x0030 a54c 4fd6 4353 6571 3a20 310a 0a = .LO.CSeq:.1.. =09 =20 =09 16:59:50.766763 streaming-server.rtsp > netsaint.37062: P = 1:270(269) ack 45 win 33304 = (DF) 0x0000 4500 0141 1e41 4000 3906 d61e c343 e33d = E..A.A at .9....C.=3D 0x0010 c2ec e2e9 022a 90c6 7381 de14 50ff b249 = .....*..s...P..I 0x0020 8018 8218 1a2f 0000 0101 080a a54c 4fd9 = ...../.......LO. 0x0030 1185 1073 5254 5350 2f31 2e30 2032 3030 = ...sRTSP/1.0.200 0x0040 204f 4b0d 0a43 5365 713a 2031 0d0a 4461 = .OK..CSeq:.1..Da 0x0050 7465 te =09 =20 =09 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: . ack = 270 win 6432 (DF) 0x0000 4500 0034 a276 4000 4006 4bf6 c2ec e2e9 = E..4.v at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 = .C.=3D...*P..Is..! 0x0020 8010 1920 1147 0000 0101 080a 1185 1077 = .....G.........w 0x0030 a54c 4fd9 .LO. =09 =20 =09 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: P = 45:102(57) ack 270 win 6432 = (DF) 0x0000 4500 006d a277 4000 4006 4bbc c2ec e2e9 = E..m.w at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 = .C.=3D...*P..Is..! 0x0020 8018 1920 0dac 0000 0101 080a 1185 1077 = ...............w 0x0030 a54c 4fd9 4445 5343 5249 4245 2072 7473 = .LO.DESCRIBE.rts 0x0040 703a 2f2f 286e 756c 6c29 3a35 3534 2f74 = p://(null):554/t 0x0050 692f i/ =09 =20 =09 16:59:50.886763 streaming-server.rtsp > netsaint.37062: . ack = 102 win 33304 (DF) 0x0000 4500 0034 1e42 4000 3906 d72a c343 e33d = E..4.B at .9..*.C.=3D 0x0010 c2ec e2e9 022a 90c6 7381 df21 50ff b282 = .....*..s..!P... 0x0020 8010 8218 a807 0000 0101 080a a54c 4fe7 = .............LO. 0x0030 1185 1077 ...w =09 =20 =09 16:59:50.886763 netsaint.37062 > streaming-server.rtsp: P = 102:111(9) ack 270 win 6432 = (DF) 0x0000 4500 003d a278 4000 4006 4beb c2ec e2e9 = E..=3D.x at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b282 7381 df21 = .C.=3D...*P...s..! 0x0020 8018 1920 f1f3 0000 0101 080a 1185 1083 = ................ 0x0030 a54c 4fe7 4353 6571 3a20 320a 0a = .LO.CSeq:.2.. =09 =20 =09 16:59:51.046763 streaming-server.rtsp > netsaint.37062: . = 270:1718(1448) ack 111 win 33304 (DF) 0x0000 4500 05dc 1e43 4000 3906 d181 c343 e33d = E....C at .9....C.=3D 0x0010 c2ec e2e9 022a 90c6 7381 df21 50ff b28b = .....*..s..!P... 0x0020 8010 8218 3fd8 0000 0101 080a a54c 4fed = ....?........LO. 0x0030 1185 1083 5254 5350 2f31 2e30 2032 3030 = ....RTSP/1.0.200 0x0040 204f 4b0d 0a43 5365 713a 2032 0d0a 4461 = .OK..CSeq:.2..Da 0x0050 7465 te =09 =20 =09 16:59:51.046763 netsaint.37062 > streaming-server.rtsp: R = 111:111(0) ack 1718 win 8688 = (DF) 0x0000 4500 0034 a279 4000 4006 4bf3 c2ec e2e9 = E..4.y at .@.K..... 0x0010 c343 e33d 90c6 022a 50ff b28b 7381 e4c9 = .C.=3D...*P...s... 0x0020 8014 21f0 0259 0000 0101 080a 1185 1093 = ..!..Y.......... 0x0030 a54c 4fed .LO. =09 =20 =09 16:59:51.136763 streaming-server.rtsp > netsaint.37062: P = 1718:3166(1448) ack 111 win 33304 (DF) 0x0000 4500 05dc 1e44 4000 3906 d180 c343 e33d = E....D at .9....C.=3D 0x0010 c2ec e2e9 022a 90c6 7381 e4c9 50ff b28b = .....*..s...P... 0x0020 8018 8218 6d86 0000 0101 080a a54c 4fed = ....m........LO. 0x0030 1185 1083 300a 613d 5374 6172 7454 696d = ....0.a=3DStartTim 0x0040 653a 696e 7465 6765 723b 300a 613d 4176 = e:integer;0.a=3DAv 0x0050 6742 gB =09 =20 =09 16:59:51.136763 netsaint.37062 > streaming-server.rtsp: R = 1358934667:1358934667(0) win 0 (DF) 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 = E..(.. at .../x.... 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 = .C.=3D...*P....... 0x0020 5004 0000 cd0d 0000 = P....... =09 =20 =09 16:59:51.236763 streaming-server.rtsp > netsaint.37062: . = 3166:4614(1448) ack 111 win 33304 (DF) 0x0000 4500 05dc 1e45 4000 3906 d17f c343 e33d = E....E at .9....C.=3D 0x0010 c2ec e2e9 022a 90c6 7381 ea71 50ff b28b = .....*..s..qP... 0x0020 8010 8218 97b0 0000 0101 080a a54c 4fed = .............LO. 0x0030 1185 1083 696e 7465 6765 723b 3131 3739 = ....integer;1179 0x0040 3538 0a61 3d45 6e64 4f6e 6552 756c 6545 = 58.a=3DEndOneRuleE 0x0050 6e64 nd =09 =20 =09 16:59:51.236763 netsaint.37062 > streaming-server.rtsp: R = 1358934667:1358934667(0) win 0 (DF) 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 = E..(.. at .../x.... 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 = .C.=3D...*P....... 0x0020 5004 0000 cd0d 0000 = P....... =09 =20 =09 16:59:51.276763 streaming-server.rtsp > netsaint.37062: P = 4614:5232(618) ack 111 win 33304 (DF) 0x0000 4500 029e 1e46 4000 3906 d4bc c343 e33d = E....F at .9....C.=3D 0x0010 c2ec e2e9 022a 90c6 7381 f019 50ff b28b = .....*..s...P... 0x0020 8018 8218 a8af 0000 0101 080a a54c 4fed = .............LO. 0x0030 1185 1083 7468 203c 2032 3630 3030 292c = ....th.<.26000), 0x0040 4176 6572 6167 6542 616e 6477 6964 7468 = AverageBandwidth 0x0050 3d31 =3D1 =09 =20 =09 16:59:51.276763 netsaint.37062 > streaming-server.rtsp: R = 1358934667:1358934667(0) win 0 (DF) 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 = E..(.. at .../x.... 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 = .C.=3D...*P....... 0x0020 5004 0000 cd0d 0000 = P....... =09 =20 =09 =09 --__--__-- Message: 2 Date: Fri, 18 Apr 2003 10:20:53 +0530 (IST) From: Atul Shrivastava To: sakrafd cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] web application monitoring - windows authentication Hello, You can do it by this command: ./check_tcp -H HostIP -p 80 This 80 port is used if you are using the default web service else you have to specify the respective port. This you can check from the command prompt and then use the check_tcp command with the argument as: check_tcp!80!warning!critical Regards, Atul On Thu, 17 Apr 2003, sakrafd wrote: > > Hi, > > I am trying to set up nagios to monitor a web application that is located in a different windows domain on an intranet. The IIS5 server the application runs on does not allow anonymous or basic authentication access - all users have do have specific ACL's to view the site (a windows challenge/response prompt pops up in IE when first attempting to hit the app). Is it possible to monitor this type of application with nagios? If so, how? If not, does anyone know of a free monitoring tool that will? > > Thanks in advance, > > Dave > > > > --------------------------------- > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. -- Regards and have a nice day, Atul Shrivastava Info Structure Services HCL INFOSYSTEMS LTD. E - 4,5,6 Sector XI, Noida - 201301 Tel: 91-120-2526910,2443013 --__--__-- Message: 3 Date: Fri, 18 Apr 2003 13:51:02 +0200 (CEST) From: =?iso-8859-1?q?Steve=20Dussaux?= Subject: Re: [Nagios-users] Pop Up Alerts To: chbaker at powersystems.rockwell.com, nagios-users at lists.sourceforge.net If the Nagios operator is under Microsoft OS you can send Winpopup by using smbclient. Steve --- chbaker at powersystems.rockwell.com a ecrit : > I think I know the answer to this, but just to be sure I'll ask. Does > nagios > have any JavaScript popups to alert an operator of a problem? > > Charles H. Baker > chbaker at powersystems dot rockwell dot com > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > BOFH excuse #426: > internet is needed to catch the etherbunny > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en francais ! Yahoo! Mail : http://fr.mail.yahoo.com --__--__-- Message: 4 From: NOC at eiiecomm.com To: nagios-users at lists.sourceforge.net Date: Fri, 18 Apr 2003 09:43:17 -0400 Subject: [Nagios-users] Notifications only get to certain email accounts Hi all, I am having trouble figuring out why notifications get to my yahoo email but, don't get to my Road Runner email. I get notifications on my ATT cell phone but, can't get them at my corporate email through Lotus notes. Does anyone have suggestions on how I might remedy this issue? Nagios is sending notification perfectly but, it appears that certain email servers do not all the three section domain name. ie; nagios at hostname.domainname.com Any help would be greatly appreciated Mike Hall --__--__-- Message: 5 Date: Fri, 18 Apr 2003 10:13:42 -0400 From: Jeff Lane To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Configuring nrpe Good morning all... I need a little help in configureing a check for nrpe... the one thing that has me stumped is how to check a process that is started by /bin/sh specifically mysqld. I have tried the following in nrpe.cfg: command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C '/bin/sh /usr/bin/safe_mysqld' command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C "/bin/sh /usr/bin/safe_mysqld" command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C `/bin/sh /usr/bin/safe_mysqld` command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C /usr/bin/safe_mysqld command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C /bin/sh\ /usr/bin/safe_mysqld and none of these worked... here is what mysql looks like to ps: 28887 ? S 0:00 /bin/sh /usr/bin/safe_mysqld --defaults-file=/etc/my. 28914 ? S 0:00 \_ /usr/libexec/mysqld --defaults-file=/etc/my.cnf - 28916 ? S 0:16 \_ /usr/libexec/mysqld --defaults-file=/etc/my.c 28917 ? S 1:29 \_ /usr/libexec/mysqld --defaults-file=/etc/ I have even tried it wiht the child process names as well... since this is a server that is constantly tweaked, just using the process number would be futile, as it changes at least once a week... so could someone point me in the right direction to getting this checked??? Thanks! Jeff -- Jeffrey Lane ConnectNC.com / Internet of the Sandhills W4KDH at arrl.net chown -r us:us /yourbase/ --__--__-- Message: 6 Date: Fri, 18 Apr 2003 11:05:42 -0400 (EDT) From: Subhendu Ghosh Subject: Re: [Nagios-users] Configuring nrpe To: nagios-users at lists.sourceforge.net You should be able to use "-C /bin/sh -a /usr/bin/safe_mysqld" note the ps on the command line probably has different defaults than ps in check_procs. Take look at your config.h for PS_COMMAND. -sg On Fri, 18 Apr 2003, Jeff Lane wrote: > Good morning all... > > I need a little help in configureing a check for nrpe... the one thing > that has me stumped is how to check a process that is started by /bin/sh > > specifically mysqld. > > I have tried the following in nrpe.cfg: > > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > '/bin/sh /usr/bin/safe_mysqld' > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > "/bin/sh /usr/bin/safe_mysqld" > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > `/bin/sh /usr/bin/safe_mysqld` > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > /usr/bin/safe_mysqld > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > /bin/sh\ /usr/bin/safe_mysqld > > and none of these worked... > > here is what mysql looks like to ps: > > > 28887 ? S 0:00 /bin/sh /usr/bin/safe_mysqld > --defaults-file=/etc/my. > 28914 ? S 0:00 \_ /usr/libexec/mysqld > --defaults-file=/etc/my.cnf - > 28916 ? S 0:16 \_ /usr/libexec/mysqld > --defaults-file=/etc/my.c > 28917 ? S 1:29 \_ /usr/libexec/mysqld > --defaults-file=/etc/ > > I have even tried it wiht the child process names as well... > > since this is a server that is constantly tweaked, just using the > process number would be futile, as it changes at least once a week... > so could someone point me in the right direction to getting this checked??? > > Thanks! > Jeff > > > -- --__--__-- Message: 7 From: "Val Vechnyak" To: Date: Fri, 18 Apr 2003 11:14:55 -0400 Subject: [Nagios-users] Mail FROM field needs to be changed This is a multi-part message in MIME format. ------=_NextPart_000_01F4_01C3059B.BD889320 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I apologize if this was discussed already in this list, but since I just signed up I did not know. My problem is when nagios is sending email notifications it includes the entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname.com). There is no problem when I send an email using PINE from nagios user, so my sendmail is configured properly. This is a problem for me because some email servers lookup the MX record of the domain name and refuse email if it does not match. ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com, but nagios still puts the hostname in the FROM field. Could anyone tell me where I can configure it? Thanks, Val ------=_NextPart_000_01F4_01C3059B.BD889320 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

I apologize if this was discussed already in this = list, but since I just signed up I did not know.

 

My problem is when nagios is sending email = notifications it includes the entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname= .com). There is no problem when I send an email using PINE from nagios user, so = my sendmail is configured properly.

 

This is a problem for me because some email servers = lookup the MX record of the domain name and refuse email if it does not = match.

 

ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com, but nagios still puts the hostname in the FROM field.

 

Could anyone tell me where I can configure = it?

 

Thanks,

 

Val

 

------=_NextPart_000_01F4_01C3059B.BD889320-- --__--__-- Message: 8 From: Frank Gadot To: Nagios-Users Organization: EPS Date: 18 Apr 2003 12:41:42 -0400 Subject: [Nagios-users] CGI trouble Hi all, Can somebody tell me how come my CGIs do not find the libgd.so.2 library ? I have it on my computer, here is the output of the cgi when I run it from the command line... ./trends.cgi: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory thank you for your help --__--__-- Message: 9 From: Subject: Re: [Nagios-users] CGI trouble To: Frank Gadot Cc: Nagios-Users , nagios-users-admin at lists.sourceforge.net Date: Fri, 18 Apr 2003 18:55:24 +0200 You are missing two directives in your http.conf file which are : PassEnv LD_LIBRARY_PATH SetEnv LD_LIBRARY_PATH /usr/local/lib to tell your cgis where to find the libs .... ---------------------------------------------------------------------------- ---------- Lionel Ostric - Systems Administrator - Engineering IT ARM France - Les Cardoulines B2 - Route des Dolines Sophia Antipolis - 06560 Valbonne - France +33 (0)4 97 23 51 22 / +33 (0)6 03 83 02 63 |---------+----------------------------------------> | | Frank Gadot | | | | | | Sent by: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 18/04/2003 18:41 | | | | |---------+----------------------------------------> >--------------------------------------------------------------------------- ---------------------------------------------------| | | | To: Nagios-Users | | cc: | | Subject: [Nagios-users] CGI trouble | >--------------------------------------------------------------------------- ---------------------------------------------------| Hi all, Can somebody tell me how come my CGIs do not find the libgd.so.2 library ? I have it on my computer, here is the output of the cgi when I run it from the command line... ./trends.cgi: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory thank you for your help ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: 10 To: nagios-users at lists.sourceforge.net From: Mike.Hall at eiiecomm.com Date: Fri, 18 Apr 2003 13:13:50 -0400 Subject: [Nagios-users] Notifications only get to certain email accounts Hi all, I am having trouble figuring out why notifications get to my yahoo email but, don't get to my Road Runner email. I get notifications on my ATT cell phone but, can't get them at my corporate email through Lotus notes. Does anyone have suggestions on how I might remedy this issue? Nagios is sending notification perfectly but, it appears that certain email servers do not all the three section domain name. ie; nagios at hostname.domainname.com Any help would be greatly appreciated Mike Hall --__--__-- Message: 11 From: "Carroll, Jim P [Contractor]" To: "'Val Vechnyak'" , nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Mail FROM field needs to be changed Date: Fri, 18 Apr 2003 12:22:33 -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_01C305CF.195012E3 Content-Type: text/plain; charset="ISO-8859-1" I'm not convinced that your sendmail config is blameless. Try the following: # su - nagios $ echo 'hello' | /usr/lib/sendmail val at nycity.com Let us know what the FROM header looks like on the receiving end. jc -----Original Message----- From: Val Vechnyak [mailto:val at nycity.com] Sent: Friday, April 18, 2003 10:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Mail FROM field needs to be changed Hello, I apologize if this was discussed already in this list, but since I just signed up I did not know. My problem is when nagios is sending email notifications it includes the entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname.com ). There is no problem when I send an email using PINE from nagios user, so my sendmail is configured properly. This is a problem for me because some email servers lookup the MX record of the domain name and refuse email if it does not match. ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com , but nagios still puts the hostname in the FROM field. Could anyone tell me where I can configure it? Thanks, Val ------_=_NextPart_001_01C305CF.195012E3 Content-Type: text/html; charset="ISO-8859-1"
I'm not convinced that your sendmail config is blameless.  Try the following:
 
# su - nagios
 
Let us know what the FROM header looks like on the receiving end.
 
jc
 
-----Original Message-----
From: Val Vechnyak [mailto:val at nycity.com]
Sent: Friday, April 18, 2003 10:15 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Mail FROM field needs to be changed

Hello,

 

I apologize if this was discussed already in this list, but since I just signed up I did not know.

 

My problem is when nagios is sending email notifications it includes the entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname.com< /A>). There is no problem when I send an email using PINE from nagios user, so my sendmail is configured properly.

 

This is a problem for me because some email servers lookup the MX record of the domain name and refuse email if it does not match.

 

ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com, but nagios still puts the hostname in the FROM field.

 

Could anyone tell me where I can configure it?

 

Thanks,

 

Val

 

------_=_NextPart_001_01C305CF.195012E3-- --__--__-- Message: 12 Subject: RE: [Nagios-users] Notifications only get to certain email accounts Date: Fri, 18 Apr 2003 12:28:16 -0500 From: "Marc Powell" To: , Is hostname.domainname.com in both forward _and_ reverse DNS? Do they match? Some mail configurations will reject mail from hosts that do not match. Also, is your IP a dialup/DSL or in some RBL listed IP range? -- Marc > -----Original Message----- > From: Mike.Hall at eiiecomm.com [mailto:Mike.Hall at eiiecomm.com] > Sent: Friday, April 18, 2003 12:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notifications only get to certain email accounts >=20 > Hi all, > I am having trouble figuring out why notifications get to my yahoo email > but, don't get to my Road Runner email. I get notifications on my ATT cell > phone but, can't get them at my corporate email through Lotus notes. Does > anyone have suggestions on how I might remedy this issue? >=20 > Nagios is sending notification perfectly but, it appears that certain > email servers do not all the three section domain name. >=20 > ie; nagios at hostname.domainname.com >=20 > Any help would be greatly appreciated >=20 > Mike Hall >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: 13 Date: Fri, 18 Apr 2003 10:37:10 -0700 (PDT) From: Mark Natoli To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] acknowledgements in config files Hi, I've come to rely on the ntray tool heavily to let me know the status of multiple systems at a glance. This tool shows red, yellow, green in your system tray. My problem is that occasionally I have systems that are out of service for a couple of days for repairs, etc. I don't want to rip out the configs for these or comment out all of the services. How do I easily shut down the monitoring of these services for a particular system using the config files without removing/commenting all of the entries? TIA -Mark __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com --__--__-- Message: 14 From: "Val Vechnyak" To: "'Carroll, Jim P [Contractor]'" , Subject: RE: [Nagios-users] Mail FROM field needs to be changed Date: Fri, 18 Apr 2003 14:20:52 -0400 This is a multi-part message in MIME format. ------=_NextPart_000_0009_01C305B5.B7E1BDB0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Ummmmm, You are right. My bad. That's embarrassing. =20 It works using PINE, but not from the command line. =20 Don't know what is going on. Thanks and sorry I took your time. =20 -------------------------------------------------------------------------= --- Val Vechnyak MCP =20 Technical support: support at msohosting.com =20 -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com]=20 Sent: Friday, April 18, 2003 13:23 To: 'Val Vechnyak'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Mail FROM field needs to be changed =20 I'm not convinced that your sendmail config is blameless. Try the following: =20 # su - nagios $ echo 'hello' | /usr/lib/sendmail val at nycity.com =20 Let us know what the FROM header looks like on the receiving end. =20 jc =20 -----Original Message----- From: Val Vechnyak [mailto:val at nycity.com] Sent: Friday, April 18, 2003 10:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Mail FROM field needs to be changed Hello, =20 I apologize if this was discussed already in this list, but since I just signed up I did not know. =20 My problem is when nagios is sending email notifications it includes the entire hostname in MAIL FROM field (i.e. = nagios at hostname.domainname.com). There is no problem when I send an email using PINE from nagios user, so = my sendmail is configured properly. =20 This is a problem for me because some email servers lookup the MX record = of the domain name and refuse email if it does not match. =20 ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com, but nagios = still puts the hostname in the FROM field. =20 Could anyone tell me where I can configure it? =20 Thanks, =20 Val =20 ------=_NextPart_000_0009_01C305B5.B7E1BDB0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

Ummmmm, You are right. My bad. = That’s embarrassing.

 

 It works using PINE, but not = from the command line.

 

Don’t know what is going on. = Thanks and sorry I took your time.

 

--------------------------------------------------------= --------------------

Val = Vechnyak

MCP

 

Technical support: support at msohosting.com<= /font>

 

-----Original = Message-----
From: Carroll, Jim P = [Contractor] [mailto:jcarro10 at sprintspectrum.com]
Sent: Friday, April 18, = 2003 13:23
To: 'Val Vechnyak'; nagios-users at lists.sourceforge.net
Subject: RE: = [Nagios-users] Mail FROM field needs to be changed

 

I'm not convinced that your sendmail config is = blameless.  Try the following:

 

# su - nagios

$ echo 'hello' | /usr/lib/sendmail val at nycity.com

 

Let us know what the FROM header looks like on the receiving = end.

 

jc

 

-----Original Message-----
From: Val Vechnyak [mailto:val at nycity.com]
Sent: Friday, April 18, = 2003 10:15 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] = Mail FROM field needs to be changed

Hello,

 

I apologize if this was = discussed already in this list, but since I just signed up I did not = know.

 

My problem is when nagios = is sending email notifications it includes the entire hostname in MAIL FROM field = (i.e. nagios at hostname.domainname= .com). There is no problem when I send an email using PINE from nagios user, so = my sendmail is configured properly.

 

This is a problem for me = because some email servers lookup the MX record of the domain name and refuse = email if it does not match.

 

ADMINEMAIL in nagios.cfg is = nagios at myrealdomainname.com, but nagios still puts the hostname in the FROM field.

 

Could anyone tell me where = I can configure it?

 

Thanks,

 

Val

 

------=_NextPart_000_0009_01C305B5.B7E1BDB0-- --__--__-- Message: 15 Date: Fri, 18 Apr 2003 14:35:12 -0400 From: Jeff Lane To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Configuring still Oddly enough, I tried changing the command bit to mysqld and it worked... weird... and changing it to just safe_mysqld worked as well... Here is another problem however... I have also put nrpe on a web server and I am getting problems iwth the checks timing out automatically... Here is what the GUI shows: webgnostics Cobalt Admin Status CRITICAL 04-18-2003 14:26:25 0d 0h 38m 1s 3/3 CHECK_NRPE: Socket timeout after 10 seconds. Current Load CRITICAL 04-18-2003 14:26:48 0d 0h 37m 41s 3/3 CHECK_NRPE: Socket timeout after 10 seconds. Current Users CRITICAL 04-18-2003 14:27:10 0d 0h 37m 11s 3/3 CHECK_NRPE: Socket timeout after 10 seconds. and there are many others... what causes this? If I run the check_nrpe commands by hand, each and every one works perfectly... HOWEVER when they are run by nagios automatically, they all fail... This failure is ONLY occuring for this one host. I checked service.cfg and hosts.cfg and everthing seems to be correct in each of them Any thoughts? Jeff Subhendu Ghosh wrote: > You should be able to use "-C /bin/sh -a /usr/bin/safe_mysqld" > > note the ps on the command line probably has different defaults than ps in check_procs. Take look at your config.h for PS_COMMAND. > -- Jeffrey Lane ConnectNC.com / Internet of the Sandhills W4KDH at arrl.net chown -r us:us /yourbase/ --__--__-- Message: 16 Date: Fri, 18 Apr 2003 14:34:54 -0400 (EDT) From: Subhendu Ghosh To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Configuring nrpe Do you have the correct port number configured? Does the command line and configure syntax match? -sg On Fri, 18 Apr 2003, Jeff Lane wrote: > Oddly enough, I tried changing the command bit to mysqld and it > worked... weird... and changing it to just safe_mysqld worked as well... > > Here is another problem however... > > I have also put nrpe on a web server and I am getting problems iwth the > checks timing out automatically... > > Here is what the GUI shows: > webgnostics > > > Cobalt Admin Status > CRITICAL 04-18-2003 14:26:25 0d 0h 38m 1s 3/3 CHECK_NRPE: Socket > timeout after 10 seconds. > > Current Load > CRITICAL 04-18-2003 14:26:48 0d 0h 37m 41s 3/3 CHECK_NRPE: Socket > timeout after 10 seconds. > > Current Users > CRITICAL 04-18-2003 14:27:10 0d 0h 37m 11s 3/3 CHECK_NRPE: Socket > timeout after 10 seconds. > > > and there are many others... what causes this? If I run the check_nrpe > commands by hand, each and every one works perfectly... HOWEVER when > they are run by nagios automatically, they all fail... > > This failure is ONLY occuring for this one host. I checked service.cfg > and hosts.cfg and everthing seems to be correct in each of them > > Any thoughts? > > Jeff > > Subhendu Ghosh wrote: > > You should be able to use "-C /bin/sh -a /usr/bin/safe_mysqld" > > > > note the ps on the command line probably has different defaults than ps in > > check_procs. Take look at your config.h for PS_COMMAND. > > > > > > -- --__--__-- Message: 17 Date: Fri, 18 Apr 2003 14:57:55 -0400 From: Jeff Lane To: Subhendu Ghosh CC: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re: Configuring nrpe Yep... to try it manually, I am merely copying the configured commands and filling in the blanks... for example... to check the disk I am using: check_nrpe -H ip.of.host.machine -p portIchose -c check_disk1 which gives me a correct response... however setting it automatically does not work... it isnt that just one or two things arent working for this host... Ic ould probably figure that out on my own... but the problem is that ALL checks are failing on this one host, even though I can do each and every one of them from command line and have them work. I am pretty sure its not in the syntax either, since a good number of these checks are being run on some other machines as well, and are working fine on those machines. (for example the check_disk command, check_sshd command, and some other commands I have been using for general service checks). Cheers Jeff Subhendu Ghosh wrote: > Do you have the correct port number configured? > > Does the command line and configure syntax match? > > -sg > > On Fri, 18 Apr 2003, Jeff Lane wrote: > > >>Oddly enough, I tried changing the command bit to mysqld and it >>worked... weird... and changing it to just safe_mysqld worked as well... >> >>Here is another problem however... >> >>I have also put nrpe on a web server and I am getting problems iwth the >>checks timing out automatically... >> >>Here is what the GUI shows: >>webgnostics >> >> >>Cobalt Admin Status >>CRITICAL 04-18-2003 14:26:25 0d 0h 38m 1s 3/3 CHECK_NRPE: Socket >>timeout after 10 seconds. >> >>Current Load >>CRITICAL 04-18-2003 14:26:48 0d 0h 37m 41s 3/3 CHECK_NRPE: Socket >>timeout after 10 seconds. >> >>Current Users >>CRITICAL 04-18-2003 14:27:10 0d 0h 37m 11s 3/3 CHECK_NRPE: Socket >>timeout after 10 seconds. >> >> >>and there are many others... what causes this? If I run the check_nrpe >>commands by hand, each and every one works perfectly... HOWEVER when >>they are run by nagios automatically, they all fail... >> >>This failure is ONLY occuring for this one host. I checked service.cfg >>and hosts.cfg and everthing seems to be correct in each of them >> >>Any thoughts? >> >>Jeff >> >>Subhendu Ghosh wrote: >> >>>You should be able to use "-C /bin/sh -a /usr/bin/safe_mysqld" >>> >>>note the ps on the command line probably has different defaults than ps in >>>check_procs. Take look at your config.h for PS_COMMAND. >>> >> >> >> >> > -- Jeffrey Lane ConnectNC.com / Internet of the Sandhills W4KDH at arrl.net chown -r us:us /yourbase/ --__--__-- Message: 18 From: "Carroll, Jim P [Contractor]" To: "'Mark Natoli'" , nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] acknowledgements in config files Date: Fri, 18 Apr 2003 14:22:05 -0500 I asked a similar question months ago. IIRC, the author said there's not much he can do, until Nagios can provide XML on the interface. Something like this. Sorry for being vague, but if you really need the e-mail in question, I can try to dig it out. jc > -----Original Message----- > From: Mark Natoli [mailto:mnatoli at yahoo.com] > Sent: Friday, April 18, 2003 12:37 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] acknowledgements in config files > > > Hi, > > I've come to rely on the ntray tool heavily to let > me know the status of multiple systems at a glance. > This tool shows red, yellow, green in your system > tray. > My problem is that occasionally I have systems that > are out of service for a couple of days for repairs, > etc. I don't want to rip out the configs for these or > comment out all of the services. > How do I easily shut down the monitoring of these > services for a particular system using the config > files without removing/commenting all of the entries? > > TIA > -Mark > > __________________________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo > http://search.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: 19 From: "Carroll, Jim P [Contractor]" To: "'Val Vechnyak'" , nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Mail FROM field needs to be changed Date: Fri, 18 Apr 2003 14:28:34 -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_01C305E0.B3EA31F5 Content-Type: text/plain; charset="ISO-8859-1" You may have tweaked your pine config to force the FROM address. As for sendmail, depending on what version of sendmail you're running, it could be a simple tweak. Edit /etc/sendmail.cf and search for 'masquerade' or '^DM' (without the quotes) and change accordingly. Here's a sample tweak from my sendmail.cf file for one of my Linux hosts (lines 138-139) running sendmail version 8.11.6: # who I masquerade as (null for no masquerading) (see also $=M) DMsprintspectrum.com HTH. jc -----Original Message----- From: Val Vechnyak [mailto:val at nycity.com] Sent: Friday, April 18, 2003 1:21 PM To: Carroll, Jim P [Contractor]; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Mail FROM field needs to be changed Ummmmm, You are right. My bad. That's embarrassing. It works using PINE, but not from the command line. Don't know what is going on. Thanks and sorry I took your time. ---------------------------------------------------------------------------- Val Vechnyak MCP Technical support: support at msohosting.com -----Original Message----- From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] Sent: Friday, April 18, 2003 13:23 To: 'Val Vechnyak'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Mail FROM field needs to be changed I'm not convinced that your sendmail config is blameless. Try the following: # su - nagios $ echo 'hello' | /usr/lib/sendmail val at nycity.com Let us know what the FROM header looks like on the receiving end. jc -----Original Message----- From: Val Vechnyak [mailto:val at nycity.com] Sent: Friday, April 18, 2003 10:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Mail FROM field needs to be changed Hello, I apologize if this was discussed already in this list, but since I just signed up I did not know. My problem is when nagios is sending email notifications it includes the entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname.com ). There is no problem when I send an email using PINE from nagios user, so my sendmail is configured properly. This is a problem for me because some email servers lookup the MX record of the domain name and refuse email if it does not match. ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com , but nagios still puts the hostname in the FROM field. Could anyone tell me where I can configure it? Thanks, Val ------_=_NextPart_001_01C305E0.B3EA31F5 Content-Type: text/html; charset="ISO-8859-1"
You may have tweaked your pine config to force the FROM address.
 
As for sendmail, depending on what version of sendmail you're running, it could be a simple tweak.  Edit /etc/sendmail.cf and search for 'masquerade' or '^DM' (without the quotes) and change accordingly.  Here's a sample tweak from my sendmail.cf file for one of my Linux hosts (lines 138-139) running sendmail version 8.11.6:
 
# who I masquerade as (null for no masquerading) (see also $=M)
DMsprintspectrum.com
HTH.
 
jc
 
-----Original Message-----
From: Val Vechnyak [mailto:val at nycity.com]
Sent: Friday, April 18, 2003 1:21 PM
To: Carroll, Jim P [Contractor]; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Mail FROM field needs to be changed

Ummmmm, You are right. My bad. That’s embarrassing.

 

 It works using PINE, but not from the command line.

 

Don’t know what is going on. Thanks and sorry I took your time.

 

 

-----Original Message-----
From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com]
Sent: Friday, April 18, 2003 13:23
To: 'Val Vechnyak'; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Mail FROM field needs to be changed

 

I'm not convinced that your sendmail config is blameless.  Try the following:

 

# su - nagios

$ echo 'hello' | /usr/lib/sendmail val at nycity.com

 

Let us know what the FROM header looks like on the receiving end.

 

jc

 

-----Original Message-----
From: Val Vechnyak [mailto:val at nycity.com]
Sent: Friday, April 18, 2003 10:15 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Mail FROM field needs to be changed

Hello,

 

I apologize if this was discussed already in this list, but since I just signed up I did not know.

 

My problem is when nagios is sending email notifications it includes the entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname.com< /A>). There is no problem when I send an email using PINE from nagios user, so my sendmail is configured properly.

 

This is a problem for me because some email servers lookup the MX record of the domain name and refuse email if it does not match.

 

ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com, but nagios still puts the hostname in the FROM field.

 

Could anyone tell me where I can configure it?

 

Thanks,

 

Val

 

------_=_NextPart_001_01C305E0.B3EA31F5-- --__--__-- Message: 20 Date: Fri, 18 Apr 2003 15:50:39 -0400 From: "Mitchell K. Smith" To: Subject: [Nagios-users] incredible disappearing host Greetings all. I am running Nagios 1.0, RH Linux 7.3, Compaq DL360 1.2GHz Nagios has been working fine for quite a long while. Recently we added = about 30 additional servers with two services each to monitor. There is = a total of 62 hosts and 125 services being monitored. In addition, I am = also running MRTG/RRDTool on the same machine and it's gathering data = from something like 800-1000 interfaces. The systems is getting fairly = busy. What happens is this. I added a new server and 3 services to be = monitored. When I start Nagios, the new server will sometimes not appear = on the hosts or services screen. Doing a view config > hosts it's = definately there and is configured the same as many other servers. = Restarting Nagios or refreshing the browser will sometimes bring it back = but it will eventually disappear again. This happens from multiple = browsers or clients. Has anyone seen anything like this before? Weird. Thanks for the help. Mitchell K. Smith Host definition: # 'hpov00' host definition define host{ use generic-host host_name hpov00 alias HP OpenView server address 172.31.9.50 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } Service definitions: # Service definition hpov00 - PING =20 define service{ use generic-service ; Name = of service template to use =20 host_name hpov00 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 =20 retry_check_interval 1 contact_groups nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_ping!200.0,20%!500.0,60% } =20 # Service definition hpov00 - HP OpenView Process Manager define service{ use generic-service ; Name = of service template to use host_name hpov00 service_description HP OpenView Process Manager is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_nt_service!"HP OpenView = Process Manager" } # Service definition hpov00 - SNMP EMANATE Master Agent define service{ use generic-service ; Name = of service template to use host_name hpov00 service_description SNMP EMANATE Master Agent is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_nt_service!EMANATE } --__--__-- Message: 21 Subject: Re: [Nagios-users] incredible disappearing host Date: Fri, 18 Apr 2003 15:07:55 -0500 From: "Marc Powell" To: , This is a multi-part message in MIME format. ------_=_NextPart_001_01C305E6.33555E48 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Yup. Verify that you don't have multiple copies of nagios running. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Mitchell K. Smith To: nagios-users at lists.sourceforge.net = Sent: Fri Apr 18 14:50:39 2003 Subject: [Nagios-users] incredible disappearing host Greetings all. I am running Nagios 1.0, RH Linux 7.3, Compaq DL360 1.2GHz Nagios has been working fine for quite a long while. Recently we added = about 30 additional servers with two services each to monitor. There is = a total of 62 hosts and 125 services being monitored. In addition, I am = also running MRTG/RRDTool on the same machine and it's gathering data = from something like 800-1000 interfaces. The systems is getting fairly = busy. What happens is this. I added a new server and 3 services to be = monitored. When I start Nagios, the new server will sometimes not appear = on the hosts or services screen. Doing a view config > hosts it's = definately there and is configured the same as many other servers. = Restarting Nagios or refreshing the browser will sometimes bring it back = but it will eventually disappear again. This happens from multiple = browsers or clients. Has anyone seen anything like this before? Weird. Thanks for the help. Mitchell K. Smith Host definition: # 'hpov00' host definition define host{ use generic-host host_name hpov00 alias HP OpenView server address 172.31.9.50 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } Service definitions: # Service definition hpov00 - PING =20 define service{ use generic-service ; Name = of service template to use =20 host_name hpov00 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 =20 retry_check_interval 1 contact_groups nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_ping!200.0,20%!500.0,60% } =20 # Service definition hpov00 - HP OpenView Process Manager define service{ use generic-service ; Name = of service template to use host_name hpov00 service_description HP OpenView Process Manager is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_nt_service!"HP OpenView = Process Manager" } # Service definition hpov00 - SNMP EMANATE Master Agent define service{ use generic-service ; Name = of service template to use host_name hpov00 service_description SNMP EMANATE Master Agent is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_nt_service!EMANATE } ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when = reporting any issue.=20 ::: Messages without supporting info will risk being sent to /dev/null ------_=_NextPart_001_01C305E6.33555E48 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Re: [Nagios-users] incredible disappearing host

Yup. Verify that you don't have multiple copies of = nagios running.


--
Marc

Sent from a very tiny wireless device with a very tiny unlit = keyboard.


-----Original Message-----
From: Mitchell K. Smith <mksmith at pa.eplus.com>
To: nagios-users at lists.sourceforge.net = <nagios-users at lists.sourceforge.net>
Sent: Fri Apr 18 14:50:39 2003
Subject: [Nagios-users] incredible disappearing host

Greetings all.
I am running Nagios 1.0,  RH Linux 7.3, Compaq DL360 1.2GHz

Nagios has been working fine for quite a long while. Recently we added = about 30 additional servers with two services each to monitor. There is = a total of 62 hosts and 125 services being monitored. In addition, I am = also running MRTG/RRDTool on the same machine and it's gathering data = from something like 800-1000 interfaces. The systems is getting fairly = busy.

What happens is this. I added a new server and 3 services to be = monitored. When I start Nagios, the new server will sometimes not appear = on the hosts or services screen. Doing a view config > hosts it's = definately there and is configured the same as many other servers. = Restarting Nagios or refreshing the browser will sometimes bring it back = but it will eventually disappear again. This happens from multiple = browsers or clients. Has anyone seen anything like this before?
Weird.

Thanks for the help.

Mitchell K. Smith


Host definition:
# 'hpov00' host definition
define host{
        = use           &nbs= p;         generic-host
        = host_name          &nbs= p;    hpov00
        = alias           &n= bsp;       HP OpenView server
        = address           =       172.31.9.50
        = check_command          = check-host-alive
        = max_check_attempts      10
        = notification_interval   120
        = notification_period     24x7
        = notification_options    d,u,r
        }

Service definitions:
# Service definition hpov00 - PING     
define service{
        = use           &nbs= p;            = ;     = generic-service         ; Name = of service template to use
       
        = host_name          &nbs= p;            = hpov00
        = service_description         =     PING
        = is_volatile          &n= bsp;          0
        = check_period          &= nbsp;         24x7
        = max_check_attempts         &= nbsp;    3
        = normal_check_interval        &nbs= p;  5  
        = retry_check_interval         = ;   1
        = contact_groups          = ;        nt-admins
        = notification_interval        &nbs= p;  240
        = notification_period         =     24x7
        = notification_options         = ;   w,u,c,r
        = check_command          =          = check_ping!200.0,20%!500.0,60%
        }
       
# Service definition hpov00 - HP OpenView Process Manager
define service{
        = use           &nbs= p;            = ;     = generic-service         ; Name = of service template to use

        = host_name          &nbs= p;            = hpov00
        = service_description         =     HP OpenView Process Manager
        = is_volatile          &n= bsp;          0
        = check_period          &= nbsp;         24x7
        = max_check_attempts         &= nbsp;    3
        = normal_check_interval        &nbs= p;  5
        = retry_check_interval         = ;   1
        = contact_groups          = ;        nt-admins
        = notification_interval        &nbs= p;  240
        = notification_period         =     24x7
        = notification_options         = ;   w,u,c,r
        = check_command          =          = check_nt_service!"HP OpenView Process Manager"
        }

# Service definition hpov00 - SNMP EMANATE Master Agent
define service{
        = use           &nbs= p;            = ;     = generic-service         ; Name = of service template to use

        = host_name          &nbs= p;            = hpov00
        = service_description         =     SNMP EMANATE Master Agent
        = is_volatile          &n= bsp;          0
        = check_period          &= nbsp;         24x7
        = max_check_attempts         &= nbsp;    3
        = normal_check_interval        &nbs= p;  5
        = retry_check_interval         = ;   1
        = contact_groups          = ;        nt-admins
        = notification_interval        &nbs= p;  240
        = notification_period         =     24x7
        = notification_options         = ;   w,u,c,r
        = check_command          =          = check_nt_service!EMANATE
        }



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https:= //lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when = reporting any issue.
::: Messages without supporting info will risk being sent to = /dev/null

------_=_NextPart_001_01C305E6.33555E48-- --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest -------------- next part -------------- An HTML attachment was scrubbed... URL: From stan at live2think.com Sat Apr 19 19:07:54 2003 From: stan at live2think.com (stan at live2think.com) Date: Sat, 19 Apr 2003 10:07:54 -0700 Subject: Problems with Nagios In-Reply-To: References: Message-ID: <1050772074.3ea1826aa875e@www.live2think.com> change permissions on var to make it writable by the user running nagios. in my case: chown -R monitor.monitor /usr/local/nagios/var Stan Tichomirov Quoting Asaf Rapoport : > # service nagios start > Starting network monitor: nagios > No lock file found in /usr/local/nagios/var/nagios.lock > > Anyone? > > -----Original Message----- > From: nagios-users-request at lists.sourceforge.net > [mailto:nagios-users-request at lists.sourceforge.net] > Sent: Friday, April 18, 2003 1:09 PM > To: nagios-users at lists.sourceforge.net > Subject: Nagios-users digest, Vol 1 #1425 - 21 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. SV: [Nagios-users] check_real: what does it really do? and is it > enough? (Magnus.M.Glantz at telia.se) > 2. Re: web application monitoring - windows authentication (Atul > Shrivastava) > 3. Re: Pop Up Alerts (=?iso-8859-1?q?Steve=20Dussaux?=) > 4. Notifications only get to certain email accounts (NOC at eiiecomm.com) > 5. Configuring nrpe (Jeff Lane) > 6. Re: Configuring nrpe (Subhendu Ghosh) > 7. Mail FROM field needs to be changed (Val Vechnyak) > 8. CGI trouble (Frank Gadot) > 9. Re: CGI trouble (Lionel.Ostric at arm.com) > 10. Notifications only get to certain email accounts > (Mike.Hall at eiiecomm.com) > 11. RE: Mail FROM field needs to be changed (Carroll, Jim P [Contractor]) > 12. RE: Notifications only get to certain email accounts (Marc Powell) > 13. acknowledgements in config files (Mark Natoli) > 14. RE: Mail FROM field needs to be changed (Val Vechnyak) > 15. Configuring still (Jeff Lane) > 16. Re: Configuring nrpe (Subhendu Ghosh) > 17. Re: Re: Configuring nrpe (Jeff Lane) > 18. RE: acknowledgements in config files (Carroll, Jim P [Contractor]) > 19. RE: Mail FROM field needs to be changed (Carroll, Jim P [Contractor]) > 20. incredible disappearing host (Mitchell K. Smith) > 21. Re: incredible disappearing host (Marc Powell) > > --__--__-- > > Message: 1 > Subject: SV: [Nagios-users] check_real: what does it really do? and is it > enough? > Date: Fri, 18 Apr 2003 09:54:45 +0200 > From: > To: > Cc: > > My $0.05. > $USER1$/check_tcp -H $HOSTADDRESS$ -p 1755 -w $ARG1$ -c $ARG2$ > =20 > It checks that you can make a TCP connection to the Windows Media = > Streaming server. > =20 > I think that writing a decent plug-in for Windows Media would be very = > difficult, cause the MMS protocoll is 'closed' and heavily copywrited. > =20 > I guess that if someone managed to write a plug-in and implement the = > protocoll, it couldnt not be published without payin' some heavy dues to = > Microsoft, and that plug-in could not be OpenSource. > =20 > I guess that if someone figured out what to send and what to expect as = > answere, you could use the check_tcp plugin -s and/or -e switches.. > =20 > Cheers, > //Magnus Glantz > > -----Ursprungligt meddelande-----=20 > Fr=E5n: David Gitman [mailto:David at feedroom.com]=20 > Skickat: to 2003-04-17 17:02=20 > Till: Glantz, Magnus M. /Communications /070-211 99 22, 070-211 99 > 22=20 > Kopia: nagios-users at lists.sourceforge.net=20 > =C4mne: RE: [Nagios-users] check_real: what does it really do? and > is = > it enough? > =09 > =09 > > Has anyone written a plug-in for Windows Media 9 Streaming? > =09 > [-d] > =09 > -----Original Message----- > From: Magnus.M.Glantz at telia.se [mailto:Magnus.M.Glantz at telia.se] > Sent: Tuesday, April 15, 2003 7:01 PM > To: David Gitman > Cc: nagios-users at lists.sourceforge.net > =09 > Well, I'm drawing the conclusion after talking with some streaming = > specialists that sending a DESCRIBE method to the streaming server = > should do the trick. > =09 > A successful try indicates that you got a two-way connection to/from > = > the server, the file you're searching for (on, for example an ondemand = > server) exists, and the server can send you a description of the file. > =09 > The people I've talked to cannot see any problems that should hinder > an = > actual stream from taking place after the server successfully answered = > to the DESCRIBE method. > =09 > Though, I'm still doing some research on this. I'll prolly know in = > acouple of days, should this not be the case. > =09 > I'll send a mail to the list, when I know more. :-) > =09 > Cheers, > //Magnus Glantz > =09 > =09 > -----Ursprungligt meddelande----- > Fr=E5n: David Gitman [mailto:David at feedroom.com] > Skickat: ti 2003-04-15 19:45 > Till: Magnus Glantz > Kopia: > =C4mne: RE: [Nagios-users] check_real: what does it really > do? = > and is it enough? > =20 > =20 > =09 > Have you found out anything? > =09 > =20 > =09 > [-d] > =09 > =20 > _____=20 > =09 > =09 > From: Magnus Glantz [mailto:magnus at hacka.net] > Sent: Friday, April 11, 2003 2:33 PM > To: nagios-users at lists.sourceforge.net > =09 > =20 > =09 > I'm trying to figure out what exactly the check_real plugin > = > checks.. using the -url option, does it actually start a stream with the = > server? Or does it only check if the .rm file is there and reachable? If = > check_real only checks for a description of the file, is it enough to = > say that the service is OK? > =09 > =20 > =09 > I dumped the conversation (tcpdump -X) while doing: > =09 > ./check_real -H host -u /url/file.rm > =09 > =20 > =09 > I'm not 100% sure what happens.. > =09 > Though.. I've been able to understand some stuff.. > =09 > =20 > =09 > ( I've had some help interpeting the packets from the RTSP > RFC. > =09 > http://www.freesoft.org/CIE/RFC/bynum.cgi?2326 ) > =09 > =20 > =09 > =20 > =09 > 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: P = > 1:36(35) ack 1 win 5840 (DF) > 0x0000 4500 0057 a274 4000 4006 4bd5 c2ec e2e9 = > E..W.t at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 = > .C.=3D...*P...s... > 0x0020 8018 16d0 04f6 0000 0101 080a 1185 1070 = > ...............p > 0x0030 a54c 4fd3 4f50 5449 4f4e 5320 7274 7370 = > .LO.OPTIONS.rtsp > 0x0040 3a2f 2f28 6e75 6c6c 293a 3535 3420 5254 = > ://(null):554.RT > 0x0050 5350 SP > =09 > =20 > =09 > Above.. the Nagios server asks the real server for the = > available methods. (PLAY PAUSE etc..) > =09 > =20 > =09 > =20 > =09 > 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: P = > 45:102(57) ack 270 win 6432 = > (DF) > 0x0000 4500 006d a277 4000 4006 4bbc c2ec e2e9 = > E..m.w at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 = > .C.=3D...*P..Is..! > 0x0020 8018 1920 0dac 0000 0101 080a 1185 1077 = > ...............w > 0x0030 a54c 4fd9 4445 5343 5249 4245 2072 7473 = > .LO.DESCRIBE.rts > 0x0040 703a 2f2f 286e 756c 6c29 3a35 3534 2f74 = > p://(null):554/t > 0x0050 692f i/ > =09 > =20 > =09 > Above.. check_real asks the real-server of a description of > = > the file. > =09 > =20 > =09 > 16:59:51.276763 streaming-server.rtsp > netsaint.37062: P = > 4614:5232(618) ack 111 win 33304 293933187> (DF) > 0x0000 4500 029e 1e46 4000 3906 d4bc c343 e33d = > E....F at .9....C.=3D > 0x0010 c2ec e2e9 022a 90c6 7381 f019 50ff b28b = > .....*..s...P... > 0x0020 8018 8218 a8af 0000 0101 080a a54c 4fed = > .............LO. > 0x0030 1185 1083 7468 203c 2032 3630 3030 292c = > ....th.<.26000), > 0x0040 4176 6572 6167 6542 616e 6477 6964 7468 = > AverageBandwidth > 0x0050 3d31 =3D1 > =09 > =20 > =09 > After this Nagios (the Netsaint host) sends win 0, and = > finilizes the connection. > =09 > =20 > =09 > Now, the question is.. what did the check_real plugin test? > = > That you can get an description of a file on the server? > =09 > The author of the plug-in writes in his source code = > (check_real.c). > =09 > ----------------snip------------- > =09 > /* Part II - Check stream exists and is ok */ > if ((result =3D=3D STATE_OK) && (server_url !=3D > NULL)) = > { > =09 > =20 > =09 > /* Part I - Server Check */ > =09 > =20 > =09 > /* send the OPTIONS request */ > sprintf (buffer, "DESCRIBE rtsp://%s:%d%s = > RTSP/1.0\n", host_name, > > server_port, = > server_url); > result =3D send (sd, buffer, strlen > (buffer), = > 0); > =09 > =20 > =09 > /* send the header sync */ > sprintf (buffer, "CSeq: 2\n"); > result =3D send (sd, buffer, strlen > (buffer), = > 0); > =09 > =20 > =09 > /* send a newline so the server knows we're > = > done with the request */ > sprintf (buffer, "\n"); > result =3D send (sd, buffer, strlen > (buffer), = > 0); > ----------------snip------------- > =09 > =20 > =09 > DESCRIBE seems to be the last actuall command that the = > check_real plugin send to the server. > =09 > But I could be wrong.. please check for yourselfs. > =09 > =20 > =09 > An actual stream is from what I can tell, not initialized.. > =09 > Though, if the server give an description of the file (the = > description comes from the file itself) I guess a stream should > =09 > be able to be initialized.. but.. then again, I'm no TCP/IP > or = > RTSP expert. > =09 > =20 > =09 > =20 > =09 > Full dump of "check_real -H hostname -u /url/file.rm" > below.. > =09 > =20 > =09 > Hope you can shed some light upon this.. > =09 > Cheers, > =09 > //Magnus Glantz > =09 > =20 > =09 > =20 > =09 > =20 > =09 > 16:59:50.676763 netsaint.37062 > streaming-server.rtsp.rtsp: > S = > 1358934556:1358934556(0) win 5840 0,nop,wscale 0> (DF) > 0x0000 4500 003c a272 4000 4006 4bf2 c2ec e2e9 = > E..<.r at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b21c 0000 0000 = > .C.=3D...*P....... > 0x0020 a002 16d0 2ce0 0000 0204 05b4 0402 080a = > ....,........... > 0x0030 1185 106e 0000 0000 0103 0300 = > ...n........ > =09 > =20 > =09 > 16:59:50.696763 streaming-server.rtsp > netsaint.37062: S = > 1937890835:1937890835(0) ack 1358934557 win 33304 2773241811 293933166,nop,wscale 0,nop,nop,sackOK,mss 1460> (DF) > 0x0000 4500 0040 1e3f 4000 3906 d721 c343 e33d = > E.. at .?@.9..!.C.=3D > 0x0010 c2ec e2e9 022a 90c6 7381 de13 50ff b21d = > .....*..s...P... > 0x0020 b012 8218 68cb 0000 0101 080a a54c 4fd3 = > ....h........LO. > 0x0030 1185 106e 0103 0300 0101 0402 0204 05b4 = > ...n............ > =09 > =20 > =09 > 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: . > ack 1 = > win 5840 (DF) > 0x0000 4500 0034 a273 4000 4006 4bf9 c2ec e2e9 = > E..4.s at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 = > .C.=3D...*P...s... > 0x0020 8010 16d0 14dd 0000 0101 080a 1185 1070 = > ...............p > 0x0030 a54c 4fd3 .LO. > =09 > =20 > =09 > 16:59:50.696763 netsaint.37062 > streaming-server.rtsp: P = > 1:36(35) ack 1 win 5840 (DF) > 0x0000 4500 0057 a274 4000 4006 4bd5 c2ec e2e9 = > E..W.t at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b21d 7381 de14 = > .C.=3D...*P...s... > 0x0020 8018 16d0 04f6 0000 0101 080a 1185 1070 = > ...............p > 0x0030 a54c 4fd3 4f50 5449 4f4e 5320 7274 7370 = > .LO.OPTIONS.rtsp > 0x0040 3a2f 2f28 6e75 6c6c 293a 3535 3420 5254 = > ://(null):554.RT > 0x0050 5350 SP > =09 > =20 > =09 > 16:59:50.726763 streaming-server.rtsp > netsaint.37062: . > ack = > 36 win 33304 (DF) > 0x0000 4500 0034 1e40 4000 3906 d72c c343 e33d = > E..4.@@.9..,.C.=3D > 0x0010 c2ec e2e9 022a 90c6 7381 de14 50ff b240 = > .....*..s...P..@ > 0x0020 8010 8218 a96e 0000 0101 080a a54c 4fd6 = > .....n.......LO. > 0x0030 1185 1070 ...p > =09 > =20 > =09 > 16:59:50.726763 netsaint.37062 > streaming-server.rtsp: P = > 36:45(9) ack 1 win 5840 (DF) > 0x0000 4500 003d a275 4000 4006 4bee c2ec e2e9 = > E..=3D.u at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b240 7381 de14 = > .C.=3D...*P.. at s... > 0x0020 8018 16d0 f6b3 0000 0101 080a 1185 1073 = > ...............s > 0x0030 a54c 4fd6 4353 6571 3a20 310a 0a = > .LO.CSeq:.1.. > =09 > =20 > =09 > 16:59:50.766763 streaming-server.rtsp > netsaint.37062: P = > 1:270(269) ack 45 win 33304 = > (DF) > 0x0000 4500 0141 1e41 4000 3906 d61e c343 e33d = > E..A.A at .9....C.=3D > 0x0010 c2ec e2e9 022a 90c6 7381 de14 50ff b249 = > .....*..s...P..I > 0x0020 8018 8218 1a2f 0000 0101 080a a54c 4fd9 = > ...../.......LO. > 0x0030 1185 1073 5254 5350 2f31 2e30 2032 3030 = > ...sRTSP/1.0.200 > 0x0040 204f 4b0d 0a43 5365 713a 2031 0d0a 4461 = > .OK..CSeq:.1..Da > 0x0050 7465 te > =09 > =20 > =09 > 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: . > ack = > 270 win 6432 (DF) > 0x0000 4500 0034 a276 4000 4006 4bf6 c2ec e2e9 = > E..4.v at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 = > .C.=3D...*P..Is..! > 0x0020 8010 1920 1147 0000 0101 080a 1185 1077 = > .....G.........w > 0x0030 a54c 4fd9 .LO. > =09 > =20 > =09 > 16:59:50.766763 netsaint.37062 > streaming-server.rtsp: P = > 45:102(57) ack 270 win 6432 = > (DF) > 0x0000 4500 006d a277 4000 4006 4bbc c2ec e2e9 = > E..m.w at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b249 7381 df21 = > .C.=3D...*P..Is..! > 0x0020 8018 1920 0dac 0000 0101 080a 1185 1077 = > ...............w > 0x0030 a54c 4fd9 4445 5343 5249 4245 2072 7473 = > .LO.DESCRIBE.rts > 0x0040 703a 2f2f 286e 756c 6c29 3a35 3534 2f74 = > p://(null):554/t > 0x0050 692f i/ > =09 > =20 > =09 > 16:59:50.886763 streaming-server.rtsp > netsaint.37062: . > ack = > 102 win 33304 (DF) > 0x0000 4500 0034 1e42 4000 3906 d72a c343 e33d = > E..4.B at .9..*.C.=3D > 0x0010 c2ec e2e9 022a 90c6 7381 df21 50ff b282 = > .....*..s..!P... > 0x0020 8010 8218 a807 0000 0101 080a a54c 4fe7 = > .............LO. > 0x0030 1185 1077 ...w > =09 > =20 > =09 > 16:59:50.886763 netsaint.37062 > streaming-server.rtsp: P = > 102:111(9) ack 270 win 6432 = > (DF) > 0x0000 4500 003d a278 4000 4006 4beb c2ec e2e9 = > E..=3D.x at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b282 7381 df21 = > .C.=3D...*P...s..! > 0x0020 8018 1920 f1f3 0000 0101 080a 1185 1083 = > ................ > 0x0030 a54c 4fe7 4353 6571 3a20 320a 0a = > .LO.CSeq:.2.. > =09 > =20 > =09 > 16:59:51.046763 streaming-server.rtsp > netsaint.37062: . = > 270:1718(1448) ack 111 win 33304 293933187> (DF) > 0x0000 4500 05dc 1e43 4000 3906 d181 c343 e33d = > E....C at .9....C.=3D > 0x0010 c2ec e2e9 022a 90c6 7381 df21 50ff b28b = > .....*..s..!P... > 0x0020 8010 8218 3fd8 0000 0101 080a a54c 4fed = > ....?........LO. > 0x0030 1185 1083 5254 5350 2f31 2e30 2032 3030 = > ....RTSP/1.0.200 > 0x0040 204f 4b0d 0a43 5365 713a 2032 0d0a 4461 = > .OK..CSeq:.2..Da > 0x0050 7465 te > =09 > =20 > =09 > 16:59:51.046763 netsaint.37062 > streaming-server.rtsp: R = > 111:111(0) ack 1718 win 8688 = > (DF) > 0x0000 4500 0034 a279 4000 4006 4bf3 c2ec e2e9 = > E..4.y at .@.K..... > 0x0010 c343 e33d 90c6 022a 50ff b28b 7381 e4c9 = > .C.=3D...*P...s... > 0x0020 8014 21f0 0259 0000 0101 080a 1185 1093 = > ..!..Y.......... > 0x0030 a54c 4fed .LO. > =09 > =20 > =09 > 16:59:51.136763 streaming-server.rtsp > netsaint.37062: P = > 1718:3166(1448) ack 111 win 33304 293933187> (DF) > 0x0000 4500 05dc 1e44 4000 3906 d180 c343 e33d = > E....D at .9....C.=3D > 0x0010 c2ec e2e9 022a 90c6 7381 e4c9 50ff b28b = > .....*..s...P... > 0x0020 8018 8218 6d86 0000 0101 080a a54c 4fed = > ....m........LO. > 0x0030 1185 1083 300a 613d 5374 6172 7454 696d = > ....0.a=3DStartTim > 0x0040 653a 696e 7465 6765 723b 300a 613d 4176 = > e:integer;0.a=3DAv > 0x0050 6742 gB > =09 > =20 > =09 > 16:59:51.136763 netsaint.37062 > streaming-server.rtsp: R = > 1358934667:1358934667(0) win 0 (DF) > 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 = > E..(.. at .../x.... > 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 = > .C.=3D...*P....... > 0x0020 5004 0000 cd0d 0000 = > P....... > =09 > =20 > =09 > 16:59:51.236763 streaming-server.rtsp > netsaint.37062: . = > 3166:4614(1448) ack 111 win 33304 293933187> (DF) > 0x0000 4500 05dc 1e45 4000 3906 d17f c343 e33d = > E....E at .9....C.=3D > 0x0010 c2ec e2e9 022a 90c6 7381 ea71 50ff b28b = > .....*..s..qP... > 0x0020 8010 8218 97b0 0000 0101 080a a54c 4fed = > .............LO. > 0x0030 1185 1083 696e 7465 6765 723b 3131 3739 = > ....integer;1179 > 0x0040 3538 0a61 3d45 6e64 4f6e 6552 756c 6545 = > 58.a=3DEndOneRuleE > 0x0050 6e64 nd > =09 > =20 > =09 > 16:59:51.236763 netsaint.37062 > streaming-server.rtsp: R = > 1358934667:1358934667(0) win 0 (DF) > 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 = > E..(.. at .../x.... > 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 = > .C.=3D...*P....... > 0x0020 5004 0000 cd0d 0000 = > P....... > =09 > =20 > =09 > 16:59:51.276763 streaming-server.rtsp > netsaint.37062: P = > 4614:5232(618) ack 111 win 33304 293933187> (DF) > 0x0000 4500 029e 1e46 4000 3906 d4bc c343 e33d = > E....F at .9....C.=3D > 0x0010 c2ec e2e9 022a 90c6 7381 f019 50ff b28b = > .....*..s...P... > 0x0020 8018 8218 a8af 0000 0101 080a a54c 4fed = > .............LO. > 0x0030 1185 1083 7468 203c 2032 3630 3030 292c = > ....th.<.26000), > 0x0040 4176 6572 6167 6542 616e 6477 6964 7468 = > AverageBandwidth > 0x0050 3d31 =3D1 > =09 > =20 > =09 > 16:59:51.276763 netsaint.37062 > streaming-server.rtsp: R = > 1358934667:1358934667(0) win 0 (DF) > 0x0000 4500 0028 0000 4000 ff06 2f78 c2ec e2e9 = > E..(.. at .../x.... > 0x0010 c343 e33d 90c6 022a 50ff b28b 0000 0000 = > .C.=3D...*P....... > 0x0020 5004 0000 cd0d 0000 = > P....... > =09 > =20 > =09 > =09 > > > > --__--__-- > > Message: 2 > Date: Fri, 18 Apr 2003 10:20:53 +0530 (IST) > From: Atul Shrivastava > To: sakrafd > cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] web application monitoring - windows > authentication > > Hello, > > You can do it by this command: > > ./check_tcp -H HostIP -p 80 > > This 80 port is used if you are using the default web service else you > have to specify the respective port. > This you can check from the command prompt and then use the check_tcp > command with the argument as: > > check_tcp!80!warning!critical > > > Regards, > > Atul > > On Thu, 17 Apr 2003, sakrafd wrote: > > > > > Hi, > > > > I am trying to set up nagios to monitor a web application that is located > in a different windows domain on an intranet. The IIS5 server the > application runs on does not allow anonymous or basic authentication access > - all users have do have specific ACL's to view the site (a windows > challenge/response prompt pops up in IE when first attempting to hit the > app). Is it possible to monitor this type of application with nagios? If so, > how? If not, does anyone know of a free monitoring tool that will? > > > > Thanks in advance, > > > > Dave > > > > > > > > --------------------------------- > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo. > > -- > > Regards and have a nice day, > Atul Shrivastava > Info Structure Services > HCL INFOSYSTEMS LTD. > E - 4,5,6 Sector XI, > Noida - 201301 > Tel: 91-120-2526910,2443013 > > > > > > > > > > > --__--__-- > > Message: 3 > Date: Fri, 18 Apr 2003 13:51:02 +0200 (CEST) > From: =?iso-8859-1?q?Steve=20Dussaux?= > Subject: Re: [Nagios-users] Pop Up Alerts > To: chbaker at powersystems.rockwell.com, nagios-users at lists.sourceforge.net > > If the Nagios operator is under Microsoft OS you can send Winpopup by using > smbclient. > > Steve > > > --- chbaker at powersystems.rockwell.com a ecrit : > I think I know the answer > to this, but just to > be sure I'll ask. Does > > nagios > > have any JavaScript popups to alert an operator of a problem? > > > > Charles H. Baker > > chbaker at powersystems dot rockwell dot com > > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > > BOFH excuse #426: > > internet is needed to catch the etherbunny > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en francais ! > Yahoo! Mail : http://fr.mail.yahoo.com > > > --__--__-- > > Message: 4 > From: NOC at eiiecomm.com > To: nagios-users at lists.sourceforge.net > Date: Fri, 18 Apr 2003 09:43:17 -0400 > Subject: [Nagios-users] Notifications only get to certain email accounts > > Hi all, > I am having trouble figuring out why notifications get to my yahoo email > but, don't get to my Road Runner email. I get notifications on my ATT cell > phone but, can't get them at my corporate email through Lotus notes. Does > anyone have suggestions on how I might remedy this issue? > > Nagios is sending notification perfectly but, it appears that certain > email servers do not all the three section domain name. > > ie; nagios at hostname.domainname.com > > Any help would be greatly appreciated > > Mike Hall > > > --__--__-- > > Message: 5 > Date: Fri, 18 Apr 2003 10:13:42 -0400 > From: Jeff Lane > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Configuring nrpe > > Good morning all... > > I need a little help in configureing a check for nrpe... the one thing > that has me stumped is how to check a process that is started by /bin/sh > > specifically mysqld. > > I have tried the following in nrpe.cfg: > > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > '/bin/sh /usr/bin/safe_mysqld' > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > "/bin/sh /usr/bin/safe_mysqld" > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > `/bin/sh /usr/bin/safe_mysqld` > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > /usr/bin/safe_mysqld > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > /bin/sh\ /usr/bin/safe_mysqld > > and none of these worked... > > here is what mysql looks like to ps: > > > 28887 ? S 0:00 /bin/sh /usr/bin/safe_mysqld > --defaults-file=/etc/my. > 28914 ? S 0:00 \_ /usr/libexec/mysqld > --defaults-file=/etc/my.cnf - > 28916 ? S 0:16 \_ /usr/libexec/mysqld > --defaults-file=/etc/my.c > 28917 ? S 1:29 \_ /usr/libexec/mysqld > --defaults-file=/etc/ > > I have even tried it wiht the child process names as well... > > since this is a server that is constantly tweaked, just using the > process number would be futile, as it changes at least once a week... > so could someone point me in the right direction to getting this checked??? > > Thanks! > Jeff > > > -- > Jeffrey Lane > ConnectNC.com / Internet of the Sandhills > W4KDH at arrl.net > > chown -r us:us /yourbase/ > > > > > --__--__-- > > Message: 6 > Date: Fri, 18 Apr 2003 11:05:42 -0400 (EDT) > From: Subhendu Ghosh > Subject: Re: [Nagios-users] Configuring nrpe > To: nagios-users at lists.sourceforge.net > > > You should be able to use "-C /bin/sh -a /usr/bin/safe_mysqld" > > note the ps on the command line probably has different defaults than ps in > check_procs. Take look at your config.h for PS_COMMAND. > > -sg > > On Fri, 18 Apr 2003, Jeff Lane wrote: > > > Good morning all... > > > > I need a little help in configureing a check for nrpe... the one thing > > that has me stumped is how to check a process that is started by /bin/sh > > > > specifically mysqld. > > > > I have tried the following in nrpe.cfg: > > > > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > > '/bin/sh /usr/bin/safe_mysqld' > > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > > "/bin/sh /usr/bin/safe_mysqld" > > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > > `/bin/sh /usr/bin/safe_mysqld` > > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > > /usr/bin/safe_mysqld > > command[check_mysql]=/usr/local/nagios/libexec/check_procs -w2: -c 1: -C > > /bin/sh\ /usr/bin/safe_mysqld > > > > and none of these worked... > > > > here is what mysql looks like to ps: > > > > > > 28887 ? S 0:00 /bin/sh /usr/bin/safe_mysqld > > --defaults-file=/etc/my. > > 28914 ? S 0:00 \_ /usr/libexec/mysqld > > --defaults-file=/etc/my.cnf - > > 28916 ? S 0:16 \_ /usr/libexec/mysqld > > --defaults-file=/etc/my.c > > 28917 ? S 1:29 \_ /usr/libexec/mysqld > > --defaults-file=/etc/ > > > > I have even tried it wiht the child process names as well... > > > > since this is a server that is constantly tweaked, just using the > > process number would be futile, as it changes at least once a week... > > so could someone point me in the right direction to getting this > checked??? > > > > Thanks! > > Jeff > > > > > > > > -- > > > > > --__--__-- > > Message: 7 > From: "Val Vechnyak" > To: > Date: Fri, 18 Apr 2003 11:14:55 -0400 > Subject: [Nagios-users] Mail FROM field needs to be changed > > This is a multi-part message in MIME format. > > ------=_NextPart_000_01F4_01C3059B.BD889320 > Content-Type: text/plain; > charset="us-ascii" > Content-Transfer-Encoding: 7bit > > Hello, > > > > I apologize if this was discussed already in this list, but since I just > signed up I did not know. > > > > My problem is when nagios is sending email notifications it includes the > entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname.com). > There is no problem when I send an email using PINE from nagios user, so my > sendmail is configured properly. > > > > This is a problem for me because some email servers lookup the MX record of > the domain name and refuse email if it does not match. > > > > ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com, but nagios still > puts the hostname in the FROM field. > > > > Could anyone tell me where I can configure it? > > > > Thanks, > > > > Val > > > > > ------=_NextPart_000_01F4_01C3059B.BD889320 > Content-Type: text/html; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > > > > charset=3Dus-ascii"> > > > > > > > > > > >
> >

style=3D'font-size:10.0pt; > font-family:Arial'>Hello,

> >

style=3D'font-size:10.0pt; > font-family:Arial'> 

> >

style=3D'font-size:10.0pt; > font-family:Arial'>I apologize if this was discussed already in this = > list, but > since I just signed up I did not know.

> >

style=3D'font-size:10.0pt; > font-family:Arial'> 

> >

style=3D'font-size:10.0pt; > font-family:Arial'>My problem is when nagios is sending email = > notifications it > includes the entire hostname in MAIL FROM field (i.e. href=3D"mailto:nagios at hostname.domainname.com">nagios at hostname.domainname= > .com). > There is no problem when I send an email using PINE from nagios user, so = > my sendmail > is configured properly.

> >

style=3D'font-size:10.0pt; > font-family:Arial'> 

> >

style=3D'font-size:10.0pt; > font-family:Arial'>This is a problem for me because some email servers = > lookup > the MX record of the domain name and refuse email if it does not = > match.

> >

style=3D'font-size:10.0pt; > font-family:Arial'> 

> >

style=3D'font-size:10.0pt; > font-family:Arial'>ADMINEMAIL in nagios.cfg is href=3D"mailto:nagios at myrealdomainname.com">nagios at myrealdomainname.com a>, but nagios > still puts the hostname in the FROM field.

> >

style=3D'font-size:10.0pt; > font-family:Arial'> 

> >

style=3D'font-size:10.0pt; > font-family:Arial'>Could anyone tell me where I can configure = > it?

> >

style=3D'font-size:10.0pt; > font-family:Arial'> 

> >

style=3D'font-size:10.0pt; > font-family:Arial'>Thanks,

> >

style=3D'font-size:10.0pt; > font-family:Arial'> 

> >

style=3D'font-size:10.0pt; > font-family:Arial'>Val

> >

style=3D'font-size: > 12.0pt'> 

> >
> > > > > > ------=_NextPart_000_01F4_01C3059B.BD889320-- > > > > --__--__-- > > Message: 8 > From: Frank Gadot > To: Nagios-Users > Organization: EPS > Date: 18 Apr 2003 12:41:42 -0400 > Subject: [Nagios-users] CGI trouble > > Hi all, > > Can somebody tell me how come my CGIs do not find the libgd.so.2 library > ? I have it on my computer, here is the output of the cgi when I run it > from the command line... > > > ./trends.cgi: error while loading shared libraries: libgd.so.2: cannot > open shared object file: No such file or directory > > thank you for your help > > > > --__--__-- > > Message: 9 > From: > Subject: Re: [Nagios-users] CGI trouble > To: Frank Gadot > Cc: Nagios-Users , > nagios-users-admin at lists.sourceforge.net > Date: Fri, 18 Apr 2003 18:55:24 +0200 > > > You are missing two directives in your http.conf file which are : > > PassEnv LD_LIBRARY_PATH > SetEnv LD_LIBRARY_PATH /usr/local/lib > > to tell your cgis where to find the libs .... > > > ---------------------------------------------------------------------------- > ---------- > > Lionel Ostric - Systems Administrator - Engineering IT > ARM France - Les Cardoulines B2 - Route des Dolines > Sophia Antipolis - 06560 Valbonne - France > +33 (0)4 97 23 51 22 / +33 (0)6 03 83 02 63 > > > |---------+----------------------------------------> > | | Frank Gadot | > | | | > | | Sent by: | > | | nagios-users-admin at lists.sour| > | | ceforge.net | > | | | > | | | > | | 18/04/2003 18:41 | > | | | > |---------+----------------------------------------> > > >--------------------------------------------------------------------------- > ---------------------------------------------------| > | > | > | To: Nagios-Users > | > | cc: > | > | Subject: [Nagios-users] CGI trouble > | > > >--------------------------------------------------------------------------- > ---------------------------------------------------| > > > > > Hi all, > > Can somebody tell me how come my CGIs do not find the libgd.so.2 library > ? I have it on my computer, here is the output of the cgi when I run it > from the command line... > > > ./trends.cgi: error while loading shared libraries: libgd.so.2: cannot > open shared object file: No such file or directory > > thank you for your help > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: 10 > To: nagios-users at lists.sourceforge.net > From: Mike.Hall at eiiecomm.com > Date: Fri, 18 Apr 2003 13:13:50 -0400 > Subject: [Nagios-users] Notifications only get to certain email accounts > > Hi all, > I am having trouble figuring out why notifications get to my yahoo email > but, don't get to my Road Runner email. I get notifications on my ATT cell > phone but, can't get them at my corporate email through Lotus notes. Does > anyone have suggestions on how I might remedy this issue? > > Nagios is sending notification perfectly but, it appears that certain > email servers do not all the three section domain name. > > ie; nagios at hostname.domainname.com > > Any help would be greatly appreciated > > Mike Hall > > > --__--__-- > > Message: 11 > From: "Carroll, Jim P [Contractor]" > To: "'Val Vechnyak'" , nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Mail FROM field needs to be changed > Date: Fri, 18 Apr 2003 12:22:33 -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_01C305CF.195012E3 > Content-Type: text/plain; > charset="ISO-8859-1" > > I'm not convinced that your sendmail config is blameless. Try the > following: > > # su - nagios > $ echo 'hello' | /usr/lib/sendmail val at nycity.com > > Let us know what the FROM header looks like on the receiving end. > > jc > > > -----Original Message----- > From: Val Vechnyak [mailto:val at nycity.com] > Sent: Friday, April 18, 2003 10:15 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Mail FROM field needs to be changed > > > > Hello, > > > > I apologize if this was discussed already in this list, but since I just > signed up I did not know. > > > > My problem is when nagios is sending email notifications it includes the > entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname.com > ). There is no problem when I send > an email using PINE from nagios user, so my sendmail is configured properly. > > > > This is a problem for me because some email servers lookup the MX record of > the domain name and refuse email if it does not match. > > > > ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com > , but nagios still puts the hostname in > the FROM field. > > > > Could anyone tell me where I can configure it? > > > > Thanks, > > > > Val > > > > > ------_=_NextPart_001_01C305CF.195012E3 > Content-Type: text/html; > charset="ISO-8859-1" > > > > > > > > > > >
> size=2>I'm not convinced that your sendmail config is blameless.  Try > the > following:
>
> size=2> 
>
> size=2># su - nagios
>
>
> size=2> 
>
> size=2>Let us know what the FROM header looks like on the receiving > end.
>
> size=2> 
>
> size=2>jc
>
 
>
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; > MARGIN-RIGHT: 0px"> >
size=2>-----Original Message-----
From: Val Vechnyak > [mailto:val at nycity.com]
Sent: Friday, April 18, 2003 10:15 > AM
To: nagios-users at lists.sourceforge.net
Subject: > [Nagios-users] Mail FROM field needs to be changed

>
>

style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello,

>

style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 

>

style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I apologize if this was > discussed > already in this list, but since I just signed up I did not > know.

>

style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 

>

style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">My problem is when nagios is > sending email notifications it includes the entire hostname in MAIL FROM > field > (i.e. > href="mailto:nagios at hostname.domainname.com">nagios at hostname.domainname.com< > /A>). > There is no problem when I send an email using PINE from nagios user, so > my > sendmail is configured properly.

>

style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 

>

style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">This is a problem for me > because > some email servers lookup the MX record of the domain name and refuse > email if > it does not match.

>

style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 

>

style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">ADMINEMAIL in nagios.cfg is > href="mailto:nagios at myrealdomainname.com">nagios at myrealdomainname.com, > but > nagios still puts the hostname in the FROM field.

>

style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 

>

style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Could anyone tell me where I > can > configure it?

>

style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 

>

style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks,

>

style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 

>

style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Val

>

style="FONT-SIZE: > 12pt"> 

> > ------_=_NextPart_001_01C305CF.195012E3-- > > > --__--__-- > > Message: 12 > Subject: RE: [Nagios-users] Notifications only get to certain email accounts > Date: Fri, 18 Apr 2003 12:28:16 -0500 > From: "Marc Powell" > To: , > > > Is hostname.domainname.com in both forward _and_ reverse DNS? Do they > match? Some mail configurations will reject mail from hosts that do not > match. Also, is your IP a dialup/DSL or in some RBL listed IP range? > > -- > Marc > > > -----Original Message----- > > From: Mike.Hall at eiiecomm.com [mailto:Mike.Hall at eiiecomm.com] > > Sent: Friday, April 18, 2003 12:14 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Notifications only get to certain email > accounts > >=20 > > Hi all, > > I am having trouble figuring out why notifications get to my yahoo > email > > but, don't get to my Road Runner email. I get notifications on my ATT > cell > > phone but, can't get them at my corporate email through Lotus notes. > Does > > anyone have suggestions on how I might remedy this issue? > >=20 > > Nagios is sending notification perfectly but, it appears that certain > > email servers do not all the three section domain name. > >=20 > > ie; nagios at hostname.domainname.com > >=20 > > Any help would be greatly appreciated > >=20 > > Mike Hall > >=20 > >=20 > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: 13 > Date: Fri, 18 Apr 2003 10:37:10 -0700 (PDT) > From: Mark Natoli > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] acknowledgements in config files > > Hi, > > I've come to rely on the ntray tool heavily to let > me know the status of multiple systems at a glance. > This tool shows red, yellow, green in your system > tray. > My problem is that occasionally I have systems that > are out of service for a couple of days for repairs, > etc. I don't want to rip out the configs for these or > comment out all of the services. > How do I easily shut down the monitoring of these > services for a particular system using the config > files without removing/commenting all of the entries? > > TIA > -Mark > > __________________________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo > http://search.yahoo.com > > > --__--__-- > > Message: 14 > From: "Val Vechnyak" > To: "'Carroll, Jim P [Contractor]'" , > > Subject: RE: [Nagios-users] Mail FROM field needs to be changed > Date: Fri, 18 Apr 2003 14:20:52 -0400 > > This is a multi-part message in MIME format. > > ------=_NextPart_000_0009_01C305B5.B7E1BDB0 > Content-Type: text/plain; > charset="US-ASCII" > Content-Transfer-Encoding: quoted-printable > > Ummmmm, You are right. My bad. That's embarrassing. > > =20 > > It works using PINE, but not from the command line. > > =20 > > Don't know what is going on. Thanks and sorry I took your time. > > =20 > > -------------------------------------------------------------------------= > --- > > Val Vechnyak > > MCP > > =20 > > Technical support: support at msohosting.com > > =20 > > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com]=20 > Sent: Friday, April 18, 2003 13:23 > To: 'Val Vechnyak'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Mail FROM field needs to be changed > > =20 > > I'm not convinced that your sendmail config is blameless. Try the > following: > > =20 > > # su - nagios > > $ echo 'hello' | /usr/lib/sendmail val at nycity.com > > =20 > > Let us know what the FROM header looks like on the receiving end. > > =20 > > jc > > =20 > > -----Original Message----- > From: Val Vechnyak [mailto:val at nycity.com] > Sent: Friday, April 18, 2003 10:15 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Mail FROM field needs to be changed > > Hello, > > =20 > > I apologize if this was discussed already in this list, but since I just > signed up I did not know. > > =20 > > My problem is when nagios is sending email notifications it includes the > entire hostname in MAIL FROM field (i.e. = > nagios at hostname.domainname.com). > There is no problem when I send an email using PINE from nagios user, so = > my > sendmail is configured properly. > > =20 > > This is a problem for me because some email servers lookup the MX record = > of > the domain name and refuse email if it does not match. > > =20 > > ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com, but nagios = > still > puts the hostname in the FROM field. > > =20 > > Could anyone tell me where I can configure it? > > =20 > > Thanks, > > =20 > > Val > > =20 > > > ------=_NextPart_000_0009_01C305B5.B7E1BDB0 > Content-Type: text/html; > charset="US-ASCII" > Content-Transfer-Encoding: quoted-printable > > > > > > charset=3Dus-ascii"> > > > > > > > > > > >
> >

style=3D'font-size: > 10.0pt;font-family:Arial;color:navy'>Ummmmm, You are right. My bad. = > That’s > embarrassing.

> >

style=3D'font-size: > 10.0pt;font-family:Arial;color:navy'> 

> >

style=3D'font-size: > 10.0pt;font-family:Arial;color:navy'> It works using PINE, but not = > from > the command line.

> >

style=3D'font-size: > 10.0pt;font-family:Arial;color:navy'> 

> >

style=3D'font-size: > 10.0pt;font-family:Arial;color:navy'>Don’t know what is going on. = > Thanks > and sorry I took your time.

> >

style=3D'font-size: > 10.0pt;font-family:Arial;color:navy'> 

> >
> >

New"> style=3D'font-size:10.0pt;font-family:"Courier = > New";color:navy'>--------------------------------------------------------= > --------------------

> >

New"> style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>Val = > Vechnyak

> >

New"> style=3D'font-size:10.0pt;font-family:"Courier = > New";color:navy'>MCP

> >

New"> style=3D'font-size:10.0pt;font-family:"Courier = > New";color:navy'> 

> >

New"> style=3D'font-size:10.0pt;font-family:"Courier = > New";color:navy'>Technical > support: href=3D"mailto:support at msohosting.com">support at msohosting.com<= > /font>

> >
> >

style=3D'font-size: > 10.0pt;font-family:Arial;color:navy'> 

> >

face=3DTahoma> style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original = > Message-----
> From: Carroll, Jim P = > [Contractor] > [mailto:jcarro10 at sprintspectrum.com]
> Sent: Friday, April 18, = > 2003 13:23
> To: 'Val Vechnyak'; > nagios-users at lists.sourceforge.net
> Subject: RE: = > [Nagios-users] Mail > FROM field needs to be changed

> >

face=3D"Times New Roman"> style=3D'font-size:12.0pt'> 

> >
> >

color=3Dnavy > face=3D"Comic Sans MS"> style=3D'font-size:10.0pt;font-family:"Comic Sans MS"; > color:navy'>I'm not convinced that your sendmail config is = > blameless.  Try > the following:

> >
> >
> >

face=3D"Times New Roman"> style=3D'font-size:12.0pt'> 

> >
> >
> >

color=3Dnavy > face=3D"Comic Sans MS"> style=3D'font-size:10.0pt;font-family:"Comic Sans MS"; > color:navy'># su - nagios

> >
> >
> >

color=3Dnavy > face=3D"Comic Sans MS"> style=3D'font-size:10.0pt;font-family:"Comic Sans MS"; > color:navy'>$ echo 'hello' | /usr/lib/sendmail href=3D"mailto:val at nycity.com">val at nycity.com

> >
> >
> >

face=3D"Times New Roman"> style=3D'font-size:12.0pt'> 

> >
> >
> >

color=3Dnavy > face=3D"Comic Sans MS"> style=3D'font-size:10.0pt;font-family:"Comic Sans MS"; > color:navy'>Let us know what the FROM header looks like on the receiving = > end.

> >
> >
> >

face=3D"Times New Roman"> style=3D'font-size:12.0pt'> 

> >
> >
> >

color=3Dnavy > face=3D"Comic Sans MS"> style=3D'font-size:10.0pt;font-family:"Comic Sans MS"; > color:navy'>jc

> >
> >
> >

face=3D"Times New Roman"> style=3D'font-size:12.0pt'> 

> >
> >
1.5pt;padding:0in 0in 0in 4.0pt; > margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'= > > > >

style=3D'margin-right:0in;margin-bottom:12.0pt;margin-left: > .5in'> style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original > Message-----
> From: Val Vechnyak > [mailto:val at nycity.com]
> Sent: Friday, April 18, = > 2003 10:15 > AM
> To: > nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] = > Mail FROM > field needs to be changed

> >

face=3DArial> style=3D'font-size:10.0pt;font-family:Arial'>Hello,

> >

face=3D"Times New Roman"> style=3D'font-size:12.0pt'> 

> >

face=3DArial> style=3D'font-size:10.0pt;font-family:Arial'>I apologize if this was = > discussed > already in this list, but since I just signed up I did not = > know.

> >

face=3D"Times New Roman"> style=3D'font-size:12.0pt'> 

> >

face=3DArial> style=3D'font-size:10.0pt;font-family:Arial'>My problem is when nagios = > is sending > email notifications it includes the entire hostname in MAIL FROM field = > (i.e. href=3D"mailto:nagios at hostname.domainname.com">nagios at hostname.domainname= > .com). > There is no problem when I send an email using PINE from nagios user, so = > my > sendmail is configured properly.

> >

face=3D"Times New Roman"> style=3D'font-size:12.0pt'> 

> >

face=3DArial> style=3D'font-size:10.0pt;font-family:Arial'>This is a problem for me = > because > some email servers lookup the MX record of the domain name and refuse = > email if > it does not match.

> >

face=3D"Times New Roman"> style=3D'font-size:12.0pt'> 

> >

face=3DArial> style=3D'font-size:10.0pt;font-family:Arial'>ADMINEMAIL in nagios.cfg is = > href=3D"mailto:nagios at myrealdomainname.com">nagios at myrealdomainname.com a>, but > nagios still puts the hostname in the FROM field.

> >

face=3D"Times New Roman"> style=3D'font-size:12.0pt'> 

> >

face=3DArial> style=3D'font-size:10.0pt;font-family:Arial'>Could anyone tell me where = > I can > configure it?

> >

face=3D"Times New Roman"> style=3D'font-size:12.0pt'> 

> >

face=3DArial> style=3D'font-size:10.0pt;font-family:Arial'>Thanks,

> >

face=3D"Times New Roman"> style=3D'font-size:12.0pt'> 

> >

face=3DArial> style=3D'font-size:10.0pt;font-family:Arial'>Val

> >

face=3D"Times New Roman"> style=3D'font-size:12.0pt'> 

> >
> >
> > > > > > ------=_NextPart_000_0009_01C305B5.B7E1BDB0-- > > > > --__--__-- > > Message: 15 > Date: Fri, 18 Apr 2003 14:35:12 -0400 > From: Jeff Lane > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Configuring still > > Oddly enough, I tried changing the command bit to mysqld and it > worked... weird... and changing it to just safe_mysqld worked as well... > > Here is another problem however... > > I have also put nrpe on a web server and I am getting problems iwth the > checks timing out automatically... > > Here is what the GUI shows: > webgnostics > > > Cobalt Admin Status > CRITICAL 04-18-2003 14:26:25 0d 0h 38m 1s 3/3 > CHECK_NRPE: Socket timeout after 10 seconds. > > Current Load > CRITICAL 04-18-2003 14:26:48 0d 0h 37m 41s 3/3 > CHECK_NRPE: Socket timeout after 10 seconds. > > Current Users > CRITICAL 04-18-2003 14:27:10 0d 0h 37m 11s 3/3 > CHECK_NRPE: Socket timeout after 10 seconds. > > > and there are many others... what causes this? If I run the check_nrpe > commands by hand, each and every one works perfectly... HOWEVER when > they are run by nagios automatically, they all fail... > > This failure is ONLY occuring for this one host. I checked service.cfg > and hosts.cfg and everthing seems to be correct in each of them > > Any thoughts? > > Jeff > > Subhendu Ghosh wrote: > > > You should be able to use "-C /bin/sh -a /usr/bin/safe_mysqld" > > > > note the ps on the command line probably has different defaults than > ps in check_procs. Take look at your config.h for PS_COMMAND. > > > > > > > > -- > Jeffrey Lane > ConnectNC.com / Internet of the Sandhills > W4KDH at arrl.net > > chown -r us:us /yourbase/ > > > > > --__--__-- > > Message: 16 > Date: Fri, 18 Apr 2003 14:34:54 -0400 (EDT) > From: Subhendu Ghosh > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Configuring nrpe > > > Do you have the correct port number configured? > > Does the command line and configure syntax match? > > -sg > > On Fri, 18 Apr 2003, Jeff Lane wrote: > > > Oddly enough, I tried changing the command bit to mysqld and it > > worked... weird... and changing it to just safe_mysqld worked as well... > > > > Here is another problem however... > > > > I have also put nrpe on a web server and I am getting problems iwth the > > checks timing out automatically... > > > > Here is what the GUI shows: > > webgnostics > > > > > > Cobalt Admin Status > > CRITICAL 04-18-2003 14:26:25 0d 0h 38m 1s 3/3 CHECK_NRPE: > Socket > > timeout after 10 seconds. > > > > Current Load > > CRITICAL 04-18-2003 14:26:48 0d 0h 37m 41s 3/3 CHECK_NRPE: > Socket > > timeout after 10 seconds. > > > > Current Users > > CRITICAL 04-18-2003 14:27:10 0d 0h 37m 11s 3/3 CHECK_NRPE: > Socket > > timeout after 10 seconds. > > > > > > and there are many others... what causes this? If I run the check_nrpe > > commands by hand, each and every one works perfectly... HOWEVER when > > they are run by nagios automatically, they all fail... > > > > This failure is ONLY occuring for this one host. I checked service.cfg > > and hosts.cfg and everthing seems to be correct in each of them > > > > Any thoughts? > > > > Jeff > > > > Subhendu Ghosh wrote: > > > You should be able to use "-C /bin/sh -a /usr/bin/safe_mysqld" > > > > > > note the ps on the command line probably has different defaults than ps > in > > > check_procs. Take look at your config.h for PS_COMMAND. > > > > > > > > > > > > > -- > > > > > --__--__-- > > Message: 17 > Date: Fri, 18 Apr 2003 14:57:55 -0400 > From: Jeff Lane > To: Subhendu Ghosh > CC: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Re: Configuring nrpe > > Yep... > > to try it manually, I am merely copying the configured commands and > filling in the blanks... > > for example... to check the disk > > I am using: > > check_nrpe -H ip.of.host.machine -p portIchose -c check_disk1 > > which gives me a correct response... > > however setting it automatically does not work... it isnt that just one > or two things arent working for this host... Ic ould probably figure > that out on my own... but the problem is that ALL checks are failing on > this one host, even though I can do each and every one of them from > command line and have them work. > > I am pretty sure its not in the syntax either, since a good number of > these checks are being run on some other machines as well, and are > working fine on those machines. (for example the check_disk command, > check_sshd command, and some other commands I have been using for > general service checks). > > Cheers > Jeff > > Subhendu Ghosh wrote: > > Do you have the correct port number configured? > > > > Does the command line and configure syntax match? > > > > -sg > > > > On Fri, 18 Apr 2003, Jeff Lane wrote: > > > > > >>Oddly enough, I tried changing the command bit to mysqld and it > >>worked... weird... and changing it to just safe_mysqld worked as well... > >> > >>Here is another problem however... > >> > >>I have also put nrpe on a web server and I am getting problems iwth the > >>checks timing out automatically... > >> > >>Here is what the GUI shows: > >>webgnostics > >> > >> > >>Cobalt Admin Status > >>CRITICAL 04-18-2003 14:26:25 0d 0h 38m 1s 3/3 CHECK_NRPE: > Socket > >>timeout after 10 seconds. > >> > >>Current Load > >>CRITICAL 04-18-2003 14:26:48 0d 0h 37m 41s 3/3 CHECK_NRPE: > Socket > >>timeout after 10 seconds. > >> > >>Current Users > >>CRITICAL 04-18-2003 14:27:10 0d 0h 37m 11s 3/3 CHECK_NRPE: > Socket > >>timeout after 10 seconds. > >> > >> > >>and there are many others... what causes this? If I run the check_nrpe > >>commands by hand, each and every one works perfectly... HOWEVER when > >>they are run by nagios automatically, they all fail... > >> > >>This failure is ONLY occuring for this one host. I checked service.cfg > >>and hosts.cfg and everthing seems to be correct in each of them > >> > >>Any thoughts? > >> > >>Jeff > >> > >>Subhendu Ghosh wrote: > >> > >>>You should be able to use "-C /bin/sh -a /usr/bin/safe_mysqld" > >>> > >>>note the ps on the command line probably has different defaults than ps > in > >>>check_procs. Take look at your config.h for PS_COMMAND. > >>> > >> > >> > >> > >> > > > > > -- > Jeffrey Lane > ConnectNC.com / Internet of the Sandhills > W4KDH at arrl.net > > chown -r us:us /yourbase/ > > > > > --__--__-- > > Message: 18 > From: "Carroll, Jim P [Contractor]" > To: "'Mark Natoli'" , nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] acknowledgements in config files > Date: Fri, 18 Apr 2003 14:22:05 -0500 > > I asked a similar question months ago. IIRC, the author said there's not > much he can do, until Nagios can provide XML on the interface. Something > like this. > > Sorry for being vague, but if you really need the e-mail in question, I can > try to dig it out. > > jc > > > > -----Original Message----- > > From: Mark Natoli [mailto:mnatoli at yahoo.com] > > Sent: Friday, April 18, 2003 12:37 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] acknowledgements in config files > > > > > > Hi, > > > > I've come to rely on the ntray tool heavily to let > > me know the status of multiple systems at a glance. > > This tool shows red, yellow, green in your system > > tray. > > My problem is that occasionally I have systems that > > are out of service for a couple of days for repairs, > > etc. I don't want to rip out the configs for these or > > comment out all of the services. > > How do I easily shut down the monitoring of these > > services for a particular system using the config > > files without removing/commenting all of the entries? > > > > TIA > > -Mark > > > > __________________________________________________ > > Do you Yahoo!? > > The New Yahoo! Search - Faster. Easier. Bingo > > http://search.yahoo.com > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: 19 > From: "Carroll, Jim P [Contractor]" > To: "'Val Vechnyak'" , nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Mail FROM field needs to be changed > Date: Fri, 18 Apr 2003 14:28:34 -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_01C305E0.B3EA31F5 > Content-Type: text/plain; > charset="ISO-8859-1" > > You may have tweaked your pine config to force the FROM address. > > As for sendmail, depending on what version of sendmail you're running, it > could be a simple tweak. Edit /etc/sendmail.cf and search for 'masquerade' > or '^DM' (without the quotes) and change accordingly. Here's a sample tweak > from my sendmail.cf file for one of my Linux hosts (lines 138-139) running > sendmail version 8.11.6: > > # who I masquerade as (null for no masquerading) (see also $=M) > DMsprintspectrum.com > > HTH. > > jc > > > -----Original Message----- > From: Val Vechnyak [mailto:val at nycity.com] > Sent: Friday, April 18, 2003 1:21 PM > To: Carroll, Jim P [Contractor]; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Mail FROM field needs to be changed > > > > Ummmmm, You are right. My bad. That's embarrassing. > > > > It works using PINE, but not from the command line. > > > > Don't know what is going on. Thanks and sorry I took your time. > > > > ---------------------------------------------------------------------------- > > Val Vechnyak > > MCP > > > > Technical support: support at msohosting.com > > > > -----Original Message----- > From: Carroll, Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com] > Sent: Friday, April 18, 2003 13:23 > To: 'Val Vechnyak'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Mail FROM field needs to be changed > > > > I'm not convinced that your sendmail config is blameless. Try the > following: > > > > # su - nagios > > $ echo 'hello' | /usr/lib/sendmail val at nycity.com > > > > Let us know what the FROM header looks like on the receiving end. > > > > jc > > > > -----Original Message----- > From: Val Vechnyak [mailto:val at nycity.com] > Sent: Friday, April 18, 2003 10:15 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Mail FROM field needs to be changed > > Hello, > > > > I apologize if this was discussed already in this list, but since I just > signed up I did not know. > > > > My problem is when nagios is sending email notifications it includes the > entire hostname in MAIL FROM field (i.e. nagios at hostname.domainname.com > ). There is no problem when I send > an email using PINE from nagios user, so my sendmail is configured properly. > > > > This is a problem for me because some email servers lookup the MX record of > the domain name and refuse email if it does not match. > > > > ADMINEMAIL in nagios.cfg is nagios at myrealdomainname.com > , but nagios still puts the hostname in > the FROM field. > > > > Could anyone tell me where I can configure it? > > > > Thanks, > > > > Val > > > > > ------_=_NextPart_001_01C305E0.B3EA31F5 > Content-Type: text/html; > charset="ISO-8859-1" > > > > > > > > > > >
> size=2>You may have tweaked your pine config to force the FROM > address.
>
> size=2> 
>
> size=2>As for sendmail, depending on what version of sendmail you're > running, it > could be a simple tweak.  Edit /etc/sendmail.cf and search for > 'masquerade' > or '^DM' (without the quotes) and change accordingly.  Here's a sample > tweak from my sendmail.cf file for one of my Linux hosts (lines 138-139) > running > sendmail version 8.11.6:
>
> size=2> 
>
> size=2># who I masquerade as (null for no masquerading) (see also > $=M)
DMsprintspectrum.com
>
> size=2>HTH.
>
> size=2> 
>
> size=2>jc
>
> size=2> 
>
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000080 2px solid; > MARGIN-RIGHT: 0px"> >
size=2>-----Original Message-----
From: Val Vechnyak > [mailto:val at nycity.com]
Sent: Friday, April 18, 2003 1:21 > PM
To: Carroll, Jim P [Contractor]; > nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] > Mail > FROM field needs to be changed

>
>

style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Ummmmm, You are > right. My bad. That’s embarrassing.

>

style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: > Arial"> 

>

style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> It works > using > PINE, but not from the command line.

>

style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: > Arial"> 

>

style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Don’t know > what is > going on. Thanks and sorry I took your time.

>

style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: > Arial"> 

>
>

style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: > Arial"> 

>

size=2> style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original > Message-----
From: > Carroll, > Jim P [Contractor] [mailto:jcarro10 at sprintspectrum.com]
style="FONT-WEIGHT: bold">Sent: Friday, April 18, 2003 > 13:23
To: 'Val Vechnyak'; > > nagios-users at lists.sourceforge.net
style="FONT-WEIGHT: bold">Subject: RE: [Nagios-users] Mail FROM > > field needs to be changed

>

> size=3> 

>
>

color=navy size=2> style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Comic Sans MS'">I'm not > > convinced that your sendmail config is blameless.  Try the > following:

>
>

> size=3> 

>
>

color=navy size=2> style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Comic Sans MS'"># su - > nagios

>
>

color=navy size=2> style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Comic Sans MS'">$ echo > 'hello' | /usr/lib/sendmail href="mailto:val at nycity.com">val at nycity.com

>
>

> size=3> 

>
>

color=navy size=2> style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Comic Sans MS'">Let us > know > what the FROM header looks like on the receiving > end.

>
>

> size=3> 

>
>

color=navy size=2> style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Comic Sans > MS'">jc

>
>

> size=3> 

>
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium > none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; MARGIN: 5pt 0in 5pt 3.75pt; > BORDER-LEFT: navy 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium > none"> >

style="MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 0.5in; MARGIN-RIGHT: 0in"> > face=Tahoma size=2> style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original > Message-----
From: Val > Vechnyak [mailto:val at nycity.com]
style="FONT-WEIGHT: bold">Sent: Friday, April 18, 2003 10:15 > AM
To: > nagios-users at lists.sourceforge.net
style="FONT-WEIGHT: bold">Subject: [Nagios-users] Mail FROM > field > needs to be changed

>

size=2> style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello,

>

size=3> 

>

size=2> style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I apologize if this was > discussed already in this list, but since I just signed up I did not > know.

>

size=3> 

>

size=2> style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">My problem is when nagios is > > sending email notifications it includes the entire hostname in MAIL FROM > > field (i.e. > href="mailto:nagios at hostname.domainname.com">nagios at hostname.domainname.com< > /A>). > There is no problem when I send an email using PINE from nagios user, so > my > sendmail is configured properly.

>

size=3> 

>

size=2> style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">This is a problem for me > because > some email servers lookup the MX record of the domain name and refuse > email > if it does not match.

>

size=3> 

>

size=2> style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">ADMINEMAIL in nagios.cfg is > > href="mailto:nagios at myrealdomainname.com">nagios at myrealdomainname.com, > but nagios still puts the hostname in the FROM field.

>

size=3> 

>

size=2> style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Could anyone tell me where I > can > configure it?

>

size=3> 

>

size=2> style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks,

>

size=3> 

>

size=2> style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Val

>

size=3> style="FONT-SIZE: > 12pt"> 

> > ------_=_NextPart_001_01C305E0.B3EA31F5-- > > > --__--__-- > > Message: 20 > Date: Fri, 18 Apr 2003 15:50:39 -0400 > From: "Mitchell K. Smith" > To: > Subject: [Nagios-users] incredible disappearing host > > Greetings all. > I am running Nagios 1.0, RH Linux 7.3, Compaq DL360 1.2GHz > > Nagios has been working fine for quite a long while. Recently we added = > about 30 additional servers with two services each to monitor. There is = > a total of 62 hosts and 125 services being monitored. In addition, I am = > also running MRTG/RRDTool on the same machine and it's gathering data = > from something like 800-1000 interfaces. The systems is getting fairly = > busy. > > What happens is this. I added a new server and 3 services to be = > monitored. When I start Nagios, the new server will sometimes not appear = > on the hosts or services screen. Doing a view config > hosts it's = > definately there and is configured the same as many other servers. = > Restarting Nagios or refreshing the browser will sometimes bring it back = > but it will eventually disappear again. This happens from multiple = > browsers or clients. Has anyone seen anything like this before? > Weird. > > Thanks for the help. > > Mitchell K. Smith > > > Host definition: > # 'hpov00' host definition > define host{ > use generic-host > host_name hpov00 > alias HP OpenView server > address 172.31.9.50 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,u,r > } > > Service definitions: > # Service definition hpov00 - PING =20 > define service{ > use generic-service ; Name = > of service template to use > =20 > host_name hpov00 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 =20 > retry_check_interval 1 > contact_groups nt-admins > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command check_ping!200.0,20%!500.0,60% > } > =20 > # Service definition hpov00 - HP OpenView Process Manager > define service{ > use generic-service ; Name = > of service template to use > > host_name hpov00 > service_description HP OpenView Process Manager > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups nt-admins > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nt_service!"HP OpenView = > Process Manager" > } > > # Service definition hpov00 - SNMP EMANATE Master Agent > define service{ > use generic-service ; Name = > of service template to use > > host_name hpov00 > service_description SNMP EMANATE Master Agent > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups nt-admins > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nt_service!EMANATE > } > > > > --__--__-- > > Message: 21 > Subject: Re: [Nagios-users] incredible disappearing host > Date: Fri, 18 Apr 2003 15:07:55 -0500 > From: "Marc Powell" > To: , > > > This is a multi-part message in MIME format. > > ------_=_NextPart_001_01C305E6.33555E48 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > Yup. Verify that you don't have multiple copies of nagios running. > > > -- > Marc > > Sent from a very tiny wireless device with a very tiny unlit keyboard. > > > -----Original Message----- > From: Mitchell K. Smith > To: nagios-users at lists.sourceforge.net = > > Sent: Fri Apr 18 14:50:39 2003 > Subject: [Nagios-users] incredible disappearing host > > Greetings all. > I am running Nagios 1.0, RH Linux 7.3, Compaq DL360 1.2GHz > > Nagios has been working fine for quite a long while. Recently we added = > about 30 additional servers with two services each to monitor. There is = > a total of 62 hosts and 125 services being monitored. In addition, I am = > also running MRTG/RRDTool on the same machine and it's gathering data = > from something like 800-1000 interfaces. The systems is getting fairly = > busy. > > What happens is this. I added a new server and 3 services to be = > monitored. When I start Nagios, the new server will sometimes not appear = > on the hosts or services screen. Doing a view config > hosts it's = > definately there and is configured the same as many other servers. = > Restarting Nagios or refreshing the browser will sometimes bring it back = > but it will eventually disappear again. This happens from multiple = > browsers or clients. Has anyone seen anything like this before? > Weird. > > Thanks for the help. > > Mitchell K. Smith > > > Host definition: > # 'hpov00' host definition > define host{ > use generic-host > host_name hpov00 > alias HP OpenView server > address 172.31.9.50 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,u,r > } > > Service definitions: > # Service definition hpov00 - PING =20 > define service{ > use generic-service ; Name = > of service template to use > =20 > host_name hpov00 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 =20 > retry_check_interval 1 > contact_groups nt-admins > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command check_ping!200.0,20%!500.0,60% > } > =20 > # Service definition hpov00 - HP OpenView Process Manager > define service{ > use generic-service ; Name = > of service template to use > > host_name hpov00 > service_description HP OpenView Process Manager > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups nt-admins > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nt_service!"HP OpenView = > Process Manager" > } > > # Service definition hpov00 - SNMP EMANATE Master Agent > define service{ > use generic-service ; Name = > of service template to use > > host_name hpov00 > service_description SNMP EMANATE Master Agent > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups nt-admins > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nt_service!EMANATE > } > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when = > reporting any issue.=20 > ::: Messages without supporting info will risk being sent to /dev/null > > > ------_=_NextPart_001_01C305E6.33555E48 > Content-Type: text/html; > charset="us-ascii" > Content-Transfer-Encoding: quoted-printable > > > > > Re: [Nagios-users] incredible disappearing host > > > > >

Yup. Verify that you don't have multiple copies of = > nagios running.
>
>
> --
> Marc
>
> Sent from a very tiny wireless device with a very tiny unlit = > keyboard.
>
>
> -----Original Message-----
> From: Mitchell K. Smith <mksmith at pa.eplus.com>
> To: nagios-users at lists.sourceforge.net = > <nagios-users at lists.sourceforge.net>
> Sent: Fri Apr 18 14:50:39 2003
> Subject: [Nagios-users] incredible disappearing host
>
> Greetings all.
> I am running Nagios 1.0,  RH Linux 7.3, Compaq DL360 1.2GHz
>
> Nagios has been working fine for quite a long while. Recently we added = > about 30 additional servers with two services each to monitor. There is = > a total of 62 hosts and 125 services being monitored. In addition, I am = > also running MRTG/RRDTool on the same machine and it's gathering data = > from something like 800-1000 interfaces. The systems is getting fairly = > busy.
>
> What happens is this. I added a new server and 3 services to be = > monitored. When I start Nagios, the new server will sometimes not appear = > on the hosts or services screen. Doing a view config > hosts it's = > definately there and is configured the same as many other servers. = > Restarting Nagios or refreshing the browser will sometimes bring it back = > but it will eventually disappear again. This happens from multiple = > browsers or clients. Has anyone seen anything like this before?
> Weird.
>
> Thanks for the help.
>
> Mitchell K. Smith
>
>
> Host definition:
> # 'hpov00' host definition
> define host{
>         = > use           &nbs= > p;         generic-host
>         = > host_name          &nbs= > p;    hpov00
>         = > alias           &n= > bsp;       HP OpenView server
>         = > address           = >       172.31.9.50
>         = > check_command          = > check-host-alive
>         = > max_check_attempts      10
>         = > notification_interval   120
>         = > notification_period     24x7
>         = > notification_options    d,u,r
>         }
>
> Service definitions:
> # Service definition hpov00 - PING     
> define service{
>         = > use           &nbs= > p;            = > ;     = > generic-service         ; Name = > of service template to use
>        
>         = > host_name          &nbs= > p;            = > hpov00
>         = > service_description         = >     PING
>         = > is_volatile          &n= > bsp;          0
>         = > check_period          &= > nbsp;         24x7
>         = > max_check_attempts         &= > nbsp;    3
>         = > normal_check_interval        &nbs= > p;  5  
>         = > retry_check_interval         = > ;   1
>         = > contact_groups          = > ;        nt-admins
>         = > notification_interval        &nbs= > p;  240
>         = > notification_period         = >     24x7
>         = > notification_options         = > ;   w,u,c,r
>         = > check_command          = >          = > check_ping!200.0,20%!500.0,60%
>         }
>        
> # Service definition hpov00 - HP OpenView Process Manager
> define service{
>         = > use           &nbs= > p;            = > ;     = > generic-service         ; Name = > of service template to use
>
>         = > host_name          &nbs= > p;            = > hpov00
>         = > service_description         = >     HP OpenView Process Manager
>         = > is_volatile          &n= > bsp;          0
>         = > check_period          &= > nbsp;         24x7
>         = > max_check_attempts         &= > nbsp;    3
>         = > normal_check_interval        &nbs= > p;  5
>         = > retry_check_interval         = > ;   1
>         = > contact_groups          = > ;        nt-admins
>         = > notification_interval        &nbs= > p;  240
>         = > notification_period         = >     24x7
>         = > notification_options         = > ;   w,u,c,r
>         = > check_command          = >          = > check_nt_service!"HP OpenView Process Manager"
>         }
>
> # Service definition hpov00 - SNMP EMANATE Master Agent
> define service{
>         = > use           &nbs= > p;            = > ;     = > generic-service         ; Name = > of service template to use
>
>         = > host_name          &nbs= > p;            = > hpov00
>         = > service_description         = >     SNMP EMANATE Master Agent
>         = > is_volatile          &n= > bsp;          0
>         = > check_period          &= > nbsp;         24x7
>         = > max_check_attempts         &= > nbsp;    3
>         = > normal_check_interval        &nbs= > p;  5
>         = > retry_check_interval         = > ;   1
>         = > contact_groups          = > ;        nt-admins
>         = > notification_interval        &nbs= > p;  240
>         = > notification_period         = >     24x7
>         = > notification_options         = > ;   w,u,c,r
>         = > check_command          = >          = > check_nt_service!EMANATE
>         }
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> HREF=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users">https:= > //lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when = > reporting any issue.
> ::: Messages without supporting info will risk being sent to = > /dev/null
>
>

> > > > ------_=_NextPart_001_01C305E6.33555E48-- > > > > --__--__-- > > _______________________________________________ > 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arapoport at telepacific.com Sat Apr 19 20:51:20 2003 From: arapoport at telepacific.com (Asaf Rapoport) Date: Sat, 19 Apr 2003 11:51:20 -0700 Subject: Problems with Nagios Message-ID: Thanx. I found 3 processes running and once I killed them I noticed it was looking at a different config file, that file had a } yet nagios tried to start, I found it using the ./nagios -V option... Working great now! Only thing is it's not graphing anything and it shows status as undetermined in % -----Original Message----- From: stan at live2think.com To: Asaf Rapoport Cc: 'nagios-users at lists.sourceforge.net' Sent: 4/19/03 10:07 AM Subject: Re: [Nagios-users] Problems with Nagios change permissions on var to make it writable by the user running nagios. in my case: chown -R monitor.monitor /usr/local/nagios/var Stan Tichomirov -------------- next part -------------- An HTML attachment was scrubbed... URL: From nick at buraglio.com Sat Apr 19 22:06:12 2003 From: nick at buraglio.com (Nicholas D.Buraglio) Date: Sat, 19 Apr 2003 15:06:12 -0500 Subject: Nagios/Netsaint @ Symantec Security Center In-Reply-To: <3E1DF796.6724.3B960A@localhost> References: <3E1DF796.6724.3B960A@localhost> Message-ID: <5E986AA4-72A2-11D7-9A9A-000393B61F2E@buraglio.com> My old college roommate works there (Symantec security, formerly Riptech), they use nagios for a lot of stuff according to him. I could probably find out details it you want to know them. nb On Thursday, January 9, 2003, at 10:28 PM, Ethan Galstad wrote: > I was able to pause the video at the right moment. The services > summary portion of the screen only showed a total of about 1200 > services or so. > > On 9 Jan 2003 at 20:17, Jon Lyons wrote: > >> >> I tried to edit the image in photoshop to see how hosts they're >> monitoring, but no luck, maybe someone with better skills?... :) >> Ethan Galstad wrote: >> Nice. :-) The associated video shows a closeup clip of the Tac CGI >> for a second or so too. >> >> >> On 9 Jan 2003 at 17:20, Nicola Foggi wrote: >> >>> Hmm.... >>> >>> Look carefully at the picture of the control room of Symantec >> Security >>> Center... >>> >>> http://www.washingtonpost.com/wp-dyn/articles/A28625-2003Jan8.html >>> >>> Notice anything familiar running on one of the big monitors? >>> >>> Nicola Foggi >>> Networks and Telecom >>> DePaul University >>> >>> >>> >>> ------------------------------------------------------- >>> This SF.NET email is sponsored by: >>> SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! >>> http://www.vasoftware.com >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge. Yahoo! Mail Plus - Powerful. Affordable. >> Sign up now > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marlboro at warningg.com Sun Apr 20 01:42:13 2003 From: marlboro at warningg.com (Brandon Ewing) Date: Sat, 19 Apr 2003 18:42:13 -0500 Subject: New nagios user - I'm having problems Message-ID: <000401c306cd$4d9f3e50$a76d68c0@nicotine> Greetings, I'm having some issues configuring Nagios for the first time. I've been working off the config docoumentation and the sample files, and thought I had something that works put together. As an inital test, I setup one host (localhost), and one monitor (ping). I was able to start nagios successfully, and log into the web frontend. However, no matter what I do, it never lists the one monitor I have setup as anything other than failed. monitor PING UNKNOWN 04-19-2003 18:34:55 0d 0h 1m 53s 1/3 /bin/ping -n -U -c 5 127.0.0.1 I've even ran the ping command it says its executing - it works fine. I've ran the actual monitor script from the command line, libexec/check_ping -H 127.0.0.1 -w 100.0,20% -c 500.0,60% PING OK - Packet loss = 0%, RTA = 0.10 ms I've confirmed that the checkcommands.cfg is setup correctly, and that the correct variables in correct order are being passed by the services.cfg file. in services.cfg: check_command check_ping!100.0,20%!500.0,60% in checkcommand.cfg: command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 Also, I've confirmed that $USER1$ is defined in resources.cfg, and resources.cfg is being loaded by nagios.cfg $USER1$=/usr/local/nagios/libexec What gives? Am I missing something? ------------- Regards, Brandon Ewing ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Sun Apr 20 02:51:24 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sat, 19 Apr 2003 20:51:24 -0400 (EDT) Subject: Nagios on FreeBSD In-Reply-To: <8B90C04B638E1B4DB4A3FC85E35198D30164CBBE@FSARXN03> References: <8B90C04B638E1B4DB4A3FC85E35198D30164CBBE@FSARXN03> Message-ID: On Sat, 19 Apr 2003, Crow Lee Contr 379 ECS wrote: > Hi all, > > I installed nagios about a week ago. I just got the config files right to > where when I run the check on them I get zero errors. Whoopie! > > Anyway, I can get to my nagios web site and view all of the documentation. > However, when I try to click on any of the cgi links I get a 404 error. I > set up the authentication for the cgi scripts and I am logged in as > nagiosadmin. Here is my setup. > > OS: FreeBSD > Nagios installed from port with all required software > 2 drwxrwxr-x 2 nagios nagios 512 Apr 15 10:59 cgi-bin > In my httpd.conf file I have: > > ScriptAlias /nagios/cgi-bin /usr/local/share/nagios/cgi-bin > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > > Alias /nagios /usr/local/share/nagios/ > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > Does anyone know what I am doing wrong? Any help would be greatly > appreciated! > > Thanks, > > Lee Crow > Sr. LAN/WAN Administrator > ITT Systems Division Do the apache logs provide any hints? -sg -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mylists at ame.de Sun Apr 20 10:16:21 2003 From: mylists at ame.de (Matthias Eichler) Date: 20 Apr 2003 10:16:21 +0200 Subject: perfdata output of Nagios Plugins 1.3.0 Message-ID: <1050826581.1090.6.camel@blindzero> Hi Everybody, some easy question for which I did not find any specific answer in the docs, but Ethan's note that a lot of the Plugins does not support the performance data output yet. Does anybody can say which plugins of 1.3.0 support this output already? I've tested it and it seems that only the check_http plugin supports the performance data output... Is that right or am I just too stupid?!? Does anybody knows which plugins support it or which of them will support it soon?!? Thanks, Matthias Eichler -- Matthias Eichler AME Aigner Media & Entertainment ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Sun Apr 20 15:35:38 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sun, 20 Apr 2003 09:35:38 -0400 (EDT) Subject: [Nagiosplug-help] perfdata output of Nagios Plugins 1.3.0 In-Reply-To: <1050826581.1090.6.camel@blindzero> References: <1050826581.1090.6.camel@blindzero> Message-ID: On 20 Apr 2003, Matthias Eichler wrote: > Hi Everybody, > > some easy question for which I did not find any specific > answer in the docs, but Ethan's note that a lot of the > Plugins does not support the performance data output yet. > > Does anybody can say which plugins of 1.3.0 support this > output already? I've tested it and it seems that only the > check_http plugin supports the performance data output... > > Is that right or am I just too stupid?!? > Does anybody knows which plugins support it or which of > them will support it soon?!? > > Thanks, > > Matthias Eichler > > One of the goals for 1.4 is to provide perfdata support. mailq already has it. ping has patch on SF that needs testing fping needs a similar patch ifstatus is almost there disk has been completely re-written so exiting patch won't work. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Sun Apr 20 16:47:43 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Sun, 20 Apr 2003 22:47:43 +0800 Subject: Fwd: Re: Fwd: Re: [Nagiosplug-help] Plugin help and needed! Message-ID: <200304202247.48219.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I still having problems in using the negate script it says to come with a wrapped plugin. its this how execute it? ./negate "check_tcp -H x.x.x.x -p 80"? the help does not reveal much about how to use it. And, I am not very familiar with C language for the source code to see how it works. - -- Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+orMTNgvTa7Hj2AURAmT2AKConkj3OzeYrnJTYzJqjihkH82dOQCgt20I W8UlsMkBfy2oxI2l9eI9M2U= =B5PJ -----END PGP SIGNATURE----- -------------- next part -------------- An embedded message was scrubbed... From: "Johannes Dagemark" Subject: Re: [Nagios-users] Fwd: Re: [Nagiosplug-help] Plugin help and needed! Date: Thu, 17 Apr 2003 08:00:28 +0200 Size: 2202 URL: From Lee.Crow at auab.aorcentaf.af.mil Sun Apr 20 16:49:51 2003 From: Lee.Crow at auab.aorcentaf.af.mil (Crow Lee Contr 379 ECS) Date: Sun, 20 Apr 2003 14:49:51 -0000 Subject: Nagios on FreeBSD Message-ID: <8B90C04B638E1B4DB4A3FC85E35198D30164CCA0@FSARXN03> Ok... I looked in the httpd-error.log file and it doesn't look right. Here is one of the entries: script not found or unable to stat: /usr/local/share/nagios/cgi-bintac.cgi This isn't a typo... there is no "/" between cgi-bin and the script to indicate that the script is in the cgi-bin directory. However, the URL on the website looks correct: http://xxx.xx.xxx.141/nagios/cgi-bin/tac.cgi And here is how my httpd.conf file looks from a nagios standpoint. ScriptAlias /nagios/cgi-bin/ /usr/local/share/nagios/cgi-bin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios /usr/local/share/nagios/ Options None AllowOverride AuthConfig Order allow,deny Allow from all Thanks! Lee Crow Sr. LAN/WAN Administrator ITT Systems Division --------------------------- Cell: +974-556-3127 DSN: 318-471-2074 Lee.Crow at auab.aorcentaf.af.mil -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Sunday, April 20, 2003 3:51 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios on FreeBSD On Sat, 19 Apr 2003, Crow Lee Contr 379 ECS wrote: > Hi all, > > I installed nagios about a week ago. I just got the config files right to > where when I run the check on them I get zero errors. Whoopie! > > Anyway, I can get to my nagios web site and view all of the documentation. > However, when I try to click on any of the cgi links I get a 404 error. I > set up the authentication for the cgi scripts and I am logged in as > nagiosadmin. Here is my setup. > > OS: FreeBSD > Nagios installed from port with all required software > 2 drwxrwxr-x 2 nagios nagios 512 Apr 15 10:59 cgi-bin > In my httpd.conf file I have: > > ScriptAlias /nagios/cgi-bin /usr/local/share/nagios/cgi-bin > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > > Alias /nagios /usr/local/share/nagios/ > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > Does anyone know what I am doing wrong? Any help would be greatly > appreciated! > > Thanks, > > Lee Crow > Sr. LAN/WAN Administrator > ITT Systems Division Do the apache logs provide any hints? -sg -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandromergvaz at uol.com.br Sun Apr 20 18:41:24 2003 From: sandromergvaz at uol.com.br (Sandro Vaz (UOL)) Date: Sun, 20 Apr 2003 13:41:24 -0300 Subject: RES: Re: Fwd: Re: [Nagiosplug-help] Plugin help and needed! In-Reply-To: <200304202247.48219.jasmine.chua@securecirt.com> References: <200304202247.48219.jasmine.chua@securecirt.com> Message-ID: Looking at the previous e-mail, I believe it?s... ./negate "./check_tcp -H -p " HTH, SMV -----Mensagem original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Jasmine Enviada em: domingo, 20 de abril de 2003 11:48 Para: nagios-users at lists.sourceforge.net Assunto: Fwd: Re: [Nagios-users] Fwd: Re: [Nagiosplug-help] Plugin help and needed! -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I still having problems in using the negate script it says to come with a wrapped plugin. its this how execute it? ./negate "check_tcp -H x.x.x.x -p 80"? the help does not reveal much about how to use it. And, I am not very familiar with C language for the source code to see how it works. - -- Jasmine Chua -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+orMTNgvTa7Hj2AURAmT2AKConkj3OzeYrnJTYzJqjihkH82dOQCgt20I W8UlsMkBfy2oxI2l9eI9M2U= =B5PJ -----END PGP SIGNATURE----- --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.474 / Virus Database: 272 - Release Date: 18/4/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.474 / Virus Database: 272 - Release Date: 18/4/2003 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Sun Apr 20 19:15:45 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Mon, 21 Apr 2003 01:15:45 +0800 Subject: Fwd: RES: Re: Fwd: Re: [Nagiosplug-help] Plugin help and needed! In-Reply-To: References: Message-ID: <200304210115.47456.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi I have tried that, but nothing happens. So i did an strace and this is how it looks like. $ strace ./negate "./check_tcp -H x.x.x.x -p 80" execve("./negate", ["./negate", "./check_tcp -H x.x.x.x -p 80"], [/* 28 vars */]) = 0 strace: exec: Exec format error On Monday 21 April 2003 00:41, you wrote: > Looking at the previous e-mail, I believe it?s... > > ./negate "./check_tcp -H -p " > > HTH, > > SMV > > -----Mensagem original----- > De: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Jasmine > Enviada em: domingo, 20 de abril de 2003 11:48 > Para: nagios-users at lists.sourceforge.net > Assunto: Fwd: Re: [Nagios-users] Fwd: Re: [Nagiosplug-help] Plugin help and > needed! > > > I still having problems in using the negate script it says to come with a > wrapped plugin. > > its this how execute it? > ./negate "check_tcp -H x.x.x.x -p 80"? > > the help does not reveal much about how to use it. And, I am not very > familiar > with C language for the source code to see how it works. - -- Jasmine Chua Security Engineer SecureCiRT Pte Ltd Blk 750C Chai Chee Road #04-01 Technopark at ChaiChee Singapore 469003 Tel: 6243 6800 DID: 6243 6802 Fax: 6441 5119 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+otXBNgvTa7Hj2AURAiMJAJ480TDTezjjX7n6OLdJNIwJ38RwqQCgqQiN 3OXqMAstQfZxD9bBATgde04= =I1eg -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mylists at ame.de Sun Apr 20 20:24:12 2003 From: mylists at ame.de (Matthias Eichler) Date: 20 Apr 2003 20:24:12 +0200 Subject: [Nagiosplug-help] perfdata output of Nagios Plugins 1.3.0 In-Reply-To: References: Message-ID: <1050863051.1765.1.camel@blindzero> Hi, so do you have some informations about snmp? what is the timeframe for 1.4? maybe we can provide some patches for perfdata support, because we have some customer who wants to process the perfdata but does not want to use APAN...:-/ Thanks, Matthias On Sun, 2003-04-20 at 15:35, Subhendu Ghosh wrote: > On 20 Apr 2003, Matthias Eichler wrote: > > > Hi Everybody, > > > > some easy question for which I did not find any specific > > answer in the docs, but Ethan's note that a lot of the > > Plugins does not support the performance data output yet. > > > > Does anybody can say which plugins of 1.3.0 support this > > output already? I've tested it and it seems that only the > > check_http plugin supports the performance data output... > > > > Is that right or am I just too stupid?!? > > Does anybody knows which plugins support it or which of > > them will support it soon?!? > > > > Thanks, > > > > Matthias Eichler > > > > > > One of the goals for 1.4 is to provide perfdata support. > > mailq already has it. > ping has patch on SF that needs testing > fping needs a similar patch > ifstatus is almost there > disk has been completely re-written so exiting patch won't work. -- Matthias Eichler AME Aigner Media & Entertainment ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandromergvaz at uol.com.br Sun Apr 20 21:59:00 2003 From: sandromergvaz at uol.com.br (Sandro Vaz (UOL)) Date: Sun, 20 Apr 2003 16:59:00 -0300 Subject: RES: RES: Re: Fwd: Re: [Nagiosplug-help] Plugin help and needed! In-Reply-To: <200304210115.47456.jasmine.chua@securecirt.com> References: <200304210115.47456.jasmine.chua@securecirt.com> Message-ID: Jasmine. Yeah, there?s a problem. In my checkcommands I?ve put: define command{ command_name check_port_closed command_line $USER1$/negate "$USER1$/check_tcp -H $HOSTADDRESS$ -p 81" } And the at Nagios interface we have a critical, where we should have an OK state, because the host has no 81 port open. Can someone help? TIA, SMV -----Mensagem original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Jasmine Enviada em: domingo, 20 de abril de 2003 14:16 Para: Sandro Vaz (UOL); nagios-users at lists.sourceforge.net Assunto: Fwd: RES: Re: [Nagios-users] Fwd: Re: [Nagiosplug-help] Plugin help and needed! -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi I have tried that, but nothing happens. So i did an strace and this is how it looks like. $ strace ./negate "./check_tcp -H x.x.x.x -p 80" execve("./negate", ["./negate", "./check_tcp -H x.x.x.x -p 80"], [/* 28 vars */]) = 0 strace: exec: Exec format error On Monday 21 April 2003 00:41, you wrote: > Looking at the previous e-mail, I believe it?s... > > ./negate "./check_tcp -H -p " > > HTH, > > SMV > > -----Mensagem original----- > De: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Jasmine > Enviada em: domingo, 20 de abril de 2003 11:48 > Para: nagios-users at lists.sourceforge.net > Assunto: Fwd: Re: [Nagios-users] Fwd: Re: [Nagiosplug-help] Plugin > help and needed! > > > I still having problems in using the negate script it says to come > with a wrapped plugin. > > its this how execute it? > ./negate "check_tcp -H x.x.x.x -p 80"? > > the help does not reveal much about how to use it. And, I am not very > familiar with C language for the source code to see how it works. - -- Jasmine Chua Security Engineer SecureCiRT Pte Ltd Blk 750C Chai Chee Road #04-01 Technopark at ChaiChee Singapore 469003 Tel: 6243 6800 DID: 6243 6802 Fax: 6441 5119 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+otXBNgvTa7Hj2AURAiMJAJ480TDTezjjX7n6OLdJNIwJ38RwqQCgqQiN 3OXqMAstQfZxD9bBATgde04= =I1eg -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.474 / Virus Database: 272 - Release Date: 18/4/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.474 / Virus Database: 272 - Release Date: 18/4/2003 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bakkerl at lamp.xs4all.nl Sun Apr 20 22:46:45 2003 From: bakkerl at lamp.xs4all.nl (Lennard Bakker) Date: 20 Apr 2003 22:46:45 +0200 Subject: nrpe 2.0b3 compile problems Message-ID: <1050871603.26875.12.camel@peitha> nrpe confiured with: ./configure --prefix=/home/nagios --enable-ssl --with-nrpe-user=nagios --with-nrpe-group=nagios --enable-command-args This is error free Then when running: make all It results in: cd ./src/; make ; cd .. make[1]: Entering directory `/root/install/nrpe-2.0b3/src' gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/kerberos/include -DHAVE_CONFIG_H -L/usr/local/ssl/lib -lssl -lcrypto -o nrpe -lnsl nrpe.c utils.c /tmp/ccfuyxW2.o: In function `get_dh512': /root/install/nrpe-2.0b3/src/dh.h:19: undefined reference to `DH_new' /root/install/nrpe-2.0b3/src/dh.h:20: undefined reference to `BN_bin2bn' /root/install/nrpe-2.0b3/src/dh.h:21: undefined reference to `BN_bin2bn' /root/install/nrpe-2.0b3/src/dh.h:23: undefined reference to `DH_free' /tmp/ccfuyxW2.o: In function `main': /root/install/nrpe-2.0b3/src/nrpe.c:252: undefined reference to `SSL_CTX_free' /root/install/nrpe-2.0b3/src/nrpe.c:188: undefined reference to `SSL_library_init' /root/install/nrpe-2.0b3/src/nrpe.c:189: undefined reference to `SSL_library_init' /root/install/nrpe-2.0b3/src/nrpe.c:190: undefined reference to `SSLv23_server_method' /root/install/nrpe-2.0b3/src/nrpe.c:191: undefined reference to `SSL_load_error_strings' /root/install/nrpe-2.0b3/src/nrpe.c:192: undefined reference to `SSL_CTX_new' /root/install/nrpe-2.0b3/src/nrpe.c:197: undefined reference to `SSL_CTX_set_cipher_list' /root/install/nrpe-2.0b3/src/nrpe.c:199: undefined reference to `SSL_CTX_ctrl' /root/install/nrpe-2.0b3/src/nrpe.c:200: undefined reference to `DH_free' /tmp/ccfuyxW2.o: In function `handle_connection': /root/install/nrpe-2.0b3/src/nrpe.c:779: undefined reference to `SSL_shutdown' /root/install/nrpe-2.0b3/src/nrpe.c:810: undefined reference to `SSL_free' /root/install/nrpe-2.0b3/src/nrpe.c:930: undefined reference to `SSL_shutdown' /root/install/nrpe-2.0b3/src/nrpe.c:931: undefined reference to `SSL_free' /root/install/nrpe-2.0b3/src/nrpe.c:926: undefined reference to `SSL_write' /root/install/nrpe-2.0b3/src/nrpe.c:764: undefined reference to `SSL_shutdown' /root/install/nrpe-2.0b3/src/nrpe.c:765: undefined reference to `SSL_free' /root/install/nrpe-2.0b3/src/nrpe.c:754: undefined reference to `SSL_read' /root/install/nrpe-2.0b3/src/nrpe.c:725: undefined reference to `SSL_new' /root/install/nrpe-2.0b3/src/nrpe.c:726: undefined reference to `SSL_set_fd' /root/install/nrpe-2.0b3/src/nrpe.c:727: undefined reference to `SSL_accept' /root/install/nrpe-2.0b3/src/nrpe.c:728: undefined reference to `SSL_get_error' collect2: ld returned 1 exit status make[1]: *** [nrpe] Error 1 make[1]: Leaving directory `/root/install/nrpe-2.0b3/src' *** Compile finished *** Can anybody give me some clue on compiling nrpe2? Lennard Bakker ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Apr 21 07:23:13 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 21 Apr 2003 01:23:13 -0400 Subject: RES: RES: Re: Fwd: Re: [Nagiosplug-help] Plugin help and needed! In-Reply-To: References: Message-ID: <1050902592.13124.2.camel@miles.debisschop.net> On Sun, 2003-04-20 at 15:59, Sandro Vaz (UOL) wrote: > Jasmine. > > Yeah, there?s a problem. In my checkcommands I?ve put: > > define command{ > command_name check_port_closed > command_line $USER1$/negate "$USER1$/check_tcp -H $HOSTADDRESS$ > -p 81" > } > > And the at Nagios interface we have a critical, where we should have an OK > state, because the host has no 81 port open. > > Can someone help? Use single quotes: USER1$/negate '$USER1$/check_tcp -H $HOSTADDRESS$ -p 81' Actually, the intent was mo quotes were needed at all, but some released versions do no require POSIX ordering of options, so the above should be more reliable (since as far as I can tell, not one of you thought to mention what version you were using) -- Karl > TIA, > > SMV > > -----Mensagem original----- > De: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Jasmine > Enviada em: domingo, 20 de abril de 2003 14:16 > Para: Sandro Vaz (UOL); nagios-users at lists.sourceforge.net > Assunto: Fwd: RES: Re: [Nagios-users] Fwd: Re: [Nagiosplug-help] Plugin help > and needed! > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > I have tried that, but nothing happens. So i did an strace and this is how > it > looks like. > > $ strace ./negate "./check_tcp -H x.x.x.x -p 80" execve("./negate", > ["./negate", "./check_tcp -H x.x.x.x -p 80"], [/* 28 vars > */]) = 0 > strace: exec: Exec format error > > > On Monday 21 April 2003 00:41, you wrote: > > Looking at the previous e-mail, I believe it?s... > > > > ./negate "./check_tcp -H -p " > > > > HTH, > > > > SMV > > > > -----Mensagem original----- > > De: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Jasmine > > Enviada em: domingo, 20 de abril de 2003 11:48 > > Para: nagios-users at lists.sourceforge.net > > Assunto: Fwd: Re: [Nagios-users] Fwd: Re: [Nagiosplug-help] Plugin > > help and needed! > > > > > > I still having problems in using the negate script it says to come > > with a wrapped plugin. > > > > its this how execute it? > > ./negate "check_tcp -H x.x.x.x -p 80"? > > > > the help does not reveal much about how to use it. And, I am not very > > familiar with C language for the source code to see how it works. > > - -- > Jasmine Chua > Security Engineer > > SecureCiRT Pte Ltd > Blk 750C Chai Chee Road > #04-01 Technopark at ChaiChee > Singapore 469003 > Tel: 6243 6800 DID: 6243 6802 > Fax: 6441 5119 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (GNU/Linux) > > iD8DBQE+otXBNgvTa7Hj2AURAiMJAJ480TDTezjjX7n6OLdJNIwJ38RwqQCgqQiN > 3OXqMAstQfZxD9bBATgde04= > =I1eg > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.474 / Virus Database: 272 - Release Date: 18/4/2003 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.474 / Virus Database: 272 - Release Date: 18/4/2003 > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mbailey at empoweredsystems.com Thu Apr 17 08:47:27 2003 From: mbailey at empoweredsystems.com (Michael Bailey) Date: Thu, 17 Apr 2003 06:47:27 +0000 Subject: what is interval between check attempts? Message-ID: <20030417064727.A2023@empoweredsystems.com> Hi, in my hosts.cfg I have: max_check_attempts 10 check_command check-host-alive If nagios is unable to ping the host, what determines the interval between the 10 check attempts? I am wondering how long a host needs to be 'down' before I get an alert. thanks, Mike ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Mon Apr 21 11:04:27 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Mon, 21 Apr 2003 21:04:27 +1200 Subject: check_by_ssh problems In-Reply-To: <1050902592.13124.2.camel@miles.debisschop.net> References: <1050902592.13124.2.camel@miles.debisschop.net> Message-ID: <200304210903.h3L93jP08904@spectre.freeparking.co.nz> Hi, I running nagios on debian box. I'm successfully doing check_by_ssh from the prompt i.e: /usr/lib/netsaint/plugins/check_by_ssh -H foo.bar -P 22 -l noc -C '/usr/lib/netsaint/plugins/check_procs -a openam -c 7:' It returns the correct result. However whenever I run this from nagios, I'm getting an "Unknown" with status information only saying "Usage:" I suspect it is because nagios runs check_by_ssh as nagios, and I'm doing my testing (at prompt) from root. The easy fix is to su to nagios and run ssh-keygen again and redistribute the keys. The problem is the system won't let me su nagios. Not only this, but there is no home directory for nagios. If I can't su nagios, I can't ssh-keygen. So I'm stuck. Has anyone else come across this? What is the solution? Help. Jamie ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Mon Apr 21 12:29:27 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Mon, 21 Apr 2003 22:29:27 +1200 Subject: check_by_ssh problems In-Reply-To: <200304210903.h3L93jP08904@spectre.freeparking.co.nz> References: <1050902592.13124.2.camel@miles.debisschop.net> <200304210903.h3L93jP08904@spectre.freeparking.co.nz> Message-ID: <200304211028.h3LASiP13412@spectre.freeparking.co.nz> Forget this. I managed to do the su nagios stuff. It actually turned out to be a service alias problem. cheers jamie On Mon, 21 Apr 2003 21:04, Jamie Baddeley wrote: > Hi, > > I running nagios on debian box. > > I'm successfully doing check_by_ssh from the prompt i.e: > > /usr/lib/netsaint/plugins/check_by_ssh -H foo.bar -P 22 -l noc -C > '/usr/lib/netsaint/plugins/check_procs -a openam -c 7:' > > It returns the correct result. > > However whenever I run this from nagios, I'm getting an "Unknown" with > status information only saying "Usage:" > > I suspect it is because nagios runs check_by_ssh as nagios, and I'm doing > my testing (at prompt) from root. > > The easy fix is to su to nagios and run ssh-keygen again and redistribute > the keys. > > The problem is the system won't let me su nagios. Not only this, but there > is no home directory for nagios. If I can't su nagios, I can't ssh-keygen. > So I'm stuck. > > Has anyone else come across this? What is the solution? > > Help. > > Jamie > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandromergvaz at uol.com.br Mon Apr 21 15:41:20 2003 From: sandromergvaz at uol.com.br (Sandro Vaz (UOL)) Date: Mon, 21 Apr 2003 10:41:20 -0300 Subject: RES: RES: RES: Re: Fwd: Re: [Nagiosplug-help] Pluginhelp and needed! In-Reply-To: <1050902592.13124.2.camel@miles.debisschop.net> References: <1050902592.13124.2.camel@miles.debisschop.net> Message-ID: Still not working in my Red Hat 7.2... define command{ command_name check_http_closed command_line $USER1$/negate '$USER1$/check_tcp -H $HOSTADDRESS$ -p 81' } Plugin versions are 1.3.0... negate (nagios-plugins 1.3.0) 1.5 check_tcp (nagios-plugins 1.3.0) 1.13 Thanks anyway, SMV -----Mensagem original----- De: Karl DeBisschop [mailto:karl at debisschop.net] Enviada em: segunda-feira, 21 de abril de 2003 02:23 Para: Sandro Vaz (UOL) Cc: 'Jasmine'; Nagios Users Assunto: Re: RES: RES: Re: [Nagios-users] Fwd: Re: [Nagiosplug-help] Pluginhelp and needed! On Sun, 2003-04-20 at 15:59, Sandro Vaz (UOL) wrote: > Jasmine. > > Yeah, there?s a problem. In my checkcommands I?ve put: > > define command{ > command_name check_port_closed > command_line $USER1$/negate "$USER1$/check_tcp -H $HOSTADDRESS$ > -p 81" > } > > And the at Nagios interface we have a critical, where we should have > an OK state, because the host has no 81 port open. > > Can someone help? Use single quotes: USER1$/negate '$USER1$/check_tcp -H $HOSTADDRESS$ -p 81' Actually, the intent was mo quotes were needed at all, but some released versions do no require POSIX ordering of options, so the above should be more reliable (since as far as I can tell, not one of you thought to mention what version you were using) -- Karl > TIA, > > SMV > > -----Mensagem original----- > De: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Jasmine > Enviada em: domingo, 20 de abril de 2003 14:16 > Para: Sandro Vaz (UOL); nagios-users at lists.sourceforge.net > Assunto: Fwd: RES: Re: [Nagios-users] Fwd: Re: [Nagiosplug-help] > Plugin help and needed! > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > I have tried that, but nothing happens. So i did an strace and this is > how it looks like. > > $ strace ./negate "./check_tcp -H x.x.x.x -p 80" execve("./negate", > ["./negate", "./check_tcp -H x.x.x.x -p 80"], [/* 28 vars > */]) = 0 > strace: exec: Exec format error > > > On Monday 21 April 2003 00:41, you wrote: > > Looking at the previous e-mail, I believe it?s... > > > > ./negate "./check_tcp -H -p " > > > > HTH, > > > > SMV > > > > -----Mensagem original----- > > De: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Jasmine > > Enviada em: domingo, 20 de abril de 2003 11:48 > > Para: nagios-users at lists.sourceforge.net > > Assunto: Fwd: Re: [Nagios-users] Fwd: Re: [Nagiosplug-help] Plugin > > help and needed! > > > > > > I still having problems in using the negate script it says to come > > with a wrapped plugin. > > > > its this how execute it? > > ./negate "check_tcp -H x.x.x.x -p 80"? > > > > the help does not reveal much about how to use it. And, I am not > > very > > familiar with C language for the source code to see how it works. > > - -- > Jasmine Chua > Security Engineer > > SecureCiRT Pte Ltd > Blk 750C Chai Chee Road > #04-01 Technopark at ChaiChee > Singapore 469003 > Tel: 6243 6800 DID: 6243 6802 > Fax: 6441 5119 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (GNU/Linux) > > iD8DBQE+otXBNgvTa7Hj2AURAiMJAJ480TDTezjjX7n6OLdJNIwJ38RwqQCgqQiN > 3OXqMAstQfZxD9bBATgde04= > =I1eg > -----END PGP SIGNATURE----- > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.474 / Virus Database: 272 - Release Date: 18/4/2003 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.474 / Virus Database: 272 - Release Date: 18/4/2003 > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.474 / Virus Database: 272 - Release Date: 18/4/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.474 / Virus Database: 272 - Release Date: 18/4/2003 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at skynetweb.com Mon Apr 21 15:51:41 2003 From: jason at skynetweb.com (Jason Lancaster) Date: Mon, 21 Apr 2003 09:51:41 -0400 Subject: Can't use bang (!) as string in services.cfg check_command declaration Message-ID: <00dc01c3080d$236c19f0$f805ff0a@tekniq> I seriously apologize if this went through the first time I sent this. I received a "returned mail" message saying it didn't... In my service definition file, I need to define a check_command that looks something like this: check_command check_http!-S -u /post.html -P username=abc&password=!ab2!)z! -s status The problem with this is the password has bang's (!) and Nagios translates these into arguments when it executes the check_http command. I don't want the above line to be split into multiple arguments. It should be a single argument passed to the check command check_http. There needs to be a way to designate text passed through service definitions as a string or to somehow cancel out the !'s. I've tried backslashes, double !'s, double quotes, single quotes, and everything else I could think of. I think nagios is hard-coded to see any ! in a object configuration file as a special character. This is bad! Does anyone know a way around this other than defining a new check command for this service? Thanks! Jason Lancaster ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Mon Apr 21 16:03:07 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Mon, 21 Apr 2003 22:03:07 +0800 Subject: nagios.lock help. Message-ID: <200304212203.12370.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi trying to search for past events regarding this problem but seems that the sourgeforge site is busy have probs accessing the mailing list. Anyway, can someone explain this to me? I did some amendments and when i restarted nagios it keeps complaining this error. I tried to remove the nagios.lock file, and restart nagios.. but it doesnt help. I even changed the permissions to user and grp 'nagios' as by default its created as root. What's going on here? [1050933066] Lockfile '/var/nagios/nagios.lock' is held by PID 0. Bailing out... [1050933067] Nagios 1.0 starting... (PID=8442) [1050933067] Lockfile '/var/nagios/nagios.lock' is held by PID 0. Bailing out... [1050933068] Nagios 1.0 starting... (PID=8447) [1050933068] Lockfile '/var/nagios/nagios.lock' is held by PID 0. Bailing out... [1050933069] Nagios 1.0 starting... (PID=8452) [1050933069] Lockfile '/var/nagios/nagios.lock' is held by PID 0. Bailing out... [1050933070] Nagios 1.0 starting... (PID=8473) Jasmine Chua "Without change, something sleeps inside us, and seldom awakens. The sleeper must awaken." -- Duke Leto Atreides -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+o/ofNgvTa7Hj2AURAqPwAJ9K3Mni+V7pzI4lvFp1Rzba9nH/IgCgkaZm dlctqvEjihJBtFN0L+KmH2I= =onrQ -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Mon Apr 21 16:00:42 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 21 Apr 2003 10:00:42 -0400 (EDT) Subject: [Nagiosplug-help] perfdata output of Nagios Plugins 1.3.0 In-Reply-To: <1050863051.1765.1.camel@blindzero> References: <1050863051.1765.1.camel@blindzero> Message-ID: snmp is tricky because you can use it for different things. patches are always accepted. Another thing on the agenda is a re-write of check_snmp to get around the eight oid limit. -sg On 20 Apr 2003, Matthias Eichler wrote: > Hi, > > so do you have some informations about snmp? > what is the timeframe for 1.4? > maybe we can provide some patches for perfdata support, because > we have some customer who wants to process the perfdata but does > not want to use APAN...:-/ > > Thanks, > > Matthias > > On Sun, 2003-04-20 at 15:35, Subhendu Ghosh wrote: > > On 20 Apr 2003, Matthias Eichler wrote: > > > > > Hi Everybody, > > > > > > some easy question for which I did not find any specific > > > answer in the docs, but Ethan's note that a lot of the > > > Plugins does not support the performance data output yet. > > > > > > Does anybody can say which plugins of 1.3.0 support this > > > output already? I've tested it and it seems that only the > > > check_http plugin supports the performance data output... > > > > > > Is that right or am I just too stupid?!? > > > Does anybody knows which plugins support it or which of > > > them will support it soon?!? > > > > > > Thanks, > > > > > > Matthias Eichler > > > > > > > > > > One of the goals for 1.4 is to provide perfdata support. > > > > mailq already has it. > > ping has patch on SF that needs testing > > fping needs a similar patch > > ifstatus is almost there > > disk has been completely re-written so exiting patch won't work. > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at feedroom.com Mon Apr 21 16:34:18 2003 From: David at feedroom.com (David Gitman) Date: Mon, 21 Apr 2003 10:34:18 -0400 Subject: NTray Status Message-ID: I've configured NTray, but I still see the unknown icon. Rolling over NTray displays Status: no extended status available at this time. What am I missing? Thanks, David Gitman -------------- next part -------------- An HTML attachment was scrubbed... URL: From David at feedroom.com Mon Apr 21 16:49:25 2003 From: David at feedroom.com (David Gitman) Date: Mon, 21 Apr 2003 10:49:25 -0400 Subject: check_traffic and RRD Message-ID: Where is the check_traffic plug-in? I don't see it in libexec. [-d] _____ From: Michael S. Kazmier [mailto:mkazmier at sofast.net] Sent: Friday, April 18, 2003 5:24 PM To: nagios-users at lists.sourceforge.net Hello all, I have spent the last week or so playing with the check_traffic plugin and reading the archives. I realize there are some bugs in the make-config script and what not, I got most of that figured out. What I haven't been able to master is the RRD files. I have utilized rrdtool with the proper syntax to create the RRD files. I went through the services.cfg to ensure I had the proper argument for check_traffic to update the RRD files in the db directory, I checked the check_traffic script and all syntax appears correct for the rrdtool update command. I checked the permissions in the db directory and files, all looks good there (heck, I even set them to world writeable). After all that, my RRD files are still not getting updates although the check_traffic appears to running without problem or error. Any thoughts? I am not seeing any errors, but not totally sure where to look to find them... any pointers would be helpful. Thanks, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmourati at cm.math.uiuc.edu Mon Apr 21 17:51:24 2003 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Mon, 21 Apr 2003 10:51:24 -0500 (CDT) Subject: check_by_ssh problems In-Reply-To: <200304210903.h3L93jP08904@spectre.freeparking.co.nz> References: <200304210903.h3L93jP08904@spectre.freeparking.co.nz> Message-ID: On Mon, 21 Apr 2003, Jamie Baddeley wrote: > Hi, > > I running nagios on debian box. > > I'm successfully doing check_by_ssh from the prompt i.e: > > /usr/lib/netsaint/plugins/check_by_ssh -H foo.bar -P 22 -l noc -C > '/usr/lib/netsaint/plugins/check_procs -a openam -c 7:' > > It returns the correct result. > > However whenever I run this from nagios, I'm getting an "Unknown" with status > information only saying "Usage:" > > I suspect it is because nagios runs check_by_ssh as nagios, and I'm doing my > testing (at prompt) from root. > Yup. You should already have a nagios user on both your nagios box plus any hosts you want to check_by_ssh to. I would start by grepping your /etc/password file for the nagios user and looking through the ps output to see which user is running all your status checks. Then do an ssh-keygen on your nagios box and publish the public key in all your remote hosts. Also, make sure to copy all the nagios plugins to the remote hosts as well. >From there, you were on the right track. You want to su to nagios, then run the check from that account. Hope that helps. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Mon Apr 21 18:29:30 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Mon, 21 Apr 2003 12:29:30 -0400 Subject: Can't use bang (!) as string in services.cfg check_command declaration References: <00dc01c3080d$236c19f0$f805ff0a@tekniq> Message-ID: <01a401c30823$2f250a20$f805ff0a@tekniq> In case anyone runs into a similar problem, a friend mentioned how I might be able to use url encoding to pass the required character for this. I ran over to http://www.ascii.cl/htmlcodes.htm and ! is 21, so a simple change to the command to read: check_command check_http!-S -u /post.html -P username=abc&password=%21ab2%21)z%21 -s status WORKS! :) Thanks for the input from everyone. -Jason ----- Original Message ----- From: "Jason Lancaster" To: Sent: Monday, April 21, 2003 9:51 Subject: [Nagios-users] Can't use bang (!) as string in services.cfg check_command declaration > I seriously apologize if this went through the first time I sent this. I > received a "returned mail" message saying it didn't... > > In my service definition file, I need to define a check_command that looks > something like this: > > check_command check_http!-S -u /post.html -P > username=abc&password=!ab2!)z! -s status > > The problem with this is the password has bang's (!) and Nagios translates > these into arguments when it executes the check_http command. I don't want > the above line to be split into multiple arguments. It should be a single > argument passed to the check command check_http. > > There needs to be a way to designate text passed through service definitions > as a string or to somehow cancel out the !'s. I've tried backslashes, double > !'s, double quotes, single quotes, and everything else I could think of. I > think nagios is hard-coded to see any ! in a object configuration file as a > special character. This is bad! Does anyone know a way around this other > than defining a new check command for this service? > > Thanks! > Jason Lancaster > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Mon Apr 21 19:50:28 2003 From: jsm at inpro.net (Jeff McKeon) Date: 21 Apr 2003 13:50:28 -0400 Subject: qpage Message-ID: <1050947427.6045.71.camel@rh80-jsm.telaurus.net> Has anyone had the problem while using qpage that after it's installed you can send a page manually if you use the -i (interactive) switch but without it you just get a connection refused error on the SNPP server at localhost? example: [nagios at MIS01TC07927 nagios]$ /usr/sbin/qpage -p admin "hello, just testing" Cannot connect to SNPP server at localhost: Connection refused [nagios at MIS01TC07927 nagios]$ With -i option [nagios at MIS01TC07927 nagios]$ /usr/sbin/qpage -i -p admin "hello, just testing" giving up root privileges new service: skytel locking /dev/ttyCP4 initializing modem with ATZ,E1,V1 dialing service skytel with ATDT18006792778 waiting for connection connected to remote, service=skytel logging into skytel login accepted skytel says ok to proceed message accepted page delivered, id=DURK000I, from=root, to=admin, parts=1 logging out from skytel hanging up modem unlocking /dev/ttyCP4 -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Mon Apr 21 20:28:45 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Mon, 21 Apr 2003 13:28:45 -0500 Subject: qpage In-Reply-To: <1050947427.6045.71.camel@rh80-jsm.telaurus.net> References: <1050947427.6045.71.camel@rh80-jsm.telaurus.net> Message-ID: <46993.1647684008$1050950863@news.gmane.org> It sounds like you're not starting the qpage daemon in the background. Try adding "/usr/bin/qpage -q 30" to your startups. Test it by trying "telnet localhost 444", 444 being the SNPP port. Hitting return should return a hello message. Russell On Mon, Apr 21, 2003 at 01:50:28PM -0400, Jeff McKeon wrote: > Has anyone had the problem while using qpage that after it's installed > you can send a page manually if you use the -i (interactive) switch but > without it you just get a connection refused error on the SNPP server at > localhost? > > example: > > > [nagios at MIS01TC07927 nagios]$ /usr/sbin/qpage -p admin "hello, just > testing" > Cannot connect to SNPP server at localhost: Connection refused > [nagios at MIS01TC07927 nagios]$ > > With -i option > > [nagios at MIS01TC07927 nagios]$ /usr/sbin/qpage -i -p admin "hello, just > testing" > giving up root privileges > new service: skytel > locking /dev/ttyCP4 > initializing modem with ATZ,E1,V1 > dialing service skytel with ATDT18006792778 > waiting for connection > connected to remote, service=skytel > logging into skytel > login accepted > skytel says ok to proceed > message accepted > page delivered, id=DURK000I, from=root, to=admin, parts=1 > logging out from skytel > hanging up modem > unlocking /dev/ttyCP4 > > > -- > Jeff McKeon > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dehon.williams at aerojet.com Mon Apr 21 20:24:10 2003 From: dehon.williams at aerojet.com (aerojetops) Date: 21 Apr 2003 18:24:10 -0000 Subject: Help with check_http In-Reply-To: <96F2907F6F5F494DA70289DE3B15B11F2810FF29@keenx02.keencorp.keen.com> References: <96F2907F6F5F494DA70289DE3B15B11F2810FF29@keenx02.keencorp.keen.com> Message-ID: <20030421182410.9343.qmail@pod-163.dolphin-server.co.uk> Try this from the command line and see if it works. ./usr/local/nagios/libexec/Check_http -u http://stgweb01/horoscopes/chinesescope_result.asp?sign=Tige r&TID=7 4Jo8_- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From npaufler at incentre.net Mon Apr 21 21:11:38 2003 From: npaufler at incentre.net (Nicholas Paufler) Date: Mon, 21 Apr 2003 13:11:38 -0600 Subject: Nagios on FreeBSD References: <8B90C04B638E1B4DB4A3FC85E35198D30164CCA0@FSARXN03> Message-ID: <01ee01c30839$d5f57fe0$99d54bce@kallisti> Here's my snippet, also from FreeBSD: I have a / on my Directory statement for /usr/local/share/nagios/ and you don't, so it's possible that that's it. ScriptAlias /nagios/cgi-bin/ /usr/local/share/nagios/cgi-bin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/local/share/nagios/ Options None AllowOverride AuthConfig Order allow,deny Allow from all Nicholas Paufler Systems Administrator The Internet Centre ----- Original Message ----- From: "Crow Lee Contr 379 ECS" To: Sent: Sunday, April 20, 2003 8:49 AM Subject: RE: [Nagios-users] Nagios on FreeBSD > Ok... I looked in the httpd-error.log file and it doesn't look right. Here > is one of the entries: > > script not found or unable to stat: /usr/local/share/nagios/cgi-bintac.cgi > > This isn't a typo... there is no "/" between cgi-bin and the script to > indicate that the script is in the cgi-bin directory. However, the URL on > the website looks correct: > > http://xxx.xx.xxx.141/nagios/cgi-bin/tac.cgi > > And here is how my httpd.conf file looks from a nagios standpoint. > > ScriptAlias /nagios/cgi-bin/ /usr/local/share/nagios/cgi-bin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > > Alias /nagios /usr/local/share/nagios/ > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > Thanks! > > > Lee Crow > Sr. LAN/WAN Administrator > ITT Systems Division > --------------------------- > Cell: +974-556-3127 > DSN: 318-471-2074 > Lee.Crow at auab.aorcentaf.af.mil > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Mon Apr 21 21:17:41 2003 From: jsm at inpro.net (Jeff McKeon) Date: 21 Apr 2003 15:17:41 -0400 Subject: qpage In-Reply-To: <20030421182844.GO32598@soja.ksnet.com.> References: <1050947427.6045.71.camel@rh80-jsm.telaurus.net> <20030421182844.GO32598@soja.ksnet.com.> Message-ID: <1050952660.6045.83.camel@rh80-jsm.telaurus.net> Rus Dead on, the daemon isn't running. But I can't seem to get it running. I played around and added a soft link in /etc/rc.d/rc3.d/ to /etc/init.d/qpage qpage startup script: #!/bin/sh # # Startup for QuickPage # case "$1" in start) echo "Starting QuickPage daemon" > /dev/console 2>&1 qpage -q10 > /dev/console 2>&1 & ;; stop) pid=`ps -e | grep qpage | awk '{print $1}'` if [ ! -z "$pid" ]; then echo "Stopping QuickPage daemon" > /dev/console 2>&1 kill $pid > /dev/null 2>&1 fi ;; *) echo "Usage: /etc/init.d/qpage { start | stop }" ;; esac exit 0 If I do a #/etc/init.d/qpage start or stop I get nothing returned. if i look in the bootlog I see.. Apr 21 19:02:37 MIS01TC07927 rc: Starting qpage: succeeded If I telnet: [root at MIS01TC07927 qpage-3.3]# telnet localhost 444 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused What have I got wrong here? On Mon, 2003-04-21 at 14:28, Russell Adams wrote: > It sounds like you're not starting the qpage daemon in the background. > > Try adding "/usr/bin/qpage -q 30" to your startups. > > Test it by trying "telnet localhost 444", 444 being the SNPP > port. Hitting return should return a hello message. > > Russell > > On Mon, Apr 21, 2003 at 01:50:28PM -0400, Jeff McKeon wrote: > > Has anyone had the problem while using qpage that after it's installed > > you can send a page manually if you use the -i (interactive) switch but > > without it you just get a connection refused error on the SNPP server at > > localhost? > > > > example: > > > > > > [nagios at MIS01TC07927 nagios]$ /usr/sbin/qpage -p admin "hello, just > > testing" > > Cannot connect to SNPP server at localhost: Connection refused > > [nagios at MIS01TC07927 nagios]$ > > > > With -i option > > > > [nagios at MIS01TC07927 nagios]$ /usr/sbin/qpage -i -p admin "hello, just > > testing" > > giving up root privileges > > new service: skytel > > locking /dev/ttyCP4 > > initializing modem with ATZ,E1,V1 > > dialing service skytel with ATDT18006792778 > > waiting for connection > > connected to remote, service=skytel > > logging into skytel > > login accepted > > skytel says ok to proceed > > message accepted > > page delivered, id=DURK000I, from=root, to=admin, parts=1 > > logging out from skytel > > hanging up modem > > unlocking /dev/ttyCP4 > > > > > > -- > > Jeff McKeon > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Mon Apr 21 21:30:58 2003 From: jsm at inpro.net (Jeff McKeon) Date: 21 Apr 2003 15:30:58 -0400 Subject: qpage In-Reply-To: <20030421182844.GO32598@soja.ksnet.com.> References: <1050947427.6045.71.camel@rh80-jsm.telaurus.net> <20030421182844.GO32598@soja.ksnet.com.> Message-ID: <1050953457.6045.88.camel@rh80-jsm.telaurus.net> Sorry, forgot this.... [root at MIS01TC07927 sbin]# ./qpage -q 10 Error reading configuration file config file is /etc/qpage.cf #quickPage configuration file administrator=root at localhost identtimeout=5 queuedir=/var/spool/qpage modem=ttya device=/dev/ttyCP4 initcmd=ATZ,E1,V1 dialcmd=ATDT service=skytel device=ttya phone=18006792778 pager=admin pagerid=1063692 service=skytel On Mon, 2003-04-21 at 14:28, Russell Adams wrote: > It sounds like you're not starting the qpage daemon in the background. > > Try adding "/usr/bin/qpage -q 30" to your startups. > > Test it by trying "telnet localhost 444", 444 being the SNPP > port. Hitting return should return a hello message. > > Russell > > On Mon, Apr 21, 2003 at 01:50:28PM -0400, Jeff McKeon wrote: > > Has anyone had the problem while using qpage that after it's installed > > you can send a page manually if you use the -i (interactive) switch but > > without it you just get a connection refused error on the SNPP server at > > localhost? > > > > example: > > > > > > [nagios at MIS01TC07927 nagios]$ /usr/sbin/qpage -p admin "hello, just > > testing" > > Cannot connect to SNPP server at localhost: Connection refused > > [nagios at MIS01TC07927 nagios]$ > > > > With -i option > > > > [nagios at MIS01TC07927 nagios]$ /usr/sbin/qpage -i -p admin "hello, just > > testing" > > giving up root privileges > > new service: skytel > > locking /dev/ttyCP4 > > initializing modem with ATZ,E1,V1 > > dialing service skytel with ATDT18006792778 > > waiting for connection > > connected to remote, service=skytel > > logging into skytel > > login accepted > > skytel says ok to proceed > > message accepted > > page delivered, id=DURK000I, from=root, to=admin, parts=1 > > logging out from skytel > > hanging up modem > > unlocking /dev/ttyCP4 > > > > > > -- > > Jeff McKeon > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bakkerl at lamp.xs4all.nl Mon Apr 21 21:47:39 2003 From: bakkerl at lamp.xs4all.nl (Lennard Bakker) Date: 21 Apr 2003 21:47:39 +0200 Subject: Can't use bang (!) as string in services.cfg check_command declaration In-Reply-To: <00dc01c3080d$236c19f0$f805ff0a@tekniq> References: <00dc01c3080d$236c19f0$f805ff0a@tekniq> Message-ID: <1050954457.30416.7.camel@peitha> On Mon, 2003-04-21 at 15:51, Jason Lancaster wrote: > I seriously apologize if this went through the first time I sent this. I > received a "returned mail" message saying it didn't... > > In my service definition file, I need to define a check_command that looks > something like this: > > check_command check_http!-S -u /post.html -P > username=abc&password=!ab2!)z! -s status > > The problem with this is the password has bang's (!) and Nagios translates > these into arguments when it executes the check_http command. I don't want > the above line to be split into multiple arguments. It should be a single > argument passed to the check command check_http. Is it possible to create a user macro in the resource file? Something like $USER2$=!ab2!)z! And would the check command be something like: check_command check_http!-S -u /post.html -P username=abc&password=$USER2$ -s status I don't know for sure if this will work, but you can give it a try. More information about macro's can be found in de nagios help. Lennard Bakker ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bakkerl at lamp.xs4all.nl Mon Apr 21 21:59:58 2003 From: bakkerl at lamp.xs4all.nl (Lennard Bakker) Date: 21 Apr 2003 21:59:58 +0200 Subject: what is interval between check attempts? In-Reply-To: <20030417064727.A2023@empoweredsystems.com> References: <20030417064727.A2023@empoweredsystems.com> Message-ID: <1050955196.30416.10.camel@peitha> On Thu, 2003-04-17 at 08:47, Michael Bailey wrote: > Hi, > > in my hosts.cfg I have: > > max_check_attempts 10 > check_command check-host-alive > > If nagios is unable to ping the host, what determines the interval > between the 10 check attempts? I am wondering how long a host needs > to be 'down' before I get an alert. retry_check_interval this option determans the period between a check if the state is error. Lennard Bakker ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Mon Apr 21 22:24:24 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Mon, 21 Apr 2003 15:24:24 -0500 Subject: qpage In-Reply-To: <1050953457.6045.88.camel@rh80-jsm.telaurus.net> References: <1050947427.6045.71.camel@rh80-jsm.telaurus.net> <20030421182844.GO32598@soja.ksnet.com.> <1050953457.6045.88.camel@rh80-jsm.telaurus.net> Message-ID: <1251.01918024502$1050957548@news.gmane.org> Try running "qpage -d -q 1". This puts it into debug mode, and you can watch it startup to see where it fails. Have you checked the perms on /etc/qpage.cf? Also, qpage if I recall will give you an "Error reading configuration file" if you've made a typo... You might doublecheck your key=value pairs. Russell On Mon, Apr 21, 2003 at 03:30:58PM -0400, Jeff McKeon wrote: > Sorry, forgot this.... > > [root at MIS01TC07927 sbin]# ./qpage -q 10 > Error reading configuration file > > config file is /etc/qpage.cf > > #quickPage configuration file > > administrator=root at localhost > identtimeout=5 > queuedir=/var/spool/qpage > > modem=ttya > device=/dev/ttyCP4 > initcmd=ATZ,E1,V1 > dialcmd=ATDT > > service=skytel > device=ttya > phone=18006792778 > > pager=admin > pagerid=1063692 > service=skytel > > > On Mon, 2003-04-21 at 14:28, Russell Adams wrote: > > It sounds like you're not starting the qpage daemon in the background. > > > > Try adding "/usr/bin/qpage -q 30" to your startups. > > > > Test it by trying "telnet localhost 444", 444 being the SNPP > > port. Hitting return should return a hello message. > > > > Russell > > > > On Mon, Apr 21, 2003 at 01:50:28PM -0400, Jeff McKeon wrote: > > > Has anyone had the problem while using qpage that after it's installed > > > you can send a page manually if you use the -i (interactive) switch but > > > without it you just get a connection refused error on the SNPP server at > > > localhost? > > > > > > example: > > > > > > > > > [nagios at MIS01TC07927 nagios]$ /usr/sbin/qpage -p admin "hello, just > > > testing" > > > Cannot connect to SNPP server at localhost: Connection refused > > > [nagios at MIS01TC07927 nagios]$ > > > > > > With -i option > > > > > > [nagios at MIS01TC07927 nagios]$ /usr/sbin/qpage -i -p admin "hello, just > > > testing" > > > giving up root privileges > > > new service: skytel > > > locking /dev/ttyCP4 > > > initializing modem with ATZ,E1,V1 > > > dialing service skytel with ATDT18006792778 > > > waiting for connection > > > connected to remote, service=skytel > > > logging into skytel > > > login accepted > > > skytel says ok to proceed > > > message accepted > > > page delivered, id=DURK000I, from=root, to=admin, parts=1 > > > logging out from skytel > > > hanging up modem > > > unlocking /dev/ttyCP4 > > > > > > > > > -- > > > Jeff McKeon > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > -- > Jeff McKeon > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nuno.barros at cern.ch Tue Apr 22 02:37:26 2003 From: nuno.barros at cern.ch (Nuno Barros) Date: 22 Apr 2003 00:37:26 -0000 Subject: Monitor network usage Message-ID: <20030422003726.8755.qmail@pod-163.dolphin-server.co.uk> I want to monitor the bandwich that each host is using. Someone can help me where i can find something that can help me to develop a plugin? If there's a plugin already made better... Thanks in advance Nuno Barros ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lee.Crow at auab.aorcentaf.af.mil Tue Apr 22 07:13:19 2003 From: Lee.Crow at auab.aorcentaf.af.mil (Crow Lee Contr 379 ECS) Date: Tue, 22 Apr 2003 05:13:19 -0000 Subject: Nagios on FreeBSD Message-ID: <8B90C04B638E1B4DB4A3FC85E35198D301716C69@fsarxn03.auab.aorcentaf.af.mil> I have tried it both ways... still no dice. Thanks though! Lee Crow Sr. LAN/WAN Administrator ITT Systems Division --------------------------- Cell: +974-556-3127 DSN: 318-471-2074 Lee.Crow at auab.aorcentaf.af.mil -----Original Message----- From: Nicholas Paufler [mailto:npaufler at incentre.net] Sent: Monday, April 21, 2003 10:12 PM To: nagios-users Subject: Re: [Nagios-users] Nagios on FreeBSD Here's my snippet, also from FreeBSD: I have a / on my Directory statement for /usr/local/share/nagios/ and you don't, so it's possible that that's it. ScriptAlias /nagios/cgi-bin/ /usr/local/share/nagios/cgi-bin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/local/share/nagios/ Options None AllowOverride AuthConfig Order allow,deny Allow from all Nicholas Paufler Systems Administrator The Internet Centre ----- Original Message ----- From: "Crow Lee Contr 379 ECS" To: Sent: Sunday, April 20, 2003 8:49 AM Subject: RE: [Nagios-users] Nagios on FreeBSD > Ok... I looked in the httpd-error.log file and it doesn't look right. Here > is one of the entries: > > script not found or unable to stat: /usr/local/share/nagios/cgi-bintac.cgi > > This isn't a typo... there is no "/" between cgi-bin and the script to > indicate that the script is in the cgi-bin directory. However, the URL on > the website looks correct: > > http://xxx.xx.xxx.141/nagios/cgi-bin/tac.cgi > > And here is how my httpd.conf file looks from a nagios standpoint. > > ScriptAlias /nagios/cgi-bin/ /usr/local/share/nagios/cgi-bin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > > Alias /nagios /usr/local/share/nagios/ > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > Thanks! > > > Lee Crow > Sr. LAN/WAN Administrator > ITT Systems Division > --------------------------- > Cell: +974-556-3127 > DSN: 318-471-2074 > Lee.Crow at auab.aorcentaf.af.mil > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravis at stratify.com Tue Apr 22 08:43:38 2003 From: ravis at stratify.com (Ravi Sharma) Date: Tue, 22 Apr 2003 12:13:38 +0530 Subject: Socket time out after 10 sec In-Reply-To: References: Message-ID: Hi , So many times, report is saying socket time out after 10 sec. for different services. How to fix this problem ? Secondly I want to configure nagios for solaris machine also to check mem,cpu,disk etc. Can some one help me out ? Regards Ravi Sharma ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Brad at pretzel.com.au Tue Apr 22 09:12:59 2003 From: Brad at pretzel.com.au (Brad Dunn) Date: Tue, 22 Apr 2003 15:12:59 +0800 Subject: Gnokii says yes..i say no Message-ID: <131A385F21AAD311BD6400902763781D020DD450@Z8> Just thought I would mention, I worked out what the problem was. As soon as I did a cp /etc/gnokiirc /home/nagios/.gnokiirc it started working no worries. -Brad -----Original Message----- From: Brad Dunn [mailto:Brad at pretzel.com.au] Sent: Thursday, 17 April 2003 1:49 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Gnokii says yes..i say no Hi there, I had a question about gnokii in relation to sending nagios SMS alerts. First off this is on a Debian linux box and gnokii works no worries from the command line. Nagios Also has the permissions in order to run gnokii commands as when I su to nagios I can still send sms's manually etc. Next this is from my /var/nagios.log file which to me seems to indicate that the SMS's are being send ok. (which they aren't) [1050586817] SERVICE NOTIFICATION: nagios;server91;FTP;OK;notify-by-sms;FTP OK - 0.008 second response time on port 21 [220 server91 Micro soft FTP Service (Version 5.0).] This is what my contacts.cfg looks like # '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,notify-by-sms host_notification_commands host-notify-by-email,host-notify-by-sms email alerts at pretzel.com.au pager 0420000000 } And this is what my misccommands.cfg looks like # 'notify-by-sms' define command{ command_name notify-by-sms command_line /bin/echo '$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICESTATE$ ($OUTPUT$)'| /usr/local/bin/gnokii --sendsm s $CONTACTPAGER$ } # 'host-notify-by-sms' define command{ command_name host-notify-by-sms command_line /bin/echo '$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$ ($OUTPUT$)' | /usr/local/bin/gnokii --sendsms $CONTACTPAGER$ } Note # my gnokii bin sits [/usr/local/bin/gnokii] The gnokii config file looks like this [global] port = /dev/ttyS0 model = 7110 initlength = default connection = serial bindir = /usr/sbin/ Now I cant find any other useful gnokii / nagios logs that are reporting any errors that would help me work this out. Does anyone have any suggestions, I've been through the forums and FAQ's etc with little luck on finding a solution. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a.schrogl at 21torr.com Tue Apr 22 09:45:12 2003 From: a.schrogl at 21torr.com (Andreas Schrogl) Date: Tue, 22 Apr 2003 09:45:12 +0200 Subject: Nagios won't delete Hosts, Services, Users and Notifications Message-ID: <3EA4F308.2070706@21torr.com> Hi, i have a big problem, i deleted some hosts and notifications at the configuration files. stop nagios and start nagios again, but the users still get notifications about the services or there are still warnings for hosts which aren't exists since weeks. how to delete 100% the non existing hosts and services !!!!!! Regards Andreas Schrogl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Kreig.Dubose at webex.com Tue Apr 22 09:47:38 2003 From: Kreig.Dubose at webex.com (Kreig Dubose) Date: Tue, 22 Apr 2003 00:47:38 -0700 Subject: Duplicate E-mails Message-ID: I'm having an issue with duplicate e-mail alerts. Every alert is generating two emails. Any hints as to what might be causing this? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Quinney at hollandandholland.com Tue Apr 22 10:36:25 2003 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Tue, 22 Apr 2003 09:36:25 +0100 Subject: NSCLIENT "Malformed request or internal error. Check EventLog:Non e&2&1" In-Reply-To: <2B6CA561B67B72418738D8F3D7853DA3010DA127@20-exchange-1.infraserv.com> References: <2B6CA561B67B72418738D8F3D7853DA3010DA127@20-exchange-1.infraserv.com> Message-ID: Stefan, I too have that problem which seems to be very intermittent. If I reduce the number of checks or rasie the time between checks then it seems to get better. Unfortunately I am not much of a programmer to help - but if you should find a way around, please let me know !! Thanks Matthew "Schindewolf, Stefan, Infraserv-Hoechst/DE" Sent by: nagios-users-admin at lists.sourceforge.net 17/04/2003 13:37 To "'nagios-users at lists.sourceforge.net'" , "'nagiosplug-devel at lists.sourceforge.net'" , "'rubiyz1047 at swyz.com'" cc Subject [Nagios-users] NSCLIENT "Malformed request or internal error. Check EventLog:Non e&2&1" Hello. The problem occurs with NSCLIENT 1.07.1 I received the following error, that has been concerning several people on the list: The command line is something like: "/usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v CPULOAD -l 1,85,95,5,75,85,15,55,75" The output is: "Malformed request or internal error. Check EventLog:None&2&1" The output of event log is: "Division by zero" We tracked it down to line 250 in uNSCLIENT.pas: REQ_CPUTOTAL: FindAnswer:= IntToStr(CPUBuffer.GetAverage(StrToIntDef(asArgv[2],60)*12)); It must be the GetAverage call because everything else could not raise this exception. We suppose CPUBuffer.GetAverage is a win32 api call !? Can we sue MS for that "division by zero" stuff? On some hosts (running service pack 2) there is no problem. We tried to call the windows performance counters directly (""/usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v COUNTER ...") but are only receiving either 100% or 0% CPULOAD, depending on our parameters. Has anyone a clue how to workaround it? Thanks in advance and best regards. > Mit freundlichen Gr??en > > Stefan Schindewolf > > Infraserv GmbH & Co H?chst KG > Service Center Informationstechnologie > D710, D-65926 Frankfurt > Telefon: (069)305 - 43870 > Fax: (069)305 - 23549 > Mail: stefan.schindewolf at infraserv.com > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail has been scanned for viruses by the uuNet Internet Managed Scanning Service - powered by MessageLabs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Michael.Huettig at Medien-Systempartner.de Tue Apr 22 11:26:56 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Tue, 22 Apr 2003 11:26:56 +0200 Subject: Nagios won't delete Hosts, Services, Users and Notifications In-Reply-To: <3EA4F308.2070706@21torr.com> References: <3EA4F308.2070706@21torr.com> Message-ID: <200304221126.56007.Michael.Huettig@Medien-Systempartner.de> Am Dienstag, 22. April 2003 09:45 schrieb Andreas Schrogl: > Hi, > > i have a big problem, i deleted some hosts and notifications at the > configuration files. > stop nagios and start nagios again, > > but the users still get notifications about the services or there are still > warnings for hosts which aren't exists since weeks. > > how to delete 100% the non existing hosts and services !!!!!! > Hi Andreas, i think nagios has a notification bug, to my previous mail (10.04.03) to userlist i don't get any reply: Hi anyone, hi Ethan, I have another notification problem. I receive notifications for hosts and services for which i'm not the defined contact. When changing a contactgroup notes go out to the formarly configured group and not to the actual defined group. I thought that nagios 1.0 is caching some information and doesn't refrech its config-data. Anyone else having notfication issues like the described??? -- Michael > Regards > Andreas Schrogl > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralf-Lists at RalfGross.de Tue Apr 22 11:20:48 2003 From: Ralf-Lists at RalfGross.de (Ralf Gross) Date: Tue, 22 Apr 2003 11:20:48 +0200 (CEST) Subject: confirm 724934 Message-ID: <25793.53.122.192.14.1051003248.squirrel@webmail.blahfasel.org> confirm 724934 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Tue Apr 22 11:19:58 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Tue, 22 Apr 2003 11:19:58 +0200 Subject: Duplicate E-mails In-Reply-To: References: Message-ID: <200304221119.58395.Michael.Huettig@Medien-Systempartner.de> Am Dienstag, 22. April 2003 09:47 schrieb Kreig Dubose: > I'm having an issue with duplicate e-mail alerts. Every alert is > generating two emails. Any hints as to what might be causing this? > Hi, do you have defined escalations for services or hosts? Notifications go out for the primary contact and also for the escalations. -- Michael > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frankie at etsetb.upc.es Tue Apr 22 11:45:32 2003 From: frankie at etsetb.upc.es (Francesc Guasch) Date: Tue, 22 Apr 2003 11:45:32 +0200 Subject: Could not locate a running Nagios process! Message-ID: <3EA50F3C.1030902@etsetb.upc.es> Hi. I had a nagios server up and running. I upgraded some packages and now I can't send commands to the web interface. I check the FAQ and it all looks fine. This is RedHat 7.3 with nagios-1.0-1 and nagios-www-1.0-1. I upgraded the kernel and apache. I also added iptables but I turned it off just in case. The web interface works well. But I can't send the commands. The nagios process information screen shows this: PROCESS INFORMATION Nagios PID 24611 Notifications Enabled? YES Service Checks Being Executed? YES Passive Service Checks Being Accepted? YES PROCESS STATUS INFORMATION Process Status: CRITICAL Check Command Output: Could not locate a running Nagios process! I checked the FAQ about the command directory. It's not exactly the same from the RPM, but it looks ok: drwxrwsr-x 2 nagios apache 4096 abr 22 11:36 nagios/ prw-rw---- 1 nagios apache 0 abr 22 11:36 nagios.cmd There is nothing in the message.log nor nagios log files. What else can I try ? thank you. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Quinney at hollandandholland.com Tue Apr 22 12:42:52 2003 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Tue, 22 Apr 2003 11:42:52 +0100 Subject: Windows Servers Checks Message-ID: Hello all - I hope you had a good Easter ! I was just wondering how people were checking their Windows boxes. Nsclient seems fine for checking disk space, memory, cpu etc but seems to have problems when collecting information on Windows performance counters. We really would like to check paging file usage, terminal server sessions etc and just find that it is not really reliable. Does anybody have an alternative suggestion ? Many thanks Matthew -------------- next part -------------- An HTML attachment was scrubbed... URL: From a.schrogl at 21torr.com Tue Apr 22 12:56:26 2003 From: a.schrogl at 21torr.com (Andreas Schrogl) Date: Tue, 22 Apr 2003 12:56:26 +0200 Subject: Nagios won't delete Hosts, Services, Users and Notifications In-Reply-To: <200304221126.56007.Michael.Huettig@Medien-Systempartner.de> References: <3EA4F308.2070706@21torr.com> <200304221126.56007.Michael.Huettig@Medien-Systempartner.de> Message-ID: <3EA51FDA.3090900@21torr.com> Hi, i found out why it allways send me old notifications, the was still one old nagios process running when it do a nagios stop. i killed this by hand and started nagios again, until this moment i don't get any old notifications about my old services and hosts. I don't know why it doesn't killed all process running but it seems this was the point of failure. Regards Andreas Schrogl -- Andreas Schrogl 21TORR AGENCY GmbH Email:a.schrogl at 21torr.com Administration Tel: +49-7121-348-256 Heinestrasse 72 Fax: +49-7121-348-259 D-72762 Reutlingen 21TORR - die neue medien leidenschaft www.21torr.com Michael H?ttig wrote: > Am Dienstag, 22. April 2003 09:45 schrieb Andreas Schrogl: > >>Hi, >> >>i have a big problem, i deleted some hosts and notifications at the >>configuration files. >>stop nagios and start nagios again, >> >>but the users still get notifications about the services or there are still >>warnings for hosts which aren't exists since weeks. >> >>how to delete 100% the non existing hosts and services !!!!!! >> > > Hi Andreas, > i think nagios has a notification bug, to my previous mail (10.04.03) to > userlist i don't get any reply: > > Hi anyone, hi Ethan, > I have another notification problem. I receive notifications for hosts and > services for which i'm not the defined contact. When changing a contactgroup > notes go out to the formarly configured group and not to the actual defined > group. I thought that nagios 1.0 is caching some information and doesn't refrech its config-data. > > Anyone else having notfication issues like the described??? > > -- > Michael > >>Regards >>Andreas Schrogl >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >> >>::: Please include Nagios version, plugin version (-v) and OS when >>::: reporting any issue. Messages without supporting info will risk being >>::: sent to /dev/null > > > > ********************************************************************** > Diese E-Mail wurde auf Viren ueberprueft. > www.mimesweeper.com > ********************************************************************** > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atulsh at hclinsys.com Tue Apr 22 12:58:21 2003 From: atulsh at hclinsys.com (Atul Shrivastava) Date: Tue, 22 Apr 2003 16:28:21 +0530 Subject: Windows Servers Checks References: Message-ID: <013701c308be$16d9b240$5f7b0297@atul> You can use check_snmp for this thing. Normal SNMP service doesn't have Memory usage. Other thinks it have. U can query usign their oid. You can also plot these values for them. Regards and have a nice day, Atul Shrivastava Info Structure Services HCL INFOSYSTEMS LTD. E - 4,5,6 Sector XI, Noida - 201301 Tel: 91-120-2526910,2443013 ----- Original Message ----- From: Matthew.Quinney at hollandandholland.com To: nagios-users Sent: Tuesday, April 22, 2003 4:12 PM Subject: [Nagios-users] Windows Servers Checks Hello all - I hope you had a good Easter ! I was just wondering how people were checking their Windows boxes. Nsclient seems fine for checking disk space, memory, cpu etc but seems to have problems when collecting information on Windows performance counters. We really would like to check paging file usage, terminal server sessions etc and just find that it is not really reliable. Does anybody have an alternative suggestion ? Many thanks Matthew -------------- next part -------------- An HTML attachment was scrubbed... URL: From Matthew.Quinney at hollandandholland.com Tue Apr 22 13:21:46 2003 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Tue, 22 Apr 2003 12:21:46 +0100 Subject: Windows Servers Checks In-Reply-To: <013701c308be$16d9b240$5f7b0297@atul> References: <013701c308be$16d9b240$5f7b0297@atul> Message-ID: Atul, Thank you for that. We use check_snmp for some checks, but have found that some oids are not accessible for items such as Terminal Server Sessions etc. I have found ways of making them accessible but really wanted to cut down on the amount you have to do to get a box 'working' with Nagios. Matt "Atul Shrivastava" 22/04/2003 11:58 Please respond to "Atul Shrivastava" To "nagios-users" , cc Subject Re: [Nagios-users] Windows Servers Checks You can use check_snmp for this thing. Normal SNMP service doesn't have Memory usage. Other thinks it have. U can query usign their oid. You can also plot these values for them. Regards and have a nice day, Atul Shrivastava Info Structure Services HCL INFOSYSTEMS LTD. E - 4,5,6 Sector XI, Noida - 201301 Tel: 91-120-2526910,2443013 ----- Original Message ----- From: Matthew.Quinney at hollandandholland.com To: nagios-users Sent: Tuesday, April 22, 2003 4:12 PM Subject: [Nagios-users] Windows Servers Checks Hello all - I hope you had a good Easter ! I was just wondering how people were checking their Windows boxes. Nsclient seems fine for checking disk space, memory, cpu etc but seems to have problems when collecting information on Windows performance counters. We really would like to check paging file usage, terminal server sessions etc and just find that it is not really reliable. Does anybody have an alternative suggestion ? Many thanks Matthew _____________________________________________________________________ This e-mail has been scanned for viruses by the uuNet Internet Managed Scanning Service - powered by MessageLabs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Chris.Losch at newham.gov.uk Tue Apr 22 13:32:48 2003 From: Chris.Losch at newham.gov.uk (Chris Losch) Date: Tue, 22 Apr 2003 12:32:48 +0100 Subject: check_traffic and RRD Message-ID: Just to let you know, you are not alone. I had hoped that a new version would be released with fixes to the bugs mentioned in the make-config script. It has yet to happen, and i have written to the author for an ETA, but have had no reply as of yet (so if ya reading my check_traffic author, please let us know). -----Original Message----- From: Michael S. Kazmier [mailto:mkazmier at sofast.net] Sent: 18 April 2003 22:32 To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_traffic and RRD Update: Actually, I forgot to mention, when I run the check_traffic script from command line as root - it works, but when I run it as nagios, I get a permission denied error.... File permissions appear to be correct except the /usr and /usr/local are owned by root.root. The /usr/local/nagios and all others under are owned by nagios.nagios with write permission.... -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michael S. Kazmier Sent: Friday, April 18, 2003 3:24 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_traffic and RRD Hello all, I have spent the last week or so playing with the check_traffic plugin and reading the archives. I realize there are some bugs in the make-config script and what not, I got most of that figured out. What I haven't been able to master is the RRD files. I have utilized rrdtool with the proper syntax to create the RRD files. I went through the services.cfg to ensure I had the proper argument for check_traffic to update the RRD files in the db directory, I checked the check_traffic script and all syntax appears correct for the rrdtool update command. I checked the permissions in the db directory and files, all looks good there (heck, I even set them to world writeable). After all that, my RRD files are still not getting updates although the check_traffic appears to running without problem or error. Any thoughts? I am not seeing any errors, but not totally sure where to look to find them... any pointers would be helpful. Thanks, Mike ********************************************************************** Important: This e-mail is intended for the above named person only and should be treated as confidential. If this has come to you in error you should take no action based on it, nor should you copy or show it to anyone; please telephone us immediately. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Chris.Losch at newham.gov.uk Tue Apr 22 13:40:38 2003 From: Chris.Losch at newham.gov.uk (Chris Losch) Date: Tue, 22 Apr 2003 12:40:38 +0100 Subject: check_traffic and RRD Message-ID: Woops my apologies, sent that previous mail a little prematurely. Also - it would be nice if someone who has got this plug-in working correctly to post the relevant sections of configs and also file and directory permissions for the locations in question to get this working. I cant see what I've done wrong, but I just can't get it working... Thanks in advance Chris -----Original Message----- From: Michael S. Kazmier [mailto:mkazmier at sofast.net] Sent: 18 April 2003 22:32 To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_traffic and RRD Update: Actually, I forgot to mention, when I run the check_traffic script from command line as root - it works, but when I run it as nagios, I get a permission denied error.... File permissions appear to be correct except the /usr and /usr/local are owned by root.root. The /usr/local/nagios and all others under are owned by nagios.nagios with write permission.... -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michael S. Kazmier Sent: Friday, April 18, 2003 3:24 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_traffic and RRD Hello all, I have spent the last week or so playing with the check_traffic plugin and reading the archives. I realize there are some bugs in the make-config script and what not, I got most of that figured out. What I haven't been able to master is the RRD files. I have utilized rrdtool with the proper syntax to create the RRD files. I went through the services.cfg to ensure I had the proper argument for check_traffic to update the RRD files in the db directory, I checked the check_traffic script and all syntax appears correct for the rrdtool update command. I checked the permissions in the db directory and files, all looks good there (heck, I even set them to world writeable). After all that, my RRD files are still not getting updates although the check_traffic appears to running without problem or error. Any thoughts? I am not seeing any errors, but not totally sure where to look to find them... any pointers would be helpful. Thanks, Mike ********************************************************************** Important: This e-mail is intended for the above named person only and should be treated as confidential. If this has come to you in error you should take no action based on it, nor should you copy or show it to anyone; please telephone us immediately. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jsm at inpro.net Tue Apr 22 13:52:41 2003 From: jsm at inpro.net (Jeff McKeon) Date: 22 Apr 2003 07:52:41 -0400 Subject: qpage In-Reply-To: <20030421202424.GR32598@soja.ksnet.com.> References: <1050947427.6045.71.camel@rh80-jsm.telaurus.net> <20030421182844.GO32598@soja.ksnet.com.> <1050953457.6045.88.camel@rh80-jsm.telaurus.net> <20030421202424.GR32598@soja.ksnet.com.> Message-ID: <1051012361.18280.6.camel@rh80-jsm.telaurus.net> Rus, Thanks again. The debug mode worked and it was a permissions thing. I had to change the permissions on /var/spool/qpage and the modem to owner daemon. I might recompile with a user "qpage" or something like that since other software might use the "daemon" user and thus would have permissions to stuff only qpage should. In any event, qpage works now. Now I just have to integrate it into nagios alerts. thanks again for the help! Jeff On Mon, 2003-04-21 at 16:24, Russell Adams wrote: > Try running "qpage -d -q 1". This puts it into debug mode, and you can > watch it startup to see where it fails. > > Have you checked the perms on /etc/qpage.cf? > > Also, qpage if I recall will give you an "Error reading configuration > file" if you've made a typo... You might doublecheck your key=value > pairs. > > Russell > > On Mon, Apr 21, 2003 at 03:30:58PM -0400, Jeff McKeon wrote: > > Sorry, forgot this.... > > > > [root at MIS01TC07927 sbin]# ./qpage -q 10 > > Error reading configuration file > > > > config file is /etc/qpage.cf > > > > #quickPage configuration file > > > > administrator=root at localhost > > identtimeout=5 > > queuedir=/var/spool/qpage > > > > modem=ttya > > device=/dev/ttyCP4 > > initcmd=ATZ,E1,V1 > > dialcmd=ATDT > > > > service=skytel > > device=ttya > > phone=18006792778 > > > > pager=admin > > pagerid=1063692 > > service=skytel > > > > > > On Mon, 2003-04-21 at 14:28, Russell Adams wrote: > > > It sounds like you're not starting the qpage daemon in the background. > > > > > > Try adding "/usr/bin/qpage -q 30" to your startups. > > > > > > Test it by trying "telnet localhost 444", 444 being the SNPP > > > port. Hitting return should return a hello message. > > > > > > Russell > > > > > > On Mon, Apr 21, 2003 at 01:50:28PM -0400, Jeff McKeon wrote: > > > > Has anyone had the problem while using qpage that after it's installed > > > > you can send a page manually if you use the -i (interactive) switch but > > > > without it you just get a connection refused error on the SNPP server at > > > > localhost? > > > > > > > > example: > > > > > > > > > > > > [nagios at MIS01TC07927 nagios]$ /usr/sbin/qpage -p admin "hello, just > > > > testing" > > > > Cannot connect to SNPP server at localhost: Connection refused > > > > [nagios at MIS01TC07927 nagios]$ > > > > > > > > With -i option > > > > > > > > [nagios at MIS01TC07927 nagios]$ /usr/sbin/qpage -i -p admin "hello, just > > > > testing" > > > > giving up root privileges > > > > new service: skytel > > > > locking /dev/ttyCP4 > > > > initializing modem with ATZ,E1,V1 > > > > dialing service skytel with ATDT18006792778 > > > > waiting for connection > > > > connected to remote, service=skytel > > > > logging into skytel > > > > login accepted > > > > skytel says ok to proceed > > > > message accepted > > > > page delivered, id=DURK000I, from=root, to=admin, parts=1 > > > > logging out from skytel > > > > hanging up modem > > > > unlocking /dev/ttyCP4 > > > > > > > > > > > > -- > > > > Jeff McKeon > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > -- > > Jeff McKeon > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Robert.Wagner at wausaubenefits.com Tue Apr 22 14:39:25 2003 From: Robert.Wagner at wausaubenefits.com (Robert Wagner) Date: Tue, 22 Apr 2003 07:39:25 -0500 Subject: Nagios-users digest, Vol 1 #1431 - 25 msgs Message-ID: The most important thing to check is the 'Nagios CGI URL' path. That is really what NTray uses to collect information. An example for this would be: http://monitorserver/nagios/cgi-bin The 'No extended status available' message is normal, unfortunately. That will eventually show what problems exist that Nagios is reporting, but that feature is not yet suppported. (by Nagios or NTray) Rob Wagner, NTray Guy! --------------------------------------------------------------------- I've configured NTray, but I still see the unknown icon. Rolling over NTray displays Status: no extended status available at this time. What am I missing? =20 Thanks, =20 David Gitman This communication is intended only for the recipient(s) named above; may be confidential and/or legally privileged; and, must be treated as such in accordance with state and federal laws. If you are not the intended recipient, you are hereby notified that any use of this communication, or any of its contents, is prohibited. If you have received this communication in error, please return it to Robert Wagner and delete the message from your computer system. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkazmier at sofast.net Tue Apr 22 16:14:19 2003 From: mkazmier at sofast.net (Michael S. Kazmier) Date: Tue, 22 Apr 2003 08:14:19 -0600 Subject: check_traffic and RRD In-Reply-To: References: Message-ID: <000201c308d9$77382700$6701010a@kazkdsxp> The check_traffic plugin is an additional pulgin that can be downloaded from http://nagios.sourceforge.net/download/contrib/misc/check_traffic/ It does have several bugs which are fairly well documented on this list. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of David Gitman Sent: Monday, April 21, 2003 8:49 AM To: Michael S. Kazmier; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_traffic and RRD Where is the check_traffic plug-in? I don't see it in libexec. [-d] _____ From: Michael S. Kazmier [mailto:mkazmier at sofast.net] Sent: Friday, April 18, 2003 5:24 PM To: nagios-users at lists.sourceforge.net Hello all, I have spent the last week or so playing with the check_traffic plugin and reading the archives. I realize there are some bugs in the make-config script and what not, I got most of that figured out. What I haven't been able to master is the RRD files. I have utilized rrdtool with the proper syntax to create the RRD files. I went through the services.cfg to ensure I had the proper argument for check_traffic to update the RRD files in the db directory, I checked the check_traffic script and all syntax appears correct for the rrdtool update command. I checked the permissions in the db directory and files, all looks good there (heck, I even set them to world writeable). After all that, my RRD files are still not getting updates although the check_traffic appears to running without problem or error. Any thoughts? I am not seeing any errors, but not totally sure where to look to find them. any pointers would be helpful. Thanks, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbautista at icnet.com.ve Tue Apr 22 17:05:55 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Tue, 22 Apr 2003 11:05:55 -0400 Subject: Check_bgp plugin Message-ID: <5.1.0.14.0.20030422110340.00b5efb8@pop.icnet.com.ve> Hello, Anybody know how to use the check_bgp plugin? Thanks, Jeyri Bautista ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.Verscheure at loria.fr Tue Apr 22 17:15:29 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Tue, 22 Apr 2003 17:15:29 +0200 Subject: NIS and DHCP Message-ID: <3EA55C91.6080401@loria.fr> Hi, I just want to know if it exist already a plugin to test "NIS" and "DHCP" ? Thanks in advance. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drich at employees.org Tue Apr 22 17:54:42 2003 From: drich at employees.org (Dan Rich) Date: Tue, 22 Apr 2003 08:54:42 -0700 (PDT) Subject: NIS and DHCP In-Reply-To: <3EA55C91.6080401@loria.fr> References: <3EA55C91.6080401@loria.fr> Message-ID: <53388.63.237.201.12.1051026882.squirrel@www.lapseofthought.com> Lionel Verscheure said: > Hi, > > I just want to know if it exist already a plugin to test "NIS" and "DHCP" ? You can find check_dhcp in the contrib directory of the plugins source. As far as I know there is no specific plugin for nis, but you can check it with the check_rpc plugin easily enough: define command{ command_name check_nis command_line $USER1$/check_rpc ypserv -H $HOSTADDRESS$ -c 2 } -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkazmier at sofast.net Tue Apr 22 18:36:52 2003 From: mkazmier at sofast.net (Michael S. Kazmier) Date: Tue, 22 Apr 2003 10:36:52 -0600 Subject: updated check_traffic scripts Message-ID: <002501c308ed$610c6720$6701010a@kazkdsxp> Okay folks, I have patched the make_config script to correctly produce the correct RRD files, descriptions, etc. I have also created a script I call set_perms to run AFTER the make config that will correctly set the permissions for the directories involved. Hope it helps and makes it into the next release of check_traffic.. <<<>>> #!/usr/bin/perl # # make-config - Part of check_traffic plugin. # # Copyright (c) 2003 Adrian Wieczorek, # # See README file for more details. $VERSION = "0.90b"; $HOSTNAME = "ENTER YOUR HOSTNAME"; # Hostname of monitoring host. ( The same like in Nagios(r) config.) # SNMP stuff: $SNMPWALK = "/usr/bin/snmpwalk"; $SNMPGET = "/usr/bin/snmpget"; $HOST = "ENTER YOUR HOST IP ADDRESS"; $COMMUNITY = "ENTER YOUR COMMUNITY STRING"; $OUTPUT_SERVICE_FILE = "services.cfg"; $OUTPUT_COMMANDS_FILE = "checkcommands.cfg"; $OUTPUT_EXTINFO_FILE = "serviceextinfo.cfg"; $CHECK_INTERVAL = 3; # This value is important for RRD too. # RRD support: $WITH_RRD = 1; # Set to 0 if You don't want RRD graphs. $RRDTOOL = "/usr/bin/rrdtool"; $RRDCGI = "/usr/bin/rrdcgi"; $DB_PATH = "/usr/local/nagios/check_traffic-$VERSION/db"; $GIFS_PATH = "/usr/local/nagios/share"; $GIFS_URL = "http://YOUR.DOMAIN.COM/nagios/"; $CGI_URL = "nagios/cgi-bin"; # ------ !!! You probably no need to change nothing below this line !!! ------ @walk = `$SNMPWALK -v 1 $HOST -c $COMMUNITY interfaces.ifTable.ifEntry.ifDescr`; %interfaces = (); my $count = 0; foreach $interface (@walk) { @ifDescr = split("=",$interface); if($ifDescr[0] =~ m/.(\d*)\s$/) { $ifNumber = $1; } $_ = $ifDescr[1]; if($ifDescr[1] =~ m/STRING:/) # Some SNMP Agents add field type identifier before { # value, so we omitting it. m/STRING:\s(\S*)/; $interfaces{$ifNumber} = $1; } else { m/\s(\S*)/; $interfaces{$ifNumber} = $1; } $count++; } print "Number of Interfaces found: $count\n\n"; if($WITH_RRD) { $samples_4hrs = (60 * 4) / $CHECK_INTERVAL; $average_1day = 30 / $CHECK_INTERVAL; $average_1mon = $average_1day * 4; if ((30%$CHECK_INTERVAL) or ((60*4)%$CHECK_INTERVAL)) { die "\nERROR: Value \$CHECK_INTERVAL is illegal. Enter another and try again.\n"; } } # - Writing service definitions fo file. open (CONFIG, ">>$OUTPUT_SERVICE_FILE"); print CONFIG "# - Service definitions for 'check_traffic' plugin\n\n"; foreach $ifNumber (keys %interfaces) { $_ = $interfaces{$ifNumber}; s/\//-/g; $interfaces{$ifNumber} = $_; # Remove forward slashes from the interface description $_ = `$SNMPGET -v 1 $HOST -c $COMMUNITY interfaces.ifTable.ifEntry.ifSpeed.$ifNumber`; m/\s(\d*)\s$/; $max_speed = $1 / 8; if(!$max_speed) { print "Can't determine maximum speed for interface $interfaces{$ifNumber}.\n"; print "Enter it manually [bps]: "; chop($max_speed = ); } if($WITH_RRD) { $start_time = time; $db_file = $HOST."_".$interfaces{$ifNumber}.".rrd"; `$RRDTOOL create $DB_PATH/$db_file --start $start_time DS:input:COUNTER:600:U:U DS:output:COUNTER:600:U:U RRA:AVERAGE:0.5:1:$samples_4hrs RRA:AVERAGE:0.5:$average_1day:48 RRA:AVERAGE:0.5:$average_1mon:372 RRA:MAX:0.5:1:48 RRA:MAX:0.5:$average_1day:48 RRA:MAX:0.5:$average_1mon:372`; create_rrd_cgi($HOSTNAME,$interfaces{$ifNumber},$db_file); } print CONFIG "define service{\n"; print CONFIG " use generic-service\n"; print CONFIG " host_name $HOSTNAME\n"; print CONFIG " service_description $interfaces{$ifNumber} Traffic\n"; print CONFIG " check_period 24x7\n"; print CONFIG " max_check_attempts 3\n"; print CONFIG " normal_check_interval $CHECK_INTERVAL\n"; print CONFIG " retry_check_interval 1\n"; print CONFIG " notification_interval 120\n"; print CONFIG " notification_period 24x7\n"; print CONFIG " notification_options w,u,c,r\n"; print CONFIG " check_command check_traffic!$ifNumber!$max_speed!$interfaces{$ifNumber}!85!95\n"; print CONFIG " }\n\n"; } close(CONFIG); # - Writing command definition to file. open(CONFIG, ">>$OUTPUT_COMMANDS_FILE"); print CONFIG "# 'check_traffic' command definition\n"; print CONFIG "define command{\n"; print CONFIG " command_name check_traffic\n"; print CONFIG " command_line \$USER1\$/check_traffic -H \$HOSTADDRESS\$ -i \$ARG1\$ -b \$ARG2\$ -r \$ARG3\$ -w \$ARG4\$ -c \$ARG5\$\n"; print CONFIG " }\n"; close(CONFIG); # - Writing serviceextinfo definitions open(CONFIG, ">>$OUTPUT_EXTINFO_FILE"); foreach $ifNumber (keys %interfaces) { print CONFIG "# '$interfaces{$ifNumber}' hostextinfo definition\n"; print CONFIG "define serviceextinfo{\n"; print CONFIG " host_name $HOSTNAME\n"; print CONFIG " service_description $interfaces{$ifNumber} Traffic\n"; print CONFIG " notes_url $CGI_URL/".$HOSTNAME."_".$interfaces{$ifNumber}.".cgi\n"; print CONFIG " icon_image traffic-icon.jpg\n"; print CONFIG " icon_image_alt View graphs\n"; print CONFIG " }\n\n"; } close(CONFIG); sub create_rrd_cgi { my ($host,$iface_descr, $db_file) = @_; open(CGIFILE, ">".$host."_".$iface_descr.".cgi"); print CGIFILE "#!$RRDCGI\n"; print CGIFILE "\n\n"; print CGIFILE "\n"; print CGIFILE "\n"; print CGIFILE "$host - $iface_descr Interface Graphs\n"; print CGIFILE "\n
\n";

 print CGIFILE "

$host - $iface_descr Interface Graphs

\n"; print CGIFILE "last 4 hours ($CHECK_INTERVAL minutes averages)\n"; print CGIFILE "\"\n"; print CGIFILE " --start -4hours\n"; print CGIFILE " --interlaced\n"; print CGIFILE " --lazy\n"; print CGIFILE " --vertical-label \"bytes/sec\"\n"; print CGIFILE " --lower-limit 0.0\n"; print CGIFILE " --upper-limit 1.0\n"; print CGIFILE " DEF:inoctets=$DB_PATH/$db_file:input:AVERAGE\n"; print CGIFILE " DEF:outoctets=$DB_PATH/$db_file:output:AVERAGE\n"; print CGIFILE " LINE1:inoctets#0000FF:\"input \"\n"; print CGIFILE " GPRINT:inoctets:LAST:\"%6.2lf %sB/s last\"\n"; print CGIFILE " GPRINT:inoctets:AVERAGE:\"%6.2lf %sB/s avg\"\n"; print CGIFILE " GPRINT:inoctets:MAX:\"%6.2lf %sB/s max\\n\"\n"; print CGIFILE " AREA:outoctets#00FF00:\"output\"\n"; print CGIFILE " GPRINT:outoctets:LAST:\"%6.2lf %sB/s last\"\n"; print CGIFILE " GPRINT:outoctets:AVERAGE:\"%6.2lf %sB/s avg\"\n"; print CGIFILE " GPRINT:outoctets:MAX:\"%6.2lf %sB/s max\\n\"\n"; print CGIFILE ">\n
\n"; print CGIFILE "last 24 hours (30 minutes averages)\n"; print CGIFILE "\"\n"; print CGIFILE " --start -1day\n"; print CGIFILE " --interlaced\n"; print CGIFILE " --lazy\n"; print CGIFILE " --vertical-label \"bytes/sec\"\n"; print CGIFILE " --lower-limit 0.0\n"; print CGIFILE " --upper-limit 1.0\n"; print CGIFILE " DEF:inoctets=$DB_PATH/$db_file:input:AVERAGE\n"; print CGIFILE " DEF:outoctets=$DB_PATH/$db_file:output:AVERAGE\n"; print CGIFILE " LINE1:inoctets#0000FF:\"input \"\n"; print CGIFILE " GPRINT:inoctets:LAST:\"%6.2lf %sB/s last\"\n"; print CGIFILE " GPRINT:inoctets:AVERAGE:\"%6.2lf %sB/s avg\"\n"; print CGIFILE " GPRINT:inoctets:MAX:\"%6.2lf %sB/s max\\n\"\n"; print CGIFILE " AREA:outoctets#00FF00:\"output\"\n"; print CGIFILE " GPRINT:outoctets:LAST:\"%6.2lf %sB/s last\"\n"; print CGIFILE " GPRINT:outoctets:AVERAGE:\"%6.2lf %sB/s avg\"\n"; print CGIFILE " GPRINT:outoctets:MAX:\"%6.2lf %sB/s max\\n\"\n"; print CGIFILE ">\n
\n"; print CGIFILE "last month (2 hour averages)\n"; print CGIFILE "\"\n"; print CGIFILE " --start -1month\n"; print CGIFILE " --interlaced\n"; print CGIFILE " --lazy\n"; print CGIFILE " --vertical-label \"bytes/sec\"\n"; print CGIFILE " --lower-limit 0.0\n"; print CGIFILE " --upper-limit 1.0\n"; print CGIFILE " DEF:inoctets=$DB_PATH/$db_file:input:AVERAGE\n"; print CGIFILE " DEF:outoctets=$DB_PATH/$db_file:output:AVERAGE\n"; print CGIFILE " LINE1:inoctets#0000FF:\"input \"\n"; print CGIFILE " GPRINT:inoctets:LAST:\"%6.2lf %sB/s last\"\n"; print CGIFILE " GPRINT:inoctets:AVERAGE:\"%6.2lf %sB/s avg\"\n"; print CGIFILE " GPRINT:inoctets:MAX:\"%6.2lf %sB/s max\\n\"\n"; print CGIFILE " AREA:outoctets#00FF00:\"output\"\n"; print CGIFILE " GPRINT:outoctets:LAST:\"%6.2lf %sB/s last\"\n"; print CGIFILE " GPRINT:outoctets:AVERAGE:\"%6.2lf %sB/s avg\"\n"; print CGIFILE " GPRINT:outoctets:MAX:\"%6.2lf %sB/s max\\n\"\n"; print CGIFILE ">\n

\n"; print CGIFILE "check_traffic plugin\n© 2003 by ADi\n\n"; print CGIFILE "
\n"; close(CGIFILE); } <<<>>> #!/usr/bin/perl $VERSION = "0.90b"; $DB_PATH = "/usr/local/nagios/check_traffic-$VERSION/db"; $GIFS_PATH = "/usr/local/nagios/share"; `chown apache.nagios $DB_PATH`; `chmod 775 $DB_PATH -R`; `chown apache.nagios $GIFS_PATH`; `chmod 775 $GIFS_PATH`; -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.mozley at exponential-e.com Tue Apr 22 18:50:18 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Tue, 22 Apr 2003 17:50:18 +0100 Subject: Check_bgp plugin References: <5.1.0.14.0.20030422110340.00b5efb8@pop.icnet.com.ve> Message-ID: <014101c308ef$41a627c0$03bff40a@Exponentiale.com> *This message was transferred with a trial version of CommuniGate(tm) Pro* Yep I've just set this up, although I haven't been able to get a failure simulated yet as I cannot get a live connection broken. To implement one copies it from the contrib directory of the plugins to libexec sub-directory and sets it up as per the other service checks. If you need the parts of the nagios config files not shown below let me know. In checkcommands.cfg I have: # 'check_bgpstate' command definition define command{ command_name check_bgpstate command_line $USER1$/check_bgpstate.pl -c -p 161 $HOSTADDRESS$ } In services.cfg I have: define service{ use generic-service ; Name of service template to use host_name a-host-name service_description BGP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups server-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_bgpstate event_handler notify_service } Regards, Jim ----- Original Message ----- From: "Jeyri Bautista" To: Sent: Tuesday, April 22, 2003 4:05 PM Subject: [Nagios-users] Check_bgp plugin > *This message was transferred with a trial version of CommuniGate(tm) Pro* > Hello, > > Anybody know how to use the check_bgp plugin? > > Thanks, > > Jeyri Bautista > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.loew at steyr-ssf.com Tue Apr 22 18:58:17 2003 From: christian.loew at steyr-ssf.com (Christian =?iso-8859-1?B?TPZ3?=) Date: Tue, 22 Apr 2003 18:58:17 +0200 Subject: Windows Servers Checks In-Reply-To: References: <013701c308be$16d9b240$5f7b0297@atul> Message-ID: <20030422165816.GB31030@debian> On Tue, Apr 22, 2003 at 12:21:46PM +0100, you wrote: > Thank you for that. We use check_snmp for some checks, but have found that > some oids are not accessible for items such as Terminal Server Sessions > etc. I have found ways of making them accessible but really wanted to cut > down on the amount you have to do to get a box 'working' with Nagios. take a look on http://www.wtcs.org/snmp4tpc/ for more SNMP OIDs Chris ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at nwl.se Tue Apr 22 18:57:05 2003 From: jan.johansson at nwl.se (Jan Johansson) Date: Tue, 22 Apr 2003 18:57:05 +0200 Subject: Debian packages? Message-ID: <000701c308f0$34536640$cfdda8c0@nwl.se> HellO! I installed the debian package for nagios-text 1.0-7 But, is there a package for the plugins, or must I build them manually? If so, does anyone have a configure string which works nicely with 1.3.0? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mylists at ame.de Tue Apr 22 19:15:47 2003 From: mylists at ame.de (Matthias Eichler) Date: 22 Apr 2003 19:15:47 +0200 Subject: NIS and DHCP In-Reply-To: <53388.63.237.201.12.1051026882.squirrel@www.lapseofthought.com> References: <3EA55C91.6080401@loria.fr> <53388.63.237.201.12.1051026882.squirrel@www.lapseofthought.com> Message-ID: <1051031746.2846.114.camel@blindzero> Some comment and question to check_dhcp. The DHCP plugin just runs under root, otherwise it brings some error that it can't bind to the network interface. But Nagios is usually not running as root...did you wrote some wrapper with su -c "./check_dhcp" or do you have some other solution?!? Thanks, Matthias On Tue, 2003-04-22 at 17:54, Dan Rich wrote: > Lionel Verscheure said: > > Hi, > > > > I just want to know if it exist already a plugin to test "NIS" and "DHCP" ? > > You can find check_dhcp in the contrib directory of the plugins source. As > far as I know there is no specific plugin for nis, but you can check it with > the check_rpc plugin easily enough: > > define command{ > command_name check_nis > command_line $USER1$/check_rpc ypserv -H $HOSTADDRESS$ -c 2 > } -- Matthias Eichler AME Aigner Media & Entertainment ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drich at employees.org Tue Apr 22 20:10:29 2003 From: drich at employees.org (Dan Rich) Date: Tue, 22 Apr 2003 11:10:29 -0700 (PDT) Subject: NIS and DHCP In-Reply-To: <1051031746.2846.114.camel@blindzero> References: <3EA55C91.6080401@loria.fr> <53388.63.237.201.12.1051026882.squirrel@www.lapseofthought.com> <1051031746.2846.114.camel@blindzero> Message-ID: <47725.63.237.201.12.1051035029.squirrel@www.lapseofthought.com> Matthias Eichler said: > Some comment and question to check_dhcp. The DHCP plugin just > runs under root, otherwise it brings some error that it can't > bind to the network interface. > > But Nagios is usually not running as root...did you wrote some > wrapper with su -c "./check_dhcp" or do you have some other > solution?!? The simplest (although probably not the most secure) is to just setuid the check_dhcp program to root. chown root check_dhcp chmod u+s check_dhcp It's really not that much of a risk, since you have to run it as root anyway. The best option would be to use one of the root wrappers floating around the net. > On Tue, 2003-04-22 at 17:54, Dan Rich wrote: >> Lionel Verscheure said: >> > Hi, >> > >> > I just want to know if it exist already a plugin to test "NIS" and "DHCP" >> ? >> >> You can find check_dhcp in the contrib directory of the plugins source. As >> far as I know there is no specific plugin for nis, but you can check it with >> the check_rpc plugin easily enough: >> >> define command{ >> command_name check_nis >> command_line $USER1$/check_rpc ypserv -H $HOSTADDRESS$ -c 2 >> } > -- > Matthias Eichler > AME Aigner Media & Entertainment > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Dan Rich | http://www.employees.org/~drich/ | "Step up to red alert!" "Are you sure, sir? | It means changing the bulb in the sign..." | - Red Dwarf (BBC) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JCampisi at iona.edu Tue Apr 22 20:27:17 2003 From: JCampisi at iona.edu (Campisi, Joseph) Date: Tue, 22 Apr 2003 14:27:17 -0400 Subject: Host dependencies do not work. Message-ID: <63AAC79ACC12D311B1100060081EF9E704FE58AA@ionanrmail1.iona.edu> Hi All, I'm having a problem with host dependencies. As an example I have the server test1 dependent on navgw1. define hostdependency{ dependent_host_name test1 host_name navgw1 notification_failure_criteria d,u,o } As a test I brought down host navgw1 and test1 to simulate a failure. For some reason, I do not get notified that navgw1 or test1 went down. If I comment out the define hostdependency lines, notifications work properly but I get notified for both servers. Does anyone have any idea? Here is an example of my cfg files. Thanks, Joe define host{ name generic-host check_command check-host-alive max_check_attempts 5 notification_interval 240 notification_period 24x7 notification_options d,u,r 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 - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host{ use generic-host host_name test1 alias test1 address 10.10.10.10 parents navgw1 } -------------- next part -------------- An HTML attachment was scrubbed... URL: From rhenry at ac-technologies.com Tue Apr 22 20:31:42 2003 From: rhenry at ac-technologies.com (rick) Date: 22 Apr 2003 18:31:42 -0000 Subject: Displaying forum postings. Message-ID: <20030422183142.2534.qmail@pod-163.dolphin-server.co.uk> maybe I just don't know what I'm doing here, but when I try and open up almost any posting I get " No Message Body ". There have been a couple postings I could see, but the vast majority come up as empty. R. == ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irenes at wolfram.com Tue Apr 22 21:13:06 2003 From: irenes at wolfram.com (Irene Sakellarakis) Date: Tue, 22 Apr 2003 14:13:06 -0500 (CDT) Subject: Colors in nagios display Message-ID: Netsaint had a nifty color-coordinated way of displaying each of the columns in the output. Is there a way to do this with nagios as well? Thanks, Irene ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Quinney at hollandandholland.com Tue Apr 22 21:24:42 2003 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Tue, 22 Apr 2003 20:24:42 +0100 Subject: Windows Servers Checks In-Reply-To: <20030422165816.GB31030@debian> References: <20030422165816.GB31030@debian> Message-ID: Chris, Thank you for your reply. I have used the extra oids for testing on some servers and the basic set do allow some extra functionality. However I am trying to avoid having to load extra software on servers to reduce the 'burden of network management'. I guess I am looking for a complete alternative to Nsclient - which should do all we want, or a fix to it to make it work properly and reliably. Matthew ____________________________________________ Christian L?w Sent by: nagios-users-admin at lists.sourceforge.net 22/04/2003 17:58 To Matthew.Quinney at hollandandholland.com cc nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] Windows Servers Checks On Tue, Apr 22, 2003 at 12:21:46PM +0100, you wrote: > Thank you for that. We use check_snmp for some checks, but have found that > some oids are not accessible for items such as Terminal Server Sessions > etc. I have found ways of making them accessible but really wanted to cut > down on the amount you have to do to get a box 'working' with Nagios. take a look on http://www.wtcs.org/snmp4tpc/ for more SNMP OIDs Chris ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail has been scanned for viruses by the uuNet Internet Managed Scanning Service - powered by MessageLabs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From happy at usg.edu Tue Apr 22 21:19:57 2003 From: happy at usg.edu (Mark Plaksin) Date: 22 Apr 2003 15:19:57 -0400 Subject: Automatic way to monitor new filesystems? Message-ID: Hi, Is there an way to get Nagios to notice and start monitoring newly-created filesystems? We're looking at Nagios as a replacement for BigBrother. BigBrother does this automatically. We have lots of filesystems on each of our machines; we add and delete database filesystems on a regular basis. We've discussed writing a plugin that returns a warning if a "new" filesystem exists, where "new" means anything that's not in a list of filesystems we provide. And then finding some magic (embedded Perl?) to get the list of monitored filesystems. We've also discussed other similarly complicated scenarios. Does anybody have a pretty solution to this problem? Many thanks! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at cyberjunkees.com Tue Apr 22 21:28:08 2003 From: jim at cyberjunkees.com (Jim Olsen) Date: Tue, 22 Apr 2003 15:28:08 -0400 Subject: Automatic way to monitor new filesystems? In-Reply-To: References: Message-ID: <200304221528.08855.jim@cyberjunkees.com> On Tuesday 22 April 2003 03:19 pm, Mark Plaksin wrote: > Hi, > > Is there an way to get Nagios to notice and start monitoring newly-created > filesystems? We're looking at Nagios as a replacement for BigBrother. > BigBrother does this automatically. We have lots of filesystems on each of > our machines; we add and delete database filesystems on a regular basis. > > We've discussed writing a plugin that returns a warning if a "new" > filesystem exists, where "new" means anything that's not in a list of > filesystems we provide. And then finding some magic (embedded Perl?) to > get the list of monitored filesystems. We've also discussed other > similarly complicated scenarios. > > Does anybody have a pretty solution to this problem? It's my understanding that the check_disk plugin checks all partitions by default - perhaps this would suffice for your needs? -- Jim Olsen Senior Systems Administrator BrowserMedia [http://www.browsermedia.com] 301-656-1144 x165 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Tue Apr 22 21:30:46 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Tue, 22 Apr 2003 15:30:46 -0400 Subject: Debian packages? Message-ID: AFAIK, the plugins are still packaged as netstain-plugins. I run Debian unstable and have nagios and the netstaint plugins installed and working just fine. Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #426: internet is needed to catch the etherbunny "Jan Johansson" To: Sent by: cc: nagios-users-admin at lists.sour Subject: [Nagios-users] Debian packages? ceforge.net 04/22/2003 12:57 PM HellO! I installed the debian package for nagios-text 1.0-7 But, is there a package for the plugins, or must I build them manually? If so, does anyone have a configure string which works nicely with 1.3.0? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg at intouch.ca Tue Apr 22 21:40:34 2003 From: greg at intouch.ca (Greg Webster) Date: Tue, 22 Apr 2003 12:40:34 -0700 Subject: Debian packages? In-Reply-To: References: Message-ID: <20030422124034.5d35aa79.greg@intouch.ca> Depends on the Debian distro. 'stable' still uses Netsaint, but 'testing' and 'unstable' use Nagios. I wish this were different as well. Greg On Tue, 22 Apr 2003 15:30:46 -0400: chbaker at powersystems.rockwell.com skribon:> > AFAIK, the plugins are still packaged as netstain-plugins. I run > Debian unstable and have > nagios and the netstaint plugins installed and working just fine. > > Charles H. Baker > chbaker at powersystems dot rockwell dot com > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > BOFH excuse #426: > internet is needed to catch the etherbunny > > > > "Jan Johansson" > To: > Sent by: cc: > nagios-users-admin at lists.sour Subject: [Nagios-users] Debian packages? > ceforge.net > > > 04/22/2003 12:57 PM > > > > > > HellO! > > I installed the debian package for nagios-text 1.0-7 > > But, is there a package for the plugins, or must I build them > manually? If so, does anyone have a configure string which works > nicely with 1.3.0? > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gopinath_Pulyankote at affymetrix.com Tue Apr 22 21:35:18 2003 From: Gopinath_Pulyankote at affymetrix.com (Pulyankote, Gopinath) Date: Tue, 22 Apr 2003 12:35:18 -0700 Subject: Displaying forum postings. Message-ID: <48F1F432BF75D6118FAC0002B325BE3601A9BB2A@ntex04.affymetrix.com> There is a newsgroup server at news.gmane.org that has this mailing lists posted to newsgroups called gmane.network.nagios.user and gmane.network.netsaint.user. I use that to search for old posts. -G -----Original Message----- From: rick [mailto:rhenry at ac-technologies.com] Sent: Tuesday, April 22, 2003 11:32 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Displaying forum postings. maybe I just don't know what I'm doing here, but when I try and open up almost any posting I get " No Message Body ". There have been a couple postings I could see, but the vast majority come up as empty. R. == ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irenes at wolfram.com Tue Apr 22 21:42:10 2003 From: irenes at wolfram.com (Irene Sakellarakis) Date: Tue, 22 Apr 2003 14:42:10 -0500 (CDT) Subject: Displaying in color Message-ID: In Netsaint, it was possible to display columns in color. Is this possible with Nagios too? Thanks, Irene ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ereyes at galois.dgae.unam.mx Tue Apr 22 22:29:26 2003 From: ereyes at galois.dgae.unam.mx (Enrique Reyes) Date: Tue, 22 Apr 2003 15:29:26 -0500 (CDT) Subject: help Message-ID: Hi I'm Enrique and I have a problem $../bin/nagios -v nagios.cfg Nagios 1.0 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 11-24-2002 License: GPL Reading configuration data... Error: Command 'host-notify-by-epager' has already been defined Error: Could not register command (config file '/home/nagios/etc/commands.cfg', line 29) ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. -- and my file commands.cfg is # 'host-notify-by-epager' command definition define command{ command_name host-notify-by-epager command_line /usr/bin/printf "%b" "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | /bin/mail -s "$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$" $CONTACTPAGER$ } I need help thanks ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From happy at usg.edu Tue Apr 22 22:43:26 2003 From: happy at usg.edu (Mark Plaksin) Date: 22 Apr 2003 16:43:26 -0400 Subject: Automatic way to monitor new filesystems? In-Reply-To: <200304221528.08855.jim@cyberjunkees.com> References: <200304221528.08855.jim@cyberjunkees.com> Message-ID: Jim Olsen writes: > On Tuesday 22 April 2003 03:19 pm, Mark Plaksin wrote: > > Hi, > > > > Is there an way to get Nagios to notice and start monitoring newly-created > > filesystems? We're looking at Nagios as a replacement for BigBrother. > > BigBrother does this automatically. We have lots of filesystems on each of > > our machines; we add and delete database filesystems on a regular basis. > > > > We've discussed writing a plugin that returns a warning if a "new" > > filesystem exists, where "new" means anything that's not in a list of > > filesystems we provide. And then finding some magic (embedded Perl?) to > > get the list of monitored filesystems. We've also discussed other > > similarly complicated scenarios. > > > > Does anybody have a pretty solution to this problem? > > It's my understanding that the check_disk plugin checks all partitions by > default - perhaps this would suffice for your needs? Different folks get notified about different filesystems so it seems we'll need to end up with one Nagios service per filesystem. Or am I missing something? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at cyberjunkees.com Tue Apr 22 22:50:46 2003 From: jim at cyberjunkees.com (Jim Olsen) Date: Tue, 22 Apr 2003 16:50:46 -0400 Subject: help In-Reply-To: References: Message-ID: <200304221650.46305.jim@cyberjunkees.com> On Tuesday 22 April 2003 04:29 pm, Enrique Reyes wrote: > Hi I'm Enrique and I have a problem > $../bin/nagios -v nagios.cfg > Nagios 1.0 > Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) > Last Modified: 11-24-2002 > License: GPL > > Reading configuration data... > > Error: Command 'host-notify-by-epager' has already been defined > > Error: Could not register command (config file > '/home/nagios/etc/commands.cfg', line 29) > > > ***> One or more problems was encountered while processing the config > files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some > variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation on the main and host config files, as well as > the > 'Whats New' section to find out what has changed. Please make sure that none of the other object files in /home/nagios/etc have 'host-notify-by-epager' defined already. -- Jim Olsen Senior Systems Administrator BrowserMedia [http://www.browsermedia.com] 301-656-1144 x165 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at cyberjunkees.com Tue Apr 22 22:53:21 2003 From: jim at cyberjunkees.com (Jim Olsen) Date: Tue, 22 Apr 2003 16:53:21 -0400 Subject: Automatic way to monitor new filesystems? In-Reply-To: References: <200304221528.08855.jim@cyberjunkees.com> Message-ID: <200304221653.21980.jim@cyberjunkees.com> On Tuesday 22 April 2003 04:43 pm, Mark Plaksin wrote: > Different folks get notified about different filesystems so it seems we'll > need to end up with one Nagios service per filesystem. Or am I missing > something? Hrm. Well, you're not missing anything - that's the way it works. You could write a wrapper to get some sort of hack to work, but it won't be pretty. -- Jim Olsen Senior Systems Administrator BrowserMedia [http://www.browsermedia.com] 301-656-1144 x165 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgotner at fhcrc.org Tue Apr 22 22:55:20 2003 From: jgotner at fhcrc.org (Gotner, James) Date: Tue, 22 Apr 2003 13:55:20 -0700 Subject: help Message-ID: <9667A0D2033CD51195F90002B330A3BF04CBA2AA@moe.fhcrc.org> Please post your cfg_file= and cfg_dir= entries from nagios.cfg. This sounds like a problem that I just had. James Gotner Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate -----Original Message----- From: Enrique Reyes [mailto:ereyes at galois.dgae.unam.mx] Sent: Tuesday, April 22, 2003 1:29 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] help Hi I'm Enrique and I have a problem $../bin/nagios -v nagios.cfg Nagios 1.0 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 11-24-2002 License: GPL Reading configuration data... Error: Command 'host-notify-by-epager' has already been defined Error: Could not register command (config file '/home/nagios/etc/commands.cfg', line 29) ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. -- and my file commands.cfg is # 'host-notify-by-epager' command definition define command{ command_name host-notify-by-epager command_line /usr/bin/printf "%b" "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | /bin/mail -s "$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$" $CONTACTPAGER$ } I need help thanks ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Tue Apr 22 22:50:37 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Tue, 22 Apr 2003 16:50:37 -0400 Subject: Debian packages? Message-ID: I checked the debian package search before I replied. The plugins are still packaged as netsaint, although the program itself is packaged as nagios. This is true even for unstable. Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #426: internet is needed to catch the etherbunny Greg Webster To: nagios-users at lists.sourceforge.net Sent by: cc: nagios-users-admin at lists.sour Subject: Re: [Nagios-users] Debian packages? ceforge.net 04/22/2003 03:40 PM Depends on the Debian distro. 'stable' still uses Netsaint, but 'testing' and 'unstable' use Nagios. I wish this were different as well. Greg On Tue, 22 Apr 2003 15:30:46 -0400: chbaker at powersystems.rockwell.com skribon:> > AFAIK, the plugins are still packaged as netstain-plugins. I run > Debian unstable and have > nagios and the netstaint plugins installed and working just fine. > > Charles H. Baker > chbaker at powersystems dot rockwell dot com > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > BOFH excuse #426: > internet is needed to catch the etherbunny > > > > "Jan Johansson" > To: > Sent by: cc: > nagios-users-admin at lists.sour Subject: [Nagios-users] Debian packages? > ceforge.net > > > 04/22/2003 12:57 PM > > > > > > HellO! > > I installed the debian package for nagios-text 1.0-7 > > But, is there a package for the plugins, or must I build them > manually? If so, does anyone have a configure string which works > nicely with 1.3.0? > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steve.Rossen at Parago.Com Tue Apr 22 23:08:23 2003 From: Steve.Rossen at Parago.Com (Steve Rossen) Date: Tue, 22 Apr 2003 16:08:23 -0500 Subject: Monitoring Jboss? Message-ID: <870BC6C69F20D4118ECC009027FC77610672C88B@copexc01.parago.com> Anyone using Nagios to check a Jboss server? I have been trying to get different checks to work but so far have yet to get one to do what I want it to do. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ereyes at galois.dgae.unam.mx Wed Apr 23 00:00:41 2003 From: ereyes at galois.dgae.unam.mx (Enrique Reyes) Date: Tue, 22 Apr 2003 17:00:41 -0500 (CDT) Subject: help1 In-Reply-To: References: Message-ID: Hi thanks but. thanks James 1) in nagios.cgf I have cfg_file=/home/nagios/etc/commands.cfg and nagios is in /home/nagios thanks Jim but 2) $ grep host-notify-by-epager * commands.cfg:# 'host-notify-by-epager' command definition commands.cfg: command_name host-notify-by-epager contacts.cfg: host_notification_commands host-notify-by-email,host-notify-by-epager Gracias Jimie pero 3) en mi archivo de nagios.cfg si tiene el nombre de commands.cgf en lugar de misccommands.cfg any other solution thanks > Hi I'm Enrique and I have a problem > $../bin/nagios -v nagios.cfg > Nagios 1.0 > Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) > Last Modified: 11-24-2002 > License: GPL > > Reading configuration data... > > Error: Command 'host-notify-by-epager' has already been defined > > Error: Could not register command (config file > '/home/nagios/etc/commands.cfg', line 29) > > > ***> One or more problems was encountered while processing the config > files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some > variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation on the main and host config files, as well as > the > 'Whats New' section to find out what has changed. > > -- > and my file commands.cfg is > > # 'host-notify-by-epager' command definition > define command{ > command_name host-notify-by-epager > command_line /usr/bin/printf "%b" "Host '$HOSTALIAS$' is > $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | /bin/mail -s > "$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$" $CONTACTPAGER$ > } > > I need help > thanks > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Apr 23 00:17:14 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 22 Apr 2003 17:17:14 -0500 Subject: Automatic way to monitor new filesystems? Message-ID: > Different folks get notified about different filesystems so > it seems we'll > need to end up with one Nagios service per filesystem. Or am > I missing > something? Don't think you're missing anything. I've defined one Nagios service per filesystem. Not sure how you would propose to have new filesystems automatically monitored, and have some sort of determinism to be able to assign a contact_group to the newly created service. Perhaps with the help of the check_crystal_ball plugin? ;) If you stop and think about it, you're not that far removed from asking the question, "If I plug a new computer with filesystems A B C D E F and G on it, and it's running processes H I J K and L, and we want basic coverage for 'system health' by monitoring certain aspects such as common Nagios services M N O P Q R S and T, how do we get Nagios to automagically recognize the new host, determine what services it is that we want to monitor, assign the appropriate contact_groups to the appropriate services, and make sure custom tweaks such as the 'workhours' timeperiod for services B O F and H are automagically implemented, and oh yeah, we also want it to determine the appropriate parents directive. Can Nagios do that?" ;-) Actually, Nagios *can* do that. But you haven't written the script yet that can do it. ;-) jc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mp at xmission.com Wed Apr 23 00:01:30 2003 From: mp at xmission.com (Myke Place) Date: Tue, 22 Apr 2003 16:01:30 -0600 Subject: uname output plugin? Message-ID: <20030422160130.D22885@xmission.com> Has anybody come up with a way to monitor kernel versions on machines using Nagios and NRPE? I'm thinking about writing something like this, but I don't want to redo something that's already been tried. Thoughts? -mp -- I think computer viruses should count as life. I think it says something about human nature that the only life we have created so far is purely destructive. We've created life in our own image. -Steven Hawking ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Apr 23 00:44:12 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 22 Apr 2003 17:44:12 -0500 Subject: Displaying in color Message-ID: Could you be a little more specific, for those of us who are unfamiliar with Netsaint? jc > -----Original Message----- > From: Irene Sakellarakis [mailto:irenes at wolfram.com] > Sent: Tuesday, April 22, 2003 2:42 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Displaying in color > > > In Netsaint, it was possible to display columns in color. Is > this possible > with Nagios too? > > Thanks, > Irene > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DanielJ at avatar-cs.net Wed Apr 23 01:38:56 2003 From: DanielJ at avatar-cs.net (Daniel Jimenez) Date: Tue, 22 Apr 2003 18:38:56 -0500 Subject: Error: Could not stat() command file '/usr/local/nagios/var/rw/na gios.cmd'! Message-ID: <115F85A8196CD411BBAB0008C759066182060C@FS01> List, Randomly, I am unable to send commands to Nagios. It was working okay. When I do I get: Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! I have made no changes to the server, nor have others. ---- [root at johnny5 var]# ls -alsh total 52K 4.0K drwxrwxr-x 4 nagios nagios 4.0K Apr 22 18:47 . 4.0K drwxrwxr-x 7 nagios nagios 4.0K Apr 7 15:40 .. 4.0K drwxrwxr-x 2 nagios nagios 4.0K Apr 22 00:00 archives 4.0K -rw-rw-r-- 1 nagios nagios 1.1K Apr 22 18:35 comment.log 0 -rw-rw-r-- 1 nagios nagios 0 Apr 22 18:35 downtime.log 4.0K -rw-r--r-- 1 root root 4 Apr 22 18:35 nagios.lock 12K -rw-rw-r-- 1 nagios nagios 8.8K Apr 22 18:35 nagios.log 4.0K drwxrws--- 2 nagios nagiocmd 4.0K Apr 22 18:35 rw 8.0K -rw-rw-r-- 1 nagios nagios 5.6K Apr 22 18:47 status.log 8.0K -rw-rw-r-- 1 nagios nagios 4.2K Apr 22 18:35 status.sav --- [root at johnny5 rw]# ls -alsh total 8.0K 4.0K drwxrws--- 2 nagios nagiocmd 4.0K Apr 22 18:35 . 4.0K drwxrwxr-x 4 nagios nagios 4.0K Apr 22 18:52 .. 0 prw-rw---- 1 nagios nagiocmd 0 Apr 22 18:35 nagios.cmd I'm not sure what the issue is, could anyone provide pointers? I've checked the FAQs and Docs, yet I see nothing that fixes the issue. Daniel Jimenez Systems Administrator Avatar Computer Solutions, Inc. Network Support, Voice / Data Cabling, and Internet Services 340 N. Sam Houston Parkway E. Suite #265 Voice: 281.999.1300 / 888.503.0503 Fax: 281.999.7070 Web: www.avatar-cs.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Wed Apr 23 02:00:55 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 22 Apr 2003 19:00:55 -0500 Subject: Error: Could not stat() command file '/usr/local/nagios/var/rw/na gios.cmd'! Message-ID: <5DB017510818EC468B05BD7BD9EACF83030EDD3D@mismail.ena.com> Is your web server a member of group 'nagioscmd' and been restarted since adding it to the group? Maybe someone changed that? Permissions wise, everything looks fine. -- Marc _____ From: Daniel Jimenez [mailto:DanielJ at avatar-cs.net] Sent: Tuesday, April 22, 2003 6:39 PM To: nagios-users at lists.sourceforge.net List, Randomly, I am unable to send commands to Nagios. It was working okay. When I do I get: Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! I have made no changes to the server, nor have others. ---- [root at johnny5 var]# ls -alsh total 52K 4.0K drwxrwxr-x 4 nagios nagios 4.0K Apr 22 18:47 . 4.0K drwxrwxr-x 7 nagios nagios 4.0K Apr 7 15:40 .. 4.0K drwxrwxr-x 2 nagios nagios 4.0K Apr 22 00:00 archives 4.0K -rw-rw-r-- 1 nagios nagios 1.1K Apr 22 18:35 comment.log 0 -rw-rw-r-- 1 nagios nagios 0 Apr 22 18:35 downtime.log 4.0K -rw-r--r-- 1 root root 4 Apr 22 18:35 nagios.lock 12K -rw-rw-r-- 1 nagios nagios 8.8K Apr 22 18:35 nagios.log 4.0K drwxrws--- 2 nagios nagiocmd 4.0K Apr 22 18:35 rw 8.0K -rw-rw-r-- 1 nagios nagios 5.6K Apr 22 18:47 status.log 8.0K -rw-rw-r-- 1 nagios nagios 4.2K Apr 22 18:35 status.sav --- [root at johnny5 rw]# ls -alsh total 8.0K 4.0K drwxrws--- 2 nagios nagiocmd 4.0K Apr 22 18:35 . 4.0K drwxrwxr-x 4 nagios nagios 4.0K Apr 22 18:52 .. 0 prw-rw---- 1 nagios nagiocmd 0 Apr 22 18:35 nagios.cmd I'm not sure what the issue is, could anyone provide pointers? I've checked the FAQs and Docs, yet I see nothing that fixes the issue. Daniel Jimenez Systems Administrator Avatar Computer Solutions, Inc. Network Support, Voice / Data Cabling, and Internet Services 340 N. Sam Houston Parkway E. Suite #265 Voice: 281.999.1300 / 888.503.0503 Fax: 281.999.7070 Web: www.avatar-cs.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From DanielJ at avatar-cs.net Wed Apr 23 02:11:24 2003 From: DanielJ at avatar-cs.net (Daniel Jimenez) Date: Tue, 22 Apr 2003 19:11:24 -0500 Subject: Error: Could not stat() command file '/usr/loc al/nagios/var/rw/na gios.cmd'! Message-ID: <115F85A8196CD411BBAB0008C759066182060D@FS01> All, Sorry for the HTML. Outlook didn't obey. Daniel -----Original Message----- From: Daniel Jimenez Sent: Tuesday, April 22, 2003 6:39 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Error: Could not stat() command file '/usr/local/nagios/var/rw/na gios.cmd'! List, Randomly, I am unable to send commands to Nagios. It was working okay. When I do I get: Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! I have made no changes to the server, nor have others. ---- [root at johnny5 var]# ls -alsh total 52K 4.0K drwxrwxr-x 4 nagios nagios 4.0K Apr 22 18:47 . 4.0K drwxrwxr-x 7 nagios nagios 4.0K Apr 7 15:40 .. 4.0K drwxrwxr-x 2 nagios nagios 4.0K Apr 22 00:00 archives 4.0K -rw-rw-r-- 1 nagios nagios 1.1K Apr 22 18:35 comment.log 0 -rw-rw-r-- 1 nagios nagios 0 Apr 22 18:35 downtime.log 4.0K -rw-r--r-- 1 root root 4 Apr 22 18:35 nagios.lock 12K -rw-rw-r-- 1 nagios nagios 8.8K Apr 22 18:35 nagios.log 4.0K drwxrws--- 2 nagios nagiocmd 4.0K Apr 22 18:35 rw 8.0K -rw-rw-r-- 1 nagios nagios 5.6K Apr 22 18:47 status.log 8.0K -rw-rw-r-- 1 nagios nagios 4.2K Apr 22 18:35 status.sav --- [root at johnny5 rw]# ls -alsh total 8.0K 4.0K drwxrws--- 2 nagios nagiocmd 4.0K Apr 22 18:35 . 4.0K drwxrwxr-x 4 nagios nagios 4.0K Apr 22 18:52 .. 0 prw-rw---- 1 nagios nagiocmd 0 Apr 22 18:35 nagios.cmd I'm not sure what the issue is, could anyone provide pointers? I've checked the FAQs and Docs, yet I see nothing that fixes the issue. Daniel Jimenez Systems Administrator Avatar Computer Solutions, Inc. Network Support, Voice / Data Cabling, and Internet Services 340 N. Sam Houston Parkway E. Suite #265 Voice: 281.999.1300 / 888.503.0503 Fax: 281.999.7070 Web: www.avatar-cs.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Apr 23 02:43:22 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 23 Apr 2003 10:43:22 +1000 Subject: uname output plugin? In-Reply-To: <20030422160130.D22885@xmission.com>; from mp@xmission.com on Tue, Apr 22, 2003 at 04:01:30PM -0600 References: <20030422160130.D22885@xmission.com> Message-ID: <20030423104320.B73293@IPAustralia.Gov.AU> Dear Sir, On Tue, Apr 22, 2003 at 04:01:30PM -0600, Myke Place wrote: > Has anybody come up with a way to monitor kernel versions on machines > using Nagios and NRPE? I'm thinking about writing something like this, but > I don't want to redo something that's already been tried. Thoughts? > ssh uname -a | grep what_it_should_be (sounds like a candidate for check_by_ssh). 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 23 03:36:27 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 22 Apr 2003 21:36:27 -0400 (EDT) Subject: Monitor network usage In-Reply-To: <20030422003726.8755.qmail@pod-163.dolphin-server.co.uk> References: <20030422003726.8755.qmail@pod-163.dolphin-server.co.uk> Message-ID: On 22 Apr 2003, Nuno Barros wrote: > > I want to monitor the bandwich that each host is using. Someone can help > me where i can find something that can help me to develop a plugin? > > If there's a plugin already made better... > > Thanks in advance > > Nuno Barros > > Nagios is not currently designed to do bandwidth monitoring. You will be better off using of of the RRDTool (rrdtool.org) based frontends like Cricket or integrating APAN (apan.sourceforge.net) -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 23 03:27:32 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 22 Apr 2003 21:27:32 -0400 (EDT) Subject: [Nagiosplug-help] perfdata output of Nagios Plugins 1.3.0 In-Reply-To: <1050863051.1765.1.camel@blindzero> References: <1050863051.1765.1.camel@blindzero> Message-ID: About the timeframe for 1.4 - there is no deadline that has yet been proposed as a number of relatively significant changes are being made... IPv6 support check_disk - without going to df (GNU binutils code support) check_snmp - using net-snmp api and lib; remove limitation on oids check_dns/check_dig/check_netdns - possible consolidations/ new functions. Also we recently talked about adding gettext and i18n support to the plugin output. There will be a 1.3.x release as fixes are still being applied to that branch. So if you have aptches for check_snmp perfdata, that can be integrated into 1.3.x - we will include it. If we doen't see any major influx of bug reports on 1.3, and new 1.3.x release may be made late May/early June. -sg On 20 Apr 2003, Matthias Eichler wrote: > Hi, > > so do you have some informations about snmp? > what is the timeframe for 1.4? > maybe we can provide some patches for perfdata support, because > we have some customer who wants to process the perfdata but does > not want to use APAN...:-/ > > Thanks, > > Matthias > > On Sun, 2003-04-20 at 15:35, Subhendu Ghosh wrote: > > On 20 Apr 2003, Matthias Eichler wrote: > > > > > Hi Everybody, > > > > > > some easy question for which I did not find any specific > > > answer in the docs, but Ethan's note that a lot of the > > > Plugins does not support the performance data output yet. > > > > > > Does anybody can say which plugins of 1.3.0 support this > > > output already? I've tested it and it seems that only the > > > check_http plugin supports the performance data output... > > > > > > Is that right or am I just too stupid?!? > > > Does anybody knows which plugins support it or which of > > > them will support it soon?!? > > > > > > Thanks, > > > > > > Matthias Eichler > > > > > > > > > > One of the goals for 1.4 is to provide perfdata support. > > > > mailq already has it. > > ping has patch on SF that needs testing > > fping needs a similar patch > > ifstatus is almost there > > disk has been completely re-written so exiting patch won't work. > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 23 03:29:35 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 22 Apr 2003 21:29:35 -0400 (EDT) Subject: RES: RES: Re: Fwd: Re: [Nagiosplug-help] Plugin help and needed! In-Reply-To: <1050902592.13124.2.camel@miles.debisschop.net> References: <1050902592.13124.2.camel@miles.debisschop.net> Message-ID: Also please check the version of negate you are using. There was a post 1.3 relase patch applied to CVS. -sg On 21 Apr 2003, Karl DeBisschop wrote: > On Sun, 2003-04-20 at 15:59, Sandro Vaz (UOL) wrote: > > Jasmine. > > > > Yeah, there?s a problem. In my checkcommands I?ve put: > > > > define command{ > > command_name check_port_closed > > command_line $USER1$/negate "$USER1$/check_tcp -H $HOSTADDRESS$ > > -p 81" > > } > > > > And the at Nagios interface we have a critical, where we should have an OK > > state, because the host has no 81 port open. > > > > Can someone help? > > Use single quotes: > > USER1$/negate '$USER1$/check_tcp -H $HOSTADDRESS$ -p 81' > > Actually, the intent was mo quotes were needed at all, but some released > versions do no require POSIX ordering of options, so the above should be > more reliable (since as far as I can tell, not one of you thought to > mention what version you were using) > > -- > Karl > > > TIA, > > > > SMV > > > > -----Mensagem original----- > > De: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Jasmine > > Enviada em: domingo, 20 de abril de 2003 14:16 > > Para: Sandro Vaz (UOL); nagios-users at lists.sourceforge.net > > Assunto: Fwd: RES: Re: [Nagios-users] Fwd: Re: [Nagiosplug-help] Plugin help > > and needed! > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hi > > > > I have tried that, but nothing happens. So i did an strace and this is how > > it > > looks like. > > > > $ strace ./negate "./check_tcp -H x.x.x.x -p 80" execve("./negate", > > ["./negate", "./check_tcp -H x.x.x.x -p 80"], [/* 28 vars > > */]) = 0 > > strace: exec: Exec format error > > > > > > On Monday 21 April 2003 00:41, you wrote: > > > Looking at the previous e-mail, I believe it?s... > > > > > > ./negate "./check_tcp -H -p " > > > > > > HTH, > > > > > > SMV > > > > > > -----Mensagem original----- > > > De: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Jasmine > > > Enviada em: domingo, 20 de abril de 2003 11:48 > > > Para: nagios-users at lists.sourceforge.net > > > Assunto: Fwd: Re: [Nagios-users] Fwd: Re: [Nagiosplug-help] Plugin > > > help and needed! > > > > > > > > > I still having problems in using the negate script it says to come > > > with a wrapped plugin. > > > > > > its this how execute it? > > > ./negate "check_tcp -H x.x.x.x -p 80"? > > > > > > the help does not reveal much about how to use it. And, I am not very > > > familiar with C language for the source code to see how it works. > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 23 03:40:18 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 22 Apr 2003 21:40:18 -0400 (EDT) Subject: Could not locate a running Nagios process! In-Reply-To: <3EA50F3C.1030902@etsetb.upc.es> References: <3EA50F3C.1030902@etsetb.upc.es> Message-ID: On Tue, 22 Apr 2003, Francesc Guasch wrote: > Hi. I had a nagios server up and running. I upgraded some > packages and now I can't send commands to the web interface. > I check the FAQ and it all looks fine. > > This is RedHat 7.3 with nagios-1.0-1 and nagios-www-1.0-1. > I upgraded the kernel and apache. I also added iptables but > I turned it off just in case. The web interface works > well. But I can't send the commands. The nagios process > information screen shows this: > > PROCESS INFORMATION > Nagios PID 24611 > Notifications Enabled? YES > Service Checks Being Executed? YES > Passive Service Checks Being Accepted? YES > > PROCESS STATUS INFORMATION > Process Status: CRITICAL > Check Command Output: Could not locate a running > Nagios process! > > I checked the FAQ about the command directory. It's not > exactly the same from the RPM, but it looks ok: > drwxrwsr-x 2 nagios apache 4096 abr 22 11:36 nagios/ > prw-rw---- 1 nagios apache 0 abr 22 11:36 nagios.cmd > > There is nothing in the message.log nor nagios log files. > > What else can I try ? > > thank you. > > is the web server running as apache? -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benjy at feen.com Wed Apr 23 03:56:18 2003 From: benjy at feen.com (Benjamin Feen) Date: Tue, 22 Apr 2003 18:56:18 -0700 Subject: Different escalations for day vs night? Message-ID: <20030423015618.GD22325@pianosa.catch22.org> Hi all, Here's a fun challenge: In my environment, we need to have two different escalation schemes: one for work hours and one for offhours. 8AM-9PM M-F: 1. Email unixteam 2. After 5 minutes, page unixadmin1. 3. If unixadmin1 doesn't respond within 15 minutes, page unixadmin2 4. If unixadmin2 doesn't respond within (another) 15 minutes, page unixadmin3 The night and weekend schedule is similar, but the delays are 30 minutes. This kind of thing is pretty common... how are folks implementing split schedules like this? This would all be so easy if you could specify a time period in escalations... is that coming in 2.0? Please? :) Thanks in advance, B -- Benjamin Feen benjamin(AT)feen.com http://www.monkeybagel.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Apr 23 06:20:16 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 23 Apr 2003 00:20:16 -0400 Subject: Automatic way to monitor new filesystems? In-Reply-To: References: Message-ID: <1051071616.1035.10.camel@miles.debisschop.net> On Tue, 2003-04-22 at 15:19, Mark Plaksin wrote: > Hi, > > Is there an way to get Nagios to notice and start monitoring newly-created > filesystems? We're looking at Nagios as a replacement for BigBrother. > BigBrother does this automatically. We have lots of filesystems on each of > our machines; we add and delete database filesystems on a regular basis. > > We've discussed writing a plugin that returns a warning if a "new" > filesystem exists, where "new" means anything that's not in a list of > filesystems we provide. And then finding some magic (embedded Perl?) to > get the list of monitored filesystems. We've also discussed other > similarly complicated scenarios. > > Does anybody have a pretty solution to this problem? check_disk will monitor all file_systems if you don't specify which one to check. It does not flag 'new' file systems in ths manner. If you add and delete filesystems routinely, why do you want this warning mode? -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at nwl.se Wed Apr 23 08:06:53 2003 From: jan.johansson at nwl.se (Jan Johansson) Date: Wed, 23 Apr 2003 08:06:53 +0200 Subject: Debian packages? In-Reply-To: References: Message-ID: <000301c3095e$89aa48c0$cfdda8c0@nwl.se> >I checked the debian package search before I replied. The plugins >are still packaged as netsaint, although the program itself is packaged >as nagios. This is true even for unstable. > Noticed that, but if I install netsaint-plugins, they seem to be installed in the wrong directory? Well, atleast my nagios doesn't "see" them, even after a update-nagios? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at nwl.se Wed Apr 23 08:10:00 2003 From: jan.johansson at nwl.se (Jan Johansson) Date: Wed, 23 Apr 2003 08:10:00 +0200 Subject: Debian packages? In-Reply-To: References: Message-ID: <000401c3095e$f9173790$cfdda8c0@nwl.se> >I checked the debian package search before I replied. The plugins >are still packaged as netsaint, although the program itself is packaged >as nagios. This is true even for unstable. And ewven if copying the plugs manually.. I still don't have check_hpjd et. Al.? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at nwl.se Wed Apr 23 09:17:30 2003 From: jan.johansson at nwl.se (Jan Johansson) Date: Wed, 23 Apr 2003 09:17:30 +0200 Subject: exthostinfo Message-ID: <000a01c30968$670c6460$cfdda8c0@nwl.se> >From cgi.cfg hostextinfo[ndc2-radio-1]=;airo350.gif;airo350.jpg;airo350.gd2;Cisco Aironet 350;;; hooch:~/Download/nagios# ls -la /usr/share/nagios/htdocs/images/logos/airo* -rw-r--r-- 1 root root 133120 Apr 23 09:11 /usr/share/nagios/htdocs/images/logos/airo350.gd2 -rw-r--r-- 1 root root 1667 Apr 23 09:11 /usr/share/nagios/htdocs/images/logos/airo350.gif -rw-r--r-- 1 root root 4065 Apr 23 09:11 /usr/share/nagios/htdocs/images/logos/airo350.jpg -rw-r--r-- 1 root root 1879 Apr 23 09:11 /usr/share/nagios/htdocs/images/logos/airo350.png Yet the icon for ndc2-radio-1 is still a "?" in status map? (yes, I did even restart nagios) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mathhew.Johnston at tma.co.uk Wed Apr 23 11:28:39 2003 From: Mathhew.Johnston at tma.co.uk (Mathhew Johnston) Date: Wed, 23 Apr 2003 10:28:39 +0100 Subject: Scheduling service checks Message-ID: Hi, Is it possible to schedule a group of services to be checked at the same time. For example we want to monitor a remote server for HTTP, multiple web site page checks, and other TCP ports to check if the connections are up, and also check DNS lookups on a DNS which is used for this remote server. We would want to have these service checks grouped together so that they are checked at the same time, this way we could see what may have effected the outage of 1 or more services (i.e. DNS lookup failure, Network link failure, single service/web site failure or host failure), at the moment having the services interleaved (even if the services were not interleaved, i.e. 1 at a time the check time between the different services could be to large) it can sometimes be difficult to determine what has failed, especially if it is for a small amount of time (checks based on 3min interval) as the outage may have come back up before the other checks had been run. Thanks in advance, Mat. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Wed Apr 23 13:22:45 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-15?Q?Fredrik_W=E4nglund?=) Date: Wed, 23 Apr 2003 13:22:45 +0200 Subject: Monitor network usage References: <20030422003726.8755.qmail@pod-163.dolphin-server.co.uk> Message-ID: <3EA67785.8000609@datavis.se> Maybe Apan will work for you, apan.sourceforge.net /FredrikW Nuno Barros wrote: >I want to monitor the bandwich that each host is using. Someone can help me where i can find something that can help me to develop a plugin? > >If there's a plugin already made better... > >Thanks in advance > >Nuno Barros > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.clayton at intec.co.za Wed Apr 23 13:32:27 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Wed, 23 Apr 2003 13:32:27 +0200 Subject: uname output plugin? Message-ID: <9290BC9741D67F43BDAAC84144FF870DB6938B@intecserver007.intec.co.za> This is what I did Install the following in my nrpe.cfg config file "command[check_uname]=/sbin/uname -a" an created a service entry with the following "check_command check_nrpe!check_uname" cheers -----Original Message----- From: Myke Place [mailto:mp at xmission.com] Sent: Wednesday, April 23, 2003 12:02 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] uname output plugin? Has anybody come up with a way to monitor kernel versions on machines using Nagios and NRPE? I'm thinking about writing something like this, but I don't want to redo something that's already been tried. Thoughts? -mp -- I think computer viruses should count as life. I think it says something about human nature that the only life we have created so far is purely destructive. We've created life in our own image. -Steven Hawking ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Conaway at HOSystems.com Wed Apr 23 14:20:43 2003 From: Aaron.Conaway at HOSystems.com (Aaron Conaway) Date: Wed, 23 Apr 2003 08:20:43 -0400 Subject: exthostinfo Message-ID: <7D55A9A792CFA24C8918768B5F977A21C631F2@quigon.hosystems> chmod 755? ---------- Aaron Conaway Network Engineer III Verisign, Inc. -- Telecom Services Division http://www.verisign.com Office: 912.527.4343 Fax: 912.527.4014 -----Original Message----- From: Jan Johansson [mailto:jan.johansson at nwl.se] Sent: Wednesday, April 23, 2003 3:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] exthostinfo >From cgi.cfg hostextinfo[ndc2-radio-1]=;airo350.gif;airo350.jpg;airo350.gd2;Cisco Aironet 350;;; hooch:~/Download/nagios# ls -la /usr/share/nagios/htdocs/images/logos/airo* -rw-r--r-- 1 root root 133120 Apr 23 09:11 /usr/share/nagios/htdocs/images/logos/airo350.gd2 -rw-r--r-- 1 root root 1667 Apr 23 09:11 /usr/share/nagios/htdocs/images/logos/airo350.gif -rw-r--r-- 1 root root 4065 Apr 23 09:11 /usr/share/nagios/htdocs/images/logos/airo350.jpg -rw-r--r-- 1 root root 1879 Apr 23 09:11 /usr/share/nagios/htdocs/images/logos/airo350.png Yet the icon for ndc2-radio-1 is still a "?" in status map? (yes, I did even restart nagios) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at nwl.se Wed Apr 23 14:53:47 2003 From: jan.johansson at nwl.se (Jan Johansson) Date: Wed, 23 Apr 2003 14:53:47 +0200 Subject: exthostinfo In-Reply-To: <7D55A9A792CFA24C8918768B5F977A21C631F2@quigon.hosystems> References: <7D55A9A792CFA24C8918768B5F977A21C631F2@quigon.hosystems> Message-ID: <000a01c30997$611cb990$cfdda8c0@nwl.se> >chmod 755? Made no difference alas. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at eventhorizon.ca Wed Apr 23 16:22:42 2003 From: chris at eventhorizon.ca (chris at eventhorizon.ca) Date: Wed, 23 Apr 2003 08:22:42 -0600 Subject: Perfomance Data Problem on Solaris 2.6 Message-ID: <20030423142242.GB6241@eventhorizon.ca> Hi Folks, We seem to be having a problem with perfomance data collection on our Nagios box. It's currently running on Solaris 2.6. We are running Nagios 1.0 and we compiled with the performance data options. Everything works fine when we enable perforamnce data stats for about 2 or 3 hours then the Nagios process just dies. There is no core dump or any indication of a problem, the process just stops. So of course we have no monitoring. Has anybody seen this before or know of anything I might check to resolve this problem? Thanks in advance. -- Chris Rothecker chris at eventhorizon.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at nwl.se Wed Apr 23 15:42:36 2003 From: jan.johansson at nwl.se (Jan Johansson) Date: Wed, 23 Apr 2003 15:42:36 +0200 Subject: exthostinfo (contd) In-Reply-To: <000a01c30968$670c6460$cfdda8c0@nwl.se> References: <000a01c30968$670c6460$cfdda8c0@nwl.se> Message-ID: <001401c3099e$32f20370$cfdda8c0@nwl.se> Uhm, okay, now i see the icon in the popup window.. but not on the statusmap.. is that how it should be, or can I get the questionmarks replaced with the icon in question? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Quinney at hollandandholland.com Wed Apr 23 15:28:17 2003 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Wed, 23 Apr 2003 14:28:17 +0100 Subject: NSClient In-Reply-To: <2B6CA561B67B72418738D8F3D7853DA3010DA127@20-exchange-1.infraserv.com> References: <2B6CA561B67B72418738D8F3D7853DA3010DA127@20-exchange-1.infraserv.com> Message-ID: Dear All, On the subject of Nsclient and monitoring Windows servers I was wondering if anybody has got Nsclient monitoring Windows 2000 SP3 performance monitors reliably. We are using Nagios V1.0 and Plugins 1.3.0. If anybody is then please let me know - then I can assume I am doing something wrong. I accept that you can install other SNMP counters etc, but I am trying to make network monitoring as easy as possible - with as fewer clients installed on servers. I have included a sample check command below. I'd be greateful of any help !! Thanks Matthew define command{ command_name check_nt_pagingfile command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\\Paging File(_Total)\\% Usage","Paging file usage is %.2f %%" -w 70 -c 80 } -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jeremy.Russell at chickasaw.net Wed Apr 23 16:35:48 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Wed, 23 Apr 2003 09:35:48 -0500 Subject: NSClient Message-ID: <352B04312822444A962714393AED8A4D1138B5@ADAEVS01.int.chickasaw.net> Yes, we run NSClient on several 2k Servers with SP3, I havn't attempted to check counters but the builtins work fine. The only trouble I came across was when I tried to poll info from our Exchange Cluster Virtual Server. It would cause a wierd unrelated error that would take the exchange server down. But other than that it works like a charm. What is happening with yours exactly? -----Original Message----- From: Matthew.Quinney at hollandandholland.com [mailto:Matthew.Quinney at hollandandholland.com] Sent: Wednesday, April 23, 2003 8:28 AM To: Schindewolf, Stefan, Infraserv-Hoechst/DE Cc: 'nagios-users at lists.sourceforge.net'; nagios-users-admin at lists.sourceforge.net; 'nagiosplug-devel at lists.sourceforge.net'; 'rubiyz1047 at swyz.com' Subject: [Nagios-users] NSClient Dear All, On the subject of Nsclient and monitoring Windows servers I was wondering if anybody has got Nsclient monitoring Windows 2000 SP3 performance monitors reliably. We are using Nagios V1.0 and Plugins 1.3.0. If anybody is then please let me know - then I can assume I am doing something wrong. I accept that you can install other SNMP counters etc, but I am trying to make network monitoring as easy as possible - with as fewer clients installed on servers. I have included a sample check command below. I'd be greateful of any help !! Thanks Matthew define command{ command_name check_nt_pagingfile command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\\Paging File(_Total)\\% Usage","Paging file usage is %.2f %%" -w 70 -c 80 } -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Wed Apr 23 16:33:16 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 23 Apr 2003 10:33:16 -0400 (EDT) Subject: exthostinfo In-Reply-To: <000a01c30997$611cb990$cfdda8c0@nwl.se> References: <000a01c30997$611cb990$cfdda8c0@nwl.se> Message-ID: Can you run statusmap on the commandline under strace to see if it is actually trying to "read" the logos? -sg On Wed, 23 Apr 2003, Jan Johansson wrote: > > >chmod 755? > > Made no difference alas. > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atifbutt77 at hotmail.com Wed Apr 23 15:08:18 2003 From: atifbutt77 at hotmail.com (@tif Butt) Date: Wed, 23 Apr 2003 13:08:18 +0000 Subject: need help !!!! Message-ID: An HTML attachment was scrubbed... URL: From mucner at pilgerer.org Wed Apr 23 15:25:07 2003 From: mucner at pilgerer.org (mucner) Date: 23 Apr 2003 13:25:07 -0000 Subject: sms by dtag isdn Message-ID: <20030423132507.8321.qmail@pod-163.dolphin-server.co.uk> hi all, iam looking for a solution to send sms alerts by dtag (Deutsche Telekom) isdn. I found a little windows application http://www.telekom.de/dtag/faq2/download/0,10302,796-3-777-1 ,00.html and iam wondering if some1 found a way to send isdn sms's using a unix system and dtag protocol. pls let me know if there is a chance, best regards, marc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at dhl.com Wed Apr 23 15:26:48 2003 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Wed, 23 Apr 2003 10:26:48 -0300 Subject: Integration With Other Software Message-ID: <001101c3099b$fee42010$7f023702@sao2127> I looked for information about the integration of Nagios with MRTG, but I didn't found. Anybody help me ? Thanks, Hugo ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at nwl.se Wed Apr 23 16:42:40 2003 From: jan.johansson at nwl.se (Jan Johansson) Date: Wed, 23 Apr 2003 16:42:40 +0200 Subject: exthostinfo In-Reply-To: References: Message-ID: <000901c309a6$9749c080$cfdda8c0@nwl.se> >Can you run statusmap on the commandline under strace to see if it is >actually trying to "read" the logos? Just solved it. It doesn't work with the .gd2 images from the "berhnard" imagaepack.. But others work. No idea why.. but atleast I found the reason. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmunoz at comcel.com.co Wed Apr 23 15:47:05 2003 From: jmunoz at comcel.com.co (=?iso-8859-1?Q?Jose_Orlando_Mu=F1oz_Bravo_=28HP=29?=) Date: Wed, 23 Apr 2003 08:47:05 -0500 Subject: How to check DISK in Windows 2000 Server Message-ID: Hi all, I'm looking for a pluging or something like that to check a compressed disk over Windows 2000 server. check_nt->NSCLIENT and SNMP do not permit this function Thanks in advanced for any answer or idea. jomb ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cian at logic.bm Wed Apr 23 15:48:04 2003 From: cian at logic.bm (Cian O'Sullivan) Date: Wed, 23 Apr 2003 10:48:04 -0300 Subject: Hosts and services viewable based on individual authentication Message-ID: Hello, I have about 800 hosts that are being watched by Nagios. I want to give individuals access to their own hosts, and be able to generate reports, or schedule downtime for their hosts on an individual host by host basis. user a user b user c host a host b host c Can I have it so someone logs in, and based on their username it will only display "host a" if user a logged in? I currently have a system like this working for Cricket, where the cgi looks at your logged in name, and will only display hosts listed in a database for that user. Any comments on this? Cheers cian -----Original Message----- From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] Sent: Wednesday, April 23, 2003 8:23 AM To: Nuno Barros Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitor network usage Maybe Apan will work for you, apan.sourceforge.net /FredrikW Nuno Barros wrote: >I want to monitor the bandwich that each host is using. Someone can help me where i can find something that can help me to develop a plugin? > >If there's a plugin already made better... > >Thanks in advance > >Nuno Barros > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Wed Apr 23 14:27:48 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Wed, 23 Apr 2003 08:27:48 -0400 Subject: Debian packages? Message-ID: There is also a netsaint-plugins-extras package. Or something like that. I don't know why yours doesn't see the plugins. I didn't do anything extra for mine. The plugin configs are in /usr/share/netsaint/pluginconfig and they all point to the plugins in /usr/lib/nagios/plugins. So it appears that the migration to nagios from netsaint just isn't complete yet. The perils of running debian unstable ;-) Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #341: HTTPD Error 666 : BOFH was here "Jan Johansson" wl.se> cc: Subject: RE: [Nagios-users] Debian packages? 04/23/2003 02:10 AM >I checked the debian package search before I replied. The plugins >are still packaged as netsaint, although the program itself is packaged >as nagios. This is true even for unstable. And ewven if copying the plugs manually.. I still don't have check_hpjd et. Al.? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 23 17:55:37 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 23 Apr 2003 11:55:37 -0400 (EDT) Subject: Hosts and services viewable based on individual authentication In-Reply-To: References: Message-ID: On Wed, 23 Apr 2003, Cian O'Sullivan wrote: > Hello, > > I have about 800 hosts that are being watched by Nagios. I want to give > individuals access to their own hosts, and be able to generate reports, > or schedule downtime for their hosts on an individual host by host > basis. > > user a > user b > user c > > > host a > host b > host c > > Can I have it so someone logs in, and based on their username it will > only display "host a" if user a logged in? > > I currently have a system like this working for Cricket, where the cgi > looks at your logged in name, and will only display hosts listed in a > database for that user. > > Any comments on this? > > Cheers > > cian > Isn't this what we use contacts for? - of course you will needs more contact groups at that granularity. -- -sg BTW: It would be nice to start a new message instead of replying to an different thread of conversation. Breaks all the MUA and archive threading. -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Wed Apr 23 18:18:52 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Wed, 23 Apr 2003 11:18:52 -0500 Subject: Hosts and services viewable based on individual authentication Message-ID: <352B04312822444A962714393AED8A4D026844@ADAEVS01.int.chickasaw.net> I think he is wanting to do a more detailed scheme. As far as I know the contacts are setup in the cgi.cfg for all hosts and all services and all host commands etc... He seems to want to so things that maps a contact to a single host or hostgroup (??). Im not sure if its possible, as far as I can tell you would have to hack at the cgi's source, but I could be wrong. -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Wednesday, April 23, 2003 10:56 AM To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Hosts and services viewable based on individual authentication On Wed, 23 Apr 2003, Cian O'Sullivan wrote: > Hello, > > I have about 800 hosts that are being watched by Nagios. I want to > give individuals access to their own hosts, and be able to generate > reports, or schedule downtime for their hosts on an individual host by > host basis. > > user a > user b > user c > > > host a > host b > host c > > Can I have it so someone logs in, and based on their username it will > only display "host a" if user a logged in? > > I currently have a system like this working for Cricket, where the cgi > looks at your logged in name, and will only display hosts listed in a > database for that user. > > Any comments on this? > > Cheers > > cian > Isn't this what we use contacts for? - of course you will needs more contact groups at that granularity. -- -sg BTW: It would be nice to start a new message instead of replying to an different thread of conversation. Breaks all the MUA and archive threading. -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From happy at usg.edu Wed Apr 23 14:14:09 2003 From: happy at usg.edu (Mark Plaksin) Date: 23 Apr 2003 08:14:09 -0400 Subject: Automatic way to monitor new filesystems? In-Reply-To: <1051071616.1035.10.camel@miles.debisschop.net> References: <1051071616.1035.10.camel@miles.debisschop.net> Message-ID: Karl DeBisschop writes: > check_disk will monitor all file_systems if you don't specify which one > to check. Thanks! > It does not flag 'new' file systems in ths manner. If you add and delete > filesystems routinely, why do you want this warning mode? Because we need to monitor all filesystems. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Wed Apr 23 18:30:46 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Wed, 23 Apr 2003 12:30:46 -0400 Subject: NSClient Message-ID: <2E3E9736615DD311895D00105A9CADED014BCBE3@eentsvr40.ehvert.com> I have nsclient installed on about 50 servers. "reliable" might be a bit of a strong word. It is working for the most part but there are difficulties: Sometimes a reboot results in nsclient losing use of the port to another application A lot of memory (>4G) can be a problem. Some versions (1.7.0 or so) are dirty and leave a ton of messages in the event log ... that being said, aside from SNMP, it is the only way to get the information and the problems can be avoided/ignored/worked around. It would be great if someone had the time to clean it up and finish a great idea. Just my 2cents (keep the change), dean -----Original Message----- From: Matthew.Quinney at hollandandholland.com [mailto:Matthew.Quinney at hollandandholland.com] Sent: April 23, 2003 1:28 PM To: Schindewolf, Stefan, Infraserv-Hoechst/DE Cc: 'nagios-users at lists.sourceforge.net'; nagios-users-admin at lists.sourceforge.net; 'nagiosplug-devel at lists.sourceforge.net'; 'rubiyz1047 at swyz.com' Subject: [Nagios-users] NSClient Dear All, On the subject of Nsclient and monitoring Windows servers I was wondering if anybody has got Nsclient monitoring Windows 2000 SP3 performance monitors reliably. We are using Nagios V1.0 and Plugins 1.3.0. If anybody is then please let me know - then I can assume I am doing something wrong. I accept that you can install other SNMP counters etc, but I am trying to make network monitoring as easy as possible - with as fewer clients installed on servers. I have included a sample check command below. I'd be greateful of any help !! Thanks Matthew define command{ command_name check_nt_pagingfile command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\\Paging File(_Total)\\% Usage","Paging file usage is %.2f %%" -w 70 -c 80 } -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmunoz at comcel.com.co Wed Apr 23 18:10:26 2003 From: jmunoz at comcel.com.co (=?iso-8859-1?Q?Jose_Orlando_Mu=F1oz_Bravo_=28HP=29?=) Date: Wed, 23 Apr 2003 11:10:26 -0500 Subject: How to check DISK in Windows 2000 Server Message-ID: Hi all, I'm looking for a pluging or something like that to check a compressed disk over Windows 2000 server. check_nt->NSCLIENT and SNMP do not permit this function Thanks in advanced for any answer or idea. jomb ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From russell at quadrix.com Wed Apr 23 18:22:34 2003 From: russell at quadrix.com (Russell Scibetti) Date: Wed, 23 Apr 2003 12:22:34 -0400 Subject: Am i stupid? (check_ping) References: <001201c3099c$80201440$cfdda8c0@nwl.se> Message-ID: <3EA6BDCA.5090005@quadrix.com> Try running it from the command line and give the -v argument (verbose output). If you can't figure it out from that, try emailing the list with the verbose results. Russell Scibetti Jan Johansson wrote: >I have the following defined for a host. > >check_command check_ping!1000.0,20%!5000.0,60% > > >And yet I get > >ndc4-vpn-1 PING WARNING 04-23-2003 15:27:37 0d 0h 1m 47s 3/3 PING >WARNING - Packet loss = 0%, RTA = 48.20 ms > >Shouldn't anything under 1000ms be "ok"? > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From techlogik at yahoo.com Wed Apr 23 18:45:42 2003 From: techlogik at yahoo.com (First Last) Date: Wed, 23 Apr 2003 09:45:42 -0700 (PDT) Subject: ICQ Message-ID: <20030423164542.91419.qmail@web40812.mail.yahoo.com> Since ICQ broke pager.icq.com...I can't just forward email alerts with a rule anymore, so I want to send alerts via ICQ directly. Found an old post on this from January...but, I am having the same problem that person did. Nagios, any version does this, Redhat 8. Using vICQ, simple command line ICQ client that you can send a message, and disconnect. This command below works fine from a command prompt. But, Nagios logs and says it sent the message via ICQ when an alert occurs, but it never does. Still sends email fine, just never send the ICQ message. In my miscommands config file, this is what I have. Any ideas? # 'notify-by-icq' command definition define command{ command_name notify-by-icq command_line /bin/echo -e "msg ICQnumbertosendto\n ***** Nagios 1.0 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nServic e: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$ OUTPUT$ \n." | /usr/local/bin/vicq -o -b } Again, from the command prompt, vICQ sends the message to my account and I get the ICQ message popup, of course the variables are blank when it arrives, but Nagios doesn't seem to be running the command and pipe it into the vicq message. Any other methods/suggestions to achieve this if this isn't possible, I would like to entertain those too. Thanks --------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. -------------- next part -------------- An HTML attachment was scrubbed... URL: From daniel-wittenberg at uiowa.edu Wed Apr 23 18:50:18 2003 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 23 Apr 2003 11:50:18 -0500 Subject: passive check - check_command Message-ID: <1051116618.15698.1.camel@tux.its.uiowa.edu> I was setting up v1.0 that I've been running for awhile to accept some data from another program via passive check, but what didn't make sense to me was that it wants a check_command. Since data is coming from another program, I don't have a check_command, so how do I define a null check_command, or is there another way to accept the passive check data? Dan -- =========================== Daniel Wittenberg Senior Unix Admin University of Iowa - ITS ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sripley at chiaro.com Wed Apr 23 19:26:28 2003 From: sripley at chiaro.com (sripley at chiaro.com) Date: Wed, 23 Apr 2003 12:26:28 -0500 Subject: uname output plugin? Message-ID: <34B6386F843340459B22F59DFF7B12FF1F0FCD@192-168-240-22.chiaro.com> First off, 'uname -a' is a completely valid solution, and it has worked on every UNIX-like system I have ever encountered. Another option, which I prefer, is 'uname -rs'. It keeps the return value short and sweet with OS name/version, and is still cross platform compatible with at least Solaris, Linux, and FreeBSD. Scott. -----Original Message----- From: Paul Clayton [mailto:paul.clayton at intec.co.za] Sent: Wednesday, April 23, 2003 6:32 AM To: 'Myke Place'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] uname output plugin? This is what I did Install the following in my nrpe.cfg config file "command[check_uname]=/sbin/uname -a" an created a service entry with the following "check_command check_nrpe!check_uname" cheers -----Original Message----- From: Myke Place [mailto:mp at xmission.com] Sent: Wednesday, April 23, 2003 12:02 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] uname output plugin? Has anybody come up with a way to monitor kernel versions on machines using Nagios and NRPE? I'm thinking about writing something like this, but I don't want to redo something that's already been tried. Thoughts? -mp -- I think computer viruses should count as life. I think it says something about human nature that the only life we have created so far is purely destructive. We've created life in our own image. -Steven Hawking ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg at intouch.ca Wed Apr 23 19:35:56 2003 From: greg at intouch.ca (Greg Webster) Date: Wed, 23 Apr 2003 10:35:56 -0700 Subject: need help !!!! In-Reply-To: References: Message-ID: <20030423103556.10959f64.greg@intouch.ca> You don't have the required packages for image creation and therefore it didn't install the reports that require them. Read the docs. Greg On Wed, 23 Apr 2003 13:08:18 +0000: @tif Butt skribon: > > Hi i want to know whenever i click on status map its shows page could > not found. If there is some thing to configure then plz tell me how > can i configure n see, whenever i click on status map option (on left > side) it shows me some thing. waiting for ur reply. > > Bye > > @tif Butt > > ------------------------------------------------ > STOP MORE SPAM with http://g.msn.com/8HMKENUS/2728 the new MSN 8 and > get 2 months FREE* > ------------------------------------------------------- This sf.net > email is sponsored by:ThinkGeek Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandromergvaz at uol.com.br Wed Apr 23 17:14:21 2003 From: sandromergvaz at uol.com.br (Sandro Vaz (UOL)) Date: Wed, 23 Apr 2003 12:14:21 -0300 Subject: RES: NSClient In-Reply-To: References: Message-ID: Matthew: It has been discussed here that NSClient has serious problems regading the "-v COUNTER" option. Search the previous e-mails and you?ll see. And trying to monitor Exchange 5.5 mail queues through SNMP, I discovered that Microsoft SNMP implementation get that values from Performance Monitor counters. I say it because in one client, Exchange counters were corrupted and we tried to get them from SNMP instead of NSClient, and only when we rebuilt the perfmon counters the monitoring worked out. HTH, Sandro Vaz -----Mensagem original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Matthew.Quinney at hollandandholland.com Enviada em: quarta-feira, 23 de abril de 2003 10:28 Para: Schindewolf, Stefan, Infraserv-Hoechst/DE Cc: 'nagios-users at lists.sourceforge.net'; nagios-users-admin at lists.sourceforge.net; 'nagiosplug-devel at lists.sourceforge.net'; 'rubiyz1047 at swyz.com' Assunto: [Nagios-users] NSClient Dear All, On the subject of Nsclient and monitoring Windows servers I was wondering if anybody has got Nsclient monitoring Windows 2000 SP3 performance monitors reliably. We are using Nagios V1.0 and Plugins 1.3.0. If anybody is then please let me know - then I can assume I am doing something wrong. I accept that you can install other SNMP counters etc, but I am trying to make network monitoring as easy as possible - with as fewer clients installed on servers. I have included a sample check command below. I'd be greateful of any help !! Thanks Matthew define command{ command_name check_nt_pagingfile command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\\Paging File(_Total)\\% Usage","Paging file usage is %.2f %%" -w 70 -c 80 } --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.474 / Virus Database: 272 - Release Date: 18/4/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.474 / Virus Database: 272 - Release Date: 18/4/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Wed Apr 23 14:25:56 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 23 Apr 2003 07:25:56 -0500 Subject: Error: Could not stat() command file '/usr/local/nagios/var/rw/na gios.cmd'! Message-ID: <5DB017510818EC468B05BD7BD9EACF83030EDD40@mismail.ena.com> One other thing that is odd and may just be a typo is that in the subject of this email, na gios.cmd has a space in it, while in the body below, it doesn't. Just something to verify in the config file. -- Marc -----Original Message----- From: Daniel Jimenez [mailto:DanielJ at avatar-cs.net] Sent: Tuesday, April 22, 2003 7:11 PM To: Daniel Jimenez; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Error: Could not stat() command file '/usr/local/nagios/var/rw/na gios.cmd'! All, Sorry for the HTML. Outlook didn't obey. Daniel -----Original Message----- From: Daniel Jimenez Sent: Tuesday, April 22, 2003 6:39 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Error: Could not stat() command file '/usr/local/nagios/var/rw/na gios.cmd'! List, Randomly, I am unable to send commands to Nagios. It was working okay. When I do I get: Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! I have made no changes to the server, nor have others. ---- [root at johnny5 var]# ls -alsh????????? total 52K 4.0K drwxrwxr-x??? 4 nagios?? nagios?????? 4.0K Apr 22 18:47 . 4.0K drwxrwxr-x??? 7 nagios?? nagios?????? 4.0K Apr? 7 15:40 .. 4.0K drwxrwxr-x??? 2 nagios?? nagios?????? 4.0K Apr 22 00:00 archives 4.0K -rw-rw-r--??? 1 nagios?? nagios?????? 1.1K Apr 22 18:35 comment.log ?? 0 -rw-rw-r--??? 1 nagios?? nagios????????? 0 Apr 22 18:35 downtime.log 4.0K -rw-r--r--??? 1 root???? root??????????? 4 Apr 22 18:35 nagios.lock ?12K -rw-rw-r--??? 1 nagios?? nagios?????? 8.8K Apr 22 18:35 nagios.log 4.0K drwxrws---??? 2 nagios?? nagiocmd???? 4.0K Apr 22 18:35 rw 8.0K -rw-rw-r--??? 1 nagios?? nagios?????? 5.6K Apr 22 18:47 status.log 8.0K -rw-rw-r--??? 1 nagios?? nagios?????? 4.2K Apr 22 18:35 status.sav --- [root at johnny5 rw]# ls -alsh total 8.0K 4.0K drwxrws---??? 2 nagios?? nagiocmd???? 4.0K Apr 22 18:35 . 4.0K drwxrwxr-x??? 4 nagios?? nagios?????? 4.0K Apr 22 18:52 .. ?? 0 prw-rw----??? 1 nagios?? nagiocmd??????? 0 Apr 22 18:35 nagios.cmd I'm not sure what the issue is, could anyone provide pointers? I've checked the FAQs and Docs, yet I see nothing that fixes the issue. Daniel Jimenez Systems Administrator Avatar Computer Solutions, Inc. Network Support, Voice / Data Cabling, and Internet Services 340 N. Sam Houston Parkway E. Suite #265 Voice: 281.999.1300 / 888.503.0503 Fax: 281.999.7070 Web: www.avatar-cs.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cian at logic.bm Wed Apr 23 20:10:11 2003 From: cian at logic.bm (Cian O'Sullivan) Date: Wed, 23 Apr 2003 15:10:11 -0300 Subject: Hosts and services viewable based on individual authentication Message-ID: Sorry for the attached reply mail. My BAd. I am Subhendu has confused me a bit with the contacts. If I setup a contact for each host, will only the hosts viewable by that contact be visible? IN otherwords, I add the username and password to my LDAP databse, They authenticate, and then how does the cgi.cfg read which hosts the user logged in will be able to look at? I had to hack the cricket cgi to do the same thing (well borrowed a few hacks and added a little garnish on the side) Is my question making sense? USER A logs in, and clicks Status Summary, it will only show his 3 circuits, and 2 servers, even though Nagios is watching 800 + Cheers Cian -----Original Message----- From: Jeremy Russell [mailto:Jeremy.Russell at chickasaw.net] Sent: Wednesday, April 23, 2003 1:19 PM To: Subhendu Ghosh; Nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Hosts and services viewable based on individual authentication I think he is wanting to do a more detailed scheme. As far as I know the contacts are setup in the cgi.cfg for all hosts and all services and all host commands etc... He seems to want to so things that maps a contact to a single host or hostgroup (??). Im not sure if its possible, as far as I can tell you would have to hack at the cgi's source, but I could be wrong. -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Wednesday, April 23, 2003 10:56 AM To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Hosts and services viewable based on individual authentication On Wed, 23 Apr 2003, Cian O'Sullivan wrote: > Hello, > > I have about 800 hosts that are being watched by Nagios. I want to > give individuals access to their own hosts, and be able to generate > reports, or schedule downtime for their hosts on an individual host by > host basis. > > user a > user b > user c > > > host a > host b > host c > > Can I have it so someone logs in, and based on their username it will > only display "host a" if user a logged in? > > I currently have a system like this working for Cricket, where the cgi > looks at your logged in name, and will only display hosts listed in a > database for that user. > > Any comments on this? > > Cheers > > cian > Isn't this what we use contacts for? - of course you will needs more contact groups at that granularity. -- -sg BTW: It would be nice to start a new message instead of replying to an different thread of conversation. Breaks all the MUA and archive threading. -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pah at campana.com Wed Apr 23 20:30:21 2003 From: pah at campana.com (mightyreds) Date: 23 Apr 2003 18:30:21 -0000 Subject: Help setting up 3d map Message-ID: <20030423183021.32240.qmail@pod-163.dolphin-server.co.uk> I have setup the hostextinfo.cfg file, defined custom 2d and 3d co-ordinates, and set the layouts to 'user-defined' in the cgi.cfg. The 2d status map works fine, but when I go to look at the 3d status map, I get a message from the client (Cortona) that says "You have not supplied any 3D drawing co-ordinates". If I change the default layout to any of the predefined ones, I get the error message "/nagios/cgi-bin/statuswrl.cgi?host=all(480,14) : name expected" Any help would be appreciated. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at nwl.se Wed Apr 23 15:30:26 2003 From: jan.johansson at nwl.se (Jan Johansson) Date: Wed, 23 Apr 2003 15:30:26 +0200 Subject: Am i stupid? (check_ping) Message-ID: <001201c3099c$80201440$cfdda8c0@nwl.se> I have the following defined for a host. check_command check_ping!1000.0,20%!5000.0,60% And yet I get ndc4-vpn-1 PING WARNING 04-23-2003 15:27:37 0d 0h 1m 47s 3/3 PING WARNING - Packet loss = 0%, RTA = 48.20 ms Shouldn't anything under 1000ms be "ok"? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atulsh at hclinsys.com Wed Apr 23 14:54:44 2003 From: atulsh at hclinsys.com (Atul Shrivastava) Date: Wed, 23 Apr 2003 18:24:44 +0530 Subject: Apan Graph (Showing Improper Bandwidth Utilization) Message-ID: <01e401c30997$8374d6d0$5f7b0297@atul> Hello, I am facing problem in Bandwidth Utilization Plot using APAN. The graphs are showing that correct, but after the 24 hour graph the Y axis changes from some 3.0 K to 10 M i.e. from 3 KBps to 10 MBps because the link is itself 64Kbps, which is impossible and it means that it is displaying wrong values. Have anyone faced the same problem earlier. Can anyone look into this probelm. I am trying to solve this problem and if I get the solution then I will inform in the mailing list. But if someone else have the solution then pls mail me. Thanks in advance. Regards and have a nice day, Atul Shrivastava -------------- next part -------------- An HTML attachment was scrubbed... URL: From jgotner at fhcrc.org Wed Apr 23 22:27:21 2003 From: jgotner at fhcrc.org (Gotner, James) Date: Wed, 23 Apr 2003 13:27:21 -0700 Subject: Services.cfg definition options Message-ID: <9667A0D2033CD51195F90002B330A3BF04CBA2B0@moe.fhcrc.org> Hello all, Is there a way to simplify service definitions for multiple hosts? I have about 3 dozen hosts that just need a ping check for now, and I was wondering if i have to seperately define a service for each host, or if I can just list out either the host_names or host_groups. I know that I can use a template for everything else, I just dont want to do a define service definition for each host_name. Any help will be highly appreciated. Thanks James Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 23 22:26:42 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 23 Apr 2003 16:26:42 -0400 (EDT) Subject: passive check - check_command In-Reply-To: <1051116618.15698.1.camel@tux.its.uiowa.edu> References: <1051116618.15698.1.camel@tux.its.uiowa.edu> Message-ID: check_command is check_dummy and remember to set the flag. required for consistency of required params - otherswise need 2 validating routines for one for passive/another for active. ;) -sg On 23 Apr 2003, Daniel Wittenberg wrote: > I was setting up v1.0 that I've been running for awhile to accept some > data from another program via passive check, but what didn't make sense > to me was that it wants a check_command. Since data is coming from > another program, I don't have a check_command, so how do I define a null > check_command, or is there another way to accept the passive check data? > > Dan > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 23 22:20:33 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 23 Apr 2003 16:20:33 -0400 (EDT) Subject: Am i stupid? (check_ping) In-Reply-To: <001201c3099c$80201440$cfdda8c0@nwl.se> References: <001201c3099c$80201440$cfdda8c0@nwl.se> Message-ID: On Wed, 23 Apr 2003, Jan Johansson wrote: > I have the following defined for a host. > > check_command check_ping!1000.0,20%!5000.0,60% > > > And yet I get > > ndc4-vpn-1 PING WARNING 04-23-2003 15:27:37 0d 0h 1m 47s 3/3 PING > WARNING - Packet loss = 0%, RTA = 48.20 ms > > Shouldn't anything under 1000ms be "ok"? > run the check_ping on the commandline with "-v" option It will print out the exact syntax being used. run the exact syntax and post all output. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at cyberjunkees.com Wed Apr 23 22:45:25 2003 From: jim at cyberjunkees.com (Jim Olsen) Date: Wed, 23 Apr 2003 16:45:25 -0400 Subject: Services.cfg definition options In-Reply-To: <9667A0D2033CD51195F90002B330A3BF04CBA2B0@moe.fhcrc.org> References: <9667A0D2033CD51195F90002B330A3BF04CBA2B0@moe.fhcrc.org> Message-ID: <200304231645.25645.jim@cyberjunkees.com> On Wednesday 23 April 2003 04:27 pm, Gotner, James wrote: > Hello all, > > Is there a way to simplify service definitions for multiple hosts? I > have about 3 dozen hosts that just need a ping check for now, and I was > wondering if i have to seperately define a service for each host, or if I > can just list out either the host_names or host_groups. I know that I can > use a template for everything else, I just dont want to do a define service > definition for each host_name. Any help will be highly appreciated. > Thanks According to the manual, you can define multiple host_names or a host_group for service definitions: http://nagios.sourceforge.net/docs/1_0/templatetricks.html#service -- Jim Olsen Senior Systems Administrator BrowserMedia [http://www.browsermedia.com] 301-656-1144 x165 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irenes at wolfram.com Wed Apr 23 17:05:53 2003 From: irenes at wolfram.com (Irene Sakellarakis) Date: Wed, 23 Apr 2003 10:05:53 -0500 (CDT) Subject: Displaying in color In-Reply-To: References: Message-ID: Sure thing. In Netsaint, the colums the data is displayed in can have a background color setup. So, for instance, the status column in our setup is displayed in bright green. Also, the rows alternate in color so they stand out a bit more. At the top of the screen the summary boxes also have background colors. So, the Host Status Totals, which divides up into a table has different background colors in each cell. If I can send an attachment to this list, I could probably sent a screen capture, if that would help. I'm afraid our site is behind the firewall, so I'm not allowed to send a link... Thanks again, Irene On Tue, 22 Apr 2003, Carroll, Jim P [Contractor] wrote: > Could you be a little more specific, for those of us who are unfamiliar with Netsaint? > > jc > > > > -----Original Message----- > > From: Irene Sakellarakis [mailto:irenes at wolfram.com] > > Sent: Tuesday, April 22, 2003 2:42 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Displaying in color > > > > > > In Netsaint, it was possible to display columns in color. Is > > this possible > > with Nagios too? > > > > Thanks, > > Irene > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jgotner at fhcrc.org Wed Apr 23 22:47:33 2003 From: jgotner at fhcrc.org (Gotner, James) Date: Wed, 23 Apr 2003 13:47:33 -0700 Subject: Services.cfg definition options Message-ID: <9667A0D2033CD51195F90002B330A3BF04CBA2B1@moe.fhcrc.org> Whoops... I checked the FAQ and searched through the mailing list, but I guess I didnt RTFM enough. Thanks! James Security Certified Network Professional A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional Certified Internet Webmaster Associate -----Original Message----- From: Jim Olsen [mailto:jim at cyberjunkees.com] Sent: Wednesday, April 23, 2003 1:45 PM To: Gotner, James; Nagios (E-mail) Subject: Re: [Nagios-users] Services.cfg definition options On Wednesday 23 April 2003 04:27 pm, Gotner, James wrote: > Hello all, > > Is there a way to simplify service definitions for multiple hosts? I > have about 3 dozen hosts that just need a ping check for now, and I was > wondering if i have to seperately define a service for each host, or if I > can just list out either the host_names or host_groups. I know that I can > use a template for everything else, I just dont want to do a define service > definition for each host_name. Any help will be highly appreciated. > Thanks According to the manual, you can define multiple host_names or a host_group for service definitions: http://nagios.sourceforge.net/docs/1_0/templatetricks.html#service -- Jim Olsen Senior Systems Administrator BrowserMedia [http://www.browsermedia.com] 301-656-1144 x165 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at izb.net Wed Apr 23 16:51:51 2003 From: tom at izb.net (Thomas Linden) Date: Wed, 23 Apr 2003 16:51:51 +0200 Subject: service dependencies not working Message-ID: <20030423145151.GC97109@izb.net> Hello folks, we are using nagios 1.06b under FreeBSD (from the ports collection), which runs in a chrooted ram-disk. It works fine so far. The only problem we encounter is that it ignores service dependencies. I configured the following dependency: define servicedependency{ host_name sw01 service_description PING_FARM dependent_host_name fw dependent_service_description PING_NMS execution_failure_criteria u,c notification_failure_criteria u,c } the host 'sw01' has the service 'PING_FARM' (which uses check_ping) and 'fw' has the service 'PING_NMS'. AFAIK this means 'sw01' depends upon 'fw'. The problem is that if I take down the host 'fw' nagios still executes 'PING_FARM' on host 'sw01'. Since 'sw01' is no more reachable nagios sends a 'host down' event notification about 'sw01'. But it shouldn't do that as I understand the dependency configuration above. Any ideas? regards, Tom ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikael.m at capensis.fr Wed Apr 23 23:28:53 2003 From: mikael.m at capensis.fr (mikael.m at capensis.fr) Date: Wed, 23 Apr 2003 23:28:53 +0200 (CEST) Subject: Nagios-users -- confirmation of subscription -- request 693982 In-Reply-To: References: Message-ID: <35023.80.11.97.154.1051133333.squirrel@webmail.amenworld.com> > Nagios-users -- confirmation of subscription -- request 693982 > > We have received a request from 80.11.97.154 for subscription of your > email address, , to the > nagios-users at lists.sourceforge.net mailing list. To confirm the > request, please send a message to > nagios-users-request at lists.sourceforge.net, and either: > > - maintain the subject line as is (the reply's additional "Re:" is ok), > > - or include the following line - and only the following line - in the > message body: > > confirm 693982 > > (Simply sending a 'reply' to this message should work from most email > interfaces, since that usually leaves the subject line in the right > form.) > > If you do not wish to subscribe to this list, please simply disregard > this message. Send questions to > nagios-users-admin at lists.sourceforge.net. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-wittenberg at uiowa.edu Wed Apr 23 23:25:08 2003 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 23 Apr 2003 16:25:08 -0500 Subject: Services.cfg definition options In-Reply-To: <9667A0D2033CD51195F90002B330A3BF04CBA2B0@moe.fhcrc.org> References: <9667A0D2033CD51195F90002B330A3BF04CBA2B0@moe.fhcrc.org> Message-ID: <1051133107.16939.9.camel@tux.its.uiowa.edu> Define a service definition using hostgroup_name instead of host_name. Dan On Wed, 2003-04-23 at 15:27, Gotner, James wrote: > Hello all, > > Is there a way to simplify service definitions for multiple hosts? I have > about 3 dozen hosts that just need a ping check for now, and I was wondering > if i have to seperately define a service for each host, or if I can just > list out either the host_names or host_groups. I know that I can use a > template for everything else, I just dont want to do a define service > definition for each host_name. Any help will be highly appreciated. Thanks > > James > > Security Certified Network Professional > A+ Hardware/Software, Linux+, Network+, i-Net+ Certified Professional > Certified Internet Webmaster Associate > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- =========================== Daniel Wittenberg Senior Unix Admin University of Iowa - ITS ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 23 23:54:10 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 23 Apr 2003 17:54:10 -0400 (EDT) Subject: Nagios-users -- confirmation of subscription -- request 693982 In-Reply-To: <35023.80.11.97.154.1051133333.squirrel@webmail.amenworld.com> References: <35023.80.11.97.154.1051133333.squirrel@webmail.amenworld.com> Message-ID: SVP - envoyez le message vers "nagios-users-request at lists.sourceforge.net" -sg On Wed, 23 Apr 2003 mikael.m at capensis.fr wrote: > > Nagios-users -- confirmation of subscription -- request 693982 > > > > We have received a request from 80.11.97.154 for subscription of your > > email address, , to the > > nagios-users at lists.sourceforge.net mailing list. To confirm the > > request, please send a message to > > nagios-users-request at lists.sourceforge.net, and either: > > > > - maintain the subject line as is (the reply's additional "Re:" is ok), > > > > - or include the following line - and only the following line - in the > > message body: > > > > confirm 693982 > > > > (Simply sending a 'reply' to this message should work from most email > > interfaces, since that usually leaves the subject line in the right > > form.) > > > > If you do not wish to subscribe to this list, please simply disregard > > this message. Send questions to > > nagios-users-admin at lists.sourceforge.net. > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkazmier at sofast.net Wed Apr 23 23:51:49 2003 From: mkazmier at sofast.net (Michael S. Kazmier) Date: Wed, 23 Apr 2003 15:51:49 -0600 Subject: Serviceextinfo file... Message-ID: <00c201c309e2$8b2bd3b0$6701010a@kazkdsxp> I have a service ext info file configured in cgi.cfg as: xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg Next, I have a record configured in the serviceextinfo.cfg file as: define serviceextinfo{ host_name test service_description testservice notes_url /nagios/cgi-bin/test.cgi } I have the test host and service configured and working fine. The notes_url works when defined in the hostextinfo.cfg (which is not on at the same time I am working with the serviceextinfo) but I cannot get it to work with the services, which is where I need it. Thoughts? Thanks, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From ereyes at galois.dgae.unam.mx Thu Apr 24 00:51:40 2003 From: ereyes at galois.dgae.unam.mx (Enrique Reyes) Date: Wed, 23 Apr 2003 17:51:40 -0500 (CDT) Subject: PROBLEM alert.... In-Reply-To: <1051133107.16939.9.camel@tux.its.uiowa.edu> References: <1051133107.16939.9.camel@tux.its.uiowa.edu> Message-ID: - Host turing is DOWN Hi all, This is the message in my email Subject: PROBLEM alert - Host turing is DOWN Host 'Host' is DOWN Info: (No output!) Time: Wed Apr 23 17:36:16 CDT 2003 where Host in my alias for anywhre computer in this case turing. Subject: Host DOWN alert for turing! ***** Nagios 1.0 ***** Notification Type: PROBLEM Host: turing State: DOWN Address: 132.248.103.94 Info: (No output!) Date/Time: Wed Apr 23 17:36:16 CDT 2003 The problem is that turing is alive $ping turing PING turing.dgae.unam.mx (132.248.103.94) from 132.248.103.70 : 56(84) bytes of data. 64 bytes from turing.dgae.unam.mx (132.248.103.94): icmp_seq=0 ttl=64 time=144 usec 64 bytes from turing.dgae.unam.mx (132.248.103.94): icmp_seq=1 ttl=64 time=122 usec why Neagios don can't see that turing is alive can you help me please thanks ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Thu Apr 24 01:31:28 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 23 Apr 2003 18:31:28 -0500 Subject: Automatic way to monitor new filesystems? Message-ID: One caveat: There's a limit to the length of data that check_disk will return, so if you've got a lot of filesystems, don't be surprised if you don't see all the info. Also, if you intend to do trending (RRDs), it's more difficult to munge an arbitrary string than it is to munge a string for a single filesystem. Food for thought. jc > -----Original Message----- > From: Mark Plaksin [mailto:happy at usg.edu] > Sent: Wednesday, April 23, 2003 7:14 AM > To: Karl DeBisschop > Cc: Nagios Users > Subject: Re: [Nagios-users] Automatic way to monitor new filesystems? > > > Karl DeBisschop writes: > > > check_disk will monitor all file_systems if you don't > specify which one > > to check. > > Thanks! > > > It does not flag 'new' file systems in ths manner. If you > add and delete > > filesystems routinely, why do you want this warning mode? > > Because we need to monitor all filesystems. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Apr 24 03:25:25 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 24 Apr 2003 11:25:25 +1000 Subject: How to check DISK in Windows 2000 Server In-Reply-To: ; from jmunoz@comcel.com.co on Wed, Apr 23, 2003 at 11:10:26AM -0500 References: Message-ID: <20030424112521.A10053@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Wed, Apr 23, 2003 at 11:10:26AM -0500, Jose Orlando Mu?oz Bravo (HP) wrote: > > Hi all, > > I'm looking for a pluging or something like that to check a compressed disk over Windows 2000 server. > > check_nt->NSCLIENT and SNMP do not permit this function > > Thanks in advanced for any answer or idea. > would check_disk_smb (in the contrib/ dir of the standard plugin distro) help ? This plugin connects to an exported share (using CIFS/SMB) and then does the equivalent of a df. If the users can read and write to the disk, it being compressed shouldn't change the operation of the plugin. But then again, I have not knowingly used a compressed disk. > jomb > > 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Thu Apr 24 05:31:05 2003 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 23 Apr 2003 22:31:05 -0500 Subject: Different escalations for day vs night? In-Reply-To: <20030423015618.GD22325@pianosa.catch22.org> References: <20030423015618.GD22325@pianosa.catch22.org> Message-ID: <3EA71429.1706.154174B@localhost> This feature was originally suggested by Sebastian Ohl and will be implemented in 2.0 - probably sometime in the next week. If a timeperiod is specified in the definition, the escalation will only be used if the current time is valid within the specified timeperiod. Also, I will probably be adding (optional) dependency options withing escalation definitions. This will allow escalations to be used only if a host/service is currently in a certain state. On 22 Apr 2003 at 18:56, Benjamin Feen wrote: > Hi all, > > Here's a fun challenge: > > In my environment, we need to have two different escalation schemes: > one for work hours and one for offhours. > > 8AM-9PM M-F: > 1. Email unixteam > 2. After 5 minutes, page unixadmin1. > 3. If unixadmin1 doesn't respond within 15 minutes, page unixadmin2 > 4. If unixadmin2 doesn't respond within (another) 15 minutes, page unixadmin3 > > The night and weekend schedule is similar, but the delays are 30 minutes. > > This kind of thing is pretty common... how are folks implementing split > schedules like this? > > This would all be so easy if you could specify a time period in > escalations... is that coming in 2.0? Please? :) > > > Thanks in advance, > B > -- > Benjamin Feen > benjamin(AT)feen.com > http://www.monkeybagel.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Thu Apr 24 05:26:11 2003 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 23 Apr 2003 22:26:11 -0500 Subject: service dependencies not working In-Reply-To: <20030423145151.GC97109@izb.net> References: <20030423145151.GC97109@izb.net> Message-ID: <3EA71303.12758.14F9C37@localhost> You've got it backwards. Based on your config, PING_NMS on fw depends on PING_FARM on sw01. Switch the services and you should be good to go. On 23 Apr 2003 at 16:51, Thomas Linden wrote: > Hello folks, > > we are using nagios 1.06b under FreeBSD (from the ports collection), > which runs in a chrooted ram-disk. It works fine so far. > > The only problem we encounter is that it ignores service dependencies. > > I configured the following dependency: > > define servicedependency{ > host_name sw01 > service_description PING_FARM > dependent_host_name fw > dependent_service_description PING_NMS > execution_failure_criteria u,c > notification_failure_criteria u,c > } > > the host 'sw01' has the service 'PING_FARM' (which uses check_ping) and > 'fw' has the service 'PING_NMS'. AFAIK this means 'sw01' depends upon > 'fw'. > > The problem is that if I take down the host 'fw' nagios still executes > 'PING_FARM' on host 'sw01'. Since 'sw01' is no more reachable nagios > sends a 'host down' event notification about 'sw01'. But it shouldn't > do that as I understand the dependency configuration above. > > Any ideas? > > > > regards, Tom > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-wittenberg at uiowa.edu Thu Apr 24 06:27:46 2003 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 23 Apr 2003 23:27:46 -0500 Subject: multiple addresses Message-ID: <1051158466.19802.4.camel@hawk.wittenberg.org> While setting up some multi-isp-linked firewalls, I got to thinking it would be great if I could add multiple "addresss" to a host, just like I can put in the multiple parents. I realize the checks and stuff would have to be modified, but would this be something that could be added? Dan -- Daniel Wittenberg The University of Iowa ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rubiyz at swyz.com Thu Apr 24 07:03:57 2003 From: rubiyz at swyz.com (rubiyz) Date: Thu, 24 Apr 2003 07:03:57 +0200 Subject: NSClient Message-ID: <3C7B285D6B551441A8930A455196C154268A@c00-ad-00.ocea.ch> GFI MailSecurity's HTML threat engine found HTML scripts in this email and has disabled them. Hi, Thanks for the feedback. I'm also fully aware than there are some painful issues with NSClient. As this tool is still very much used, I'll try to bring it to a new level of reliability, maybe using another technology... If someone can give me some help on the Unix plug in part, we could save some time in the development ... I'll do my best to get it very soon! Best regards, Yves -----Original Message----- From: Dean Bishop [mailto:dbishop at ehvert.com] Sent: mercredi, 23. avril 2003 18:31 To: 'Matthew.Quinney at hollandandholland.com'; Schindewolf, Stefan, Infraserv-Hoechst/DE Cc: 'nagios-users at lists.sourceforge.net'; nagios-users-admin at lists.sourceforge.net; 'nagiosplug-devel at lists.sourceforge.net'; rubiyz Subject: RE: [Nagios-users] NSClient I have nsclient installed on about 50 servers. "reliable" might be a bit of a strong word. It is working for the most part but there are difficulties: Sometimes a reboot results in nsclient losing use of the port to another application A lot of memory (>4G) can be a problem. Some versions (1.7.0 or so) are dirty and leave a ton of messages in the event log ... that being said, aside from SNMP, it is the only way to get the information and the problems can be avoided/ignored/worked around. It would be great if someone had the time to clean it up and finish a great idea. Just my 2cents (keep the change), dean -----Original Message----- From: Matthew.Quinney at hollandandholland.com [mailto:Matthew.Quinney at hollandandholland.com] Sent: April 23, 2003 1:28 PM To: Schindewolf, Stefan, Infraserv-Hoechst/DE Cc: 'nagios-users at lists.sourceforge.net'; nagios-users-admin at lists.sourceforge.net; 'nagiosplug-devel at lists.sourceforge.net'; 'rubiyz1047 at swyz.com' Subject: [Nagios-users] NSClient Dear All, On the subject of Nsclient and monitoring Windows servers I was wondering if anybody has got Nsclient monitoring Windows 2000 SP3 performance monitors reliably. We are using Nagios V1.0 and Plugins 1.3.0. If anybody is then please let me know - then I can assume I am doing something wrong. I accept that you can install other SNMP counters etc, but I am trying to make network monitoring as easy as possible - with as fewer clients installed on servers. I have included a sample check command below. I'd be greateful of any help !! Thanks Matthew define command{ command_name check_nt_pagingfile command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\\Paging File(_Total)\\% Usage","Paging file usage is %.2f %%" -w 70 -c 80 } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Thu Apr 24 07:21:07 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 24 Apr 2003 01:21:07 -0400 (EDT) Subject: multiple addresses In-Reply-To: <1051158466.19802.4.camel@hawk.wittenberg.org> References: <1051158466.19802.4.camel@hawk.wittenberg.org> Message-ID: On 23 Apr 2003, Daniel Wittenberg wrote: > While setting up some multi-isp-linked firewalls, I got to thinking it > would be great if I could add multiple "addresss" to a host, just like I > can put in the multiple parents. I realize the checks and stuff would > have to be modified, but would this be something that could be added? > > Dan > > > You can add multiple IPAddr to a host definitions' address field. Nagios doesn't care what goes in there. However all the plugins would have to be able to parse the address as passeed by the $HOSTADDRESS$ macro. There was some talk of atleast having check_ping/fping/icmp support this notion of comma delimited address in $HOSTADRESS$ However for a lot of other plugins it doesn't necessary make sense. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-wittenberg at uiowa.edu Thu Apr 24 07:20:51 2003 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 24 Apr 2003 00:20:51 -0500 Subject: multiple addresses In-Reply-To: References: Message-ID: <1051161651.19972.1.camel@hawk.wittenberg.org> Yeah, I just realized that even though technically anything could be there, nothing out-of-the-box would know how to use it, but would be nice if it either: 1) The plugins all knew how to deal with multiple addy's 2) Multiple macros - $HOSTADDRESS$ $HOSTADDRESS2$... $HOSTADDRESSN$ Dan On Thu, 2003-04-24 at 00:21, Subhendu Ghosh wrote: > You can add multiple IPAddr to a host definitions' address field. Nagios > doesn't care what goes in there. > > However all the plugins would have to be able to parse the address as > passeed by the $HOSTADDRESS$ macro. > > There was some talk of atleast having check_ping/fping/icmp support this > notion of comma delimited address in $HOSTADRESS$ > > However for a lot of other plugins it doesn't necessary make sense. -- Daniel Wittenberg The University of Iowa ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at nwl.se Thu Apr 24 08:08:45 2003 From: jan.johansson at nwl.se (Jan Johansson) Date: Thu, 24 Apr 2003 08:08:45 +0200 Subject: Am i stupid? (check_ping) In-Reply-To: References: Message-ID: <000e01c30a27$f6a81a00$cfdda8c0@nwl.se> >run the check_ping on the commandline with "-v" option > >It will print out the exact syntax being used. > >run the exact syntax and post all output. hooch:/etc/nagios# /usr/lib/nagios/plugins/check_ping -v -H 192.168.224.254 -w 500.0,20%% -c 1000.0,60%% /bin/ping -n -c 5 192.168.224.254 ==> PING OK - Packet loss = 0%, RTA = 60.10 ms 500.000000:20% 1000.000000:60% hooch:/etc/nagios# and yet. ndc4-vpn-1 PING WARNING 04-24-2003 08:06:13 0d 3h 14m 15s 3/3 PING WARNING Packet loss = 0%, RTA = 52.90 ms define service{ use generic-service ; Name of service template to use host_name ndc4-vpn-1 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups router-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_ping!500.0,20%!1000.0,60% } ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 24 08:12:19 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 24 Apr 2003 02:12:19 -0400 (EDT) Subject: Am i stupid? (check_ping) In-Reply-To: <000e01c30a27$f6a81a00$cfdda8c0@nwl.se> References: <000e01c30a27$f6a81a00$cfdda8c0@nwl.se> Message-ID: And the outpuut of "/bin/ping -n -c 5 192.168.224.254" is ?? also check $? (return code and the stderr channel. -sg On Thu, 24 Apr 2003, Jan Johansson wrote: > >run the check_ping on the commandline with "-v" option > > > >It will print out the exact syntax being used. > > > >run the exact syntax and post all output. > > hooch:/etc/nagios# /usr/lib/nagios/plugins/check_ping -v -H > 192.168.224.254 -w 500.0,20%% -c 1000.0,60%% > /bin/ping -n -c 5 192.168.224.254 ==> PING OK - Packet loss = 0%, RTA = > 60.10 ms > 500.000000:20% 1000.000000:60% > hooch:/etc/nagios# > > and yet. > > ndc4-vpn-1 PING WARNING 04-24-2003 08:06:13 0d 3h 14m 15s 3/3 PING > WARNING Packet loss = 0%, RTA = 52.90 ms > > define service{ > use generic-service ; Name > of service template to use > > host_name ndc4-vpn-1 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups router-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command check_ping!500.0,20%!1000.0,60% > } > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Thu Apr 24 09:00:38 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Thu, 24 Apr 2003 19:00:38 +1200 Subject: Am i stupid? (check_ping) In-Reply-To: <000e01c30a27$f6a81a00$cfdda8c0@nwl.se> References: <000e01c30a27$f6a81a00$cfdda8c0@nwl.se> Message-ID: <200304240659.h3O6xlP24589@spectre.freeparking.co.nz> Can you send your check_ping command definition in checkcommands.cfg It'll probably be that. jamie On Thu, 24 Apr 2003 18:08, Jan Johansson wrote: > >run the check_ping on the commandline with "-v" option > > > >It will print out the exact syntax being used. > > > >run the exact syntax and post all output. > > hooch:/etc/nagios# /usr/lib/nagios/plugins/check_ping -v -H > 192.168.224.254 -w 500.0,20%% -c 1000.0,60%% > /bin/ping -n -c 5 192.168.224.254 ==> PING OK - Packet loss = 0%, RTA = > 60.10 ms > 500.000000:20% 1000.000000:60% > hooch:/etc/nagios# > > and yet. > > ndc4-vpn-1 PING WARNING 04-24-2003 08:06:13 0d 3h 14m 15s 3/3 PING > WARNING Packet loss = 0%, RTA = 52.90 ms > > define service{ > use generic-service ; Name > of service template to use > > host_name ndc4-vpn-1 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups router-admins > notification_interval 240 > notification_period 24x7 > notification_options c,r > check_command check_ping!500.0,20%!1000.0,60% > } > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atulsh at hclinsys.com Thu Apr 24 08:58:38 2003 From: atulsh at hclinsys.com (Atul Shrivastava) Date: Thu, 24 Apr 2003 12:28:38 +0530 (IST) Subject: Drill Down Facility in APAN In-Reply-To: <000e01c30a27$f6a81a00$cfdda8c0@nwl.se> References: <000e01c30a27$f6a81a00$cfdda8c0@nwl.se> Message-ID: Hello All, Can the APAN graph have drill down facility. I mean to say that one can be able to drill down using mouse to see the graph upto 1 sec in the last year possible to do the same in case of APAN. If anyone knows then pls do let me know. Regards, Atul Shrivastava ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dinesh.v at net4india.net Thu Apr 24 09:27:56 2003 From: dinesh.v at net4india.net (Dinesh Raj) Date: Thu, 24 Apr 2003 12:57:56 +0530 Subject: report References: <000e01c30a27$f6a81a00$cfdda8c0@nwl.se> <200304240659.h3O6xlP24589@spectre.freeparking.co.nz> Message-ID: <1bba01c30a33$0670c710$f19347ca@kanchan> hi all, can we print reports of this gui not only through web can i take printout of this . is there seperate script or something anyone help me Regards, V.Dinesh Raj Engineer Networking Net 4 India Ltd., No-17,Khader Nawaz khan road, Nungambakkam, Chennai-600024, Tel: +91 044 28333511 Extn.310 URL: http://www.net4india.com _______________________________________________ This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. _______________________________________________ ----- Original Message ----- From: "Jamie Baddeley" To: "Jan Johansson" ; Sent: Thursday, April 24, 2003 12:30 PM Subject: Re: [Nagios-users] Am i stupid? (check_ping) > Can you send your check_ping command definition in checkcommands.cfg > > It'll probably be that. > > jamie > > On Thu, 24 Apr 2003 18:08, Jan Johansson wrote: > > >run the check_ping on the commandline with "-v" option > > > > > >It will print out the exact syntax being used. > > > > > >run the exact syntax and post all output. > > > > hooch:/etc/nagios# /usr/lib/nagios/plugins/check_ping -v -H > > 192.168.224.254 -w 500.0,20%% -c 1000.0,60%% > > /bin/ping -n -c 5 192.168.224.254 ==> PING OK - Packet loss = 0%, RTA = > > 60.10 ms > > 500.000000:20% 1000.000000:60% > > hooch:/etc/nagios# > > > > and yet. > > > > ndc4-vpn-1 PING WARNING 04-24-2003 08:06:13 0d 3h 14m 15s 3/3 PING > > WARNING Packet loss = 0%, RTA = 52.90 ms > > > > define service{ > > use generic-service ; Name > > of service template to use > > > > host_name ndc4-vpn-1 > > service_description PING > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups router-admins > > notification_interval 240 > > notification_period 24x7 > > notification_options c,r > > check_command check_ping!500.0,20%!1000.0,60% > > } > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.clayton at intec.co.za Thu Apr 24 09:34:50 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Thu, 24 Apr 2003 09:34:50 +0200 Subject: Multi nagios sites Message-ID: <9290BC9741D67F43BDAAC84144FF870DB69390@intecserver007.intec.co.za> Our company has multiple offices with servers in each area. We would like to have indepedant instances of nagios in each region controlling there own environment. My question, is there any way of configuring the displays to point and click at each nagios environment or can this only be treated as seperate environments. Hope I made this clear. Regards Unix like TeePee no windows, no gates, Apache inside. Paul Clayton Global Unix Co-ordinator Intec Telecom Systems Ph +27 (0) 21 4309000 Fax +27 (0) 21 4309025 Mobile +27(0) 832853403 ******************************************************************************************* This e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at nwl.se Thu Apr 24 09:27:51 2003 From: jan.johansson at nwl.se (Jan Johansson) Date: Thu, 24 Apr 2003 09:27:51 +0200 Subject: Drill Down Facility in APAN In-Reply-To: References: Message-ID: <000801c30a33$03ba59a0$cfdda8c0@nwl.se> >Can the APAN graph have drill down facility. I mean to say that one can be >able to drill down using mouse to see the graph upto 1 sec in the last >year possible to do the same in case of APAN. If anyone knows then pls do >let me know. No. RRD does not store data that way, so hence it is not possible. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at nwl.se Thu Apr 24 10:06:15 2003 From: jan.johansson at nwl.se (Jan Johansson) Date: Thu, 24 Apr 2003 10:06:15 +0200 Subject: Am i stupid? (check_ping) In-Reply-To: <200304240659.h3O6xlP24589@spectre.freeparking.co.nz> References: <200304240659.h3O6xlP24589@spectre.freeparking.co.nz> Message-ID: <001401c30a38$61072390$cfdda8c0@nwl.se> >Can you send your check_ping command definition in checkcommands.cfg > >It'll probably be that. # Included from /usr/share/netsaint/pluginconfig/check_ping.cfg # 'check_ping' command definition define command { command_name check_ping command_line /usr/lib/netsaint/plugins/check_ping -H $HOSTADDRESS$ -w 10:20% -c 60:100% } CRAP.. its hard coded... no wonder. # Included from /usr/share/netsaint/pluginconfig/check_ping.cfg # 'check_ping' command definition define command { command_name check_ping command_line /usr/lib/netsaint/plugins/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ } is prolly better? YEEEEYYYYYY success... actually.. my checkcommands.cfg is a mess.. not sure what has happened here. Time to clean up. Thankyou. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Thu Apr 24 10:45:09 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Thu, 24 Apr 2003 20:45:09 +1200 Subject: Drill Down Facility in APAN In-Reply-To: <000801c30a33$03ba59a0$cfdda8c0@nwl.se> References: <000801c30a33$03ba59a0$cfdda8c0@nwl.se> Message-ID: <200304240844.h3O8iHP30943@spectre.freeparking.co.nz> OK, Here come my 2 cents. It's a bit of a rant, but hey, I think it needs to be said. People! Why are we re-inventing the wheel? There's shitloads of rrd front-end's out there. Cricket, MRTG NRG etc etc. see here: http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/rrdworld/index.html Why are we creating another one? Smokeping already does what Atul was asking about. RRD is backend, of course you can do this. Store the additional the RRD files and zoom. simple. It what my system does. I can't understand why we are screwing around with front-ends when the data that nagios needs to make a decision on whether the threshold is being breached is held in the RRD files that a multitude of packages already look after..... It seems to me that lots of people are going, hmmm. Check_traffic and RRD...They're asking this when there are solutions available. The reason why IMHO is that lots of people already have an investment in the time-series trending information (and the associated front-end) - most of us probably started doing that first - nagios second, and now we want to bring the two together. They don't want to move to a new front-end. All that needs to be done is a plugin that reads local RRD files. It seems simple to me. But that may be because I'm crap at coding, and better at hacking. All that needs to be done is a plugin that reads .rrd files. If someone can explain to me that this is not right then I'd be happy to eat humble pie. damn. I've gotta drink less coffee. peace. jamie On Thu, 24 Apr 2003 19:27, Jan Johansson wrote: > >Can the APAN graph have drill down facility. I mean to say that one can > > be > > >able to drill down using mouse to see the graph upto 1 sec in the last > >year possible to do the same in case of APAN. If anyone knows then pls > > do > > >let me know. > > No. RRD does not store data that way, so hence it is not possible. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Thu Apr 24 11:13:27 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Thu, 24 Apr 2003 11:13:27 +0200 (CEST) Subject: Aix monitoring Message-ID: <20030424091327.22584.qmail@web10901.mail.yahoo.com> Hi, I'd like to monitor memory and processor usage on AIX. I've tried to access to these values by SNMP but unfortunately AIX SNMP Agent doesn't provide these values. So i'm thinking to use an other type of Nagios plugin to get these values. I'd like to have not install additional programs on AIX boxes. What plugins do you advise me ? Thanks, Steve ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.Ostric at arm.com Thu Apr 24 11:24:09 2003 From: Lionel.Ostric at arm.com (Lionel.Ostric at arm.com) Date: Thu, 24 Apr 2003 11:24:09 +0200 Subject: EPN Message-ID: Hello, Are some of you using the Embedded Perl Interpreter with Nagios ? If yes, do you have to change something in the config files to make nagios use the Embeded interpreter instead of spawning a perl each time ? I already recompiled nagios with EPN but it does not seems to use it .... Thanks for your help ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DevineJJ at telkom.co.za Thu Apr 24 11:17:54 2003 From: DevineJJ at telkom.co.za (James Devine (JJ)) Date: Thu, 24 Apr 2003 11:17:54 +0200 Subject: Cisco Works 2000 Message-ID: <8660FD9E248EEA4BAAFC851F3A3063A7A46440@hlhsra01-fnp01.telkom.co.za> Hi all, Question has anyone here heard of Nagios and Cisco works being integrated ? If so how ? and if not what about it ? Thanks James Devine Network & Security Specialist Telkom Internet Tel: (011) 266-7800 Fax: (011) 266-7932 Cell: CLASSIFIED The information in this email and in any attachments is confidential and intended solely for the attention and use of the named addressee(s). This information may be subject to attorney and client or other privilege. It must not be disclosed to any person without Telkom Internet's permission. Please note that the recipient must scan this e-mail and any attached files for viruses and the like. Telkom Internet accepts no liability of whatever nature for any loss, liability, damage or expense resulting directly or indirectly from the access of any files which are attached to this message. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Apr 24 11:50:58 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 24 Apr 2003 19:50:58 +1000 Subject: Drill Down Facility in APAN In-Reply-To: <200304240844.h3O8iHP30943@spectre.freeparking.co.nz>; from jamie.baddeley@vpc.co.nz on Thu, Apr 24, 2003 at 08:45:09PM +1200 References: <000801c30a33$03ba59a0$cfdda8c0@nwl.se> <200304240844.h3O8iHP30943@spectre.freeparking.co.nz> Message-ID: <20030424195055.A229@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Thu, Apr 24, 2003 at 08:45:09PM +1200, Jamie Baddeley wrote: .. snip > There's shitloads of rrd front-end's out there. Cricket, MRTG NRG etc etc. > see here: > http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/rrdworld/index.html > > Why are we creating another one? > Yep. Moreover, the front-ends are in general aimed at graphing rather than exception reporting whereas Nag is aimed at exception detecting. Also the front-ends already do two significant things 1 Collect data efficiently 2 Set up the RRDs without intervention that any Nag infrastructure would have to either crib or redevelop. > Smokeping already does what Atul was asking about. RRD is backend, of course > you can do this. Store the additional the RRD files and zoom. simple. It what > my system does. Up to the upper limit of the RRD resolution - related to how many observations/samples you have, but fundamentally yes. > > I can't understand why we are screwing around with front-ends when the data > that nagios needs to make a decision on whether the threshold is being > breached is held in the RRD files that a multitude of packages already look > after..... > .. snip > > All that needs to be done is a plugin that reads local RRD files. > I think so too. I have done this in two trivial examples (by way of encouragement) 1 A plugin that reads the FAILURES RRA from a dev branch RRD (that with the time series prediction) and reports CRITICAL if the last sample is a 1 ... (ie the Holt-Winters prediction +- 2 * DEVPREDICT is still less than the observation: the measurement is an aberration) 2 A plugin that computes the differences in observations and reports CRITCAL if all are zero (this is to detect that a producer process has stopped). Since there are Perl and Python (probably Ruby also) bindings to the RRD libraries, this is pretty easy. Here's the guts of the first one use RRDs ; use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); my $PROGNAME = 'check_coms' ; Getopt::Long::Configure('bundling', 'no_ignore_case') ; GetOptions ("V|version" => \&version, "h|help" => \&help, "r|rrd_file:s" => \$rrd, "s|start:s" => \$start, "d|debug" => \$debug, ) ; use constant RRD => '/home/anwsmh/perl/rrd/hwpredict/coms.rrd' ; use constant START => 'now -1 hour' ; use constant RRA_SUCC => 'AVERAGE' ; use constant RRA_FAIL => 'FAILURES' ; use constant GRAPH => 'graph' ; my @rra_fail = () ; my $fetch_ok = &from_rrd($rrd, $start, RRA_FAIL, \@rra_fail) ; &outahere('UNKNOWN', 'COMS cannot be checked. ', [ 'RRDs::fetch failed with error "', @rra_fail, '"' ]) unless $fetch_ok ; print "HW predicted Failures\n" and &dump( @rra_fail ) if $debug # &from_rrd returns # $rra_x[$i]->[0] $rra_x[$i]->[1] # 1029576900 74.0 # 1029577200 0.0 foreach ( @rra_fail ) { push @fail, $_->[1] ; } &outahere('OK', 'Ok.', [ ($delta_s == 0 ? "Nothing processed successfully in last $observed_int minutes." : $delta_s == 1 ? "$delta_s success $last_succ minutes ago." : "$delta_s successes $last_succ minutes ago."), "Deltas: (" . join(' ', reverse @delta_s) . ') or Holt-Winters forecast', GRAPH ]) if $fail[-1] == 0 ; # HW predicts failure. Is it because the predictions have failed to # converge after a restart ? # In this case, @succ may look like (2000, 0, 0, 1, 1, 2) # @delta_s [reversed] (1, 0, 1, 0, -2000) &outahere('CRITICAL', 'Failed. No restart but HW forecast violations.', [ $delta_s, ($delta_s == 1 ? 'success' : 'successes'), "$last_succ minutes ago.", "$observed_int minute deltas: (" . join(' ', reverse @delta_s) . ') or Holt-Winters forecast', GRAPH ]) ; In this case, the plugin also presents differences (to convince the contact) and a link to a (rrdcgi) graph that shows the output. > It seems simple to me. But that may be because I'm crap at coding, and better > at hacking > > All that needs to be done is a plugin that reads .rrd files. > Nag developers can add value by considering how this can be done efficiently for large numbers of RRDs. Perhaps having a Nag add-on process _all_ the RRDs periodically (perhaps anything found in a path) and submit passive results for anomalies the add-on detects. 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Thu Apr 24 12:05:16 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Thu, 24 Apr 2003 12:05:16 +0200 (CEST) Subject: Check_disk_smb problem Message-ID: <20030424100516.90225.qmail@web10903.mail.yahoo.com> I've spotted some problems in check_disk_smb 1.8 (the last version). When you use percentage for thresolds, I think there is an error in the perl script. When I use check_disk_smb it reports the percentage free of the samba service. Then I specify WARNING (20% free) and CRITICAL (10% free) thresolds : - First the script tells me to specify a WARNING thresold < CRITICAL thresold. I don't understand the WARN thresold sould be > CRIT thresold for free space. - Second, I try to change the test in the perl script, and then I have this result >> CRITICAL: Only 46.1G (29%) free on \\PYRBU04\install after running this command >> ./check_disk_smb -H PYRBU04 -s install ..... -w 20 -c 10 Have I missed something ? Steve ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ThomasScholten at schmuecker.de Thu Apr 24 12:07:50 2003 From: ThomasScholten at schmuecker.de (Scholten, Thomas) Date: Thu, 24 Apr 2003 12:07:50 +0200 Subject: AW: NSCLIENT "Malformed request or internal error. Check EventLog:Non e&2&1" Message-ID: Hello Stefan, i just solved this error by using the lodctr Tool. May be lodctr c:\winnt\system32\infoctrs.ini could help to restore the counters. For sanity you should check before with the perfmon Tool if the Processor Counters are avaiable. In this case check the mails of Sandro Vaz who has posted some more hints in this list. hope it helps Thomas -----Urspr?ngliche Nachricht----- Von: Schindewolf, Stefan, Infraserv-Hoechst/DE [mailto:Stefan.Schindewolf at Infraserv.com] Gesendet: Donnerstag, 17. April 2003 14:38 An: 'nagios-users at lists.sourceforge.net'; 'nagiosplug-devel at lists.sourceforge.net'; 'rubiyz1047 at swyz.com' Betreff: [Nagios-users] NSCLIENT "Malformed request or internal error. Check EventLog:Non e&2&1" Hello. The problem occurs with NSCLIENT 1.07.1 I received the following error, that has been concerning several people on the list: The command line is something like: "/usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v CPULOAD -l 1,85,95,5,75,85,15,55,75" The output is: "Malformed request or internal error. Check EventLog:None&2&1" The output of event log is: "Division by zero" We tracked it down to line 250 in uNSCLIENT.pas: REQ_CPUTOTAL: FindAnswer:= IntToStr(CPUBuffer.GetAverage(StrToIntDef(asArgv[2],60)*12)); It must be the GetAverage call because everything else could not raise this exception. We suppose CPUBuffer.GetAverage is a win32 api call !? Can we sue MS for that "division by zero" stuff? On some hosts (running service pack 2) there is no problem. We tried to call the windows performance counters directly (""/usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v COUNTER ...") but are only receiving either 100% or 0% CPULOAD, depending on our parameters. Has anyone a clue how to workaround it? Thanks in advance and best regards. > Mit freundlichen Gr??en > > Stefan Schindewolf > > Infraserv GmbH & Co H?chst KG > Service Center Informationstechnologie > D710, D-65926 Frankfurt > Telefon: (069)305 - 43870 > Fax: (069)305 - 23549 > Mail: stefan.schindewolf at infraserv.com > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Apr 24 12:40:04 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 24 Apr 2003 20:40:04 +1000 Subject: EPN In-Reply-To: ; from Lionel.Ostric@arm.com on Thu, Apr 24, 2003 at 11:24:09AM +0200 References: Message-ID: <20030424203959.B229@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Thu, Apr 24, 2003 at 11:24:09AM +0200, Lionel.Ostric at arm.com wrote: > > Are some of you using the Embedded Perl Interpreter with Nagios ? and loving it. tsitc# ./nagios -m Nagios 1.0 Copyright (c) 1999-2002 Ethan Galstad (nagios at nagios.org) Last Modified: 11-24-2002 License: GPL External Data I/O ----------------- Object Data: TEMPLATE Status Data: DEFAULT Retention Data: DEFAULT Comment Data: DEFAULT Downtime Data: DEFAULT Performance Data: DEFAULT Options ------- * Embedded Perl compiler (With caching) tsitc# > If yes, do you have to change something in the config files to make > nagios use the Embeded interpreter instead of spawning a perl each time ? > No. As long as you have a shee-bang (#!) line containing /bin/perl (see base/checks.c) in your Perl program - and you must have a shee-bang line with a path yo Perl for your program to run at the CLI - Nagios will processe it with the embedded Perl intrepreter. This means that 1 Perl will not be forked to run the plugin; the plugin will be run by the Perl interpreter _built in_ to the Nagios program. Have a look at check.c: instead of calling popen() (ie fork + exec + wait) it calls perl_call_argv(), a function that is in the Nag program - because Perl is. 2 If you compile Perl with Perl caching (see above), the Perl interpreter in Nag will not be called to eval() the Perl program (ie compile it) each time the plugin runs (because it will have already been compiled and the Perl op-code tree will already be in core, ready to run). This is also a win. If you are seeing Perl forks, then something else (AFAIK) is responsible for them. Perhaps truss'ing the nag process would show whats being exec'ed after the Nagios fork. Not so convincing. AFAIK, any Perl program, be it plugin, event-handler, notification-program etc is run by Nag without a fork _and_ exec of Perl. Nag still forksbut instead of the new process being overwritten by Perl and that being called with the plugin, Nagios handles the plugin as if it is a local function call (which it is: to perl_call_argv()). ePN trades off fork() and exec() calls against memory usage and slightly less reliability eg for 200 hosts 350 services PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 78080 nagios 2 0 49340K 15116K select 0:00 3.15% 0.44% nagios 78094 nagios 2 0 49248K 14492K sbwait 0:00 4.00% 0.20% nagios after perhaps a week running. Without ePN, Nag would use far less core. The ePN support is no where near as sophisticated as Apache mod_perl but it works Ok. I would hesitate to forgo it since I use a lot of custom Perl plugins (stuff that use lots of Perl modules like LWP or the DBI/DBD stuff). > I already recompiled nagios with EPN but it does not seems to use it > .... > > Thanks for your help > 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 24 12:44:36 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 24 Apr 2003 06:44:36 -0400 Subject: multiple addresses In-Reply-To: References: Message-ID: <1051181075.1115.3.camel@miles.debisschop.net> On Thu, 2003-04-24 at 01:21, Subhendu Ghosh wrote: > On 23 Apr 2003, Daniel Wittenberg wrote: > > > While setting up some multi-isp-linked firewalls, I got to thinking it > > would be great if I could add multiple "addresss" to a host, just like I > > can put in the multiple parents. I realize the checks and stuff would > > have to be modified, but would this be something that could be added? > > > > Dan > > > > > > > > > You can add multiple IPAddr to a host definitions' address field. Nagios > doesn't care what goes in there. > > However all the plugins would have to be able to parse the address as > passeed by the $HOSTADDRESS$ macro. > > There was some talk of atleast having check_ping/fping/icmp support this > notion of comma delimited address in $HOSTADRESS$ In CVS (i.e., 1.3.99) check_ping accepts a comma-separated list of hosts (or repeated invocations of '-H'). Hadn't really thought about the other plugins. ISTM that check_tcp would be the next highest priority, because some firewalls block ICMP. Beyond that, due to Nagios parent-child relationships, there should be much less need to enhance the other plugins. -- Karl > However for a lot of other plugins it doesn't necessary make sense. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nayan_kalita at yahoo.com Thu Apr 24 12:41:25 2003 From: nayan_kalita at yahoo.com (nayan moni kalita) Date: Thu, 24 Apr 2003 03:41:25 -0700 (PDT) Subject: service problem Message-ID: <20030424104125.74597.qmail@web13606.mail.yahoo.com> hi i have configured nagios and my pre-flight check shows everything is fine.. but none of the services are running.. i get a error that service didn't exit properly.. any idea .. help.. thanks in advance.. nayan __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Apr 24 12:58:18 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 24 Apr 2003 20:58:18 +1000 Subject: Check_disk_smb problem In-Reply-To: <20030424100516.90225.qmail@web10903.mail.yahoo.com>; from stevox2000@yahoo.com on Thu, Apr 24, 2003 at 12:05:16PM +0200 References: <20030424100516.90225.qmail@web10903.mail.yahoo.com> Message-ID: <20030424205814.C229@IPAustralia.Gov.AU> Dear Sir, This plugins usage instructions were not clear to me either so I 'improved' it ... Here's my usage instructions -w, --warning=STRING == \d+ | \d+% | \d+(\.\d+)?(K|M|G|T) Either the amount of free space __below__ which a warning will be generated (followed by a unit suffix), Or Percent of used space __above__ which a warning will be generated (Default: 85%) -c, --critical=STRING == \d+ | \d+% | \d+(\.\d+)?(K|M|G|T) Either the amount of free space __below__ which a critical will be generated (followed by a unit suffix), Or Percent of used space __above__ which a critical will be generated (Default: 95%) if % theshholds, Critical if disk_usage% >= crit_threshold, Warn if warn_threshold <= disk_usage% < crit_thresh if byte threshold, Critical if free_bytes <= crit_threshold, Warn if warn_threshold >= free_bytes > crit_thresh Therefore since the thresholds are specified as Percentages, the first inequalities apply so '- First the script tells me to specify a WARNING thresold < CRITICAL thresold. I don't understand the WARN threshold sould be > CRIT threshold for free space.' then WARN is < CRITICAL (so warn if 85% is used, alert if 95%). You are right. Every time I look at this it's confusing. An unreasonable trade-off, in my view, for plugin helpfulness - will interpret any definition of disk usage - against ambiguity. 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardoleitao at interacesso.pt Thu Apr 24 13:05:52 2003 From: eduardoleitao at interacesso.pt (Eduardo =?ISO-8859-1?Q?Leit=E3o?=) Date: 24 Apr 2003 12:05:52 +0100 Subject: Different escalations for day vs night? In-Reply-To: <20030423015618.GD22325@pianosa.catch22.org> References: <20030423015618.GD22325@pianosa.catch22.org> Message-ID: <1051182352.1004.9.camel@Monitor> Hi Do you have already make the escalations?? can you help me doing one escalations similar to this one. Thanks Edu On Wed, 2003-04-23 at 02:56, Benjamin Feen wrote: > Hi all, > > Here's a fun challenge: > > In my environment, we need to have two different escalation schemes: > one for work hours and one for offhours. > > 8AM-9PM M-F: > 1. Email unixteam > 2. After 5 minutes, page unixadmin1. > 3. If unixadmin1 doesn't respond within 15 minutes, page unixadmin2 > 4. If unixadmin2 doesn't respond within (another) 15 minutes, page unixadmin3 > > The night and weekend schedule is similar, but the delays are 30 minutes. > > This kind of thing is pretty common... how are folks implementing split > schedules like this? > > This would all be so easy if you could specify a time period in > escalations... is that coming in 2.0? Please? :) > > > Thanks in advance, > B > -- > Benjamin Feen > benjamin(AT)feen.com > http://www.monkeybagel.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at nwl.se Thu Apr 24 13:30:45 2003 From: jan.johansson at nwl.se (Jan Johansson) Date: Thu, 24 Apr 2003 13:30:45 +0200 Subject: Log doesnt log. Message-ID: <000001c30a54$f2712da0$cfdda8c0@nwl.se> Well, my nagios WAS working. Until i stopped it, removed the logfile and restarted nagios. Now it doesn't log any more. Or rather, I see things like [04-24-2003 13:28:42] Warning: Contact 'fredrik' is not a member of any contact groups! [04-24-2003 13:28:42] Nagios 1.0 starting... (PID=6681) But no service notification / forced commands are logged anymore.. What might have happened here? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmunoz at comcel.com.co Thu Apr 24 13:52:20 2003 From: jmunoz at comcel.com.co (=?iso-8859-1?Q?Jose_Orlando_Mu=F1oz_Bravo_=28HP=29?=) Date: Thu, 24 Apr 2003 06:52:20 -0500 Subject: Multi nagios sites Message-ID: I had sent this mail, may be useful for you Jomb, ======================================================================== ======================================================================== I'm sending this message because I have resolved my point The Question was: Is possible to have Different Views in the web interface? Is possible to have different companies in a single nagios server? each company see only your machines. And using this topics the answer is YES. FredrikW This is in the docs... Basically you cerate a user in the web-iterface withe the same name as a contact in Nagios. If the user then logs in it should only be able to see those hosts/service that have a contact-group where this contact is a member of (Simple, eh?. Fred Albrecht (Similar Answer) Why don't you try putting your two services groups in different contact groups. Eg, put service group A in contact group A, while B goes to B. Then log in as a user in contact group A and you'll only see service group A. Similar for B. Should be easy enough. Johannes Dagemark (Is good in order to have a separate configurations) You could install 2 diffrent instances of Nagios Just make shure that you configure nagios correctly. ./configure --prefix=/usr/local/nagios-critical --with-htmurl=/nagios-critical --with-cgiurl=/nagios-critical/cgi-bin --with-nagios-user=nagios --with-nagios-g rp=nagios --with-command-user=nagios --with-command-grp=nagios ./configure --prefix=/usr/local/nagios-nocrit --with-htmurl=/nagios-nocrit --wi th-cgiurl=/nagios-nocrit/cgi-bin --with-nagios-user=nagios --with-nagios-grp=nag ios --with-command-user=nagios --with-command-grp=nagios -----Mensaje original----- De: Paul Clayton [mailto:paul.clayton at intec.co.za] Enviado el: jueves, 24 de abril de 2003 2:35 Para: Nagios Users (E-mail) Asunto: [Nagios-users] Multi nagios sites Our company has multiple offices with servers in each area. We would like to have indepedant instances of nagios in each region controlling there own environment. My question, is there any way of configuring the displays to point and click at each nagios environment or can this only be treated as seperate environments. Hope I made this clear. Regards Unix like TeePee no windows, no gates, Apache inside. Paul Clayton Global Unix Co-ordinator Intec Telecom Systems Ph +27 (0) 21 4309000 Fax +27 (0) 21 4309025 Mobile +27(0) 832853403 ******************************************************************************************* This e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Thu Apr 24 14:21:59 2003 From: jsm at inpro.net (Jeff McKeon) Date: 24 Apr 2003 08:21:59 -0400 Subject: Is nagat worth using? Message-ID: <1051186919.20840.3.camel@rh80-jsm.telaurus.net> Hello all, I've got a pretty good nagios setup running and in production. I now need to share it with my network admin and possibly future IT employees. I set the server up manually editing the scripts by hand. This is fine for me but I really don't want other people using my production box to learn the scripts. So, my question is, is the Nagat web interface worth setting up and using? Will it do everything that you can do with manual script editing? Can someone add new Hosts and services with it? thanks, -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Thu Apr 24 14:20:34 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Thu, 24 Apr 2003 14:20:34 +0200 (CEST) Subject: Check_disk_smb problem In-Reply-To: <20030424205814.C229@IPAustralia.Gov.AU> References: <20030424205814.C229@IPAustralia.Gov.AU> Message-ID: <20030424122034.41526.qmail@web10902.mail.yahoo.com> Thanks for your answer but I'm still being confused. Even you have redefined the plugin usage instruction, the results with % usage are still false since this plugin returns % FREE and not % USED. What does it mean to specify a WARNING STATE of 85% FREE and a CRITICAL STATE of 95% FREE disk ? !! Steve --- Stanley Hopcroft a ?crit?: > Dear Sir, > > This plugins usage instructions were not clear to me either so I > 'improved' it ... > > Here's my usage instructions > > -w, --warning=STRING == \d+ | \d+% | \d+(\.\d+)?(K|M|G|T) > Either the amount of free space __below__ which a warning will be > generated (followed by a unit suffix), Or > Percent of used space __above__ which a warning will be generated > (Default: 85%) > -c, --critical=STRING == \d+ | \d+% | \d+(\.\d+)?(K|M|G|T) > > Either the amount of free space __below__ which a critical will be > generated (followed by a unit suffix), Or > Percent of used space __above__ which a critical will be generated > (Default: 95%) > > if % theshholds, Critical if disk_usage% >= crit_threshold, Warn > if warn_threshold <= disk_usage% < crit_thresh > if byte threshold, Critical if free_bytes <= crit_threshold, Warn > if warn_threshold >= free_bytes > crit_thresh > > Therefore since the thresholds are specified as Percentages, the first > inequalities apply so > > '- First the script tells me to specify a WARNING thresold < CRITICAL > thresold. I don't understand the WARN threshold sould be > CRIT > threshold for free space.' > > then WARN is < CRITICAL (so warn if 85% is used, alert if 95%). > > You are right. Every time I look at this it's confusing. An unreasonable > trade-off, in my view, for plugin helpfulness - will interpret any > definition of disk usage - against ambiguity. > > 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 is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mylists at ame.de Thu Apr 24 17:15:01 2003 From: mylists at ame.de (Matthias Eichler) Date: 24 Apr 2003 17:15:01 +0200 Subject: Is nagat worth using? In-Reply-To: <1051186919.20840.3.camel@rh80-jsm.telaurus.net> References: <1051186919.20840.3.camel@rh80-jsm.telaurus.net> Message-ID: <1051197300.1862.40.camel@blindzero> Hi Jeff, my oppinion: in generell NAGAT is worth using it, especially for giving some input for improvements (which MUST be still made there) to the developers. Unfortunately the developer team of NAGAT seems to be a bit...well...let me say, it seems to me as they hold their winter-sleep...;-) In "small" environments (we have just 3 admins here where everybody can do everything) you can really use it well, but if you look for more specific user rights you will not find anything in NAGAT! That's why we will programm this maybe in the next few weeks, months. I found no problems with handling a lot of services and hosts, I just found problems with the GUI, sorting stuff etc... Greetings from Munich, Matthias On Thu, 2003-04-24 at 14:21, Jeff McKeon wrote: > Hello all, > > I've got a pretty good nagios setup running and in production. I now > need to share it with my network admin and possibly future IT > employees. I set the server up manually editing the scripts by hand. > This is fine for me but I really don't want other people using my > production box to learn the scripts. > > So, my question is, is the Nagat web interface worth setting up and > using? Will it do everything that you can do with manual script > editing? Can someone add new Hosts and services with it? > > thanks, -- Matthias Eichler AME Aigner Media & Entertainment ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Quinney at hollandandholland.com Thu Apr 24 17:15:26 2003 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Thu, 24 Apr 2003 16:15:26 +0100 Subject: NSClient In-Reply-To: <3C7B285D6B551441A8930A455196C154268A@c00-ad-00.ocea.ch> References: <3C7B285D6B551441A8930A455196C154268A@c00-ad-00.ocea.ch> Message-ID: Dear All, Thanks for all your feedback on this issue. Yves - I think that NSClient is a great product and is doing maybe 70% of what we actually need, but it would be great to go the full distance and get the performance counters working so we can measure paging file usage etc. Unfortunately I am not much of a UNIX coder, but would love to try and help in any way possible. Matt ____________________________________________ "rubiyz" 24/04/2003 06:03 To "Dean Bishop" , , "Schindewolf, Stefan, Infraserv-Hoechst/DE" cc , , , "rubiyz" Subject RE: [Nagios-users] NSClient GFI MailSecurity's HTML threat engine found HTML scripts in this email and has disabled them. Hi, Thanks for the feedback. I?m also fully aware than there are some painful issues with NSClient. As this tool is still very much used, I?ll try to bring it to a new level of reliability, maybe using another technology... If someone can give me some help on the Unix plug in part, we could save some time in the development ... I?ll do my best to get it very soon! Best regards, Yves -----Original Message----- From: Dean Bishop [mailto:dbishop at ehvert.com] Sent: mercredi, 23. avril 2003 18:31 To: 'Matthew.Quinney at hollandandholland.com'; Schindewolf, Stefan, Infraserv-Hoechst/DE Cc: 'nagios-users at lists.sourceforge.net'; nagios-users-admin at lists.sourceforge.net; 'nagiosplug-devel at lists.sourceforge.net'; rubiyz Subject: RE: [Nagios-users] NSClient I have nsclient installed on about 50 servers. "reliable" might be a bit of a strong word. It is working for the most part but there are difficulties: Sometimes a reboot results in nsclient losing use of the port to another application A lot of memory (>4G) can be a problem. Some versions (1.7.0 or so) are dirty and leave a ton of messages in the event log ... that being said, aside from SNMP, it is the only way to get the information and the problems can be avoided/ignored/worked around. It would be great if someone had the time to clean it up and finish a great idea. Just my 2cents (keep the change), dean -----Original Message----- From: Matthew.Quinney at hollandandholland.com [mailto:Matthew.Quinney at hollandandholland.com] Sent: April 23, 2003 1:28 PM To: Schindewolf, Stefan, Infraserv-Hoechst/DE Cc: 'nagios-users at lists.sourceforge.net'; nagios-users-admin at lists.sourceforge.net; 'nagiosplug-devel at lists.sourceforge.net'; 'rubiyz1047 at swyz.com' Subject: [Nagios-users] NSClient Dear All, On the subject of Nsclient and monitoring Windows servers I was wondering if anybody has got Nsclient monitoring Windows 2000 SP3 performance monitors reliably. We are using Nagios V1.0 and Plugins 1.3.0. If anybody is then please let me know - then I can assume I am doing something wrong. I accept that you can install other SNMP counters etc, but I am trying to make network monitoring as easy as possible - with as fewer clients installed on servers. I have included a sample check command below. I'd be greateful of any help !! Thanks Matthew define command{ command_name check_nt_pagingfile command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\\Paging File(_Total)\\% Usage","Paging file usage is %.2f %%" -w 70 -c 80 } _____________________________________________________________________ This e-mail has been scanned for viruses by the uuNet Internet Managed Scanning Service - powered by MessageLabs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dbishop at ehvert.com Thu Apr 24 17:16:07 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Thu, 24 Apr 2003 11:16:07 -0400 Subject: NSClient Message-ID: <2E3E9736615DD311895D00105A9CADED014BCBEF@eentsvr40.ehvert.com> likewise i believe that nsclient is invaluable but incomplete. any assistance i can lend i would be happy to. do you have a todo list? dean -----Original Message----- From: Matthew.Quinney at hollandandholland.com To: rubiyz Cc: Dean Bishop; nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net; nagiosplug-devel at lists.sourceforge.net; rubiyz; Schindewolf, Stefan, Infraserv-Hoechst/DE Sent: 4/24/2003 11:15 AM Subject: RE: [Nagios-users] NSClient Dear All, Thanks for all your feedback on this issue. Yves - I think that NSClient is a great product and is doing maybe 70% of what we actually need, but it would be great to go the full distance and get the performance counters working so we can measure paging file usage etc. Unfortunately I am not much of a UNIX coder, but would love to try and help in any way possible. Matt ____________________________________________ "rubiyz" 24/04/2003 06:03 To "Dean Bishop" , , "Schindewolf, Stefan, Infraserv-Hoechst/DE" cc , , , "rubiyz" Subject RE: [Nagios-users] NSClient GFI MailSecurity's HTML threat engine found HTML scripts in this email and has disabled them. Hi, Thanks for the feedback. I'm also fully aware than there are some painful issues with NSClient. As this tool is still very much used, I'll try to bring it to a new level of reliability, maybe using another technology... If someone can give me some help on the Unix plug in part, we could save some time in the development ... I'll do my best to get it very soon! Best regards, Yves -----Original Message----- From: Dean Bishop [mailto:dbishop at ehvert.com] Sent: mercredi, 23. avril 2003 18:31 To: 'Matthew.Quinney at hollandandholland.com'; Schindewolf, Stefan, Infraserv-Hoechst/DE Cc: 'nagios-users at lists.sourceforge.net'; nagios-users-admin at lists.sourceforge.net; 'nagiosplug-devel at lists.sourceforge.net'; rubiyz Subject: RE: [Nagios-users] NSClient I have nsclient installed on about 50 servers. "reliable" might be a bit of a strong word. It is working for the most part but there are difficulties: Sometimes a reboot results in nsclient losing use of the port to another application A lot of memory (>4G) can be a problem. Some versions (1.7.0 or so) are dirty and leave a ton of messages in the event log ... that being said, aside from SNMP, it is the only way to get the information and the problems can be avoided/ignored/worked around. It would be great if someone had the time to clean it up and finish a great idea. Just my 2cents (keep the change), dean -----Original Message----- From: Matthew.Quinney at hollandandholland.com [mailto:Matthew.Quinney at hollandandholland.com] Sent: April 23, 2003 1:28 PM To: Schindewolf, Stefan, Infraserv-Hoechst/DE Cc: 'nagios-users at lists.sourceforge.net'; nagios-users-admin at lists.sourceforge.net; 'nagiosplug-devel at lists.sourceforge.net'; 'rubiyz1047 at swyz.com' Subject: [Nagios-users] NSClient Dear All, On the subject of Nsclient and monitoring Windows servers I was wondering if anybody has got Nsclient monitoring Windows 2000 SP3 performance monitors reliably. We are using Nagios V1.0 and Plugins 1.3.0. If anybody is then please let me know - then I can assume I am doing something wrong. I accept that you can install other SNMP counters etc, but I am trying to make network monitoring as easy as possible - with as fewer clients installed on servers. I have included a sample check command below. I'd be greateful of any help !! Thanks Matthew define command{ command_name check_nt_pagingfile command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\\Paging File(_Total)\\% Usage","Paging file usage is %.2f %%" -w 70 -c 80 } _____________________________________________________________________ This e-mail has been scanned for viruses by the uuNet Internet Managed Scanning Service - powered by MessageLabs. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 icnet.com.ve Thu Apr 24 17:19:10 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Thu, 24 Apr 2003 11:19:10 -0400 Subject: check_bgp Message-ID: <5.1.0.14.0.20030424111739.00b4d3e8@pop.icnet.com.ve> Hi, I have configured the check_bgpstate.pl plugin and is running very good, but I want to configure the check_bgp plugin for monitor the prefixes. Anybody can help me? Thanks, Jeyri ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 icnet.com.ve Thu Apr 24 17:26:33 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Thu, 24 Apr 2003 11:26:33 -0400 Subject: Availability and trends report Message-ID: <5.1.0.14.0.20030424111911.00b58148@pop.icnet.com.ve> Hi, When I generate the availability or trends report for a host o service, I see differents values depending of first assumed host state, when I select Unspecified state, the report show 0% Up, Down and unreachable, when I select Host Up, the report show me 100% up and 0% in the other state, when I select Host Down, the report show me 100% down state, and 0% in the other states. I don?t know what is happen. Anybody can help me? Jeyri ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DanielJ at avatar-cs.net Thu Apr 24 17:08:42 2003 From: DanielJ at avatar-cs.net (Daniel Jimenez) Date: Thu, 24 Apr 2003 10:08:42 -0500 Subject: Is nagat worth using? Message-ID: <115F85A8196CD411BBAB0008C7590661820618@FS01> Personally, I'd say that if you don't know the scripts "manually". Nagat won't be much more helpful. Daniel -----Original Message----- From: Jeff McKeon [mailto:jsm at inpro.net] Sent: Thursday, April 24, 2003 7:22 AM To: Nagios List Subject: [Nagios-users] Is nagat worth using? Hello all, I've got a pretty good nagios setup running and in production. I now need to share it with my network admin and possibly future IT employees. I set the server up manually editing the scripts by hand. This is fine for me but I really don't want other people using my production box to learn the scripts. So, my question is, is the Nagat web interface worth setting up and using? Will it do everything that you can do with manual script editing? Can someone add new Hosts and services with it? thanks, -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Michael.Huettig at Medien-Systempartner.de Thu Apr 24 17:49:37 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Thu, 24 Apr 2003 17:49:37 +0200 Subject: Notification BUG nagios 1.0 Message-ID: <200304241749.37063.Michael.Huettig@Medien-Systempartner.de> Hi all, previously i posted some messages about notification-problems. Has anyone read this or has same problems? I receive a lot of notifications for hosts, for which i'm definitly NOT the defined contact. I think there is a bug probably with the parents-directive. I'm contact for all net-devices like switches and routers, but not for some NT-, NW-Servers, which i've defined like following example: define host{ host_name NWZ_1 alias NWZ_1 Novell-Server address 172.16.20.17 parents WX1-DC2 use allways-on-template } I'll receive notifications for hosts, when they are going down, but there is no ability to define a contact for the host. So i think there is a difference between hosts and services and the defined notification-groups for them. -- Mit freundlichem Gru? Michael H?ttig ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtroutma at wheatintl.com Thu Apr 24 17:57:07 2003 From: mtroutma at wheatintl.com (Michael Troutman) Date: Thu, 24 Apr 2003 11:57:07 -0400 Subject: Log not logging, trends.cgi and check_udp and check_ntp error Message-ID: <5.2.0.9.0.20030424115224.0230d148@mail.wheatintl.com> I recently upgraded to Nagios 1 and converted my configs to the new format (full day job). Overall I am very happy with the process response time. I do have a few problems though : 1) The trends.cgi seems to be missing - it isn't on the server, but was under the old version 2) check_ntp gives a constant warning "NTP WARNING: Offset -98.118033 msec > +/- 60 sec, jitter 0.020 msec " despite the plugin's defaults. Manual value override doesn't help wither. 3) check_udp - FYI - it doesn't use '-H' - bug 4) The log is only logging process changes, not service notifications. Syslog gets everything properly. Since the nagios.log is incomplete, trend analysis is basically 100% regardless of process status. _________________________________________ Michael Troutman Director of Network Engineering Wheat International Communications Corporation 1890 Preston White Drive Reston, Virginia 20191 Work 703.262.9100 Cell 571.332.4396 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Thu Apr 24 17:39:49 2003 From: jsm at inpro.net (Jeff McKeon) Date: 24 Apr 2003 11:39:49 -0400 Subject: Is nagat worth using? In-Reply-To: <1051197300.1862.40.camel@blindzero> References: <1051186919.20840.3.camel@rh80-jsm.telaurus.net> <1051197300.1862.40.camel@blindzero> Message-ID: <1051198788.20840.5.camel@rh80-jsm.telaurus.net> Matthias, Thanks for the input!! Jeff On Thu, 2003-04-24 at 11:15, Matthias Eichler wrote: > Hi Jeff, > > my oppinion: in generell NAGAT is worth using it, especially for giving > some input for improvements (which MUST be still made there) to the > developers. > Unfortunately the developer team of NAGAT seems to be a bit...well...let > me say, it seems to me as they hold their winter-sleep...;-) > > In "small" environments (we have just 3 admins here where everybody can > do everything) you can really use it well, but if you look for more > specific user rights you will not find anything in NAGAT! > That's why we will programm this maybe in the next few weeks, months. > > I found no problems with handling a lot of services and hosts, I just > found problems with the GUI, sorting stuff etc... > > Greetings from Munich, > > Matthias > > On Thu, 2003-04-24 at 14:21, Jeff McKeon wrote: > > Hello all, > > > > I've got a pretty good nagios setup running and in production. I now > > need to share it with my network admin and possibly future IT > > employees. I set the server up manually editing the scripts by hand. > > This is fine for me but I really don't want other people using my > > production box to learn the scripts. > > > > So, my question is, is the Nagat web interface worth setting up and > > using? Will it do everything that you can do with manual script > > editing? Can someone add new Hosts and services with it? > > > > thanks, -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at troutman.org Thu Apr 24 17:57:33 2003 From: mike at troutman.org (Troutman) Date: Thu, 24 Apr 2003 11:57:33 -0400 Subject: Log not logging, trends.cgi and check_udp and check_ntp error Message-ID: <5.2.0.9.0.20030424115726.023a3c68@mail.wheatintl.com> I recently upgraded to Nagios 1 and converted my configs to the new format (full day job). Overall I am very happy with the process response time. I do have a few problems though : 1) The trends.cgi seems to be missing - it isn't on the server, but was under the old version 2) check_ntp gives a constant warning "NTP WARNING: Offset -98.118033 msec > +/- 60 sec, jitter 0.020 msec " despite the plugin's defaults. Manual value override doesn't help wither. 3) check_udp - FYI - it doesn't use '-H' - bug 4) The log is only logging process changes, not service notifications. Syslog gets everything properly. Since the nagios.log is incomplete, trend analysis is basically 100% regardless of process status. ___________________________________________ Mike Troutman http://www.troutman.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Thu Apr 24 18:31:53 2003 From: jsm at inpro.net (Jeff McKeon) Date: 24 Apr 2003 12:31:53 -0400 Subject: Check_disk_smb problem In-Reply-To: <20030424155747.87998.qmail@web10904.mail.yahoo.com> References: <20030424155747.87998.qmail@web10904.mail.yahoo.com> Message-ID: <1051201913.20840.11.camel@rh80-jsm.telaurus.net> Look at this.. [jsm at rh80-jsm libexec]$ ./check_disk_smb -H db01tc07927 -s mail -w 47G -c 2G WARNING: Only 46.47G (92%) free on \\db01tc07927\mail [jsm at rh80-jsm libexec]$ ./check_disk_smb -H db01tc07927 -s mail -w 50G -c 47G CRITICAL: Only 46.47G (92%) free on \\db01tc07927\mail You need to specify k, M or G after the thresholds in order for it to work the way you want... On Thu, 2003-04-24 at 11:57, Steve Dussaux wrote: > Nop it doesn't work. > > --- Jeff McKeon a ?crit : > Look at it the other way around... > > > > warning state of 30% free and a critical state of 10% free > > > > Won't that work? > > > > On Thu, 2003-04-24 at 08:20, Steve Dussaux wrote: > > > Thanks for your answer but I'm still being confused. > > > Even you have redefined the plugin usage instruction, the results with % usage are still false > > > since this plugin returns % FREE and not % USED. > > > What does it mean to specify a WARNING STATE of 85% FREE and a CRITICAL STATE of 95% FREE disk > > ? > > > !! > > > > > > Steve > > > > > > > > > --- Stanley Hopcroft a ??crit : > Dear Sir, > > > > > > > > This plugins usage instructions were not clear to me either so I > > > > 'improved' it ... > > > > > > > > Here's my usage instructions > > > > > > > > -w, --warning=STRING == \d+ | \d+% | \d+(\.\d+)?(K|M|G|T) > > > > Either the amount of free space __below__ which a warning will be > > > > generated (followed by a unit suffix), Or > > > > Percent of used space __above__ which a warning will be generated > > > > (Default: 85%) > > > > -c, --critical=STRING == \d+ | \d+% | \d+(\.\d+)?(K|M|G|T) > > > > > > > > Either the amount of free space __below__ which a critical will be > > > > generated (followed by a unit suffix), Or > > > > Percent of used space __above__ which a critical will be generated > > > > (Default: 95%) > > > > > > > > if % theshholds, Critical if disk_usage% >= crit_threshold, Warn > > > > if warn_threshold <= disk_usage% < crit_thresh > > > > if byte threshold, Critical if free_bytes <= crit_threshold, Warn > > > > if warn_threshold >= free_bytes > crit_thresh > > > > > > > > Therefore since the thresholds are specified as Percentages, the first > > > > inequalities apply so > > > > > > > > '- First the script tells me to specify a WARNING thresold < CRITICAL > > > > thresold. I don't understand the WARN threshold sould be > CRIT > > > > threshold for free space.' > > > > > > > > then WARN is < CRITICAL (so warn if 85% is used, alert if 95%). > > > > > > > > You are right. Every time I look at this it's confusing. An unreasonable > > > > trade-off, in my view, for plugin helpfulness - will interpret any > > > > definition of disk usage - against ambiguity. > > > > > > > > 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 is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ___________________________________________________________ > > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran??ais ! > > > Yahoo! Mail : http://fr.mail.yahoo.com > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > -- > > Jeff McKeon > > > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > Yahoo! Mail : http://fr.mail.yahoo.com -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mylists at ame.de Thu Apr 24 18:31:23 2003 From: mylists at ame.de (Matthias Eichler) Date: 24 Apr 2003 18:31:23 +0200 Subject: Notification BUG nagios 1.0 In-Reply-To: <200304241749.37063.Michael.Huettig@Medien-Systempartner.de> References: <200304241749.37063.Michael.Huettig@Medien-Systempartner.de> Message-ID: <1051201882.1862.65.camel@blindzero> I can definitely say, that we have no such problem here. I am contact for some devices that are parents, but I am not the contact for children devices, and I do not get any notifications for them... Greetings from Munich, Matthias On Thu, 2003-04-24 at 17:49, Michael H?ttig wrote: > Hi all, > previously i posted some messages about notification-problems. Has anyone read > this or has same problems? > > I receive a lot of notifications for hosts, for which i'm definitly NOT the defined contact. I think there is a bug probably with the parents-directive. > I'm contact for all net-devices like switches and routers, but not for some NT-, NW-Servers, which i've defined like following example: > > define host{ > host_name NWZ_1 > alias NWZ_1 Novell-Server > address 172.16.20.17 > parents WX1-DC2 > use allways-on-template > } > > I'll receive notifications for hosts, when they are going down, but there is > no ability to define a contact for the host. So i think there is a difference > between hosts and services and the defined notification-groups for them. -- Matthias Eichler AME Aigner Media & Entertainment ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Thu Apr 24 18:38:47 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Thu, 24 Apr 2003 12:38:47 -0400 Subject: Notification BUG nagios 1.0 Message-ID: <2E3E9736615DD311895D00105A9CADED014BCBF2@eentsvr40.ehvert.com> Actually notification for hosts is set in the hostgroups.cfg file. later, dean -----Original Message----- From: Michael H?ttig To: nagios-users at lists.sourceforge.net; nagios at nagios.org Sent: 4/24/2003 11:49 AM Subject: [Nagios-users] Notification BUG nagios 1.0 Hi all, previously i posted some messages about notification-problems. Has anyone read this or has same problems? I receive a lot of notifications for hosts, for which i'm definitly NOT the defined contact. I think there is a bug probably with the parents-directive. I'm contact for all net-devices like switches and routers, but not for some NT-, NW-Servers, which i've defined like following example: define host{ host_name NWZ_1 alias NWZ_1 Novell-Server address 172.16.20.17 parents WX1-DC2 use allways-on-template } I'll receive notifications for hosts, when they are going down, but there is no ability to define a contact for the host. So i think there is a difference between hosts and services and the defined notification-groups for them. -- Mit freundlichem Gru? Michael H?ttig ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 24 18:42:56 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 24 Apr 2003 12:42:56 -0400 (EDT) Subject: check_bgp In-Reply-To: <5.1.0.14.0.20030424111739.00b4d3e8@pop.icnet.com.ve> References: <5.1.0.14.0.20030424111739.00b4d3e8@pop.icnet.com.ve> Message-ID: The number of prefixes received by bgp peers is the topic of a proposed MIB enhancement - bgpM2PeerCounters (http://www.ietf.org/internet-drafts/draft-ietf-idr-bgp4-mibv2-03.txt) nobody has yet implemented this counter as far as I know. The only way to do it know would be write a wrapper around some screen-scraping program like RANCID or LookingGlass (shrubbery.net) -sg On Thu, 24 Apr 2003, Jeyri Bautista wrote: > Hi, > > I have configured the check_bgpstate.pl plugin and is running very good, > but I want to configure the check_bgp plugin for monitor the prefixes. > > Anybody can help me? > > Thanks, > Jeyri > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 24 18:54:58 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 24 Apr 2003 12:54:58 -0400 (EDT) Subject: Aix monitoring In-Reply-To: <65022.24.72.6.129.1051201807.squirrel@webmail.bangtherockstogether.ne t> References: <65022.24.72.6.129.1051201807.squirrel@webmail.bangtherockstogether.ne t> Message-ID: On Thu, 24 Apr 2003, Lonny Selinger wrote: > > Our new AIX plugins aren't currently in the contrib section of Nagios > CVS but I will forward what I have to Karl or I can post the archive > somewhere else if anyone wants it. Please post to SourceForge http://sourceforge.net/tracker/?atid=541465&group_id=29880&func=browse -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 24 18:52:04 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 24 Apr 2003 12:52:04 -0400 (EDT) Subject: Log not logging, trends.cgi and check_udp and check_ntp error In-Reply-To: <5.2.0.9.0.20030424115726.023a3c68@mail.wheatintl.com> References: <5.2.0.9.0.20030424115726.023a3c68@mail.wheatintl.com> Message-ID: One message is sufficient. You mentioned Nagios v1, but neglected to mention which version of plugins. Also did you compile from source - if so were there any warnings about GD libraries - trends.cgi needs them. for the plugins - did you try modifying the arguments? check_ntp - does 2 tests: ntpdate against a server (localtime vs server time) and ntpdc (server is in sync with its peers). check_udp does require -H -sg On Thu, 24 Apr 2003, Troutman wrote: > I recently upgraded to Nagios 1 and converted my configs to the new format > (full day job). Overall I am very happy with the process response time. I > do have a few problems though : > > 1) The trends.cgi seems to be missing - it isn't on the server, but was > under the old version > 2) check_ntp gives a constant warning "NTP WARNING: Offset -98.118033 > msec > +/- 60 sec, jitter 0.020 msec " despite the plugin's defaults. > Manual value override doesn't help wither. > 3) check_udp - FYI - it doesn't use '-H' - bug > 4) The log is only logging process changes, not service > notifications. Syslog gets everything properly. Since the nagios.log is > incomplete, trend analysis is basically 100% regardless of process status. > > > > ___________________________________________ > Mike Troutman > http://www.troutman.org > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomas.tam at canarie.ca Thu Apr 24 19:10:15 2003 From: thomas.tam at canarie.ca (Thomas Tam) Date: Thu, 24 Apr 2003 13:10:15 -0400 Subject: CLI command to issue a problem acknowledgment Message-ID: Hi, Is there any CLI equivalent command to issue a service problem acknowledgement? -Thomas Tam ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at troutman.org Thu Apr 24 19:13:30 2003 From: mike at troutman.org (Troutman) Date: Thu, 24 Apr 2003 13:13:30 -0400 Subject: Log not logging, trends.cgi and check_udp and check_ntp error In-Reply-To: References: <5.2.0.9.0.20030424115726.023a3c68@mail.wheatintl.com> Message-ID: <5.2.0.9.0.20030424125921.021b0ff0@mail.troutman.org> At 12:52 PM 4/24/2003, you wrote: >You mentioned Nagios v1, but neglected to mention which version of >plugins. > >Also did you compile from source - if so were there any warnings about GD >libraries - trends.cgi needs them. Plugins v.1.3-1 from rpm. Nagios 1 compiled from source on RH 9.0. No errors on compile. Went back and checked to make sure. >for the plugins - did you try modifying the arguments? Yes : from checkcommands.cfg : $USER1$/check_ntp -H $HOSTADDRESS$ -w 60 -c 120 -j 5000 -k 10000 /usr/lib/nagios/plugins/check_ntp x.x.x.x -w 60 -c 120 -j 5000 -k 10000 NTP WARNING: Offset -99.122618 msec > +/- 60 sec, jitter 1.641 msec If I change -w to 120, I get an OK. The --help file reads : -w ( --warning) Clock offset in seconds at which a warning message will be generated. Defaults to 60. Perhaps that should read msec instead of seconds. >check_ntp - does 2 tests: ntpdate against a server (localtime vs server >time) and ntpdc (server is in sync with its peers). > >check_udp does require -H /usr/lib/nagios/plugins/check_udp -H x.x.x.x Host name was not supplied Usage: check_udp -H [-p port] [-w warn_time] [-c crit_time] [-e expect] [-s send] [-t to_sec] [-v] /usr/lib/nagios/plugins/check_udp x.x.x.x No data was recieved from host! No response from host on port 0 Perhaps there was a bug in the rpm for the 1.3-1 plugins. This version of check_udp requires you not to use '-H' and check_ntp doesn't seem to be accepting the assigned values (unless I am reading the --help instructions incorrectly). ___________________________________________ Mike Troutman http://www.troutman.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardoleitao at interacesso.pt Thu Apr 24 19:29:26 2003 From: eduardoleitao at interacesso.pt (Eduardo =?ISO-8859-1?Q?Leit=E3o?=) Date: 24 Apr 2003 18:29:26 +0100 Subject: MySQL Message-ID: <1051205366.998.63.camel@Monitor> Hi all, I'm just asking if anyone have develop a form to save object data and peformance data in tables mysql instead of configuration files. Another doubts if there is another aplication to administer the configuration files instead of Nagat. Best regards Edu ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Robertson at instill.com Thu Apr 24 19:54:56 2003 From: Chris.Robertson at instill.com (Chris Robertson) Date: Thu, 24 Apr 2003 10:54:56 -0700 Subject: Compiling NSCA on Solaris 8 Message-ID: We're getting a lot of wierd syntax errors when trying to compile any of the NSCA pieces on Solaris 8 (though the configure process completes successfully). Anyone had any luck with this? Thanks, Chris ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmarquart at planalytics.com Thu Apr 24 19:45:23 2003 From: jmarquart at planalytics.com (jmarquart at planalytics.com) Date: Thu, 24 Apr 2003 13:45:23 -0400 Subject: CLI command to issue a problem acknowledgment Message-ID: <85256D12.00618A89.00@mailhost.planalytics.com> AFAIK the closes thing currently is a tool called remote_ctl - which is on the downloads page at nagios.org. There used to be for netsaint a "full" CL client. I was unable to find a link offhand - and i do not know how well/poorly this would work w/ nagios. I would contribute as much as humanly possible to anyone w/ the ability/engineering fortitude to do a CL client (curses would be cool!). I would love to ssh in and fix something instead of starting X/browser/vpn software/etc. cheers -john "Thomas Tam" on 04/24/2003 01:10:15 PM To: nagios-users at lists.sourceforge.net cc: (bcc: John J. der Schalla Marquart/Planalytics) Subject: [Nagios-users] CLI command to issue a problem acknowledgment Hi, Is there any CLI equivalent command to issue a service problem acknowledgement? -Thomas Tam ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Don.Howard at connectedenergy.com Thu Apr 24 19:58:15 2003 From: Don.Howard at connectedenergy.com (Don Howard) Date: Thu, 24 Apr 2003 13:58:15 -0400 Subject: Empty status.log file Message-ID: <0C68BB5622B41D41ACEC1716B2C2DD0862D0@cecmail.CDAINTERNAL.COM> My status.log file is empty. I had this up and running for weeks and made not changes. I went to hit the website and I got the following message when I tried to look at service or host details: "There doesn't appear to be any host status information in the status log... Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files." Nagios is running as indicated by [root at northernbytesconsulting etc]# ps -ef |grep nagios nagios 1130 1 0 13:12 ? 00:00:00 /usr/local/nagios/bin/nagios -d and the path is correct in the nagios.cfg file it is status_file=/usr/local/nagios/var/status.log if I stop nagios the status.log file disapears and upon restart it is back but empty. Anyone have any ideas? I tried gooleing on this problem as well as searching the archives and did not come up with anything. Any help would be appriciated. Thanks, Don -- Don Howard Network Administrator Connected Energy Mailto:Don.Howard at connectedenergy.com http://www.connectedenergy.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-wittenberg at uiowa.edu Thu Apr 24 22:02:54 2003 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 24 Apr 2003 15:02:54 -0500 Subject: add more detailed info ? Message-ID: <1051214574.21946.8.camel@tux.its.uiowa.edu> We are looking at converting from spong to nagios, but one of the complaints I have had is that in spong when you click on a service, the next page has more detailed info on the service. For example, if I see a disk error, I click on the disk check, and the next screen shows a full df. This is nice for some custom checks where having a lot more detail is nice, but it clutters the main screeen too much. Any ideas on other ways to provide the detailed information? If we did patches to add that, and extend the protocol for a "long message" as well as summary, would they includeded ? Thanks, Dan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rduta at syskey.com Thu Apr 24 23:17:30 2003 From: rduta at syskey.com (Radu Duta) Date: Thu, 24 Apr 2003 17:17:30 -0400 Subject: is it possible to use groups in services.cfg Message-ID: <20030424171730.C5294@garagenet.com> defining services requires the use of "host_name". Is there away to use groups? I have some 50 hosts that have the same service, and it's tedious to keep changing them. seems like the smart thing to enter either a group or a host_name for a service definition. Radu ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yk77 at sbcglobal.net Thu Apr 24 23:27:53 2003 From: yk77 at sbcglobal.net (yk77 at sbcglobal.net) Date: Thu, 24 Apr 2003 14:27:53 -0700 Subject: Limitation for RedHat 8.0? Message-ID: My server was installed for RedHat8.0 and now I'm trying to start installing nagios from source code.Then I have a question. Are there any limitation to install for RedHat version 8.0? I mean, does it work for nagios on RedHat8.0? If somebody already installed it to RedHat8.0, please let me know. Thank you, Yuko ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 24 23:39:06 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 24 Apr 2003 17:39:06 -0400 (EDT) Subject: is it possible to use groups in services.cfg In-Reply-To: <20030424171730.C5294@garagenet.com> References: <20030424171730.C5294@garagenet.com> Message-ID: On Thu, 24 Apr 2003, Radu Duta wrote: > defining services requires the use of "host_name". Is there > away to use groups? I have some 50 hosts that have the > same service, and it's tedious to keep changing them. > > seems like the smart thing to enter either a group or a host_name > for a service definition. > > Radu > I think you need this doc... http://nagios.sourceforge.net/docs/1_0/templatetricks.html -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Apr 24 23:37:47 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 24 Apr 2003 17:37:47 -0400 (EDT) Subject: add more detailed info ? In-Reply-To: <1051214574.21946.8.camel@tux.its.uiowa.edu> References: <1051214574.21946.8.camel@tux.its.uiowa.edu> Message-ID: On 24 Apr 2003, Daniel Wittenberg wrote: > We are looking at converting from spong to nagios, but one of the > complaints I have had is that in spong when you click on a service, the > next page has more detailed info on the service. For example, if I see > a disk error, I click on the disk check, and the next screen shows a > full df. This is nice for some custom checks where having a lot more > detail is nice, but it clutters the main screeen too much. Any ideas on > other ways to provide the detailed information? If we did patches to > add that, and extend the protocol for a "long message" as well as > summary, would they includeded ? > > Thanks, > Dan > Currently there is a hard limit of about 384 characters (bytes) of information that can be accepted from the plugin to the nagios daemon. This includes the plugin output as well as any perfdata output. There is a facility in nagios (extinfo) that allows you to specify a url for extended information on a particular host or service. Most of the examples you see are urls pointing to notes about configuration/customer info. Nothing prevent you from using this extinfo url to launch a probe on the host/service for more detail. A second alternative is to wrap the output of the plugin with the urlize plugin. Then the output shown on the cgi's becomes clickable. (but the size limit still applies). I tend to use the urlize plugin along with the traceroute.cgi from the nagios contrib dir to see a simple traceroute path from the nagios host to the $HOSTADDRESS$ -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkazmier at sofast.net Thu Apr 24 23:49:57 2003 From: mkazmier at sofast.net (Michael S. Kazmier) Date: Thu, 24 Apr 2003 15:49:57 -0600 Subject: Limitation for RedHat 8.0? In-Reply-To: References: Message-ID: <00f901c30aab$73035730$6701010a@kazkdsxp> We are running RH8.0 with no problems... minus trying to figure out how to get serviceextinfo.cfg files to work correctly... -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of yk77 at sbcglobal.net Sent: Thursday, April 24, 2003 3:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Limitation for RedHat 8.0? My server was installed for RedHat8.0 and now I'm trying to start installing nagios from source code.Then I have a question. Are there any limitation to install for RedHat version 8.0? I mean, does it work for nagios on RedHat8.0? If somebody already installed it to RedHat8.0, please let me know. Thank you, Yuko ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Farris at key3media.com Fri Apr 25 00:05:19 2003 From: Ben.Farris at key3media.com (Ben.Farris at key3media.com) Date: Thu, 24 Apr 2003 15:05:19 -0700 Subject: notifications based upon thresholds Message-ID: Is it possible to setup notifications where emails are sent out on warnings for a service and paging is done on critical events. I would think so but I havent been able to get my config to do this. I either get both emails and pages or no notifications fail. Can someone send me an example. Thanks, Ben ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peter at echtsauer.net Fri Apr 25 00:19:35 2003 From: peter at echtsauer.net (Peter Sauer) Date: Fri, 25 Apr 2003 00:19:35 +0200 (CEST) Subject: Problems configuring Nagios with mysql database support Message-ID: <64624.80.110.217.149.1051222775.squirrel@www.echtsauer.net> Hello everybody, I want to install Nagios-1.0 on my Redhat 7.3 box with mysql-support, but when I'm running the configure script with option --with-mysql-xdata, I get the error message that the mysql-library cannot be found on this system. I've installt these rpm's: mysql-3.23.49-3.i386.rpm mysql-server-3.23.49-3.i386.rpm mysqlclient9-3.23.22-6.i386.rpm mysql-devel-3.23.49-3.i386.rpm The mysqlclient-libs are located in /usr/lib/mysql, and this directory is also listed in /etc/ld.so.conf. Does anybody have an idea ? Kind regards, Peter -- One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Apr 25 00:40:57 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 24 Apr 2003 17:40:57 -0500 Subject: notifications based upon thresholds Message-ID: The short answer is: Create 2 contacts (eg, jim (for e-mail) and jim-pager). Make sure they're both in the same contact_group. In our particular environment, the SAs are in their appropriate contact_group, and a virtual contact (eg, unix-oncall-pager) is a member of all the Unix-related contact groups. The SAs get only e-mail notifications on warning/critical/unknown/recovery, and the virtual contact gets only pager notifications on critical/unknown/recovery. I could send you snippets of my configs, but it doesn't sound like it's exactly the same as what you're trying to do. jc > -----Original Message----- > From: Ben.Farris at key3media.com [mailto:Ben.Farris at key3media.com] > Sent: Thursday, April 24, 2003 5:05 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notifications based upon thresholds > > > Is it possible to setup notifications where emails are sent > out on warnings > for a service and paging is done on critical events. I would > think so but I > havent been able to get my config to do this. I either get > both emails and > pages or no notifications fail. Can someone send me an example. > > Thanks, > Ben > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Farris at key3media.com Fri Apr 25 00:58:48 2003 From: Ben.Farris at key3media.com (Ben.Farris at key3media.com) Date: Thu, 24 Apr 2003 15:58:48 -0700 Subject: notifications based upon thresholds Message-ID: Jim, Thanks...This is exactly what I want to do... -Ben "Carroll, Jim P [Contractor]" To: , Subject: RE: [Nagios-users] notifications based upon thresholds 04/24/2003 03:40 PM The short answer is: Create 2 contacts (eg, jim (for e-mail) and jim-pager). Make sure they're both in the same contact_group. In our particular environment, the SAs are in their appropriate contact_group, and a virtual contact (eg, unix-oncall-pager) is a member of all the Unix-related contact groups. The SAs get only e-mail notifications on warning/critical/unknown/recovery, and the virtual contact gets only pager notifications on critical/unknown/recovery. I could send you snippets of my configs, but it doesn't sound like it's exactly the same as what you're trying to do. jc > -----Original Message----- > From: Ben.Farris at key3media.com [mailto:Ben.Farris at key3media.com] > Sent: Thursday, April 24, 2003 5:05 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notifications based upon thresholds > > > Is it possible to setup notifications where emails are sent > out on warnings > for a service and paging is done on critical events. I would > think so but I > havent been able to get my config to do this. I either get > both emails and > pages or no notifications fail. Can someone send me an example. > > Thanks, > Ben > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nick at docmagic.com Fri Apr 25 00:53:05 2003 From: nick at docmagic.com (Nicholas Bernstein) Date: 24 Apr 2003 15:53:05 -0700 Subject: Where does $ARG1$ come from Message-ID: <1051224785.2061.83.camel@nick.docmagic.com> # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 15 } Where does the value of $ARG1$ & $ARG2$ get set? -- +---------------------------------------------------------------+ | Nicholas Bernstein | nick at docmagic.com | | UNIX Systems Administrator | http://www.docmagic.com | | Document Systems Inc. | | +---------------------------------------------------------------+ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bakkerl at lamp.xs4all.nl Fri Apr 25 01:09:04 2003 From: bakkerl at lamp.xs4all.nl (Lennard Bakker) Date: 25 Apr 2003 01:09:04 +0200 Subject: Limitation for RedHat 8.0? In-Reply-To: References: Message-ID: <1051225743.16732.5.camel@peitha> On Thu, 2003-04-24 at 23:27, yk77 at sbcglobal.net wrote: > My server was installed for RedHat8.0 and now I'm trying to start installing > nagios from source code.Then I have a question. > Are there any limitation to install for RedHat version 8.0? > I mean, does it work for nagios on RedHat8.0? > If somebody already installed it to RedHat8.0, > please let me know. Everything just works fine on RedHat 8.0 Source install. With mysql configuration. Lennard ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nick at docmagic.com Fri Apr 25 01:29:51 2003 From: nick at docmagic.com (Nicholas Bernstein) Date: 24 Apr 2003 16:29:51 -0700 Subject: check_ftp gives a critical w/ shorter than warning Message-ID: <1051226991.2068.94.camel@nick.docmagic.com> I get critical errors if it takes longer than 10 seconds to check. This doesn't make sense to me. I've got the timeout at forty - and the warning is at 15 - I'm confused. Giving an error at ten seconds doesn't make any sense to me. If anyone can explain it to me, I would be much appreciative. Thanks!! # 'check_ftp' command definition define command{ command_name check_ftp command_line $USER1$/check_ftp -H $HOSTADDRESS$ -w 15 -c 25 -t 40 } -- +---------------------------------------------------------------+ | Nicholas Bernstein | nick at docmagic.com | | UNIX Systems Administrator | http://www.docmagic.com | | Document Systems Inc. | | +---------------------------------------------------------------+ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From king at kinger.net Fri Apr 25 00:25:40 2003 From: king at kinger.net (Link King) Date: Thu, 24 Apr 2003 15:25:40 -0700 (MST) Subject: NSCA troubleshooting Message-ID: Ok, I think I've got things setup properly but I can't seem to get any data written to my nagios.cmd file on my central server. I can tell that my client machine is sending the info but I get the following message when I execute a submit_check_result from the commandline: root at apollo:./submit_check_result testrtr 'PING' OK 'TEST' 0 data packet(s) sent to host successfully. Am I not testing this properly? Is there another way to test this? I can see that it is connecting to the centeral server as shown in the syslog: Apr 24 16:31:36 zeus nsca[17401]: Handling the connection... Apr 24 16:31:37 zeus nsca[17401]: End of connection... And in the secure log for xinetd: Apr 24 16:34:06 zeus xinetd[8461]: START: nsca pid=17480 from=10.0.0.1 It just seems like no data is being sent. How can I test this better? Link King king at kinger.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From king at kinger.net Fri Apr 25 00:30:43 2003 From: king at kinger.net (Link King) Date: Thu, 24 Apr 2003 15:30:43 -0700 (MST) Subject: NSCA troubleshooting Message-ID: Ok, I think I've got things setup properly but I can't seem to get any data written to my nagios.cmd file on my central server. I can tell that my client machine is sending the info but I get the following message when I execute a submit_check_result from the commandline: root at apollo:./submit_check_result testrtr 'PING' OK 'TEST' 0 data packet(s) sent to host successfully. Am I not testing this properly? Is there another way to test this? I can see that it is connecting to the centeral server as shown in the syslog: Apr 24 16:31:36 zeus nsca[17401]: Handling the connection... Apr 24 16:31:37 zeus nsca[17401]: End of connection... And in the secure log for xinetd: Apr 24 16:34:06 zeus xinetd[8461]: START: nsca pid=17480 from=10.0.0.1 It just seems like no data is being sent. How can I test this better? Link King king at kinger.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bakkerl at lamp.xs4all.nl Fri Apr 25 01:36:14 2003 From: bakkerl at lamp.xs4all.nl (Lennard Bakker) Date: 25 Apr 2003 01:36:14 +0200 Subject: Where does $ARG1$ come from In-Reply-To: <1051224785.2061.83.camel@nick.docmagic.com> References: <1051224785.2061.83.camel@nick.docmagic.com> Message-ID: <1051227372.28247.2.camel@peitha> On Fri, 2003-04-25 at 00:53, Nicholas Bernstein wrote: > # 'check_ping' command definition > define command{ > command_name check_ping > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c > $ARG2$ -p 15 > } > > Where does the value of $ARG1$ & $ARG2$ get set? These values are set in a service-check definition, in the line check_command. In next example is: $ARG1$ = C $ARG2$ = 80% $ARG3$ = 90% define service { host_name pollux service_description HD-C: use l-service notification_interval 120 check_command check_nt_disk!C!80%!90% } Lennard Bakker ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twebb at ohlone.edu Fri Apr 25 01:37:10 2003 From: twebb at ohlone.edu (Tj Webb) Date: 24 Apr 2003 16:37:10 -0700 Subject: still no icons in statusmap Message-ID: <1051227428.19103.173.camel@install.ohone.cc.ca.us> I have read through a good bit of the list looking for some definitive answers as to why I cannot view icons on the statusmap. And I still have not found a solution... 1) ./configure --with-template-extinfo 2) No problems compiling with: libjpeg-6.2.0-480 jpeg-6b-480 zlib-devel-1.1.4-50 zlib-1.1.4-41 libpng-1.2.4-31 libpng-devel-1.2.4-40 gd-1.8.4-382 gd-devel-1.8.4-400 3) also tried upgrading to gd-2.0.11 from boutell's site used make clean and removed config.cache for good measure 3) xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg in cgi.cgf file 4) base images in /usr/local/nagios/share/images/logos 5) No permission issues 6) Tried every permutation of hostextinfo.cfg config I could come up with from examples on the list and from the source sample dir. 7) No error messages from Apache or Nagios of any kind. 8) ldd ./statusmap.cgi libgd.so.2 => /usr/lib/libgd.so.2 (0x4001f000) libz.so.1 => /lib/libz.so.1 (0x40054000) libm.so.6 => /lib/libm.so.6 (0x40063000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40086000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400b6000) libc.so.6 => /lib/libc.so.6 (0x400d4000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) Can anyone clue me in on what I'm missing? -- Tj Webb Systems Administrator Information Services Ohlone College mail: twebb at ohlone.edu ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 25 02:55:48 2003 From: benny at bennyvision.com (C. Bensend) Date: Thu, 24 Apr 2003 19:55:48 -0500 Subject: check_ftp gives a critical w/ shorter than warning In-Reply-To: <1051226991.2068.94.camel@nick.docmagic.com>; from nick@docmagic.com on Thu, Apr 24, 2003 at 04:29:51PM -0700 References: <1051226991.2068.94.camel@nick.docmagic.com> Message-ID: <20030424195548.A25222@bennyvision.com> On Thu, Apr 24, 2003 at 04:29:51PM -0700, Nicholas Bernstein wrote: > I get critical errors if it takes longer than 10 seconds to check. This > doesn't make sense to me. I've got the timeout at forty - and the > warning is at 15 - I'm confused. Giving an error at ten seconds doesn't > make any sense to me. If anyone can explain it to me, I would be much > appreciative. The default timeout for plugins is 10 seconds, defined by common.h: #define DEFAULT_SOCKET_TIMEOUT 10 /* timeout after 10 seconds */ You can either change that, then recompile whichever plugin is giving you problems, or recompile all of the plugins to inherit the new default timeout value. Benny -- "Earth first! Make Mars our bitch!" -- Dale Dribble, "King Of The Hill" ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Apr 25 03:40:43 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 24 Apr 2003 20:40:43 -0500 Subject: notifications based upon thresholds Message-ID: Snippets from config files follow. Some data obfuscated. --------------- contactgroups.cfg -------------------------- define contactgroup{ contactgroup_name unix-admins alias UNIX Administrators members pager-devunix,jcarro10,otheradmin } --------------- contactgroups.cfg -------------------------- --------------- contacts.cfg -------------------- define contact{ contact_name pager-devunix alias DEVUNIX on-call pager host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,r service_notification_options c,r host_notification_commands host-notify-by-epager service_notification_commands notify-by-epager pager pager-devunix } define contact{ contact_name jcarro10 alias Jim Carroll host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,r service_notification_options c,w,r host_notification_commands host-notify-by-email service_notification_commands notify-by-email email jcarro10 at example.com } define contact{ contact_name otheradmin alias Another Administrator host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,r service_notification_options c,w,r host_notification_commands host-notify-by-email service_notification_commands notify-by-email email otheradmin at example.com } --------------- contacts.cfg -------------------- NB: pager-devunix is resolved in /etc/aliases: --------------- /etc/aliases -------------------- pager-devunix: :include:/home/somepath/oncall/DEVUNIX --------------- /etc/aliases -------------------- The file DEVUNIX is maintained by a script I wrote. You can handle this however you want; my script is a menu which updates this file (a different file for each group). It's a cute script, but might be nicer as a PHP-based app, eg, authenticate to Nagios, choose the on-call, commit. A "you're on call for group BLAH" msg gets sent to the new on-call person's pager, and a "you've been removed from group BLAH on-call support" msg gets sent to the previous on-call person's pager. Anyway, I trust that I've provided enough detail for you to work with. jc > -----Original Message----- > From: Ben.Farris at key3media.com [mailto:Ben.Farris at key3media.com] > Sent: Thursday, April 24, 2003 5:59 PM > To: Carroll, Jim P [Contractor] > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] notifications based upon thresholds > > > > Jim, > > Thanks...This is exactly what I want to do... > > -Ben > > > > > > "Carroll, Jim P > > [Contractor]" To: > , > > ctrum.com> Subject: > RE: [Nagios-users] notifications based upon thresholds > > > 04/24/2003 03:40 PM > > > > > > > > > > The short answer is: Create 2 contacts (eg, jim (for e-mail) and > jim-pager). Make sure they're both in the same contact_group. > > In our particular environment, the SAs are in their appropriate > contact_group, and a virtual contact (eg, unix-oncall-pager) > is a member of > all the Unix-related contact groups. The SAs get only e-mail > notifications > on warning/critical/unknown/recovery, and the virtual contact > gets only > pager notifications on critical/unknown/recovery. > > I could send you snippets of my configs, but it doesn't sound > like it's > exactly the same as what you're trying to do. > > jc > > > > -----Original Message----- > > From: Ben.Farris at key3media.com [mailto:Ben.Farris at key3media.com] > > Sent: Thursday, April 24, 2003 5:05 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] notifications based upon thresholds > > > > > > Is it possible to setup notifications where emails are sent > > out on warnings > > for a service and paging is done on critical events. I would > > think so but I > > havent been able to get my config to do this. I either get > > both emails and > > pages or no notifications fail. Can someone send me an example. > > > > Thanks, > > Ben > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Apr 25 03:54:36 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Thu, 24 Apr 2003 20:54:36 -0500 Subject: Drill Down Facility in APAN Message-ID: I spent some time (once again; definitely not my first time) browsing the various RRD solutions. And yes, I agree that picking from one of the canned RRD solutions would save many gyrations attempting to make Nagios do this. I ask that you consider the following and give me some idea of what I might be up against: - as near as I can tell, just about all of the RRDworld solutions either look at the local host, or require that you use SNMP (cacti is possibly the one exception, allowing you to leverage scripts... however, it also requires MySQL) - all roads lead to SNMP - Nagios already queries the various services on the various hosts; if an RRDworld type solution cannot leverage the data already collected by Nagios, that means either a) leveraging the Nagios plugins, b) writing a custom script, or c) leveraging SNMP - all roads lead to SNMP - one of my peers has expressed concern over the security (or lack thereof) in SNMP; I'd be curious how to 'lock down' SNMP; I'm already aware of the need to change the read-only community name, and I'd like to disable the read-write community altogether; I'd also like to be able to say, "unless the query is originating from an authorized IP (or subnet), drop the packet on the floor"; I'd be interested in hearing about any other ways to tighten things up more, without inadvertently causing myself a major headache - all roads lead to SNMP, provided this hurdle can be overcome Assuming I can meet the above objectives, my sense is that I'll have a fairly large project ahead of me (correct me if I'm wrong). Target hosts include: Solaris8, RH Linux and Win2k. Another big question is, which RRDworld tool to implement? Based on all the above, all should feel free to send me (on the list) your comments and recommendations. :) jc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magnus at hacka.net Fri Apr 25 05:10:05 2003 From: magnus at hacka.net (Magnus Glantz) Date: Fri, 25 Apr 2003 05:10:05 +0200 Subject: [Nagiosplug-devel] check_real (nagios-plugins 1.3.0) 1.4 References: Message-ID: <000c01c30ad8$2e1ea5c0$cb0c7483@FRED> It works fine. :-) Q: Is the things you changed: char *server_url = NULL; if ((result == STATE_OK) && (server_url != NULL)) { Like the change I wrote of? Thanks for a quick response and fix! //Magnus Glantz ----- Original Message ----- From: "Subhendu Ghosh" To: "Magnus Glantz" Cc: "Matthias Eichler" ; Sent: Wednesday, April 16, 2003 5:34 PM Subject: Re: [Nagios-users] Re: [Nagiosplug-devel] check_real (nagios-plugins 1.3.0) 1.4 > PAtch for old behaviour is back in - both HEAD and r1_3_0 branches - let > me know if this works. > > -sg > > On Wed, 16 Apr 2003, Subhendu Ghosh wrote: > > > > > Lets keep this on one list. > > Matthias reported the same problem a couple of minutes earlier. > > > > The only change in check_real was some option handling cleanup bteween > > beta2 and release. > > > > The only relevant change seems to be in line 65-66 - initalization changed > > from NULL to "" and "/" for hostname and url respectively. > > > > So it looks like we are sending a default url "/" > > This causes the second part of the check - stream exists - to be invoked. > > Previously, "stream exists" would only be checked if the -u option was > > provided. > > > > > > Please post a SF bug report - I'll get a patch in for the old behavior. > > > > -sg > > > > > > On Wed, 16 Apr 2003, Magnus Glantz wrote: > > > > > Hiyas, didnt know where to send this exatly to.. > > > I sending it in hope that it might be of help to someone. > > > > > > I noticed that after upgrading from check_real (nagios-plugins 1.3.0-beta2) 1.2 > > > to check_real (nagios-plugins 1.3.0) 1.4, all my "regular" Real tests: > > > > > > ./check_real -H hostname > > > > > > Started to get: "RTSP/1.0 404 Not Found" > > > > > > When not looking for anything, this is an strange error message.. > > > > > > I noticed in the source for check_real that the server_url pointer had been changed to > > > char *server_url = "/"; to prevent software failure. Now.. with this as 'default url' the plugin will look for "/" in the server. > > > That was what was causing the error messages. The streaming servers I check demand that you give a valid URL and "/" is not one. > > > > > > I don't know if this is actually a good solution, it's a quick dirty hack that worked out good for me. > > > Even though I never have experienced any problems.. > > > beware.. the author writes about his change: > > > > > > ----------snip----------- > > > 2003-01-28 kdebisschop at alert.infoplease.com > > > > > > * plugins/check_real.c: > > > make sure host_name is set and remove NULL string inits that can lead to segfaults > > > ----------snip----------- > > > > > > The system that I compiled on is Linux Redhat 7.2 (i386) with 2.4.18-27.7.x Kernel. > > > I can't see any reason why this shouldnt work on most systems though. > > > > > > What to do; > > > Change below syntax in check_real.c: > > > > > > --------------original source snip---------------- > > > int server_port = PORT; > > > char *server_address = ""; > > > char *host_name = ""; > > > > > > char *server_url = "/"; > > > > > > char *server_expect = EXPECT; > > > int warning_time = 0; > > > int check_warning_time = FALSE; > > > int critical_time = 0; > > > int check_critical_time = FALSE; > > > int verbose = FALSE; > > > --------------snip---------------- > > > TO > > > > > > --------------original source snip---------------- > > > int server_port = PORT; > > > char *server_address = ""; > > > char *host_name = ""; > > > > > > char *server_url = NULL; > > > > > > char *server_expect = EXPECT; > > > int warning_time = 0; > > > int check_warning_time = FALSE; > > > int critical_time = 0; > > > int check_critical_time = FALSE; > > > int verbose = FALSE; > > > --------------snip---------------- > > > > > > > > > AND > > > > > > --------------original source snip---------------- > > > /* Part II - Check stream exists and is ok */ > > > if (result == STATE_OK) { > > > ---------------------snip------------------------------- > > > > > > TO > > > > > > /* Part II - Check stream exists and is ok */ > > > if ((result == STATE_OK) && (server_url != NULL)) { > > > > > > > > > And recompile. > > > > > > Cheers, > > > //Magnus Glantz > > > > > > > > > > > > -- > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnichols at pbp.net Fri Apr 25 05:11:33 2003 From: jnichols at pbp.net (Jonathan Nichols) Date: Thu, 24 Apr 2003 20:11:33 -0700 (PDT) Subject: using include statements Message-ID: Evening, all! I'm currently monitoring 56 services on 16 hosts. My /etc/nagios/services.cfg file is getting reeeeeally long. Would it be at all possible to tell it to include other files? IE /etc/nagios/services.cfg: include ../mailservers/mail1.cfg include ../webservers/www1.cfg include ../webservers/www2.cfg include ../routers/cisco-72b.cfg Would that work? I honestly have not tried it yet because a)It's almost Friday and b)freeze on making crazy changes to systems. :-) Thanks for any advice! -Jonathan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Apr 25 05:55:43 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 25 Apr 2003 13:55:43 +1000 Subject: Drill Down Facility in APAN In-Reply-To: ; from jcarro10@sprintspectrum.com on Thu, Apr 24, 2003 at 08:54:36PM -0500 References: Message-ID: <20030425135537.A289@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and suggest you have your mailer wrap text at about 70 columns. This makes it easier for those who choose to run the more efficient text mode mailers (mutt etc). I have manually reformatted your text so as to make it more readable for me and maybe others. On Thu, Apr 24, 2003 at 08:54:36PM -0500, Carroll, Jim P [Contractor] wrote: > I spent some time (once again; definitely not my first time) browsing the various RRD solutions. > And yes, I agree that picking from one of the canned RRD solutions > would save many gyrations attempting to make Nagios do this. > > I ask that you consider the following and give me some idea of what I might be up against: > > - as near as I can tell, just about all of the RRDworld solutions either look at the local host, or require that you use SNMP > (cacti is possibly the one exception, allowing you to leverage > scripts... however, it also requires MySQL) > I beg to disagree. Those frontends that are network box oriented, yes. AFAIK, others whose main purpose is graphing anything such as Orca (and perhaps MRTG) can accept data from other inputs - usually the file system with data in a specific format. > - all roads lead to SNMP > > - Nagios already queries the various services on the various hosts; if an RRDworld type solution cannot leverage the data already > collected by Nagios, that means either a) leveraging the Nagios > plugins, b) writing a custom script, or c) leveraging SNMP > What Nagios data do you have in mind that an RRD front-end could leverage ? RRDs are simply a good choice to store time series (ts) in. If you are collecting time series, storing it in RRDs will solve a few problems for you (graphing, light-weight fixed size storage and 'adequate' data access). Since Nag doesn't at the moment collect ts data, the challenges are actually thinking about the role ts plays with Nag. These may include, . considering having the plugins build with an option that causes them to write performace data RRDs . as you say, ad-hoc custom checks of ts data collected by something else. Again, as you say, probably collected by an SNMP collector . having RRD add-ons or front-ends submit passive service checks to Nag > - all roads lead to SNMP > > - one of my peers has expressed concern over the security (or lack thereof) in SNMP; I'd be curious how to > 'lock down' SNMP; I'm already aware of the need to change the > read-only > community name, and I'd like to disable the read-write community > altogether; I'd also like to be able to say, "unless the query is > originating from an authorized IP (or subnet), drop the packet on the > floor"; I'd be interested in hearing about any other ways to tighten > things up more, without inadvertently causing myself a major headache > I suggest that these problems are licked in SNMP v3, caveat lack of commercial implementations. Until then, ad-hoc solutions such as ACLs; don't run v2 or v1 in 'public' places'; be aware (and scared) of the gaping holes - eg public SNMP community string brute force breakers - try them out on your boxes; keep up to date code etc etc. I think Poul Henning-Kamp wrote some software (on the RRD page) that securely gets data from a remote RRD. > - all roads lead to SNMP, provided this hurdle can be overcome > > Assuming I can meet the above objectives, my sense is that I'll have a fairly large project ahead of me (correct me if I'm wrong). > Target hosts include: Solaris8, RH Linux and Win2k. > > Another big question is, which RRDworld tool to implement? > > Based on all the above, all should feel free to send me (on the list) your comments and recommendations. :) > > jc > > > 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.loew at steyr-ssf.com Fri Apr 25 07:36:42 2003 From: christian.loew at steyr-ssf.com (Christian =?iso-8859-1?B?TPZ3?=) Date: Fri, 25 Apr 2003 07:36:42 +0200 Subject: Cricket-Integration Message-ID: <20030425053642.GA25108@steyr-ssf.com> Hi, im using cricket for bandwith-monitoring. (works fine) now i want to integrate it into nagios: i have setup a serviceext.cfg: (sorry for the long line) define serviceextinfo{ host_name ssfsrv01 service_description DISKUSAGE_D notes_url http://debian/cgi-bin/cricket/grapher.cgi?target=%2Fdisk-usage%2Foverview-$HOSTNAME$;ranges=d;view=Detail icon_image graph.png icon_image_alt Usage-Graphik } the problem: it seems that nagios is interpreting the semicolon in the notes_url als comment - and cuts off the 'ranges=d;view=Detail' escaping the semicolon or putting the line between quotes is without success any hints? Chris ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.loew at steyr-ssf.com Fri Apr 25 07:44:02 2003 From: christian.loew at steyr-ssf.com (Christian =?iso-8859-1?B?TPZ3?=) Date: Fri, 25 Apr 2003 07:44:02 +0200 Subject: using include statements In-Reply-To: References: Message-ID: <20030425054402.GA25794@steyr-ssf.com> On Thu, Apr 24, 2003 at 08:11:33PM -0700, Jonathan Nichols wrote: > Evening, all! > I'm currently monitoring 56 services on 16 hosts. My > /etc/nagios/services.cfg file is getting reeeeeally long. Would it be at > all possible to tell it to include other files? IE > > /etc/nagios/services.cfg: > include ../mailservers/mail1.cfg > include ../webservers/www1.cfg > include ../webservers/www2.cfg > include ../routers/cisco-72b.cfg > > Would that work? I honestly have not tried it yet because a)It's almost > Friday and b)freeze on making crazy changes to systems. :-) try: cfg_file=/etc/nagios/mailservers/mail1.cfg cfg_file=/etc/nagios/webservers/www1.cfg ..... in nagios.cfg chris ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steven.lynch at network-box.com.au Fri Apr 25 09:03:54 2003 From: steven.lynch at network-box.com.au (Steven Lynch) Date: Fri, 25 Apr 2003 17:03:54 +1000 Subject: using include statements In-Reply-To: <20030425054402.GA25794@steyr-ssf.com> References: <20030425054402.GA25794@steyr-ssf.com> Message-ID: <13B556DD-76EC-11D7-80DA-000393D60FBE@network-box.com.au> On Friday, April 25, 2003, at 03:44 PM, Christian L?w wrote: > On Thu, Apr 24, 2003 at 08:11:33PM -0700, Jonathan Nichols wrote: > >> Evening, all! >> I'm currently monitoring 56 services on 16 hosts. My >> /etc/nagios/services.cfg file is getting reeeeeally long. Would it be >> at >> all possible to tell it to include other files? IE >> >> /etc/nagios/services.cfg: >> include ../mailservers/mail1.cfg >> include ../webservers/www1.cfg >> include ../webservers/www2.cfg >> include ../routers/cisco-72b.cfg >> >> Would that work? I honestly have not tried it yet because a)It's >> almost >> Friday and b)freeze on making crazy changes to systems. :-) > > try: > > cfg_file=/etc/nagios/mailservers/mail1.cfg > cfg_file=/etc/nagios/webservers/www1.cfg Or better still cfg_dir=/etc/nagios/mailservers cfg_dir=/etc/nagios/webservers Steven -- Steven Lynch [Chief Technical Officer] mailto: steven.lynch at network-box.com.au Network Box Australia Pty Ltd Phone: +61-3-98945555 Suite 9 / 1020 Doncaster Road, Fax: +61-3-98945666 Doncaster East, Vic, Australia, 3109 Web: www.network-box.com.au ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Fri Apr 25 08:58:50 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 25 Apr 2003 18:58:50 +1200 Subject: Cricket-Integration In-Reply-To: <20030425053642.GA25108@steyr-ssf.com> References: <20030425053642.GA25108@steyr-ssf.com> Message-ID: <200304250657.h3P6vtP08783@spectre.freeparking.co.nz> change it so the offending stuff is url encoded? (i.e like the / are (%2F) ) On Fri, 25 Apr 2003 17:36, you wrote: > Hi, > > im using cricket for bandwith-monitoring. (works fine) > > now i want to integrate it into nagios: > > i have setup a serviceext.cfg: > (sorry for the long line) > > define serviceextinfo{ > host_name ssfsrv01 > service_description DISKUSAGE_D > > notes_url http://debian/cgi-bin/cricket/grapher.cgi?target=%2Fdisk-usage% >2Foverview-$HOSTNAME$;ranges=d;view=Detail icon_image graph.png > icon_image_alt Usage-Graphik > } > > > the problem: it seems that nagios is interpreting the semicolon in the > notes_url als comment - and cuts off the 'ranges=d;view=Detail' > > escaping the semicolon or putting the line between quotes is without > success > > any hints? > > > Chris > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Fri Apr 25 09:08:07 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 25 Apr 2003 19:08:07 +1200 Subject: Drill Down Facility in APAN In-Reply-To: References: Message-ID: <200304250707.h3P77CP09347@spectre.freeparking.co.nz> Hi Jim, Thanks for your thoughts. Great stuff. Yup, SNMP (which really is a oxymoronic acronym) sure is the key element of the RRDworld stuff. No surprises really, all the interface bytes/errors etc are accessed via snmp. In the case of traffic thresholds being breached (and us knowing about it), we need to decide who the chicken is and who the egg is. My view is that in the case of traffic analysis the RRDtool is the chicken and nagios is the egg. Why? Because I survey the crap out of all interfaces in the network with an RRDtool, because I need to have a "global" view of the state of traffic flows and trends. So my snmp based RRDtool is going out and getting info on everything. all the time. Where Nagios comes in is when I've got key points in the network that I want to keep an eye on. Main peering points, third party transit, dodgy customer etc etc. It's simply not practical to apply a critical and warning thresholds to every point in the network. Things change too much. If I applied Nagios traffic alarms on every point, I'd be changing the thresholds every day because the damn customers went and did something that I wasn't expecting. What's my point? -In the case of traffic the RRDtool is looking at most things, and nagios is looking at some things. This means that Nagios should leverage what the RRDtool is doing. Not the other way round. This means we should use the RRDtool to do the "grunt" retrieval work, and Nagios to query what's been got. As for your concern over snmp security, I say Neh! In your general direction! (monty python fans take note). Seriously, I think the concerns over snmp here are not really that relevant. You should treat snmp community names like passwords. you should ensure that only the network management netblock can talk snmp to the nodes (via acl's). SNMP is reasonably secure. As usual it's what we do with it that makes the difference. Personally speaking I use Cricket. Extensible, stable, lots of community provided add-ons. It's all good. I tried NRG, but the automation was both a hindrance and a help. I looked at the other stuff, and it took me too long to "get it" so I went to something that I "got" pretty much straight away. As for integration issues..I think it'll be a balance of functionality and code cleanliness. The beauty of OpenSource is we can hack the code to fit. We may as well find some good code to hack. Noting the eminent Mr Hopcroft's comments, I agree with most. Although hey, ease up on the email client stuff huh Stan! :-) I'm guessing that it'll be wrapper around rrdtool fetch that'll end up being the catalyst for what we are talking about.... http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/manual/rrdfetch.html peace. Jamie On Fri, 25 Apr 2003 13:54, Carroll, Jim P [Contractor] wrote: > I spent some time (once again; definitely not my first time) browsing the > various RRD solutions. And yes, I agree that picking from one of the > canned RRD solutions would save many gyrations attempting to make Nagios do > this. > > I ask that you consider the following and give me some idea of what I might > be up against: > > - as near as I can tell, just about all of the RRDworld solutions either > look at the local host, or require that you use SNMP (cacti is possibly the > one exception, allowing you to leverage scripts... however, it also > requires MySQL) > > - all roads lead to SNMP > > - Nagios already queries the various services on the various hosts; if an > RRDworld type solution cannot leverage the data already collected by > Nagios, that means either a) leveraging the Nagios plugins, b) writing a > custom script, or c) leveraging SNMP > > - all roads lead to SNMP > > - one of my peers has expressed concern over the security (or lack thereof) > in SNMP; I'd be curious how to 'lock down' SNMP; I'm already aware of the > need to change the read-only community name, and I'd like to disable the > read-write community altogether; I'd also like to be able to say, "unless > the query is originating from an authorized IP (or subnet), drop the packet > on the floor"; I'd be interested in hearing about any other ways to tighten > things up more, without inadvertently causing myself a major headache > > - all roads lead to SNMP, provided this hurdle can be overcome > > Assuming I can meet the above objectives, my sense is that I'll have a > fairly large project ahead of me (correct me if I'm wrong). Target hosts > include: Solaris8, RH Linux and Win2k. > > Another big question is, which RRDworld tool to implement? > > Based on all the above, all should feel free to send me (on the list) your > comments and recommendations. :) > > jc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From awi at id.pl Fri Apr 25 09:15:36 2003 From: awi at id.pl (Andrzej Wisniewski) Date: 25 Apr 2003 09:15:36 +0200 Subject: Problem with sections "contacts" Message-ID: <1051254936.1724.39.camel@andy> Hi I have two host groups : Linux and Windows. There are two contact_groups like : linux-admins and windows-admins. I found in manual that : "contact_groups: This is a list of the short names of the contact groups that should be notified whenever there are problems (or recoveries) with any of the hosts in this host group. Multiple contact groups should be separated by commas." I found in this same manual that contact in service section means exactly this same. I have a question : whitch "contact" is more important ? If I write some service with contact="Linux-admins" (host Samba) and this host (Samba) I push in Windows host group where contact_group="Windows" who takes a notification ? Windows-admins or Linux-admins (maybe both) ? AndY AndY ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fetse_pr at yahoo.fr Fri Apr 25 09:20:31 2003 From: fetse_pr at yahoo.fr (fosa) Date: 25 Apr 2003 07:20:31 -0000 Subject: Browser problem check_nrpe AIX Message-ID: <20030425072031.7326.qmail@pod-163.dolphin-server.co.uk> hi, I am trying to get report from AIX servers only check_disk, with command line every thing is ok and with browser, the services are unknown !!! In ths nagios.cfg I can read that lines : SERVICE NOTIFICATION: nagios;vdfsap03.stouen.vd.valeo;Disk TMP;UNKNOWN;notify-by-epager;Incorrect command line arguments supplied In services.cfg I have : # Service definition define service{ use generic-service ; Name of service template to use host_name vdfsap03.stouen.vd.valeo service_description Disk TMP is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 10 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!command[check_disk_tmp]=/usr/local/nagios/libexec /check_disk 85 95 /tmp checkcommand.cfg is not changed and have the lines with check_nrpe... ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stefan.Schindewolf at Infraserv.com Fri Apr 25 09:22:32 2003 From: Stefan.Schindewolf at Infraserv.com (Schindewolf, Stefan, Infraserv-Hoechst/DE) Date: Fri, 25 Apr 2003 09:22:32 +0200 Subject: AW: NSCLIENT "Malformed request or internal error. Check EventLog:Non e&2&1" Message-ID: <2B6CA561B67B72418738D8F3D7853DA3010DA14D@20-exchange-1.infraserv.com> Thanks. That seems to have worked. I am now receiving some data. But the values are somewhat "low" (about 1-10% load). FYI: The counters were available before. I used them to "customize" a memory check, because the NSCLIENT memory check claimed the server had 0 MB RAM . Thanks a lot for your help! Regards Stefan -----Urspr?ngliche Nachricht----- Von: Scholten, Thomas [mailto:ThomasScholten at schmuecker.de] Gesendet: Donnerstag, 24. April 2003 12:08 An: 'Schindewolf, Stefan, Infraserv-Hoechst/DE'; 'nagios-users at lists.sourceforge.net' Betreff: AW: [Nagios-users] NSCLIENT "Malformed request or internal error. Check EventLog:Non e&2&1" Hello Stefan, i just solved this error by using the lodctr Tool. May be lodctr c:\winnt\system32\infoctrs.ini could help to restore the counters. For sanity you should check before with the perfmon Tool if the Processor Counters are avaiable. In this case check the mails of Sandro Vaz who has posted some more hints in this list. hope it helps Thomas -----Urspr?ngliche Nachricht----- Von: Schindewolf, Stefan, Infraserv-Hoechst/DE [mailto:Stefan.Schindewolf at Infraserv.com] Gesendet: Donnerstag, 17. April 2003 14:38 An: 'nagios-users at lists.sourceforge.net'; 'nagiosplug-devel at lists.sourceforge.net'; 'rubiyz1047 at swyz.com' Betreff: [Nagios-users] NSCLIENT "Malformed request or internal error. Check EventLog:Non e&2&1" Hello. The problem occurs with NSCLIENT 1.07.1 I received the following error, that has been concerning several people on the list: The command line is something like: "/usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v CPULOAD -l 1,85,95,5,75,85,15,55,75" The output is: "Malformed request or internal error. Check EventLog:None&2&1" The output of event log is: "Division by zero" We tracked it down to line 250 in uNSCLIENT.pas: REQ_CPUTOTAL: FindAnswer:= IntToStr(CPUBuffer.GetAverage(StrToIntDef(asArgv[2],60)*12)); It must be the GetAverage call because everything else could not raise this exception. We suppose CPUBuffer.GetAverage is a win32 api call !? Can we sue MS for that "division by zero" stuff? On some hosts (running service pack 2) there is no problem. We tried to call the windows performance counters directly (""/usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -v COUNTER ...") but are only receiving either 100% or 0% CPULOAD, depending on our parameters. Has anyone a clue how to workaround it? Thanks in advance and best regards. > Mit freundlichen Gr??en > > Stefan Schindewolf > > Infraserv GmbH & Co H?chst KG > Service Center Informationstechnologie > D710, D-65926 Frankfurt > Telefon: (069)305 - 43870 > Fax: (069)305 - 23549 > Mail: stefan.schindewolf at infraserv.com > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johannes.dagemark at op5.se Fri Apr 25 09:38:34 2003 From: johannes.dagemark at op5.se (Johannes Dagemark) Date: Fri, 25 Apr 2003 09:38:34 +0200 Subject: check a web page Message-ID: <041a01c30afd$b1e3b600$8300a8c0@wheeljd> Hello Im wondering if there is someone that has a plugin for checking that the content of a webpage matches the content of a localy stored copy Regards Johannes Dagemark ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Fri Apr 25 09:43:57 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 25 Apr 2003 09:43:57 +0200 Subject: using include statements References: <20030425054402.GA25794@steyr-ssf.com> Message-ID: <3EA8E73D.9040306@datavis.se> Or cfg_dir=/usr/local/nagios/etc/webservers Then Nagios will read all .cfg files in that dir. The problem with includes is that its easy to have one file included more than once and Nagios is very concerned about objects that have already been defined. Christian L?w wrote: >On Thu, Apr 24, 2003 at 08:11:33PM -0700, Jonathan Nichols wrote: > > > >>Evening, all! >> I'm currently monitoring 56 services on 16 hosts. My >>/etc/nagios/services.cfg file is getting reeeeeally long. Would it be at >>all possible to tell it to include other files? IE >> >>/etc/nagios/services.cfg: >>include ../mailservers/mail1.cfg >>include ../webservers/www1.cfg >>include ../webservers/www2.cfg >>include ../routers/cisco-72b.cfg >> >>Would that work? I honestly have not tried it yet because a)It's almost >>Friday and b)freeze on making crazy changes to systems. :-) >> >> > >try: > >cfg_file=/etc/nagios/mailservers/mail1.cfg >cfg_file=/etc/nagios/webservers/www1.cfg >..... > >in nagios.cfg > > > >chris > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Fri Apr 25 09:37:30 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 25 Apr 2003 09:37:30 +0200 Subject: Limitation for RedHat 8.0? References: <1051225743.16732.5.camel@peitha> Message-ID: <3EA8E5BA.2040507@datavis.se> I'm running it without problems. There was some issues with Apache 2 on this list some month ago, so I skipped the httpd shipped with RedHat (Apache 2.0) and installed Apache 1.3 from source instead. /FredrikW Lennard Bakker wrote: >On Thu, 2003-04-24 at 23:27, yk77 at sbcglobal.net wrote: > > >>My server was installed for RedHat8.0 and now I'm trying to start installing >>nagios from source code.Then I have a question. >>Are there any limitation to install for RedHat version 8.0? >>I mean, does it work for nagios on RedHat8.0? >>If somebody already installed it to RedHat8.0, >>please let me know. >> >> > >Everything just works fine on RedHat 8.0 >Source install. With mysql configuration. > >Lennard > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Fri Apr 25 09:45:33 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 25 Apr 2003 09:45:33 +0200 Subject: Cricket-Integration References: <20030425053642.GA25108@steyr-ssf.com> Message-ID: <3EA8E79D.5020309@datavis.se> Try to change the semi-colons to '&'. Besides, have you looked at Apan (apan.sourceforge.net)? /FredrikW Christian L?w wrote: >Hi, > >im using cricket for bandwith-monitoring. (works fine) > >now i want to integrate it into nagios: > >i have setup a serviceext.cfg: >(sorry for the long line) > >define serviceextinfo{ > host_name ssfsrv01 > service_description DISKUSAGE_D > notes_url http://debian/cgi-bin/cricket/grapher.cgi?target=%2Fdisk-usage%2Foverview-$HOSTNAME$;ranges=d;view=Detail > icon_image graph.png > icon_image_alt Usage-Graphik >} > > >the problem: it seems that nagios is interpreting the semicolon in the >notes_url als comment - and cuts off the 'ranges=d;view=Detail' > >escaping the semicolon or putting the line between quotes is without success > >any hints? > > >Chris > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From awi at id.pl Fri Apr 25 09:55:03 2003 From: awi at id.pl (Andrzej Wisniewski) Date: 25 Apr 2003 09:55:03 +0200 Subject: Problem with sections "contacts" Message-ID: <1051257303.1725.49.camel@andy> Hi I have two host groups : Linux and Windows. There are two contact_groups like : linux-admins and windows-admins. I found in manual that : "contact_groups: This is a list of the short names of the contact groups that should be notified whenever there are problems (or recoveries) with any of the hosts in this host group. Multiple contact groups should be separated by commas." I found in this same manual that contact in service section means exactly this same. I have a question : whitch "contact" is more important ? If I write some service with contact="Linux-admins" (host Samba) and this host (Samba) I push in Windows host group where contact_group="Windows" who takes a notification ? Windows-admins or Linux-admins (maybe both) ? AndY ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hrishys at yahoo.co.uk Fri Apr 25 10:35:11 2003 From: hrishys at yahoo.co.uk (=?iso-8859-1?q?hrishy?=) Date: Fri, 25 Apr 2003 09:35:11 +0100 (BST) Subject: syslog messages in real time In-Reply-To: <3EA8E79D.5020309@datavis.se> References: <3EA8E79D.5020309@datavis.se> Message-ID: <20030425083511.34813.qmail@web12601.mail.yahoo.com> Hi I am just wundering how we can get any message added to the syslog file in real time to my mail box.just like the way nagios warns and mails other things..i am not using snmp just nrpe.. regards Hrishy __________________________________________________ Yahoo! Plus For a better Internet experience http://www.yahoo.co.uk/btoffer ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Fri Apr 25 10:52:58 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 25 Apr 2003 20:52:58 +1200 Subject: Problem with sections "contacts" In-Reply-To: <1051257303.1725.49.camel@andy> References: <1051257303.1725.49.camel@andy> Message-ID: <200304250852.h3P8q4P15594@spectre.freeparking.co.nz> Well. Obviously Linux admins are more important. ..Of course! ;-) peace jamie. On Fri, 25 Apr 2003 19:55, Andrzej Wisniewski wrote: > Hi > > I have two host groups : Linux and Windows. > There are two contact_groups like : linux-admins and windows-admins. > > I found in manual that : "contact_groups: This is a list of the short > names of the contact groups that should be notified whenever there are > problems (or recoveries) with any of the hosts in this host group. > Multiple contact groups should be separated by commas." > > I found in this same manual that contact in service section means > exactly this same. > > I have a question : whitch "contact" is more important ? > > If I write some service with contact="Linux-admins" (host Samba) and > this host (Samba) I push in Windows host group where > contact_group="Windows" who takes a notification ? Windows-admins or > Linux-admins (maybe both) ? > > > AndY > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nils_mueller at hotmail.com Fri Apr 25 10:47:05 2003 From: nils_mueller at hotmail.com (solkan) Date: 25 Apr 2003 08:47:05 -0000 Subject: Nrpe 1.8 starts into \'void\' Message-ID: <20030425084705.24331.qmail@pod-163.dolphin-server.co.uk> Greetings, I am trying to start the nrpe daemon on a remot machine. This is the output: [root at XX.XX.XX sbin]# nrpe -c /etc/nrpe.cfg --daemon [root at XX.XX.XX sbin]# ps uaxw | grep nrpe root 15165 0.0 0.0 3276 628 pts/2 S 10:41 0:00 grep nrpe [root at XX.XX.XX sbin]# The process is not running anf therefor, I dont get a connect either on localhost nor on the monitoring one. The nrpe.cfg is proberbly configured and found in /etc/. Anyone had the same problem and can give me some advive? Thanks in advance! P.S.: The same configuration is running perfectly on 12 other remote hosts, just this one gives me failure. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Apr 25 10:54:09 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 25 Apr 2003 04:54:09 -0400 (EDT) Subject: [Nagiosplug-devel] check_real (nagios-plugins 1.3.0) 1.4 In-Reply-To: <000c01c30ad8$2e1ea5c0$cb0c7483@FRED> References: <000c01c30ad8$2e1ea5c0$cb0c7483@FRED> Message-ID: Yes - that was the only change... Thanks for the feedback. -sg On Fri, 25 Apr 2003, Magnus Glantz wrote: > It works fine. :-) > > Q: > Is the things you changed: > > char *server_url = NULL; > if ((result == STATE_OK) && (server_url != NULL)) { > > Like the change I wrote of? > > Thanks for a quick response and fix! > //Magnus Glantz > > ----- Original Message ----- > From: "Subhendu Ghosh" > To: "Magnus Glantz" > Cc: "Matthias Eichler" ; > > Sent: Wednesday, April 16, 2003 5:34 PM > Subject: Re: [Nagios-users] Re: [Nagiosplug-devel] check_real > (nagios-plugins 1.3.0) 1.4 > > > > PAtch for old behaviour is back in - both HEAD and r1_3_0 branches - let > > me know if this works. > > > > -sg > > > > On Wed, 16 Apr 2003, Subhendu Ghosh wrote: > > > > > > > > Lets keep this on one list. > > > Matthias reported the same problem a couple of minutes earlier. > > > > > > The only change in check_real was some option handling cleanup bteween > > > beta2 and release. > > > > > > The only relevant change seems to be in line 65-66 - initalization > changed > > > from NULL to "" and "/" for hostname and url respectively. > > > > > > So it looks like we are sending a default url "/" > > > This causes the second part of the check - stream exists - to be > invoked. > > > Previously, "stream exists" would only be checked if the -u option was > > > provided. > > > > > > > > > Please post a SF bug report - I'll get a patch in for the old behavior. > > > > > > -sg > > > > > > > > > On Wed, 16 Apr 2003, Magnus Glantz wrote: > > > > > > > Hiyas, didnt know where to send this exatly to.. > > > > I sending it in hope that it might be of help to someone. > > > > > > > > I noticed that after upgrading from check_real (nagios-plugins > 1.3.0-beta2) 1.2 > > > > to check_real (nagios-plugins 1.3.0) 1.4, all my "regular" Real tests: > > > > > > > > ./check_real -H hostname > > > > > > > > Started to get: "RTSP/1.0 404 Not Found" > > > > > > > > When not looking for anything, this is an strange error message.. > > > > > > > > I noticed in the source for check_real that the server_url pointer had > been changed to > > > > char *server_url = "/"; to prevent software failure. Now.. with this > as 'default url' the plugin will look for "/" in the server. > > > > That was what was causing the error messages. The streaming servers I > check demand that you give a valid URL and "/" is not one. > > > > > > > > I don't know if this is actually a good solution, it's a quick dirty > hack that worked out good for me. > > > > Even though I never have experienced any problems.. > > > > beware.. the author writes about his change: > > > > > > > > ----------snip----------- > > > > 2003-01-28 kdebisschop at alert.infoplease.com > > > > > > > > * plugins/check_real.c: > > > > make sure host_name is set and remove NULL string inits that > can lead to segfaults > > > > ----------snip----------- > > > > > > > > The system that I compiled on is Linux Redhat 7.2 (i386) with > 2.4.18-27.7.x Kernel. > > > > I can't see any reason why this shouldnt work on most systems though. > > > > > > > > What to do; > > > > Change below syntax in check_real.c: > > > > > > > > --------------original source snip---------------- > > > > int server_port = PORT; > > > > char *server_address = ""; > > > > char *host_name = ""; > > > > > > > > char *server_url = "/"; > > > > > > > > char *server_expect = EXPECT; > > > > int warning_time = 0; > > > > int check_warning_time = FALSE; > > > > int critical_time = 0; > > > > int check_critical_time = FALSE; > > > > int verbose = FALSE; > > > > --------------snip---------------- > > > > TO > > > > > > > > --------------original source snip---------------- > > > > int server_port = PORT; > > > > char *server_address = ""; > > > > char *host_name = ""; > > > > > > > > char *server_url = NULL; > > > > > > > > char *server_expect = EXPECT; > > > > int warning_time = 0; > > > > int check_warning_time = FALSE; > > > > int critical_time = 0; > > > > int check_critical_time = FALSE; > > > > int verbose = FALSE; > > > > --------------snip---------------- > > > > > > > > > > > > AND > > > > > > > > --------------original source snip---------------- > > > > /* Part II - Check stream exists and is ok */ > > > > if (result == STATE_OK) { > > > > ---------------------snip------------------------------- > > > > > > > > TO > > > > > > > > /* Part II - Check stream exists and is ok */ > > > > if ((result == STATE_OK) && (server_url != NULL)) { > > > > > > > > > > > > And recompile. > > > > > > > > Cheers, > > > > //Magnus Glantz > > > > > > > > > > > > > > > > > > -- > > > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Schimpke at Lenze.de Fri Apr 25 11:03:02 2003 From: Schimpke at Lenze.de (Schimpke, Dr. Thomas / bhn) Date: Fri, 25 Apr 2003 11:03:02 +0200 Subject: nagios on RH 9.0 Message-ID: <03AA3D7DD4488840996C036E23BE71C41B58CE@zde008.lenze.com> Hi all, just for your information: I've compiled nagios 1.0 and nagios-plugins 1.3 on RH 9. I just got two warnings about incompatible pointer types from the perl stuff (something about perl_XS). I'll install my config files next week and start monitoring... Cheers, Thomas ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Apr 25 11:12:47 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 25 Apr 2003 05:12:47 -0400 (EDT) Subject: Log not logging, trends.cgi and check_udp and check_ntp error In-Reply-To: <5.2.0.9.0.20030424125921.021b0ff0@mail.troutman.org> References: <5.2.0.9.0.20030424125921.021b0ff0@mail.troutman.org> Message-ID: On Thu, 24 Apr 2003, Troutman wrote: > > from checkcommands.cfg : > $USER1$/check_ntp -H $HOSTADDRESS$ -w 60 -c 120 -j 5000 -k 10000 > > /usr/lib/nagios/plugins/check_ntp x.x.x.x -w 60 -c 120 -j 5000 -k 10000 > NTP WARNING: Offset -99.122618 msec > +/- 60 sec, jitter 1.641 msec > > If I change -w to 120, I get an OK. The --help file reads : > -w ( --warning) > Clock offset in seconds at which a warning message will be generated. > Defaults to 60. > > Perhaps that should read msec instead of seconds. > > >check_ntp - does 2 tests: ntpdate against a server (localtime vs server > >time) and ntpdc (server is in sync with its peers). > > I hate bugs ;) The logic is correct and the help statement is correct. The output statement is not correct. All offset numbers should be "sec" not "msec" All jitter numbers are "msec" So it looks like you have a 99 sec offset from the ntp server an hence the warning. (patched version in CVS) > >check_udp does require -H > > /usr/lib/nagios/plugins/check_udp -H x.x.x.x > Host name was not supplied > Usage: check_udp -H [-p port] [-w warn_time] [-c crit_time] > [-e expect] [-s send] [-t to_sec] [-v] > > /usr/lib/nagios/plugins/check_udp x.x.x.x > No data was recieved from host! > No response from host on port 0 Can you try the check_udp from CVS (it is now a link to check_tcp and the option handling has been updated). > > Perhaps there was a bug in the rpm for the 1.3-1 plugins. This version of > check_udp requires you not to use '-H' and check_ntp doesn't seem to be > accepting the assigned values (unless I am reading the --help instructions > incorrectly). > > -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Apr 25 11:18:35 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 25 Apr 2003 05:18:35 -0400 (EDT) Subject: check_ftp gives a critical w/ shorter than warning In-Reply-To: <20030424195548.A25222@bennyvision.com> References: <20030424195548.A25222@bennyvision.com> Message-ID: On Thu, 24 Apr 2003, C. Bensend wrote: > On Thu, Apr 24, 2003 at 04:29:51PM -0700, Nicholas Bernstein wrote: > > I get critical errors if it takes longer than 10 seconds to check. This > > doesn't make sense to me. I've got the timeout at forty - and the > > warning is at 15 - I'm confused. Giving an error at ten seconds doesn't > > make any sense to me. If anyone can explain it to me, I would be much > > appreciative. > > The default timeout for plugins is 10 seconds, defined by common.h: > > #define DEFAULT_SOCKET_TIMEOUT 10 /* timeout after 10 seconds */ > > You can either change that, then recompile whichever plugin is giving > you problems, or recompile all of the plugins to inherit the new > default timeout value. > The -t option for the plugin overrides this options Also in nagios.cfg set the TIMEOUT VALUES to be lerge enough to the cover the expected duration for the longest plugins. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.Verscheure at loria.fr Fri Apr 25 11:29:35 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Fri, 25 Apr 2003 11:29:35 +0200 Subject: Nrpe 1.8 starts into \'void\' References: <20030425084705.24331.qmail@pod-163.dolphin-server.co.uk> Message-ID: <3EA8FFFF.3070009@loria.fr> hi, i propose you to see the log of the program. For this go in "nrpe.cfg" and change the variable "debug" from 0 to 1 And find in the syslog's log the informations why it' not run. I hope that will help. best regards solkan wrote: >Greetings, > >I am trying to start the nrpe daemon on a remot machine. This is the output: > >[root at XX.XX.XX sbin]# nrpe -c /etc/nrpe.cfg --daemon >[root at XX.XX.XX sbin]# ps uaxw | grep nrpe >root 15165 0.0 0.0 3276 628 pts/2 S 10:41 0:00 grep nrpe >[root at XX.XX.XX sbin]# > >The process is not running anf therefor, I dont get a connect either on localhost nor on the monitoring one. > >The nrpe.cfg is proberbly configured and found in /etc/. > >Anyone had the same problem and can give me some advive? > >Thanks in advance! > >P.S.: The same configuration is running perfectly on 12 other remote hosts, just this one gives me failure. > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From awi at id.pl Fri Apr 25 11:37:58 2003 From: awi at id.pl (Andrzej Wisniewski) Date: 25 Apr 2003 11:37:58 +0200 Subject: Nrpe 1.8 starts into \'void\' In-Reply-To: <20030425084705.24331.qmail@pod-163.dolphin-server.co.uk> References: <20030425084705.24331.qmail@pod-163.dolphin-server.co.uk> Message-ID: <1051263477.1725.66.camel@andy> > [root at XX.XX.XX sbin]# nrpe -c /etc/nrpe.cfg --daemon > [root at XX.XX.XX sbin]# ps uaxw | grep nrpe > root 15165 0.0 0.0 3276 628 pts/2 S 10:41 0:00 grep nrpe > [root at XX.XX.XX sbin]# > > Anyone had the same problem and can give me some advive? > Check your system logs for reasons ... AndY ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Fri Apr 25 11:59:56 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Fri, 25 Apr 2003 11:59:56 +0200 (CEST) Subject: Different groups views Message-ID: <20030425095956.64804.qmail@web10902.mail.yahoo.com> Hi, I'd like to have 2 different view in Nagios : - One view where servers are grouped by type (print servers, file server, etc.) - An other view where servers are grouped by site location Is it possible to have this in Nagios ? Thanks, Steve ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From awi at id.pl Fri Apr 25 12:35:38 2003 From: awi at id.pl (Andrzej Wisniewski) Date: 25 Apr 2003 12:35:38 +0200 Subject: Problem with sections "contacts" In-Reply-To: <200304250852.h3P8q4P15594@spectre.freeparking.co.nz> References: <1051257303.1725.49.camel@andy> <200304250852.h3P8q4P15594@spectre.freeparking.co.nz> Message-ID: <1051266937.1724.107.camel@andy> It's mean that required (!!!) contact_group in hostgroup section is never use ??? AndY > Well. Obviously Linux admins are more important. > > > Hi > > > > I have two host groups : Linux and Windows. > > There are two contact_groups like : linux-admins and windows-admins. > > > > I found in manual that : "contact_groups: This is a list of the short > > names of the contact groups that should be notified whenever there are > > problems (or recoveries) with any of the hosts in this host group. > > Multiple contact groups should be separated by commas." > > > > I found in this same manual that contact in service section means > > exactly this same. > > > > I have a question : whitch "contact" is more important ? > > > > If I write some service with contact="Linux-admins" (host Samba) and > > this host (Samba) I push in Windows host group where > > contact_group="Windows" who takes a notification ? Windows-admins or > > Linux-admins (maybe both) ? > > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From awi at id.pl Fri Apr 25 13:16:48 2003 From: awi at id.pl (Andrzej Wisniewski) Date: 25 Apr 2003 13:16:48 +0200 Subject: Different groups views In-Reply-To: <20030425095956.64804.qmail@web10902.mail.yahoo.com> References: <20030425095956.64804.qmail@web10902.mail.yahoo.com> Message-ID: <1051269408.1725.118.camel@andy> > I'd like to have 2 different view in Nagios : > > - One view where servers are grouped by type (print servers, file server, etc.) > - An other view where servers are grouped by site location > > Is it possible to have this in Nagios ? > It's possible ... http://apan.sourceforge.net/images/scr1_big.jpg but I want to know how, too ... AndY ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Fri Apr 25 14:01:26 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Fri, 25 Apr 2003 14:01:26 +0200 (CEST) Subject: Different groups views In-Reply-To: <2E3E9736615DD311895D00105A9CADED014BCBF6@eentsvr40.ehvert.com> References: <2E3E9736615DD311895D00105A9CADED014BCBF6@eentsvr40.ehvert.com> Message-ID: <20030425120126.46634.qmail@web10907.mail.yahoo.com> Yes but I couldn't have 2 groups with similar hosts among these 2 groups. could I ??? --- Dean Bishop a ?crit?: > I believe that the only way to accomplish this would be to create two > hostgroups. > > The only disadvantages I can see to this approach are: > 1) the hostgroup.cfg is a bit more complicated in that you must ensure > synchronization between the definitions (it would be possible to > inadvertently define two different contactgroups and two different > hostchecks etc) and > > 2)some pages will take longer and list the servers in each of the > hostgroups. > > Notifications and checks will be performed normally. > > Later, > dean > > -----Original Message----- > From: Andrzej Wisniewski [mailto:awi at id.pl] > Sent: April 25, 2003 7:17 AM > To: Steve Dussaux > Cc: nagios-users at sourceforge.net > Subject: Re: [Nagios-users] Different groups views > > > I'd like to have 2 different view in Nagios : > > > > - One view where servers are grouped by type (print servers, file server, > etc.) > > - An other view where servers are grouped by site location > > > > Is it possible to have this in Nagios ? > > > > It's possible ... > > http://apan.sourceforge.net/images/scr1_big.jpg > > but I want to know how, too ... > > > AndY > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Fri Apr 25 14:01:26 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Fri, 25 Apr 2003 14:01:26 +0200 Subject: Notification BUG nagios 1.0 In-Reply-To: <2E3E9736615DD311895D00105A9CADED014BCBF2@eentsvr40.ehvert.com> References: <2E3E9736615DD311895D00105A9CADED014BCBF2@eentsvr40.ehvert.com> Message-ID: <200304251401.26089.Michael.Huettig@Medien-Systempartner.de> Am Donnerstag, 24. April 2003 18:38 schrieb Dean Bishop: > Actually notification for hosts is set in the hostgroups.cfg file. Yes, i know, and i've configured the Novell-Server NWZ_1 to the group novell but also i have defined three other global groups, which collect all the machines of the companies, which we are monitoring. THANKS, Thanks for your tip. Sometimes i couldn't see the forest, because there a lot of trees in front of me ;-) -- Michael H?ttig > > later, > dean > > -----Original Message----- > From: Michael H?ttig > To: nagios-users at lists.sourceforge.net; nagios at nagios.org > Sent: 4/24/2003 11:49 AM > Subject: [Nagios-users] Notification BUG nagios 1.0 > > Hi all, > previously i posted some messages about notification-problems. Has > anyone read > this or has same problems? > > I receive a lot of notifications for hosts, for which i'm definitly NOT > the defined contact. I think there is a bug probably with the > parents-directive. > I'm contact for all net-devices like switches and routers, but not for > some NT-, NW-Servers, which i've defined like following example: > > define host{ > host_name NWZ_1 > alias NWZ_1 Novell-Server > address 172.16.20.17 > parents WX1-DC2 > use allways-on-template > } > > I'll receive notifications for hosts, when they are going down, but > there is > no ability to define a contact for the host. So i think there is a > difference > between hosts and services and the defined notification-groups for them. ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Fri Apr 25 13:54:05 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 25 Apr 2003 13:54:05 +0200 Subject: Different groups views References: <20030425095956.64804.qmail@web10902.mail.yahoo.com> <1051269408.1725.118.camel@andy> Message-ID: <3EA921DD.5080008@datavis.se> Klick on 'Download' on Apans homepage. Andrzej Wisniewski wrote: >>I'd like to have 2 different view in Nagios : >> >>- One view where servers are grouped by type (print servers, file server, etc.) >>- An other view where servers are grouped by site location >> >>Is it possible to have this in Nagios ? >> >> >> > >It's possible ... > >http://apan.sourceforge.net/images/scr1_big.jpg > >but I want to know how, too ... > > >AndY > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Fri Apr 25 13:49:55 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Fri, 25 Apr 2003 07:49:55 -0400 Subject: Problem with sections "contacts" Message-ID: <2E3E9736615DD311895D00105A9CADED014BCBF5@eentsvr40.ehvert.com> What it means is that if a service experiences problems and enters a Non-OK state but the host is determined to be in an OK state then notifications will be sent to the contactgroups listed in the service definition (and not to the contactgroups in the hostgroups definition). If the service enters a Non-OK state and it is determined that the host is in a Non-OK state then notifications will be sent to the contactgroups listed in the hostgroup definition (and not to the contactgroups in the service definition). Hope this clears it up, dean -----Original Message----- From: Andrzej Wisniewski [mailto:awi at id.pl] Sent: April 25, 2003 6:36 AM To: jamie.baddeley at vpc.co.nz Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem with sections "contacts" It's mean that required (!!!) contact_group in hostgroup section is never use ??? AndY > Well. Obviously Linux admins are more important. > > > Hi > > > > I have two host groups : Linux and Windows. > > There are two contact_groups like : linux-admins and windows-admins. > > > > I found in manual that : "contact_groups: This is a list of the short > > names of the contact groups that should be notified whenever there are > > problems (or recoveries) with any of the hosts in this host group. > > Multiple contact groups should be separated by commas." > > > > I found in this same manual that contact in service section means > > exactly this same. > > > > I have a question : whitch "contact" is more important ? > > > > If I write some service with contact="Linux-admins" (host Samba) and > > this host (Samba) I push in Windows host group where > > contact_group="Windows" who takes a notification ? Windows-admins or > > Linux-admins (maybe both) ? > > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Fri Apr 25 14:06:43 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Fri, 25 Apr 2003 08:06:43 -0400 Subject: Different groups views Message-ID: <2E3E9736615DD311895D00105A9CADED014BCBF7@eentsvr40.ehvert.com> Yes. They could actually be identical except for the hostgroup name. dean -----Original Message----- From: Steve Dussaux [mailto:stevox2000 at yahoo.com] Sent: April 25, 2003 8:01 AM To: Dean Bishop; 'Andrzej Wisniewski' Cc: nagios-users at sourceforge.net Subject: RE: [Nagios-users] Different groups views Yes but I couldn't have 2 groups with similar hosts among these 2 groups. could I ??? --- Dean Bishop a ?crit?: > I believe that the only way to accomplish this would be to create two > hostgroups. > > The only disadvantages I can see to this approach are: > 1) the hostgroup.cfg is a bit more complicated in that you must ensure > synchronization between the definitions (it would be possible to > inadvertently define two different contactgroups and two different > hostchecks etc) and > > 2)some pages will take longer and list the servers in each of the > hostgroups. > > Notifications and checks will be performed normally. > > Later, > dean > > -----Original Message----- > From: Andrzej Wisniewski [mailto:awi at id.pl] > Sent: April 25, 2003 7:17 AM > To: Steve Dussaux > Cc: nagios-users at sourceforge.net > Subject: Re: [Nagios-users] Different groups views > > > I'd like to have 2 different view in Nagios : > > > > - One view where servers are grouped by type (print servers, file server, > etc.) > > - An other view where servers are grouped by site location > > > > Is it possible to have this in Nagios ? > > > > It's possible ... > > http://apan.sourceforge.net/images/scr1_big.jpg > > but I want to know how, too ... > > > AndY > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Fri Apr 25 13:58:51 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Fri, 25 Apr 2003 13:58:51 +0200 (CEST) Subject: Different groups views In-Reply-To: <1051269408.1725.118.camel@andy> References: <1051269408.1725.118.camel@andy> Message-ID: <20030425115852.75663.qmail@web10906.mail.yahoo.com> Nop this is a html/cgi hack to display groups in side menu bar. It provides shortcuts to each group details What i've been searching for, it's two different views of groups... Steve --- Andrzej Wisniewski a ?crit?: > > I'd like to have 2 different view in Nagios : > > > > - One view where servers are grouped by type (print servers, file server, etc.) > > - An other view where servers are grouped by site location > > > > Is it possible to have this in Nagios ? > > > > It's possible ... > > http://apan.sourceforge.net/images/scr1_big.jpg > > but I want to know how, too ... > > > AndY > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Fri Apr 25 13:55:11 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Fri, 25 Apr 2003 07:55:11 -0400 Subject: Different groups views Message-ID: <2E3E9736615DD311895D00105A9CADED014BCBF6@eentsvr40.ehvert.com> I believe that the only way to accomplish this would be to create two hostgroups. The only disadvantages I can see to this approach are: 1) the hostgroup.cfg is a bit more complicated in that you must ensure synchronization between the definitions (it would be possible to inadvertently define two different contactgroups and two different hostchecks etc) and 2)some pages will take longer and list the servers in each of the hostgroups. Notifications and checks will be performed normally. Later, dean -----Original Message----- From: Andrzej Wisniewski [mailto:awi at id.pl] Sent: April 25, 2003 7:17 AM To: Steve Dussaux Cc: nagios-users at sourceforge.net Subject: Re: [Nagios-users] Different groups views > I'd like to have 2 different view in Nagios : > > - One view where servers are grouped by type (print servers, file server, etc.) > - An other view where servers are grouped by site location > > Is it possible to have this in Nagios ? > It's possible ... http://apan.sourceforge.net/images/scr1_big.jpg but I want to know how, too ... AndY ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at cyberjunkees.com Fri Apr 25 14:25:32 2003 From: jim at cyberjunkees.com (Jim Olsen) Date: Fri, 25 Apr 2003 08:25:32 -0400 Subject: Different groups views In-Reply-To: <2E3E9736615DD311895D00105A9CADED014BCBF7@eentsvr40.ehvert.com> References: <2E3E9736615DD311895D00105A9CADED014BCBF7@eentsvr40.ehvert.com> Message-ID: <200304250825.32106.jim@cyberjunkees.com> On Friday 25 April 2003 08:06 am, Dean Bishop wrote: > Yes. They could actually be identical except for the hostgroup name. > > dean > > > > -----Original Message----- > From: Steve Dussaux [mailto:stevox2000 at yahoo.com] > Sent: April 25, 2003 8:01 AM > To: Dean Bishop; 'Andrzej Wisniewski' > Cc: nagios-users at sourceforge.net > Subject: RE: [Nagios-users] Different groups views > > Yes but I couldn't have 2 groups with similar hosts among these 2 groups. > could I ??? And to take it one step further, you could use the template system so that things don't get out of sync, so to speak. ala: define hostgroup{ hostgroup_name group1 name group1 alias mail servers contact_groups la1,la2,la3,la4 members box1,box2,box3,box4,box5 } define hostgroup{ hostgroup_name group2 use group1 alias mail servers } Now any changes to the members list in group1 will affect group2 accordingly. -- Jim Olsen Senior Systems Administrator BrowserMedia [http://www.browsermedia.com] 301-656-1144 x165 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dw9 at dawho.com Fri Apr 25 14:35:11 2003 From: dw9 at dawho.com (dawho9) Date: 25 Apr 2003 12:35:11 -0000 Subject: Nagios - Seems to stop checking on some hosts Message-ID: <20030425123511.6260.qmail@pod-163.dolphin-server.co.uk> Here is the setup, we have Nagios setup to Ping each of our hosts to make sure it is up and running. For the most part this is working, however, after a few days, Nagios seems to stop pinging stuff. For example, today I look and see that the last check for one of our servers was 4-23-2003 15:03:51 and the next scheduled check is, 04-23-2003 15:08:15. We are running the latest version of Nagios and plugins (I just downloaded them last week - so Version 1.0 and version 1.3.0 of the plugins. Any thoughts? Thanks, Richard ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Fri Apr 25 14:28:31 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Fri, 25 Apr 2003 08:28:31 -0400 Subject: Different groups views Message-ID: <2E3E9736615DD311895D00105A9CADED014BCBF9@eentsvr40.ehvert.com> Oooh, very clever! And neat too! dean -----Original Message----- From: Jim Olsen [mailto:jim at cyberjunkees.com] Sent: April 25, 2003 8:26 AM To: Dean Bishop; 'Steve Dussaux'; 'Andrzej Wisniewski' Cc: nagios-users at sourceforge.net Subject: Re: [Nagios-users] Different groups views On Friday 25 April 2003 08:06 am, Dean Bishop wrote: > Yes. They could actually be identical except for the hostgroup name. > > dean > > > > -----Original Message----- > From: Steve Dussaux [mailto:stevox2000 at yahoo.com] > Sent: April 25, 2003 8:01 AM > To: Dean Bishop; 'Andrzej Wisniewski' > Cc: nagios-users at sourceforge.net > Subject: RE: [Nagios-users] Different groups views > > Yes but I couldn't have 2 groups with similar hosts among these 2 groups. > could I ??? And to take it one step further, you could use the template system so that things don't get out of sync, so to speak. ala: define hostgroup{ hostgroup_name group1 name group1 alias mail servers contact_groups la1,la2,la3,la4 members box1,box2,box3,box4,box5 } define hostgroup{ hostgroup_name group2 use group1 alias mail servers } Now any changes to the members list in group1 will affect group2 accordingly. -- Jim Olsen Senior Systems Administrator BrowserMedia [http://www.browsermedia.com] 301-656-1144 x165 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Fri Apr 25 14:38:21 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Fri, 25 Apr 2003 08:38:21 -0400 Subject: Different groups views Message-ID: <2E3E9736615DD311895D00105A9CADED014BCBFA@eentsvr40.ehvert.com> Drat! K try something like: Define hostgroup { hostgroup_name group1 name group1 contact_groups la1,la2,la3,la4 members box1,box2,box3,box4,box5 register 0 } Define hostgroup { use group1 hostgroup_name group-o-print-servers name group-o-print-servers } Define hostgroup { use group1 hostgroup_name group-o-file-servers name group-o-file-servers } -----Original Message----- From: Steve Dussaux [mailto:stevox2000 at yahoo.com] Sent: April 25, 2003 8:37 AM To: Dean Bishop; 'Jim Olsen'; 'Andrzej Wisniewski' Cc: nagios-users at sourceforge.net Subject: RE: [Nagios-users] Different groups views Nop It doesn't work > > define hostgroup{ > hostgroup_name group1 > name group1 > alias mail servers > contact_groups la1,la2,la3,la4 > members box1,box2,box3,box4,box5 > } if you define template then Nagios will not display 2 groups but 1 group, the one who use the group template. In our case group1 disappears. Steve --- Dean Bishop a ?crit?: > Oooh, very clever! And neat too! > > dean > > -----Original Message----- > From: Jim Olsen [mailto:jim at cyberjunkees.com] > Sent: April 25, 2003 8:26 AM > To: Dean Bishop; 'Steve Dussaux'; 'Andrzej Wisniewski' > Cc: nagios-users at sourceforge.net > Subject: Re: [Nagios-users] Different groups views > > On Friday 25 April 2003 08:06 am, Dean Bishop wrote: > > Yes. They could actually be identical except for the hostgroup name. > > > > dean > > > > > > > > -----Original Message----- > > From: Steve Dussaux [mailto:stevox2000 at yahoo.com] > > Sent: April 25, 2003 8:01 AM > > To: Dean Bishop; 'Andrzej Wisniewski' > > Cc: nagios-users at sourceforge.net > > Subject: RE: [Nagios-users] Different groups views > > > > Yes but I couldn't have 2 groups with similar hosts among these 2 groups. > > could I ??? > > And to take it one step further, you could use the template system so that > things don't get out of sync, so to speak. ala: > > define hostgroup{ > hostgroup_name group1 > name group1 > alias mail servers > contact_groups la1,la2,la3,la4 > members box1,box2,box3,box4,box5 > } > define hostgroup{ > hostgroup_name group2 > use group1 > alias mail servers > } > > Now any changes to the members list in group1 will affect group2 > accordingly. > > -- > Jim Olsen > Senior Systems Administrator > BrowserMedia [http://www.browsermedia.com] > 301-656-1144 x165 ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Fri Apr 25 14:37:11 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Fri, 25 Apr 2003 14:37:11 +0200 (CEST) Subject: Different groups views In-Reply-To: <2E3E9736615DD311895D00105A9CADED014BCBF9@eentsvr40.ehvert.com> References: <2E3E9736615DD311895D00105A9CADED014BCBF9@eentsvr40.ehvert.com> Message-ID: <20030425123711.52609.qmail@web10907.mail.yahoo.com> Nop It doesn't work > > define hostgroup{ > hostgroup_name group1 > name group1 > alias mail servers > contact_groups la1,la2,la3,la4 > members box1,box2,box3,box4,box5 > } if you define template then Nagios will not display 2 groups but 1 group, the one who use the group template. In our case group1 disappears. Steve --- Dean Bishop a ?crit?: > Oooh, very clever! And neat too! > > dean > > -----Original Message----- > From: Jim Olsen [mailto:jim at cyberjunkees.com] > Sent: April 25, 2003 8:26 AM > To: Dean Bishop; 'Steve Dussaux'; 'Andrzej Wisniewski' > Cc: nagios-users at sourceforge.net > Subject: Re: [Nagios-users] Different groups views > > On Friday 25 April 2003 08:06 am, Dean Bishop wrote: > > Yes. They could actually be identical except for the hostgroup name. > > > > dean > > > > > > > > -----Original Message----- > > From: Steve Dussaux [mailto:stevox2000 at yahoo.com] > > Sent: April 25, 2003 8:01 AM > > To: Dean Bishop; 'Andrzej Wisniewski' > > Cc: nagios-users at sourceforge.net > > Subject: RE: [Nagios-users] Different groups views > > > > Yes but I couldn't have 2 groups with similar hosts among these 2 groups. > > could I ??? > > And to take it one step further, you could use the template system so that > things don't get out of sync, so to speak. ala: > > define hostgroup{ > hostgroup_name group1 > name group1 > alias mail servers > contact_groups la1,la2,la3,la4 > members box1,box2,box3,box4,box5 > } > define hostgroup{ > hostgroup_name group2 > use group1 > alias mail servers > } > > Now any changes to the members list in group1 will affect group2 > accordingly. > > -- > Jim Olsen > Senior Systems Administrator > BrowserMedia [http://www.browsermedia.com] > 301-656-1144 x165 ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Eric.RAZANAKOTO at valeo.com Fri Apr 25 14:47:04 2003 From: Eric.RAZANAKOTO at valeo.com (Eric.RAZANAKOTO at valeo.com) Date: Fri, 25 Apr 2003 14:47:04 +0200 Subject: Problem with browser /chech_nrpe Message-ID: hi, I am trying to get report from AIX servers only check_disk, with command line every thing is ok and with browser, the services are unknown !!! In ths nagios.cfg I can read that lines : SERVICE NOTIFICATION: nagios;vdfsap03;Disk TMP;UNKNOWN;notify-by-epager;Incorrect command line arguments supplied In services.cfg I have : # Service definition define service{ use generic-service ; Name of service template to use host_name vdfsap03.stouen.vd.valeo service_description Disk TMP is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 10 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!command[check_disk_tmp]=/usr/local/nagios/libexec/check_disk 85 95 /tmp checkcommand.cfg is not changed and have the lines with check_nrpe... I don't use inetd, I use daemon on the remote server to launch nrpe. So do you know what 's the matter ? Regards, Eric RAZANAKOTO "This e-mail message is intended only for the use of the named recipient(s). The information contained therein may be confidential or privileged, and its disclosure or reproduction is strictly prohibited. If you are not the named recipient, please return it immediately to its sender at the above address and destroy it." ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at bca.co.uk Fri Apr 25 15:00:15 2003 From: steve at bca.co.uk (Randall, Stephen) Date: Fri, 25 Apr 2003 14:00:15 +0100 Subject: New Case Studies Highlights use of Nagios. Message-ID: I hope this hasn't been posted already... Our report Open Source Software: Case Studies Examining its Use - April 2003, illustrates the diverse uses of open source software. After releasing Linux, Inc.: A Survey of Open Source Software - October 2002 , we recognized a need to provide perspectives on the benefits and challenges associated with open source software. Discussions with commercial, government and non-profit organizations provided input into this case studies report. Linux: It's Exciting, but Let's Keep it Boring too! For Verisign's technology team, Linux is exciting, but they want to keep it as basic as possible from a systems operations perspective. VeriSign operates three large data centers along with other sites supporting the DNS constellation and other operating divisions. Based on direct prototyping, quality assurance testing, and production results, Linux has proved to be reliable and stable. The firm uses RedHat, Inc's Advanced Server, with some databases supported by Oracle Corp.'s' 8i and 9i offerings; along with other Linux distributions to serve commodity Internet protocols. Approximately 2000 1U, 2-CPU Pentium 3 systems have been deployed, with 1U 2-CPU Pentium 4 increasing in use as a result of their lower cost and solid performance. The highest performing Linux systems used are 4-CPU 2GHz designs, with prototyping taking place on 4 CPU Itanium II systems to assess their use in high performance solutions. The open source systems management solution, Nagios, is used to monitor the entire infrastructure. Read the Full article here: http://www.dravis.net/pages/1/index.htm Steve Randall *************************************************************************** This message is intended only for the addressee(s) and may be confidential. Access to this email by anyone else is unauthorised. Any opinions expressed in this email do not necessarily reflect the opinions of BCA. Any unauthorised disclosure, use or dissemination, either in whole or in part is prohibited. If you are not the intended recipient of this message please notify the sender immediately. BCA, Greater London House, Hampstead Road, London. NW1 7TZ. Tel: 020 7760 6500. This message has been checked for all known viruses by the MessageLabs Virus Scanning Service. *************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From stevox2000 at yahoo.com Fri Apr 25 15:29:33 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Fri, 25 Apr 2003 15:29:33 +0200 (CEST) Subject: Different groups views In-Reply-To: <3EA93700.1000002@datavis.se> References: <3EA93700.1000002@datavis.se> Message-ID: <20030425132933.92312.qmail@web10906.mail.yahoo.com> Nop i have register 0 to tell Nagios it's a template. --- Fredrik_W?nglund a ?crit?: > Do you have > register 1 > in the first hostgroup definition > > /FredrikW > > Steve Dussaux wrote: > > >Nop It doesn't work > > > > > > > >>define hostgroup{ > >> hostgroup_name group1 > >> name group1 > >> alias mail servers > >> contact_groups la1,la2,la3,la4 > >> members box1,box2,box3,box4,box5 > >> } > >> > >> > > > >if you define template then Nagios will not display 2 groups but 1 group, > >the one who use the group template. > >In our case group1 disappears. > > > >Steve > > > > --- Dean Bishop a ?crit : > Oooh, very clever! And neat too! > > > > > >>dean > >> > >>-----Original Message----- > >>From: Jim Olsen [mailto:jim at cyberjunkees.com] > >>Sent: April 25, 2003 8:26 AM > >>To: Dean Bishop; 'Steve Dussaux'; 'Andrzej Wisniewski' > >>Cc: nagios-users at sourceforge.net > >>Subject: Re: [Nagios-users] Different groups views > >> > >>On Friday 25 April 2003 08:06 am, Dean Bishop wrote: > >> > >> > >>>Yes. They could actually be identical except for the hostgroup name. > >>> > >>>dean > >>> > >>> > >>> > >>>-----Original Message----- > >>>From: Steve Dussaux [mailto:stevox2000 at yahoo.com] > >>>Sent: April 25, 2003 8:01 AM > >>>To: Dean Bishop; 'Andrzej Wisniewski' > >>>Cc: nagios-users at sourceforge.net > >>>Subject: RE: [Nagios-users] Different groups views > >>> > >>>Yes but I couldn't have 2 groups with similar hosts among these 2 groups. > >>>could I ??? > >>> > >>> > >>And to take it one step further, you could use the template system so that > >>things don't get out of sync, so to speak. ala: > >> > >>define hostgroup{ > >> hostgroup_name group1 > >> name group1 > >> alias mail servers > >> contact_groups la1,la2,la3,la4 > >> members box1,box2,box3,box4,box5 > >> } > >>define hostgroup{ > >> hostgroup_name group2 > >> use group1 > >> alias mail servers > >> } > >> > >>Now any changes to the members list in group1 will affect group2 > >>accordingly. > >> > >>-- > >>Jim Olsen > >>Senior Systems Administrator > >>BrowserMedia [http://www.browsermedia.com] > >>301-656-1144 x165 > >> > >> > > > >___________________________________________________________ > >Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > >Yahoo! Mail : http://fr.mail.yahoo.com > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > >::: Messages without supporting info will risk being sent to /dev/null > > > > > > ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Fri Apr 25 15:24:16 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 25 Apr 2003 15:24:16 +0200 Subject: Different groups views References: <20030425123711.52609.qmail@web10907.mail.yahoo.com> Message-ID: <3EA93700.1000002@datavis.se> Do you have register 1 in the first hostgroup definition /FredrikW Steve Dussaux wrote: >Nop It doesn't work > > > >>define hostgroup{ >> hostgroup_name group1 >> name group1 >> alias mail servers >> contact_groups la1,la2,la3,la4 >> members box1,box2,box3,box4,box5 >> } >> >> > >if you define template then Nagios will not display 2 groups but 1 group, >the one who use the group template. >In our case group1 disappears. > >Steve > > --- Dean Bishop a ?crit : > Oooh, very clever! And neat too! > > >>dean >> >>-----Original Message----- >>From: Jim Olsen [mailto:jim at cyberjunkees.com] >>Sent: April 25, 2003 8:26 AM >>To: Dean Bishop; 'Steve Dussaux'; 'Andrzej Wisniewski' >>Cc: nagios-users at sourceforge.net >>Subject: Re: [Nagios-users] Different groups views >> >>On Friday 25 April 2003 08:06 am, Dean Bishop wrote: >> >> >>>Yes. They could actually be identical except for the hostgroup name. >>> >>>dean >>> >>> >>> >>>-----Original Message----- >>>From: Steve Dussaux [mailto:stevox2000 at yahoo.com] >>>Sent: April 25, 2003 8:01 AM >>>To: Dean Bishop; 'Andrzej Wisniewski' >>>Cc: nagios-users at sourceforge.net >>>Subject: RE: [Nagios-users] Different groups views >>> >>>Yes but I couldn't have 2 groups with similar hosts among these 2 groups. >>>could I ??? >>> >>> >>And to take it one step further, you could use the template system so that >>things don't get out of sync, so to speak. ala: >> >>define hostgroup{ >> hostgroup_name group1 >> name group1 >> alias mail servers >> contact_groups la1,la2,la3,la4 >> members box1,box2,box3,box4,box5 >> } >>define hostgroup{ >> hostgroup_name group2 >> use group1 >> alias mail servers >> } >> >>Now any changes to the members list in group1 will affect group2 >>accordingly. >> >>-- >>Jim Olsen >>Senior Systems Administrator >>BrowserMedia [http://www.browsermedia.com] >>301-656-1144 x165 >> >> > >___________________________________________________________ >Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! >Yahoo! Mail : http://fr.mail.yahoo.com > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevox2000 at yahoo.com Fri Apr 25 15:38:07 2003 From: stevox2000 at yahoo.com (=?iso-8859-1?q?Steve=20Dussaux?=) Date: Fri, 25 Apr 2003 15:38:07 +0200 (CEST) Subject: Different groups views In-Reply-To: <2E3E9736615DD311895D00105A9CADED014BCBFA@eentsvr40.ehvert.com> References: <2E3E9736615DD311895D00105A9CADED014BCBFA@eentsvr40.ehvert.com> Message-ID: <20030425133807.58103.qmail@web10903.mail.yahoo.com> I think I could manage to be able to do what I want but I'm sure I will have problems with stats. I think it's not possible to have 2 views in Nagios without alterating stats (reporting). Steve --- Dean Bishop a ?crit?: > Drat! > > K try something like: > > Define hostgroup { > hostgroup_name group1 > name group1 > contact_groups la1,la2,la3,la4 > members box1,box2,box3,box4,box5 > register 0 > } > > Define hostgroup { > use group1 > hostgroup_name group-o-print-servers > name group-o-print-servers > } > > Define hostgroup { > use group1 > hostgroup_name group-o-file-servers > name group-o-file-servers > } > > > > -----Original Message----- > From: Steve Dussaux [mailto:stevox2000 at yahoo.com] > Sent: April 25, 2003 8:37 AM > To: Dean Bishop; 'Jim Olsen'; 'Andrzej Wisniewski' > Cc: nagios-users at sourceforge.net > Subject: RE: [Nagios-users] Different groups views > > Nop It doesn't work > > > > > define hostgroup{ > > hostgroup_name group1 > > name group1 > > alias mail servers > > contact_groups la1,la2,la3,la4 > > members box1,box2,box3,box4,box5 > > } > > if you define template then Nagios will not display 2 groups but 1 group, > the one who use the group template. > In our case group1 disappears. > > Steve > > --- Dean Bishop a ?crit?: > Oooh, very clever! And > neat too! > > > > dean > > > > -----Original Message----- > > From: Jim Olsen [mailto:jim at cyberjunkees.com] > > Sent: April 25, 2003 8:26 AM > > To: Dean Bishop; 'Steve Dussaux'; 'Andrzej Wisniewski' > > Cc: nagios-users at sourceforge.net > > Subject: Re: [Nagios-users] Different groups views > > > > On Friday 25 April 2003 08:06 am, Dean Bishop wrote: > > > Yes. They could actually be identical except for the hostgroup name. > > > > > > dean > > > > > > > > > > > > -----Original Message----- > > > From: Steve Dussaux [mailto:stevox2000 at yahoo.com] > > > Sent: April 25, 2003 8:01 AM > > > To: Dean Bishop; 'Andrzej Wisniewski' > > > Cc: nagios-users at sourceforge.net > > > Subject: RE: [Nagios-users] Different groups views > > > > > > Yes but I couldn't have 2 groups with similar hosts among these 2 > groups. > > > could I ??? > > > > And to take it one step further, you could use the template system so that > > > things don't get out of sync, so to speak. ala: > > > > define hostgroup{ > > hostgroup_name group1 > > name group1 > > alias mail servers > > contact_groups la1,la2,la3,la4 > > members box1,box2,box3,box4,box5 > > } > > define hostgroup{ > > hostgroup_name group2 > > use group1 > > alias mail servers > > } > > > > Now any changes to the members list in group1 will affect group2 > > accordingly. > > > > -- > > Jim Olsen > > Senior Systems Administrator > > BrowserMedia [http://www.browsermedia.com] > > 301-656-1144 x165 > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > Yahoo! Mail : http://fr.mail.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Fri Apr 25 15:44:12 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Fri, 25 Apr 2003 15:44:12 +0200 Subject: Different groups views References: <20030425132933.92312.qmail@web10906.mail.yahoo.com> Message-ID: <3EA93BAC.9050900@datavis.se> Change to 1 to tell Nagios it's a hostgroup. You can still use it as a template for other groups. /FredrikW Steve Dussaux wrote: >Nop i have register 0 to tell Nagios it's a template. > > > --- Fredrik_W?nglund a ?crit : > Do you have > > >>register 1 >>in the first hostgroup definition >> >>/FredrikW >> >>Steve Dussaux wrote: >> >> >> >>>Nop It doesn't work >>> >>> >>> >>> >>> >>>>define hostgroup{ >>>> hostgroup_name group1 >>>> name group1 >>>> alias mail servers >>>> contact_groups la1,la2,la3,la4 >>>> members box1,box2,box3,box4,box5 >>>> } >>>> >>>> >>>> >>>> >>>if you define template then Nagios will not display 2 groups but 1 group, >>>the one who use the group template. >>>In our case group1 disappears. >>> >>>Steve >>> >>>--- Dean Bishop a ?crit : > Oooh, very clever! And neat too! >>> >>> >>> >>> >>>>dean >>>> >>>>-----Original Message----- >>>>From: Jim Olsen [mailto:jim at cyberjunkees.com] >>>>Sent: April 25, 2003 8:26 AM >>>>To: Dean Bishop; 'Steve Dussaux'; 'Andrzej Wisniewski' >>>>Cc: nagios-users at sourceforge.net >>>>Subject: Re: [Nagios-users] Different groups views >>>> >>>>On Friday 25 April 2003 08:06 am, Dean Bishop wrote: >>>> >>>> >>>> >>>> >>>>>Yes. They could actually be identical except for the hostgroup name. >>>>> >>>>>dean >>>>> >>>>> >>>>> >>>>>-----Original Message----- >>>>>From: Steve Dussaux [mailto:stevox2000 at yahoo.com] >>>>>Sent: April 25, 2003 8:01 AM >>>>>To: Dean Bishop; 'Andrzej Wisniewski' >>>>>Cc: nagios-users at sourceforge.net >>>>>Subject: RE: [Nagios-users] Different groups views >>>>> >>>>>Yes but I couldn't have 2 groups with similar hosts among these 2 groups. >>>>>could I ??? >>>>> >>>>> >>>>> >>>>> >>>>And to take it one step further, you could use the template system so that >>>>things don't get out of sync, so to speak. ala: >>>> >>>>define hostgroup{ >>>> hostgroup_name group1 >>>> name group1 >>>> alias mail servers >>>> contact_groups la1,la2,la3,la4 >>>> members box1,box2,box3,box4,box5 >>>> } >>>>define hostgroup{ >>>> hostgroup_name group2 >>>> use group1 >>>> alias mail servers >>>> } >>>> >>>>Now any changes to the members list in group1 will affect group2 >>>>accordingly. >>>> >>>>-- >>>>Jim Olsen >>>>Senior Systems Administrator >>>>BrowserMedia [http://www.browsermedia.com] >>>>301-656-1144 x165 >>>> >>>> >>>> >>>> >>>___________________________________________________________ >>>Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! >>>Yahoo! Mail : http://fr.mail.yahoo.com >>> >>> >>>------------------------------------------------------- >>>This sf.net email is sponsored by:ThinkGeek >>>Welcome to geek heaven. >>>http://thinkgeek.com/sf >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>>::: Messages without supporting info will risk being sent to /dev/null >>> >>> >>> >>> >> >> >> > >___________________________________________________________ >Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! >Yahoo! Mail : http://fr.mail.yahoo.com > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ianf at Oceanwide.com Fri Apr 25 15:40:34 2003 From: ianf at Oceanwide.com (Ian Farr) Date: Fri, 25 Apr 2003 09:40:34 -0400 Subject: Performance Data...and a little scheduling question... Message-ID: Hello all, I am a newbie to Nagios - and have been reading the manuals and playing with installations now for 2 weeks (on and off), and have a little question about performanace data... Anyone using it?? have any info on how many plugins support it - which method is best used (file based or the default)?? is it even worth spending time looking into this (maybe no plugins support it at the momment)?? Any tips?? Also - anyone using a default interval of 30 seconds (main config file -> interval_length=30). Nagios seems to schedule checks for some hosts (most of them) every 30 seconds (for those services that I have defined a normal interval of 1 for), but not on some others...I now in the manual it was specified that anything other than 60 (for interval_length) was not fully tested...anyone encounter this?? i am using the check_ping plugin for those services I have defined to run evry 30 sec - and now I am starting to see timeouts (CRITICAL in event log - plugin timed out after 10 seconds)..do you think that this is a parrallellization issue - I have placed the number of parrallell test to zero (which in the manual says that 0 = unlimited. I am not worring about system performance - the box is an OK box dedicated for nagios - dual PIII XEON, 512 MB RAM...vmstat (vmstat 1) reports a consistent idle processor time of >=95% - so the thing is sleeping. Thanks in advance.. PS - I am replacing a 10,000$ monitoring application (deepmetrix's IP Monitor) with this. Great Product to all those who have worked on it!! I look forward in following this product's lifecycle :) ____________________ Ian Farr -------------- next part -------------- An HTML attachment was scrubbed... URL: From DanielJ at avatar-cs.net Fri Apr 25 15:30:53 2003 From: DanielJ at avatar-cs.net (Daniel Jimenez) Date: Fri, 25 Apr 2003 08:30:53 -0500 Subject: Limitation for RedHat 8.0? Message-ID: <115F85A8196CD411BBAB0008C759066182061C@FS01> I'm running on 8.0 w/Apache 2 just fine right now. Daniel -----Original Message----- From: Fredrik W?nglund [mailto:fredrik.wanglund at datavis.se] Sent: Friday, April 25, 2003 2:38 AM To: Lennard Bakker Cc: Nagios List; yk77 at sbcglobal.net Subject: Re: [Nagios-users] Limitation for RedHat 8.0? I'm running it without problems. There was some issues with Apache 2 on this list some month ago, so I skipped the httpd shipped with RedHat (Apache 2.0) and installed Apache 1.3 from source instead. /FredrikW Lennard Bakker wrote: >On Thu, 2003-04-24 at 23:27, yk77 at sbcglobal.net wrote: > > >>My server was installed for RedHat8.0 and now I'm trying to start >>installing nagios from source code.Then I have a question. Are there >>any limitation to install for RedHat version 8.0? I mean, does it work >>for nagios on RedHat8.0? If somebody already installed it to >>RedHat8.0, please let me know. >> >> > >Everything just works fine on RedHat 8.0 >Source install. With mysql configuration. > >Lennard > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf _______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 hugo.rebello at dhl.com Fri Apr 25 15:59:33 2003 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Fri, 25 Apr 2003 10:59:33 -0300 Subject: Integration With Other Software Message-ID: <000001c30b32$e70e4bd0$7f023702@sao2127> I looked for information about the integration of Nagios with MRTG, but I didn't found. Anybody help me ? Thanks, Hugo ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elgaz at iprimus.com.au Fri Apr 25 16:03:26 2003 From: elgaz at iprimus.com.au (Gary and El Byrnes) Date: Sat, 26 Apr 2003 00:03:26 +1000 Subject: Preflight Check Error Message Message-ID: <000801c30b33$71359340$0137a8c0@rooter> Hi Everybody I am running the preflight check and get this error message: unexpected token or statement in file /usr/local/nagios/etc/checkcommands.cfg How would I stop it? Thank you very much in advance. Elvira -------------- next part -------------- An HTML attachment was scrubbed... URL: From mkazmier at sofast.net Fri Apr 25 16:23:00 2003 From: mkazmier at sofast.net (Michael S. Kazmier) Date: Fri, 25 Apr 2003 08:23:00 -0600 Subject: still no icons in statusmap In-Reply-To: <1051227428.19103.173.camel@install.ohone.cc.ca.us> References: <1051227428.19103.173.camel@install.ohone.cc.ca.us> Message-ID: <002d01c30b36$2d07c7d0$6701010a@kazkdsxp> I am not sure what your hostextinfo.cfg file looks like, but you need to place the following line in your cgi.cfg file: xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg Beyond that, I have icons appearing for hosts that have a definition similar to the following in my hostextinfo.cfg file: define hostextinfo{ host_name HOSTNAMEHERE notes_url /nagios/cgi-bin/hostinfo.pl?HOSTNAME icon_image router40.png icon_image_alt Cisco 7507 vrml_image router40.png statusmap_image router40.gd2 2d_coords 100,100 } Hope it helps. I can't get the serviceextinfo.cfg to work. All I can figure out is that you CANT use both the hostextinfo and serviceextinfo at the same time.... but for us, the serviceextinfo is really what we need. Hope this helps... -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tj Webb Sent: Thursday, April 24, 2003 5:37 PM To: nagios users Subject: [Nagios-users] still no icons in statusmap I have read through a good bit of the list looking for some definitive answers as to why I cannot view icons on the statusmap. And I still have not found a solution... 1) ./configure --with-template-extinfo 2) No problems compiling with: libjpeg-6.2.0-480 jpeg-6b-480 zlib-devel-1.1.4-50 zlib-1.1.4-41 libpng-1.2.4-31 libpng-devel-1.2.4-40 gd-1.8.4-382 gd-devel-1.8.4-400 3) also tried upgrading to gd-2.0.11 from boutell's site used make clean and removed config.cache for good measure 3) xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg in cgi.cgf file 4) base images in /usr/local/nagios/share/images/logos 5) No permission issues 6) Tried every permutation of hostextinfo.cfg config I could come up with from examples on the list and from the source sample dir. 7) No error messages from Apache or Nagios of any kind. 8) ldd ./statusmap.cgi libgd.so.2 => /usr/lib/libgd.so.2 (0x4001f000) libz.so.1 => /lib/libz.so.1 (0x40054000) libm.so.6 => /lib/libm.so.6 (0x40063000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40086000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x400b6000) libc.so.6 => /lib/libc.so.6 (0x400d4000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) Can anyone clue me in on what I'm missing? -- Tj Webb Systems Administrator Information Services Ohlone College mail: twebb at ohlone.edu ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Apr 25 16:23:45 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 25 Apr 2003 09:23:45 -0500 Subject: Preflight Check Error Message Message-ID: <5DB017510818EC468B05BD7BD9EACF83030EDDB5@mismail.ena.com> You have a syntax error in that config file. The pre-flight check should also tell you the exact line number of the problem. m _____ From: Gary and El Byrnes [mailto:elgaz at iprimus.com.au] Sent: Friday, April 25, 2003 9:03 AM To: nagios-users at lists.sourceforge.net Hi Everybody I am running the preflight check and get this error message: unexpected token or statement in file /usr/local/nagios/etc/checkcommands.cfg How would I stop it? Thank you very much in advance. Elvira -------------- next part -------------- An HTML attachment was scrubbed... URL: From bitteric-nagios-users at cip.informatik.uni-muenchen.de Fri Apr 25 16:36:31 2003 From: bitteric-nagios-users at cip.informatik.uni-muenchen.de (Cyril Bitterich) Date: Fri, 25 Apr 2003 16:36:31 +0200 Subject: suppress Host that is down Message-ID: <20030425163631.5d3f57f6.bitteric-nagios-users@cip.informatik.uni-muenchen.de> Hi, I've got a special problem. One computer using dual-boot uses different IP's for the different OS it uses. Now I want to monitor this host and know when the computer is down. I know that I can suppress the mails by using opposed host-dependencies. But I'd like to suppress the visible Host-Down alerts in the cgi's. Right know I get a down host in the tactical overview and so on. But in reality the host is not down but only in the other OS. Do you have any ideas on how to solve this problem? Cyril ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at troutman.org Fri Apr 25 16:35:05 2003 From: mike at troutman.org (Troutman) Date: Fri, 25 Apr 2003 10:35:05 -0400 Subject: Integration With Other Software In-Reply-To: <000001c30b32$e70e4bd0$7f023702@sao2127> References: <000001c30b32$e70e4bd0$7f023702@sao2127> Message-ID: <5.2.0.9.0.20030425103428.0231ea28@mail.troutman.org> At 09:59 AM 4/25/2003, Hugo Rebello wrote: >I looked for information about the integration of Nagios with MRTG, but I >didn't found. >Anybody help me ? I run both on the same server - mrtg polling as well as nagios. What would you want to integrate exactly? ___________________________________________ Mike Troutman http://www.troutman.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From russell at quadrix.com Fri Apr 25 16:42:47 2003 From: russell at quadrix.com (Russell Scibetti) Date: Fri, 25 Apr 2003 10:42:47 -0400 Subject: Empty status.log file References: <0C68BB5622B41D41ACEC1716B2C2DD0862D0@cecmail.CDAINTERNAL.COM> Message-ID: <3EA94967.8050403@quadrix.com> Just a possible problem that happened to me once... How much space is left in that partition? I had my /usr up to 100% once, so it couldn't write the status.log. Just something to check. Russell Don Howard wrote: >My status.log file is empty. I had this up and running for weeks and made not changes. I went to hit the website and I got the following message when I tried to look at service or host details: >"There doesn't appear to be any host status information in the status log... Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files." >Nagios is running as indicated by >[root at northernbytesconsulting etc]# ps -ef |grep nagios >nagios 1130 1 0 13:12 ? 00:00:00 /usr/local/nagios/bin/nagios -d >and the path is correct in the nagios.cfg file it is >status_file=/usr/local/nagios/var/status.log >if I stop nagios the status.log file disapears and upon restart it is back but empty. Anyone have any ideas? I tried gooleing on this problem as well as searching the archives and did not come up with anything. Any help would be appriciated. >Thanks, >Don > >-- >Don Howard >Network Administrator >Connected Energy >Mailto:Don.Howard at connectedenergy.com >http://www.connectedenergy.com > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rduta at syskey.com Fri Apr 25 16:49:44 2003 From: rduta at syskey.com (Radu Duta) Date: Fri, 25 Apr 2003 10:49:44 -0400 Subject: check a web page In-Reply-To: <041a01c30afd$b1e3b600$8300a8c0@wheeljd>; from johannes.dagemark@op5.se on Fri, Apr 25, 2003 at 09:38:34AM +0200 References: <041a01c30afd$b1e3b600$8300a8c0@wheeljd> Message-ID: <20030425104944.B12358@garagenet.com> On Fri, Apr 25, 2003 at 09:38:34AM +0200, Johannes Dagemark wrote: > Hello > > Im wondering if there is someone that has a plugin for checking that the content > of a webpage matches the content of a localy stored copy don't know if there is a canned plugin, but you can roll your own with someting like: $MD5=`curl -s www.yahoo.com |md5sum` if ($MD5 ne '20c3bb895a6d58609f55c056857d2a2a') { } else { } -- Radu Duta The reasonable man adapts himself to the world; the unreasonable man persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man. - G. B. Shaw ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Fri Apr 25 17:12:04 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Fri, 25 Apr 2003 16:12:04 +0100 Subject: suppress Host that is down Message-ID: <1012BD903945D411915500105A48FF57F06B5F@nt.man.fwltech.com> Maybe you could use a check-host-alive command which pings both IP addresses instead of just using the one check_ping, that way it would only say host down if both IP addresses were down. Ewan > -----Original Message----- > From: Cyril Bitterich > [mailto:bitteric-nagios-users at cip.informatik.uni-muenchen.de] > Sent: 25 April 2003 15:37 > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] suppress Host that is down > > > Hi, > > I've got a special problem. > > One computer using dual-boot uses different IP's for the > different OS it > uses. > Now I want to monitor this host and know when the computer is down. I > know that I can suppress the mails by using opposed host-dependencies. > But I'd like to suppress the visible Host-Down alerts in the cgi's. > > Right know I get a down host in the tactical overview and so on. > But in reality the host is not down but only in the other OS. > > Do you have any ideas on how to solve this problem? > > Cyril > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy at droidmcse.com Fri Apr 25 17:14:20 2003 From: andy at droidmcse.com (Andy) Date: 25 Apr 2003 11:14:20 -0400 Subject: Event Handlers Message-ID: <1051283659.6313.48.camel@asus> Does anybody use event handlers against a windows box? I have been using an rexec service on a windows box, but it's a trial copy and it's about to run out. Also, my higher-ups would like to use ssh instead of rexec. I have found an open-source sshd server for windows that uses cygwin but I'm having problems getting it to cooperate. What is everyone else doing (or not doing :) ) Thanks Andy ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elgaz at iprimus.com.au Fri Apr 25 17:46:34 2003 From: elgaz at iprimus.com.au (Gary and El Byrnes) Date: Sat, 26 Apr 2003 01:46:34 +1000 Subject: Whoops! error Message-ID: <007601c30b41$d9db8d10$0137a8c0@rooter> Hi I have just finished configuring all files and did the preflight check that returned 0 errors and 0 warnings. I restarted httpd and started nagios as a deamon, checked with ps if it exists and it does. When I go to the nagios webpage and try to click on any of the links on the left hands side I can only see this error message. I checked that the file is in that location. I can open it with vi. Thanks for your help in advance. ********************************* Whoops! Error: Could not open CGI config file '/usr/local/nagios/etc/cgi.cfg' for reading! Here are some things you should check in order to resolve this error: 1. Make sure you've installed a CGI config file in its proper location. See the error message about for details on where the CGI is expecting to find the configuration file. A sample CGI configuration file (named cgi.cfg) can be found in the sample-config/ subdirectory of the Nagios source code distribution. 2. Make sure the user your web server is running as has permission to read the CGI config file. Make sure you read the documentation on installing and configuring Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmourati at cm.math.uiuc.edu Fri Apr 25 17:42:23 2003 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 25 Apr 2003 10:42:23 -0500 (CDT) Subject: Where does $ARG1$ come from In-Reply-To: <1051224785.2061.83.camel@nick.docmagic.com> References: <1051224785.2061.83.camel@nick.docmagic.com> Message-ID: Look for a corresponding entry in services.cfg. Mine: define service{ use omail-non-critical hostgroup_name omail-servers service_description PING check_command check_ping!100,20%!200,40% } In this case, $ARG1$=100,20%, $ARG2$=200,40%. On 24 Apr 2003, Nicholas Bernstein wrote: > # 'check_ping' command definition > define command{ > command_name check_ping > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c > $ARG2$ -p 15 > } > > Where does the value of $ARG1$ & $ARG2$ get set? > > -- > +---------------------------------------------------------------+ > | Nicholas Bernstein | nick at docmagic.com | > | UNIX Systems Administrator | http://www.docmagic.com | > | Document Systems Inc. | | > +---------------------------------------------------------------+ > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Apr 25 17:57:11 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 25 Apr 2003 10:57:11 -0500 Subject: Drill Down Facility in APAN Message-ID: > Dear Sir, > > I am writing to thank you for your letter and suggest you have your > mailer wrap text at about 70 columns. Interesting. I've made no changes to Outlook. I don't know why it's not wrapping. (I manually wrapped this, just in case.) > I beg to disagree. Those frontends that are network box oriented, yes. I'm not sure what you mean by this. I'm trying to envision a useful host which isn't networked, and am having some difficulty. > AFAIK, others whose main purpose is graphing anything such as > Orca (and > perhaps MRTG) can accept data from other inputs - usually the file > system with data in a specific format. I know cacti can do this out of the box, too. However, it's the local filesystem. If you mean running a program/script (such as check_nrpe or check_by_ssh) to retrieve data remotely, I can see that. The drawback is that we would have Nagios collecting the data, and then RRD solution X collecting the data again. More network traffic, more CPU churn. If that's the only option, then that's the only option, albeit somewhat sub- optimal. > What Nagios data do you have in mind that an RRD front-end could > leverage ? serviceperf.log > RRDs are simply a good choice to store time series (ts) in. If > you are collecting time series, storing it in RRDs will solve a few > problems for you (graphing, light-weight fixed size storage and > 'adequate' data access). I'm not refuting the utility of RRDs at all. And if there were a delightfully painless implementation (as LARRD is to Big Brother), I'd be all over it. If there were an obvious solution, this would become a FAQ, and not a topic of ongoing discussion. > Since Nag doesn't at the moment collect ts data, the challenges are > actually thinking about the role ts plays with Nag. > > These may include, > > . considering having the plugins build with an option that causes them > to write performace data RRDs *blink* Hey, great idea! :) > . as you say, ad-hoc custom checks of ts data collected by something > else. Again, as you say, probably collected by an SNMP collector See comments above. > . having RRD add-ons or front-ends submit passive service > checks to Nag Also an interesting idea. I suppose one benefit to this would be that we could centralize the warning/critical threshold definitions, which historically hasn't been the way that NRPE operates. (Yes, I'm aware of the changes underfoot for NRPE.) > I suggest that these problems are licked in SNMP v3, caveat lack of > commercial implementations. Until then, ad-hoc solutions such as ACLs; > don't run v2 or v1 in 'public' places'; be aware (and scared) of the > gaping holes - eg public SNMP community string brute force breakers - > try them out on your boxes; keep up to date code etc etc. $ snmpget -V UCD-snmp version: 4.2.5 On keeping code up-to-date: apt-get for Red Hat: http://freshrpms.net yum: http://www.linux.duke.edu/projects/yum/ > I think Poul Henning-Kamp wrote some software (on the RRD page) that > securely gets data from a remote RRD. Yes... I remember seeing that last night. But I was pretty beat and wasn't thinking about all permutations. I'll have to reconsider that. jc > Yours sincerely. > > -- > -------------------------------------------------------------- > ---------- > Stanley Hopcroft > -------------------------------------------------------------- > ---------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leonardomachado at email.com Fri Apr 25 18:18:15 2003 From: leonardomachado at email.com (Leonardo Machado) Date: Sat, 26 Apr 2003 00:18:15 +0800 Subject: Nagios-users -- confirmation of subscription -- request 646183 Message-ID: <20030425161815.13723.qmail@email.com> -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul.clayton at intec.co.za Fri Apr 25 18:31:27 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Fri, 25 Apr 2003 18:31:27 +0200 Subject: (no subject) Message-ID: <9290BC9741D67F43BDAAC84144FF870D0183F644@intecserver007.intec.co.za> Regards Unix like TeePee no windows, no gates, Apache inside. Paul Clayton Global Unix Co-ordinator Intec Telecom Systems Ph +27 (0) 21 4309000 Fax +27 (0) 21 4309025 Mobile +27(0) 832853403 ******************************************************************************************* This e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ****************************************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Apr 25 18:50:47 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 25 Apr 2003 11:50:47 -0500 Subject: Drill Down Facility in APAN Message-ID: Then it appears I should try this strategy: - set up SNMP on a Linux host (since SNMP is already installed) - get a trivial query to work successfully - play with the community names and the ACLs until it seems satisfactory that I can block unauthorized networks - install Cricket on the Nagios server - set up a few trivial items for Cricet to trend - expand the above to include a few other Linux hosts - get SNMP s/w from sunfreeware.com and install on a Solaris host - tweak SNMP on Solaris host similar to Linux host - wash, rinse, repeat Let me know if this makes sense. Also let me know if I can ping you off-list with questions specific to this solution. TIA, jc PS - Sorry for not making any quotable references to your e-mail, Jamie. For some reason, Exchange has decided to quarantine my replies to you. This happened last night, too... I tried to figure out what the offending string was, even removed a couple I thought were causing the problem, to no avail. I lopped it off for the sake of expediency. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Apr 25 18:46:39 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Fri, 25 Apr 2003 11:46:39 -0500 Subject: Event Handlers Message-ID: Most of us are using NSclient for monitoring Windows. http://nsclient.ready2run.nl jc > -----Original Message----- > From: Andy [mailto:andy at droidmcse.com] > Sent: Friday, April 25, 2003 10:14 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Event Handlers > > > Does anybody use event handlers against a windows box? > > I have been using an rexec service on a windows box, but it's a trial > copy and it's about to run out. Also, my higher-ups would like to use > ssh instead of rexec. > > I have found an open-source sshd server for windows that uses cygwin > but I'm having problems getting it to cooperate. > > What is everyone else doing (or not doing :) ) > > Thanks > Andy > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkazmier at sofast.net Fri Apr 25 20:04:07 2003 From: mkazmier at sofast.net (Michael S. Kazmier) Date: Fri, 25 Apr 2003 12:04:07 -0600 Subject: Anyone using ServiceExtInfo instead of hostextinfo? Message-ID: <00ad01c30b55$10bc2fc0$6701010a@kazkdsxp> Is there anyone using the serviceextinfo.cfg template for extended information as opposed to the hostextinfo.cfg for hosts? I can get the hostextinfo.cfg to work as documented, but I cannot get the serviceextinfo.cfg to function properly. I am not using both at the same time and, most importantly, I need the notes_url object to load. Help me? please ? Thanks, Mike ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkazmier at sofast.net Fri Apr 25 20:11:09 2003 From: mkazmier at sofast.net (Michael S. Kazmier) Date: Fri, 25 Apr 2003 12:11:09 -0600 Subject: Anyone using ServiceExtInfo instead of hostextinfo? In-Reply-To: <00ad01c30b55$10bc2fc0$6701010a@kazkdsxp> References: <00ad01c30b55$10bc2fc0$6701010a@kazkdsxp> Message-ID: <00ae01c30b56$0c9f8620$6701010a@kazkdsxp> Nevermind - Stupid user error - I had renamed my Service Description and that hosed it - man... there goes 6 hours of work :) Thanks all... -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michael S. Kazmier Sent: Friday, April 25, 2003 12:04 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Anyone using ServiceExtInfo instead of hostextinfo? Is there anyone using the serviceextinfo.cfg template for extended information as opposed to the hostextinfo.cfg for hosts? I can get the hostextinfo.cfg to work as documented, but I cannot get the serviceextinfo.cfg to function properly. I am not using both at the same time and, most importantly, I need the notes_url object to load. Help me? please ? Thanks, Mike ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peter at echtsauer.net Fri Apr 25 21:15:21 2003 From: peter at echtsauer.net (Peter Sauer) Date: Fri, 25 Apr 2003 21:15:21 +0200 (CEST) Subject: Limitation for RedHat 8.0? In-Reply-To: <1051225743.16732.5.camel@peitha> References: <1051225743.16732.5.camel@peitha> Message-ID: <65052.80.110.217.149.1051298121.squirrel@www.echtsauer.net> Hi Lennard, you wrote you've installed Nagios from source with mysql on Redhat 8.0. Everytime I try to configure --with-mysql-xdata I get the error that the mysql-library could not be found. I've installed the mysql, mysql-server and mysql-devel rpm's and the libmysqlclient.so.10 is found by ldconfig -v. Please tell me how you have configured Nagios. Kind regards, Peter > On Thu, 2003-04-24 at 23:27, yk77 at sbcglobal.net wrote: >> My server was installed for RedHat8.0 and now I'm trying to start >> installing nagios from source code.Then I have a question. >> Are there any limitation to install for RedHat version 8.0? >> I mean, does it work for nagios on RedHat8.0? >> If somebody already installed it to RedHat8.0, >> please let me know. > > Everything just works fine on RedHat 8.0 > Source install. With mysql configuration. > > Lennard > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null -- One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 icnet.com.ve Fri Apr 25 21:19:29 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Fri, 25 Apr 2003 15:19:29 -0400 Subject: Availability and trends report Message-ID: <5.1.0.14.0.20030425151816.00b4d6e8@pop.icnet.com.ve> Hi, When I generate the availability or trends report for a host o service, I see differents values depending of first assumed host state, when I select Unspecified state, the report show 0% Up, Down and unreachable, when I select Host Up, the report show me 100% up and 0% in the other state, when I select Host Down, the report show me 100% down state, and 0% in the other states. I don?t know what is happen. Anybody can help me? Jeyri ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Apr 25 21:29:59 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 25 Apr 2003 14:29:59 -0500 Subject: Availability and trends report Message-ID: <5DB017510818EC468B05BD7BD9EACF83030EDDCD@mismail.ena.com> What you are seeing simply means that the host or service has not changed state at all during your reporting period. Since Nagios didn't see a state change in the log to know if it was up or down, it uses your first assumed state for the entire reporting period. -- Marc > -----Original Message----- > From: Jeyri Bautista [mailto:jbautista at icnet.com.ve] > Sent: Friday, April 25, 2003 2:19 PM > To: nagios-users at lists.sourceforge.net > > Hi, > > When I generate the availability or trends report for a host o service, I > see differents values depending of first assumed host state, when I select > Unspecified state, the report show 0% Up, Down and unreachable, when I > select Host Up, the report show me 100% up and 0% in the other state, when > I select Host Down, the report show me 100% down state, and 0% in the > other > states. > > I don?t know what is happen. Anybody can help me? > > > Jeyri > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asonntag at motive.com Fri Apr 25 22:23:38 2003 From: asonntag at motive.com (Aaron Sonntag) Date: Fri, 25 Apr 2003 15:23:38 -0500 Subject: hostaddress variable use in services file? Message-ID: <57E99791FA03CA4EA82BC4D7D2FD624F012D9A@rodan.motive.com> I have a group of hosts that are webservers. I want to run the check_http command against multiple hosts. This is an example from the documentation of multiple hosts service entry: define service{ host_name HOST1,HOST2,HOST3,...,HOSTN service_description SOMESERVICE other service directives ... } Many commands like check_http have a $HOSTADDRESS$ variable. Is that somehow pulled from the host definition entry? If so then the example below will work. If not then I have to make a service entry for every host because hostaddress is different for every host. define service{ host_name HOST1,HOST2,HOST3,...,HOSTN service_description HTTP check_command check_http other service directives ... } Do I have to make a different service definition for each host because the hostaddress is different? Thanks --aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: From bakkerl at lamp.xs4all.nl Fri Apr 25 22:50:44 2003 From: bakkerl at lamp.xs4all.nl (Lennard Bakker) Date: 25 Apr 2003 22:50:44 +0200 Subject: Limitation for RedHat 8.0? In-Reply-To: <65052.80.110.217.149.1051298121.squirrel@www.echtsauer.net> References: <1051225743.16732.5.camel@peitha> <65052.80.110.217.149.1051298121.squirrel@www.echtsauer.net> Message-ID: <1051303841.28246.40.camel@peitha> Hi Peter, My /etc/ld.so.conf is: [root at peitha root]# cat /etc/ld.so.conf /usr/lib/ /usr/local/include/freetype2/ /usr/local/lib /usr/local /usr/kerberos/lib /usr/X11R6/lib /usr/lib/qt-3.0.5/lib /usr/local/mysql/lib/mysql /usr/include/openssl I did a source install of mysql, so i have a different path for the libs. The options i used to configure nagios: ./configure --prefix=/home/nagios --with-mysql-xdata --with-mysql-downtime --with-mysql-comments --with-mysql-status --with-mysql-retention --with-mysql-extinfo --with-mysql-inc=/usr/local/mysql/include So if you can see, the include path in different than the path in ldconfig. Maybe the path need also be given to compile nagios source. Kind regards, Lennard Bakker On Fri, 2003-04-25 at 21:15, Peter Sauer wrote: > Hi Lennard, > > you wrote you've installed Nagios from source with mysql on Redhat 8.0. > Everytime I try to configure --with-mysql-xdata I get the error that > the mysql-library could not be found. I've installed the mysql, > mysql-server and mysql-devel rpm's and the libmysqlclient.so.10 is found > by ldconfig -v. > Please tell me how you have configured Nagios. > > Kind regards, Peter > > > On Thu, 2003-04-24 at 23:27, yk77 at sbcglobal.net wrote: > >> My server was installed for RedHat8.0 and now I'm trying to start > >> installing nagios from source code.Then I have a question. > >> Are there any limitation to install for RedHat version 8.0? > >> I mean, does it work for nagios on RedHat8.0? > >> If somebody already installed it to RedHat8.0, > >> please let me know. > > > > Everything just works fine on RedHat 8.0 > > Source install. With mysql configuration. > > > > Lennard > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. ::: Messages without supporting info will risk > > being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From biggibby at hotmail.com Fri Apr 25 23:05:27 2003 From: biggibby at hotmail.com (biggibby) Date: 25 Apr 2003 21:05:27 -0000 Subject: Nagios on Mainframe Message-ID: <20030425210527.10170.qmail@pod-163.dolphin-server.co.uk> Has anyone contacted the developers to port Nagios to a mainframe? Could be very useful there? I've currently set it up on an Intel box to monitor Linux for zSeries images. Tried to compile it to a mainframe image but it biffed due to architecture issues. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asonntag at motive.com Fri Apr 25 23:16:43 2003 From: asonntag at motive.com (Aaron Sonntag) Date: Fri, 25 Apr 2003 16:16:43 -0500 Subject: hostaddress variable use in services file? Message-ID: <57E99791FA03CA4EA82BC4D7D2FD624F012D9B@rodan.motive.com> Well I seem to have answered my own question by trying it. For each host in my second example... it will pull that $HOSTADDRESS$ from the respective host definition. I may be back with more obvious whizbang questions like this one when I start implementing custom check commands and try to pass similar variables. --aaron -----Original Message----- From: Aaron Sonntag Sent: Friday, April 25, 2003 3:24 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] hostaddress variable use in services file? I have a group of hosts that are webservers. I want to run the check_http command against multiple hosts. This is an example from the documentation of multiple hosts service entry: define service{ host_name HOST1,HOST2,HOST3,...,HOSTN service_description SOMESERVICE other service directives .... } Many commands like check_http have a $HOSTADDRESS$ variable. Is that somehow pulled from the host definition entry? If so then the example below will work. If not then I have to make a service entry for every host because hostaddress is different for every host. define service{ host_name HOST1,HOST2,HOST3,...,HOSTN service_description HTTP check_command check_http other service directives .... } Do I have to make a different service definition for each host because the hostaddress is different? Thanks --aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter at echtsauer.net Sat Apr 26 01:11:33 2003 From: peter at echtsauer.net (Peter Sauer) Date: Sat, 26 Apr 2003 01:11:33 +0200 (CEST) Subject: Limitation for RedHat 8.0? In-Reply-To: <1051303841.28246.40.camel@peitha> References: <1051225743.16732.5.camel@peitha> <65052.80.110.217.149.1051298121.squirrel@www.echtsauer.net> <1051303841.28246.40.camel@peitha> Message-ID: <64558.80.110.217.149.1051312293.squirrel@www.echtsauer.net> Hi Lennard, thanks for posting your configuration. It looks likes there's a problem with the Redhat mysql-rpm's. I think I will also install mysql from source. It's still a little bit strange, the plugin-configure script works with the mysqlclient-library, but nagios inself doesn't... Anyway, kind regards, Peter > Hi Peter, > > My /etc/ld.so.conf is: > [root at peitha root]# cat /etc/ld.so.conf > /usr/lib/ > /usr/local/include/freetype2/ > /usr/local/lib > /usr/local > /usr/kerberos/lib > /usr/X11R6/lib > /usr/lib/qt-3.0.5/lib > /usr/local/mysql/lib/mysql > /usr/include/openssl > > I did a source install of mysql, so i have a different path for the > libs. > > The options i used to configure nagios: > ./configure --prefix=/home/nagios --with-mysql-xdata > --with-mysql-downtime --with-mysql-comments --with-mysql-status > --with-mysql-retention --with-mysql-extinfo > --with-mysql-inc=/usr/local/mysql/include > > > So if you can see, the include path in different than the path in > ldconfig. Maybe the path need also be given to compile nagios source. > > Kind regards, > > Lennard Bakker > > > > On Fri, 2003-04-25 at 21:15, Peter Sauer wrote: >> Hi Lennard, >> >> you wrote you've installed Nagios from source with mysql on Redhat >> 8.0. Everytime I try to configure --with-mysql-xdata I get the error >> that the mysql-library could not be found. I've installed the mysql, >> mysql-server and mysql-devel rpm's and the libmysqlclient.so.10 is >> found by ldconfig -v. >> Please tell me how you have configured Nagios. >> >> Kind regards, Peter >> >> > On Thu, 2003-04-24 at 23:27, yk77 at sbcglobal.net wrote: >> >> My server was installed for RedHat8.0 and now I'm trying to start >> installing nagios from source code.Then I have a question. >> >> Are there any limitation to install for RedHat version 8.0? >> >> I mean, does it work for nagios on RedHat8.0? >> >> If somebody already installed it to RedHat8.0, >> >> please let me know. >> > >> > Everything just works fine on RedHat 8.0 >> > Source install. With mysql configuration. >> > >> > Lennard >> > >> > >> > >> > >> > ------------------------------------------------------- >> > This sf.net email is sponsored by:ThinkGeek >> > Welcome to geek heaven. >> > http://thinkgeek.com/sf >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> -- One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Apr 26 02:38:43 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 26 Apr 2003 10:38:43 +1000 Subject: Drill Down Facility in APAN In-Reply-To: ; from jcarro10@sprintspectrum.com on Fri, Apr 25, 2003 at 10:57:11AM -0500 References: Message-ID: <20030426103838.A226@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and conclude my remarks about this matter with On Fri, Apr 25, 2003 at 10:57:11AM -0500, Carroll, Jim P [Contractor] wrote: > > Interesting. I've made no changes to Outlook. I don't know why it's > not wrapping. (I manually wrapped this, just in case.) > (readable bliss!) > I'm not sure what you mean by this. I'm trying to envision a useful > host which isn't networked, and am having some difficulty. > Sorry, what I meant was the front-ends whose main function is not monitoring routers and switches but any old time series such as cache hit rate, page miss rates, or mails per day eg Orca, but there are others. Orcallator could well be useful to you if you only want graphs. It will collect and graph free mem, numbers of processes, swap rates, etc etc. Obviously this is useful for capacity planning on your Solaris/Linux servers (Orcaware is POSIX only I think). Again, the challenge is that Mr Baddeley has been mentioning: how do you get Nag to report exceptions on this stuff ? eg swap rate > max swap rate threshold bytes/sec at critical node > threshold An RRD plugin to compare the last entry added to an RRD with a threshold, or if you are using Cricket (with anomaly detection), check the FAILURE archive, is straightforward. In the Cricket case, you don't need to worry about transient fluctuations because the Holt-Winters stuff is accounting for it. However, in the former case, where the value is compared with a static threshold, it seems to me that Mr Baddelys case of having to change the threshold because of temporary surges or sags, applies. In this case, the RRD does not add anything - it seems to me - to Nag, unless your RRD plugin analyses the data more extensively (by fetching the last 10 measurements and computing the average perhaps). Also, what about hundreds of RRDs ? > > AFAIK, others whose main purpose is graphing anything such as > > Orca (and > > perhaps MRTG) can accept data from other inputs - usually the file > > system with data in a specific format. > On the matter of MRTG, From: Tobias Oetiker when mrtg is run in rrd mode it will convert any matching log files to rrd format automagically tobi -- ______ __ _ /_ __/_ / / (_) Oetiker @ ISG.EE, ETZ J97, ETH, CH-8092 Zurich / // _ \/ _ \/ / System Manager, Time Lord, Coder, Designer, Coach /_/ \.__/_.__/_/ http://people.ee.ethz.ch/~oetiker +41(0)1-632-5286 > If you mean running a program/script (such as check_nrpe or check_by_ssh) > to retrieve data remotely, I can see that. The drawback is that we > would have Nagios collecting the data, and then RRD solution X collecting > the data again. More network traffic, more CPU churn. If that's the > only option, then that's the only option, albeit somewhat sub- > optimal. > You may well choose to do that because . you have an intensive RRD collector saving data for graphing (people are interested in graphs and archiving 'performance' data: you may have a requirement to archive data or simple prudence says you should. The archived data will show trends and be useful in ways not forseen of at the time) . you have a less intensive Nag either checking the RRDs, accepting passive service check results from them (with a link to the graphs) and doing what RRD usually doesn't, namely checking services rather than collecting data. > > What Nagios data do you have in mind that an RRD front-end could > > leverage ? > > serviceperf.log > IIRC, there are not many plugins (4 at most) that save performance data. Personally, if I want data about performance, I would probably cosider collecting such data directly with other tools. As Mr Baddeley wrote, flood ping or smoke ping may be much better ways of collecting Network perf data than the Nag checks. Why ? Because the Nag plugins are less efficient. The Nag plugins are designed to check services of any nature; perf tools can be optimised because they are basically stand alone. > > $ snmpget -V > UCD-snmp version: 4.2.5 > ( I think the latest is net-snmp v5.xx. If you really want to suffer, the encyption and authentication stuff in SNMP v3 addresses all of the problems of v1, but it requires some understanding and setting up. In any case, if you want to monitor routers and switches you can't use it [because no one implemnts it] other than by proxy. If you used the net-snmp agent however, you could securely manage hosts that the agent runs on [Linux/Sol/FreeBSD/]) > Those that have some good ideas about this matter that lead to code will have the last word about RRDs and Nag. This is not meant to be an RRD will save us thread: The Nag developers may simply feel that RRDs can provide some advantages in some cases. 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Apr 26 03:23:34 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 26 Apr 2003 11:23:34 +1000 Subject: Drill Down Facility in APAN In-Reply-To: <200304250707.h3P77CP09347@spectre.freeparking.co.nz>; from jamie.baddeley@vpc.co.nz on Fri, Apr 25, 2003 at 07:08:07PM +1200 References: <200304250707.h3P77CP09347@spectre.freeparking.co.nz> Message-ID: <20030426112331.B226@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for an excellent review of this matter and say, On Fri, Apr 25, 2003 at 07:08:07PM +1200, Jamie Baddeley wrote: > Hi Jim, > > Thanks for your thoughts. Great stuff. > .. snip .. > > I'm guessing that it'll be wrapper around rrdtool fetch that'll end up being > the catalyst for what we are talking about.... > > http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/manual/rrdfetch.html > It is more efficient to save fork()'ing rrdtool by using the various language bindings to the RRD library. rrd_fetch can be called from Perl [use RRDs; .. RRDs::fetch()], TCL [?], C/C++, and maybe Ruby. In this way the plugin can fetch data from an RRD without the need to fork rrdtool. > > peace. > > Jamie > 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sourceforge at rainer.net Sat Apr 26 04:27:29 2003 From: sourceforge at rainer.net (Rainer) Date: Fri, 25 Apr 2003 23:27:29 -0300 Subject: Custom notification for each service check? Message-ID: <5.2.1.1.2.20030425231706.00b48030@pop1.mail.com> Hello, How can I send out custom notifications for each service check? (without having to create additional/duplicate contacts or services) Ex.: When check_local_disk_sda1 (custom checkcommand) changes to a critical state (on any of the configured hosts), I want to send the following notification to the assigned contactgroups: "Warning: /dev/sda1 on server $HOSTALIAS is low on disk space" Thanks in advance, Rainer ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elgaz at iprimus.com.au Sat Apr 26 04:52:09 2003 From: elgaz at iprimus.com.au (Gary and El Byrnes) Date: Sat, 26 Apr 2003 12:52:09 +1000 Subject: Can't see any information Message-ID: <003c01c30b9e$d5094a40$0137a8c0@rooter> Hi I get this error message every time I click on anything on the left hand side except Tactical Overview. What can I do? Thanks Elvira Service Status Details For All Hosts Host Service Status Last Check Duration Attempt Status Information It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: up.gif Type: image/gif Size: 848 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: down.gif Type: image/gif Size: 846 bytes Desc: not available URL: From sghosh at sghosh.org Sat Apr 26 06:01:23 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sat, 26 Apr 2003 00:01:23 -0400 (EDT) Subject: Custom notification for each service check? In-Reply-To: <5.2.1.1.2.20030425231706.00b48030@pop1.mail.com> References: <5.2.1.1.2.20030425231706.00b48030@pop1.mail.com> Message-ID: On Fri, 25 Apr 2003, Rainer wrote: > Hello, > > How can I send out custom notifications for each service check? (without > having to create additional/duplicate contacts or services) > > Ex.: When check_local_disk_sda1 (custom checkcommand) changes to a critical > state (on any of the configured hosts), I want to send the following > notification to the assigned contactgroups: > > "Warning: /dev/sda1 on server $HOSTALIAS is low on disk space" > > Thanks in advance, > Rainer > custom event handler can do that -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elgaz at iprimus.com.au Sat Apr 26 07:03:17 2003 From: elgaz at iprimus.com.au (Gary and El Byrnes) Date: Sat, 26 Apr 2003 15:03:17 +1000 Subject: Fw: Can't see any information Message-ID: <007f01c30bb1$26b09710$0137a8c0@rooter> Hi Everybody I have figured this one out. I had authentication enabled in cgi.conf but didn't configure it. Fixed now. :) ----- Original Message ----- From: Gary and El Byrnes To: nagios-users at lists.sourceforge.net Sent: Saturday, April 26, 2003 12:52 PM Subject: Can't see any information Hi I get this error message every time I click on anything on the left hand side except Tactical Overview. What can I do? Thanks Elvira Service Status Details For All Hosts Host Service Status Last Check Duration Attempt Status Information It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: up.gif Type: image/gif Size: 848 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: down.gif Type: image/gif Size: 846 bytes Desc: not available URL: From kalita_nayan at rediffmail.com Sat Apr 26 09:07:17 2003 From: kalita_nayan at rediffmail.com (nayan moni kalita) Date: 26 Apr 2003 07:07:17 -0000 Subject: Service did not exit properly Message-ID: <20030426070717.5418.qmail@webmail29.rediffmail.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From elgaz at iprimus.com.au Sat Apr 26 09:49:21 2003 From: elgaz at iprimus.com.au (Gary and El Byrnes) Date: Sat, 26 Apr 2003 17:49:21 +1000 Subject: logos Message-ID: <010b01c30bc8$59bcb550$0137a8c0@rooter> Hi Everybody Could somebody please help me correctly configure the coloful logos that come as separate downloads. I have unpacked them into /usr/local/nagios/share/images/logos/. Thanks Elvira -------------- next part -------------- An HTML attachment was scrubbed... URL: From gert.lindstrom at brevik.nu Sat Apr 26 10:18:30 2003 From: gert.lindstrom at brevik.nu (=?iso-8859-1?Q?Gert_Lindstr=F6m?=) Date: Sat, 26 Apr 2003 10:18:30 +0200 Subject: Hub Message-ID: <011201c30bcc$6c73ace0$36c8a8c0@dkkm80j> Anyone who can tip me how to make Nagis see a hub as "up" ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From bakkerl at lamp.xs4all.nl Sat Apr 26 11:19:27 2003 From: bakkerl at lamp.xs4all.nl (Lennard Bakker) Date: 26 Apr 2003 11:19:27 +0200 Subject: Limitation for RedHat 8.0? In-Reply-To: <64558.80.110.217.149.1051312293.squirrel@www.echtsauer.net> References: <1051225743.16732.5.camel@peitha> <65052.80.110.217.149.1051298121.squirrel@www.echtsauer.net> <1051303841.28246.40.camel@peitha> <64558.80.110.217.149.1051312293.squirrel@www.echtsauer.net> Message-ID: <1051348764.28302.45.camel@peitha> Peter, and if you give the --with-mysql-inc= param to the path where the include files are? Lennard Bakker On Sat, 2003-04-26 at 01:11, Peter Sauer wrote: > Hi Lennard, > > thanks for posting your configuration. > It looks likes there's a problem with the Redhat mysql-rpm's. > I think I will also install mysql from source. > It's still a little bit strange, the plugin-configure script works > with the mysqlclient-library, but nagios inself doesn't... > > Anyway, kind regards, Peter > > > > Hi Peter, > > > > My /etc/ld.so.conf is: > > [root at peitha root]# cat /etc/ld.so.conf > > /usr/lib/ > > /usr/local/include/freetype2/ > > /usr/local/lib > > /usr/local > > /usr/kerberos/lib > > /usr/X11R6/lib > > /usr/lib/qt-3.0.5/lib > > /usr/local/mysql/lib/mysql > > /usr/include/openssl > > > > I did a source install of mysql, so i have a different path for the > > libs. > > > > The options i used to configure nagios: > > ./configure --prefix=/home/nagios --with-mysql-xdata > > --with-mysql-downtime --with-mysql-comments --with-mysql-status > > --with-mysql-retention --with-mysql-extinfo > > --with-mysql-inc=/usr/local/mysql/include > > > > > > So if you can see, the include path in different than the path in > > ldconfig. Maybe the path need also be given to compile nagios source. > > > > Kind regards, > > > > Lennard Bakker > > > > > > > > On Fri, 2003-04-25 at 21:15, Peter Sauer wrote: > >> Hi Lennard, > >> > >> you wrote you've installed Nagios from source with mysql on Redhat > >> 8.0. Everytime I try to configure --with-mysql-xdata I get the error > >> that the mysql-library could not be found. I've installed the mysql, > >> mysql-server and mysql-devel rpm's and the libmysqlclient.so.10 is > >> found by ldconfig -v. > >> Please tell me how you have configured Nagios. > >> > >> Kind regards, Peter > >> > >> > On Thu, 2003-04-24 at 23:27, yk77 at sbcglobal.net wrote: > >> >> My server was installed for RedHat8.0 and now I'm trying to start > >> installing nagios from source code.Then I have a question. > >> >> Are there any limitation to install for RedHat version 8.0? > >> >> I mean, does it work for nagios on RedHat8.0? > >> >> If somebody already installed it to RedHat8.0, > >> >> please let me know. > >> > > >> > Everything just works fine on RedHat 8.0 > >> > Source install. With mysql configuration. > >> > > >> > Lennard > >> > > >> > > >> > > >> > > >> > ------------------------------------------------------- > >> > This sf.net email is sponsored by:ThinkGeek > >> > Welcome to geek heaven. > >> > http://thinkgeek.com/sf > >> > _______________________________________________ > >> > Nagios-users mailing list > >> > Nagios-users at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. ::: Messages without supporting info will risk > >> being sent to /dev/null > >> > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Apr 26 11:35:41 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 26 Apr 2003 19:35:41 +1000 Subject: Hub In-Reply-To: <011201c30bcc$6c73ace0$36c8a8c0@dkkm80j>; from gert.lindstrom@brevik.nu on Sat, Apr 26, 2003 at 10:18:30AM +0200 References: <011201c30bcc$6c73ace0$36c8a8c0@dkkm80j> Message-ID: <20030426193538.F229@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Sat, Apr 26, 2003 at 10:18:30AM +0200, Gert Lindstr?m wrote: > Anyone who can tip me how to make Nagis see a hub as "up" ? . some hubs are managed. If yours is, then check_snmp is a possibility. Otherwise . check a service(s) downstream of the hub may be your only choice. 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Apr 26 11:43:55 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 26 Apr 2003 19:43:55 +1000 Subject: Service did not exit properly In-Reply-To: <20030426070717.5418.qmail@webmail29.rediffmail.com>; from kalita_nayan@rediffmail.com on Sat, Apr 26, 2003 at 07:07:17AM -0000 References: <20030426070717.5418.qmail@webmail29.rediffmail.com> Message-ID: <20030426194353.G229@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Sat, Apr 26, 2003 at 07:07:17AM -0000, nayan moni kalita wrote: > hi > I have configured nagios and but i'm getting all services as > critical.. since _all_ the services are critical, perhaps there is a configuration problem. Does /bin/nagios -v /etc/nagios.cfg report any errors ? You may be better off trying to configure one host and one service until you are confident of the configuration requirements. Alternatively, try the sample configs and change the addresses (mainly) to suit your site. With Nag, configuring _one_ check is pretty much as hard as configuring _one thousand_. 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atulsh at hclinsys.com Sat Apr 26 12:14:26 2003 From: atulsh at hclinsys.com (Atul Shrivastava) Date: Sat, 26 Apr 2003 15:44:26 +0530 (IST) Subject: Can we monitor each port of L2 and L3 switches ...? In-Reply-To: <20030426193538.F229@IPAustralia.Gov.AU> References: <20030426193538.F229@IPAustralia.Gov.AU> Message-ID: Hello All, Is there easy way to find out the Activity of each port of L2 & L3 switch. Right now I think that it possible if the switch has SNMP Service running but this is a complicated and also effects the efficiency because we have to query for each port. So can anybody have any idea for this to happen in a easy way. Suppose somebody has moved the cables coming in the switches then an alert must be there for this. Any help would be appreceated. Regards, Atul Shrivastava ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From remus at lazar.info Sat Apr 26 12:47:27 2003 From: remus at lazar.info (Remus Lazar) Date: Sat, 26 Apr 2003 12:47:27 +0200 Subject: many nagios-threads and pending services Message-ID: <3EAA7FDF.2170.66B4989F@localhost> Hello, I have installed nagios from rpm on a SuSE 8.2 server. There are 54 services and 20 hosts. # uname -a Linux gurke2 2.4.20-4GB #1 Mon Mar 17 17:54:44 UTC 2003 i686 unknown unknown GNU/Linux I it a 2.4.20-SuSE-Kernel. After I do start nagios, there are after a while many nagios-threads running (about 400 after some hours). The problem is, that there are many services not being checked - there are scheduled, but not checked. After the start, 20 minutes later there are about 28 services "pending", but with the scheduled time in the past.. Under "Performance Info" I can see the average check latency over 10 minutes. I tried to limit the concurrent processes but this did not help - I set it to max. 15 processes, but after a while there are many more nagios-processes running. On demand I can send u the output from "ps faxv". Any hints will be appreciated! Regards, Remus Lazar. -- Remus Lazar http://www.gladi.net ICQ# 155206429 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Apr 26 12:46:14 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Sat, 26 Apr 2003 20:46:14 +1000 Subject: Nagios on Mainframe In-Reply-To: <20030425210527.10170.qmail@pod-163.dolphin-server.co.uk>; from biggibby@hotmail.com on Fri, Apr 25, 2003 at 09:05:27PM -0000 References: <20030425210527.10170.qmail@pod-163.dolphin-server.co.uk> Message-ID: <20030426204611.H229@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Fri, Apr 25, 2003 at 09:05:27PM -0000, biggibby wrote: > > Has anyone contacted the developers to port Nagios to a mainframe? Why ? Surely if you are running Linux on z/OS (or VM/Linux or whatever they call the version of VM that runs Linux without the need to maintain VM), porting should be irrelevant. Could be very useful there? I've currently set it up on an Intel box to monitor Linux for zSeries images. > Tried to compile it to a mainframe image but it biffed due to > architecture issues. > Please would you post the error messages ? 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Sat Apr 26 12:53:42 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Sat, 26 Apr 2003 06:53:42 -0400 Subject: Can we monitor each port of L2 and L3 switches ...? Message-ID: <2E3E9736615DD311895D00105A9CADED014BCC04@eentsvr40.ehvert.com> SNMP is the only way. Look hard at it, it is easier than you think. dean -----Original Message----- From: Atul Shrivastava [mailto:atulsh at hclinsys.com] Sent: April 26, 2003 6:14 AM To: Atul Srivastava Cc: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Can we monitor each port of L2 and L3 switches ...? Hello All, Is there easy way to find out the Activity of each port of L2 & L3 switch. Right now I think that it possible if the switch has SNMP Service running but this is a complicated and also effects the efficiency because we have to query for each port. So can anybody have any idea for this to happen in a easy way. Suppose somebody has moved the cables coming in the switches then an alert must be there for this. Any help would be appreceated. Regards, Atul Shrivastava ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From remus at lazar.info Sat Apr 26 13:38:04 2003 From: remus at lazar.info (Remus Lazar) Date: Sat, 26 Apr 2003 13:38:04 +0200 Subject: many nagios-threads and pending services Message-ID: <3EAA8BBC.9137.66E2F070@localhost> Hello, I have installed nagios from rpm on a SuSE 8.2 server. There are 54 services and 20 hosts. # uname -a Linux gurke2 2.4.20-4GB #1 Mon Mar 17 17:54:44 UTC 2003 i686 unknown unknown GNU/Linux I it a 2.4.20-SuSE-Kernel. After I do start nagios, there are after a while many nagios-threads running (about 400 after some hours). The problem is, that there are many services not being checked - there are scheduled, but not checked. After the start, 20 minutes later there are about 28 services "pending", but with the scheduled time in the past.. Under "Performance Info" I can see the average check latency over 10 minutes. I tried to limit the concurrent processes but this did not help - I set it to max. 15 processes, but after a while there are many more nagios-processes running. On demand I can send u the output from "ps faxv". Any hints will be appreciated! Regards, Remus Lazar. -- Remus Lazar http://www.gladi.net ICQ# 155206429 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy at droidmcse.com Sat Apr 26 16:21:33 2003 From: andy at droidmcse.com (Andy) Date: 26 Apr 2003 10:21:33 -0400 Subject: [newsletters] RE: Event Handlers In-Reply-To: References: Message-ID: <1051366893.26625.13.camel@asus> Beyond NS Client. I'm using NS Client also. But for example, if the NS client dies for some reason, I have an event handler that goes out and restarts it. Or if a web server dies I launch a script to restart the web server. In particular, the web server can't be fixed by setting the service recovery options. This is where the service hangs and needs to be killed forcibly and then restarted. On Fri, 2003-04-25 at 12:46, Carroll, Jim P [Contractor] wrote: > Most of us are using NSclient for monitoring Windows. > > http://nsclient.ready2run.nl > > jc > > > > -----Original Message----- > > From: Andy [mailto:andy at droidmcse.com] > > Sent: Friday, April 25, 2003 10:14 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Event Handlers > > > > > > Does anybody use event handlers against a windows box? > > > > I have been using an rexec service on a windows box, but it's a trial > > copy and it's about to run out. Also, my higher-ups would like to use > > ssh instead of rexec. > > > > I have found an open-source sshd server for windows that uses cygwin > > but I'm having problems getting it to cooperate. > > > > What is everyone else doing (or not doing :) ) > > > > Thanks > > Andy > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From peter at echtsauer.net Sat Apr 26 18:00:33 2003 From: peter at echtsauer.net (Peter Sauer) Date: Sat, 26 Apr 2003 18:00:33 +0200 (CEST) Subject: Limitation for RedHat 8.0? In-Reply-To: <1051348764.28302.45.camel@peitha> References: <1051225743.16732.5.camel@peitha> <65052.80.110.217.149.1051298121.squirrel@www.echtsauer.net> <1051303841.28246.40.camel@peitha> <64558.80.110.217.149.1051312293.squirrel@www.echtsauer.net> <1051348764.28302.45.camel@peitha> Message-ID: <64952.80.110.217.149.1051372833.squirrel@www.echtsauer.net> Hi Lennard, I've also tried to configure --with-mysql-lib=/usr/lib/mysql and --with-mysql-inc=/usr/inc/mysql on Redhat 7.3 and 8.0 ; same result... but --with-pgsql-xdata works fine, so I think I will use a postgresql-database. Best regards, Peter > > Peter, > > and if you give the --with-mysql-inc= param to the path where the > include files are? > > Lennard Bakker > > > On Sat, 2003-04-26 at 01:11, Peter Sauer wrote: >> Hi Lennard, >> >> thanks for posting your configuration. >> It looks likes there's a problem with the Redhat mysql-rpm's. >> I think I will also install mysql from source. >> It's still a little bit strange, the plugin-configure script works >> with the mysqlclient-library, but nagios inself doesn't... >> >> Anyway, kind regards, Peter >> >> >> > Hi Peter, >> > >> > My /etc/ld.so.conf is: >> > [root at peitha root]# cat /etc/ld.so.conf >> > /usr/lib/ >> > /usr/local/include/freetype2/ >> > /usr/local/lib >> > /usr/local >> > /usr/kerberos/lib >> > /usr/X11R6/lib >> > /usr/lib/qt-3.0.5/lib >> > /usr/local/mysql/lib/mysql >> > /usr/include/openssl >> > >> > I did a source install of mysql, so i have a different path for the >> libs. >> > >> > The options i used to configure nagios: >> > ./configure --prefix=/home/nagios --with-mysql-xdata >> > --with-mysql-downtime --with-mysql-comments --with-mysql-status >> --with-mysql-retention --with-mysql-extinfo >> > --with-mysql-inc=/usr/local/mysql/include >> > >> > >> > So if you can see, the include path in different than the path in >> ldconfig. Maybe the path need also be given to compile nagios >> source. >> > >> > Kind regards, >> > >> > Lennard Bakker >> > >> > >> > >> > On Fri, 2003-04-25 at 21:15, Peter Sauer wrote: >> >> Hi Lennard, >> >> >> >> you wrote you've installed Nagios from source with mysql on Redhat >> 8.0. Everytime I try to configure --with-mysql-xdata I get the >> error that the mysql-library could not be found. I've installed the >> mysql, mysql-server and mysql-devel rpm's and the >> libmysqlclient.so.10 is found by ldconfig -v. >> >> Please tell me how you have configured Nagios. >> >> >> >> Kind regards, Peter >> >> >> >> > On Thu, 2003-04-24 at 23:27, yk77 at sbcglobal.net wrote: >> >> >> My server was installed for RedHat8.0 and now I'm trying to >> start >> >> installing nagios from source code.Then I have a question. >> >> >> Are there any limitation to install for RedHat version 8.0? I >> mean, does it work for nagios on RedHat8.0? >> >> >> If somebody already installed it to RedHat8.0, >> >> >> please let me know. >> >> > >> >> > Everything just works fine on RedHat 8.0 >> >> > Source install. With mysql configuration. >> >> > >> >> > Lennard >> >> > >> >> > >> >> > >> >> > >> >> > ------------------------------------------------------- >> >> > This sf.net email is sponsored by:ThinkGeek >> >> > Welcome to geek heaven. >> >> > http://thinkgeek.com/sf >> >> > _______________________________________________ >> >> > Nagios-users mailing list >> >> > Nagios-users at lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> > ::: Please include Nagios version, plugin version (-v) and OS >> when >> >> reporting any issue. ::: Messages without supporting info will >> risk being sent to /dev/null >> >> >> -- One Unix to rule them all, One Resolver to find them, One IP to bring them all and in the zone to bind them. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sourceforge at rainer.net Sat Apr 26 23:58:55 2003 From: sourceforge at rainer.net (Rainer) Date: Sat, 26 Apr 2003 18:58:55 -0300 Subject: check_local_disk with MBs instead of % Message-ID: <5.2.1.1.2.20030426184534.00b6e2c0@wheresmymailserver.com> Hello, How can I use the check_local_disk plug-in with a "free X MBs" instead of "free X%" argument? check_local_disk!300!200!"/dev/sda1" would send a WARNING notification when /dev/sda1 has only 300mb free, and a CRITICAL notification when it reaches 200mb. Could it also be accomplished on Windows machines with NSClient (check_nt_disk) ? check_nt_disk!C!300!200 Thanks in advance, Rainer ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sourceforge at rainer.net Sun Apr 27 00:19:14 2003 From: sourceforge at rainer.net (Rainer) Date: Sat, 26 Apr 2003 19:19:14 -0300 Subject: Custom notification for each service check? In-Reply-To: References: <5.2.1.1.2.20030425231706.00b48030@pop1.mail.com> Message-ID: <5.2.1.1.2.20030426190828.00b69518@localhost> At 01:01 26/4/2003, Subhendu Ghosh wrote: >On Fri, 25 Apr 2003, Rainer wrote: > > > Hello, > > > > How can I send out custom notifications for each service check? (without > > having to create additional/duplicate contacts or services) > > > > Ex.: When check_local_disk_sda1 (custom checkcommand) changes to a > critical > > state (on any of the configured hosts), I want to send the following > > notification to the assigned contactgroups: > > > > "Warning: /dev/sda1 on server $HOSTALIAS is low on disk space" > > > > Thanks in advance, > > Rainer > > > >custom event handler can do that > > >-- > >-sg Hello Subhendu, Thanks for your tip. But if I use event handlers to send custom notifications, there would be some drawbacks: 1) I would be unable to send these notifications to the Nagios contacts. I would have to hand-code all contacts/emails in a bash/perl script, and change the script everytime I add/remove contacts. 2) I would be unable to use timeperiods. 3) I would be unable to use many of the macros I currently use with service/host notifications (such as $CONTACT* and $NOTIFICATIONTYPE$) This could be a suggestion for a future Nagios version... the ability to somehow use service_notification_commands and host_notification_commands with services templates. Rainer ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Aaron.Conaway at HOSystems.com Sun Apr 27 07:16:04 2003 From: Aaron.Conaway at HOSystems.com (Aaron Conaway) Date: Sun, 27 Apr 2003 01:16:04 -0400 Subject: Hub Message-ID: <7D55A9A792CFA24C8918768B5F977A21C63230@quigon.hosystems> Hubs are dumb and can't be pinged. You can put a check_ping service on a host that is attached to the hub and just label it in Nagios as the hub. ---------- Aaron Conaway Network Engineer III Verisign, Inc. -- Telecom Services Division http://www.verisign.com Office: 912.527.4343 Fax: 912.527.4014 -----Original Message----- From: Gert Lindstr?m [mailto:gert.lindstrom at brevik.nu] Sent: Saturday, April 26, 2003 4:19 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Hub Anyone who can tip me how to make Nagis see a hub as "up" ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From securityguy at ikano.com Sun Apr 27 08:09:27 2003 From: securityguy at ikano.com (Robert S. Galloway) Date: Sun, 27 Apr 2003 00:09:27 -0600 Subject: Hub In-Reply-To: <011201c30bcc$6c73ace0$36c8a8c0@dkkm80j> References: <011201c30bcc$6c73ace0$36c8a8c0@dkkm80j> Message-ID: <001e01c30c83$8f14cce0$ddd0d0cd@pendleton> If you are just looking to make it not show up in the Service/Host problems screens, try check_dummy. Otherwise check something attached to the hub. Robert S. Galloway Chief Network Security Engineer IKANO Communications ...the Internet branding company Official Data Networking Services Provider for the Salt Lake Olympic Winter Games of 2002 securityguy at ikano.com 801-415-8089 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Gert Lindstr?m Sent: Saturday, April 26, 2003 2:19 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Hub Anyone who can tip me how to make Nagis see a hub as "up" ? -------------- next part -------------- An HTML attachment was scrubbed... URL: From elgaz at iprimus.com.au Sun Apr 27 15:56:33 2003 From: elgaz at iprimus.com.au (Gary and El Byrnes) Date: Sun, 27 Apr 2003 23:56:33 +1000 Subject: A function Message-ID: <01be01c30cc4$d0a4cb10$0137a8c0@rooter> Hi Everybody I am wondering if there is a way Nagios can display the CPU load of all devices monitored, or for example can send a notification once it reaches a certain level. Thank you very much. Elvira -------------- next part -------------- An HTML attachment was scrubbed... URL: From gcoon at inch.com Mon Apr 28 02:00:56 2003 From: gcoon at inch.com (Gerald) Date: Sun, 27 Apr 2003 20:00:56 -0400 (EDT) Subject: Hub In-Reply-To: <011201c30bcc$6c73ace0$36c8a8c0@dkkm80j> References: <011201c30bcc$6c73ace0$36c8a8c0@dkkm80j> Message-ID: <20030427195849.L41673@kod.inch.com> > Anyone who can tip me how to make Nagis see a hub as "up" ? Use check_snmp for any machine connected to the hub and look at IF-MIB::ifAdminStatus.1 = INTEGER: up(1) IF-MIB::ifAdminStatus.2 = INTEGER: up(1) IF-MIB::ifOperStatus.1 = INTEGER: up(1) IF-MIB::ifOperStatus.2 = INTEGER: up(1) If the link isn't up, then the hub isn't up. This would work best if the nagios machine is plugged into the hub, since he should have a modem on him and could actually notify you of the lack of a connection. Gerald ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sentono at postmaster.co.uk Mon Apr 28 05:09:21 2003 From: sentono at postmaster.co.uk (sentono lovely) Date: Mon, 28 Apr 2003 10:09:21 +0700 Subject: Nagat problem :( Message-ID: Hi guys, anybody have try to compile nagat successfully ?? please help me how to solve my problem ; i have succesfull installing nagat now i can't import because nagat show this mesage : No nagios.cfg data found. $filename) { $fullloc = NAGIOS_ETC.$filename; print << $fullloc HTML; } ?> and No nagios.cfg data found. $filename) { $fullloc = NAGIOS_ETC.$filename; print << $fullloc HTML; } ?> any suggest would be appreciate thanks :) Regards, Sentono On 24 Apr 2003 17:15:01 +0200 , Matthias Eichler wrote: >Hi Jeff, > >my oppinion: in generell NAGAT is worth using it, especially for giving >some input for improvements (which MUST be still made there) to the >developers. >Unfortunately the developer team of NAGAT seems to be a bit...well...let >me say, it seems to me as they hold their winter-sleep...;-) > >In "small" environments (we have just 3 admins here where everybody can >do everything) you can really use it well, but if you look for more >specific user rights you will not find anything in NAGAT! >That's why we will programm this maybe in the next few weeks, months. > >I found no problems with handling a lot of services and hosts, I just >found problems with the GUI, sorting stuff etc... > >Greetings from Munich, > >Matthias > >On Thu, 2003-04-24 at 14:21, Jeff McKeon wrote: >> Hello all, >> >> I've got a pretty good nagios setup running and in production. I now >> need to share it with my network admin and possibly future IT >> employees. I set the server up manually editing the scripts by hand. >> This is fine for me but I really don't want other people using my >> production box to learn the scripts. >> >> So, my question is, is the Nagat web interface worth setting up and >> using? Will it do everything that you can do with manual script >> editing? Can someone add new Hosts and services with it? >> >> thanks, >-- >Matthias Eichler >AME Aigner Media & Entertainment > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ___________________________________________________ Who were the last team to win the FA Cup wearing red and white striped shirts? Find out at postmaster.co.uk http://www.postmaster.co.uk/cgi-bin/meme/quiz.pl?id=247 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carrot at elim.net Mon Apr 28 05:34:32 2003 From: carrot at elim.net (SeonKyu Park) Date: Mon, 28 Apr 2003 12:34:32 +0900 Subject: How to dial-up with netsaint?? Message-ID: <000c01c30d37$1529d010$6f9767d2@icarrot> Hi netsaint users.~~ I have netsaint configured to monitor 30 web servers, I installed a modem on the netsaint machine. I would like to have netsaint dial out if web server is down. Did any of you do that? If yes, do you have a doc somewhere that explains the procedure? Or, are there any plugins for checking accessiabilty to dail-up modems? Thank you for reading this. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bakkerl at lamp.xs4all.nl Mon Apr 28 06:47:09 2003 From: bakkerl at lamp.xs4all.nl (Lennard Bakker) Date: 28 Apr 2003 06:47:09 +0200 Subject: Hub In-Reply-To: <011201c30bcc$6c73ace0$36c8a8c0@dkkm80j> References: <011201c30bcc$6c73ace0$36c8a8c0@dkkm80j> Message-ID: <1051505225.5769.4.camel@peitha> On Sat, 2003-04-26 at 10:18, Gert Lindstr?m wrote: > Anyone who can tip me how to make Nagis see a hub as "up" ? If the hub is not manageble, you can use a check_host_cluster to check a hub. Add all attached machines which are monitored by nagios to the cluster (except for the devices from which nagios check should come in). Warning and Critical level are the same, en should be the count(*) of the attached devices. Now if the "hub" goes down, the cluster check will fail and will give a critical error. If one of the devices still can be reached, the hubb will marked as working. More information about cluster monitoring can be found in the help of nagios. Lennard Bakker ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Mon Apr 28 06:45:41 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 28 Apr 2003 00:45:41 -0400 (EDT) Subject: How to dial-up with netsaint?? In-Reply-To: <000c01c30d37$1529d010$6f9767d2@icarrot> References: <000c01c30d37$1529d010$6f9767d2@icarrot> Message-ID: On Mon, 28 Apr 2003, SeonKyu Park wrote: > Hi netsaint users.~~ > > I have netsaint configured to monitor 30 web servers, > > I installed a modem on the netsaint machine. > > I would like to have netsaint dial out if web server is down. > > Did any of you do that? > > If yes, do you have a doc somewhere that explains the procedure? > > Or, are there any plugins for checking accessiabilty to dail-up modems? > > Thank you for reading this. > > Depends on what you want to do during the dial-up session. If you want to send a page - you need to look at a paging program qpage/sendpage for TAP or gnokii for SMS. Then - modify the notify-by* commands to use the paging program instead of /bin/mail -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Mon Apr 28 06:50:19 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 28 Apr 2003 00:50:19 -0400 (EDT) Subject: Can we monitor each port of L2 and L3 switches ...? In-Reply-To: References: Message-ID: On Sat, 26 Apr 2003, Atul Shrivastava wrote: > Hello All, > > Is there easy way to find out the Activity of each port of L2 & L3 > switch. Right now I think that it possible if the switch has SNMP Service > running but this is a complicated and also effects the efficiency because > we have to query for each port. So can anybody have any idea for this to > happen in a easy way. Suppose somebody has moved the cables coming in the > switches then an alert must be there for this. Any help would be > appreceated. > > Regards, > > Atul Shrivastava > You are looking at two different types on monitoring - activity (assuming traffic) which is data gathering and charting and connector installed / link up/down which are more fault related. For the first - recommendation is to use a RRD based tool which will do the polling for you. - APAN, Cricket, etc (depending on the tool used, you can integrate into Nagios via thresholds and passive alerts) For the second - look at check_ifstatu/check_ifoperstatus plugins that use snmp to monitor link up/down status. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carrot at elim.net Mon Apr 28 07:32:56 2003 From: carrot at elim.net (SeonKyu Park) Date: Mon, 28 Apr 2003 14:32:56 +0900 Subject: How to dial-up with netsaint?? Message-ID: <005f01c30d47$a3068b20$6f9767d2@icarrot> Hi netsaint users.~~ I have netsaint configured to monitor 30 web servers, I installed a modem on the netsaint machine. I would like to have netsaint dial out if web server is down. Did any of you do that? If yes, do you have a doc somewhere that explains the procedure? Or, are there any plugins for checking accessiabilty to dail-up modems? Thank you for reading this. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmacminn at emergency.qld.gov.au Mon Apr 28 08:11:03 2003 From: gmacminn at emergency.qld.gov.au (Gary MacMinn) Date: Mon, 28 Apr 2003 16:11:03 +1000 Subject: Options for Nagios Sending SMS Messages Message-ID: <60780C6B27232849B51929453E0EC01E1E2603@deskpe2k3.des> Hi All, >From an Australian point of view, what options do I have for getting Nagios to report issues to my mobile via SMS? Any thoughts appreciated, Gary MacMinn Network Support Engineer Department of Emergency Services ================================= +61 7 3109 5084 +61 7 3247 8665 (fax) ================================= gmacminn at emergency.qld.gov.au ================================= -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: InterScan_Disclaimer.txt URL: From martinedge at kbs.net.au Mon Apr 28 09:18:39 2003 From: martinedge at kbs.net.au (Martin Edge) Date: Mon, 28 Apr 2003 17:18:39 +1000 Subject: Options for Nagios Sending SMS Messages In-Reply-To: <60780C6B27232849B51929453E0EC01E1E2603@deskpe2k3.des> References: <60780C6B27232849B51929453E0EC01E1E2603@deskpe2k3.des> Message-ID: <00a901c30d56$646c6600$0901a8c0@internal.kbs.net.au> We bought a device called a Phillips Twister GSM Modem.. Bit of perl, and I was talking fine.. Got a logic script (below) that talks to an object (SMS.pm) I wrote that uses CU and Expect.. (the object is attached) Might give you a good starting point, not the best code, but it works :) Input: ./send.pl "You have received a message!" "+61439367205" Martin ---------- ------------------------- #!/usr/bin/perl BEGIN { push(@INC, "/usr/local/web/monitor.kbs.net.au/sendsms/"); } use SMS; sub main { my $sms = new SMS; my $message = $ARGV[0]; my $number = $ARGV[1]; # track the message for fun open(FILE, ">>/tmp/pager.tmp"); print FILE localtime(time()).": $number - $message\n"; close(FILE); # Connect if ($sms->ExpectConnect()) { if ($sms->sendSMS($message, $number)) { print "Send Successfully\n"; } else { print "Failed sending :( \n"; } } else { print "Couldn't connect to serial device!\n"; } } main(); ---------- ------------------------------- -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- admin at lists.sourceforge.net] On Behalf Of Gary MacMinn Sent: Monday, 28 April 2003 4:11 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Options for Nagios Sending SMS Messages Hi All, >From an Australian point of view, what options do I have for getting >Nagios to report issues to my mobile via SMS? Any thoughts appreciated, Gary MacMinn Network Support Engineer Department of Emergency Services ================================= +61 7 3109 5084 +61 7 3247 8665 (fax) ================================= gmacminn at emergency.qld.gov.au ================================= -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: SMS.pm.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: SMS.pm.txt URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Mon Apr 28 09:21:18 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 28 Apr 2003 17:21:18 +1000 Subject: Options for Nagios Sending SMS Messages In-Reply-To: <60780C6B27232849B51929453E0EC01E1E2603@deskpe2k3.des>; from gmacminn@emergency.qld.gov.au on Mon, Apr 28, 2003 at 04:11:03PM +1000 References: <60780C6B27232849B51929453E0EC01E1E2603@deskpe2k3.des> Message-ID: <20030428172114.C86795@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Mon, Apr 28, 2003 at 04:11:03PM +1000, Gary MacMinn wrote: > Hi All, > > >From an Australian point of view, what options do I have for getting Nagios to report issues to my mobile via SMS? > you have at least two categories of options, and quite a lot of choice within each. I will only comment on those I have used; free web based SMS gateways are another option. 1 Telco Provider SMS service. This is a PSTN (ie POTS) interface to a CLI with a limited command repetoire - something like . enter the destination number in international format (ie replace leading 0 by country code so 0414 582 665 becomes 61414 582 665) . enter the message (less than 100 or 120 charcaters) . provider disconnects your call and sends the SMS The advantages of this are . no need for special hardware . works Ok . lots of proven client software to do the interaction with the provider eg SMSClient . Most importantly, some of this client software provides an email interface so that SMSs are queued and don't hang Nag while sending; are retried on failures etc. This is very important if you have a catastophic failure: instead of Nag blocking on a 100 SMS deliveries if your data centre implodes, you have a 100 SMSs in /var/spool/mqueue that you can simply delete ... Disadvantages . Some time ago, inter provider SMS was _not_ supported eg if the destination phone is not one of the providers, SMS is routed to /dev/null (without an error) . slow, almost certainly slower than category 2 (since you first POTS to the provider and they store and forward your SMS when they feel like it) . subject to provider vagaries eg Voda outsourced their SMS business; it was down for _weeks_ some time ago. That is why my employer switched to 2 Provider independent SMS - ie You acquire an SMS modem (eg WaveCom WM 02) and suitable software (eg SMSlink) that provides a facsimile (I don't know how it really works) of sending direct to the destination mobile. Advantages . independent of provider of destination mobile - send to Telstra, Optus, Voda handsets etc . scalable (but this is a client function) SMSlink will drive _any_ number of GSM modems . quite cheap (SMSLink is freely provided, and supported by the author [see FreshMeat etc]; GSM modems are $A200-300 . works provided your modem/modem bank has one usable modem . SMSLink can be fitted with an email front-end. Disadvantages . modem purchase (not modems available from local Aust distributor) . more extensive set-up (although going cold on SMSClient is about the same) . no slower than method 1, but not a screamer > Any thoughts appreciated, > > Gary MacMinn > Network Support Engineer > Department of Emergency Services > ================================= > +61 7 3109 5084 > +61 7 3247 8665 (fax) > ================================= > gmacminn at emergency.qld.gov.au > ================================= > This correspondence is for the named persons only. It may contain confidential or privileged information or both. No confidentiality or privilege is waived or lost by any mis transmission. If you receive this correspondence in error please delete it from your system immediately and notify the sender. You must not disclose, copy or relay on any part of this correspondence, if you are not the intended recipient. Any opinions expressed in this message are those of the individual sender except where the sender expressly, and with the authority, states them to be the opinions of the Department of Emergency Services, Queensland. What ever you do, make sure it has an email interface. In practise this means a CLI client that you can have invoked by your MTA to handle the message eg here a letter addressed 61414582.pager gets routed to a wrapper that invokes the CLI client (smsclient here) with the body of the letter and the arguments necessary to send it. >From the Nag point of view, notify by epage is simply your email client (/usr/bin/mail or whatever) with the SMS addresses. 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Mon Apr 28 09:25:07 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Mon, 28 Apr 2003 19:25:07 +1200 Subject: Options for Nagios Sending SMS Messages In-Reply-To: <60780C6B27232849B51929453E0EC01E1E2603@deskpe2k3.des> References: <60780C6B27232849B51929453E0EC01E1E2603@deskpe2k3.des> Message-ID: <200304280724.h3S7O2P13783@spectre.freeparking.co.nz> >From an NZ point of view: I'm guessing that you've got multiple cellular service providers. The challenge is then making sure the recepient cellphones are on the networks you're planning to connect to. This means you need to have a carrier agnostic approach. We use SonicMobile. Countries are unimportant to them. I just throw my mail at them and they sort the rest out. If your carriers are using GSM then things are better because interconnection points can be any GSM network (globally). I'm not sure if the CDMA networks have the same level of global roaming. This global-ness is good because interconnect is competitive (you actually have a choice). http://www.sonicmobile.com/ The other approach I've contemplating is jamming txt messages up a locally connected cellphone, but frankly I've got other things to worry about. The usual challenge is making the transfer delay through the cellular network faster than through a paging network. If you're in the City where the cellsites are loaded with Generation Txt'ers, then delay might be a problem. For some reason GSM seems to prioritise radio interface sourced txt vs data interconnect sourced txt.... Which is a factor in my thinking about jamming it up a locally connected cellphone. jamie On Mon, 28 Apr 2003 18:11, Gary MacMinn wrote: > Hi All, > > From an Australian point of view, what options do I have for getting Nagios > to report issues to my mobile via SMS? > > Any thoughts appreciated, > > Gary MacMinn > Network Support Engineer > Department of Emergency Services > ================================= > +61 7 3109 5084 > +61 7 3247 8665 (fax) > ================================= > gmacminn at emergency.qld.gov.au > ================================= ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stefan.Schindewolf at Infraserv.com Mon Apr 28 09:27:02 2003 From: Stefan.Schindewolf at Infraserv.com (Schindewolf, Stefan, Infraserv-Hoechst/DE) Date: Mon, 28 Apr 2003 09:27:02 +0200 Subject: SSH Performance Problem AKA "unknown" state Message-ID: <2B6CA561B67B72418738D8F3D7853DA3010DA151@20-exchange-1.infraserv.com> Hello. Some people on the list (including me) had problems using ssh or check_by_ssh instead of NRPE. The disadvantage of NRPE is, that you would have to compile it and role it out to every client. Additionaly, until release 2.0 it could not use encryption. As we have already established public key authentification over the whole site, it is far more easy to just execute the checks over ssh. The problem that occured, was that about 20 -25 checks of our 200 went into status "unknown", although they should display "OK" or "Warning", etc.. . The first thing we tried was writing a perl script, "wrapping" the ssh checks. We assumed, that the problem was with nagios itself. We also tried tuning nagios parameters (reaper frequency, e.g.). All these steps did not lead to success and we accepted the fact, that ssh is a hell of a bad check executor. Until my colleague wrote this shell script. **************************************************************************** ***************************************** #!/bin/bash /usr/local/nagios/libexec/check_by_ssh -t 3000 -H 10.200.3.25 -C "plz insert check here" > /tmp/out$1 cat /tmp/out$1 stati=`grep warning /tmp/out$1|wc -l` if [ $stati -eq 1 ] then exit 1 fi stati=`grep critical /tmp/out$1|wc -l` if [ $stati -eq 1 ] then exit 2 fi exit 0 **************************************************************************** ***************************************** What it does is, grepping the text message from the service check (e.g. "Warning: No TNS Listener on Host XXX") and creating the correct exit code. The return code from ssh is totally ignored. Obviously, this won?t work if your check program returns a message without an error string in it (e.g. "No TNS Listener on Host XXX". The problem seems to be with openssh, which, when executed by nagios, returns strange states and otherwise (in a shell as user nagios) returns a "correct" state. Since we implemented this script, we received none of the strange "unknown" states. The few checks we have not migrated yet, sometimes return "unknown". They will also be migrated soon. We tested this solution over several days, so this should be a quit reliable one. We hope that it will help you work around your problems. With best regards Stefan Schindewolf Infraserv GmbH & Co H?chst KG Service Center Informationstechnologie D710, D-65926 Frankfurt Telefon: (069)305 - 43870 Fax: (069)305 - 23549 Mail: stefan.schindewolf at infraserv.com > Mit freundlichen Gr??en > > Stefan Schindewolf > > Infraserv GmbH & Co H?chst KG > Service Center Informationstechnologie > D710, D-65926 Frankfurt > Telefon: (069)305 - 43870 > Fax: (069)305 - 23549 > Mail: stefan.schindewolf at infraserv.com > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.soderlund at itsalive.com Mon Apr 28 09:50:27 2003 From: tom.soderlund at itsalive.com (=?iso-8859-1?Q?Tom_S=F6derlund?=) Date: Mon, 28 Apr 2003 09:50:27 +0200 Subject: Nagios support / looking for Swedish Nagios-consultants Message-ID: <6F41E308EAEF224CA2FEDD00D6B6B07D4DFB22@test01.itsalive.com> Hi, I'm representing a small games studio based in Stockholm that uses Nagios to monitor our MMORPG game sites. Currently, we have problems with Nagios, mainly two issues: - Large fractions of the uptime is being reported as "undetermined" although no breakdowns has occured. - We have problems with letting Nagios send SMS's on events. Please contact me if you feel you can help us. Tom S?derlund | Game Producer +46-70-751 7255 | tom.soderlund at itsalive.com | www.itsalive.com It's Alive - the provider of pervasive games. Redefining reality. Play BotFighters: with Vodafone Ireland: http://www.vodafone.ie/botfighters/ with Telia Mobile: http://www.teliamobile.se/botfighters/ with Sonic Duo Russia: http://www.botfighters.ru -------------- next part -------------- An HTML attachment was scrubbed... URL: From atulsh at hclinsys.com Mon Apr 28 11:55:48 2003 From: atulsh at hclinsys.com (Atul Shrivastava) Date: Mon, 28 Apr 2003 15:25:48 +0530 (IST) Subject: Options for Nagios Sending SMS Messages In-Reply-To: <200304280724.h3S7O2P13783@spectre.freeparking.co.nz> References: <200304280724.h3S7O2P13783@spectre.freeparking.co.nz> Message-ID: Hello All, Can you tell me the if I need to send SMS in India Regards, Atul India On Mon, 28 Apr 2003, Jamie Baddeley wrote: > >From an NZ point of view: > > I'm guessing that you've got multiple cellular service providers. The > challenge is then making sure the recepient cellphones are on the networks > you're planning to connect to. This means you need to have a carrier agnostic > approach. > > We use SonicMobile. Countries are unimportant to them. I just throw my mail > at them and they sort the rest out. > > If your carriers are using GSM then things are better because interconnection > points can be any GSM network (globally). I'm not sure if the CDMA networks > have the same level of global roaming. This global-ness is good because > interconnect is competitive (you actually have a choice). > > http://www.sonicmobile.com/ > > The other approach I've contemplating is jamming txt messages up a locally > connected cellphone, but frankly I've got other things to worry about. > > The usual challenge is making the transfer delay through the cellular network > faster than through a paging network. If you're in the City where the > cellsites are loaded with Generation Txt'ers, then delay might be a problem. > For some reason GSM seems to prioritise radio interface sourced txt vs data > interconnect sourced txt.... Which is a factor in my thinking about jamming > it up a locally connected cellphone. > > jamie > > > > On Mon, 28 Apr 2003 18:11, Gary MacMinn wrote: > > Hi All, > > > > From an Australian point of view, what options do I have for getting Nagios > > to report issues to my mobile via SMS? > > > > Any thoughts appreciated, > > > > Gary MacMinn > > Network Support Engineer > > Department of Emergency Services > > ================================= > > +61 7 3109 5084 > > +61 7 3247 8665 (fax) > > ================================= > > gmacminn at emergency.qld.gov.au > > ================================= > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Regards and have a nice day, Atul Shrivastava Info Structure Services HCL INFOSYSTEMS LTD. E - 4,5,6 Sector XI, Noida - 201301 Tel: 91-120-2526910,2443013 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Raj.Mudhar at nottingham.ac.uk Mon Apr 28 12:14:06 2003 From: Raj.Mudhar at nottingham.ac.uk (Raj Mudhar) Date: Mon, 28 Apr 2003 11:14:06 +0100 Subject: Apache viewing problem Message-ID: Hi, A few questions to ask.. I have followed th nagios book with default directories. Using RH8 Now I entered the Alias in the alias bit as shown in the documentation and the Scriptalias in the Scriptalias section as shown in the book. I added them both directly under the commented headings. Now do i need to use quotes or not. ie ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin/ or should it be ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin/" Furthermore when i try to start the apache server it says: httpd could not determine the servers fully qualified domain name, using 127.0.0.1 for Servername. Anyway i point my browser at http://127.0.0.1/nagios/ and i get forbidden access! My actual ip is 128.243.101.47. What the hell is going on? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kalita_nayan at rediffmail.com Mon Apr 28 12:28:56 2003 From: kalita_nayan at rediffmail.com (nayan moni kalita) Date: 28 Apr 2003 10:28:56 -0000 Subject: Service did not exit properly Message-ID: <20030428102856.4207.qmail@webmail32.rediffmail.com> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From Raj.Mudhar at nottingham.ac.uk Mon Apr 28 12:38:02 2003 From: Raj.Mudhar at nottingham.ac.uk (Raj Mudhar) Date: Mon, 28 Apr 2003 11:38:02 +0100 Subject: Apace problem 2 Message-ID: Hi i got rid of the 127.0.0.1 local host thing in the network settings and added my own ip an hostname. Anyway im typing http://128.243.101.47/nagios/cgi-bin/ and im now getting something a bit more hopeful and it says OBJECT NOT FOUND! The requested URL Was not found on this server check ur spelling try again. Error 404 128.243.101.47 (my ip this) thats the page it gives. what going on any ideas ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjmarler at hotmail.com Mon Apr 28 13:00:05 2003 From: bjmarler at hotmail.com (brett--) Date: 28 Apr 2003 11:00:05 -0000 Subject: Getting images to work.... Message-ID: <20030428110005.15564.qmail@pod-163.dolphin-server.co.uk> I've read through some old posts regarding getting images to work for the "hostextinfo" section, however images are never displayed. I believe I have the syntax correct. I have : -- mrtg% grep -i physical_html cgi.cfg physical_html_path=/usr/local/nagios/share mrtg% grep -i hostextinfo cgi.cfg hostextinfo[multia]=;redhat.gif;redhat.jpg;redhat.gd2;Redhat 5.1;;; hostextinfo[pc-linux]=;redhat.gif;redhat.jpg;redhat.gd2;Redh at 7.2;;; hostextinfo[mrtg]=;redhat.gif;redhat.jpg;redhat.gd2;Redhat 7.3;;; hostextinfo[asroma]=;win40.gif;win40.jpg;win40.gd2;Windows XP;;; -- In /usr/local/nagios/share I have the corresponding images outlined above, yet, images are never displayed when I go to "Status Map" section. I also receive no errors in /var/log/httpd/error_log regarding images not able to be loaded. I'd also like to know how to display images in "service Detail" as the demo.square-box.com site has. Any hints/tips appreciated. Thanks very much for any assistance. Brett. Melbourne, Australia. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jan.johansson at nwl.se Mon Apr 28 13:05:16 2003 From: jan.johansson at nwl.se (Jan Johansson) Date: Mon, 28 Apr 2003 13:05:16 +0200 Subject: No logging / trends / nothing works. Message-ID: <013a01c30d76$0c5847c0$cfdda8c0@nwl.se> Evcery host is "undetermined" or "unknown" when looking in the web interface. When looking in the log archives, nothing is logged except log rotations. Saturday I had a service fail, and got all the mail notifications of that. But when looking at the service I see the below. Why isn't anything really logged? 04-21-2003 13:01:42 to 04-28-2003 13:01:42 Duration: 7d 0h 0m 0s Service State Breakdowns: State Type / Reason Time % Total Time % Known Time OK Unscheduled 0d 0h 0m 0s 0.000% 0.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 0d 0h 0m 0s 0.000% 0.000% WARNING Unscheduled 0d 0h 0m 0s 0.000% 0.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 0d 0h 0m 0s 0.000% 0.000% UNKNOWN Unscheduled 0d 0h 0m 0s 0.000% 0.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 0d 0h 0m 0s 0.000% 0.000% CRITICAL Unscheduled 0d 0h 0m 0s 0.000% 0.000% Scheduled 0d 0h 0m 0s 0.000% 0.000% Total 0d 0h 0m 0s 0.000% 0.000% Undetermined Nagios Not Running 0d 0h 0m 0s 0.000% Insufficient Data 7d 0h 0m 0s 100.000% Total 7d 0h 0m 0s 100.000% All Total 7d 0h 0m 0s 100.000% 100.000% Service Log Entries: [ View full log entries ] And yet I got ***** Nagios 1.0 ***** Notification Type: PROBLEM Service: SMTP Host: smtp.server Address: smtp.nwl.se State: CRITICAL Date/Time: Sat Apr 26 12:18:40 CEST 2003 Additional Info: Socket timeout after 10 seconds And ***** Nagios 1.0 ***** Notification Type: RECOVERY Service: SMTP Host: smtp.server Address: smtp.nwl.se State: OK Date/Time: Sat Apr 26 12:45:30 CEST 2003 Additional Info: SMTP OK - 0 second response time ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atulsh at hclinsys.com Mon Apr 28 13:34:34 2003 From: atulsh at hclinsys.com (Atul Shrivastava) Date: Mon, 28 Apr 2003 17:04:34 +0530 (IST) Subject: APAN (Bandwidth Mapping) In-Reply-To: <013a01c30d76$0c5847c0$cfdda8c0@nwl.se> References: <013a01c30d76$0c5847c0$cfdda8c0@nwl.se> Message-ID: Hello All, I have a problem regarding the APAN (Bandwidth Mapping) Uptill last hour the mapping is exact. Then it starts mapping the average values and it rises from Kbps to Mbps. I don't know what is the avaraging criteria. Can anyone tell me the averaging criteria. Also can we get the one year data with a average of 1 hour (is it possible in RRD) Regards and have a nice day, Atul Shrivastava Info Structure Services HCL INFOSYSTEMS LTD. E - 4,5,6 Sector XI, Noida - 201301 Tel: 91-120-2526910,2443013 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gary at hayers.org Mon Apr 28 13:43:20 2003 From: gary at hayers.org (Gary Hayers) Date: Mon, 28 Apr 2003 12:43:20 +0100 Subject: Getting images to work.... In-Reply-To: <20030428110005.15564.qmail@pod-163.dolphin-server.co.uk> References: <20030428110005.15564.qmail@pod-163.dolphin-server.co.uk> Message-ID: <000001c30d7b$6129be50$0300a8c0@hayers.org> I'm also trying to get this to work on redhat 7.3 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of brett-- Sent: 28 April 2003 12:00 To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Getting images to work.... I've read through some old posts regarding getting images to work for the "hostextinfo" section, however images are never displayed. I believe I have the syntax correct. I have : -- mrtg% grep -i physical_html cgi.cfg physical_html_path=/usr/local/nagios/share mrtg% grep -i hostextinfo cgi.cfg hostextinfo[multia]=;redhat.gif;redhat.jpg;redhat.gd2;Redhat 5.1;;; hostextinfo[pc-linux]=;redhat.gif;redhat.jpg;redhat.gd2;Redh at 7.2;;; hostextinfo[mrtg]=;redhat.gif;redhat.jpg;redhat.gd2;Redhat 7.3;;; hostextinfo[asroma]=;win40.gif;win40.jpg;win40.gd2;Windows XP;;; -- In /usr/local/nagios/share I have the corresponding images outlined above, yet, images are never displayed when I go to "Status Map" section. I also receive no errors in /var/log/httpd/error_log regarding images not able to be loaded. I'd also like to know how to display images in "service Detail" as the demo.square-box.com site has. Any hints/tips appreciated. Thanks very much for any assistance. Brett. Melbourne, Australia. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From casperez at cesga.es Mon Apr 28 14:03:04 2003 From: casperez at cesga.es (casperez at cesga.es) Date: Mon, 28 Apr 2003 14:03:04 +0200 (CEST) Subject: Change the state of a host Message-ID: <61647.193.144.34.186.1051531384.squirrel@webmail.cesga.es> Hellos, I want to change the state of a host. Is it possible? and How can i do it? Thank you ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Kurzer at c-bs.de Mon Apr 28 14:07:41 2003 From: Kurzer at c-bs.de (Matthias Kurzer) Date: Mon, 28 Apr 2003 14:07:41 +0200 Subject: many nagios-threads and pending services In-Reply-To: <3EAA7FDF.2170.66B4989F@localhost> References: <3EAA7FDF.2170.66B4989F@localhost> Message-ID: <3EAD198D.3090101@c-bs.de> Remus Lazar wrote: > After I do start nagios, there are after a while many nagios-threads running > (about 400 after some hours). The problem is, that there are many services not > being checked - there are scheduled, but not checked. After the start, 20 > minutes later there are about 28 services "pending", but with the scheduled time > in the past. Reduce service_reaper_frequency=10 to service_reaper_frequency=1 works for me. -- Matthias Kurzer/IT Systemadministrator c: Channel Business Service GmbH Tel.: +49 40 76629-1966 Mail: kurzer at c-bs.de ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Mon Apr 28 14:06:19 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 28 Apr 2003 08:06:19 -0400 (EDT) Subject: How to dial-up with netsaint?? In-Reply-To: <017101c30d69$f5b5b7c0$6f9767d2@icarrot> References: <017101c30d69$f5b5b7c0$6f9767d2@icarrot> Message-ID: TAP is protocol used to transmit paging information from a source to the pager provider. If you want a voice read out - nothing exists at the moment, bu tyou can take a look at "festival" speech synthesis software and decide whether you want to build your own. -sg On Mon, 28 Apr 2003, SeonKyu Park wrote: > Hello dear sir > > What is the TAP? > > I visited www.qpage.org . > > I want hearing by telephone that server down message when web server is down. > > Is it possible things? > > ----- Original Message ----- > From: "Subhendu Ghosh" > To: > Sent: Monday, April 28, 2003 1:45 PM > Subject: Re: [Nagios-users] How to dial-up with netsaint?? > > > > On Mon, 28 Apr 2003, SeonKyu Park wrote: > > > > > Hi netsaint users.~~ > > > > > > I have netsaint configured to monitor 30 web servers, > > > > > > I installed a modem on the netsaint machine. > > > > > > I would like to have netsaint dial out if web server is down. > > > > > > Did any of you do that? > > > > > > If yes, do you have a doc somewhere that explains the procedure? > > > > > > Or, are there any plugins for checking accessiabilty to dail-up modems? > > > > > > Thank you for reading this. > > > > > > > > > > Depends on what you want to do during the dial-up session. > > > > If you want to send a page - you need to look at a paging program > > qpage/sendpage for TAP or gnokii for SMS. > > > > Then - modify the notify-by* commands to use the paging program instead of > > /bin/mail > > > > -- > > > > -sg > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From testrm at kisters.com Mon Apr 28 14:52:45 2003 From: testrm at kisters.com (Ralf Mellis) Date: Mon, 28 Apr 2003 14:52:45 +0200 Subject: parent_hosts option for remote hosts is not recognised Message-ID: <3EAD241D.9030608@kisters.com> Hello, I'm using nagios 1.0 o a linux host with the nagios 1.3 plugins. I have setup several hosts with several services, so far all works fine. Now the problem: If I try to use the option "parent_hosts" in a host definition, the check of the configuration files via "nagios -v nagios.cfg" gives the error message: Error: Could not add object property in file '/var/nagios/etc/hosts.cfg' on line 145. This line is exactly the line where the "parent_hosts" option lives. I have read the doc at all, but I'm not sure whether I have understand the two features explicit "hostdependencies" vs implicit "hostparenting". Is the latter no longer supported and do I have to implement the dependencies with definitions of "define hostdependency" statements? I have done this now... I have exspected that these definitions have effects on the status map, but there are no ones. All hosts are further on connected directly to the nagios server, no tree diagramm with dedicated routers and so... Bye -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 icnet.com.ve Mon Apr 28 15:01:20 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Mon, 28 Apr 2003 09:01:20 -0400 Subject: Check cpu and memory Message-ID: <5.1.0.14.0.20030428085947.00b54c38@pop.icnet.com.ve> Hi, I want to monitor the CPU and memory use of my Window 2000 server, but I don?t know how to do it? Thanks Jeyri ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Mon Apr 28 15:14:30 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Mon, 28 Apr 2003 08:14:30 -0500 Subject: Check cpu and memory Message-ID: <7F76AA41FC7DD5119B1E00508BAF0444030B47A5@gsmail.govst.edu> Check out nsclient at http://nsclient.ready2run.nl Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: Jeyri Bautista [mailto:jbautista at icnet.com.ve] Sent: Monday, April 28, 2003 8:01 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check cpu and memory Hi, I want to monitor the CPU and memory use of my Window 2000 server, but I don?t know how to do it? Thanks Jeyri ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Mon Apr 28 15:47:28 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Mon, 28 Apr 2003 15:47:28 +0200 Subject: parent_hosts option for remote hosts is not recognised In-Reply-To: <3EAD241D.9030608@kisters.com> References: <3EAD241D.9030608@kisters.com> Message-ID: <3EAD30F0.6030604@dhl.com> http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host parents: This directive is used to define a comma-delimited list of short names of the "parent" hosts for this particular host. Parent hosts are typically routers, switches, firewalls, etc. that lie between the monitoring host and a remote hosts. A router, switch, etc. which is closest to the remote host is considered to be that host's "parent". Read the "Determining Status and Reachability of Network Hosts" document located here for more information. If this host is on the same network segment as the host doing the monitoring (without any intermediate routers, etc.) the host is considered to be on the local network and will not have a parent host. Leave this value blank if the host does not have a parent host (i.e. it is on the same segment as the Nagios host). The order in which you specify parent hosts has no effect on how things are monitored. Ralf Mellis wrote: > Hello, > > I'm using nagios 1.0 o a linux host with the nagios 1.3 plugins. > I have setup several hosts with several services, so far all works fine. > Now the problem: If I try to use the option "parent_hosts" in a host > definition, the check of the configuration files via "nagios -v > nagios.cfg" gives the error message: > Error: Could not add object property in file '/var/nagios/etc/hosts.cfg' > on line 145. > This line is exactly the line where the "parent_hosts" option lives. > > I have read the doc at all, but I'm not sure whether I have understand > the two features explicit "hostdependencies" vs implicit "hostparenting". > > Is the latter no longer supported and do I have to implement the > dependencies with definitions of "define hostdependency" statements? > > I have done this now... > I have exspected that these definitions have effects on the status map, > but there are no ones. All hosts are further on connected directly to > the nagios server, no tree diagramm with dedicated routers and so... > > Bye > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Mon Apr 28 15:37:57 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Mon, 28 Apr 2003 15:37:57 +0200 Subject: APAN (Bandwidth Mapping) References: Message-ID: <3EAD2EB5.90309@datavis.se> If you have followed the examples when you created the RRD-file then you should have two RRA's; One that stores minute-averages in 35 days (RRA:AVERAGE:0.5:1:50400) and one that stores hour-averages in 5 years (RRA:AVERAGE:0.5:60:43800) /FredrikW Atul Shrivastava wrote: >Hello All, > >I have a problem regarding the APAN (Bandwidth Mapping) >Uptill last hour the mapping is exact. Then it starts mapping the average >values and it rises from Kbps to Mbps. I don't know what is the avaraging >criteria. Can anyone tell me the averaging criteria. Also can we get the >one year data with a average of 1 hour (is it possible in RRD) > >Regards and have a nice day, > Atul Shrivastava > Info Structure Services > HCL INFOSYSTEMS LTD. > E - 4,5,6 Sector XI, > Noida - 201301 > Tel: 91-120-2526910,2443013 > > > > > > > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Mon Apr 28 15:37:18 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Mon, 28 Apr 2003 08:37:18 -0500 Subject: Mysql Support Message-ID: <352B04312822444A962714393AED8A4D026845@ADAEVS01.int.chickasaw.net> Hello list, Ok, I have installed and ran Nagios with the db support (MySQL) for a while now, and it seems to work ok. I do have trouble with the extended info (I compiled in support for everything). I'm debating whether or not to keep the DB support, I like the db support but I would like to here pros, cons, praises, and complaints from others on the issue. I would also like to know ow to use the extended info portion. On the extended info part. I have a text config file for it, but the db doesn't load it, so I actually went in and made a record by hand, but it still doesn't show up within nagios. So in short, has anyone used this and got it working and if so, How? Thanks!! Jeremy Russell Network Administrator CNI 580-272-2707 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Mon Apr 28 15:51:01 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Mon, 28 Apr 2003 15:51:01 +0200 Subject: Check cpu and memory In-Reply-To: <5.1.0.14.0.20030428085947.00b54c38@pop.icnet.com.ve> References: <5.1.0.14.0.20030428085947.00b54c38@pop.icnet.com.ve> Message-ID: <3EAD31C5.8030802@dhl.com> http://www.nagios.org/faqs/viewfaq.php?faq_id=32 Jeyri Bautista wrote: > Hi, > > I want to monitor the CPU and memory use of my Window 2000 server, but I > don?t know how to do it? > > Thanks > > Jeyri > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From casperez at cesga.es Mon Apr 28 15:53:34 2003 From: casperez at cesga.es (casperez at cesga.es) Date: Mon, 28 Apr 2003 15:53:34 +0200 (CEST) Subject: Change the state of a host Message-ID: <35829.193.144.34.186.1051538014.squirrel@webmail.cesga.es> Hello, I want to change the state of a host. Is it possible? and how can i do it? Thank you ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Michael.Huettig at Medien-Systempartner.de Mon Apr 28 16:02:58 2003 From: Michael.Huettig at Medien-Systempartner.de (Michael =?iso-8859-15?q?H=FCttig?=) Date: Mon, 28 Apr 2003 16:02:58 +0200 Subject: Notification BUG nagios 1.0 In-Reply-To: <200304251401.26089.Michael.Huettig@Medien-Systempartner.de> References: <2E3E9736615DD311895D00105A9CADED014BCBF2@eentsvr40.ehvert.com> <200304251401.26089.Michael.Huettig@Medien-Systempartner.de> Message-ID: <200304281602.58531.Michael.Huettig@Medien-Systempartner.de> Hi all, i've changed contacts in hostgroups.cfg and now i'm not receiving the notifications, which i thought, there could be a BUG in nagios Notifications. Thanks for your patience... -- Michael Am Freitag, 25. April 2003 14:01 schrieb Michael H?ttig: > Am Donnerstag, 24. April 2003 18:38 schrieb Dean Bishop: > > Actually notification for hosts is set in the hostgroups.cfg file. > > Yes, i know, > and i've configured the Novell-Server NWZ_1 to the group novell but also i > have defined three other global groups, which collect all the machines of > the companies, which we are monitoring. > > THANKS, Thanks for your tip. > Sometimes i couldn't see the forest, because there a lot of trees in front > of me ;-) ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From testrm at kisters.com Mon Apr 28 16:05:20 2003 From: testrm at kisters.com (Ralf Mellis) Date: Mon, 28 Apr 2003 16:05:20 +0200 Subject: parent_hosts option for remote hosts is not recognised In-Reply-To: <3EAD30F0.6030604@dhl.com> References: <3EAD241D.9030608@kisters.com> <3EAD30F0.6030604@dhl.com> Message-ID: <3EAD3520.70405@kisters.com> Tom DE BLENDE wrote: > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host > > parents: This directive is used to define a comma-delimited list of > short names of the "parent" hosts for this particular host. Parent hosts > are typically routers, switches, firewalls, etc. that lie between the > monitoring host and a remote hosts. A router, switch, etc. which is > closest to the remote host is considered to be that host's "parent". > Read the "Determining Status and Reachability of Network Hosts" document > located here for more information. If this host is on the same network > segment as the host doing the monitoring (without any intermediate > routers, etc.) the host is considered to be on the local network and > will not have a parent host. Leave this value blank if the host does not > have a parent host (i.e. it is on the same segment as the Nagios host). > The order in which you specify parent hosts has no effect on how things > are monitored. > > Hups, is there a typo in the pdf doc? I have read the chapter "Determining Status and Reachability..." in the pdf doc V 1.0 from 08-28-2002... And there, in the paragraph "Remote Hosts" is the line: "The option in the host definition..." So I used this option name and not "parents". After using "parents" all works fine. Thanks. -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Mon Apr 28 15:56:28 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Mon, 28 Apr 2003 09:56:28 -0400 Subject: Check cpu and memory Message-ID: <2E3E9736615DD311895D00105A9CADED014BCC06@eentsvr40.ehvert.com> There are two approaches. One is nsclient, which you can find a link for on the Nagios downloads page and the other is SNMP. Both have advantages and disadvantages. Quick and dirty list of pros and cons: Nsclient is dead simple. Easy to install on servers and fairly easy to configure on Nagios. Downside is that you are adding software to a server and there are some "glitches" with nsclient. These glitches are mainly cosmetic and some require a bit of extra finagling to get around (i.e. sometimes it doesn't win the battle for it's port and another service takes it during boot. This means a reboot again to reclaim to port-hopefully). SNMP is also quite simple but you have to get your head into OID's. Some consider SNMP insecure and it can be if not implemented properly. Done right it is reasonably secure (ok, secure might be a strong word) and gives you access to all sorts of wonderful metrics otherwise not available. My 2 cents, keep the change. dean -----Original Message----- From: Jeyri Bautista [mailto:jbautista at icnet.com.ve] Sent: April 28, 2003 9:01 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check cpu and memory Hi, I want to monitor the CPU and memory use of my Window 2000 server, but I don?t know how to do it? Thanks Jeyri ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gblanco69 at yahoo.com.ar Mon Apr 28 16:10:46 2003 From: gblanco69 at yahoo.com.ar (Gustavo Blanco) Date: Mon, 28 Apr 2003 11:10:46 -0300 Subject: Graphing Network Layout Message-ID: <000b01c30d8f$f6ca66d0$220214ac@ips.com.ar> Hi, I'm trying to get my nagios to represent the layout of my network without success. I'm running the alerts and monitoring features without problem, but cannot get the Graphical layout. Any help will be appreciated. Thanks Gustavo Blanco -------------- next part -------------- An HTML attachment was scrubbed... URL: From ianf at Oceanwide.com Mon Apr 28 16:13:07 2003 From: ianf at Oceanwide.com (Ian Farr) Date: Mon, 28 Apr 2003 10:13:07 -0400 Subject: Apache viewing problem Message-ID: I am using the same config - and this is what I have in my httpd.conf file: ScriptAlias /nagios/cgi-bin/ "/d0/nagios/sbin/" AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios "/d0/nagios/share" Options None AllowOverride AuthConfig Order allow,deny Allow from all for the answer to this question: >Furthermore when i try to start the apache server it says: httpd could not determine the servers fully >qualified domain name, using 127.0.0.1 for Servername. This is usually a problem with the server not being able to resolve it's name - it can usually be solved by making sure that there are dns servers in the /etc/resolv.conf, or by placing the servers name (found in the /etc/sysconfig/network file) in the /etc/hosts file. Play around with the name resolution settings in the resolv.conf and hosts file - restarting httpd server (/etc/rc.d/init.d/httpd restart) and eventually you will be able to start it - I had the same problems with the default install of redhat 8 - and that is how I got the web services up and running - NOTE: I had more luck with the resolv.conf file and making sure that there were valid DNS servers etc.. Hope this helps.. ____________________ Ian Farr Director of Network Infrastructure Oceanwide.com 514-289-9090 ext 234 -----Original Message----- From: Raj Mudhar [mailto:Raj.Mudhar at nottingham.ac.uk] Sent: Monday, April 28, 2003 6:14 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Apache viewing problem Hi, A few questions to ask.. I have followed th nagios book with default directories. Using RH8 Now I entered the Alias in the alias bit as shown in the documentation and the Scriptalias in the Scriptalias section as shown in the book. I added them both directly under the commented headings. Now do i need to use quotes or not. ie ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin/ or should it be ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin/" Furthermore when i try to start the apache server it says: httpd could not determine the servers fully qualified domain name, using 127.0.0.1 for Servername. Anyway i point my browser at http://127.0.0.1/nagios/ and i get forbidden access! My actual ip is 128.243.101.47. What the hell is going on? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 mpowell at ena.com Mon Apr 28 16:19:55 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 28 Apr 2003 09:19:55 -0500 Subject: Change the state of a host Message-ID: <5DB017510818EC468B05BD7BD9EACF83030EDDDB@mismail.ena.com> Can you be a little more specific? Are you wanting to fake a host being up that's down or vice-versa? -- Marc > -----Original Message----- > From: casperez at cesga.es [mailto:casperez at cesga.es] > Sent: Monday, April 28, 2003 8:54 AM > To: nagios-users at lists.sourceforge.net > > Hello, > > I want to change the state of a host. Is it possible? and how can i do > it? > > Thank you > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.Verscheure at loria.fr Mon Apr 28 16:50:34 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Mon, 28 Apr 2003 16:50:34 +0200 Subject: NSClient problem Message-ID: <3EAD3FBA.8020405@loria.fr> Hiii ! I have installed Nagios and NSClient, i check the CPULOAD and other things ( like disk space ) of a windows server, all was ok ... But after installing the SP03 for Windows 2000, i can't have the response for CPULOAD ( meanwhile no problem with disk space and the other ) So Na gios return the following error : /*NSClient - ERROR:Malformed request or internal error. Check EventLog:None&2&10 */ Any idear ? Thanks. Best regards --- Lionel Verscheure ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.mellis at kisters.com Mon Apr 28 17:08:12 2003 From: r.mellis at kisters.com (Ralf Mellis) Date: Mon, 28 Apr 2003 17:08:12 +0200 Subject: NSClient CPULoad: Division by zero Message-ID: <01C30DA8.C0E55E30.r.mellis@kisters.com> Hello, I'm using nagios 1.0 with plugins 1.3 and nsclient 1.0.7.1. I have set up several windows servers (nt4 sp6a and w2k sp3) successfully with services like WINS (standard nagios tcp service), Diskspace (nsclient) and so on. But: Three of my w2k-servers are reporting (check_nt -v CPULOAD): "NSClient - ERROR:Malformed request or internal error. Check EventLog:None&2&10 " I have checked the eventlog and there is the entry: "Division by zero." from source "NSClient" with event id 2. I have tried to restart the nsclient service on these servers, but no change in behaviour. Other windows servers (as well nt4 and w2k) in my environment are reporting successfully. All win servers hav the same "patch level" (as service packs are concerned). Any Ideas? Regards -- Ralf Mellis Kisters Maschinenbau GmbH Abteilung DV/ORG 47533 Kleve Boschstr. 1-3 Germany Telefon +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Mon Apr 28 17:08:50 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 28 Apr 2003 11:08:50 -0400 (EDT) Subject: Change the state of a host In-Reply-To: <35829.193.144.34.186.1051538014.squirrel@webmail.cesga.es> References: <35829.193.144.34.186.1051538014.squirrel@webmail.cesga.es> Message-ID: On Mon, 28 Apr 2003 casperez at cesga.es wrote: > Hello, > > I want to change the state of a host. Is it possible? and how can i do it? > > Thank you > yes - pull the plug -> new state = down. Is that what you are trying to do? -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Apr 28 17:21:58 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 28 Apr 2003 10:21:58 -0500 Subject: Change the state of a host Message-ID: <5DB017510818EC468B05BD7BD9EACF83030EDDE6@mismail.ena.com> You'll need to use parents and it will only show unreachable IFF the parent host is down. -- Marc > -----Original Message----- > From: casperez at cesga.es [mailto:casperez at cesga.es] > Sent: Monday, April 28, 2003 9:30 AM > To: Marc Powell > > Yes, I want to change the state of the host to unreach when this in down > > Thanks > > > Can you be a little more specific? Are you wanting to fake a host being > > up that's down or vice-versa? > > > > -- > > Marc > > > >> -----Original Message----- > >> From: casperez at cesga.es [mailto:casperez at cesga.es] > >> Sent: Monday, April 28, 2003 8:54 AM > >> To: nagios-users at lists.sourceforge.net > >> > >> Hello, > >> > >> I want to change the state of a host. Is it possible? and how can i > > do > >> it? > >> > >> Thank you > >> > >> > >> > >> > >> ------------------------------------------------------- > >> This sf.net email is sponsored by:ThinkGeek > >> Welcome to geek heaven. > >> http://thinkgeek.com/sf > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.G.Martin at mail.sprint.com Mon Apr 28 17:56:16 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G) Date: Mon, 28 Apr 2003 10:56:16 -0500 Subject: NSClient CPULoad: Division by zero Message-ID: <516DA7BE5D87C8469D89F150CA0B491197B8E1@PDAWB02C.ad.sprint.com> I've seen this also and was wondering if the same problem shows up on your server as well. If you run Perfmon that ships with Windows 2000, do the counters for Processor show up. I've got a few servers that are missing performance counters and Processor is one of them. If you've ever used the utilities from Sysinternals.com and in particular psinfo, I am also unable to get the system uptime on these same servers. Stanley G. Martin System Administrator Enterprise Information & Sales Support -----Original Message----- From: Ralf Mellis [mailto:r.mellis at kisters.com] Sent: Monday, April 28, 2003 10:08 AM To: Nagios Users Mailingliste (E-Mail) Subject: [Nagios-users] NSClient CPULoad: Division by zero Hello, I'm using nagios 1.0 with plugins 1.3 and nsclient 1.0.7.1. I have set up several windows servers (nt4 sp6a and w2k sp3) successfully with services like WINS (standard nagios tcp service), Diskspace (nsclient) and so on. But: Three of my w2k-servers are reporting (check_nt -v CPULOAD): "NSClient - ERROR:Malformed request or internal error. Check EventLog:None&2&10 " I have checked the eventlog and there is the entry: "Division by zero." from source "NSClient" with event id 2. I have tried to restart the nsclient service on these servers, but no change in behaviour. Other windows servers (as well nt4 and w2k) in my environment are reporting successfully. All win servers hav the same "patch level" (as service packs are concerned). Any Ideas? Regards -- Ralf Mellis Kisters Maschinenbau GmbH Abteilung DV/ORG 47533 Kleve Boschstr. 1-3 Germany Telefon +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Apr 28 17:56:43 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 28 Apr 2003 10:56:43 -0500 Subject: Change the state of a host Message-ID: <5DB017510818EC468B05BD7BD9EACF83030EDDEE@mismail.ena.com> Please reply to the list and not me directly. You'll tend to get more options that way... There is no way to force a device to be unreachable instead of down. Maybe a clearer explanation as to _why_ you prefer unreachable v.s. down will open up options to accomplish what you're trying to get to. -- Marc > -----Original Message----- > From: casperez at cesga.es [mailto:casperez at cesga.es] > Sent: Monday, April 28, 2003 10:43 AM > To: Marc Powell > > But, I want to force the change of manual form without the parnt host is > down. > > Thanks very much. > > > You'll need to use parents and it will only show unreachable IFF the > > parent host is down. > > > > -- > > Marc > > > > >> Yes, I want to change the state of the host to unreach when this in > > down > >> > >> Thanks > >> > >> > Can you be a little more specific? Are you wanting to fake a host > > being > >> > up that's down or vice-versa? > >> > > > >> >> Hello, > >> >> > >> >> I want to change the state of a host. Is it possible? and how can > > i > >> > do > >> >> it? > >> >> > >> >> Thank you > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 icnet.com.ve Mon Apr 28 18:05:29 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Mon, 28 Apr 2003 12:05:29 -0400 Subject: NSClient Addon Message-ID: <5.1.0.14.0.20030428120045.00bc8d70@pop.icnet.com.ve> Hi, I want to use the NSCLient Addon. I have running the NSClient service in the win-2000- server, and I configure the checkcommand.cfg file in the /usr/local/nagios/etc, and copy the check_nt file to /usr/local/nagios/libexec/. The Output in the nagios is: NSClient - ERROR:Malformed request or internal error. Check EventLog:None&2&60 and when I see the lof file in the Win2000 server only said Division by zero. Anybody can help me? Thanks Jeyri ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 icnet.com.ve Mon Apr 28 18:07:15 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Mon, 28 Apr 2003 12:07:15 -0400 Subject: NSClient Addon Message-ID: <5.1.0.14.0.20030428120623.00b4e118@pop.icnet.com.ve> Hi, I want to use the NSCLient Addon. I have running the NSClient service in the win-2000- server, and I configure the checkcommand.cfg file in the /usr/local/nagios/etc, and copy the check_nt file to /usr/local/nagios/libexec/. The Output in the nagios is: NSClient - ERROR:Malformed request or internal error. Check EventLog:None&2&60 and when I see the lof file in the Win2000 server only said Division by zero. Anybody can help me? Thanks Jeyri ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick_leboutillier at hotmail.com Mon Apr 28 18:07:54 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Mon, 28 Apr 2003 12:07:54 -0400 Subject: Host/Service association Message-ID: Hi, I'm planning to use Nagios to monitor a large network of machine that are all pretty much set up in the same fashion and offer the same basic services. With this scenario it would be much easier for me create a host definition and in that host definition specify which services run on that host rather than the other way around (specifing the hosts in the service def). This combined with the VERY useful "cfg_dir" option would allow me to simply drop a new file with the host def and have everything done in one operation. Is there any way to do this? Thanks, --------------------- Patrick LeBoutillier Laval, Quebec, Canada ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Mon Apr 28 18:24:22 2003 From: jsm at inpro.net (Jeff McKeon) Date: 28 Apr 2003 12:24:22 -0400 Subject: nrpe on remote host Message-ID: <1051547061.31829.5.camel@rh80-jsm.telaurus.net> Hey all, I've got a remote host on another network that is behind a firewall. The remote firewall is set to accept traffic ONLY from our external IP's On this remote box we have a Remote Access Server card that I need to monitor. I've already written the script to check the card but now need to set it up with nagios. Will NRPE work in this situation or do I need to setup check_by_ssh? thanks, jeff PS: The card is a cyclades pc400 if anybody's using one and want's the script I created. -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From casperez at cesga.es Mon Apr 28 18:14:20 2003 From: casperez at cesga.es (casperez at cesga.es) Date: Mon, 28 Apr 2003 18:14:20 +0200 (CEST) Subject: (no subject) Message-ID: <47595.193.144.34.186.1051546460.squirrel@webmail.cesga.es> Hello, In some hosts to verify in that state be, they depend of the demon nrpe, if this stop the host it appears like down but really this isn't in down, but I want that it appears like unreach Thank you ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Don.Howard at connectedenergy.com Mon Apr 28 18:19:56 2003 From: Don.Howard at connectedenergy.com (Don Howard) Date: Mon, 28 Apr 2003 12:19:56 -0400 Subject: Empty status.log file Message-ID: <0C68BB5622B41D41ACEC1716B2C2DD080F5A48@cecmail.CDAINTERNAL.COM> Russell, That was exactly my problem. I am embarrassed I did not check that but glad I got the problem solved. Thanks for the help. Don -- Don Howard Network Administrator Connected Energy Mailto:Don.Howard at connectedenergy.com http://www.connectedenergy.com -----Original Message----- From: Russell Scibetti [mailto:russell at quadrix.com] Sent: Friday, April 25, 2003 10:43 AM To: Don Howard Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Empty status.log file Just a possible problem that happened to me once... How much space is left in that partition? I had my /usr up to 100% once, so it couldn't write the status.log. Just something to check. Russell Don Howard wrote: >My status.log file is empty. I had this up and running for weeks and made not changes. I went to hit the website and I got the following message when I tried to look at service or host details: >"There doesn't appear to be any host status information in the status log... Make sure that Nagios is running and that you have specified the location of you status log correctly in the configuration files." >Nagios is running as indicated by >[root at northernbytesconsulting etc]# ps -ef |grep nagios >nagios 1130 1 0 13:12 ? 00:00:00 /usr/local/nagios/bin/nagios -d >and the path is correct in the nagios.cfg file it is >status_file=/usr/local/nagios/var/status.log >if I stop nagios the status.log file disapears and upon restart it is back but empty. Anyone have any ideas? I tried gooleing on this problem as well as searching the archives and did not come up with anything. Any help would be appriciated. >Thanks, >Don > >-- >Don Howard >Network Administrator >Connected Energy >Mailto:Don.Howard at connectedenergy.com >http://www.connectedenergy.com > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > -- Russell Scibetti Quadrix Solutions, Inc. http://www.quadrix.com (732) 235-2335, ext. 7038 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandromergvaz at uol.com.br Mon Apr 28 18:43:38 2003 From: sandromergvaz at uol.com.br (Sandro Vaz (UOL)) Date: Mon, 28 Apr 2003 13:43:38 -0300 Subject: RES: NSClient Addon In-Reply-To: <5.1.0.14.0.20030428120623.00b4e118@pop.icnet.com.ve> References: <5.1.0.14.0.20030428120623.00b4e118@pop.icnet.com.ve> Message-ID: Three options: 0) Look at EventLog entries and see if OS Language is recognized correctly. If not, alter you conters.defs to point to the correct 4 main perfmon counters. 1) Downgrade to 1.07.0 or 1.06.2. 2) Remove and reinstall NSClient. Sometimes it works. Att., Sandro Vaz -----Mensagem original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Jeyri Bautista Enviada em: segunda-feira, 28 de abril de 2003 13:07 Para: nagios-users at lists.sourceforge.net Assunto: [Nagios-users] NSClient Addon Hi, I want to use the NSCLient Addon. I have running the NSClient service in the win-2000- server, and I configure the checkcommand.cfg file in the /usr/local/nagios/etc, and copy the check_nt file to /usr/local/nagios/libexec/. The Output in the nagios is: NSClient - ERROR:Malformed request or internal error. Check EventLog:None&2&60 and when I see the lof file in the Win2000 server only said Division by zero. Anybody can help me? Thanks Jeyri ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.476 / Virus Database: 273 - Release Date: 24/4/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.476 / Virus Database: 273 - Release Date: 24/4/2003 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rplewe at hpce.nec.com Mon Apr 28 19:07:26 2003 From: rplewe at hpce.nec.com (Rasmus Plewe) Date: Mon, 28 Apr 2003 19:07:26 +0200 Subject: Change the state of a host In-Reply-To: <61647.193.144.34.186.1051531384.squirrel@webmail.cesga.es>; from casperez@cesga.es on Mon, Apr 28, 2003 at 02:03:04PM +0200 References: <61647.193.144.34.186.1051531384.squirrel@webmail.cesga.es> Message-ID: <20030428190726.D3784@hpce.nec.com> On Mon, Apr 28, 2003 at 02:03:04PM +0200, casperez at cesga.es wrote: > > I want to change the state of a host. Is it possible? and How can i do it? Depending on the current state, either shut it down or power it off. To be really sure you change its state, you could throw it out of the window... SCNR, Rasmus ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chrismcc at pricegrabber.com Mon Apr 28 18:56:23 2003 From: chrismcc at pricegrabber.com (Christopher McCrory) Date: 28 Apr 2003 09:56:23 -0700 Subject: Host/Service association In-Reply-To: References: Message-ID: <1051548983.27647.2.camel@morticia.pricegrabber.com> Hello... On Mon, 2003-04-28 at 09:07, Patrick LeBoutillier wrote: > Hi, > > I'm planning to use Nagios to monitor a large network of machine that are > all pretty > much set up in the same fashion and offer the same basic services. > > With this scenario it would be much easier for me create a host definition > and in > that host definition specify which services run on that host rather than the > other way > around (specifing the hosts in the service def). > > This combined with the VERY useful "cfg_dir" option would allow me to simply > drop > a new file with the host def and have everything done in one operation. > > Is there any way to do this? > Yes, but not the way you stated it. use 'hostgroup_name' in your services instead of 'host_name' then you just add the new host to the hostgreoup http://nagios.sourceforge.net/docs/1_0/templatetricks.html > Thanks, > > --------------------- > Patrick LeBoutillier > Laval, Quebec, Canada > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Christopher McCrory "The guy that keeps the servers running" chrismcc at pricegrabber.com http://www.pricegrabber.com Let's face it, there's no Hollow Earth, no robots, and no 'mute rays.' And even if there were, waxed paper is no defense. I tried it. Only tinfoil works. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gv2385 at sbc.com Mon Apr 28 19:16:56 2003 From: gv2385 at sbc.com (VANTASSLE, GEORDON M (SBCSI)) Date: Mon, 28 Apr 2003 13:16:56 -0400 Subject: Status Map, Pop-up questions Message-ID: <1FFE723C45371B46948FA414FDA153B1054F6C8E@ilnort1msgusr08.itservices.sbc.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Can someone help me figure out how I can get the Stsus map popup to stay on the screen when I'm looking at it? When I mouse-over one of the hosts, it pops up, but several lilnes of the popup box are not viewable on the screen. This is driving me NUTS, and this is a big sticking point for my project with Nagios. TIA, Geordon - -- Regards, Geordon M. VanTassle Technical Architect SBC, Call Center Technologies * phone: 847-781-3063 * pager: 630-695-0007 * text page:6306950007 at paging.acswireless.com -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 Comment: This message signed to ensure authenticity. iQA/AwUBPq1hYhnDT1v4QosXEQLZQgCfU5xbipmO7djbw77kji0sW9yHynsAniIV Gqv+Y/N9eJsH0yOembJ/Oxj/ =KAR4 -----END PGP SIGNATURE----- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PGPexch.rtf.pgp Type: application/octet-stream Size: 698 bytes Desc: not available URL: From jsm at inpro.net Mon Apr 28 19:19:05 2003 From: jsm at inpro.net (Jeff McKeon) Date: 28 Apr 2003 13:19:05 -0400 Subject: OT scripting question Message-ID: <1051550345.31829.11.camel@rh80-jsm.telaurus.net> hell all, I know this is sort of off topic but it's for a script I'm writing to use with nagios so I beg forgiveness.. When using a command like grep that returns an exit status (0 for match, 1 for no match, 2 for errors) how i use that exit status in a script. In other words, what variable is assigned the 0, 1 or 2? So if i had: # look for "hello" in /tmp/somefile /bin/grep -q hello /tmp/somefile /bin/echo (exit status) what would I replace "(exit status)" with so that it would echo the 0, 1 or 2? thanks -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From erich at omnilux.net Mon Apr 28 19:35:37 2003 From: erich at omnilux.net (Erich Kuehn) Date: Mon, 28 Apr 2003 10:35:37 -0700 Subject: OT scripting question Message-ID: <18361A0163154B4E9BF6AE2659E01F090100EAEA@rosemead.iad.idealab.com> When I do this from a shell script I use exit (status code) This will exit with the desired status code. So you need some code above it to identify each of those conditions. Example if [ $t -gt 9300 ] ; then echo OK - Quality at $t exit 0 fi Erich -----Original Message----- From: Jeff McKeon [mailto:jsm at inpro.net] Sent: Monday, April 28, 2003 10:19 To: Nagios List Subject: [Nagios-users] OT scripting question hell all, I know this is sort of off topic but it's for a script I'm writing to use with nagios so I beg forgiveness.. When using a command like grep that returns an exit status (0 for match, 1 for no match, 2 for errors) how i use that exit status in a script. In other words, what variable is assigned the 0, 1 or 2? So if i had: # look for "hello" in /tmp/somefile /bin/grep -q hello /tmp/somefile /bin/echo (exit status) what would I replace "(exit status)" with so that it would echo the 0, 1 or 2? thanks -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Mon Apr 28 19:25:55 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Mon, 28 Apr 2003 12:25:55 -0500 Subject: OT scripting question Message-ID: <352B04312822444A962714393AED8A4D1138CD@ADAEVS01.int.chickasaw.net> Try $? I think... -----Original Message----- From: Jeff McKeon [mailto:jsm at inpro.net] Sent: Monday, April 28, 2003 12:19 PM To: Nagios List Subject: [Nagios-users] OT scripting question hell all, I know this is sort of off topic but it's for a script I'm writing to use with nagios so I beg forgiveness.. When using a command like grep that returns an exit status (0 for match, 1 for no match, 2 for errors) how i use that exit status in a script. In other words, what variable is assigned the 0, 1 or 2? So if i had: # look for "hello" in /tmp/somefile /bin/grep -q hello /tmp/somefile /bin/echo (exit status) what would I replace "(exit status)" with so that it would echo the 0, 1 or 2? thanks -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Mon Apr 28 19:55:59 2003 From: jsm at inpro.net (Jeff McKeon) Date: 28 Apr 2003 13:55:59 -0400 Subject: OT scripting question In-Reply-To: <352B04312822444A962714393AED8A4D1138CD@ADAEVS01.int.chickasaw.net> References: <352B04312822444A962714393AED8A4D1138CD@ADAEVS01.int.chickasaw.net> Message-ID: <1051552559.31829.16.camel@rh80-jsm.telaurus.net> Jeremy, Thanks! that's it! Jeff On Mon, 2003-04-28 at 13:25, Jeremy Russell wrote: > Try $? I think... > > -----Original Message----- > From: Jeff McKeon [mailto:jsm at inpro.net] > Sent: Monday, April 28, 2003 12:19 PM > To: Nagios List > Subject: [Nagios-users] OT scripting question > > > hell all, > > I know this is sort of off topic but it's for a script I'm writing to > use with nagios so I beg forgiveness.. > > When using a command like grep that returns an exit status (0 for match, > 1 for no match, 2 for errors) how i use that exit status in a script. > In other words, what variable is assigned the 0, 1 or 2? > > So if i had: > > # look for "hello" in /tmp/somefile > > /bin/grep -q hello /tmp/somefile > > /bin/echo (exit status) > > what would I replace "(exit status)" with so that it would echo the 0, 1 > or 2? > > thanks > -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.loew at steyr-ssf.com Mon Apr 28 20:18:18 2003 From: christian.loew at steyr-ssf.com (Christian =?iso-8859-1?B?TPZ3?=) Date: Mon, 28 Apr 2003 20:18:18 +0200 Subject: OT scripting question In-Reply-To: <1051550345.31829.11.camel@rh80-jsm.telaurus.net> References: <1051550345.31829.11.camel@rh80-jsm.telaurus.net> Message-ID: <20030428181817.GA8030@steyr-ssf.com> On Mon, Apr 28, 2003 at 01:19:05PM -0400, Jeff McKeon wrote: > When using a command like grep that returns an exit status (0 for match, > 1 for no match, 2 for errors) how i use that exit status in a script. > In other words, what variable is assigned the 0, 1 or 2? > > So if i had: > > # look for "hello" in /tmp/somefile > > /bin/grep -q hello /tmp/somefile > > /bin/echo (exit status) /bin/echo $? Chris ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Mon Apr 28 20:17:09 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 28 Apr 2003 13:17:09 -0500 Subject: Status Map, Pop-up questions Message-ID: Unless I miss my guess, this is a browser issue. I'm a big fan of Phoenix, and the symptom you describe sounds just like how Phoenix would handle it. I see better behaviour with IE. Give that a try. jc -----Original Message----- From: VANTASSLE, GEORDON M (SBCSI) [mailto:gv2385 at sbc.com] Sent: Monday, April 28, 2003 12:17 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Status Map, Pop-up questions -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Can someone help me figure out how I can get the Stsus map popup to stay on the screen when I'm looking at it? When I mouse-over one of the hosts, it pops up, but several lilnes of the popup box are not viewable on the screen. This is driving me NUTS, and this is a big sticking point for my project with Nagios. TIA, Geordon - -- Regards, Geordon M. VanTassle Technical Architect SBC, Call Center Technologies * phone: 847-781-3063 * pager: 630-695-0007 * text page:6306950007 at paging.acswireless.com -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 Comment: This message signed to ensure authenticity. iQA/AwUBPq1hYhnDT1v4QosXEQLZQgCfU5xbipmO7djbw77kji0sW9yHynsAniIV Gqv+Y/N9eJsH0yOembJ/Oxj/ =KAR4 -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Mon Apr 28 20:25:59 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 28 Apr 2003 13:25:59 -0500 Subject: OT scripting question Message-ID: Simple test case: $ /bin/true $ echo $? 0 $ /bin/false $ echo $? 1 HTH. jc > -----Original Message----- > From: Jeff McKeon [mailto:jsm at inpro.net] > Sent: Monday, April 28, 2003 12:19 PM > To: Nagios List > Subject: [Nagios-users] OT scripting question > > > hell all, > > I know this is sort of off topic but it's for a script I'm writing to > use with nagios so I beg forgiveness.. > > When using a command like grep that returns an exit status (0 > for match, > 1 for no match, 2 for errors) how i use that exit status in a script. > In other words, what variable is assigned the 0, 1 or 2? > > So if i had: > > # look for "hello" in /tmp/somefile > > /bin/grep -q hello /tmp/somefile > > /bin/echo (exit status) > > what would I replace "(exit status)" with so that it would > echo the 0, 1 > or 2? > > thanks > > -- > Jeff McKeon > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.boman at securecirt.com Mon Apr 28 20:32:46 2003 From: michael.boman at securecirt.com (Michael Boman) Date: 29 Apr 2003 02:32:46 +0800 Subject: OT scripting question In-Reply-To: <1051550345.31829.11.camel@rh80-jsm.telaurus.net> References: <1051550345.31829.11.camel@rh80-jsm.telaurus.net> Message-ID: <1051554765.16217.8.camel@r2d2.dmz1.securecirt.com> On Tue, 2003-04-29 at 01:19, Jeff McKeon wrote: > hell all, > > I know this is sort of off topic but it's for a script I'm writing to > use with nagios so I beg forgiveness.. > > When using a command like grep that returns an exit status (0 for match, > 1 for no match, 2 for errors) how i use that exit status in a script. > In other words, what variable is assigned the 0, 1 or 2? echo $? Best regards Michael Boman -- Michael Boman Security Architect, SecureCiRT Pte Ltd http://www.securecirt.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gv2385 at sbc.com Mon Apr 28 20:29:17 2003 From: gv2385 at sbc.com (VANTASSLE, GEORDON M (SBCSI)) Date: Mon, 28 Apr 2003 14:29:17 -0400 Subject: Status Map, Pop-up questions Message-ID: <1FFE723C45371B46948FA414FDA153B1054F6C90@ilnort1msgusr08.itservices.sbc.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I might not be understanding youre response, Jim. If so, please forgive me. First, I tend to agree that it's probably a browser issue, but generally, I *have* to use IE, since it's the corp. standard. I'm attaching (hopefully it works) a .PNG screen capture of what happens with IE. I've tried Konquerer and get the same "problem" happening. Any more suggestions are more than welcome. Thanks! Geordon > -----Original Message----- > From: Carroll, Jim P [Contractor] > [mailto:jcarro10 at sprintspectrum.com] > Sent: Monday, April 28, 2003 1:17 PM > To: VANTASSLE, GEORDON M (SBCSI); > nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] > Status Map, Pop-up questions > > > Unless I miss my guess, this is a browser issue. > > I'm a big fan of Phoenix, and the symptom you describe sounds > just like how Phoenix would handle it. I see better > behaviour with IE. Give that a try. > > jc > > > -----Original Message----- > From: VANTASSLE, GEORDON M (SBCSI) [mailto:gv2385 at sbc.com] > Sent: Monday, April 28, 2003 12:17 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Status Map, Pop-up questions > > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > Can someone help me figure out how I can get the Stsus map > popup to stay on the screen when I'm looking at it? When I > mouse-over one of the hosts, it pops up, but several lilnes > of the popup box are not viewable on the screen. This is > driving me NUTS, and this is a big sticking point for my > project with Nagios. > TIA, > Geordon > - -- > > Regards, > Geordon M. VanTassle > Technical Architect > SBC, Call Center Technologies > * phone: 847-781-3063 > * pager: 630-695-0007 > * text page:6306950007 at paging.acswireless.com > > > > > -----BEGIN PGP SIGNATURE----- > Version: PGP 8.0 > Comment: This message signed to ensure authenticity. > iQA/AwUBPq1hYhnDT1v4QosXEQLZQgCfU5xbipmO7djbw77kji0sW9yHynsAniIV > Gqv+Y/N9eJsH0yOembJ/Oxj/ > =KAR4 > -----END PGP SIGNATURE----- > > -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 Comment: This message signed to ensure authenticity. iQA/AwUBPq1yVxnDT1v4QosXEQJyXACeJp6E1JRgN7RmkAeCicQwj3s922gAn2Dg GiLJyJ/75Hb1meFdL4oHI/wn =SEfB -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: application/octet-stream Size: 77755 bytes Desc: not available URL: From chbaker at powersystems.rockwell.com Mon Apr 28 20:53:00 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Mon, 28 Apr 2003 14:53:00 -0400 Subject: OT scripting question Message-ID: If you are using the korn shell, #!/bin/ksh, the exit value of the previous command is stored in ''$?'' w/o the quotes. The same special variable works in perl but it may have the last status value returned from the last system, pipe close, or back tick ( ex. `date +%Y%m%d` ) command. Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #341: HTTPD Error 666 : BOFH was here Jeff McKeon Sent by: To: Nagios List nagios-users-admin at lists.sour cc: ceforge.net Subject: [Nagios-users] OT scripting question 04/28/2003 01:19 PM hell all, I know this is sort of off topic but it's for a script I'm writing to use with nagios so I beg forgiveness.. When using a command like grep that returns an exit status (0 for match, 1 for no match, 2 for errors) how i use that exit status in a script. In other words, what variable is assigned the 0, 1 or 2? So if i had: # look for "hello" in /tmp/somefile /bin/grep -q hello /tmp/somefile /bin/echo (exit status) what would I replace "(exit status)" with so that it would echo the 0, 1 or 2? thanks -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dsandell at voyager.net Mon Apr 28 20:45:29 2003 From: dsandell at voyager.net (Denise Sandell) Date: Mon, 28 Apr 2003 13:45:29 -0500 Subject: Host/Service check scheduling Message-ID: <20030428134528.C22822@shell.core.com> Howdy, I have a question/concern about the way host and service checks are handled. Host checks are only supposed to be initiated when a service check fails. So at what point does the host check initiate, when a service returns a "soft" non-OK state, or a "hard" non-OK state? I've poured over the documentation and can't find anything that explicitly states what the function is. As far as I can tell operationally speaking, a host check is initiated immediately when a service check fails (ie a soft fail state). Yet, this is not clear from the event logs. I never see a failed/soft service check before a host check is initiated noted in the logs. As a result, my service checks fail once, a host check is initated, it counts through max attempts defined for a host, and then issues a notification. This is rather annoying since I would like to receive notifications for things down >5 minutes. My max_attempts for my host template is currently set at 5 (with an interval_length of 60), so once Nagios initiates host checks, it does so every 10 seconds 5 times in a row. As a result, I get notifications for things down for 50 seconds. The only way i've managed to get around this is to completely disable check_commands for hosts. This leads to some general retardedness for availability of hosts/services. If my service check for ping fails, the host goes down, but it is never marked as such by the system. So, the questions i have are these: . is this the intended function for network availability? . is there an undocumented way to apply check intervals to host checks? and if not, is this being considered as an option for future development? -- - Denise Sandell network operations - - dsandell at voyager.net voyager.net, a CoreComm company - ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at skynetweb.com Mon Apr 28 21:38:33 2003 From: jason at skynetweb.com (Jason Lancaster) Date: Mon, 28 Apr 2003 15:38:33 -0400 Subject: host check command theory of operation question Message-ID: <010b01c30dbd$c0f0ea60$f805ff0a@tekniq> Hey everyone, I was playing around with Nagios today and disabled all of my host check_commands in my configuration file. Once I did that, the web interface had all "hosts" up except a few who are always grey and pending. The grey and pending ones appeared to be ones that had one or more services down. I remember reading in the manual that if you disable host-check-commands it will assume each host is up. This does not appear how it operates because there were hosts that appeared pending when a service was down. I'm trying figure out when exactly Nagios performs the host-check-command operation to see if a host is up. I'd hope for efficiency it will only perform a host-check-command when necessary, so my assumption leads me to believe that a host check_command is performed when one or more services fails. Can anyone confirm this or correct me if I am wrong? Thanks! Jason Lancaster Intranet Administrator, Affinity Internet ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Mon Apr 28 21:56:25 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Mon, 28 Apr 2003 13:56:25 -0600 Subject: host check command theory of operation question Message-ID: Your assumption is correct. http://nagios.sourceforge.net/docs/1_0/networkreachability.html Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: Jason Lancaster [mailto:jason at skynetweb.com] > Sent: Monday, April 28, 2003 1:39 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] host check command theory of > operation question > > > Hey everyone, > I was playing around with Nagios today and disabled all of my > host check_commands in my configuration file. Once I did > that, the web interface had all "hosts" up except a few who > are always grey and pending. The grey and pending ones > appeared to be ones that had one or more services down. > > I remember reading in the manual that if you disable > host-check-commands it will assume each host is up. This does > not appear how it operates because there were hosts that > appeared pending when a service was down. > > I'm trying figure out when exactly Nagios performs the > host-check-command operation to see if a host is up. I'd hope > for efficiency it will only perform a host-check-command when > necessary, so my assumption leads me to believe that a host > check_command is performed when one or more services fails. > Can anyone confirm this or correct me if I am wrong? > > Thanks! > Jason Lancaster > Intranet Administrator, Affinity Internet > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From happy at usg.edu Mon Apr 28 22:37:59 2003 From: happy at usg.edu (Mark Plaksin) Date: 28 Apr 2003 16:37:59 -0400 Subject: nrpe 2.0 on Solaris and HP-UX? Message-ID: Hi, Has anybody built nrpe 2.0 on Solaris 8 or HP-UX 11.0? We're having several problems with the build (including the lack of strsep on those OSes). Before I try and solve the problems, I wanted to see if anybody else had. Thanks! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chrismcc at pricegrabber.com Mon Apr 28 22:54:08 2003 From: chrismcc at pricegrabber.com (Christopher McCrory) Date: 28 Apr 2003 13:54:08 -0700 Subject: Host/Service association In-Reply-To: References: Message-ID: <1051563248.3147.34.camel@morticia.pricegrabber.com> Hello... On Mon, 2003-04-28 at 09:07, Patrick LeBoutillier wrote: > Hi, > > I'm planning to use Nagios to monitor a large network of machine that are > all pretty > much set up in the same fashion and offer the same basic services. > > With this scenario it would be much easier for me create a host definition > and in > that host definition specify which services run on that host rather than the > other way > around (specifing the hosts in the service def). > > This combined with the VERY useful "cfg_dir" option would allow me to simply > drop > a new file with the host def and have everything done in one operation. > > Is there any way to do this? > Yes, but not the way you stated it. use 'hostgroup_name' in your services instead of 'host_name' then you just add the new host to the hostgreoup http://nagios.sourceforge.net/docs/1_0/templatetricks.html > Thanks, > > --------------------- > Patrick LeBoutillier > Laval, Quebec, Canada > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Christopher McCrory "The guy that keeps the servers running" chrismcc at pricegrabber.com http://www.pricegrabber.com Let's face it, there's no Hollow Earth, no robots, and no 'mute rays.' And even if there were, waxed paper is no defense. I tried it. Only tinfoil works. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Mon Apr 28 23:17:16 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Mon, 28 Apr 2003 16:17:16 -0500 Subject: OT scripting question Message-ID: <352B04312822444A962714393AED8A4D1138CF@ADAEVS01.int.chickasaw.net> No prob..... :) -----Original Message----- From: Jeff McKeon [mailto:jsm at inpro.net] Sent: Monday, April 28, 2003 12:56 PM To: Jeremy Russell Cc: Nagios Users Subject: RE: [Nagios-users] OT scripting question Jeremy, Thanks! that's it! Jeff On Mon, 2003-04-28 at 13:25, Jeremy Russell wrote: > Try $? I think... > > -----Original Message----- > From: Jeff McKeon [mailto:jsm at inpro.net] > Sent: Monday, April 28, 2003 12:19 PM > To: Nagios List > Subject: [Nagios-users] OT scripting question > > > hell all, > > I know this is sort of off topic but it's for a script I'm writing to > use with nagios so I beg forgiveness.. > > When using a command like grep that returns an exit status (0 for > match, 1 for no match, 2 for errors) how i use that exit status in a > script. In other words, what variable is assigned the 0, 1 or 2? > > So if i had: > > # look for "hello" in /tmp/somefile > > /bin/grep -q hello /tmp/somefile > > /bin/echo (exit status) > > what would I replace "(exit status)" with so that it would echo the 0, > 1 or 2? > > thanks > -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Apr 29 00:17:51 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 28 Apr 2003 18:17:51 -0400 (EDT) Subject: (no subject) In-Reply-To: <47595.193.144.34.186.1051546460.squirrel@webmail.cesga.es> References: <47595.193.144.34.186.1051546460.squirrel@webmail.cesga.es> Message-ID: On Mon, 28 Apr 2003 casperez at cesga.es wrote: > Hello, > > In some hosts to verify in that state be, they depend of the demon nrpe, if > this stop the host it appears like down but really this isn't in down, but > I want that it appears like unreach > > Thank you > I guess you really didn't want to pull the plug. ;) If the nrpe daemon is dead, all the service checks depending on nrpe will report timeouts and go critical. The host-check starts to see if the host is still up by using the hostcheck command. This is normally a simple ping. If the host's TCP/IP stack is working properly, nagios will get a response to the hostcheck command and will determine that the host is up even though the services are not responding. Because the host is reachable - it is left in an up state. All the affected services will go critical. You should not see a host down, unless the host failed to respond to the hostcheck command. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue Apr 29 00:36:58 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Mon, 28 Apr 2003 17:36:58 -0500 Subject: Status Map, Pop-up questions Message-ID: Just a suggestion then: Why not move the scroll bar on the right side down to the bottom, and then do the mouse-over? jc > -----Original Message----- > From: VANTASSLE, GEORDON M (SBCSI) [mailto:gv2385 at sbc.com] > Sent: Monday, April 28, 2003 1:29 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Status Map, Pop-up questions > > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I might not be understanding youre response, Jim. If so, please > forgive me. > > First, I tend to agree that it's probably a browser issue, but > generally, I *have* to use IE, since it's the corp. standard. I'm > attaching (hopefully it works) a .PNG screen capture of what happens > with IE. I've tried Konquerer and get the same "problem" happening. > > Any more suggestions are more than welcome. > > Thanks! > > Geordon > > > -----Original Message----- > > From: Carroll, Jim P [Contractor] > > [mailto:jcarro10 at sprintspectrum.com] > > Sent: Monday, April 28, 2003 1:17 PM > > To: VANTASSLE, GEORDON M (SBCSI); > > nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] > > Status Map, Pop-up questions > > > > > > Unless I miss my guess, this is a browser issue. > > > > I'm a big fan of Phoenix, and the symptom you describe sounds > > just like how Phoenix would handle it. I see better > > behaviour with IE. Give that a try. > > > > jc > > > > > > -----Original Message----- > > From: VANTASSLE, GEORDON M (SBCSI) [mailto:gv2385 at sbc.com] > > Sent: Monday, April 28, 2003 12:17 PM > > To: 'nagios-users at lists.sourceforge.net' > > Subject: [Nagios-users] Status Map, Pop-up questions > > > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > Can someone help me figure out how I can get the Stsus map > > popup to stay on the screen when I'm looking at it? When I > > mouse-over one of the hosts, it pops up, but several lilnes > > of the popup box are not viewable on the screen. This is > > driving me NUTS, and this is a big sticking point for my > > project with Nagios. > > TIA, > > Geordon > > - -- > > > > Regards, > > Geordon M. VanTassle > > Technical Architect > > SBC, Call Center Technologies > > * phone: 847-781-3063 > > * pager: 630-695-0007 > > * text page:6306950007 at paging.acswireless.com > > > > > > > > > > -----BEGIN PGP SIGNATURE----- > > Version: PGP 8.0 > > Comment: This message signed to ensure authenticity. > > iQA/AwUBPq1hYhnDT1v4QosXEQLZQgCfU5xbipmO7djbw77kji0sW9yHynsAniIV > > Gqv+Y/N9eJsH0yOembJ/Oxj/ > > =KAR4 > > -----END PGP SIGNATURE----- > > > > > > -----BEGIN PGP SIGNATURE----- > Version: PGP 8.0 > Comment: This message signed to ensure authenticity. > > iQA/AwUBPq1yVxnDT1v4QosXEQJyXACeJp6E1JRgN7RmkAeCicQwj3s922gAn2Dg > GiLJyJ/75Hb1meFdL4oHI/wn > =SEfB > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gv2385 at sbc.com Tue Apr 29 00:40:18 2003 From: gv2385 at sbc.com (VANTASSLE, GEORDON M (SBCSI)) Date: Mon, 28 Apr 2003 18:40:18 -0400 Subject: Status Map, Pop-up questions Message-ID: <1FFE723C45371B46948FA414FDA153B10B2D23BA@ilnort1msgusr08.itservices.sbc.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Truth be told, that was the first thing I tried. However, when I try to do that, the status map automaticall recenters itself. Then, with the map centered, I can't see the bottom and/or right side of the popups. Like I said, it's driving me NUTS! :) Damned fine suggestion, though. > -----Original Message----- > From: Carroll, Jim P [Contractor] > [mailto:jcarro10 at sprintspectrum.com] > Sent: Monday, April 28, 2003 5:37 PM > To: VANTASSLE, GEORDON M (SBCSI); nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Status Map, Pop-up questions > > > Just a suggestion then: > > Why not move the scroll bar on the right side down to the > bottom, and then do the mouse-over? > > jc -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 Comment: This message signed to ensure authenticity. iQA/AwUBPq2tKxnDT1v4QosXEQLpLgCff+ADtiVebc6/YRV1Qya3wmFNw/kAoLrD 7OJ8WqknNuKRjXgcXO6NkZJr =YeRG -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Tue Apr 29 01:05:37 2003 From: nagios at nagios.org (Ethan Galstad) Date: Mon, 28 Apr 2003 18:05:37 -0500 Subject: Host/Service check scheduling In-Reply-To: <20030428134528.C22822@shell.core.com> References: <20030428134528.C22822@shell.core.com> Message-ID: <3EAD6D71.28225.67EFCE@localhost> Host checks are performed when: 1) A service changes state 2) A service is first checked and is found to be OK (if aggressive checking is on) 3) A service is checked and remains in a non-OK state (if aggressive checking is on) They may also occur if an upstream or downstream host changes state. In this case, host checks might be propagated up and down the parenting tree to see if the states of other hosts have changed. Based on your description, you need to choose another method of checking your host. If 5 consecutive host checks are failing and the host is really up, something needs to be reconfigured. IMHO, a 50 second failure for a host check should indicate that there's some kind of problem. On 28 Apr 2003 at 13:45, Denise Sandell wrote: > > Howdy, > > I have a question/concern about the way host and service checks are > handled. > > Host checks are only supposed to be initiated when a service check > fails. So at what point does the host check initiate, when a service > returns a "soft" non-OK state, or a "hard" non-OK state? I've > poured over the documentation and can't find anything that explicitly > states what the function is. > > As far as I can tell operationally speaking, a host check is initiated > immediately when a service check fails (ie a soft fail state). Yet, > this is not clear from the event logs. I never see a failed/soft > service check before a host check is initiated noted in the logs. > As a result, my service checks fail once, a host check is initated, > it counts through max attempts defined for a host, and then issues > a notification. > > This is rather annoying since I would like to receive notifications > for things down >5 minutes. My max_attempts for my host template is > currently set at 5 (with an interval_length of 60), so once Nagios > initiates host checks, it does so every 10 seconds 5 times in a row. > As a result, I get notifications for things down for 50 seconds. > > The only way i've managed to get around this is to completely disable > check_commands for hosts. This leads to some general retardedness for > availability of hosts/services. If my service check for ping fails, > the host goes down, but it is never marked as such by the system. > > So, the questions i have are these: > > . is this the intended function for network availability? > . is there an undocumented way to apply check intervals to host checks? > and if not, is this being considered as an option for future development? > > -- > - Denise Sandell network operations - > - dsandell at voyager.net voyager.net, a CoreComm company - > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philip at roysys.com.au Tue Apr 29 01:04:09 2003 From: philip at roysys.com.au (Philip Roy) Date: Tue, 29 Apr 2003 09:04:09 +1000 Subject: Options for Nagios Sending SMS Messages In-Reply-To: <60780C6B27232849B51929453E0EC01E1E2603@deskpe2k3.des> References: <60780C6B27232849B51929453E0EC01E1E2603@deskpe2k3.des> Message-ID: <002301c30dda$7d0f9270$0100000a@ROYSYSLT> Gary, One option that I use and have found to be reliable is using a package called Gnokii (www.gnokii.org), that communicates with a Nokia mobile phone directly connected to the nagios server via the serial port. Thus the sms message is sent direct from the mobile connected to you server. Cables for connecting the phone to the server can be obtained at a reasonable price from www.simplythebest.com.au (about $30 AUD). I manage a few of these setups using second hand nokia mobiles that you can pick up for under $100. Phil > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Gary MacMinn > Sent: Monday, 28 April 2003 4:11 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Options for Nagios Sending SMS Messages > > Hi All, > > >From an Australian point of view, what options do I have for getting > Nagios to report issues to my mobile via SMS? > > Any thoughts appreciated, > > Gary MacMinn > Network Support Engineer > Department of Emergency Services > ================================= > +61 7 3109 5084 > +61 7 3247 8665 (fax) > ================================= > gmacminn at emergency.qld.gov.au > ================================= ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dsandell at voyager.net Tue Apr 29 02:05:26 2003 From: dsandell at voyager.net (Denise Sandell) Date: Mon, 28 Apr 2003 19:05:26 -0500 Subject: Host/Service check scheduling In-Reply-To: <3EAD6D71.28225.67EFCE@localhost>; from nagios@nagios.org on Mon, Apr 28, 2003 at 06:05:37PM -0500 References: <20030428134528.C22822@shell.core.com> <3EAD6D71.28225.67EFCE@localhost> Message-ID: <20030428190526.A18895@shell.core.com> On Mon, 28 Apr 2003, Ethan Galstad wrote: > Host checks are performed when: > > 1) A service changes state Right, but this is intended to be a soft state, correct? > 2) A service is first checked and is found to be OK (if aggressive > checking is on) > 3) A service is checked and remains in a non-OK state (if aggressive > checking is on) > > They may also occur if an upstream or downstream host changes state. > In this case, host checks might be propagated up and down the > parenting tree to see if the states of other hosts have changed. > > Based on your description, you need to choose another method of > checking your host. If 5 consecutive host checks are failing and the > host is really up, something needs to be reconfigured. IMHO, a 50 > second failure for a host check should indicate that there's some > kind of problem. The case where the host check failed for 5 consecutive attempts was correct, it _should_ have failed because of a soft service state change (and did). The inference made to the host staying up was upon completely disabling the host check_command for that particular host. The desired function I want is not to receive host notifications for things down under 5 minutes -- which to me means I need to increase the normal_check_interval for my services on said host, thereby decreasing the possibility of a service changing state within that period of time. > > > On 28 Apr 2003 at 13:45, Denise Sandell wrote: > > > > > Howdy, > > > > I have a question/concern about the way host and service checks are > > handled. > > > > Host checks are only supposed to be initiated when a service check > > fails. So at what point does the host check initiate, when a service > > returns a "soft" non-OK state, or a "hard" non-OK state? I've > > poured over the documentation and can't find anything that explicitly > > states what the function is. > > > > As far as I can tell operationally speaking, a host check is initiated > > immediately when a service check fails (ie a soft fail state). Yet, > > this is not clear from the event logs. I never see a failed/soft > > service check before a host check is initiated noted in the logs. > > As a result, my service checks fail once, a host check is initated, > > it counts through max attempts defined for a host, and then issues > > a notification. > > > > This is rather annoying since I would like to receive notifications > > for things down >5 minutes. My max_attempts for my host template is > > currently set at 5 (with an interval_length of 60), so once Nagios > > initiates host checks, it does so every 10 seconds 5 times in a row. > > As a result, I get notifications for things down for 50 seconds. > > > > The only way i've managed to get around this is to completely disable > > check_commands for hosts. This leads to some general retardedness for > > availability of hosts/services. If my service check for ping fails, > > the host goes down, but it is never marked as such by the system. > > > > So, the questions i have are these: > > > > . is this the intended function for network availability? > > . is there an undocumented way to apply check intervals to host checks? > > and if not, is this being considered as an option for future development? > > > > -- > > - Denise Sandell network operations - > > - dsandell at voyager.net voyager.net, a CoreComm company - > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- - Denise Sandell network operations - - dsandell at voyager.net voyager.net, a CoreComm company - ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From charford-list at infinithost.com Tue Apr 29 04:20:47 2003 From: charford-list at infinithost.com (Colin Harford) Date: Mon, 28 Apr 2003 20:20:47 -0600 Subject: check_dns fails... Message-ID: <30A3D5C5-79E9-11D7-970B-000393A6FBE8@infinithost.com> After upgrading OpenBSD current after the change from a.out to ELF. I had to recompile nagios and nagios-plugins to make it work, (make clean, ./configure --prefix=/opt/nagios, make, make install) When check_dns runs I get the following error: Warning: Return code of 139 for check of service 'check bind' on host 'NABU' was out of bounds. Memory fault All the other plugins seem to work so far. When I manually run it: # /opt/nagios/libexec/check_dns -H www.infinithost.com Segmentation fault # /opt/nagios/libexec/check_dns --version check_dns (nagios-plugins 1.3.0) 1.8 # gcc -v Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd3.3/2.95.3/specs gcc version 2.95.3 20010125 (prerelease, propolice) (irra!/opt/nagios-plugins-1.3.0) [root-ttyp2] # ./configure loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... found checking for working automake... missing checking for working autoheader... found checking for working makeinfo... found checking for a BSD compatible install... /usr/bin/install -c checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking whether make sets ${MAKE}... (cached) yes checking for gawk... (cached) nawk checking how to run the C preprocessor... (cached) gcc -E checking for elf_begin in -lelf... (cached) no checking for kvm_open in -lkvm... (cached) yes checking for getloadavg in -lutil... (cached) yes checking for getloadavg... (cached) yes checking whether getloadavg requires setgid... (cached) yes checking group of /dev/kmem... (cached) kmem checking for working strtod... (cached) yes checking for ranlib... (cached) ranlib checking for aclocal... (cached) /opt/nagios-plugins-1.3.0/missing aclocal checking for automake... (cached) /opt/nagios-plugins-1.3.0/missing automake checking for autoconf... (cached) /usr/local/bin/autoconf checking for autoheader... (cached) /usr/local/bin/autoheader checking for python... (cached) /usr/local/bin/python checking for perl... (cached) /usr/bin/perl checking for sh... (cached) /bin/sh checking for hostname... (cached) /bin/hostname checking for basename... (cached) /usr/bin/basename checking for main in -ldce... (cached) no checking for main in -lnsl... (cached) no checking for socket in -lsocket... (cached) no checking for main in -lresolv... (cached) yes checking for main in -lcrypt... (cached) no configure: warning: Skipping PostgreSQL plugin (check_pgsql) configure: warning: install lib crypt and PostgreSQL libs to compile this plugin (see REQUIREMENTS). checking for rc_read_config in -lradiusclient... (cached) no configure: warning: Skipping radius plugin configure: warning: install radius libs to compile this plugin (see REQUIREMENTS). checking for main in -lldap... (cached) no configure: warning: Skipping LDAP plugin configure: warning: install LDAP libs to compile this plugin (see REQUIREMENTS). configure: warning: Skipping mysql plugin configure: warning: install mysql client libs to compile this plugin (see REQUIREMENTS). checking for openssl... (cached) /usr/sbin/openssl checking for krb5.h... (cached) no checking for krb5.h... no checking for openssl/ssl.h... (cached) yes checking for openssl/x509.h... (cached) yes checking for openssl/rsa.h... (cached) yes checking for openssl/pem.h... (cached) yes checking for openssl/crypto.h... (cached) yes checking for openssl/err.h... (cached) yes checking for CRYPTO_lock in -lcrypto... (cached) yes checking for main in -lssl... (cached) yes checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for signal.h... (cached) yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking for syslog.h... (cached) yes checking for unistd.h... (cached) yes checking for uio.h... (cached) no checking for errno.h... (cached) yes checking for regex.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/loadavg.h... (cached) no checking for stdarg.h... (cached) yes checking for sys/unistd.h... (cached) yes checking for unistd.h... (cached) yes checking for ctype.h... (cached) yes checking for sys/wait.h... (cached) yes checking for stdlib.h... (cached) yes checking for working const... (cached) yes checking whether struct tm is in sys/time.h or time.h... (cached) time.h checking for pid_t... (cached) yes checking for size_t... (cached) yes checking return type of signal handlers... (cached) void checking size of int... (cached) 4 checking size of long... (cached) 4 checking size of short... (cached) 2 checking for long long... (cached) yes checking for LL suffix on long long integers... (cached) yes checking for __va_copy... (cached) no checking for C99 vsnprintf... (cached) yes checking for snprintf... (cached) yes checking for vsnprintf... (cached) yes checking for vasprintf... (cached) yes checking for asprintf... (cached) yes checking for memmove... (cached) yes checking for select... (cached) yes checking for socket... (cached) yes checking for strdup... (cached) yes checking for strstr... (cached) yes checking for strtod... (cached) yes checking for strtol... (cached) yes checking for strtoul... (cached) yes checking for type of socket size... int checking for ps... (cached) /bin/ps ps syntax... /bin/ps -weo 'stat comm vsz rss user ppid args' checking for df... (cached) /bin/df df syntax... /bin/df -Pk checking for ping... (cached) /sbin/ping ping syntax... /sbin/ping -n -c checking for nslookup... (cached) /usr/local/bin/nslookup nslookup syntax... /usr/local/bin/nslookup -sil checking for host... (cached) /usr/local/bin/host checking for uptime... (cached) /usr/bin/uptime checking for rpcinfo... (cached) /usr/bin/rpcinfo checking for ntpdate... (cached) /usr/local/sbin/ntpdate checking for ntpdc... (cached) /usr/local/sbin/ntpdc checking for ntpq... (cached) /usr/local/sbin/ntpq checking for lmstat... no ** Get lmstat from Globetrotter Software to monitor flexlm licenses checking for smbclient... no ** Get smbclient from Samba.org to monitor SMB shares checking for who... (cached) /usr/bin/who checking for snmpget... no ** Get snmpget from http://net-snmp.sourceforge.net to make check_hpjd and check_snmp plugins checking for snmpgetnext... no ** Tried /usr/bin/perl - install Net::SNMP perl module if you want to use the perl snmp plugins checking for quakestat... no checking for qstat... no ** Get qstat from http://www.activesw.com/people/steve/qstat.html in order to make check_game plugin checking for fping... no ** Get fping from http://www.fping.com in order to make check_fping plugin checking for ssh... (cached) /usr/bin/ssh checking for mailq... (cached) /usr/bin/mailq ./configure[6932]: swap: not found checking for dig... (cached) /usr/sbin/dig yes creating ./config.status creating Makefile creating subst creating lib/Makefile creating plugins/Makefile creating plugins-scripts/Makefile creating plugins-scripts/subst creating plugins-scripts/utils.pm creating plugins-scripts/utils.sh creating command.cfg creating test.pl creating plugins/config.h plugins/config.h is unchanged creating plugins/common.h plugins/common.h is unchanged creating plugins/version.h plugins/version.h is unchanged creating plugins/netutils.h plugins/netutils.h is unchanged creating plugins/utils.h plugins/utils.h is unchanged creating plugins/popen.h plugins/popen.h is unchanged ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spstarr at sh0n.net Tue Apr 29 04:40:05 2003 From: spstarr at sh0n.net (Shawn Starr) Date: Mon, 28 Apr 2003 22:40:05 -0400 Subject: Nagios question on State type Message-ID: <000001c30df8$a5cf90c0$030aa8c0@panic> Hello, I'm currently playing with Nagios on my local network and I'm wondering why the state type is HARD when the current status is OK? When the status goes into CRITICAL or UNKNOWN the state type goes into SOFT (isn't this backwards?) This occurs on active and passive checks. If a service (passive or active) recovers, how can I force the state type to be SOFT again? -- example of active -- Current Status: OK Status Information: HTTP ok: HTTP/1.1 200 OK - 0.007 second response time Current Attempt: 1/3 State Type: HARD Last Check Type: ACTIVE Shawn. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Apr 29 05:13:42 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 29 Apr 2003 13:13:42 +1000 Subject: Nagios question on State type In-Reply-To: <000001c30df8$a5cf90c0$030aa8c0@panic>; from spstarr@sh0n.net on Mon, Apr 28, 2003 at 10:40:05PM -0400 References: <000001c30df8$a5cf90c0$030aa8c0@panic> Message-ID: <20030429131340.B99951@IPAustralia.Gov.AU> Dear Sir, This may answer your question, On Mon, Apr 28, 2003 at 10:40:05PM -0400, Shawn Starr wrote: > Hello, I'm currently playing with Nagios on my local network and I'm > wondering why the state type is HARD when the current status is OK? > > When the status goes into CRITICAL or UNKNOWN the state type goes into SOFT > (isn't this backwards?) > http:///nagios/docs/statetypes.html. > This occurs on active and passive checks. If a service (passive or active) > recovers, how can I force the state type to be SOFT again? > > -- example of active -- > Current Status: OK > Status Information: HTTP ok: HTTP/1.1 200 OK - 0.007 second response time > Current Attempt: 1/3 > State Type: HARD > Last Check Type: ACTIVE > The Nagios documentation is required reading to understand questions like these. 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Tue Apr 29 06:11:06 2003 From: nagios at nagios.org (Ethan Galstad) Date: Mon, 28 Apr 2003 23:11:06 -0500 Subject: Nagios on Mainframe In-Reply-To: <20030425210527.10170.qmail@pod-163.dolphin-server.co.uk> References: <20030425210527.10170.qmail@pod-163.dolphin-server.co.uk> Message-ID: <3EADB50A.30500.17FA756@localhost> I was just contacted by one of the folks at IBM who offered developer access to one of these machines, so this might be fixed sometime soon. I indicated that we'd need access for the plugin developers as well as myself. When I hear back from him, we can start looking at build issues. On 25 Apr 2003 at 21:05, biggibby wrote: > > Has anyone contacted the developers to port Nagios to a mainframe? > Could be very useful there? I've currently set it up on an Intel box > to monitor Linux for zSeries images. Tried to compile it to a > mainframe image but it biffed due to architecture issues. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.DeBlende at dhl.com Tue Apr 29 09:09:03 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Tue, 29 Apr 2003 09:09:03 +0200 Subject: Status Map, Pop-up questions In-Reply-To: <1FFE723C45371B46948FA414FDA153B10B2D23BA@ilnort1msgusr08.itservices.sbc.com> References: <1FFE723C45371B46948FA414FDA153B10B2D23BA@ilnort1msgusr08.itservices.sbc.com> Message-ID: <3EAE250F.9070506@dhl.com> VANTASSLE, GEORDON M (SBCSI) wrote: > Like I said, it's driving me NUTS! :) > Me too... ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From testrm at kisters.com Tue Apr 29 11:17:32 2003 From: testrm at kisters.com (Ralf Mellis) Date: Tue, 29 Apr 2003 11:17:32 +0200 Subject: NSClient CPULoad: Division by zero In-Reply-To: <516DA7BE5D87C8469D89F150CA0B491197B8E1@PDAWB02C.ad.sprint.com> References: <516DA7BE5D87C8469D89F150CA0B491197B8E1@PDAWB02C.ad.sprint.com> Message-ID: <3EAE432C.2080904@kisters.com> Martin, Stanley G wrote: > I've seen this also and was wondering if the same problem shows up on > your server as well. If you run Perfmon that ships with Windows 2000, > do the counters for Processor show up. I've got a few servers that are > missing performance counters and Processor is one of them. If you've > ever used the utilities from Sysinternals.com and in particular psinfo, > I am also unable to get the system uptime on these same servers. > I have checked out perfmon, cpu utilization of all three affected systems is showing up properly. In addition I tested the servers with the pstools suite from sysinternals. Two of the servers are displaying the uptime correctly, one of them says "Error reading uptime" (psinfo). Do you have solved the problem with yout servers? > ... >> I'm using nagios 1.0 with plugins 1.3 and nsclient 1.0.7.1. >> I have set up several windows servers (nt4 sp6a and w2k sp3) >> successfully with >> services like WINS (standard nagios tcp service), Diskspace (nsclient) >> and so on. >> >> But: Three of my w2k-servers are reporting (check_nt -v CPULOAD): >> >> "NSClient - ERROR:Malformed request or internal error. Check >> EventLog:None&2&10 " >> >> I have checked the eventlog and there is the entry: >> >> "Division by zero." >> >> from source "NSClient" with event id 2. >> ... Bye -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From testrm at kisters.com Tue Apr 29 11:34:20 2003 From: testrm at kisters.com (Ralf Mellis) Date: Tue, 29 Apr 2003 11:34:20 +0200 Subject: NSClient CPULoad: Division by zero In-Reply-To: <516DA7BE5D87C8469D89F150CA0B491197B8E1@PDAWB02C.ad.sprint.com> References: <516DA7BE5D87C8469D89F150CA0B491197B8E1@PDAWB02C.ad.sprint.com> Message-ID: <3EAE471C.2050701@kisters.com> Hello again, now I have configured the "check_nt -v UPTIME" command on the three w2k servers with the division by zero error issuing the "check_nt -v CPULOAD" command. On all three servers nsclient reports "System Uptime : 0 day(s) 0 hour(s) 0 minute(s) " (!?). As I mentioned before, two of theses three servers are reporting the correct uptime using the sysinternals tool psinfo, one of them not. Has anyone an idea, to correct the behaviour of theses servers (registry, performance counters ore something)?? Bye -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardoleitao at interacesso.pt Tue Apr 29 12:21:39 2003 From: eduardoleitao at interacesso.pt (Eduardo =?ISO-8859-1?Q?Leit=E3o?=) Date: 29 Apr 2003 11:21:39 +0100 Subject: Check_ircd In-Reply-To: References: Message-ID: <1051611699.29799.7.camel@Monitor> Hi I've a problem with check_ircd i got the message "IRCD UNKNOWN: Could not connect socket (Invalid argument)" and i don't know what is wrong, can you help given me an idea how to solve this problem. Another question is, why i was banned from the nagios users list? Best regards Eduardo ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.G.Martin at mail.sprint.com Tue Apr 29 14:09:37 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G) Date: Tue, 29 Apr 2003 07:09:37 -0500 Subject: NSClient CPULoad: Division by zero Message-ID: <516DA7BE5D87C8469D89F150CA0B4911A48FDE@PDAWB02C.ad.sprint.com> The people at Sysinternals.com say that they access Performance Counters to get the uptime. So, it seems you have a problem there, but we've not yet solved the problem with the others. We have reloaded performance counters, re-applied Service Packs and Hot Fixes. We're not quite sure yet if one of the latest Hot Fixes may have broken this. Microsoft's resolution for missing perf counters is to re-apply SP and Hot Fixes. Stanley G. Martin System Administrator Sprint - Enterprise Information & Sales Support -----Original Message----- From: Ralf Mellis [mailto:testrm at kisters.com] Sent: Tuesday, April 29, 2003 4:18 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NSClient CPULoad: Division by zero Martin, Stanley G wrote: > I've seen this also and was wondering if the same problem shows up on > your server as well. If you run Perfmon that ships with Windows 2000, > do the counters for Processor show up. I've got a few servers that are > missing performance counters and Processor is one of them. If you've > ever used the utilities from Sysinternals.com and in particular psinfo, > I am also unable to get the system uptime on these same servers. > I have checked out perfmon, cpu utilization of all three affected systems is showing up properly. In addition I tested the servers with the pstools suite from sysinternals. Two of the servers are displaying the uptime correctly, one of them says "Error reading uptime" (psinfo). Do you have solved the problem with yout servers? > ... >> I'm using nagios 1.0 with plugins 1.3 and nsclient 1.0.7.1. >> I have set up several windows servers (nt4 sp6a and w2k sp3) >> successfully with >> services like WINS (standard nagios tcp service), Diskspace (nsclient) >> and so on. >> >> But: Three of my w2k-servers are reporting (check_nt -v CPULOAD): >> >> "NSClient - ERROR:Malformed request or internal error. Check >> EventLog:None&2&10 " >> >> I have checked the eventlog and there is the entry: >> >> "Division by zero." >> >> from source "NSClient" with event id 2. >> ... Bye -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Apr 29 14:22:25 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 29 Apr 2003 08:22:25 -0400 (EDT) Subject: Check_ircd In-Reply-To: <1051611699.29799.7.camel@Monitor> References: <1051611699.29799.7.camel@Monitor> Message-ID: Hi Eduardo You are not banned from any list as you will find your message archived at http://article.gmane.org/gmane.network.nagios.user/9472/match=eduardo -sg On 29 Apr 2003, Eduardo Leit?o wrote: > Hi > > I've a problem with check_ircd i got the message "IRCD UNKNOWN: Could > not connect socket (Invalid argument)" and i don't know what is wrong, > can you help given me an idea how to solve this problem. > > Another question is, why i was banned from the nagios users list? > > Best regards > Eduardo > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ianf at Oceanwide.com Tue Apr 29 15:14:28 2003 From: ianf at Oceanwide.com (Ian Farr) Date: Tue, 29 Apr 2003 09:14:28 -0400 Subject: timeouts for check_ping plugin Message-ID: Hello all, I am getting lost of these in my logs (note the Plugin timed out after 10 seconds lines): [04-29-2003 03:48:20] SERVICE ALERT: owsw-wcmgmt-01;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 4.18 ms [04-29-2003 03:47:25] SERVICE ALERT: owsw-wcmgmt-01;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [04-29-2003 03:40:20] SERVICE ALERT: owsw-wcmgmt-01;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 5.71 ms [04-29-2003 03:38:25] SERVICE ALERT: owsw-wcmgmt-01;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [04-29-2003 03:23:00] SERVICE ALERT: owsw-wcmgmt-01;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 4.14 ms [04-29-2003 03:22:25] SERVICE ALERT: owsw-wcmgmt-01;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [04-29-2003 03:15:50] SERVICE ALERT: owvip-fl-1;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 45.37 ms [04-29-2003 03:15:25] SERVICE ALERT: owvip-fl-1;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [04-29-2003 03:15:10] SERVICE ALERT: owlb-wc-1;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 46.81 ms [04-29-2003 03:14:35] SERVICE ALERT: owlb-wc-1;PING;CRITICAL;SOFT;1;CRITICAL - Plugin timed out after 10 seconds any clues?? I get about 10 of these an hour. I have over 300 ping checks happening (300 ping service checks), and I have an interval of 30 seconds (in the main config file) - is it just too much for nagios to handle?? any thoughts? ____________________ Ian Farr -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.DeBlende at dhl.com Tue Apr 29 15:33:23 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE) Date: Tue, 29 Apr 2003 15:33:23 +0200 Subject: Graphing Network Layout In-Reply-To: <000b01c30d8f$f6ca66d0$220214ac@ips.com.ar> References: <000b01c30d8f$f6ca66d0$220214ac@ips.com.ar> Message-ID: <3EAE7F23.9000205@dhl.com> http://www.nagios.org/faqs/viewfaq.php?faq_id=145 Gustavo Blanco wrote: > Hi, > > > > I?m trying to get my nagios to represent the layout of my network > without success. > > > > I?m running the alerts and monitoring features without problem, but > cannot get the Graphical layout. > > > > Any help will be appreciated. > > > > Thanks > > > > Gustavo Blanco > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dbishop at ehvert.com Tue Apr 29 15:39:05 2003 From: dbishop at ehvert.com (Dean Bishop) Date: Tue, 29 Apr 2003 09:39:05 -0400 Subject: NSClient CPULoad: Division by zero Message-ID: <2E3E9736615DD311895D00105A9CADED014BCC0B@eentsvr40.ehvert.com> Just to clear my muddy brain...where and when exactly are you seeing this division by zero error and what exactly do you mean when you say that you are issuing the command "check_nt -v CPULOAD" on the server (i.e. on which server are you issuing the command). dean -----Original Message----- From: Ralf Mellis [mailto:testrm at kisters.com] Sent: April 29, 2003 9:34 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NSClient CPULoad: Division by zero Hello again, now I have configured the "check_nt -v UPTIME" command on the three w2k servers with the division by zero error issuing the "check_nt -v CPULOAD" command. On all three servers nsclient reports "System Uptime : 0 day(s) 0 hour(s) 0 minute(s) " (!?). As I mentioned before, two of theses three servers are reporting the correct uptime using the sysinternals tool psinfo, one of them not. Has anyone an idea, to correct the behaviour of theses servers (registry, performance counters ore something)?? Bye -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From testrm at kisters.com Tue Apr 29 16:07:57 2003 From: testrm at kisters.com (Ralf Mellis) Date: Tue, 29 Apr 2003 16:07:57 +0200 Subject: NSClient CPULoad: Division by zero In-Reply-To: <2E3E9736615DD311895D00105A9CADED014BCC0B@eentsvr40.ehvert.com> References: <2E3E9736615DD311895D00105A9CADED014BCC0B@eentsvr40.ehvert.com> Message-ID: <3EAE873D.4090606@kisters.com> Dean Bishop wrote: > Just to clear my muddy brain...where and when exactly are you seeing this > division by zero error and what exactly do you mean when you say that you > are issuing the command "check_nt -v CPULOAD" on the server (i.e. on which > server are you issuing the command). > I have a nagios server with nagios 1.0 and nagios-plugins 1.3 (linux). On all windows servers there is the nsclient 1.0.7.1 up and running. I have defined several services for my hostgroups containing all windows servers. These services are launching the plugin "check_nt" (installed on the nagios server during plugin installation) with the options "-v CPULOAD", "-v USEDDISKSPACE" and "-v UPTIME" (with another parameters, as necessary). All windows servers are reporting fine as USEDDISKSPACE is concerned, three of my w2k servers are reporting "NSClient - ERROR:Malformed request or internal error. Check EventLog:None&2&10 " (this in the web gui of nagios) and "Division by zero " (this in the application log with source nsclient on the local w2k server) as CPULOAD is concerned. The UPTIME service for these three servers also does not report the correct values to the nagios server. All other servers are reporting fine. In addition I have checked the three windows servers locally with the sysinternals tool psinfo, on two of them this tool reports the correct values, on one of them it complains about "Error reading uptime". So, IMHO it is obvious that regarding the UPTIME service the psinfo and nsclient service are _not_ querying the same source... It is remarkable, that all my servers are on the same patch level as servicepacks are concerned (w2k --> sp3, nt4 --> sp6a and srp). IMHO the given behaviour can't rely only on the servicepacks, it must have something to do with ie version and/or other installed hotfixes. Now it is up to us, the ms users, to find out the reasons for the errors. I will try do this in the next time... > > dean > -----Original Message----- > From: Ralf Mellis [mailto:testrm at kisters.com] > Sent: April 29, 2003 9:34 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSClient CPULoad: Division by zero > > Hello again, > > now I have configured the "check_nt -v UPTIME" command on the three w2k > servers with the division by zero error issuing the "check_nt -v > CPULOAD" command. > On all three servers nsclient reports "System Uptime : 0 day(s) 0 > hour(s) 0 minute(s) " (!?). > > As I mentioned before, two of theses three servers are reporting the > correct uptime using the sysinternals tool psinfo, one of them not. > > Has anyone an idea, to correct the behaviour of theses servers > (registry, performance counters ore something)?? > > Bye > -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xela0000 at hotmail.com Tue Apr 29 16:01:34 2003 From: xela0000 at hotmail.com (xela xela) Date: Tue, 29 Apr 2003 14:01:34 +0000 Subject: Weird error - Error: Host Status Information Not Found! Message-ID: Hi all, I have installed the latest version of Nagios (1.0 nov 24, 2002) on RedHat Linux and everything is running smootly with my first tests, so I began to add more hosts and services and realize something weird was happening. I currently have a total of 84 hosts and 117 services. But, sometimes when I clic on the "service detail" link, it goes down to 52h/85s or 17h/50s. So it would be just like if the last hosts and services that I added where not ... completly there. If I clic on some of the latests hosts for some details, the web page says :"Error: Host Status Information Not Found!" and if I clic on the service :"Error: Service Status Not Found!". Is there someone who could give me some hints to repair this? Thanks. Alex _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.Verscheure at loria.fr Tue Apr 29 16:37:57 2003 From: Lionel.Verscheure at loria.fr (Lionel Verscheure) Date: Tue, 29 Apr 2003 16:37:57 +0200 Subject: RES: NSClient Addon References: Message-ID: <3EAE8E45.8040307@loria.fr> hiii, ( for information ) Like you advise, i try to : - reinstall the same version = it's nor work better - then i install NSClient v1.06.2 = it's work ( the server is under Win2000 sp3 ) Thanks a lot. Sandro Vaz (UOL) wrote: >Three options: > >0) Look at EventLog entries and see if OS Language is recognized correctly. >If not, alter you conters.defs to point to the correct 4 main perfmon >counters. >1) Downgrade to 1.07.0 or 1.06.2. >2) Remove and reinstall NSClient. Sometimes it works. > >Att., > >Sandro Vaz > >-----Mensagem original----- >De: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Jeyri Bautista >Enviada em: segunda-feira, 28 de abril de 2003 13:07 >Para: nagios-users at lists.sourceforge.net >Assunto: [Nagios-users] NSClient Addon > > >Hi, > >I want to use the NSCLient Addon. >I have running the NSClient service in the win-2000- server, and I >configure the checkcommand.cfg file in the /usr/local/nagios/etc, and copy >the check_nt file to /usr/local/nagios/libexec/. >The Output in the nagios is: >NSClient - ERROR:Malformed request or internal error. Check >EventLog:None&2&60 and when I see the lof file in the Win2000 server only >said Division by zero. > >Anybody can help me? > >Thanks > >Jeyri > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf _______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.476 / Virus Database: 273 - Release Date: 24/4/2003 > > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.476 / Virus Database: 273 - Release Date: 24/4/2003 > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Raj.Mudhar at nottingham.ac.uk Tue Apr 29 16:42:29 2003 From: Raj.Mudhar at nottingham.ac.uk (Raj Mudhar) Date: Tue, 29 Apr 2003 15:42:29 +0100 Subject: Authentication Message-ID: Hi for netsaint the Configuring webserver authentication stuff we were told to add to access.conf in nagios is httpd.conf... this is right yes? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From testrm at kisters.com Tue Apr 29 17:13:03 2003 From: testrm at kisters.com (Ralf Mellis) Date: Tue, 29 Apr 2003 17:13:03 +0200 Subject: Host w/o services are no longer doing check-alive-tests Message-ID: <3EAE967F.5080503@kisters.com> Hi, I'm using nagios 1.0 with plugins 1.3 on a linux host. I have several hosts and services set up successfully. The only drawback: I have some hosts with no services associated yet (routers), they have only a "check_command check-host-alive" in their host definition (defined as "command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1"). In the beginning (one week ago) all hosts were regularly checked with this command and reported as "UP" in the web gui. Since yesterday these hosts still are reported as "UP", but the last checks are executed the last time many hours in the past (up to 30h). In addition three newly defined hosts without services are in state "pending" since definition and reload/restart of the nagios process. All other defined hosts with associated services are checked in the intervals defined in their host definition. The changes I made in the last time were setting up "parents" definitions accordingly to my network layout. I have checked these definitions over and over and IMHO they seem to be OK ("nagios -v nagios.cfg" only gives some warnings regarding having hosts with no services associated). In addition the status map is showing exactly what I wanted to define. Do one have to define services for each host defined? I can't believe this, because a router in my opinion is fully functional (at least in the first step), if it is "alive" (reachable via ping). Hmm... Regards -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Apr 29 17:19:45 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 29 Apr 2003 11:19:45 -0400 (EDT) Subject: Authentication In-Reply-To: References: Message-ID: On Tue, 29 Apr 2003, Raj Mudhar wrote: > Hi for netsaint the Configuring webserver authentication stuff we were told to add to access.conf > > in nagios is httpd.conf... this is right yes? > yes - although even for netsaint you can added it to httpd.conf The difference is an artifact of the early versions of apache and its predecessor ncsa-httpd. They used 3 config files. Apache 1.2 and newer have recommended and shipped with only one config file (httpd.conf). -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Apr 29 17:28:13 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 29 Apr 2003 10:28:13 -0500 Subject: Host w/o services are no longer doing check-alive-tests Message-ID: <5DB017510818EC468B05BD7BD9EACF83030EDE5D@mismail.ena.com> You may have found a bug but it's not the bug you're hoping for. Nagios is primarily a service monitor. Host checks should not be executed at all unless a service check for that host fails. If a host has no services defined then it should never be checked. The parenting aspect _might_ throw in a weird loophole in that logic but it certainly should not be counted on. For your router example (I monitor about 1700 of them), define a host-check of just 1 ping and a service check of 10 pings or whatever you feel comfortable with. Did you ever have services defined for those hosts that were previously showing as up? Do you have retain_state_information enabled? That combination might explain why they had an OK status as opposed to PENDING. -- Marc *Please reply to the list. > -----Original Message----- > From: Ralf Mellis [mailto:testrm at kisters.com] > Sent: Tuesday, April 29, 2003 10:13 AM > To: nagios-users at lists.sourceforge.net > > > Hi, I'm using nagios 1.0 with plugins 1.3 on a linux host. > I have several hosts and services set up successfully. > The only drawback: I have some hosts with no services associated yet > (routers), they have only a "check_command check-host-alive" in their > host definition (defined as "command_line $USER1$/check_ping -H > $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1"). > In the beginning (one week ago) all hosts were regularly checked with > this command and reported as "UP" in the web gui. Since yesterday these > hosts still are reported as "UP", but the last checks are executed the > last time many hours in the past (up to 30h). In addition three newly > defined hosts without services are in state "pending" since definition > and reload/restart of the nagios process. > All other defined hosts with associated services are checked in the > intervals defined in their host definition. > The changes I made in the last time were setting up "parents" > definitions accordingly to my network layout. I have checked these > definitions over and over and IMHO they seem to be OK ("nagios -v > nagios.cfg" only gives some warnings regarding having hosts with no > services associated). > In addition the status map is showing exactly what I wanted to define. > > Do one have to define services for each host defined? I can't believe > this, because a router in my opinion is fully functional (at least in > the first step), if it is "alive" (reachable via ping). > > Hmm... > > Regards > > -- > Ralf Mellis > Abt. DV/ORG > Kisters Maschinenbau GmbH > Germany > 47533 Kleve > Boschstr. 1-3 > Tel. +49(0)2821-503-0 > Fax +49(0)2821-26110 > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From testrm at kisters.com Tue Apr 29 18:05:14 2003 From: testrm at kisters.com (Ralf Mellis) Date: Tue, 29 Apr 2003 18:05:14 +0200 Subject: Host w/o services are no longer doing check-alive-tests In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83030EDE5D@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83030EDE5D@mismail.ena.com> Message-ID: <3EAEA2BA.8040401@kisters.com> Marc Powell wrote: > You may have found a bug but it's not the bug you're hoping for. Nagios > is primarily a service monitor. Host checks should not be executed at > all unless a service check for that host fails. If a host has no > services defined then it should never be checked. The parenting aspect > _might_ throw in a weird loophole in that logic but it certainly should > not be counted on. > > For your router example (I monitor about 1700 of them), define a > host-check of just 1 ping and a service check of 10 pings or whatever > you feel comfortable with. > > Did you ever have services defined for those hosts that were previously > showing as up? Do you have retain_state_information enabled? That > combination might explain why they had an OK status as opposed to > PENDING. > So, I have setup an additional ping service for all hosts...and absolutely all works fine. Thanks a lot. -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardoleitao at interacesso.pt Tue Apr 29 18:02:43 2003 From: eduardoleitao at interacesso.pt (Eduardo =?ISO-8859-1?Q?Leit=E3o?=) Date: 29 Apr 2003 17:02:43 +0100 Subject: sort the services Message-ID: <1051632163.25840.24.camel@Monitor> Hi all, I'm using nagios 1.0 with plugins 1.3 on a linux host Redhat8.0. Does anyone knows how to sort the list of services and host? Thanks Edu ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From testrm at kisters.com Tue Apr 29 18:28:20 2003 From: testrm at kisters.com (Ralf Mellis) Date: Tue, 29 Apr 2003 18:28:20 +0200 Subject: NSClient CPULoad: Division by zero In-Reply-To: <516DA7BE5D87C8469D89F150CA0B4911A48FDE@PDAWB02C.ad.sprint.com> References: <516DA7BE5D87C8469D89F150CA0B4911A48FDE@PDAWB02C.ad.sprint.com> Message-ID: <3EAEA824.3030305@kisters.com> Martin, Stanley G wrote: > The people at Sysinternals.com say that they access Performance Counters > to get the uptime. So, it seems you have a problem there, but we've not > yet solved the problem with the others. We have reloaded performance > counters, re-applied Service Packs and Hot Fixes. We're not quite sure > yet if one of the latest Hot Fixes may have broken this. Microsoft's > resolution for missing perf counters is to re-apply SP and Hot Fixes. > Now I have applied _all_ actual fixes and patches and reapplied sp3 to one of my servers, but no change in behaviour at all, there is still the "division by zero" prob... Annoying :-( -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Apr 29 18:38:12 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 29 Apr 2003 11:38:12 -0500 Subject: sort the services Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D43EF@mismail.ena.com> Click on the up and down arrows at the top of each column. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Eduardo Leit?o To: Tom.DeBlende at dhl.com ; sghosh at sghosh.org ; Nagios List Sent: Tue Apr 29 11:02:43 2003 Subject: [Nagios-users] sort the services Hi all, I'm using nagios 1.0 with plugins 1.3 on a linux host Redhat8.0. Does anyone knows how to sort the list of services and host? Thanks Edu ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 mp at xmission.com Tue Apr 29 18:59:53 2003 From: mp at xmission.com (Myke Place) Date: Tue, 29 Apr 2003 10:59:53 -0600 Subject: timeouts for check_ping plugin In-Reply-To: ; from ianf@Oceanwide.com on Tue, Apr 29, 2003 at 09:14:28AM -0400 References: Message-ID: <20030429105953.A2768@xmission.com> * Ian Farr (ianf at Oceanwide.com) [030429 07:35] spake thusly: > > I get about 10 of these an hour. I have over 300 ping checks happening > (300 ping service checks), and I have an interval of 30 seconds (in > the main config file) - is it just too much for nagios to handle?? > > any thoughts? My first thought would be to look at the 'Performance Info' page to see how quickly your checks are being executed. Perhaps after you post some of those numbers, others could comment on whether or not indicate an overload on the machine running Nagios? I would be interested in what sorts of numbers others are seeing for their check execution times. -mp ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick_leboutillier at hotmail.com Tue Apr 29 18:56:41 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Tue, 29 Apr 2003 12:56:41 -0400 Subject: Nagios heavy load check Message-ID: Hi all, Is it possible for Nagios to send notifications when it starts getting to much behind in it's checks? We had a previous monitoring tool that had that problem. It would get overwhelmed with tests (especially when many timeouts occured). I guess I could use a cron to check the scheduling queue CGI, but maybe there is a better way (maybe when max_concurrent_checks=20 is reached to often or something like that). Thanks, --------------------- Patrick LeBoutillier Laval, Quebec, Canada ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lionel.Ostric at arm.com Tue Apr 29 18:56:39 2003 From: Lionel.Ostric at arm.com (Lionel.Ostric at arm.com) Date: Tue, 29 Apr 2003 18:56:39 +0200 Subject: Perl5.8.0 Message-ID: Hi all, I'm trying to get Nagios working on a Redhat 8 with the embeded perl interpreter. I would like to know if a solution (other than installing perl 5.6.1 which is painful) has been found to make nagios work with perl 5.8.... Thanks ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Tue Apr 29 19:29:14 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Tue, 29 Apr 2003 13:29:14 -0400 Subject: Error: Host Status Information Not Found Message-ID: Hi all, I have installed Nagios v1.0 on a RedHat 8 server and everything was working right in my tests with about 10 hosts and 30 services. So I began to add a couple of hosts and services, up to 84 hosts and 117 services. The thing is, when I clic on "service detail" I get sometimes 84h/117s or 52h/85s or 17h/50s. On top of that, when I clic on the lasts services or hosts that I added I get the errors "Error: Service Status Not Found!" or "Error: Host Status Information Not Found". So I think :"mabe I need to wait for a day so that the logs rotate, but I did wait 2 days and thinking about it host status and service status are live. Is there someone out there with some idears? Thanks. Alex ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Apr 29 19:40:34 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 29 Apr 2003 12:40:34 -0500 Subject: Error: Host Status Information Not Found Message-ID: <5DB017510818EC468B05BD7BD9EACF83030EDE66@mismail.ena.com> I'll bet even money you have multiple copies of Nagios running. Stop the service then use ps to see. If you do, kill the others and restart Nagios. -- Marc > -----Original Message----- > From: Serveur-Faucon Surveillance [mailto:SrvFaucon at cslaval.qc.ca] > Sent: Tuesday, April 29, 2003 12:29 PM > To: nagios-users at lists.sourceforge.net > > Hi all, > > I have installed Nagios v1.0 on a RedHat 8 server and everything was > working right in my tests with about 10 hosts and 30 services. So I began > to add a couple of hosts and services, up to 84 hosts and 117 services. > > The thing is, when I clic on "service detail" I get sometimes 84h/117s or > 52h/85s or 17h/50s. On top of that, when I clic on the lasts services or > hosts that I added I get the errors "Error: Service Status Not Found!" or > "Error: Host Status Information Not Found". > > So I think :"mabe I need to wait for a day so that the logs rotate, but I > did wait 2 days and thinking about it host status and service status are > live. > > Is there someone out there with some idears? Thanks. > > Alex > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ifox at manu.com Tue Apr 29 19:41:13 2003 From: ifox at manu.com (ifox at manu.com) Date: Tue, 29 Apr 2003 13:41:13 -0400 Subject: [Nagios Plugins v1.3.0] check_mailq on Solaris Message-ID: All, I'm getting the following error when trying to run the check_mailq plugin on a Solaris 2.8 ("v8"). ===================== snap shot================================== /usr/local/nagios/libexec/check_mailq -w 3 -c 6 Use of uninitialized value at /usr/local/nagios/libexec/check_mailq line 110. Use of uninitialized value at /usr/local/nagios/libexec/check_mailq line 110. | mailq = Use of uninitialized value at /usr/local/nagios/libexec/check_mailq line 111. # =================eof============================================ I get this regardless if the mailq is empty of it has any # of messages.. /usr/bin/mailq works as expected.. Anyone else come across this? I have tried with two different version of perl 5.005_03 built for sun4-solaris and v5.6.1 built for sun4-solaris No luck.. any info most appreciated, - Ira -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Tue Apr 29 20:11:21 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 29 Apr 2003 14:11:21 -0400 (EDT) Subject: [Nagios Plugins v1.3.0] check_mailq on Solaris In-Reply-To: References: Message-ID: Can you try the verbose option on the command line and also post the output of mailq Looks like a permission issue in that mailq cannot be urn by Nagios. -sg On Tue, 29 Apr 2003 ifox at manu.com wrote: > All, > > I'm getting the following error when trying to run the check_mailq plugin > on a Solaris 2.8 ("v8"). > > ===================== snap shot================================== > /usr/local/nagios/libexec/check_mailq -w 3 -c 6 > Use of uninitialized value at /usr/local/nagios/libexec/check_mailq line > 110. > Use of uninitialized value at /usr/local/nagios/libexec/check_mailq line > 110. > | mailq = > Use of uninitialized value at /usr/local/nagios/libexec/check_mailq line > 111. > # > =================eof============================================ > > I get this regardless if the mailq is empty of it has any # of messages.. > > /usr/bin/mailq works as expected.. > > > Anyone else come across this? > > I have tried with two different version of perl 5.005_03 built for > sun4-solaris and v5.6.1 built for sun4-solaris > No luck.. > > any info most appreciated, > > > - Ira > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brandon at roguetrader.com Tue Apr 29 20:38:29 2003 From: brandon at roguetrader.com (Brandon Gillespie) Date: Tue, 29 Apr 2003 12:38:29 -0600 Subject: How to configure to always alert via email, but only send pages during given windows Message-ID: <3EAEC6A5.7070803@roguetrader.com> I see in the contact configuration the ability to define a service notification period, but I still want it to email me outside of that period (so always email, only page during the window). I see lots of stuff for changing the window, but it all seems like an on or off switch, nothing that allows a half-off state (so you still get the emails). -Brandon Gillespie ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Apr 29 20:49:58 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 29 Apr 2003 13:49:58 -0500 Subject: How to configure to always alert via email, but only send pages during given windows Message-ID: <5DB017510818EC468B05BD7BD9EACF83030EDE6D@mismail.ena.com> Set up two contacts, one with email 24x7 and another with pageing during your window. Add them both to the contact-group for your services. -- Marc > -----Original Message----- > From: Brandon Gillespie [mailto:brandon at roguetrader.com] > Sent: Tuesday, April 29, 2003 1:38 PM > To: nagios-users at lists.sourceforge.net > > I see in the contact configuration the ability to define a service > notification period, but I still want it to email me outside of that > period (so always email, only page during the window). I see lots of > stuff for changing the window, but it all seems like an on or off > switch, nothing that allows a half-off state (so you still get the > emails). > > -Brandon Gillespie > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nick at docmagic.com Tue Apr 29 21:31:31 2003 From: nick at docmagic.com (Nicholas Bernstein) Date: 29 Apr 2003 12:31:31 -0700 Subject: Decreasing the number of false warnings Message-ID: <1051644691.7804.114.camel@nick.docmagic.com> I have a problem where a lot of servers will go critical with the ping_check all at once. I'm assuming that this is due to load on the nagios server, and was wondering if any of you had some recommendations as to how to get these to go away. The machine it's running on is a rh linux box with no other services running on it, aside from ntp, and a samba share of the config files so it's easy for the windows admin to make changes. It's a 330 mhz box with a new 120 gig (fast) hd, and a 10/100 nic. I would like to keep the ping checks fairly close together, and was wondering what you all thought about the best way to tune it to not give the warnings. Thanks, Nick -- +---------------------------------------------------------------+ | Nicholas Bernstein | nick at docmagic.com | | UNIX Systems Administrator | http://www.docmagic.com | | Document Systems Inc. | | +---------------------------------------------------------------+ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick_leboutillier at hotmail.com Tue Apr 29 21:50:20 2003 From: patrick_leboutillier at hotmail.com (Patrick LeBoutillier) Date: Tue, 29 Apr 2003 15:50:20 -0400 Subject: check_nagios with MySQL Message-ID: How can check_nagios be used when Nagios is configured with MySQL? In this fashion the status.log file is no longer produced and the check fails. Thanks, --------------------- Patrick LeBoutillier Laval, Quebec, Canada ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Apr 29 22:20:15 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 29 Apr 2003 16:20:15 -0400 (EDT) Subject: check_nagios with MySQL In-Reply-To: References: Message-ID: On Tue, 29 Apr 2003, Patrick LeBoutillier wrote: > How can check_nagios be used when Nagios is configured with MySQL? > In this fashion the status.log file is no longer produced and the check > fails. > plugins/contrib/check_nagios_db.pl -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chrismcc at pricegrabber.com Tue Apr 29 22:27:34 2003 From: chrismcc at pricegrabber.com (Christopher McCrory) Date: 29 Apr 2003 13:27:34 -0700 Subject: Decreasing the number of false warnings In-Reply-To: <1051644691.7804.114.camel@nick.docmagic.com> References: <1051644691.7804.114.camel@nick.docmagic.com> Message-ID: <1051648054.8037.4.camel@morticia.pricegrabber.com> Hello... On Tue, 2003-04-29 at 12:31, Nicholas Bernstein wrote: > I have a problem where a lot of servers will go critical with the > ping_check all at once. I'm assuming that this is due to load on the > nagios server, and was wondering if any of you had some recommendations > as to how to get these to go away. The machine it's running on is a rh > linux box with no other services running on it, aside from ntp, and a > samba share of the config files so it's easy for the windows admin to > make changes. It's a 330 mhz box with a new 120 gig (fast) hd, and a > 10/100 nic. I would like to keep the ping checks fairly close together, > and was wondering what you all thought about the best way to tune it to > not give the warnings. > I suspect you are having a network problem, hence the warnings If you are monitoring other services than ping, reduce the ping interval. If check_http, etc works then why bother with lots of pings. Also, you might try fping. > Thanks, > Nick -- Christopher McCrory "The guy that keeps the servers running" chrismcc at pricegrabber.com http://www.pricegrabber.com Let's face it, there's no Hollow Earth, no robots, and no 'mute rays.' And even if there were, waxed paper is no defense. I tried it. Only tinfoil works. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 29 22:36:26 2003 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 29 Apr 2003 15:36:26 -0500 (CDT) Subject: Decreasing the number of false warnings In-Reply-To: <1051644691.7804.114.camel@nick.docmagic.com> References: <1051644691.7804.114.camel@nick.docmagic.com> Message-ID: On 29 Apr 2003, Nicholas Bernstein wrote: > I have a problem where a lot of servers will go critical with the > ping_check all at once. I'm assuming that this is due to load on the > nagios server, and was wondering if any of you had some recommendations > as to how to get these to go away. The machine it's running on is a rh > linux box with no other services running on it, aside from ntp, and a > samba share of the config files so it's easy for the windows admin to > make changes. It's a 330 mhz box with a new 120 gig (fast) hd, and a > 10/100 nic. I would like to keep the ping checks fairly close together, > and was wondering what you all thought about the best way to tune it to > not give the warnings. > My guess is that the ping problems you describe are unrelated to the load on the Nagios box. All the Nagios plugis are lightweight and shouldn't throw too much of load. I suspect that there are network issues between your Nagios box and the hosts you are monitoring. Take a close look at the load on the Nagios box next time you see this phenomenon. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 icnet.com.ve Tue Apr 29 22:55:19 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Tue, 29 Apr 2003 16:55:19 -0400 Subject: Check memory use with Check_nt Message-ID: <5.1.0.14.0.20030429165250.00b4e650@pop.icnet.com.ve> Hi, I?m using the check_nt for monitor the memory use, but I?m seeing that the output is the total memory (physical and virtual), but I want to see only the physical memory. How can I do it? Jeyri ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue Apr 29 23:24:25 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 29 Apr 2003 16:24:25 -0500 Subject: Decreasing the number of false warnings Message-ID: Depends on how many checks you're running. During my early trial of Nagios, I was running on a 500 MHz host. At some point, it just started running out of steam and the checks started to get network timeouts. This is a completely back-of-the-envelope guesstimate, but if you're running any more than about 300 checks, you might want to consider upgrading to a faster box. Just my $0.02. jc > -----Original Message----- > From: Nicholas Bernstein [mailto:nick at docmagic.com] > Sent: Tuesday, April 29, 2003 2:32 PM > To: Nagios-Users > Subject: [Nagios-users] Decreasing the number of false warnings > > > I have a problem where a lot of servers will go critical with the > ping_check all at once. I'm assuming that this is due to load on the > nagios server, and was wondering if any of you had some > recommendations > as to how to get these to go away. The machine it's running on is a rh > linux box with no other services running on it, aside from ntp, and a > samba share of the config files so it's easy for the windows admin to > make changes. It's a 330 mhz box with a new 120 gig (fast) hd, and a > 10/100 nic. I would like to keep the ping checks fairly close > together, > and was wondering what you all thought about the best way to > tune it to > not give the warnings. > > Thanks, > Nick > -- > +---------------------------------------------------------------+ > | Nicholas Bernstein | nick at docmagic.com | > | UNIX Systems Administrator | http://www.docmagic.com | > | Document Systems Inc. | | > +---------------------------------------------------------------+ > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sourceforge at rainer.net Tue Apr 29 23:38:33 2003 From: sourceforge at rainer.net (Rainer) Date: Tue, 29 Apr 2003 18:38:33 -0300 Subject: check_local_disk with MBs instead of % Message-ID: <5.2.1.1.2.20030429183818.00b5ebc0@wheresmymailserver.com> Hello, How can I use the check_local_disk plug-in with a "free X MBs" instead of "free X%" argument? check_local_disk!300!200!"/dev/sda1" would send a WARNING notification when /dev/sda1 has only 300mb free, and a CRITICAL notification when it reaches 200mb. Could it also be accomplished on Windows machines with NSClient (check_nt_disk) ? check_nt_disk!C!300!200 Thanks in advance, Rainer ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue Apr 29 23:47:02 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 29 Apr 2003 16:47:02 -0500 Subject: Eventlog Message-ID: This just in: I've just learned of another took which might be another way to slice and dice the logs. Found out about the Epylog log analyzer, courtesy of the author of yum: Epylog: http://linux.duke.edu/projects/epylog/ Yum: http://linux.duke.edu/projects/yum/ Not sure how versatile Epylog would be, but apparently it does support syslog-ng. Check out the sample output. jc > -----Original Message----- > From: White, Chad (MED) [mailto:chad.white at med.ge.com] > Sent: Thursday, April 03, 2003 1:03 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Eventlog > > > I would really appreciate if you could send me your patch. From > reading your description below it looks like the only thing that I > would like that your patched version of logmuncher doesn't do is the > ability to weed out multiple hits that are the same problem over and > over. That isn't a very big deal compared to the flexibility > that you > get with this setup though. > > I'll be sure to email the author and let him know that we are > enjoying > your patch if everything works out ;) > > thx, > --chd > > On Thursday, April 3, 2003, at 06:33 AM, Russell Adams wrote: > > > I modified Logmuncher to work with the multi-host directory > hierarchy > > I setup, and returned a patch to the author. I'd be happy > to give you > > a copy of the patch, or you can try emailing the author. I'm hoping > > he'll integrate it into the next release. > > > > > > > > Here's a sample config: /etc/logmuncher/conf/soja > > > > subject soja %d %t Logmuncher Report > > header ********** soja Log Entries ********** > > > > mtailfile /var/log/HOSTS/soja/*/*/*/* > > re-ignore /etc/logmuncher/patterns/common > > re-ignore /etc/logmuncher/patterns/soja > > send-report rladams at kNeOlSsPeAyM-seybold.com > > > > This sample file just uses two exclude dictionaries, common (for > > messages common to all hosts) and soja (for just that host). I have > > other files that use the "re-report" to watch for specific patterns > > and send out mail to email pagers when certain messages occur. > > > > The mtailfile directive is added by my patch, to take a multi-file > > argument for the files to examine with logtail. My hosts > all log into > > /var/log/HOSTS/hostname/year/month/day/loglevel, and I have a script > > that archives anything older than 2 months in order to keep > the number > > of files to parse down. > > > > Having individual config files per host, and individual > pattern files > > / dictionaries makes multi-host management with Logmuncher a > > breeze. Works like a charm too. > > > > Russell > > > > On Wed, Apr 02, 2003 at 05:27:43PM -0800, White, Chad (MED) wrote: > >> > >> On Wednesday, April 2, 2003, at 01:43 PM, Russell Adams wrote: > >> > >> > >>> Having used several log parsing packages, I found > LogSentry was quite > >>> good, but its now unavailable. Cisco bought Psionic Software > >>> (www.psionic.com) and all their software (LogSentry, PortSentry, > >>> HostSentry) is offline, though originally GPL'ed. :P > >> > >> Actually, I just found out today that you can still get those > >> packages. > >> The URL is now www.psionic.org. I couldn't find it in a Google > >> search, but I just randomly tried changing the com to .org and was > >> pleasantly surprised ;) > >> > >> > >>> About 8 months ago when I setup my central syslog host, I > decided on > >>> syslog-ng with a multi-host directory hierarchy > >>> (/var/log/HOSTS/hostname/year/month/day/loglevel). I also > evaluated > >>> Logmuncher at that time. I've found I prefer Logmuncher's > flexibility > >>> with my setup. A minor modification to Logmuncher to support the > >>> multi-host directory hierarchy and I've used it ever > since. It works > >>> much like LogSentry, having dictionaries of regexp statements that > >>> match patterns in syslog messages to ignore, warn about > by default, > >>> or > >>> immediately notify the admin as critical. As it stands, I have a > >>> common dictionary across my hosts, and then host specific > >>> dictionaries > >>> for ignore, warn, and critical. It sends email reports, and is > >>> configured to send critical emails to my pager via email. > Logmuncher > >>> runs only on my central host at 5 minute intervals. > >> > >> > >> What did you do to Logmuncher to allow for multiple hosts > in separate > >> directories? That is the situation I am facing as I am using > >> syslog-ng > >> to centrally collect syslog for all my hosts. What I would also > >> really > >> like is something like logsentry that will give me an > overview of the > >> previous days logs to review each day without a bunch of > duplication. > >> Logsentry does a good job when running on each individual > host but it > >> doesn't look easy to setup for multiple hosts on a logserver... > >> > >> thx, > >> --chd > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: ValueWeb: > > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > > No other company gives more support or power for your > dedicated server > > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > ------------------------------------------------------- > This SF.net email is sponsored by: ValueWeb: > Dedicated Hosting for just $79/mo with 500 GB of bandwidth! > No other company gives more support or power for your dedicated server > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 30 00:20:23 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 29 Apr 2003 18:20:23 -0400 (EDT) Subject: check_local_disk with MBs instead of % In-Reply-To: <5.2.1.1.2.20030429183818.00b5ebc0@wheresmymailserver.com> References: <5.2.1.1.2.20030429183818.00b5ebc0@wheresmymailserver.com> Message-ID: On Tue, 29 Apr 2003, Rainer wrote: > Hello, > > How can I use the check_local_disk plug-in with a "free X MBs" instead of > "free X%" argument? > > check_local_disk!300!200!"/dev/sda1" > would send a WARNING notification when /dev/sda1 has only 300mb free, and a > CRITICAL notification when it reaches 200mb. > > Could it also be accomplished on Windows machines with NSClient > (check_nt_disk) ? > check_nt_disk!C!300!200 > > > Thanks in advance, > > Rainer > > You might want to check the options on the actual plugin - check_disk and check_nt -h will print out the help screen. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Apr 30 00:16:55 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Tue, 29 Apr 2003 17:16:55 -0500 Subject: PortSentry vs. Snort Message-ID: It seems that PortSentry itself is no longer available. Either that, or I'm looking in the wrong places. However, Snort *is* an option. Has anyone integrated Snort with Nagios? jc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From darryl.dixon at oxygenforbusiness.com Wed Apr 30 01:30:51 2003 From: darryl.dixon at oxygenforbusiness.com (Darryl Dixon) Date: 30 Apr 2003 11:30:51 +1200 Subject: FW: check_local_disk with MBs instead of % In-Reply-To: <554AAFCA2635D5119EDA00B0D0AAD4E3036E923A@SOBSCSR1> References: <554AAFCA2635D5119EDA00B0D0AAD4E3036E923A@SOBSCSR1> Message-ID: <1051659051.1700.79.camel@localhost.localdomain> Hi all, Sorry to jump in on the list like this, but having been forwarded the message below I figured I may as well. About a year ago I modified whatever the current version of the check_nt.c file was to support this functionality. I have been planning to release a diff against the current source (ethan knows about this) as well but just haven't had time yet. If you can afford to wait a week or two I will put this at the top of my 'TODO' list and post the diff shortly... :-) Darryl Dixon (RHCE, MCSE) Unix Systems Administrator Oxygen Business Solutions darryl.dixon at oxygenforbusiness.com On Wed, 2003-04-30 at 10:34, Massey, Craig wrote: > Do you want this one? I think non-subscribers can post to the list, if > not I can do it on your behalf. As I said, a LOT of people ask for this. > > -----Original Message----- > From: Rainer [mailto:sourceforge at rainer.net] > Sent: Wednesday, April 30, 2003 9:39 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_local_disk with MBs instead of % > > > Hello, > > How can I use the check_local_disk plug-in with a "free X MBs" instead > of > "free X%" argument? > > check_local_disk!300!200!"/dev/sda1" > would send a WARNING notification when /dev/sda1 has only 300mb free, > and a > CRITICAL notification when it reaches 200mb. > > Could it also be accomplished on Windows machines with NSClient > (check_nt_disk) ? > check_nt_disk!C!300!200 > > > Thanks in advance, > > Rainer > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Darryl Dixon Oxygen Business Solutions DISCLAIMER: This electronic message together with any attachments is confidential. If you are not the intended recipient, do not copy, disclose or use the contents in any way. Please also advise us by return e-mail that you have received the message and then please destroy. Oxygen Business Solutions is not responsible for any changes made to this message and / or any attachments after sending by Oxygen Business Solutions. We use virus scanning software but exclude all liability for viruses or anything similar in this email or any attachment. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jamie.baddeley at vpc.co.nz Wed Apr 30 02:04:30 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Wed, 30 Apr 2003 12:04:30 +1200 Subject: PortSentry vs. Snort References: Message-ID: <006601c30eac$15902d80$b58031ca@bcl977307> Hi Jim, I've been using snort+acidlab+mysql for a while now. To be honest I've never considered fully integrating the two things other than superficially (i.e an IDS button in the side menu). Taking a quick look at what I've got, it seems that there's probably 3 ways to do it: 1. Extend check_mysql to look into fields of the relevant table of the snort db. (i.e look for sig_name blah in sig_name field inside acid_event table of snort db) 2. Do a check_http on a certain acidlab page and expect a certain response (yuck) 3. Scan /var/log/snort/alert and look for "something" (yuck) It seems to me that extending check_mysql to look inside the db would useful to other people too for different needs. The approach I've detailed above tends to fail if you've got a major intrusion on your hands and you've got stream of alerts. But if if want it to be a trigger to "go look at the IDS now!" then it should work fine. Other approaches would probably involve the snort module sending something to a nagios passive check via a unixsocket (perhaps) or maybe using alert_fast and check_log.pl. I think your approach depends on how you want to be aware of an intrusion. Do you want to wait for a periodic check, or do you need to be notified as it happens (i.e quasi real time). Looking at the Portsentry used to operate I'd guess passive right? So it'd involve this: http://www.snort.org/docs/writing_rules/chap2.html#tth_sEc2.5.5 peace. jamie ----- Original Message ----- From: "Carroll, Jim P [Contractor]" To: "Nagios-Users" Sent: Wednesday, April 30, 2003 10:16 AM Subject: [Nagios-users] PortSentry vs. Snort > It seems that PortSentry itself is no longer available. Either that, or I'm looking in the wrong places. > > However, Snort *is* an option. Has anyone integrated Snort with Nagios? > > jc > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daehenoc at optusnet.com.au Wed Apr 30 04:19:13 2003 From: daehenoc at optusnet.com.au (Greg Vickers) Date: Wed, 30 Apr 2003 12:19:13 +1000 Subject: Host check increases latency Message-ID: <200304300219.h3U2JDX13589@mail011.syd.optusnet.com.au> An embedded and charset-unspecified text was scrubbed... Name: not available URL: From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Apr 30 07:22:11 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 30 Apr 2003 15:22:11 +1000 Subject: Nagios heavy load check In-Reply-To: ; from patrick_leboutillier@hotmail.com on Tue, Apr 29, 2003 at 12:56:41PM -0400 References: Message-ID: <20030430152207.D13916@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Tue, Apr 29, 2003 at 12:56:41PM -0400, Patrick LeBoutillier wrote: > Hi all, > > Is it possible for Nagios to send notifications when it starts getting to > much behind in it's > checks? We had a previous monitoring tool that had that problem. It would > get overwhelmed > with tests (especially when many timeouts occured). > > I guess I could use a cron to check the scheduling queue CGI, but maybe > there is a better way > (maybe when max_concurrent_checks=20 is reached to often or something like > that). If someone hasn't suggested this already, perhaps a cron scheduled check of the Nagios performance page, checking for the average (and perhaps the max) check latency. http:///nagios/cgi-bin/extinfo.cgi?&type=4 You will have to deal with the HTML tables (A Perl check could use HTML::Table or roll your own with HTML::Parser) but this could be simple-mindedly done by searching in the HTML for 'Check Latency:'. > > Thanks, > However, when Nag is tuned on appropriately sized hardware, I have found it performs well and reliably. The only cases of check latency I have seen (or heard about) involve . lots of hosts down (eg power, LAN or shared storage failure) . many many services (>= 1000) . high check frequencies . lossy network connections or flapping services necessitating check retries. For my employers site, Nag is checking 350 services at 5 minute intervals or a target rate of 70 checks/minute. If this were higher (say 100s/min, because either the check interval is small, the checks take more than 5 minutes to complete or there are more services to be checked), then this may be a cause of latency. You should be able to simulate at least part of the load of checking with a fake check that waits as long as your longest check and a simple driver that forks your target check number and execs the fake check (Nag does more than this of course, but this will give you a lower bound on your resources budget) 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 30 07:35:32 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 30 Apr 2003 15:35:32 +1000 Subject: Perl5.8.0 In-Reply-To: ; from Lionel.Ostric@arm.com on Tue, Apr 29, 2003 at 06:56:39PM +0200 References: Message-ID: <20030430153530.E13916@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Tue, Apr 29, 2003 at 06:56:39PM +0200, Lionel.Ostric at arm.com wrote: > > Hi all, > > I'm trying to get Nagios working on a Redhat 8 with the embeded perl > interpreter. that unfortunately you are out of luck. Nag needs patching for embbedded Perl Nagios on hosts that have Perl 5.8.0 built with thread support (which probably means most vendors other than the FreeBSD Perl port). Patches exist and have been tested but have yet to be integrated. (Reply to me privately if you want them). > > I would like to know if a solution (other than installing perl 5.6.1 > which is painful) This may not be to bad _unless_ you have a lot of Perl apps on the Nag host. It may indeed be nothing because on this system Perl (5.8.0), @INC has been modified to use both new and old Perl. >From Perl -V @INC: /usr/local/lib/perl5/site_perl/5.8.0/mach /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach /usr/local/lib/perl5/5.8.0 . (In other words, the old Perl [5.005] modules paths are being searched). However, if you have other Perl apps (RT, HTML::Mason, ..) I would proceed carefully. > has been found to make nagios work with perl 5.8.... Your options are . Perl 5.8.0 without threading . Perl 5.6.1 (with or without thread support) or 5.005_03 (no choice about threads). . no ePN > > Thanks > > > > -- ------------------------------------------------------------------------ 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Wed Apr 30 08:53:40 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Wed, 30 Apr 2003 14:53:40 +0800 Subject: PortSentry vs. Snort In-Reply-To: <006601c30eac$15902d80$b58031ca@bcl977307> References: <006601c30eac$15902d80$b58031ca@bcl977307> Message-ID: <200304301453.48996.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi I think it's not very feasible to extend check_mysql plugin and trigger that "go look at the IDS now" ..you may want to take a look at sguild on sf.net but then again its individual preference. :-) On Wednesday 30 April 2003 08:04, Jamie Baddeley wrote: > Hi Jim, > > I've been using snort+acidlab+mysql for a while now. To be honest I've > never considered fully integrating the two things other than superficially > (i.e an IDS button in the side menu). > > Taking a quick look at what I've got, it seems that there's probably 3 ways > to do it: > > 1. Extend check_mysql to look into fields of the relevant table of the > snort db. (i.e look for sig_name blah in sig_name field inside acid_event > table of snort db) > 2. Do a check_http on a certain acidlab page and expect a certain response > (yuck) > 3. Scan /var/log/snort/alert and look for "something" (yuck) > > It seems to me that extending check_mysql to look inside the db would > useful to other people too for different needs. > > The approach I've detailed above tends to fail if you've got a major > intrusion on your hands and you've got stream of alerts. But if if want it > to be a trigger to "go look at the IDS now!" then it should work fine. > > Other approaches would probably involve the snort module sending something > to a nagios passive check via a unixsocket (perhaps) or maybe using > alert_fast and check_log.pl. > > I think your approach depends on how you want to be aware of an intrusion. > Do you want to wait for a periodic check, or do you need to be notified as > it happens (i.e quasi real time). > > Looking at the Portsentry used to operate I'd guess passive right? So it'd > involve this: > http://www.snort.org/docs/writing_rules/chap2.html#tth_sEc2.5.5 > > peace. > > jamie > > > > > > ----- Original Message ----- > From: "Carroll, Jim P [Contractor]" > To: "Nagios-Users" > Sent: Wednesday, April 30, 2003 10:16 AM > Subject: [Nagios-users] PortSentry vs. Snort > > > It seems that PortSentry itself is no longer available. Either that, or > > I'm looking in the wrong places. > > > However, Snort *is* an option. Has anyone integrated Snort with Nagios? > > > > jc > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null - -- Jasmine Chua "Without change, something sleeps inside us, and seldom awakens. The sleeper must be awaken." -- Duke Leto Atreides -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+r3L4NgvTa7Hj2AURAmaUAKCfSHsExl7wMBOBbQcVdW4I9rmNEgCffxG7 1VonTFzH7s6CW/01Agm4rgc= =bjuD -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.gill at securecirt.com Wed Apr 30 09:40:20 2003 From: jonathan.gill at securecirt.com (Jonathan Gill) Date: Wed, 30 Apr 2003 15:40:20 +0800 Subject: PortSentry vs. Snort In-Reply-To: <200304301453.48996.jasmine.chua@securecirt.com> References: <006601c30eac$15902d80$b58031ca@bcl977307> <200304301453.48996.jasmine.chua@securecirt.com> Message-ID: <200304301540.22027.jonathan.gill@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi All. There is another choice that may be worth looking at. Prelude. Its a hybrid IDS that can work with snort and with "other" log files, from claims I have heard it works with nagios, but I havn't tried it personally. url is http://www.prelude-ids.org/ Should give you a way to tie all events, both nagios and ids together. Hope this helps. Jonathan On Wednesday 30 April 2003 2:53 pm, Jasmine wrote: > Hi > > I think it's not very feasible to extend check_mysql plugin and > trigger that "go look at the IDS now" ..you may want to take a look > at sguild on sf.net but then again its individual preference. > > :-) > > On Wednesday 30 April 2003 08:04, Jamie Baddeley wrote: > > Hi Jim, > > > > I've been using snort+acidlab+mysql for a while now. To be honest > > I've never considered fully integrating the two things other than > > superficially (i.e an IDS button in the side menu). > > > > Taking a quick look at what I've got, it seems that there's > > probably 3 ways to do it: > > > > 1. Extend check_mysql to look into fields of the relevant table of > > the snort db. (i.e look for sig_name blah in sig_name field inside > > acid_event table of snort db) > > 2. Do a check_http on a certain acidlab page and expect a certain > > response (yuck) > > 3. Scan /var/log/snort/alert and look for "something" (yuck) > > > > It seems to me that extending check_mysql to look inside the db > > would useful to other people too for different needs. > > > > The approach I've detailed above tends to fail if you've got a > > major intrusion on your hands and you've got stream of alerts. But > > if if want it to be a trigger to "go look at the IDS now!" then it > > should work fine. > > > > Other approaches would probably involve the snort module sending > > something to a nagios passive check via a unixsocket (perhaps) or > > maybe using alert_fast and check_log.pl. > > > > I think your approach depends on how you want to be aware of an > > intrusion. Do you want to wait for a periodic check, or do you need > > to be notified as it happens (i.e quasi real time). > > > > Looking at the Portsentry used to operate I'd guess passive right? > > So it'd involve this: > > http://www.snort.org/docs/writing_rules/chap2.html#tth_sEc2.5.5 > > > > peace. > > > > jamie > > > > > > > > > > > > ----- Original Message ----- > > From: "Carroll, Jim P [Contractor]" > > To: "Nagios-Users" > > Sent: Wednesday, April 30, 2003 10:16 AM > > Subject: [Nagios-users] PortSentry vs. Snort > > > > > It seems that PortSentry itself is no longer available. Either > > > that, or > > > > I'm looking in the wrong places. > > > > > However, Snort *is* an option. Has anyone integrated Snort with > > > Nagios? > > > > > > jc > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS > > > ::: when > > > > reporting any issue. > > > > > ::: Messages without supporting info will risk being sent to > > > ::: /dev/null > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk > > ::: being sent to /dev/null - -- Jonathan Gill +65 98551701 Chief Technology Officer +65 62436800 SecureCiRT Pte Ltd http://www.securecirt.com/ PGP : 315C 314D CD36 CBFF 728E F167 FCD8 15B7 0287 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+r33k/Nj+exW3AocRAtqjAJsFswxkIwa8EB/r1tOeFLAKI/D+AQCfaHdZ nxSXCH80pWvZn5fQ4MN10VM= =IsNT -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eduardoleitao at interacesso.pt Wed Apr 30 10:55:01 2003 From: eduardoleitao at interacesso.pt (Eduardo =?ISO-8859-1?Q?Leit=E3o?=) Date: 30 Apr 2003 09:55:01 +0100 Subject: Check_ircd In-Reply-To: References: Message-ID: <1051692901.3691.23.camel@Monitor> Hi all, I'm using nagios 1.0 with plugins 1.3 on a linux host Redhat8.0 > That is the check_irdc version, > what version is being used. > What irc server on what port. > > > Hi > > I've a problem with check_ircd i got the message "IRCD UNKNOWN: Could > > not connect socket (Invalid argument)" and i don't know what is wrong, > > can you help given me an idea how to solve this problem. > > > > > > Best regards > > Eduardo ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atulsh at hclinsys.com Wed Apr 30 11:10:01 2003 From: atulsh at hclinsys.com (Atul Shrivastava) Date: Wed, 30 Apr 2003 14:40:01 +0530 (IST) Subject: SNMP-TRAP from Cisco Routers Message-ID: Hello, I want to implement SNMP-TRAP from Cisco Routers to my Nagios Box. Can I do it without NSCA because I can use the SNMP-TRAP daemon on the Nagios Box itself to receive all the traps and this I can do right now. But I don't know how to process these traps into Nagios to generate alerts for that. I want to make these services as Passive and not active. Can you help me in this regard. Regards and have a nice day, Atul Shrivastava Info Structure Services HCL INFOSYSTEMS LTD. E - 4,5,6 Sector XI, Noida - 201301 Tel: 91-120-2526910,2443013 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From casperez at cesga.es Wed Apr 30 11:43:14 2003 From: casperez at cesga.es (casperez at cesga.es) Date: Wed, 30 Apr 2003 11:43:14 +0200 (CEST) Subject: Acknowledged Message-ID: <60440.193.144.34.186.1051695794.squirrel@webmail.cesga.es> Hello, Can somebody say me if a host is acknowleged, yours services and/or the dependent hosts can be acknowleged of the its? Thanks ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Wed Apr 30 12:07:23 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 30 Apr 2003 12:07:23 +0200 Subject: check_snmp and timeout Message-ID: <3EAFA05B.2000307@datavis.se> I'm trying to increase the timeout in check_snmp. According to the help you should be able to specify it with '-t', but the value is never used; [nagios at nagios libexec]$ time ./check_snmp -H 10.20.30.40 -C abc -o 1.2 SNMP problem - No data recieved from host CMD: /usr/bin/snmpget -m NONE -v 1 -c abc 10.20.30.40:161 1.2 real 0m6.017s user 0m0.000s sys 0m0.000s [nagios at nagios libexec]$ [nagios at nagios libexec]$ [nagios at nagios libexec]$ [nagios at nagios libexec]$ time ./check_snmp -H 10.20.30.40 -C abc -o 1.2 -t 30 SNMP problem - No data recieved from host CMD: /usr/bin/snmpget -m NONE -v 1 -c abc 10.20.30.40:161 1.2 real 0m6.018s user 0m0.000s sys 0m0.002s [nagios at nagios libexec]$ I'm using NET-SNMP version: 5.0.1 and nagios-plugins-1.3.0 compiled from source /FredrikW ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 30 12:14:14 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 30 Apr 2003 20:14:14 +1000 Subject: SNMP-TRAP from Cisco Routers In-Reply-To: ; from atulsh@hclinsys.com on Wed, Apr 30, 2003 at 02:40:01PM +0530 References: Message-ID: <20030430201411.A231@IPAustralia.Gov.AU> Dear Sir, I m writing to thank you for your letter and say, On Wed, Apr 30, 2003 at 02:40:01PM +0530, Atul Shrivastava wrote: > Hello, > > I want to implement SNMP-TRAP from Cisco Routers to my Nagios Box. Can I > do it without NSCA because I can use the SNMPTRAP (from > Net-SNMP) daemon on the Nagios > Box itself to receive all the traps and this I can do right now. > But I > don't know how to process these traps into Nagios to generate alerts for > that trap. This is a well documented in the Nag docs. All you have to do is 1 define a trap handler to snmptrapd to process the trap and generate a passive service check result This involves you getting code that is run by snmptrapd to decode the trap and generate the appropriate external command that is then appended to the Nag command file (pipe). Here's some /bin/sh I use for this purpose - illustrative only: only the fragment that actually submits the result. ## yada decode the trap .... set output, state, service_desc, hostname # get the current date/time in seconds since UNIX epoch datetime=`date +%s` # create the command line to add to the command file cmdline="[$datetime] PROCESS_SERVICE_CHECK_RESULT;$hostname;$service_desc;$state;$output" # append the command to the end of the command file `$echocmd $cmdline >> $CommandFile` exit 0 It is all straight out of the snmptrapd docs (on the Net-SNMP web site, among the how-tos) or the Nag docs. 2 Define passive service checks that will accept the 'passive service check result' from the trap handler eg define service{ use generic-service host_name so-hob service_description Frame relay PVC state change check_period none contact_groups network-admins max_check_attempts 1 check_command check_ping2!50!100!1000.0!1500.0 } > I want to make these services as Passive and not active. Can you > help me in this regard. > > 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 30 12:55:52 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 30 Apr 2003 20:55:52 +1000 Subject: check_snmp and timeout In-Reply-To: <3EAFA05B.2000307@datavis.se>; from fredrik.wanglund@datavis.se on Wed, Apr 30, 2003 at 12:07:23PM +0200 References: <3EAFA05B.2000307@datavis.se> Message-ID: <20030430205549.C231@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and suggest you need to make a better case for the check_snmp plugin being at fault. Does tcpdump/tethereal/ethereal host 10.20.30.40 and port 161 show a reply from the host, inside the timeout period ? Here's an example of what I mean (neg example, wrong community) tsitc> tcpdump host so-cbr and port 161 tcpdump: listening on fxp0 20:54:11.739374 tsitc.aipo.gov.au.2613 > so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 20:54:12.749385 tsitc.aipo.gov.au.2613 > so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 20:54:13.759351 tsitc.aipo.gov.au.2613 > so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 20:54:14.769373 tsitc.aipo.gov.au.2613 > so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 20:54:15.779303 tsitc.aipo.gov.au.2613 > so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 20:54:16.789307 tsitc.aipo.gov.au.2613 > so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 ^C 12264 packets received by filter 0 packets dropped by kernel In other words, there was (in this case) no response. 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Wed Apr 30 14:29:45 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 30 Apr 2003 14:29:45 +0200 Subject: check_snmp and timeout] Message-ID: <3EAFC1B9.7000706@datavis.se> OK, 10.20.30.40 is a non-existing host just to show how it looks when check_snmp times out. What I wanted to show was that regardless of whether i have '-t 30' or not the plugin exits after 6 seconds with the message; SNMP problem - No data recieved from host CMD: /usr/bin/snmpget -m NONE -v 1 -c abc 10.20.30.40:161 1.2 If the CMD:... is the complete commandline the plugin calls, then it look like the timeoutvalue is simply ignored by the plugin. /FredrikW Stanley Hopcroft wrote: >Dear Sir, > >I am writing to thank you for your letter and suggest you need to make a >better case for the check_snmp plugin being at fault. > >Does tcpdump/tethereal/ethereal host 10.20.30.40 and port 161 show a >reply from the host, inside the timeout period ? > >Here's an example of what I mean (neg example, wrong community) > >tsitc> tcpdump host so-cbr and port 161 >tcpdump: listening on fxp0 >20:54:11.739374 tsitc.aipo.gov.au.2613 > >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 >20:54:12.749385 tsitc.aipo.gov.au.2613 > >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 >20:54:13.759351 tsitc.aipo.gov.au.2613 > >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 >20:54:14.769373 tsitc.aipo.gov.au.2613 > >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 >20:54:15.779303 tsitc.aipo.gov.au.2613 > >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 >20:54:16.789307 tsitc.aipo.gov.au.2613 > >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 >^C >12264 packets received by filter >0 packets dropped by kernel > >In other words, there was (in this case) no response. > >Yours sincerely. > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at datavis.se Wed Apr 30 14:24:01 2003 From: fredrik.wanglund at datavis.se (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Wed, 30 Apr 2003 14:24:01 +0200 Subject: check_snmp and timeout References: <3EAFA05B.2000307@datavis.se> <20030430205549.C231@IPAustralia.Gov.AU> Message-ID: <3EAFC061.30105@datavis.se> OK, 10.20.30.40 is a non-existing host just to show how it looks when check_snmp times out. What I wanted to show was that regardless of whether i have '-t 30' or not the plugin exits after 6 seconds with the message; SNMP problem - No data recieved from host CMD: /usr/bin/snmpget -m NONE -v 1 -c abc 10.20.30.40:161 1.2 If the CMD:... is the complete commandline the plugin calls, then it look like the timeoutvalue is simply ignored by the plugin. /FredrikW Stanley Hopcroft wrote: >Dear Sir, > >I am writing to thank you for your letter and suggest you need to make a >better case for the check_snmp plugin being at fault. > >Does tcpdump/tethereal/ethereal host 10.20.30.40 and port 161 show a >reply from the host, inside the timeout period ? > >Here's an example of what I mean (neg example, wrong community) > >tsitc> tcpdump host so-cbr and port 161 >tcpdump: listening on fxp0 >20:54:11.739374 tsitc.aipo.gov.au.2613 > >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 >20:54:12.749385 tsitc.aipo.gov.au.2613 > >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 >20:54:13.759351 tsitc.aipo.gov.au.2613 > >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 >20:54:14.769373 tsitc.aipo.gov.au.2613 > >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 >20:54:15.779303 tsitc.aipo.gov.au.2613 > >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 >20:54:16.789307 tsitc.aipo.gov.au.2613 > >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 >^C >12264 packets received by filter >0 packets dropped by kernel > >In other words, there was (in this case) no response. > >Yours sincerely. > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 30 14:51:32 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 30 Apr 2003 08:51:32 -0400 (EDT) Subject: check_snmp and timeout] In-Reply-To: <3EAFC1B9.7000706@datavis.se> References: <3EAFC1B9.7000706@datavis.se> Message-ID: This is a bug - http://sourceforge.net/tracker/index.php?func=detail&aid=683235&group_id=29880&atid=397597 On Wed, 30 Apr 2003, Fredrik W?nglund wrote: > > > OK, 10.20.30.40 is a non-existing host just to show how it looks when > check_snmp times out. > What I wanted to show was that regardless of whether i have '-t 30' or > not the plugin exits > after 6 seconds with the message; > > SNMP problem - No data recieved from host > CMD: /usr/bin/snmpget -m NONE -v 1 -c abc 10.20.30.40:161 1.2 > > If the CMD:... is the complete commandline the plugin calls, then it > look like > the timeoutvalue is simply ignored by the plugin. > > > /FredrikW > > > > Stanley Hopcroft wrote: > > >Dear Sir, > > > >I am writing to thank you for your letter and suggest you need to make a > >better case for the check_snmp plugin being at fault. > > > >Does tcpdump/tethereal/ethereal host 10.20.30.40 and port 161 show a > >reply from the host, inside the timeout period ? > > > >Here's an example of what I mean (neg example, wrong community) > > > >tsitc> tcpdump host so-cbr and port 161 > >tcpdump: listening on fxp0 > >20:54:11.739374 tsitc.aipo.gov.au.2613 > > >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 > >20:54:12.749385 tsitc.aipo.gov.au.2613 > > >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 > >20:54:13.759351 tsitc.aipo.gov.au.2613 > > >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 > >20:54:14.769373 tsitc.aipo.gov.au.2613 > > >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 > >20:54:15.779303 tsitc.aipo.gov.au.2613 > > >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 > >20:54:16.789307 tsitc.aipo.gov.au.2613 > > >so-cbr.aipo.gov.au.snmp: GetRequest(28) system.sysDescr.0 > >^C > >12264 packets received by filter > >0 packets dropped by kernel > > > >In other words, there was (in this case) no response. > > > >Yours sincerely. > > > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Raj.Mudhar at nottingham.ac.uk Wed Apr 30 15:47:19 2003 From: Raj.Mudhar at nottingham.ac.uk (Raj Mudhar) Date: Wed, 30 Apr 2003 14:47:19 +0100 Subject: Newbie question Message-ID: hi I created a .htaccess file in usr/local/nagios/sbin directory.. whats the significance of the . whats it for anyway? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DTerrell at Delphi-Tech.com Wed Apr 30 16:08:56 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Wed, 30 Apr 2003 10:08:56 -0400 Subject: Newbie question Message-ID: <880E60DA7286AB4CBEECB01B169A63BD055BDA4C@NJ-2K-Email1.delphi-tech.com> The '.' by default in unix makes the file hidden from a normal list operation (ls/dir). -----Original Message----- From: Raj Mudhar [mailto:Raj.Mudhar at nottingham.ac.uk] Sent: Wednesday, April 30, 2003 9:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Newbie question hi I created a .htaccess file in usr/local/nagios/sbin directory.. whats the significance of the . whats it for anyway? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Raj.Mudhar at nottingham.ac.uk Wed Apr 30 16:11:17 2003 From: Raj.Mudhar at nottingham.ac.uk (Raj Mudhar) Date: Wed, 30 Apr 2003 15:11:17 +0100 Subject: Monitoring sites question Message-ID: Hi, I have the nagios webinterface setup. Thus i can goto http://Pcname/nagios/ and a page appears. I can also click on Home, Documentation and read away.. Clicking anything under the monitoring section shows OBJECT NOT FOUND. I suppose this is because I have not confiruged anything yet? Or should i still be able to access these pages but they should just show me nothing for now as opposed to Object not found. using rh8. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myarbrough at drgm.com Wed Apr 30 16:30:12 2003 From: myarbrough at drgm.com (Mark Yarbrough) Date: Wed, 30 Apr 2003 07:30:12 -0700 Subject: Newbie question Message-ID: the preceding '.' in all *nix (Linux, UNIX, hp-ux) is the equivalent of a hidden file in windows. Thus making the .htaccess a hidden file to the average user. If do a ls you won't find it... but you will have to do a ls -a to see it. Mark Yarbrough -----Original Message----- From: Raj Mudhar [mailto:Raj.Mudhar at nottingham.ac.uk] Sent: Wednesday, April 30, 2003 6:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Newbie question hi I created a .htaccess file in usr/local/nagios/sbin directory.. whats the significance of the . whats it for anyway? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Apr 30 16:15:30 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 30 Apr 2003 10:15:30 -0400 (EDT) Subject: Newbie question In-Reply-To: References: Message-ID: On Wed, 30 Apr 2003, Raj Mudhar wrote: > hi > > I created a .htaccess file in usr/local/nagios/sbin directory.. whats > the significance of the . whats it for anyway? > > "dot" files are not listed with a standard directory listing in *nix. Similar to MS hidden attribute -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Wed Apr 30 16:45:12 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Wed, 30 Apr 2003 15:45:12 +0100 Subject: Newbie question Message-ID: <1012BD903945D411915500105A48FF57F06BA1@nt.man.fwltech.com> The "." at the front of a file in Unix is the equivalent of marking it as hidden in windows. An ls -a will still show any . files, but a normal ls wont. Ewan > -----Original Message----- > From: Raj Mudhar [mailto:Raj.Mudhar at nottingham.ac.uk] > Sent: 30 April 2003 14:47 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Newbie question > > > hi > > I created a .htaccess file in usr/local/nagios/sbin > directory.. whats the significance of the . whats it for anyway? > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at troutman.org Wed Apr 30 16:23:20 2003 From: mike at troutman.org (Troutman) Date: Wed, 30 Apr 2003 10:23:20 -0400 Subject: Newbie question In-Reply-To: References: Message-ID: <5.2.0.9.0.20030430102014.021c2228@mail.troutman.org> Apache access control. You need one in /sbin and in /share if you use access controls. At 09:47 AM 4/30/2003, you wrote: >I created a .htaccess file in usr/local/nagios/sbin directory.. whats the >significance of the . whats it for anyway? ___________________________________________ Mike Troutman http://www.troutman.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Wed Apr 30 17:03:03 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Wed, 30 Apr 2003 11:03:03 -0400 Subject: Monitoring sites question Message-ID: You need to configure things and make sure that the nagios process is running. If you execute the command ``ps aux | grep [n]agios'' or ``ps -ef | grep -v grep | grep nagios'' (the first command is for linux, the second one is for Solaris) you should see some output similar to this: nagios 18219 0.0 0.3 6732 1372 ? SN Apr02 38:35 /usr/sbin/nagios /etc/nagios/nagios.cfg Otherwise, nagios is not running. Charles H. Baker chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 BOFH excuse #341: HTTPD Error 666 : BOFH was here "Raj Mudhar" To: Sent by: cc: nagios-users-admin at lists.sour Subject: [Nagios-users] Monitoring sites question ceforge.net 04/30/2003 10:11 AM Hi, I have the nagios webinterface setup. Thus i can goto http://Pcname/nagios/ and a page appears. I can also click on Home, Documentation and read away.. Clicking anything under the monitoring section shows OBJECT NOT FOUND. I suppose this is because I have not confiruged anything yet? Or should i still be able to access these pages but they should just show me nothing for now as opposed to Object not found. using rh8. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From testrm at kisters.com Wed Apr 30 17:23:35 2003 From: testrm at kisters.com (Ralf Mellis) Date: Wed, 30 Apr 2003 17:23:35 +0200 Subject: nrpe and plugin binaries for hp-ux 11 Message-ID: <3EAFEA77.2020801@kisters.com> Hello, I'm trying to compile the nrpe 2.0b3 and plugins 1.3.0 on a hp-ux 11 server. But it seems that there are some requirements, that are not fulfilled (i.e. version of openssl, type conflicts in some header files and so on). Now my question: Is there someone out there, who has successfully compiled (ideally statically linked) the above mentioned binaries for hp-ux 11? I have successfully compiled and installed openssl, openssh and samba on this host (using gcc 2.95/3.0), but all products are not at the newest level and it is not a critical server (besides I am a friend of "never touch a running system" ;-)) Maybe someone can give some hints what to do for compiling my self... Regards -- Ralf Mellis Abt. DV/ORG Kisters Maschinenbau GmbH Germany 47533 Kleve Boschstr. 1-3 Tel. +49(0)2821-503-0 Fax +49(0)2821-26110 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandromergvaz at uol.com.br Wed Apr 30 18:06:05 2003 From: sandromergvaz at uol.com.br (Sandro Vaz (UOL)) Date: Wed, 30 Apr 2003 13:06:05 -0300 Subject: RES: Win2000 process check In-Reply-To: <5.1.0.14.0.20030430105821.00b4e690@pop.icnet.com.ve> References: <5.1.0.14.0.20030430105821.00b4e690@pop.icnet.com.ve> Message-ID: Jeyri: I?ve tried to do that using the -v COUNTER option of NSClient, but this client has serious problems with some of the perfmon counters. Maybe in the next version, but good luck anyway. If you succeed, PLUK. Att., Sandro Vaz -----Mensagem original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Jeyri Bautista Enviada em: quarta-feira, 30 de abril de 2003 12:02 Para: nagios-users at lists.sourceforge.net Assunto: [Nagios-users] Win2000 process check Hi, I?m monitoring many process running on my Window 2000 server, but I want to see the CPU load that are using this process. Can I do it?, if it is possible How can I do it? Thanks Jeyri ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.476 / Virus Database: 273 - Release Date: 24/4/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.476 / Virus Database: 273 - Release Date: 24/4/2003 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco at digimetrica.com Wed Apr 30 17:55:14 2003 From: marco at digimetrica.com (belgarioz) Date: 30 Apr 2003 15:55:14 -0000 Subject: Newbie question Message-ID: <20030430155514.10937.qmail@pod-163.dolphin-server.co.uk> Hi, I've istalled Nagios days ago and everything worked fine without problems. Right now, I changed the gateway ip address of the Nagios server and it works fine, BUT when i shut down my gateway, Nagios goes crazy: it stops monitoring and it says that nagios service appears not running. What should I do in order to notify that the router is down WITHOUT it shuts down my nagios service? Tell me whether should I include configuration file in this post. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-wittenberg at uiowa.edu Wed Apr 30 18:33:58 2003 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 30 Apr 2003 11:33:58 -0500 Subject: left-frame links In-Reply-To: <006601c30eac$15902d80$b58031ca@bcl977307> References: <006601c30eac$15902d80$b58031ca@bcl977307> Message-ID: <1051720438.359.6.camel@tux.its.uiowa.edu> Speaking of which, how do you add links to the left-hand frame? Dan On Tue, 2003-04-29 at 19:04, Jamie Baddeley wrote: > Hi Jim, > > I've been using snort+acidlab+mysql for a while now. To be honest I've never > considered fully integrating the two things other than superficially (i.e an > IDS button in the side menu). ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Apr 30 18:35:36 2003 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Wed, 30 Apr 2003 11:35:36 -0500 (CDT) Subject: Newbie question In-Reply-To: <1012BD903945D411915500105A48FF57F06BA1@nt.man.fwltech.com> References: <1012BD903945D411915500105A48FF57F06BA1@nt.man.fwltech.com> Message-ID: OK. Sorry to point this out but: Why does everyone assume that explaining a *NIX file system issue in terms of M$ Windows terminology would clarify hidden files at all? I would think that in the interest of explaining things, M$ references would be towards the end of the list of cogent examples. Back to my cli... On Wed, 30 Apr 2003, Ewan Leith wrote: > The "." at the front of a file in Unix is the equivalent of marking it as > hidden in windows. > > An ls -a will still show any . files, but a normal ls wont. > > Ewan > > > -----Original Message----- > > From: Raj Mudhar [mailto:Raj.Mudhar at nottingham.ac.uk] > > Sent: 30 April 2003 14:47 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Newbie question > > > > > > hi > > > > I created a .htaccess file in usr/local/nagios/sbin > > directory.. whats the significance of the . whats it for anyway? > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mp at xmission.com Wed Apr 30 18:18:18 2003 From: mp at xmission.com (Myke Place) Date: Wed, 30 Apr 2003 10:18:18 -0600 Subject: Mysql Support In-Reply-To: <352B04312822444A962714393AED8A4D026845@ADAEVS01.int.chickasaw.net>; from Jeremy.Russell@chickasaw.net on Mon, Apr 28, 2003 at 08:37:18AM -0500 References: <352B04312822444A962714393AED8A4D026845@ADAEVS01.int.chickasaw.net> Message-ID: <20030430101818.A20719@xmission.com> * Jeremy Russell (Jeremy.Russell at chickasaw.net) [030428 07:56] spake thusly: > Hello list, > Ok, I have installed and ran Nagios with the db support (MySQL) > for a while now, and it seems to work ok. I do have trouble with the > extended info (I compiled in support for everything). I'm debating > whether or not to keep the DB support, I like the db support but I would > like to here pros, cons, praises, and complaints from others on the > issue. I would also like to know ow to use the extended info portion. > > On the extended info part. I have a text config file for it, but the db > doesn't load it, so I actually went in and made a record by hand, but it > still doesn't show up within nagios. So in short, has anyone used this > and got it working and if so, How? > It might be worth noting that MySQL *may* be dropped from the next version of Nagios. See: http://www.nagios.org/upcoming.php -mp ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Apr 30 18:41:46 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 30 Apr 2003 11:41:46 -0500 Subject: left-frame links Message-ID: <5DB017510818EC468B05BD7BD9EACF83030EDEAE@mismail.ena.com> Edit ~nagios/share/side.html m > -----Original Message----- > From: Daniel Wittenberg [mailto:daniel-wittenberg at uiowa.edu] > Sent: Wednesday, April 30, 2003 11:34 AM > To: nagios-list > > Speaking of which, how do you add links to the left-hand frame? > > Dan > > On Tue, 2003-04-29 at 19:04, Jamie Baddeley wrote: > > Hi Jim, > > > > I've been using snort+acidlab+mysql for a while now. To be honest I've > never > > considered fully integrating the two things other than superficially > (i.e an > > IDS button in the side menu). > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Wed Apr 30 19:07:26 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Wed, 30 Apr 2003 12:07:26 -0500 Subject: RES: Win2000 process check In-Reply-To: References: <5.1.0.14.0.20030430105821.00b4e690@pop.icnet.com.ve> Message-ID: <38042.4103387215$1051724844@news.gmane.org> Using SNMP and the Host-Resources-MIB, you can query a list of processes (PID/executable) from the Windoze box by looking at the entries in hrSWRunTable. Once you have the PID for the executable you want, lookup the performance stats via hrSWRunPerfTable by the PID. You can get the process memory usage and CPU ticks. You'll obviously have to script it, and I hope you have a unique executable in mind. Russell On Wed, Apr 30, 2003 at 01:06:05PM -0300, Sandro Vaz (UOL) wrote: > Jeyri: > > I?ve tried to do that using the -v COUNTER option of NSClient, but this > client has serious problems with some of the perfmon counters. > > Maybe in the next version, but good luck anyway. If you succeed, PLUK. > > Att., > > Sandro Vaz > > -----Mensagem original----- > De: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Jeyri Bautista > Enviada em: quarta-feira, 30 de abril de 2003 12:02 > Para: nagios-users at lists.sourceforge.net > Assunto: [Nagios-users] Win2000 process check > > > Hi, > > I?m monitoring many process running on my Window 2000 server, but I want to > see the CPU load that are using this process. > > Can I do it?, if it is possible How can I do it? > > Thanks > > Jeyri > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.476 / Virus Database: 273 - Release Date: 24/4/2003 > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.476 / Virus Database: 273 - Release Date: 24/4/2003 > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pah at campana.com Wed Apr 30 19:24:49 2003 From: pah at campana.com (mightyreds) Date: 30 Apr 2003 17:24:49 -0000 Subject: Getting images to work.... Message-ID: <20030430172449.27517.qmail@pod-163.dolphin-server.co.uk> Try using the template format, it worked for me. Also, you should be maintaining a separate hostextinfo.cfg file for this. To do this set the following in the cgi.cfg: xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cf g Then create your hostextinfo.cfg file, and define the hosts using the following template: define hostextinfo{ host_name host_name notes_url url icon_image image_file icon_image_alt alt_string vrml_image image_file statusmap_image image_file 2d_coords x_coord,y_coord 3d_coords x_coord,y_coord,z_coord } So using your host multia it would like like this: define hostextinfo{ host_name multia notes_url icon_image redhat.gif icon_image_alt vrml_image redhat.png statusmap_image redhat.gd2 2d_coords 3d_coords } Also make sure that that you use tabs, and not spaces, to format the definition (similar to the other .cfg files). ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gv2385 at sbc.com Wed Apr 30 19:19:50 2003 From: gv2385 at sbc.com (VANTASSLE, GEORDON M (SBCSI)) Date: Wed, 30 Apr 2003 13:19:50 -0400 Subject: Mysql Support Message-ID: <1FFE723C45371B46948FA414FDA153B10B2D2CFB@ilnort1msgusr08.itservices.sbc.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > -----Original Message----- > From: Myke Place [mailto:mp at xmission.com] > Sent: Wednesday, April 30, 2003 11:18 AM > To: Jeremy Russell > Cc: Nagios Users > Subject: Re: [Nagios-users] Mysql Support > It might be worth noting that MySQL *may* be dropped from the > next version of Nagios. See: http://www.nagios.org/upcoming.php That's too bad. I was hoping that, by using a database back-end, I could make more interesting use of the database entries. I guess I'll just go back to using the flat-file configurations. Bummer. -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 Comment: This message signed to ensure authenticity. iQA/AwUBPrAFDRnDT1v4QosXEQKQ8ACgpMR6S7nCbDoy/Epu7XIHGiR19BIAnRL6 e1IhiNFFWOdRT5BM/fjZxD1o =ChV3 -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pah at campana.com Wed Apr 30 19:58:02 2003 From: pah at campana.com (mightyreds) Date: 30 Apr 2003 17:58:02 -0000 Subject: Displaying forum postings. In-Reply-To: <20030422183142.2534.qmail@pod-163.dolphin-server.co.uk> References: <20030422183142.2534.qmail@pod-163.dolphin-server.co.uk> Message-ID: <20030430175802.1034.qmail@pod-163.dolphin-server.co.uk> I noticed the same thing. It seems to be that I can only see postings that don't have [Nagios Users] in the topic or reply. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From juarez.alves.unitech at vivo.com.br Wed Apr 30 19:54:34 2003 From: juarez.alves.unitech at vivo.com.br (juarez.alves.unitech at vivo.com.br) Date: Wed, 30 Apr 2003 15:54:34 -0200 Subject: Monitoring the date and the size of an archive in the unix. Message-ID: How I make to monitor the date and the size of an archive in the unix? This is possible? At?s Jura -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Wed Apr 30 20:26:10 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [Contractor]) Date: Wed, 30 Apr 2003 13:26:10 -0500 Subject: Mysql Support Message-ID: Don't fret. There have been discussions in the past to implement either a database (MySQL/PostgreSQL) or XML solution. But not by the author or core group. Rather, some have wished (and I think a few have taken steps) for a database or XML solution, because to them, it makes their lives easier. The conclusion was that yes, these solutions were viable, but instead of *replacing* the Nagios config files, the alternative solutions, once populated, would be used to *create* the Nagios config files. Nagios would therefore need no direct modifications, Ethan et al wouldn't need to burn any additional midnight oil, and folks such as yourself would be happy campers. Don't ask me what the status of such projects are, as I haven't been following them. jc > -----Original Message----- > From: VANTASSLE, GEORDON M (SBCSI) [mailto:gv2385 at sbc.com] > Sent: Wednesday, April 30, 2003 12:20 PM > Cc: 'Nagios Users' > Subject: RE: [Nagios-users] Mysql Support > > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > > -----Original Message----- > > From: Myke Place [mailto:mp at xmission.com] > > Sent: Wednesday, April 30, 2003 11:18 AM > > To: Jeremy Russell > > Cc: Nagios Users > > Subject: Re: [Nagios-users] Mysql Support > > It might be worth noting that MySQL *may* be dropped from the > > next version of Nagios. See: http://www.nagios.org/upcoming.php > > That's too bad. I was hoping that, by using a database > back-end, I could > make more interesting use of the database entries. > > I guess I'll just go back to using the flat-file > configurations. Bummer. > > -----BEGIN PGP SIGNATURE----- > Version: PGP 8.0 > Comment: This message signed to ensure authenticity. > > iQA/AwUBPrAFDRnDT1v4QosXEQKQ8ACgpMR6S7nCbDoy/Epu7XIHGiR19BIAnRL6 > e1IhiNFFWOdRT5BM/fjZxD1o > =ChV3 > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-wittenberg at uiowa.edu Wed Apr 30 20:33:34 2003 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 30 Apr 2003 13:33:34 -0500 Subject: Mysql Support In-Reply-To: References: Message-ID: <1051727611.359.39.camel@tux.its.uiowa.edu> This would probably make it easier to write a web interface to manage it as well. I was thinking of writing a webmin plugin to modify the text files, but creating a DB and pulling the data from there would be easier. It would be nice if you could pull the data from IRM or other asset manager too so you could have all information about a host in one place.....ummmm...*lots of ideas running around in head* Dan On Wed, 2003-04-30 at 13:26, Carroll, Jim P [Contractor] wrote: > Don't fret. There have been discussions in the past to implement either a database (MySQL/PostgreSQL) or XML solution. But not by the author or core group. > > Rather, some have wished (and I think a few have taken steps) for a database or XML solution, because to them, it makes their lives easier. The conclusion was that yes, these solutions were viable, but instead of *replacing* the Nagios config files, the alternative solutions, once populated, would be used to *create* the Nagios config files. Nagios would therefore need no direct modifications, Ethan et al wouldn't need to burn any additional midnight oil, and folks such as yourself would be happy campers. > > Don't ask me what the status of such projects are, as I haven't been following them. > > jc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Wed Apr 30 20:35:21 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 30 Apr 2003 14:35:21 -0400 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20[Nagios-users]=20Newbie=20question?= Message-ID: First, make sure you changed the configuration of the computer that runs nagios reflect your network. Secondo, You'll have to configure the dependencies in order to tell nagios that everything on the other side of the gateway is now unavaileble. >>> belgarioz 30/04/03 11h55 >>> Hi, I've istalled Nagios days ago and everything worked fine without problems. Right now, I changed the gateway ip address of the Nagios server and it works fine, BUT when i shut down my gateway, Nagios goes crazy: it stops monitoring and it says that nagios service appears not running. What should I do in order to notify that the router is down WITHOUT it shuts down my nagios service? Tell me whether should I include configuration file in this post. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From showkilr at showkilr.com Wed Apr 30 20:46:08 2003 From: showkilr at showkilr.com (Showkilr) Date: 30 Apr 2003 13:46:08 -0500 Subject: Mysql Support In-Reply-To: <1051727611.359.39.camel@tux.its.uiowa.edu> References: <1051727611.359.39.camel@tux.its.uiowa.edu> Message-ID: <1051728365.9169.22.camel@wicked.playnet.com> I was actually thinking of creating a wrapper system for the database support. so that the wrapper itself handles all the calls to mysql/postgresql/flatfile/??XML?? depending on the define at build time. I have seen this type of wrapper for Mysql and Postgresql. adding support for other types shouldn't be trivial.. Showkilr On Wed, 2003-04-30 at 13:33, Daniel Wittenberg wrote: > This would probably make it easier to write a web interface to manage it > as well. I was thinking of writing a webmin plugin to modify the text > files, but creating a DB and pulling the data from there would be > easier. It would be nice if you could pull the data from IRM or other > asset manager too so you could have all information about a host in one > place.....ummmm...*lots of ideas running around in head* > > Dan > > On Wed, 2003-04-30 at 13:26, Carroll, Jim P [Contractor] wrote: > > Don't fret. There have been discussions in the past to implement either a database (MySQL/PostgreSQL) or XML solution. But not by the author or core group. > > > > Rather, some have wished (and I think a few have taken steps) for a database or XML solution, because to them, it makes their lives easier. The conclusion was that yes, these solutions were viable, but instead of *replacing* the Nagios config files, the alternative solutions, once populated, would be used to *create* the Nagios config files. Nagios would therefore need no direct modifications, Ethan et al wouldn't need to burn any additional midnight oil, and folks such as yourself would be happy campers. > > > > Don't ask me what the status of such projects are, as I haven't been following them. > > > > jc > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-wittenberg at uiowa.edu Wed Apr 30 20:50:10 2003 From: daniel-wittenberg at uiowa.edu (Daniel Wittenberg) Date: 30 Apr 2003 13:50:10 -0500 Subject: Mysql Support In-Reply-To: <1051728365.9169.22.camel@wicked.playnet.com> References: <1051727611.359.39.camel@tux.its.uiowa.edu> <1051728365.9169.22.camel@wicked.playnet.com> Message-ID: <1051728610.359.47.camel@tux.its.uiowa.edu> Is there some kind of database abstraction layer that could be used for this, like PEAR for PHP does ? Dan On Wed, 2003-04-30 at 13:46, Showkilr wrote: > I was actually thinking of creating a wrapper system for the database > support. so that the wrapper itself handles all the calls to > mysql/postgresql/flatfile/??XML?? depending on the define at build time. > > I have seen this type of wrapper for Mysql and Postgresql. adding > support for other types shouldn't be trivial.. > > Showkilr > > > On Wed, 2003-04-30 at 13:33, Daniel Wittenberg wrote: > > This would probably make it easier to write a web interface to manage it > > as well. I was thinking of writing a webmin plugin to modify the text > > files, but creating a DB and pulling the data from there would be > > easier. It would be nice if you could pull the data from IRM or other > > asset manager too so you could have all information about a host in one > > place.....ummmm...*lots of ideas running around in head* > > > > Dan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandro at opservices.com.br Wed Apr 30 21:17:23 2003 From: sandro at opservices.com.br (Sandro Vaz) Date: Wed, 30 Apr 2003 16:17:23 -0300 Subject: Nagios & EMC IP4700 Message-ID: Hi List, another question: One client asked us to monitor its EMC IP4700. Has someone integrated it at Nagios? Any information, hint, direction is appreciated. TIA, Sandro Vaz --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.476 / Virus Database: 273 - Release Date: 24/4/2003 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From juarez.alves.unitech at vivo.com.br Wed Apr 30 21:46:28 2003 From: juarez.alves.unitech at vivo.com.br (juarez.alves.unitech at vivo.com.br) Date: Wed, 30 Apr 2003 17:46:28 -0200 Subject: Monitoring the date and the size of an archive in the unix. Message-ID: I wanted to monitor for example a called archive teste.log, I wanted to catch the date of it to know if this having log. "Lonny Selinger" 30/04/2003 15:37 Para: juarez.alves.unitech at vivo.com.br cc: nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] Monitoring the date and the size of an archive in the unix. > How I make to monitor the date and the size of an archive in the unix? Specifically what would you like to check or monitor? What kind of archive? You'll probably end up having to write a plugin if its something specific. > This is possible? anything's possible ;) -- L -------------- next part -------------- An HTML attachment was scrubbed... URL: From skertzman at servervault.com Wed Apr 30 21:38:27 2003 From: skertzman at servervault.com (Kertzman, Sam) Date: Wed, 30 Apr 2003 15:38:27 -0400 Subject: Mysql Support Message-ID: <841A2A811DB61840BA6423C08B5735D3802D5D@dulles1.ops.servervault.com> http://nagmin.sourceforge.net > This would probably make it easier to write a web interface > to manage it > as well. I was thinking of writing a webmin plugin to modify the text > files, but creating a DB and pulling the data from there would be > easier. It would be nice if you could pull the data from IRM or other > asset manager too so you could have all information about a > host in one > place.....ummmm...*lots of ideas running around in head* ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bsmoore at cmsenergy.com Wed Apr 30 22:01:56 2003 From: bsmoore at cmsenergy.com (buldamoosh) Date: 30 Apr 2003 20:01:56 -0000 Subject: nagios compilation errors Message-ID: <20030430200156.25613.qmail@pod-163.dolphin-server.co.uk> Is anyone familiar with the error: make[1]: Entering directory `/home/bsmoore/nagios-1.0/cgi' gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI statusmap.c getcgi.o cgiutils.o auth.o popen.o ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddefault.c -lgd -lz -lm -lpng edata.o ../xdata/xedtemplate.c -o statusmap.cgi /tmp/ccR6nfor.o(.text+0x35e5): In function `load_image_from_file': /home/bsmoore/nagios-1.0/cgi/statusmap.c:2222: undefined reference to `gdImageCreateFromJpeg' collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/home/bsmoore/nagios-1.0/cgi' make: *** [all] Error 2 [root at moosh nagios-1.0]# In specific it looks like GD is not recognizing the fact that I have the JPEG libraries installed? I am a long time user of Netsaint and was looking to upgrade. Any help? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Wed Apr 30 22:16:48 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 30 Apr 2003 16:16:48 -0400 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20RE:=20[Nagios-users]=20Mysql=20Suppo?= =?ISO-8859-1?Q?rt?= Message-ID: mmm, this sound very interesting, does someone actually try that? >>> "Kertzman, Sam" 30/04/03 15h38 >>> http://nagmin.sourceforge.net > This would probably make it easier to write a web interface > to manage it > as well. I was thinking of writing a webmin plugin to modify the text > files, but creating a DB and pulling the data from there would be > easier. It would be nice if you could pull the data from IRM or other > asset manager too so you could have all information about a > host in one > place.....ummmm...*lots of ideas running around in head* ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gv2385 at sbc.com Wed Apr 30 22:26:57 2003 From: gv2385 at sbc.com (VANTASSLE, GEORDON M (SBCSI)) Date: Wed, 30 Apr 2003 16:26:57 -0400 Subject: Mysql Support Message-ID: <1FFE723C45371B46948FA414FDA153B10B2D2EC8@ilnort1msgusr08.itservices.sbc.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > -----Original Message----- > From: Kertzman, Sam [mailto:skertzman at servervault.com] > Sent: Wednesday, April 30, 2003 2:38 PM > To: nagios-list > Subject: RE: [Nagios-users] Mysql Support > > > > http://nagmin.sourceforge.net Failed to install uploaded module : Module nagmin is missing a module.info file Seems that Nagmin is broken. -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 Comment: This message signed to ensure authenticity. iQA/AwUBPrAw6BnDT1v4QosXEQJhJwCgj/ebMNy62GUbrIZt2vRKrx9fo+IAoPFS 9M20/i/8Fkoyj+pi0EXJYHrJ =VsVE -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Russell at chickasaw.net Wed Apr 30 22:30:29 2003 From: Jeremy.Russell at chickasaw.net (Jeremy Russell) Date: Wed, 30 Apr 2003 15:30:29 -0500 Subject: Mysql Support Message-ID: <352B04312822444A962714393AED8A4D026848@ADAEVS01.int.chickasaw.net> That would be cool... That's what I was really thinking. I would like to have all the alternatives, DB, flat text, etc... I just want each alternative to contain all aspects of the data. Not just the extended data, as Nagios currently is. The wrapper system would allow more things (Configuration Management, Change Management, and other Network Management features) to be integrated directly into Nagios with more ease I would think. Jeremy Russell Network Administrator, CNI 580-272-2707 -----Original Message----- From: Showkilr [mailto:showkilr at showkilr.com] Sent: Wednesday, April 30, 2003 1:46 PM To: nagios-list Subject: RE: [Nagios-users] Mysql Support I was actually thinking of creating a wrapper system for the database support. so that the wrapper itself handles all the calls to mysql/postgresql/flatfile/??XML?? depending on the define at build time. I have seen this type of wrapper for Mysql and Postgresql. adding support for other types shouldn't be trivial.. Showkilr On Wed, 2003-04-30 at 13:33, Daniel Wittenberg wrote: > This would probably make it easier to write a web interface to manage it > as well. I was thinking of writing a webmin plugin to modify the text > files, but creating a DB and pulling the data from there would be > easier. It would be nice if you could pull the data from IRM or other > asset manager too so you could have all information about a host in one > place.....ummmm...*lots of ideas running around in head* > > Dan > > On Wed, 2003-04-30 at 13:26, Carroll, Jim P [Contractor] wrote: > > Don't fret. There have been discussions in the past to implement either a database (MySQL/PostgreSQL) or XML solution. But not by the author or core group. > > > > Rather, some have wished (and I think a few have taken steps) for a database or XML solution, because to them, it makes their lives easier. The conclusion was that yes, these solutions were viable, but instead of *replacing* the Nagios config files, the alternative solutions, once populated, would be used to *create* the Nagios config files. Nagios would therefore need no direct modifications, Ethan et al wouldn't need to burn any additional midnight oil, and folks such as yourself would be happy campers. > > > > Don't ask me what the status of such projects are, as I haven't been following them. > > > > jc > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From FReimers at infosysinc.com Wed Apr 30 22:34:29 2003 From: FReimers at infosysinc.com (Fred Reimers) Date: Wed, 30 Apr 2003 16:34:29 -0400 Subject: NagMIN Update Information - Releases - Beta - French Message-ID: <1A76CEE962963E40926786CA468A47D31D3D9F@infocoex1.infosysinc.com> All, I noticed that a lot of people downloaded NagMIN version 1.3.1. There are problems with the setup utility not creating service entries. You'll need to install 1.3.2 to correct the problem. I want to thank all of you who have provided feedback and asked for support. It's helping make NagMIN a better application, but it's not been as stable as I thought it would be due to the new features I've added that I hadn't planned. The major feature being centralized management. As a result, there isn't any detailed documentation, and I haven't had time to fully tested every release that I've put out there. There have also been some major bugs for which I apologize. The biggest I've had is correctly setting and using NULL values in the db schemas. I should have read more about MySQL before starting. The current version should have that under control. The only major bug in the current release, that might not be corrected, is a problem adding time periods. I haven't had any problems with this but I will investigate it. There are a couple of other minor things that will be corrected. The major feature request I've received is to parameterize all of the Nagios directories for installations where nagios has been placed in some ../bin directory, cgis somewhere else, etc.. This will require a major change to the setup utility and also to the webmin module. Since NagMIN can centrally manage multiple servers, the directories might be in a different place on each server. These parameters will be configured on a per database(system) basis in the new System table. It's going to take a week or so before the next release will show up and integration with MRTG (which I need) will take a little bit longer. NagMIN will also support French in the next release due to the efforts of Pierre-Antoine Angelini, which I appreciate greatly. I'm going to change the status of the project back to beta as I don't want to misrepresent the current quality of the software. I see that a lot of people are downloading it and I want you to be able to use it successfully. It will probably take another month or two for it to mature a bit more. Make sure that you read the release notes for any new releases. ------------------------------------------------- Fred Reimers (CCIE #1469, CCSA) Senior Network Consultant Info Systems, Inc. freimers at infosysinc.com ..... ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gv2385 at sbc.com Wed Apr 30 23:41:08 2003 From: gv2385 at sbc.com (VANTASSLE, GEORDON M (SBCSI)) Date: Wed, 30 Apr 2003 17:41:08 -0400 Subject: NagMIN Update Information - Releases - Beta - French Message-ID: <1FFE723C45371B46948FA414FDA153B10B2D2FBF@ilnort1msgusr08.itservices.sbc.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > -----Original Message----- > From: Fred Reimers [mailto:FReimers at infosysinc.com] > Sent: Wednesday, April 30, 2003 3:34 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NagMIN Update Information - Releases > - Beta - French > > > All, > > I noticed that a lot of people downloaded NagMIN version > 1.3.1. There are problems with the setup utility not > creating service entries. You'll need to install 1.3.2 to > correct the problem. Hi, Fred. I just got NagMIN installed (after RTFD) and I noticed a couple of things. First, when I tried to run the load.sql, it puked on the comment lines. IF I replaced the dashes (-) with (#) it loaded fine. Second, how do I load the logos via the logo manager? I tried to load them by what appears to be the correct way (browse to file, click "add logo" button) but it doesn't seem to show up. Please advise. -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 Comment: This message signed to ensure authenticity. iQA/AwUBPrBCSxnDT1v4QosXEQLuigCeIKEWuIXEZFoTQOLC9Y4ZHRD47CsAnjRC C8FZRsc8600NhDV+AkwcozFi =ENtu -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 icnet.com.ve Wed Apr 30 17:01:36 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Wed, 30 Apr 2003 11:01:36 -0400 Subject: Win2000 process check Message-ID: <5.1.0.14.0.20030430105821.00b4e690@pop.icnet.com.ve> Hi, I?m monitoring many process running on my Window 2000 server, but I want to see the CPU load that are using this process. Can I do it?, if it is possible How can I do it? Thanks Jeyri ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at eventhorizon.ca Thu Apr 24 13:55:27 2003 From: chris at eventhorizon.ca (Chris Rothecker) Date: 24 Apr 2003 05:55:27 -0600 Subject: Aix monitoring In-Reply-To: <20030424091327.22584.qmail@web10901.mail.yahoo.com> References: <20030424091327.22584.qmail@web10901.mail.yahoo.com> Message-ID: <1051185327.7452.11.camel@tbird.eventhorizon.ca> Hey Steve, I know its a bit outdated but Lonny Selinger and I wrote some NetSaint plugins for AIX (they work with Nagios too). You can find them here: http://www.eventhorizon.ca/modules.php?name=Downloads&d_op=viewdownload&cid=7 There is a plugin for monitoring paging spaces on AIX and in the NetSaint plugin package on our site there are also some other perl scripts that check various things. I believe we have new versions of our AIX plugins but it looks like they aren't up on the site at the moment. I'll see if I can track down the location of the other AIX plugins we put together and send you an update. -- Chris Rothecker On Thu, 2003-04-24 at 03:13, Steve Dussaux wrote: > Hi, > > I'd like to monitor memory and processor usage on AIX. > I've tried to access to these values by SNMP but unfortunately AIX SNMP Agent doesn't provide > these values. > So i'm thinking to use an other type of Nagios plugin to get these values. > I'd like to have not install additional programs on AIX boxes. > > What plugins do you advise me ? > > Thanks, > Steve > > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > Yahoo! Mail : http://fr.mail.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null