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 > # saturd