From wolvverine at tarchomin.pl Sat Jul 1 15:41:00 2006 From: wolvverine at tarchomin.pl (=?UTF-8?Q?Micha=C5=82?= Panasiewicz) Date: Sat, 01 Jul 2006 15:41:00 +0200 Subject: nagiosgrapher 1.6rc1 - problem with graphs - Can't call method "get_ngrapherxml" Message-ID: <1151761260.8204.2.camel@localhost> run link to graph https://localhost:8443/nagios/cgi-bin/graphs.cgi?host=printer_minolta&service=PING and : Software error: Can't call method "get_ngrapherxml" on an undefined value at /usr/lib/nagios/cgi/graphs.cgi line 110. # ps ax | grep collect 32248 ? Ss 0:00 /usr/bin/perl /usr/lib/nagios/grapher/collect2.pl config: # cat /etc/nagios/ngraph.ncfg | grep -v ^# | grep -v ^$ define config { pipe /var/lib/nagios/rw/ngraph.pipe port 5667 buffer 1024 interface network # please use subfolder pidfile /var/lib/nagios/nagios_grapher/nagios_grapher.pid user nagios group nagios # normal_check_interval step 300 # VALUE or AUTO heartbeat AUTO rrdpath /var/lib/nagios/rrd/ tmppath /tmp/nagiosgrapher/ fontfile /usr/share/rrdtool/fonts/DejaVuSansMono-Roman.ttf serviceext_type MULTIPLE serviceextinfo /etc/nagios/serviceext.cfg serviceext_path /etc/nagios/serviceext url /nagios/cgi-bin/graphs.cgi notes_url /wiki/index.php/$HOSTNAME$#$SERVICEDESC$ nagios_config /etc/nagios/nagios.cfg cgi_config /etc/webapps/nagios/cgi.cfg icon_image_tag ' dot.png' border="0"> Boa noite Algu?m tem um tutorial de instala??o do nrpe no solaris? Estou precisando disso logo, pois tenho mais ou menos 180 servi?os entre maquinas linux e windows, mas para solaris somente consegui monitorar por ping, por favor quem tiver um tutorial ou uma dica de como se instalar o nrpe no solaris eu agrade?o, estou precisando urgente!!!!!!!!! Agrade?o desde j? Marco --------------------------------- Yahoo! Search M?sica para ver e ouvir: You're Beautiful, do James Blunt -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Sun Jul 2 23:57:49 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 3 Jul 2006 09:57:49 +1200 Subject: Check Exchange Queues In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90F472@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90F472@vxchange.vcr.auckland.ac.nz> Message-ID: <000001c69e22$8f3e0180$8ea8d882@UoA.auckland.ac.nz> Sometimes, windows servers have problems with service order. Make sure you have started exchanege before you start perfmon, so that perfmon can verify the counters from exchange Or is it the other way around? We have a problem with SQLServer where if you restart the (SQL) service all the perf counters disappear. This is a microsoft... 'feature'... S teve Is there any configuration I need to make on the Exchange Server? (other than installing NSClient) I have setup this up on the nagios box but I am just getting: 0 messages queued Performance Data: '%.0f messages queued'=0.000000%;10.000000;15.000000 No matter how many messages are in the queue This is the check command that I am using: check_command nt_exch_outq!10!15 Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray.lapeyre at itng.com.au Mon Jul 3 02:23:19 2006 From: ray.lapeyre at itng.com.au (Ray La Peyre) Date: Mon, 3 Jul 2006 10:23:19 +1000 Subject: FW: Check Exchange Queues Message-ID: <53648F183C9B944B8881C5580FCBA73C122E52@itng2.itnext.local> How do you start perfmon? This is a live server so exchange will be started constantly. I know that you can just go start run perfmon to bring it up but I dont know how that can help me get the nagios monitoring to work ________________________________ From: Steve Shipway [mailto:s.shipway at auckland.ac.nz] Sent: Monday, 3 July 2006 7:58 AM To: Ray La Peyre; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Check Exchange Queues Sometimes, windows servers have problems with service order. Make sure you have started exchanege before you start perfmon, so that perfmon can verify the counters from exchange Or is it the other way around? We have a problem with SQLServer where if you restart the (SQL) service all the perf counters disappear. This is a microsoft... 'feature'... S teve Is there any configuration I need to make on the Exchange Server? (other than installing NSClient) I have setup this up on the nagios box but I am just getting: 0 messages queued Performance Data: '%.0f messages queued'=0.000000%;10.000000;15.000000 No matter how many messages are in the queue This is the check command that I am using: check_command nt_exch_outq!10!15 Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ron at tvnz.co.nz Mon Jul 3 03:58:48 2006 From: ron at tvnz.co.nz (Ron Wilson) Date: Mon, 3 Jul 2006 13:58:48 +1200 Subject: Problems with 2.4 Nagios Message-ID: I am having problems with the check_file_age plugin. It works fine if I execute manually but for some reason Nagios 2.4 comes up with an error message of file not found. Has anyone else had problems like this? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Mon Jul 3 04:11:55 2006 From: jperrin at gmail.com (Jim Perrin) Date: Sun, 2 Jul 2006 22:11:55 -0400 Subject: Problems with 2.4 Nagios In-Reply-To: References: Message-ID: <302ce8b50607021911l323ec966s70e26fe573a0a165@mail.gmail.com> On 7/2/06, Ron Wilson wrote: > > > > I am having problems with the check_file_age plugin. It works fine if I > execute manually but for some reason Nagios 2.4 comes up with an error > message of file not found. > > Has anyone else had problems like this? Does your nagios user have access to the file in question? You might want to try su'ing to your nagios user and trying the command again. -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alvaro.Arenas at itella.com Mon Jul 3 07:42:55 2006 From: Alvaro.Arenas at itella.com (Arenas Alvaro) Date: Mon, 3 Jul 2006 08:42:55 +0300 Subject: Monitoramento via NRPE no Solaris Message-ID: <448FFDE0D1EE1049A1208C682C0E475C03AA0ED9@WMDATA-EXCL4.netti.infra.posti.fi> Hi, First, I am so sorry that you Brasil was eliminated from the World Cup. You were my favorite No, that wasn't what I wanted to say Sorry, but I think you are using the wrong language, You have to use english. ok you are asking for a tutorial for nrpe in solaris.. have you tried to installed it? It comes with a instalation manual in the .tar.gz file (read INSTALL) I don't think it should be different Alvaro PD: Here is the same in spanish, just in case. Primero, lo siento que Brasil ha sido eliminado del Mundial de futbol :( Bueno, has tratado de leer el manual de instalacion que viene dentro del archivo .tar.gz.?? no creo que sea muy distinto. yo estoy instalando el nrpe ahora en linux.. me parece que no debe ser diferente. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marco Aur?lio Miranda Pereira Sent: Sunday, July 02, 2006 3:02 AM To: Lista do Nagios Subject: [Nagios-users] Monitoramento via NRPE no Solaris Boa noite Algu?m tem um tutorial de instala??o do nrpe no solaris? Estou precisando disso logo, pois tenho mais ou menos 180 servi?os entre maquinas linux e windows, mas para solaris somente consegui monitorar por ping, por favor quem tiver um tutorial ou uma dica de como se instalar o nrpe no solaris eu agrade?o, estou precisando urgente!!!!!!!!! Agrade?o desde j? Marco ________________________________ Yahoo! Search M?sica para ver e ouvir: You're Beautiful, do James Blunt -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From riky.none at email.it Mon Jul 3 16:45:55 2006 From: riky.none at email.it (Riccardo Gaggero) Date: Mon, 3 Jul 2006 16:45:55 +0200 (CEST) Subject: nagios2 Ubuntu In-Reply-To: References: Message-ID: <20060703144555.E63284F4045@desire.netways.de> Hi Bren YESSSS now work it (so so) grazie Bren but i think "to EASY config nagios the best tools is........" ......web2nagios??? if is it the best tool i install it (not easy installation) it but not save new host ecc ecc help me??? grazie - Riccardo Gaggero (rikymn) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=19358 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwilcox at mobitrac.com Mon Jul 3 19:20:03 2006 From: rwilcox at mobitrac.com (Ryan Wilcox) Date: Mon, 3 Jul 2006 12:20:03 -0500 Subject: check_log and notifications Message-ID: having a bit of trouble with notifications and the check_log command. i got the command working, so it is actually reporting the correct error (from my nagios log): [1151941987] SERVICE ALERT: Appserver1;Message Log;CRITICAL;SOFT;1;(1) < [ERROR ] however, there is no email notification triggered for this critical warning. i have double and triple checked my config files... and can't find the problem. here are my configs: ***services config snip*** notification_options w,c,r contact_groups ProdNotification this contact group has a member that IS set up for email notification. the interesting part about all of this is that i am getting email's from other services that report critical problems.... so it only seems to be this one command causing me trouble. any help would be greatly appreciated. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at halligan.org Mon Jul 3 19:20:32 2006 From: michael at halligan.org (Michael T. Halligan) Date: Mon, 3 Jul 2006 10:20:32 -0700 Subject: Issues with Nagios 2.4? Message-ID: <6D13E082-E77F-41D5-89EF-4C5C73DD13F2@halligan.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nagios seems to have been very unstable the past couple of weeks. The only change I've made is upgrading from 2.2 to 2.4. It could just be that I have some bad configuration options, but I'm not sure. I just had a server go down for an hour, and Nagios never caught it. In general, since upgrading to 2.0 Nagios seems very slow on catching broken services/hosts, but usually checks them (not always). I look at my status overview right now, and Nagios says Last Check for almost every service is two days old. Any ideas on what I'm doing wrong? Here's my Nagios log without comments or blank lines log_file=/nagios/services/nagios/var/nagios.log cfg_file=/nagios/services/nagios/etc/checkcommands.cfg cfg_file=/nagios/services/nagios/etc/contact-templates.cfg cfg_file=/nagios/services/nagios/etc/contactgroups.cfg cfg_file=/nagios/services/nagios/etc/contacts.cfg cfg_file=/nagios/services/nagios/etc/escalations.cfg cfg_file=/nagios/services/nagios/etc/host-templates.cfg cfg_file=/nagios/services/nagios/etc/service-templates.cfg cfg_file=/nagios/services/nagios/etc/misccommands.cfg cfg_file=/nagios/services/nagios/etc/time_periods.cfg cfg_file=/nagios/services/nagios/etc/nagios-commands.cfg cfg_file=/nagios/services/nagios/etc/nagios-hostgroups.cfg cfg_file=/nagios/services/nagios/etc/nagios-hosts.cfg cfg_file=/nagios/services/nagios/etc/nagios-service-templates.cfg cfg_file=/nagios/services/nagios/etc/nagios-services.cfg object_cache_file=/nagios/services/nagios/var/objects.cache resource_file=/nagios/services/nagios/etc/resource.cfg temp_file=/nagios/services/nagios/var/nagios.tmp status_file=/nagios/services/nagios/var/status.dat aggregate_status_updates=1 status_update_interval=15 nagios_user=nagios nagios_group=nagios enable_notifications=1 execute_service_checks=1 accept_passive_service_checks=0 execute_host_checks=1 accept_passive_host_checks=0 enable_event_handlers=1 log_rotation_method=d log_archive_path=/nagios/services/nagios/var/archives check_external_commands=1 command_check_interval=60s command_file=/nagios/services/nagios/var/rw/nagios.cmd downtime_file=/nagios/services/nagios/var/downtime.dat comment_file=/nagios/services/nagios/var/comments.dat lock_file=/nagios/services/nagios/var/nagios.lock retain_state_information=1 state_retention_file=/nagios/services/nagios/var/retention.dat use_retained_scheduling_info=1 retention_update_interval=0 use_retained_program_state=1 use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=0 sleep_time=0.25 service_inter_check_delay_method=n max_service_check_spread=5 service_interleave_factor=s max_concurrent_checks=300 service_reaper_frequency=40 host_inter_check_delay_method=n max_host_check_spread=5 interval_length=60 auto_reschedule_checks=0 auto_rescheduling_interval=30 auto_rescheduling_window=30 use_agressive_host_checking=0 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 soft_state_dependencies=0 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 obsess_over_services=0 process_performance_data=0 check_for_orphaned_services=0 check_service_freshness=0 freshness_check_interval=60 check_host_freshness=0 host_freshness_check_interval=60 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()'= illegal_macro_output_chars=`~$&|'"<> use_regexp_matching=0 use_true_regexp_matching=0 admin_email=support at nagios.com admin_pager=ops_urgent at nagios.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEqVHlwjCqooJyNAMRAgeJAKCSF6mCLLr9uRhtwHng+cW6W2/4VwCbBrOS cjp0AoxpQp1pj72WGsqs4RQ= =vHlh -----END PGP SIGNATURE----- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Jul 3 19:58:48 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 3 Jul 2006 19:58:48 +0200 (CEST) Subject: Issues with Nagios 2.4? In-Reply-To: <6D13E082-E77F-41D5-89EF-4C5C73DD13F2@halligan.org> References: <6D13E082-E77F-41D5-89EF-4C5C73DD13F2@halligan.org> Message-ID: On Mon, 3 Jul 2006, Michael T. Halligan wrote: > Nagios seems to have been very unstable the past couple of weeks. The > only change I've made is upgrading from 2.2 to 2.4. It could just be > that I have > some bad configuration options, but I'm not sure. I just had a server > go down for an hour, and Nagios never caught it. In general, since > upgrading to 2.0 > Nagios seems very slow on catching broken services/hosts, but usually > checks them (not always). I look at my status overview right now, and > Nagios > says Last Check for almost every service is two days old. Any ideas > on what I'm doing wrong? > > Here's my Nagios log without comments or blank lines Unfortunatly there is no log. That happened to be a config file. Go over the logs and start looking for odd things. First thing first. Is Nagios actually running? Then check if there is just one nagios daemon. There can be only one! Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Mon Jul 3 21:04:05 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Mon, 03 Jul 2006 21:04:05 +0200 Subject: check_log and notifications In-Reply-To: References: Message-ID: <44A96A25.1070609@gmx.net> Hi Ryan, Nagios won't execute notifications on SOFT states. Try to decrease the max_check_attempt of this Log checking Service to something like 1 and have a look. Best wishes Hendrik Ryan Wilcox schrieb: > having a bit of trouble with notifications and the check_log command. i > got the command working, so it is actually reporting the correct error > (from my nagios log): > > [1151941987] SERVICE ALERT: Appserver1;Message Log;CRITICAL;SOFT;1;(1) < > [ERROR ] > > however, there is no email notification triggered for this critical > warning. i have double and triple checked my config files... and can't > find the problem. here are my configs: > > ***services config snip*** > notification_options w,c,r > contact_groups ProdNotification > > this contact group has a member that IS set up for email notification. > > the interesting part about all of this is that i am getting email's from > other services that report critical problems.... so it only seems to be > this one command causing me trouble. > > any help would be greatly appreciated. > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at halligan.org Mon Jul 3 21:38:04 2006 From: michael at halligan.org (Michael T. Halligan) Date: Mon, 3 Jul 2006 12:38:04 -0700 (PDT) Subject: Issues with Nagios 2.4? In-Reply-To: References: <6D13E082-E77F-41D5-89EF-4C5C73DD13F2@halligan.org> Message-ID: <33548.71.134.226.158.1151955484.squirrel@mail3.bitpusher.com> Hugo, My apologies. I meant "Here's my Nagios Configuration without comments or blank lines". There is nothing useful in the Nagios logs. As to your other question, yes there is only one Nagios daemon running .. That's the only process I'm seeing Nagios is running, however. > On Mon, 3 Jul 2006, Michael T. Halligan wrote: > >> Nagios seems to have been very unstable the past couple of weeks. The >> only change I've made is upgrading from 2.2 to 2.4. It could just be >> that I have >> some bad configuration options, but I'm not sure. I just had a server >> go down for an hour, and Nagios never caught it. In general, since >> upgrading to 2.0 >> Nagios seems very slow on catching broken services/hosts, but usually >> checks them (not always). I look at my status overview right now, and >> Nagios >> says Last Check for almost every service is two days old. Any ideas >> on what I'm doing wrong? >> >> Here's my Nagios log without comments or blank lines > > Unfortunatly there is no log. That happened to be a config file. > > Go over the logs and start looking for odd things. > > First thing first. Is Nagios actually running? Then check if there is just > one nagios daemon. There can be only one! > > Hugo. > > -- > I hate duplicates. Just reply to the relevant mailinglist. > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > Don't meddle in the affairs of magicians, > for they are subtle and quick to anger. > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------- BitPusher, LLC http://www.bitpusher.com/ 1.888.9PUSHER (415) 724.7998 - Mobile Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbortega at gmail.com Mon Jul 3 21:44:16 2006 From: jbortega at gmail.com (Bernardo Ortega) Date: Mon, 3 Jul 2006 15:44:16 -0400 Subject: Monitoramento via NRPE no Solaris In-Reply-To: <448FFDE0D1EE1049A1208C682C0E475C03AA0ED9@WMDATA-EXCL4.netti.infra.posti.fi> References: <448FFDE0D1EE1049A1208C682C0E475C03AA0ED9@WMDATA-EXCL4.netti.infra.posti.fi> Message-ID: Puedo dar una manito con esto, ya que tome un poco de lucha para lograrlo. Aunque no he logrado automatizarlo al 100%, si lo tengo funcionando en 3 de mi 4 solaris y estoy monitoreando alrededor de 40 servicios en ellos. Si crees que te puedo ayudar, avisame y te agrego en el Yahoo. Bernardo. NOTA: disculpa que lo escriba totalmente en espa?o, pero me es mas comodo. Y sobre si es igual que en Linux, si ligeramente. On 7/3/06, Arenas Alvaro wrote: > > Hi, > First, I am so sorry that you Brasil was eliminated from the World Cup. > You were my favorite > No, that wasn't what I wanted to say > Sorry, but I think you are using the wrong language, You have to use > english. > ok you are asking for a tutorial for nrpe in solaris.. > have you tried to installed it? > It comes with a instalation manual in the .tar.gz file (read INSTALL) > I don't think it should be different > > Alvaro > > PD: Here is the same in spanish, just in case. > Primero, lo siento que Brasil ha sido eliminado del Mundial de futbol :( > Bueno, has tratado de leer el manual de instalacion que viene dentro del > archivo .tar.gz.?? > no creo que sea muy distinto. > yo estoy instalando el nrpe ahora en linux.. me parece que no debe ser > diferente. > > > > ------------------------------ > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Marco Aur?lio > Miranda Pereira > *Sent:* Sunday, July 02, 2006 3:02 AM > *To:* Lista do Nagios > *Subject:* [Nagios-users] Monitoramento via NRPE no Solaris > > Boa noite > > Algu?m tem um tutorial de instala??o do nrpe no solaris? > Estou precisando disso logo, pois tenho mais ou menos 180 servi?os entre > maquinas linux e windows, mas para solaris somente consegui monitorar por > ping, por favor quem tiver um tutorial ou uma dica de como se instalar o > nrpe no solaris eu agrade?o, estou precisando urgente!!!!!!!!! > > Agrade?o desde j? > > Marco > > ------------------------------ > Yahoo! Search > M?sica para ver e ouvir: You're Beautiful, do James Blunt > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Bernardo Ortega 809.983.7620 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Mon Jul 3 21:54:40 2006 From: teng at dataway.com (Tedman Eng) Date: Mon, 3 Jul 2006 12:54:40 -0700 Subject: Issues with Nagios 2.4? Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E11@dw-mail.dataway.com> > -----Original Message----- > From: Michael T. Halligan [mailto:michael at halligan.org] > Sent: Monday, July 03, 2006 10:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Issues with Nagios 2.4? > > Here's my Nagios log without comments or blank lines > service_inter_check_delay_method=n > host_inter_check_delay_method=n Try using a setting of 's' for these two directives. "Using no delay is generally not recommended." -- Nagios Documentation Next, look at your scheduling queue for clues (note that host checks will not be 'scheduled', only service checks get shceduled) Finally, if there are a very large numbers of hosts in down/unreachable state, they can affect your service check performance severly. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at halligan.org Mon Jul 3 22:01:12 2006 From: michael at halligan.org (Michael T. Halligan) Date: Mon, 3 Jul 2006 13:01:12 -0700 (PDT) Subject: Issues with Nagios 2.4? In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E11@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E11@dw-mail.dataway.com> Message-ID: <34442.71.134.226.158.1151956872.squirrel@mail3.bitpusher.com> >> Here's my Nagios log without comments or blank lines > >> service_inter_check_delay_method=n > >> host_inter_check_delay_method=n > > Try using a setting of 's' for these two directives. > "Using no delay is generally not recommended." -- Nagios Documentatio These are some parameters I've been fiddling with. There is no difference when I use =s versus =n, it's consistently unreliable no matter what I try. > Next, look at your scheduling queue for clues (note that host checks will > not be 'scheduled', only service checks get shceduled) Well, I do notice that most of my schedules checks are in a past-time, and I have to assume that they're just not getting run. > Finally, if there are a very large numbers of hosts in down/unreachable > state, they can affect your service check performance severly. ------------------- BitPusher, LLC http://www.bitpusher.com/ 1.888.9PUSHER (415) 724.7998 - Mobile Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at halligan.org Tue Jul 4 04:02:34 2006 From: michael at halligan.org (Michael T. Halligan) Date: Mon, 3 Jul 2006 19:02:34 -0700 (PDT) Subject: Issues with Nagios 2.4? In-Reply-To: <6D13E082-E77F-41D5-89EF-4C5C73DD13F2@halligan.org> References: <6D13E082-E77F-41D5-89EF-4C5C73DD13F2@halligan.org> Message-ID: <46088.71.134.226.158.1151978554.squirrel@mail3.bitpusher.com> A combination of tweaks seems to have fixed this. Lowering service_reaper_frequency combined with turning on smart interleaving seems to make Nagios quite a bit better at catching problems. > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Nagios seems to have been very unstable the past couple of weeks. The > only change I've made is upgrading from 2.2 to 2.4. It could just be > that I have > some bad configuration options, but I'm not sure. I just had a server > go down for an hour, and Nagios never caught it. In general, since > upgrading to 2.0 > Nagios seems very slow on catching broken services/hosts, but usually > checks them (not always). I look at my status overview right now, and > Nagios > says Last Check for almost every service is two days old. Any ideas > on what I'm doing wrong? > > Here's my Nagios log without comments or blank lines > > log_file=/nagios/services/nagios/var/nagios.log > cfg_file=/nagios/services/nagios/etc/checkcommands.cfg > cfg_file=/nagios/services/nagios/etc/contact-templates.cfg > cfg_file=/nagios/services/nagios/etc/contactgroups.cfg > cfg_file=/nagios/services/nagios/etc/contacts.cfg > cfg_file=/nagios/services/nagios/etc/escalations.cfg > cfg_file=/nagios/services/nagios/etc/host-templates.cfg > cfg_file=/nagios/services/nagios/etc/service-templates.cfg > cfg_file=/nagios/services/nagios/etc/misccommands.cfg > cfg_file=/nagios/services/nagios/etc/time_periods.cfg > cfg_file=/nagios/services/nagios/etc/nagios-commands.cfg > cfg_file=/nagios/services/nagios/etc/nagios-hostgroups.cfg > cfg_file=/nagios/services/nagios/etc/nagios-hosts.cfg > cfg_file=/nagios/services/nagios/etc/nagios-service-templates.cfg > cfg_file=/nagios/services/nagios/etc/nagios-services.cfg > object_cache_file=/nagios/services/nagios/var/objects.cache > resource_file=/nagios/services/nagios/etc/resource.cfg > temp_file=/nagios/services/nagios/var/nagios.tmp > status_file=/nagios/services/nagios/var/status.dat > aggregate_status_updates=1 > status_update_interval=15 > nagios_user=nagios > nagios_group=nagios > enable_notifications=1 > execute_service_checks=1 > accept_passive_service_checks=0 > execute_host_checks=1 > accept_passive_host_checks=0 > enable_event_handlers=1 > log_rotation_method=d > log_archive_path=/nagios/services/nagios/var/archives > check_external_commands=1 > command_check_interval=60s > command_file=/nagios/services/nagios/var/rw/nagios.cmd > downtime_file=/nagios/services/nagios/var/downtime.dat > comment_file=/nagios/services/nagios/var/comments.dat > lock_file=/nagios/services/nagios/var/nagios.lock > retain_state_information=1 > state_retention_file=/nagios/services/nagios/var/retention.dat > use_retained_scheduling_info=1 > retention_update_interval=0 > use_retained_program_state=1 > use_syslog=1 > log_notifications=1 > log_service_retries=1 > log_host_retries=1 > log_event_handlers=1 > log_initial_states=0 > log_external_commands=1 > log_passive_checks=0 > sleep_time=0.25 > service_inter_check_delay_method=n > max_service_check_spread=5 > service_interleave_factor=s > max_concurrent_checks=300 > service_reaper_frequency=40 > host_inter_check_delay_method=n > max_host_check_spread=5 > interval_length=60 > auto_reschedule_checks=0 > auto_rescheduling_interval=30 > auto_rescheduling_window=30 > use_agressive_host_checking=0 > enable_flap_detection=0 > low_service_flap_threshold=5.0 > high_service_flap_threshold=20.0 > low_host_flap_threshold=5.0 > high_host_flap_threshold=20.0 > soft_state_dependencies=0 > service_check_timeout=60 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 > obsess_over_services=0 > process_performance_data=0 > check_for_orphaned_services=0 > check_service_freshness=0 > freshness_check_interval=60 > check_host_freshness=0 > host_freshness_check_interval=60 > date_format=us > illegal_object_name_chars=`~!$%^&*|'"<>?,()'= > illegal_macro_output_chars=`~$&|'"<> > use_regexp_matching=0 > use_true_regexp_matching=0 > admin_email=support at nagios.com > admin_pager=ops_urgent at nagios.com > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (Darwin) > > iD8DBQFEqVHlwjCqooJyNAMRAgeJAKCSF6mCLLr9uRhtwHng+cW6W2/4VwCbBrOS > cjp0AoxpQp1pj72WGsqs4RQ= > =vHlh > -----END PGP SIGNATURE----- > ------------------- BitPusher, LLC http://www.bitpusher.com/ 1.888.9PUSHER (415) 724.7998 - Mobile Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From riky.none at email.it Tue Jul 4 08:12:30 2006 From: riky.none at email.it (Riccardo Gaggero) Date: Tue, 4 Jul 2006 08:12:30 +0200 (CEST) Subject: the best web configurator nagios tool IS???? Message-ID: <20060704061230.1761E4F4045@desire.netways.de> Hi list fruit nag2web nagweb ecc ecc ecc...... the winner is????? grazie - Riccardo Gaggero (rikymn) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.duffy at tney.northy.nhs.uk Tue Jul 4 12:05:40 2006 From: mark.duffy at tney.northy.nhs.uk (Mark Duffy) Date: Tue, 4 Jul 2006 11:05:40 +0100 Subject: Reporting in Nagios V2.4 Message-ID: <97B21E709D62C643AF853C9543C488A1091062@FLEX3.tney.northy.nhs.uk> Sorry for the question but I have tried searching but to no avail, Is it possible to get detailed reports of CPU, Memory, Ping etc showing actual variables and not just when warnings or critical errors are occurring? Regards, Mark Nagios V2.4 This email may contain confidential information and may be read, copied and used only by the intended recipient. The information in this email transmission may not be legally revealed and is intended only for the use of the individual(s) named above. If you are not the intended recipient you are hereby notified that any use, dissemination, distribution or copying of this email message or its information is strictly prohibited. If you have received this email in error please notify the sender by reply or by telephoning +44 (0)1642 283949. Delete this message from your email system(s) and do not disclose its contents to any person. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rab at walkermartyn.co.uk Tue Jul 4 12:49:26 2006 From: rab at walkermartyn.co.uk (Robert Jackson) Date: Tue, 4 Jul 2006 11:49:26 +0100 Subject: Nagios 2.4 Under Redhat EL 4 Message-ID: I'm about to install Redhat EL 4 for the sole purpose of having a Nagios server. I remember reading a document that outlined the Redhat install (package options chosen during the install etc) followed by the Nagios install. However I can't remember where I seen it:-( Does anyone have or know of such a document? TIA. =========================================================== Robert Jackson Phone: +44 (0) 141 332 7999 Software Engineer Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus Place Email: rab at walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk =========================================================== ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk **************************************************************** Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbortega at gmail.com Tue Jul 4 14:10:37 2006 From: jbortega at gmail.com (Bernardo Ortega) Date: Tue, 4 Jul 2006 08:10:37 -0400 Subject: Nagios 2.4 Under Redhat EL 4 In-Reply-To: References: Message-ID: Create this file in /etc/yum.repos.d/nagios.repo [dag] name=Dag RPM Repository for Fedora Core baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag enabled=1 gpgcheck=0 an then run this command yum install nagios On 7/4/06, Robert Jackson wrote: > > I'm about to install Redhat EL 4 for the sole purpose of having a Nagios > server. > I remember reading a document that outlined the Redhat install (package > options chosen during the install etc) followed by the Nagios install. > However > I can't remember where I seen it:-( > > Does anyone have or know of such a document? > > > TIA. > =========================================================== > Robert Jackson Phone: +44 (0) 141 332 > 7999 > Software Engineer Fax: +44 (0) 141 331 > 2820 > Walker Martyn Ltd > 1 Park Circus Place Email: > rab at walkermartyn.co.uk > Glasgow G3 6AH, Scotland Web: > http://www.walkermartyn.co.uk > =========================================================== > > > ************************************************************************ > The information in this internet E-mail is confidential and is intended > solely for the addressee. Access, copying or re-use of information in it > by anyone else is unauthorised. Any views or opinions presented are > solely those of the author and do not necessarily represent those of > Walker Martyn Ltd or any of its affiliates. If you are not the > intended recipient please contact administrator at walkermartyn.co.uk > **************************************************************** > > > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Bernardo Ortega 809.983.7620 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbortega at gmail.com Tue Jul 4 14:12:14 2006 From: jbortega at gmail.com (Bernardo Ortega) Date: Tue, 4 Jul 2006 08:12:14 -0400 Subject: Nagios 2.4 Under Redhat EL 4 In-Reply-To: References: Message-ID: Create this file in /etc/yum.repos.d/dag.repo [dag] name=Dag RPM Repository for Fedora Core baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag enabled=1 gpgcheck=0 an then run this command yum update and after yum install nagios On 7/4/06, Robert Jackson wrote: > > I'm about to install Redhat EL 4 for the sole purpose of having a Nagios > server. > I remember reading a document that outlined the Redhat install (package > options chosen during the install etc) followed by the Nagios install. > However > I can't remember where I seen it:-( > > Does anyone have or know of such a document? > > > TIA. > =========================================================== > Robert Jackson Phone: +44 (0) 141 332 > 7999 > Software Engineer Fax: +44 (0) 141 331 > 2820 > Walker Martyn Ltd > 1 Park Circus Place Email: > rab at walkermartyn.co.uk > Glasgow G3 6AH, Scotland Web: > http://www.walkermartyn.co.uk > =========================================================== > > > ************************************************************************ > The information in this internet E-mail is confidential and is intended > solely for the addressee. Access, copying or re-use of information in it > by anyone else is unauthorised. Any views or opinions presented are > solely those of the author and do not necessarily represent those of > Walker Martyn Ltd or any of its affiliates. If you are not the > intended recipient please contact administrator at walkermartyn.co.uk > **************************************************************** > > > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Tue Jul 4 14:59:05 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 4 Jul 2006 08:59:05 -0400 Subject: Nagios 2.4 Under Redhat EL 4 In-Reply-To: References: Message-ID: <302ce8b50607040559r34b451fbr197be5ab26f2d230@mail.gmail.com> On 7/4/06, Bernardo Ortega wrote: > Create this file in /etc/yum.repos.d/nagios.repo Unless we're talking about a true RHEL4 box, which won't have yum. > > Does anyone have or know of such a document? Not sure which one you're refering to, but there are a couple that might help http://wiki.centos.org/Nagios_on_CentOS_4.x http://www.cognitive-dissonance.org/wiki/Configuring+Nagios -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.stankaitis at datawire.net Tue Jul 4 16:57:05 2006 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Tue, 04 Jul 2006 10:57:05 -0400 Subject: Nagios 2.4 Under Redhat EL 4 In-Reply-To: <302ce8b50607040559r34b451fbr197be5ab26f2d230@mail.gmail.com> References: <302ce8b50607040559r34b451fbr197be5ab26f2d230@mail.gmail.com> Message-ID: <44AA81C1.1080001@datawire.net> Jim Perrin wrote: > On 7/4/06, Bernardo Ortega wrote: >> Create this file in /etc/yum.repos.d/nagios.repo > > Unless we're talking about a true RHEL4 box, which won't have yum. > > RHEL4 (and even RHEL3's) up2date supports YUM... edit your /etc/sysconfig/rhn/sources Add with the Following Format: yum REPO-NAME-IE-NAGIOS URL-TO-REPO --Chris Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jul 4 17:37:24 2006 From: marc at ena.com (Marc Powell) Date: Tue, 4 Jul 2006 10:37:24 -0500 Subject: Reporting in Nagios V2.4 Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Mark Duffy > Sent: Tuesday, July 04, 2006 5:06 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Reporting in Nagios V2.4 > > Sorry for the question but I have tried searching but to no avail, > > Is it possible to get detailed reports of CPU, Memory, Ping etc showing > actual variables and not just when warnings or critical errors are > occurring? Not directly with Nagios. There are a number of add-ons that will graph that kind of data through nagios -- http://www.nagiosexchange.org/Charts.42.0.html or You can use performance data processing to store that information in a DB or other external entity for your own uses Or You can use a tool like cricket or cacti to track that outside nagios. -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Tue Jul 4 17:49:42 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Tue, 04 Jul 2006 16:49:42 +0100 Subject: Oracle plugin check_oracle Message-ID: <44AA8E16.3090101@gmail.com> Hi, has anybody got the check_oracle plug-in working? I usually try to do this stuff from the command line first to see how it works before creating the check_command definition but it's not working for this plug-in. The error I get is: ./check_oracle --tns 192.168.1.99 Cannot determine ORACLE_HOME for sid 192.168.1.99 Which according to --help is supposed to check a remote oracle server, so why on earth is it asking for ORACLE_HOME, when this machine has no oracle on it and won't have a home? The same happens when using the tns name (which also resolves via dns). Anybody got any ideas? Hari Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbortega at gmail.com Tue Jul 4 17:57:07 2006 From: jbortega at gmail.com (Bernardo Ortega) Date: Tue, 4 Jul 2006 11:57:07 -0400 Subject: Oracle plugin check_oracle In-Reply-To: <44AA8E16.3090101@gmail.com> References: <44AA8E16.3090101@gmail.com> Message-ID: First, you must install oracle client and put oracle directory in the path. Bernardo. 2006/7/4, Hari Sekhon : > > Hi, > > has anybody got the check_oracle plug-in working? I usually try to do > this stuff from the command line first to see how it works before > creating the check_command definition but it's not working for this > plug-in. The error I get is: > > ./check_oracle --tns 192.168.1.99 > Cannot determine ORACLE_HOME for sid 192.168.1.99 > > Which according to --help is supposed to check a remote oracle server, > so why on earth is it asking for ORACLE_HOME, when this machine has no > oracle on it and won't have a home? The same happens when using the tns > name (which also resolves via dns). > > Anybody got any ideas? > > Hari > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Jul 4 18:04:48 2006 From: jhmartin at toger.us (Jason Martin) Date: Tue, 4 Jul 2006 09:04:48 -0700 Subject: Oracle plugin check_oracle In-Reply-To: <44AA8E16.3090101@gmail.com> References: <44AA8E16.3090101@gmail.com> Message-ID: <20060704160448.GY3056@mal.members.linode.com> On Tue, Jul 04, 2006 at 04:49:42PM +0100, Hari Sekhon wrote: > has anybody got the check_oracle plug-in working? I usually try to do > this stuff from the command line first to see how it works before > creating the check_command definition but it's not working for this > plug-in. The error I get is: > > ./check_oracle --tns 192.168.1.99 > Cannot determine ORACLE_HOME for sid 192.168.1.99 > > Which according to --help is supposed to check a remote oracle server, > so why on earth is it asking for ORACLE_HOME, when this machine has no > oracle on it and won't have a home? The same happens when using the tns > name (which also resolves via dns). check_oracle is a shell script that calls tnsping or sqlplus to do its work. It requires that the oracle client utilities be installed for it to work. You need to either run this via ssh/NRPE or install Oracle on the host initiating the check. -Jason Martin -- Captain, why not just give the Borg Windows? - Worf This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Tue Jul 4 18:13:13 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Tue, 04 Jul 2006 17:13:13 +0100 Subject: Oracle plugin check_oracle In-Reply-To: <20060704160448.GY3056@mal.members.linode.com> References: <44AA8E16.3090101@gmail.com> <20060704160448.GY3056@mal.members.linode.com> Message-ID: <44AA9399.7050206@gmail.com> Jason Martin wrote: > On Tue, Jul 04, 2006 at 04:49:42PM +0100, Hari Sekhon wrote: > >> has anybody got the check_oracle plug-in working? I usually try to do >> this stuff from the command line first to see how it works before >> creating the check_command definition but it's not working for this >> plug-in. The error I get is: >> >> ./check_oracle --tns 192.168.1.99 >> Cannot determine ORACLE_HOME for sid 192.168.1.99 >> >> Which according to --help is supposed to check a remote oracle server, >> so why on earth is it asking for ORACLE_HOME, when this machine has no >> oracle on it and won't have a home? The same happens when using the tns >> name (which also resolves via dns). >> > check_oracle is a shell script that calls tnsping or sqlplus to > do its work. It requires that the oracle client utilities be > installed for it to work. You need to either run this via > ssh/NRPE or install Oracle on the host initiating the check. > > -Jason Martin > oh bummer, thanks guys. is there a better binary plug-in anywhere that doesn't have these dependencies? It would be nice to get this working... -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.traylen at rl.ac.uk Tue Jul 4 18:21:49 2006 From: s.traylen at rl.ac.uk (Steve Traylen) Date: Tue, 4 Jul 2006 17:21:49 +0100 Subject: Is there a max length for a command_line ? In-Reply-To: <20060620140509.GR6495@machine-18.sisyphus.loc> References: <20060620122606.GB25654@x.esc.rl.ac.uk> <20060620140509.GR6495@machine-18.sisyphus.loc> Message-ID: <20060704162149.GA20903@x.esc.rl.ac.uk> On Tue, Jun 20, 2006 at 04:05:09PM +0200 or thereabouts, nagios at sisyphus.ch wrote: > On Tue, Jun 20, 2006 at 01:26:06PM +0100, Steve Traylen wrote: > [...] > > I don't see how it can be this, currently the command looks to be being truncated at > > a very bizare 342 characters long. > > in include/objects.h: > #define MAX_PLUGINOUTPUT_LENGTH 332 /* max. length of plugin output */ > Returning to this now after a while, the maximum length a command can be. We are running Dag's build of nagios-2.4-1.el4.rf. this has #define MAX_XODTEMPLATE_INPUT_BUFFER 65535 and #define MAX_COMMAND_BUFFER 8192 after adding a micky mouse check_command equivalent to a check_cluster2 command_line /root/test-length.sh --host -l "Batch Cluster" \ -w $ARG1$ -c $ARG2$ -d $HOSTSTATEID:node001$,$HOSTSTATEID:node002$,... \ ... ,$HOSTSTATEID:node0998,$HOSTSTATEID:node0999$ where test-length.sh just contains #!/bin/sh echo "Testing Outout" echo $@ > /tmp/output.txt we end up with a /tmp/output.txt of --host -l Batch Cluster -w 1 -c 2 -d 0,0,...,0,1,0,$ which has a charecter length of 739. If we add on the '/root/test-length.sh ' then we get a total length of 760. So it is still unclear what limit it is that we are coming up against and so which one should be increased. Steve > -- > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Steve Traylen s.traylen at rl.ac.uk http://www.gridpp.ac.uk/ Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elias.probst at gmx.de Tue Jul 4 18:37:06 2006 From: elias.probst at gmx.de (Elias Probst) Date: Tue, 4 Jul 2006 18:37:06 +0200 Subject: Oracle plugin check_oracle In-Reply-To: <44AA9399.7050206@gmail.com> References: <44AA8E16.3090101@gmail.com> <20060704160448.GY3056@mal.members.linode.com> <44AA9399.7050206@gmail.com> Message-ID: <200607041837.06717.elias.probst@gmx.de> Hari Sekhon wrote: > is there a better binary plug-in anywhere that doesn't have these > dependencies? > > It would be nice to get this working... Don't know about a binary plugin doing this. The Oracle Instantclient (sqlplus) is available here: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html When using Gentoo, you can install it using "emerge oracle-instantclient-sqlplus". Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Tue Jul 4 18:49:28 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Tue, 04 Jul 2006 17:49:28 +0100 Subject: Oracle plugin check_oracle In-Reply-To: <200607041837.06717.elias.probst@gmx.de> References: <44AA8E16.3090101@gmail.com> <20060704160448.GY3056@mal.members.linode.com> <44AA9399.7050206@gmail.com> <200607041837.06717.elias.probst@gmx.de> Message-ID: <44AA9C18.5020608@gmail.com> Elias Probst wrote: > Hari Sekhon wrote: > >> is there a better binary plug-in anywhere that doesn't have these >> dependencies? >> >> It would be nice to get this working... >> > > Don't know about a binary plugin doing this. > > The Oracle Instantclient (sqlplus) is available here: > http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html > > When using Gentoo, you can install it using > "emerge oracle-instantclient-sqlplus". > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > Thanks, good guess I'm using gentoo, the link you provided seems broken though, and emerge has it listed as a restricted package so I have to fetch it manually, how 90s... but the link emerge has given me seems to work... Thanks again, you've got the ball rolling ! -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Tue Jul 4 19:41:30 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 4 Jul 2006 13:41:30 -0400 Subject: Oracle plugin check_oracle In-Reply-To: <44AA9C18.5020608@gmail.com> References: <44AA9C18.5020608@gmail.com> Message-ID: > Don't know about a binary plugin doing this. > The Oracle Instantclient (sqlplus) is available here: > http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/ linuxsoft.html [snip] The check_oracle client won't work with just the Instant Client, because it doesn't include tnsping. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Tue Jul 4 19:44:45 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 4 Jul 2006 13:44:45 -0400 Subject: Oracle plugin check_oracle In-Reply-To: <44AA9399.7050206@gmail.com> References: <44AA9399.7050206@gmail.com> Message-ID: > oh bummer, thanks guys. > is there a better binary plug-in anywhere that doesn't have these dependencies? Trying to recreate the Oracle client within a plugin would probably be more trouble than it's worth. If all you want to know is if the database is listening, you can always just do a TCP check against the TNS listener port. If you want anything really conclusive, though, you're going to need to connect to the database with an Oracle client one way or another. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 altinity.com Tue Jul 4 20:28:41 2006 From: ton.voon at altinity.com (Ton Voon) Date: Tue, 4 Jul 2006 19:28:41 +0100 Subject: Oracle plugin check_oracle In-Reply-To: References: Message-ID: <4290F604-C96B-4F39-B09D-EC8EFDD377E7@altinity.com> On 4 Jul 2006, at 18:41, Morris, Patrick wrote: >> Don't know about a binary plugin doing this. >> The Oracle Instantclient (sqlplus) is available here: >> > http://www.oracle.com/technology/software/tech/oci/instantclient/ > htdocs/ > linuxsoft.html > > [snip] > > The check_oracle client won't work with just the Instant Client, > because > it doesn't include tnsping. When I've used check_oracle, I use the --login option instead of -- tnsping. This simulates a login, and returns OK if it gets a "invalid login, incorrect username/password". This is a better check because it goes down the entire stack and grabs whatever errors are returned by Oracle (for instance, "shutdown in progress"). I assume the Instantclient will still work with check_oracle (as it just needs sqlplus). Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Tue Jul 4 20:33:29 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Tue, 04 Jul 2006 19:33:29 +0100 Subject: Oracle plugin check_oracle In-Reply-To: <4290F604-C96B-4F39-B09D-EC8EFDD377E7@altinity.com> References: <4290F604-C96B-4F39-B09D-EC8EFDD377E7@altinity.com> Message-ID: <44AAB479.101@gmail.com> Ton Voon wrote: > > On 4 Jul 2006, at 18:41, Morris, Patrick wrote: > >>> Don't know about a binary plugin doing this. >>> >>> The Oracle Instantclient (sqlplus) is available here: >>> >>> >> http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/ >> >> >> linuxsoft.html >> >> >> [snip] >> >> >> The check_oracle client won't work with just the Instant Client, because >> >> it doesn't include tnsping. >> > > When I've used check_oracle, I use the --login option instead of > --tnsping. This simulates a login, and returns OK if it gets a > "invalid login, incorrect username/password". This is a better check > because it goes down the entire stack and grabs whatever errors are > returned by Oracle (for instance, "shutdown in progress"). > > I assume the Instantclient will still work with check_oracle (as it > just needs sqlplus). > > Ton > > http://www.altinity.com > T: +44 (0)870 787 9243 > F: +44 (0)845 280 1725 > Skype: tonvoon > > > ------------------------------------------------------------------------ > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null yes this is probably what i'll do as well -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ron at tvnz.co.nz Tue Jul 4 23:02:22 2006 From: ron at tvnz.co.nz (Ron Wilson) Date: Wed, 5 Jul 2006 09:02:22 +1200 Subject: Problems with 2.4 Nagios Message-ID: Re the problems I have had using the plugin check_file_age I have discovered why it was not working. The file I check each day uses a wildcard as file name changes each day. This worked fine in earlier version of Nagios and also works from command line. However it will not work when using a wildcard to define file to check in version 2.4. if I use the full name and it works fine. Does anyone know why the change in Nagios and how to fix? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cecil.williams at autozone.com Tue Jul 4 23:01:30 2006 From: cecil.williams at autozone.com (cecil.williams at autozone.com) Date: Tue, 4 Jul 2006 16:01:30 -0500 Subject: Cecil Williams/STS/AUTOZONE is out of the office. Message-ID: I will be out of the office starting 07/03/2006 and will not return until 07/07/2006. Please send all requests/problems to IT AIX SUPPORT via lotus notes. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 wansecurity.com Wed Jul 5 03:04:41 2006 From: lists at wansecurity.com (Robert Smith) Date: Wed, 05 Jul 2006 10:04:41 +0900 Subject: Nagios has a hard time scheduling > 3000 checks Message-ID: <44AB1029.1020001@wansecurity.com> We have a total of over 9000 check_snmp polling based checks for snmp ports on devices in our enterprise. Nagios is having a really hard time scheduling them. How can I get nagios to completely forget about trying to reduce the load on the "monitoring" host and I could care less about interleave and all that stuff. I have tried many many different combinations of options in the nagios.cfg. It appears that the default setting is the best and *ONLY* configuration that will even allow checks to be scheduled. I just want Nagios to schedule and execute all checks in a timely fashion. Ideally they would each individual check would be scheduled and executed at least once every 10 minutes. Is this possible? -R Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.cantos at neopost.com Wed Jul 5 10:43:37 2006 From: s.cantos at neopost.com (Sebastien Cantos) Date: Wed, 5 Jul 2006 10:43:37 +0200 Subject: Monitoring F5 Bigip Message-ID: <00ba01c6a00f$1b78e820$9100a8c0@rese0001> Hello, I would like to know if someone is already monitoring a F5 BigIp Load Balancer with nagios. Is there a way to know if some virtual server or some member of a pool is not joinable using snmp or something else ? Thanks in advance. Regards, Neopost Diva 127 avenue Joseph Pierre Boitelet BP50 84302 CAVAILLON Cedex FRANCE S?bastien, Cantos IT Manager s.cantos at neopost.com Phone: + 33 4 90 76 08 08 Fax: + 33 1 40 39 23 23 http://www.neopost.com The information contained in this message or any of its attachments is confidential and is intended for the exclusive use of the addressee. The information may also be legally privileged. The Internet cannot guarantee the integrity of this message. Neopost shall not therefore be liable for the message if modified. The views expressed may not be company policy, but the personal views of the originator. If you are not the addressee, any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited. If you have received this message in error, please contact postmaster.diva at neopost.com and then delete this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2315 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 360 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.gif Type: image/gif Size: 227 bytes Desc: not available URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matteo.corti at id.ethz.ch Wed Jul 5 10:45:09 2006 From: matteo.corti at id.ethz.ch (Matteo Corti) Date: Wed, 05 Jul 2006 10:45:09 +0200 Subject: nested hostgroups Message-ID: <44AB7C15.1080601@id.ethz.ch> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I was wandering if it is possible to have nested hosgroups (i.e., having an hostgroup member wich is an hostgroup). Many thanks, Matteo Corti - -- Matteo Corti ETH Zurich -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFEq3wVLEG/T0gggJsRApVjAJ9RR0/Ns9eQyDvhgj8MgYaTK6xfMgCgq7f7 jVErL7oLd6tIgBS+gIXDnGg= =elEo -----END PGP SIGNATURE----- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Wed Jul 5 10:51:18 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 5 Jul 2006 04:51:18 -0400 Subject: Monitoring F5 Bigip In-Reply-To: <00ba01c6a00f$1b78e820$9100a8c0@rese0001> References: <00ba01c6a00f$1b78e820$9100a8c0@rese0001> Message-ID: > I would like to know if someone is already monitoring a > F5 BigIp Load Balancer with nagios. Is there a way to know > if some virtual server or some member of a pool is not joinable > using snmp or something else ? Yes -- Doing it here with the combo of snmptt and Nagios. Also monitoring virtual servers via traditional methods (i.e., pointing the check_http plugin at the external vip) in addition to checking the apps on the real servers. If something breaks, we often hear about it several different ways. :) Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Wed Jul 5 10:52:25 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 5 Jul 2006 04:52:25 -0400 Subject: nested hostgroups In-Reply-To: <44AB7C15.1080601@id.ethz.ch> References: <44AB7C15.1080601@id.ethz.ch> Message-ID: > I was wandering if it is possible to have nested hosgroups > (i.e., having an hostgroup member wich is an hostgroup). No, recursive groups don't work. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bohara at gmail.com Wed Jul 5 11:06:04 2006 From: bohara at gmail.com (Ben O'Hara) Date: Wed, 5 Jul 2006 10:06:04 +0100 Subject: check_ping and source address Message-ID: <2b36e660607050206j38c8c6eciaca1f5660f460dc7@mail.gmail.com> Hi Guys, Im looking at adding a ping check from our nagios host to a remote host, the nagios machine has a number of interfaces and i want to set the source address of the ping to ensure it goes over a specfic link (and hence a specific VPN tunnel) anyone know if this is possible at all? Ive had a look at the code for check_ping and it looks like it might be a possibility as its just calling the ping binary but rather than reinvent the wheel i thought id ask here first. anyone doing anything like this at present? would it be a change to check_ping that people would use or would it be better to do it elsewhere Cheers Ben -- "A Scientist will earn a living by taking a really difficult problem and spends many years solving it, an engineer earns a living by finding really difficult problems and side stepping them" Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 altinity.com Wed Jul 5 11:14:23 2006 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 5 Jul 2006 10:14:23 +0100 Subject: check_ping and source address In-Reply-To: <2b36e660607050206j38c8c6eciaca1f5660f460dc7@mail.gmail.com> References: <2b36e660607050206j38c8c6eciaca1f5660f460dc7@mail.gmail.com> Message-ID: <9A625B5C-C4EE-42FA-A496-005BB02DF724@altinity.com> On 5 Jul 2006, at 10:06, Ben O'Hara wrote: > Im looking at adding a ping check from our nagios host to a remote > host, the nagios machine has a number of interfaces and i want to set > the source address of the ping to ensure it goes over a specfic link > (and hence a specific VPN tunnel) > > anyone know if this is possible at all? Ive had a look at the code > for check_ping and it looks like it might be a possibility as its just > calling the ping binary but rather than reinvent the wheel i thought > id ask here first. > > anyone doing anything like this at present? > > would it be a change to check_ping that people would use or would it > be better to do it elsewhere Ben, There is a patch that has been submitted on SF for this functionality: https://sourceforge.net/tracker/index.php? func=detail&aid=1499641&group_id=29880&atid=397599 Unfortunately, this will not be applied into the main plugin code because it is too painful to parse through all the different distributions of ping to see if the source address option is supported. However, it is very useful functionality. If you can provide a patch for check_icmp (the pure C implementation of check_ping), we would definitely re-evaluate it. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bohara at gmail.com Wed Jul 5 11:24:01 2006 From: bohara at gmail.com (Ben O'Hara) Date: Wed, 5 Jul 2006 10:24:01 +0100 Subject: check_ping and source address In-Reply-To: <9A625B5C-C4EE-42FA-A496-005BB02DF724@altinity.com> References: <2b36e660607050206j38c8c6eciaca1f5660f460dc7@mail.gmail.com> <9A625B5C-C4EE-42FA-A496-005BB02DF724@altinity.com> Message-ID: <2b36e660607050224g44f2899t4ccc6cbd8f580603@mail.gmail.com> On 7/5/06, Ton Voon wrote: > > On 5 Jul 2006, at 10:06, Ben O'Hara wrote: > > > Im looking at adding a ping check from our nagios host to a remote > > host, the nagios machine has a number of interfaces and i want to set > > the source address of the ping to ensure it goes over a specfic link > > (and hence a specific VPN tunnel) > > > > anyone know if this is possible at all? Ive had a look at the code > > for check_ping and it looks like it might be a possibility as its just > > calling the ping binary but rather than reinvent the wheel i thought > > id ask here first. > > > > anyone doing anything like this at present? > > > > would it be a change to check_ping that people would use or would it > > be better to do it elsewhere > > Ben, > > There is a patch that has been submitted on SF for this > functionality: https://sourceforge.net/tracker/index.php? > func=detail&aid=1499641&group_id=29880&atid=397599 > > Unfortunately, this will not be applied into the main plugin code > because it is too painful to parse through all the different > distributions of ping to see if the source address option is supported. > Cheers for the reply Ton, yes, it probably isnt the best way to do it, im using FreeBSD and ping on there takes -S for source address, -l is preload. > However, it is very useful functionality. If you can provide a patch > for check_icmp (the pure C implementation of check_ping), we would > definitely re-evaluate it. A bit beyond my knowledge im afraid, but it does sound like other people would find it useful if anyone manages to code something up ;-) Ben > > Ton > > http://www.altinity.com > T: +44 (0)870 787 9243 > F: +44 (0)845 280 1725 > Skype: tonvoon > > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- "A Scientist will earn a living by taking a really difficult problem and spends many years solving it, an engineer earns a living by finding really difficult problems and side stepping them" Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.cantos at neopost.com Wed Jul 5 13:43:47 2006 From: s.cantos at neopost.com (Sebastien Cantos) Date: Wed, 5 Jul 2006 13:43:47 +0200 Subject: Monitoring F5 Bigip In-Reply-To: References: Message-ID: <010f01c6a028$46dbe530$9100a8c0@rese0001> I'm trying to code a module check_bigip_snmp. I manage to get results from snmpwalk : # snmpwalk -m ALL -v1 -c xxxxx 192.168.21.2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."av_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."lasthop" = INTEGER: 0 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."dns_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."ftp_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."dns2_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."imap_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."ldap_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."mail_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."pop3_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."avftp_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."avweb_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."osi_rev_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."osi_ldap_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."web_pool_http" = INTEGER: 4 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."web_pool_https" = INTEGER: 0 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."diva_flash_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."osi_radius_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."webmonitor_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."osi_radacct_pool" = INTEGER: 2 But I've a problem chen I try to get only one value with snmpget: # snmpget -m ALL -v1 -c xxxxx 192.168.21.2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."av_pool" F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt.av_pool: Unknown Object Identifier (Index out of range: av_pool (ltmPoolName)) Is there anything I'm doing wrong ? -----Message d'origine----- De?: Morris, Patrick [mailto:patrick.morris at hp.com] Envoy??: mercredi 5 juillet 2006 10:51 ??: Sebastien Cantos; nagios-users at lists.sourceforge.net Objet?: RE: [Nagios-users] Monitoring F5 Bigip > I would like to know if someone is already monitoring a > F5 BigIp Load Balancer with nagios. Is there a way to know > if some virtual server or some member of a pool is not joinable > using snmp or something else ? Yes -- Doing it here with the combo of snmptt and Nagios. Also monitoring virtual servers via traditional methods (i.e., pointing the check_http plugin at the external vip) in addition to checking the apps on the real servers. If something breaks, we often hear about it several different ways. :) Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Wed Jul 5 14:02:02 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Wed, 05 Jul 2006 13:02:02 +0100 Subject: jabber plugin returning critical when server up Message-ID: <44ABAA3A.7090305@gmail.com> I'm trying to use the jabber plug-in but the service is returning critical even though the service is up and I can log in and use it. /usr/nagios/libexec/check_jabber -H servername CRITICAL - Cannot make SSL connection 19034:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:601: I don't get it, the server isn't using SSL, so perhaps this is why it fails, but shouldn't you be able to test it when running without an SSL connection? Gaim finds the port and connects fine... the --help mentions that the flag -S makes it use an SSL connection but I never put this flag in, so it should be using a normal connection, shouldn't it? When I put the -S flag in it returns the same as above. Jabber is using the default ports of 5222 for the straight tcp connection without ssl, and 5269 for the server connection and both ports are currently bound correctly and the service is working. Any ideas? Is the check_jabber plug-in broken? -h Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.cantos at neopost.com Wed Jul 5 14:02:59 2006 From: s.cantos at neopost.com (Sebastien Cantos) Date: Wed, 5 Jul 2006 14:02:59 +0200 Subject: Monitoring F5 Bigip In-Reply-To: <010f01c6a028$46dbe530$9100a8c0@rese0001> References: <010f01c6a028$46dbe530$9100a8c0@rese0001> Message-ID: <011001c6a02a$f5d22b60$9100a8c0@rese0001> I've understood what I was doing wrong, in fact av_pool has to be translated 7.97.118.95.112.111.111.108 7 is the size of the string then we have each char starting with 'a' which is 97: # snmpget -m ALL -v1 -c public 192.168.21.2 .1.3.6.1.4.1.3375.2.2.5.1.2.1.8.7.97.118.95.112.111.111.108 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."av_pool" = INTEGER: 2 This works :) Thanks to all. -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Sebastien Cantos Envoy??: mercredi 5 juillet 2006 13:44 ??: 'Morris, Patrick'; nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] Monitoring F5 Bigip I'm trying to code a module check_bigip_snmp. I manage to get results from snmpwalk : # snmpwalk -m ALL -v1 -c xxxxx 192.168.21.2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."av_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."lasthop" = INTEGER: 0 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."dns_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."ftp_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."dns2_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."imap_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."ldap_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."mail_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."pop3_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."avftp_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."avweb_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."osi_rev_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."osi_ldap_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."web_pool_http" = INTEGER: 4 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."web_pool_https" = INTEGER: 0 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."diva_flash_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."osi_radius_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."webmonitor_pool" = INTEGER: 2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."osi_radacct_pool" = INTEGER: 2 But I've a problem chen I try to get only one value with snmpget: # snmpget -m ALL -v1 -c xxxxx 192.168.21.2 F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt."av_pool" F5-BIGIP-LOCAL-MIB::ltmPoolActiveMemberCnt.av_pool: Unknown Object Identifier (Index out of range: av_pool (ltmPoolName)) Is there anything I'm doing wrong ? -----Message d'origine----- De?: Morris, Patrick [mailto:patrick.morris at hp.com] Envoy??: mercredi 5 juillet 2006 10:51 ??: Sebastien Cantos; nagios-users at lists.sourceforge.net Objet?: RE: [Nagios-users] Monitoring F5 Bigip > I would like to know if someone is already monitoring a > F5 BigIp Load Balancer with nagios. Is there a way to know > if some virtual server or some member of a pool is not joinable > using snmp or something else ? Yes -- Doing it here with the combo of snmptt and Nagios. Also monitoring virtual servers via traditional methods (i.e., pointing the check_http plugin at the external vip) in addition to checking the apps on the real servers. If something breaks, we often hear about it several different ways. :) Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Wed Jul 5 14:37:43 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Wed, 5 Jul 2006 07:37:43 -0500 Subject: Missing hosts.cfg, hostsgroups.cfg, timperiods.cfg.... In-Reply-To: <200606301104385.SM02488@ford> References: <200606301104385.SM02488@ford> Message-ID: I suppose I can create these files; however, would you have a sample template to look at? That could help me out a lot..... On 6/30/06, Edward Ford wrote: > > I fell into the same trap. The install package installs minimal.cfg but > no other ones. > > > > If you create the necessary cfg files by hand it will work, also uncomment > the necessary files in nagios.cfg when they are created. I had to play > with it a bit to get it to work but now it works with all the files not just > minimal.cfg > > > > > > > ------------------------------ > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Justin Craig > *Sent:* Friday, June 30, 2006 10:51 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Missing hosts.cfg, hostsgroups.cfg, > timperiods.cfg.... > > > > First let me beg forgiveness - I am not a linux admin, I barely can > navagate my way around linux. > > > > I have successfully installed nagios 2.2 and apache web server. I have > the app running and get to a web page via http://mymachinename/nagios and > have access the the CGI's and I am monitoring localhost. I believe I'm > doing this using my minimal.cfg file that is active from nagios.cfg I see > all my other .cfg files commented out in nagios.cfg, but the sample .cfg's > for hosts and hostsgroups and some others aren't anywhere? > > > > I searched find / -name hosts* And looked in /usr/local/nagios/etc > Anyway, thought i might have missed something so i tried installing again > with ./configure, make all, make install, make install-init, make > install-commandmode, make install-config > > > > The make install-config loads the samples I believe and none of the hosts > samples are there. Can anyone help me out here? > > > > > > > > > > -- > - Justin > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rrivera at comtex.com Wed Jul 5 15:24:39 2006 From: rrivera at comtex.com (Rimbert Rivera) Date: Wed, 5 Jul 2006 08:24:39 -0500 Subject: Is there a way to include the result of check_nagios in the subject line of an e-mail? Message-ID: I have a Cron job running every two hours that runs check_nagios and e-mails us the result. Here's the command I'm using: /usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios | mail -s"Nagios Status check (heartbeat)" email at domain.com The command e-mails the check_nagios output as the e-mail body. Is there a way to put it in the subject line instead? I cannot figure it out. I don't think mail will let me do what I want. Is there something else I can use? I'm using RedHat 9. - Rim Rimbert Rivera Manager, Information Technology COMTEX News Network rrivera at comtex.com (703) 820-2000 Discover more about COMTEX at: http://www.comtex.com/ This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Wed Jul 5 15:27:01 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Wed, 05 Jul 2006 14:27:01 +0100 Subject: Is there a way to include the result of check_nagios in the subject line of an e-mail? In-Reply-To: References: Message-ID: <44ABBE25.3030802@gmail.com> Rimbert Rivera wrote: > > I have a Cron job running every two hours that runs check_nagios and > e-mails us the result. Here's the command I'm using: > > /usr/local/nagios/libexec/check_nagios -F > /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios > | mail -s"Nagios Status check (heartbeat)" email at domain.com > > The command e-mails the check_nagios output as the e-mail body. Is > there a way to put it in the subject line instead? I cannot figure it > out. I don't think mail will let me do what I want. Is there > something else I can use? I'm using RedHat 9. > > - Rim > > Rimbert Rivera > Manager, Information Technology > COMTEX News Network > rrivera at comtex.com > (703) 820-2000 > Discover more about COMTEX at: _http://www.comtex.com/_ > This e-mail is intended solely for the person or entity to which it is > addressed and may contain confidential and/or privileged information. > Any review, dissemination, copying, printing or other use of this > e-mail by persons or entities other than the addressee is prohibited. > If you have received this e-mail in error, please contact the sender > immediately and delete the material from any computer. > > ------------------------------------------------------------------------ > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null I see you're using /bin/mail, this way there is not, use perl or python or something and then you can do what you want, but I can't see how to do it with this command unless you pipe the output to a file and then inline cat the file just after the -s... -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscribe at aehome.net Wed Jul 5 16:08:38 2006 From: subscribe at aehome.net (subscribe) Date: Wed, 5 Jul 2006 09:08:38 -0500 Subject: check_ping and source address In-Reply-To: <2b36e660607050206j38c8c6eciaca1f5660f460dc7@mail.gmail.com> References: <2b36e660607050206j38c8c6eciaca1f5660f460dc7@mail.gmail.com> Message-ID: <008d01c6a03c$9562cd40$0208090a@a1> Adding a route would probably be the easiest way -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Ben O'Hara Sent: Wednesday, July 05, 2006 04:06 To: Nagios User Subject: [Nagios-users] check_ping and source address Hi Guys, Im looking at adding a ping check from our nagios host to a remote host, the nagios machine has a number of interfaces and i want to set the source address of the ping to ensure it goes over a specfic link (and hence a specific VPN tunnel) anyone know if this is possible at all? Ive had a look at the code for check_ping and it looks like it might be a possibility as its just calling the ping binary but rather than reinvent the wheel i thought id ask here first. anyone doing anything like this at present? would it be a change to check_ping that people would use or would it be better to do it elsewhere Cheers Ben -- "A Scientist will earn a living by taking a really difficult problem and spends many years solving it, an engineer earns a living by finding really difficult problems and side stepping them" Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Segura at cabelas.com Wed Jul 5 16:29:04 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Wed, 5 Jul 2006 08:29:04 -0600 Subject: Is there a way to include the result of check_nagiosin the subject line of an e-mail? Message-ID: <2D0245E43DEC724F81592D697F05689903AD5BC6@SIDHQEXCHMB1.Cabelas.Corp> echo "" | /bin/mail -s "`/usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios`" email at domain.com ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Rimbert Rivera Sent: Wednesday, July 05, 2006 7:25 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Is there a way to include the result of check_nagiosin the subject line of an e-mail? I have a Cron job running every two hours that runs check_nagios and e-mails us the result. Here's the command I'm using: /usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios | mail -s"Nagios Status check (heartbeat)" email at domain.com The command e-mails the check_nagios output as the e-mail body. Is there a way to put it in the subject line instead? I cannot figure it out. I don't think mail will let me do what I want. Is there something else I can use? I'm using RedHat 9. - Rim Rimbert Rivera Manager, Information Technology COMTEX News Network rrivera at comtex.com (703) 820-2000 Discover more about COMTEX at: http://www.comtex.com/ This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nazark at auska.com Wed Jul 5 16:33:44 2006 From: nazark at auska.com (Nazar Kulynych) Date: Wed, 05 Jul 2006 10:33:44 -0400 Subject: Cronjobs Checking Message-ID: <44ABCDC8.50009@auska.com> Is there a nagios module to check cronjobs? to see if a particular cronjob ran, and if not then alert Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Wed Jul 5 16:37:14 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Wed, 05 Jul 2006 15:37:14 +0100 Subject: Is there a way to include the result of check_nagios in the subject line of an e-mail? In-Reply-To: <44ABC06A.20403@gmail.com> References: <44ABC06A.20403@gmail.com> Message-ID: <44ABCE9A.5040507@gmail.com> Hari Sekhon wrote: > Rimbert Rivera wrote: >> It's piping the command to mail. >> >> This is the check command: >> /usr/local/nagios/libexec/check_nagios -F >> /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios >> >> This is the mail command: >> mail -s"Nagios Status check (heartbeat)" email at domain.com >> >> So I'm using the pipe command, "|", to redirect the output of the >> check to mail >> >> Full command: >> /usr/local/nagios/libexec/check_nagios -F >> /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios >> | mail -s"Nagios Status check (heartbeat)" email at domain.com >> >> >> - Rim >> >> Rimbert Rivera >> Manager, Information Technology >> COMTEX News Network >> rrivera at comtex.com >> (703) 820-2000 >> Discover more about COMTEX at: http://www.comtex.com/ >> This e-mail is intended solely for the person or entity to which it >> is addressed and may contain confidential and/or privileged >> information. Any review, dissemination, copying, printing or other >> use of this e-mail by persons or entities other than the addressee is >> prohibited. If you have received this e-mail in error, please contact >> the sender immediately and delete the material from any computer. >> >> >> >> ------------------------------------------------------------------------ >> *From:* Hari Sekhon [mailto:harisekhon at gmail.com] >> *Sent:* Wednesday, July 05, 2006 9:25 AM >> *To:* Rimbert Rivera >> *Subject:* Re: [Nagios-users] Is there a way to include the result of >> check_nagios in the subject line of an e-mail? >> >> Rimbert Rivera wrote: >>> >>> I have a Cron job running every two hours that runs check_nagios and >>> e-mails us the result. Here's the command I'm using: >>> >>> /usr/local/nagios/libexec/check_nagios -F >>> /usr/local/nagios/var/status.log -e 5 -C >>> /usr/local/nagios/bin/nagios | mail -s"Nagios Status check >>> (heartbeat)" email at domain.com >>> >>> The command e-mails the check_nagios output as the e-mail body. Is >>> there a way to put it in the subject line instead? I cannot figure >>> it out. I don't think mail will let me do what I want. Is there >>> something else I can use? I'm using RedHat 9. >>> >>> - Rim >>> >>> Rimbert Rivera >>> Manager, Information Technology >>> COMTEX News Network >>> rrivera at comtex.com >>> (703) 820-2000 >>> Discover more about COMTEX at: _http://www.comtex.com/_ >>> This e-mail is intended solely for the person or entity to which it >>> is addressed and may contain confidential and/or privileged >>> information. Any review, dissemination, copying, printing or other >>> use of this e-mail by persons or entities other than the addressee >>> is prohibited. If you have received this e-mail in error, please >>> contact the sender immediately and delete the material from any >>> computer. >>> >>> ------------------------------------------------------------------------ >>> >>> Using Tomcat but need to do more? Need to support web services, security? >>> Get stuff done quickly with pre-integrated technology to make your job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> how are you sending the emails? >> >> > this works for me: > > /usr/nagios/libexec/check_nagios -F /var/nagios/status.log -e 5 -C > /usr/nagios/bin/nagios > nagtest.txt > mail -s "`cat nagtest.txt`" me at mydomain.com < /dev/null > > -h > > sorry forgot to send these to the list... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Wed Jul 5 16:37:24 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Wed, 05 Jul 2006 15:37:24 +0100 Subject: Is there a way to include the result of check_nagios in the subject line of an e-mail? In-Reply-To: <44ABCDAB.9000105@gmail.com> References: <44ABCDAB.9000105@gmail.com> Message-ID: <44ABCEA4.9020708@gmail.com> Hari Sekhon wrote: > Rimbert Rivera wrote: >> Thanks, Hari, that works great! >> >> >> - Rim >> >> Rimbert Rivera >> Manager, Information Technology >> COMTEX News Network >> rrivera at comtex.com >> (703) 820-2000 >> Discover more about COMTEX at: http://www.comtex.com/ >> This e-mail is intended solely for the person or entity to which it >> is addressed and may contain confidential and/or privileged >> information. Any review, dissemination, copying, printing or other >> use of this e-mail by persons or entities other than the addressee is >> prohibited. If you have received this e-mail in error, please contact >> the sender immediately and delete the material from any computer. >> >> >> >> ------------------------------------------------------------------------ >> *From:* Hari Sekhon [mailto:harisekhon at gmail.com] >> *Sent:* Wednesday, July 05, 2006 9:37 AM >> *To:* Rimbert Rivera >> *Subject:* Re: [Nagios-users] Is there a way to include the result of >> check_nagios in the subject line of an e-mail? >> >> Rimbert Rivera wrote: >>> It's piping the command to mail. >>> >>> This is the check command: >>> /usr/local/nagios/libexec/check_nagios -F >>> /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios >>> >>> This is the mail command: >>> mail -s"Nagios Status check (heartbeat)" email at domain.com >>> >>> So I'm using the pipe command, "|", to redirect the output of the >>> check to mail >>> >>> Full command: >>> /usr/local/nagios/libexec/check_nagios -F >>> /usr/local/nagios/var/status.log -e 5 -C >>> /usr/local/nagios/bin/nagios | mail -s"Nagios Status check >>> (heartbeat)" email at domain.com >>> >>> >>> - Rim >>> >>> Rimbert Rivera >>> Manager, Information Technology >>> COMTEX News Network >>> rrivera at comtex.com >>> (703) 820-2000 >>> Discover more about COMTEX at: http://www.comtex.com/ >>> This e-mail is intended solely for the person or entity to which it >>> is addressed and may contain confidential and/or privileged >>> information. Any review, dissemination, copying, printing or other >>> use of this e-mail by persons or entities other than the addressee >>> is prohibited. If you have received this e-mail in error, please >>> contact the sender immediately and delete the material from any >>> computer. >>> >>> >>> >>> ------------------------------------------------------------------------ >>> *From:* Hari Sekhon [mailto:harisekhon at gmail.com] >>> *Sent:* Wednesday, July 05, 2006 9:25 AM >>> *To:* Rimbert Rivera >>> *Subject:* Re: [Nagios-users] Is there a way to include the result >>> of check_nagios in the subject line of an e-mail? >>> >>> Rimbert Rivera wrote: >>>> >>>> I have a Cron job running every two hours that runs check_nagios >>>> and e-mails us the result. Here's the command I'm using: >>>> >>>> /usr/local/nagios/libexec/check_nagios -F >>>> /usr/local/nagios/var/status.log -e 5 -C >>>> /usr/local/nagios/bin/nagios | mail -s"Nagios Status check >>>> (heartbeat)" email at domain.com >>>> >>>> The command e-mails the check_nagios output as the e-mail body. Is >>>> there a way to put it in the subject line instead? I cannot figure >>>> it out. I don't think mail will let me do what I want. Is there >>>> something else I can use? I'm using RedHat 9. >>>> >>>> - Rim >>>> >>>> Rimbert Rivera >>>> Manager, Information Technology >>>> COMTEX News Network >>>> rrivera at comtex.com >>>> (703) 820-2000 >>>> Discover more about COMTEX at: _http://www.comtex.com/_ >>>> This e-mail is intended solely for the person or entity to which it >>>> is addressed and may contain confidential and/or privileged >>>> information. Any review, dissemination, copying, printing or other >>>> use of this e-mail by persons or entities other than the addressee >>>> is prohibited. If you have received this e-mail in error, please >>>> contact the sender immediately and delete the material from any >>>> computer. >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> Using Tomcat but need to do more? Need to support web services, security? >>>> Get stuff done quickly with pre-integrated technology to make your job easier >>>> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>>> ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>>> ::: Messages without supporting info will risk being sent to /dev/null >>> how are you sending the emails? >>> >>> >> this works for me: >> >> /usr/nagios/libexec/check_nagios -F /var/nagios/status.log -e 5 -C >> /usr/nagios/bin/nagios > nagtest.txt >> mail -s "`cat nagtest.txt`" me at mydomain.com < /dev/null >> >> -h >> >> > I liked it, so now I've written a shell script to use this and send me > a heartbeat, thanks for the idea...! I've also modified the heartbeat > script to make a separate script to send me an email to a different > alias only if there is a problem so I can filter them easily and be > notified more clearly if there is a problem.. > > -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Wed Jul 5 16:37:33 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Wed, 05 Jul 2006 15:37:33 +0100 Subject: Is there a way to include the result of check_nagiosin the subject line of an e-mail? In-Reply-To: <44ABCE2B.7030102@gmail.com> References: <2D0245E43DEC724F81592D697F05689903AD5BC6@SIDHQEXCHMB1.Cabelas.Corp> <44ABCE2B.7030102@gmail.com> Message-ID: <44ABCEAD.1080709@gmail.com> Hari Sekhon wrote: > Aaron Segura wrote: >> >> >> >> echo "" | /bin/mail --s "`/usr/local/nagios/libexec/check_nagios -F >> /usr/local/nagios/var/status.log -e 5 -C >> /usr/local/nagios/bin/nagios`" email at domain.com >> >> >> >> ------------------------------------------------------------------------ >> >> *From:* nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] *On Behalf Of >> *Rimbert Rivera >> *Sent:* Wednesday, July 05, 2006 7:25 AM >> *To:* nagios-users at lists.sourceforge.net >> *Subject:* [Nagios-users] Is there a way to include the result of >> check_nagiosin the subject line of an e-mail? >> >> >> >> I have a Cron job running every two hours that runs check_nagios and >> e-mails us the result. Here's the command I'm using: >> >> /usr/local/nagios/libexec/check_nagios -F >> /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios >> | mail -s"Nagios Status check (heartbeat)" email at domain.com >> >> The command e-mails the check_nagios output as the e-mail body. Is >> there a way to put it in the subject line instead? I cannot figure >> it out. I don't think mail will let me do what I want. Is there >> something else I can use? I'm using RedHat 9. >> >> - Rim >> >> Rimbert Rivera >> Manager, Information Technology >> COMTEX News Network >> rrivera at comtex.com >> (703) 820-2000 >> Discover more about COMTEX at: http://www.comtex.com/ >> This e-mail is intended solely for the person or entity to which it >> is addressed and may contain confidential and/or privileged >> information. Any review, dissemination, copying, printing or other >> use of this e-mail by persons or entities other than the addressee is >> prohibited. If you have received this e-mail in error, please contact >> the sender immediately and delete the material from any computer. >> >> ------------------------------------------------------------------------ >> >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > a little harder to read but should work just as well. > > a small variation on the same theme: > > /bin/mail --s "`/usr/local/nagios/libexec/check_nagios -F > /usr/local/nagios/var/status.log -e 5 -C > /usr/local/nagios/bin/nagios`" email at domain.com < /dev/null > /dev/null > > -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevorwarren at gmail.com Wed Jul 5 16:49:44 2006 From: trevorwarren at gmail.com (Trevor Warren) Date: Wed, 5 Jul 2006 20:19:44 +0530 Subject: remote host checks for Microsoft and *nix Message-ID: <559e3cb60607050749v3fe62c47o56f144eef52139c2@mail.gmail.com> Guys/Gals, Had a small lil query. Have seen couple of remote check plugins for both MS and *nix. Wanted to know the most mature and usable plugin project for implementation in our network from both and MS and *nix perspective. Is anyone using this in production...and what do you think about the functionality of the same. Any suggestions would be appreciated. Trevor -- ___________________________________ ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \____________________________________/ _|_| An eye for an eye will soon turn the world blind - MKG "You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries. Only in absolute stillness, beyond self, can you know me as I am, and then but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon " -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Wed Jul 5 16:53:44 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Wed, 05 Jul 2006 15:53:44 +0100 Subject: nagios HTTPS plugin? Message-ID: <44ABD278.4030906@gmail.com> I haven't been able to find a check_https plug-in for nagios and I've had a google which seems to indicate that there might be one, I just haven't found it, could anybody give me any pointers? I've running nagios on gentoo and have checked the use flags but there isn't a use flag for it... -h Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From junior.cunha at opservices.com.br Wed Jul 5 16:56:31 2006 From: junior.cunha at opservices.com.br (Junior Cunha) Date: Wed, 05 Jul 2006 11:56:31 -0300 Subject: Status Map Message-ID: <44ABD31F.80009@opservices.com.br> Hi I have some problem with statusmap.cgi. Some icons are in black and white, and other i have a "?" icon. I already set all the *_image directive into hostextinfo definitions to use the same image, like this: define hostextinfo{ host_name oracle_pw icon_image database.gif vrml_image database.gif statusmap_image database.gif } but still don't work. In the status.cgi they work fine. I use nagios version 2.0b4, running on FC3. Can anybody help me? []s Jr Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Segura at cabelas.com Wed Jul 5 17:06:02 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Wed, 5 Jul 2006 09:06:02 -0600 Subject: nagios HTTPS plugin? Message-ID: <2D0245E43DEC724F81592D697F05689903AD5BC8@SIDHQEXCHMB1.Cabelas.Corp> check_http should have a -S switch for SSL... /usr/local/groundwork/nagios/libexec/check_http --help [...clip...] -S, --ssl Connect via SSL [...clip...] -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: Wednesday, July 05, 2006 8:54 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios HTTPS plugin? I haven't been able to find a check_https plug-in for nagios and I've had a google which seems to indicate that there might be one, I just haven't found it, could anybody give me any pointers? I've running nagios on gentoo and have checked the use flags but there isn't a use flag for it... -h Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From werner.flamme at ufz.de Wed Jul 5 17:12:03 2006 From: werner.flamme at ufz.de (Werner Flamme) Date: Wed, 05 Jul 2006 17:12:03 +0200 Subject: nagios HTTPS plugin? In-Reply-To: <44ABD278.4030906@gmail.com> References: <44ABD278.4030906@gmail.com> Message-ID: <44ABD6C3.5080409@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hari Sekhon schrieb am 05.07.2006 16:53: > I haven't been able to find a check_https plug-in for nagios and I've > had a google which seems to indicate that there might be one, I just > haven't found it, could anybody give me any pointers? > > I've running nagios on gentoo and have checked the use flags but there > isn't a use flag for it... > > -h > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Hari, a little search in the archives would help. There is no check_https, check_http is the right plugin for this task. In the thread beginning on 2006-05-18 with "Monitoring HTTPS" from Joe Regular (Message ID A7B0A9F02975A74A845FE85D0B95B8FA039D39C7 at misex01.ena.com) there was - among other very useful hints - this solution: check_http --help - -S, --ssl Connect via SSL HTH, Werner - -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: werner.flamme at ufz.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFEq9bDk33Krq8b42MRAhqcAJ9tIrWkhpUSxeXjNYODxtq0ZpRUGACfd+3b qUSK3fB9D0II2uCC8hhn4hw= =+zaZ -----END PGP SIGNATURE----- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Wed Jul 5 17:14:15 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 5 Jul 2006 11:14:15 -0400 Subject: nagios HTTPS plugin? In-Reply-To: <44ABD278.4030906@gmail.com> References: <44ABD278.4030906@gmail.com> Message-ID: <302ce8b50607050814p6f124c6bvbd887d677a3f6a66@mail.gmail.com> On 7/5/06, Hari Sekhon wrote: > I haven't been able to find a check_https plug-in for nagios and I've > had a google which seems to indicate that there might be one, I just > haven't found it, could anybody give me any pointers? > > I've running nagios on gentoo and have checked the use flags but there > isn't a use flag for it... use flag... ugh personal opinions about gentoo aside.... If you build the plugins with openssl support, then check_http has support for https. I believe there's a FAQ about this somewhere but I don't have the url handy. I know it creeps up in the list from time to time so the list archives should be full of it. ./check_https Hell, it'll even check the expire time on the ssl cert driving the website and report back on it too. -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Wed Jul 5 17:16:53 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Wed, 05 Jul 2006 16:16:53 +0100 Subject: nagios HTTPS plugin? In-Reply-To: <2D0245E43DEC724F81592D697F05689903AD5BC8@SIDHQEXCHMB1.Cabelas.Corp> References: <2D0245E43DEC724F81592D697F05689903AD5BC8@SIDHQEXCHMB1.Cabelas.Corp> Message-ID: <44ABD7E5.5050805@gmail.com> Aaron Segura wrote: > check_http should have a -S switch for SSL... > > /usr/local/groundwork/nagios/libexec/check_http --help > [...clip...] > -S, --ssl > Connect via SSL > [...clip...] > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari > Sekhon > Sent: Wednesday, July 05, 2006 8:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios HTTPS plugin? > > I haven't been able to find a check_https plug-in for nagios and I've > had a google which seems to indicate that there might be one, I just > haven't found it, could anybody give me any pointers? > > I've running nagios on gentoo and have checked the use flags but there > isn't a use flag for it... > > -h > > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > doh, that was stupid of me, sorry, I'm trying to do too many things at once... dunno how I missed the -S flag in check_http --help -h Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 5 15:34:50 2006 From: marc at ena.com (Marc Powell) Date: Wed, 5 Jul 2006 08:34:50 -0500 Subject: Is there a way to include the result of check_nagiosin the subject line of an e-mail? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rimbert Rivera > Sent: Wednesday, July 05, 2006 8:25 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Is there a way to include the result of > check_nagiosin the subject line of an e-mail? > > I have a Cron job running every two hours that runs check_nagios and e- > mails us the result. Here's the command I'm using: > > /usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log > -e 5 -C /usr/local/nagios/bin/nagios | mail -s"Nagios Status check > (heartbeat)" email at domain.com > > The command e-mails the check_nagios output as the e-mail body. Is there > a way to put it in the subject line instead? I cannot figure it out. I > don't think mail will let me do what I want. Is there something else I > can use? I'm using RedHat 9. echo '' | mail -s "`/usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios`" email at domain.com -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 5 17:41:28 2006 From: marc at ena.com (Marc Powell) Date: Wed, 5 Jul 2006 10:41:28 -0500 Subject: Cronjobs Checking Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nazar Kulynych > Sent: Wednesday, July 05, 2006 9:34 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Cronjobs Checking > > > Is there a nagios module to check cronjobs? to see if a particular > cronjob ran, and if not then alert check_log2.pl combined with the negate plugin would be the way to go. -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andreaco at email.it Wed Jul 5 18:10:44 2006 From: andreaco at email.it (Andreaco) Date: Wed, 5 Jul 2006 18:10:44 +0200 Subject: nagios HTTPS plugin? Message-ID: <5e508ea30fb84f7bcad4513dda5a6e03@85.18.90.170> Try this: #!/bin/bash # uso: # ./check_curl_https.sh nomehost porta pattern PATT=$4 LOUTPUT=`curl --connect-timeout 5 -s -k https://$1:$2$3` ILCODICE=$? if [ "$ILCODICE" -eq "0" ] then if echo $LOUTPUT | grep -q $PATT then echo "Connessione riuscita e pattern \"$PATT\" trovato" exit $ILCODICE else echo "Connessione riuscita, ma pattern \"$PATT\" non trovato" exit 1 fi else echo "KO - "$LOUTPUT exit 2 fi ################## andrea --------- Original Message -------- Da: Hari Sekhon To: nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] nagios HTTPS plugin? Data: 05/07/06 16:53 > > > > I haven't been able to find a check_https plug-in for nagios and I've > had a google which seems to indicate that there might be one, I just > haven't found it, could anybody give me any pointers? > > I've running nagios on gentoo and have checked the use flags but there > isn't a use flag for it... > > -h > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Crea il tuo sito web dinamico con PHP e MySQL - VideoCorso professionale direttamente nel tuo computer. Trucchi e segreti Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5142&d=20060705 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Wed Jul 5 18:13:03 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Wed, 05 Jul 2006 17:13:03 +0100 Subject: nagios HTTPS plugin? In-Reply-To: <5e508ea30fb84f7bcad4513dda5a6e03@85.18.90.170> References: <5e508ea30fb84f7bcad4513dda5a6e03@85.18.90.170> Message-ID: <44ABE50F.7060109@gmail.com> Andreaco wrote: > Try this: > > #!/bin/bash > # uso: > # ./check_curl_https.sh nomehost porta pattern > PATT=$4 > LOUTPUT=`curl --connect-timeout 5 -s -k https://$1:$2$3` > ILCODICE=$? > if [ "$ILCODICE" -eq "0" ] > then > if echo $LOUTPUT | grep -q $PATT > then > echo "Connessione riuscita e pattern \"$PATT\" trovato" > exit $ILCODICE > else > echo "Connessione riuscita, ma pattern \"$PATT\" non > trovato" > exit 1 > fi > else > echo "KO - "$LOUTPUT > exit 2 > fi > > ################## andrea > > > > > --------- Original Message -------- > Da: Hari Sekhon > To: nagios-users at lists.sourceforge.net > Oggetto: [Nagios-users] nagios HTTPS plugin? > Data: 05/07/06 16:53 > > > > >> I haven't been able to find a check_https plug-in for nagios and I've >> had a google which seems to indicate that there might be one, I just >> haven't found it, could anybody give me any pointers? >> >> I've running nagios on gentoo and have checked the use flags but there >> isn't a use flag for it... >> >> -h >> >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job >> > easier > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> > reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> > -- > Email.it, the professional e-mail, gratis per te: http://www.email.it/f > > Sponsor: > Crea il tuo sito web dinamico con PHP e MySQL - VideoCorso professionale > direttamente nel tuo computer. Trucchi e segreti > Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=5142&d=20060705 > > > > that's a good, idea. I think the check_http -S plug-in is enough unless you want to do something special... -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joemacbusiness at yahoo.com Wed Jul 5 21:10:09 2006 From: joemacbusiness at yahoo.com (Joe McCaughan) Date: Wed, 5 Jul 2006 12:10:09 -0700 (PDT) Subject: ===Compile error on Nagios Plugins Message-ID: <20060705191009.11199.qmail@web38213.mail.mud.yahoo.com> Hi Folks, I am getting a compile error during Nagios Plugin compile. Nagios Plugin Version: nagios-plugins-1.4.3 ######################################### checking how to recognise dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking dependency style of g++... none checking how to run the C++ preprocessor... /lib/cpp configure: error: C++ preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. XXXXXXXXXXXXXXXX nagios-plugins-1.4.3]# ll /lib/cpp lrwxrwxrwx 1 root root 12 Jul 3 14:32 /lib/cpp -> /usr/bin/cpp XXXXXXXXXXXXXXXX nagios-plugins-1.4.3]# ll /usr/bin/cpp -rwxr-xr-x 1 root root 96808 Dec 20 2005 /usr/bin/cpp XXXXXXXXXXXXXXXX nagios-plugins-1.4.3]# XXXXXXXXXXXXXXXX nagios-plugins-1.4.3]# set -o vi XXXXXXXXXXXXXXXX nagios-plugins-1.4.3]# file /usr/bin/cpp /usr/bin/cpp: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2. 5, dynamically linked (uses shared libs), stripped ######################################### Has anyone seen this before? It looks like /usr/bin/cpp is OK. Is there a work-around for this? Thanks, Joe McCaughan --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs.Try it free. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Wed Jul 5 21:23:49 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 5 Jul 2006 15:23:49 -0400 Subject: ===Compile error on Nagios Plugins In-Reply-To: <20060705191009.11199.qmail@web38213.mail.mud.yahoo.com> References: <20060705191009.11199.qmail@web38213.mail.mud.yahoo.com> Message-ID: <302ce8b50607051223v2300e8c9jde4286f6b2c46a3d@mail.gmail.com> > checking for g++... no > checking for c++... no >From that error, it looks quite a bit like you don't have g++ installed, or it's in some oddball location, so I'd say "install compiler in accordance with your distro installation policy" > Has anyone seen this before? It looks like > /usr/bin/cpp is OK. Is there a work-around for this? No workaround needed. Install functional compiler, or tell source where your compiler is. -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From khatten at ti.com Wed Jul 5 22:38:48 2006 From: khatten at ti.com (Hatten, Ken) Date: Wed, 5 Jul 2006 15:38:48 -0500 Subject: Is there a way to include the result ofcheck_nagiosin the subject line of an e-mail? Message-ID: <99E943D7AA8E3A448619E1F809F2A2A20479B52B@dlee04.ent.ti.com> Marc - Not sure this is what you are looking for, but... I often exec a call to mailx with an embedded exec in the subject space with a command string like this (note the backtick (grave) characters ` around the commands): cat | mailx -s "`uname -n` at `date +%H%M%S`" and I get an email with the subject: "Hostname at 153211" (for example) . I tried this one: echo | mailx -s "`cat `" emailalias and the first line of the file was the subject, the rest of the file made up the body. So, if you command delivered more than 1 line, only the first would be in the subject; the rest in the body. Regards, Ken Hatten CM Ops Admin -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Wednesday, July 05, 2006 8:35 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Is there a way to include the result ofcheck_nagiosin the subject line of an e-mail? > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rimbert Rivera > Sent: Wednesday, July 05, 2006 8:25 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Is there a way to include the result of > check_nagiosin the subject line of an e-mail? > > I have a Cron job running every two hours that runs check_nagios and e- > mails us the result. Here's the command I'm using: > > /usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log > -e 5 -C /usr/local/nagios/bin/nagios | mail -s"Nagios Status check > (heartbeat)" email at domain.com > > The command e-mails the check_nagios output as the e-mail body. Is there > a way to put it in the subject line instead? I cannot figure it out. I > don't think mail will let me do what I want. Is there something else I > can use? I'm using RedHat 9. echo '' | mail -s "`/usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios`" email at domain.com -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twmoore at bea.com Wed Jul 5 23:40:58 2006 From: twmoore at bea.com (Timothy Moore) Date: Wed, 5 Jul 2006 14:40:58 -0700 Subject: selinux security Message-ID: All, I have installed Nagios on a new RedHat linux 2.4.9. The sever has SELINUX enabled. Does anyone have a definitive list of context commands (chcon) to grant proper Nagios access? None of the postings clearly define what commands are needed. Timothy Moore Operations Architecture Phone: 720.528.6177 Mobile: 303.717.4332 twmoore at bea.com BEA Systems, Inc. Corporate Office, USA 2315 North First Street San Jose, CA 95131 Fax: 408.570.8901 www.bea.com _______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 73 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 73 bytes Desc: image002.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.gif Type: image/gif Size: 22467 bytes Desc: image003.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.gif Type: image/gif Size: 2556 bytes Desc: image004.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.gif Type: image/gif Size: 73 bytes Desc: image005.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.gif Type: image/gif Size: 73 bytes Desc: image006.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image007.gif Type: image/gif Size: 73 bytes Desc: image007.gif URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PShelfo at embrex.com Wed Jul 5 23:33:10 2006 From: PShelfo at embrex.com (Pete Shelfo) Date: Wed, 5 Jul 2006 17:33:10 -0400 Subject: Nagios Logo Issues Message-ID: Ever since I upgraded my Nagios 2.0 on a Redhat Enterprise 3 server to Nagios 2.3 on Redhat Enterprise 4 I can't get any of my logos to work (status map, hosts, etc). I have searched the forums and have found nothing that helps - although a lot of people have logo issues. I checked and doubled checked my config and nothing seems to be wrong. I have also tried multiple graphics formats gd2, gif, jpeg but that does not matter. All my logos are stored in /usr/local/nagios/share/images/logos. I am concerned that something with Redhat 4.0 has been upgraded that is causing the problem I have a hostextinfo.cfg setup as listed: # Web Servers define hostextinfo{ host_name server1 icon_image www_cloud.gif statusmap_image www.cloud.gd2 } I have a cgi.cfg statement pointing to the proper location: xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Thu Jul 6 00:16:29 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 5 Jul 2006 18:16:29 -0400 Subject: selinux security In-Reply-To: References: Message-ID: <302ce8b50607051516k5859ccfeh16a04455ec7bf013@mail.gmail.com> > I have installed Nagios on a new RedHat linux 2.4.9. The sever has SELINUX enabled. Huh? There is no redhat linux 2.4.9. If you're talking about redhat 9 (I think this had a 2.4.9 version kernel) then it does not have selinux unless it's been REALLY bastardized/upgraded. > Does anyone have a definitive list of context commands (chcon) to grant proper Nagios access? Anyway, this should help you -> http://article.gmane.org/gmane.network.nagios.user/33586/match=selinux > > None of the postings clearly define what commands are needed. Not every installation or selinux ruleset is the same, so changes will occur across distributions and across rulesets. Salt to taste. -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Thu Jul 6 00:20:51 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 5 Jul 2006 18:20:51 -0400 Subject: Nagios Logo Issues In-Reply-To: References: Message-ID: <302ce8b50607051520m2ba57543if758b8f22bc2ea39@mail.gmail.com> > Ever since I upgraded my Nagios 2.0 on a Redhat Enterprise 3 server to > Nagios 2.3 on Redhat Enterprise 4 I can't get any of my logos to work > (status map, hosts, etc). I have searched the forums and have found nothing > that helps ? although a lot of people have logo issues. I checked and > doubled checked my config and nothing seems to be wrong. I have also tried > multiple graphics formats gd2, gif, jpeg but that does not matter. All my > logos are stored in /usr/local/nagios/share/images/logos. > I am concerned that something with Redhat 4.0 has been upgraded that is > causing the problem I'm using Nagios on a couple RHEL4 boxen with images just fine. Since your path would indicate that you built your own nagios install instead of using rpms, I'm gonna ask some questions that may seem obvious. Did you have gd and gd-devel installed when you built nagios? How about libpng-devel and libjpeg-devel? Are you ABSOLUTELY sure that your image definitions are pointing in the right location? -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Thu Jul 6 00:36:48 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 6 Jul 2006 10:36:48 +1200 Subject: Filtering display of current status in CGI Message-ID: <009701c6a083$80ea8190$8ea8d882@UoA.auckland.ac.nz> Hi -- I need to get a display of the current problems to go up on the Operations' status screen. So far, I can do this with: status.cgi?hostgroup=x-production&style=detail&servicestatustypes=248&servic eprops=8202&hostprops=8202&noheader&sorttype=2&sortoption=3 which limits display to just the 'production' hostgroup (IE, none of the test servers), selects just the unknown/warn/crit services, and filters out anything which has alerts disabled or is in scheduled downtime. Finally, it is sorted in decending severity order. However, there are a couple of problems! Firstly, if a host is down, then it can have up to 20 services in various states - all I want to know is that the host is down. So, I've modified the status.cgi slightly to just display the host status if the host is down or unreachable (fairly easy to do). At the same time, I've made the 'Attempt' column go dark if it is in 'hard' state and faint otherwise. Secondly, I'd like to hide alerts for things which are outside their notification period, in the same way as hiding things with alerts disabled. The operations will see an alert on the screen, and not realise that it is outside of the notify period for this service - and will call the oncall persion. This is a bit harder and I haven't done it yet, although I notice the required test functions are in the library. What I'd like is for Nagios 2.x to incorporate both of these. Maybe an extra filter option to hostprops and serviceprops to say 'only if in valid notify time'? If Ethan is reading this, that would be on my wishlist :). Does anyone have a way of achieving this already? I've made most of these changes (plus changing to Euro date formats throughout, and changing the defaults in cmd.cgi) for Nagios 1.4, but now I have the big job of moving my patches to Nagios 2.x. Having a site-specific customisation is a pain anyway, it would be better to have these few patches added to the dev tree. Any Nagios development people about? Steve Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ibrewster at alaska.net Thu Jul 6 01:55:07 2006 From: ibrewster at alaska.net (ibrewster at alaska.net) Date: Wed, 05 Jul 2006 15:55:07 -0800 Subject: check_mrtgtraf problem Message-ID: <4eaa444eb4f3.4eb4f34eaa44@acsalaska.net> I am having an issue with the check_mrtgtraf plugin where whenever the trafic level is OK, it returns UNKNOWN rather than OK. If the trafic level is in the critical or warning range, it returns those fine, but not for OK. the command I am using is: /usr/local/nagios/libexec/check_mrtgtraf -F /var/www/html/httpd/ mrtg/xxx.xxx.xxx.xxx_1.log -w 4000,4000 -c 5000,5000 the threshold values there are actually a bit lower than I would normally use, but they work nicely for testing purposes. I get an output from this command something like this: Traffic UNKNOWN - Avg. In = 3.5 KB/s, Avg. Out = 2.5 KB/s| in=3.532227KB/s;4000.000000;5000.000000;0.000000 in=2.521484KB/s;4000.000000;5000.000000;0.000000 Now as I understand this, the output should be OK, but as you can see, it is instead UNKOWN. Can anyone tell me why this is happening, and what I can do to fix it? Thanks. -------------- next part -------------- A non-text attachment was scrubbed... Name: ibrewster at alaska.net.vcf Type: text/x-vcard Size: 187 bytes Desc: Card for URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yonienjcn at gmail.com Thu Jul 6 03:01:08 2006 From: yonienjcn at gmail.com (Tao Yaoning) Date: Wed, 5 Jul 2006 21:01:08 -0400 Subject: NagiosQL In-Reply-To: <8ee7548c0605050636r45a24ebdja7ecc300256028b5@mail.gmail.com> References: <8ee7548c0605050636r45a24ebdja7ecc300256028b5@mail.gmail.com> Message-ID: <8ee7548c0607051801j3d174abfl28355de7a2a7e95a@mail.gmail.com> Just hope somebody can help me On 5/5/06, Tao Yaoning wrote: > > Hi, all guys > I'm configuring Nagios 2.1 with NagiosQL 2005 now. I meet strange > problems. > I configured Nagios follow the documentation. > I configured Nagios folder permission as 755 for /etc/nagios, and > ownership is apache.nagios > I configured Nagios configuration file permission as 644 and ownership is > apache.nagios > > When I access NagiosQL from Firefox, I can create new configuration > files or modify current configuration files. But I couldn't save them. > Even I just modify the nagios.cfg, I couldn't save it eighter. But > NagiosQL told me, the files are written properly. > > I totally lost, anybody and any ideas for it. > > Thanks > -- looking for Network Adminstrator Position -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dest.gov.au Thu Jul 6 03:13:17 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Thu, 6 Jul 2006 11:13:17 +1000 Subject: host macros - is $LASTHOSTDOWN$ per host (this host) or the last time a host went down ? Message-ID: <42AE08054734A940AE4F983C21324D042B52EA@acexp005.portfolio.base> Dear Folks, Nagios 2.3 defines these host macros $LASTHOSTDOWN$ This is a timestamp in time_t format (seconds since the UNIX epoch) indicating the time at which the host was last detected as being in a DOWN state. $LASTHOSTUNREACHABLE$ This is a timestamp in time_t format (seconds since the UNIX epoch) indicating the time at which the host was last detected as being in an UNREACHABLE state. I would like a global host event handler to insert a row in a table to record outages. One possibility of doing so is have the event handler only act on a HOST_UP event and use the macros above to record the down time ($LAST_HOST_DOWN) and the up time (from either the time the event handler runs or $LASTHOSTUP$). Unfortunately, with Nagios 2.3, $LASTHOSTDOWN appears to be the time_t value of the last event of any host going down and not the time_t of when _this_ host went down. What is the real meaning of $LASTHOSTDOWN$ ? Is it the per host time_t of the time that the host was last detected as being down ? Does anyone have any other suggestions about capturing the times of a host going down and coming up by an event handler ? Thank you, Yours sincerely. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dest.gov.au Thu Jul 6 04:48:48 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Thu, 6 Jul 2006 12:48:48 +1000 Subject: Really dumb question - how do folks distinguish unreachable from over threshold ? Message-ID: <42AE08054734A940AE4F983C21324D042B52EE@acexp005.portfolio.base> Dear Folks, Is it possible to use the standard plugin distro check_ping to distinguish a reachability failure brought about by sluggish transport and one caused by a routing failure. What occurs to me at the moment is to either 1 don't use check_ping in cases of volatile routing (examine routing with SNMP or CLI) 2 have a service event handler that reacts to 'plugin time out' (by ultimately generating a HOST_DOWN passive service check result if the routing has failed). Thank you, Yours sincerely, S Hopcroft Data Communications Dept of Education, Science and Training Level 1, 240 City Walk Canberra City ACT 2601 +61 2 6211 6110 Fax: +61 2 6123 6262 0412 766 832 Stanley.Hopcroft at DEST.Gov.AU Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Thu Jul 6 05:40:51 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 5 Jul 2006 23:40:51 -0400 Subject: Really dumb question - how do folks distinguishunreachable from over threshold ? In-Reply-To: <42AE08054734A940AE4F983C21324D042B52EE@acexp005.portfolio.base> References: <42AE08054734A940AE4F983C21324D042B52EE@acexp005.portfolio.base> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Stanley.Hopcroft at Dest.gov.au > Sent: Wednesday, July 05, 2006 7:49 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Really dumb question - how do folks > distinguishunreachable from over threshold ? > > Dear Folks, > > Is it possible to use the standard plugin distro check_ping > to distinguish a reachability failure brought about by > sluggish transport and one caused by a routing failure. > > What occurs to me at the moment is to either > > 1 don't use check_ping in cases of volatile routing (examine > routing with SNMP or CLI) > > 2 have a service event handler that reacts to 'plugin time > out' (by ultimately generating a HOST_DOWN passive service > check result if the routing has failed). The default behavior of check_ping allows you to set separate thresholds for response time and packet loss. Try check_ping -h. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subash.rajan-uxC5H9eHYlcAvxtiuMwx3w at public.gmane.org Thu Jul 6 10:44:38 2006 From: subash.rajan-uxC5H9eHYlcAvxtiuMwx3w at public.gmane.org (subash.rajan-uxC5H9eHYlcAvxtiuMwx3w at public.gmane.org) Date: Thu, 6 Jul 2006 14:14:38 +0530 Subject: Check_Disk Plugin Not Working in AIX 5.2 Message-ID: <49E4DEE9FC2ECA40832C0DE29B91D3E9013764B3@BLR-EC-MBX02.wipro.com> Hi, I am not able to get the out put for check_disk in AIX 5.2. The following is the error message. Kindly check and let me know your suggestion. /usr/local/nagios/libexec>./check_disk -w 20 -c 10 -p / INPUT ERROR: C_IDFP (0.000000) should be less than W_IDFP (0.0) and both should be between zero and 100 percent, inclusive for / check_disk: Could not parse arguments Usage: check_disk -w limit -c limit [-p path | -x device] [-t timeout][-m] [-e] [-W limit] [-K limit] [-v] [-q] Regards, Subash Rajan. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________________ Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seanius-ADwgVSpYHhHR7s880joybQ at public.gmane.org Thu Jul 6 10:58:19 2006 From: seanius-ADwgVSpYHhHR7s880joybQ at public.gmane.org (sean finney) Date: Thu, 6 Jul 2006 04:58:19 -0400 Subject: Check_Disk Plugin Not Working in AIX 5.2 In-Reply-To: <49E4DEE9FC2ECA40832C0DE29B91D3E9013764B3-0LiPpmJGiO/SPW7A/7J9wp7yRHBCnCMy@public.gmane.org> References: <49E4DEE9FC2ECA40832C0DE29B91D3E9013764B3@BLR-EC-MBX02.wipro.com> Message-ID: <20060706085819.GA16164@seanius.net> hi subash, On Thu, Jul 06, 2006 at 02:14:38PM +0530, subash.rajan-uxC5H9eHYlcAvxtiuMwx3w at public.gmane.org wrote: > I am not able to get the out put for check_disk in AIX 5.2. > The following is the error message. Kindly check and let me know your > suggestion. could you try the version from the latest cvs snapshot? i believe that it should solve your problem. sean -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________________ Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Martine.Carannante at bull.net Thu Jul 6 11:41:12 2006 From: Martine.Carannante at bull.net (Martine Carannante) Date: Thu, 06 Jul 2006 11:41:12 +0200 Subject: Migration/Upgrade nagios 1.x to nagios 2.x Message-ID: <44ACDAB8.8080908@bull.net> The format of the comment.log file has changed . Does it exist a tool/script to upgrade the old comment.log file into the new comment.dat file ? Thanks for your help. Martine -- Martine Carannante System Software Development R&D Bull, Architect of an Open World TM T?l : (+33) 1 30 80 71 87 http://www.bull.com Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey at hyves.nl Thu Jul 6 12:00:10 2006 From: jeffrey at hyves.nl (jeffrey at hyves.nl) Date: Thu, 06 Jul 2006 12:00:10 +0200 Subject: Status Map In-Reply-To: <44ABD31F.80009@opservices.com.br> References: <44ABD31F.80009@opservices.com.br> Message-ID: <44ACDF2A.7000602@hyves.nl> Hey Junior. If I remember correctly, you need to use gd2 images for the statusmap_image to work. You can find some in /share/images/logos. -Jeffrey --------------------------------- Jeffrey Lensen hyves: http://skyler.hyves.nl mail/msn: jeffrey at hyves.nl Junior Cunha wrote: >Hi > > I have some problem with statusmap.cgi. Some icons are in black and >white, and other i have a "?" icon. I already set all the *_image >directive into hostextinfo definitions to use the same image, like this: > >define hostextinfo{ > host_name oracle_pw > icon_image database.gif > vrml_image database.gif > statusmap_image database.gif > } > > but still don't work. In the status.cgi they work fine. I use nagios >version 2.0b4, running on FC3. > > Can anybody help me? > > []s > > Jr > > > >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luca at leenoox.net Thu Jul 6 12:13:03 2006 From: luca at leenoox.net (Luca Corti) Date: Thu, 06 Jul 2006 12:13:03 +0200 Subject: Kannel monitoring plugin Message-ID: <1152180783.11809.4.camel@luca> Hello everyone, I'd like to monitor a Kannel SMS Gateway via Nagios. Kannel exports status information (sms sent and received, sms sending and receiving rate, sms center availability) and a simple administrative interface via HTTP. I think I need a plugin for service monitoring and an eventhandler to modify the gateway state. Has anyone alredy done this? thanks Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From george at viamedia.co.za Thu Jul 6 13:27:56 2006 From: george at viamedia.co.za (George Rushby) Date: Thu, 6 Jul 2006 13:27:56 +0200 Subject: Status Map In-Reply-To: AAAAAPaH6WOm7A9JogkHIHNH946E0SQA Message-ID: Either that or use *.PNG images George -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of jeffrey at hyves.nl Sent: 06 July 2006 12:00 PM To: nagios-users at lists.sourceforge.net Subject: [SPAM]Re: [Nagios-users] Status Map Hey Junior. If I remember correctly, you need to use gd2 images for the statusmap_image to work. You can find some in /share/images/logos. -Jeffrey --------------------------------- Jeffrey Lensen hyves: http://skyler.hyves.nl mail/msn: jeffrey at hyves.nl Junior Cunha wrote: >Hi > > I have some problem with statusmap.cgi. Some icons are in black and >white, and other i have a "?" icon. I already set all the *_image >directive into hostextinfo definitions to use the same image, like this: > >define hostextinfo{ > host_name oracle_pw > icon_image database.gif > vrml_image database.gif > statusmap_image database.gif > } > > but still don't work. In the status.cgi they work fine. I use nagios >version 2.0b4, running on FC3. > > Can anybody help me? > > []s > > Jr > > > >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Thu Jul 6 13:33:14 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Thu, 06 Jul 2006 12:33:14 +0100 Subject: Service Check Interval < 1 minute ? Message-ID: <44ACF4FA.7080702@gmail.com> Is it possible to define a service check interval of less than a minute? I want some services to be checked every 30 seconds for example... so I really need to be able to specify service_check_interval in seconds... -h Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From d.wuethrich.h at gmx.net Thu Jul 6 13:49:40 2006 From: d.wuethrich.h at gmx.net (=?ISO-8859-1?Q?=22D=2E_W=FCthrich=22?=) Date: Thu, 06 Jul 2006 13:49:40 +0200 Subject: Service Check Interval < 1 minute ? In-Reply-To: <44ACF4FA.7080702@gmail.com> References: <44ACF4FA.7080702@gmail.com> Message-ID: <44ACF8D4.4090400@gmx.net> Hi You must change 'interval_length' in nagios.cfg ... Hari Sekhon wrote: > Is it possible to define a service check interval of less than a minute? > > I want some services to be checked every 30 seconds for example... > so I really need to be able to specify service_check_interval in seconds... > > > -h > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Thu Jul 6 13:56:26 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Thu, 06 Jul 2006 12:56:26 +0100 Subject: Service Check Interval < 1 minute ? In-Reply-To: <44ACF8D4.4090400@gmx.net> References: <44ACF4FA.7080702@gmail.com> <44ACF8D4.4090400@gmx.net> Message-ID: <44ACFA6A.8020802@gmail.com> D. W?thrich wrote: > Hi > > You must change 'interval_length' in nagios.cfg ... > > Hari Sekhon wrote: > >> Is it possible to define a service check interval of less than a minute? >> >> I want some services to be checked every 30 seconds for example... >> so I really need to be able to specify service_check_interval in seconds... >> >> >> -h >> >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > thanks! -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 6 13:59:06 2006 From: marc at ena.com (Marc Powell) Date: Thu, 6 Jul 2006 06:59:06 -0500 Subject: Service Check Interval < 1 minute ? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon > Sent: Thursday, July 06, 2006 6:33 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Service Check Interval < 1 minute ? > > Is it possible to define a service check interval of less than a minute? > > I want some services to be checked every 30 seconds for example... > so I really need to be able to specify service_check_interval in > seconds... You'll want to modify interval_length in nagios.cfg to be something less than or equal to 30. normal_check_interval and the like are just multipliers for this value and not time units themselves. http://nagios.sourceforge.net/docs/2_0/configmain.html#interval_length setting this number to 30 and using a normal_check_interval of 1 in a service definition would mean nagios attempts to check the service every 30 seconds. Normal_check_interval of 2 would correspond to 60 seconds, etc. Note that adjusting this value affects everything that depends on timing so you'll need to adjust repeat notification intervals, escalations, etc appropriately. You can grep the docs for interval_length to get a list. -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Thu Jul 6 14:20:22 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Thu, 06 Jul 2006 13:20:22 +0100 Subject: Service Check Interval < 1 minute ? In-Reply-To: References: Message-ID: <44AD0006.9090906@gmail.com> Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon >> Sent: Thursday, July 06, 2006 6:33 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Service Check Interval < 1 minute ? >> >> Is it possible to define a service check interval of less than a >> > minute? > >> I want some services to be checked every 30 seconds for example... >> so I really need to be able to specify service_check_interval in >> seconds... >> > > > You'll want to modify interval_length in nagios.cfg to be something less > than or equal to 30. normal_check_interval and the like are just > multipliers for this value and not time units themselves. > > http://nagios.sourceforge.net/docs/2_0/configmain.html#interval_length > > setting this number to 30 and using a normal_check_interval of 1 in a > service definition would mean nagios attempts to check the service every > 30 seconds. Normal_check_interval of 2 would correspond to 60 seconds, > etc. > > Note that adjusting this value affects everything that depends on timing > so you'll need to adjust repeat notification intervals, escalations, etc > appropriately. You can grep the docs for interval_length to get a list. > > -- > Marc > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > I have made the necessary changes, setting interval_length=1 to have everything in seconds for simplicity. Quick question: I take it things like "retention_update_interval" and "command_check_interval" in nagios.cfg are also affected by this? Or do they always work in minutes? (the comments say minutes..) The comments by "interval_length" seem to indicate this variable only affects "host/contact/service configuration files"... -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederik.vanhee at perso.be Thu Jul 6 14:21:35 2006 From: frederik.vanhee at perso.be (Frederik Vanhee) Date: Thu, 06 Jul 2006 14:21:35 +0200 Subject: Service Check Interval < 1 minute ? In-Reply-To: <44ACF4FA.7080702@gmail.com> References: <44ACF4FA.7080702@gmail.com> Message-ID: <44AD004F.6050504@perso.be> Hari Sekhon wrote: >Is it possible to define a service check interval of less than a minute? > >I want some services to be checked every 30 seconds for example... >so I really need to be able to specify service_check_interval in seconds... > > >-h > >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > RTFM..... : nagios.cfg (timing interval length), ...from the docs... *Timing Interval Length *Format:*interval_length=* Example:*interval_length=60 *This is the number of seconds per "unit interval" used for timing in the scheduling queue, re-notifications, etc. "Units intervals" are used in the object configuration file to determine how often to run a service check, how often of re-notify a contact, etc. *Important:* The default value for this is set to 60, which means that a "unit value" of 1 in the object configuration file will mean 60 seconds (1 minute). I have not really tested other values for this variable, so proceed at your own risk if you decide to do so! Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chet.luther at gmail.com Thu Jul 6 14:58:12 2006 From: chet.luther at gmail.com (Chet Luther) Date: Thu, 6 Jul 2006 08:58:12 -0400 Subject: Really dumb question - how do folks distinguish unreachable from over threshold ? In-Reply-To: <42AE08054734A940AE4F983C21324D042B52EE@acexp005.portfolio.base> References: <42AE08054734A940AE4F983C21324D042B52EE@acexp005.portfolio.base> Message-ID: <366ea3750607060558g40db2458y151cb005237492c4@mail.gmail.com> On 7/5/06, Stanley.Hopcroft at dest.gov.au wrote: > Is it possible to use the standard plugin distro check_ping to > distinguish > a reachability failure brought about by sluggish transport and one > caused > by a routing failure. The easy answer would be to setup your host checks using a check_ping setting that is very tolerant to latency and packet loss. Then setup a service that uses check_ping with your acceptable latency/packet loss. You could then use this service in a service dependency for troublesome services behind the router if you intended to suppress notifications. You could potentially use something like SmokePing for the service check if you were interested in fine-grained latency/packet loss information. -- Chet Luther chet.luther at gmail.com Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 6 14:59:07 2006 From: marc at ena.com (Marc Powell) Date: Thu, 6 Jul 2006 07:59:07 -0500 Subject: Service Check Interval < 1 minute ? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon > Sent: Thursday, July 06, 2006 7:20 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Service Check Interval < 1 minute ? [big chop] > I have made the necessary changes, setting interval_length=1 to have > everything in seconds for simplicity. > > Quick question: I take it things like "retention_update_interval" and > "command_check_interval" in nagios.cfg are also affected by this? Or do > they always work in minutes? (the comments say minutes..) > > The comments by "interval_length" seem to indicate this variable only > affects "host/contact/service configuration files"... It affects others but is mostly used by config objects. The documentation specifically references when interval_length is used. command_check_interval is one that defaults to using interval_length for example. -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 6 15:05:30 2006 From: marc at ena.com (Marc Powell) Date: Thu, 6 Jul 2006 08:05:30 -0500 Subject: Migration/Upgrade nagios 1.x to nagios 2.x Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Martine Carannante > Sent: Thursday, July 06, 2006 4:41 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Migration/Upgrade nagios 1.x to nagios 2.x > > The format of the comment.log file has changed . > Does it exist a tool/script to upgrade the old comment.log file into the > new comment.dat file ? Andreas Ericsson was kind enough to share his script at http://oss.op5.se/nagios/12to20comments.php.gz. I haven't used that particular script myself so I can't say if it actually works but you could give it a go. Head -- # quick-hack script to keep comments between versions 1.2 and 2.x of Nagios # Author: Andreas Ericsson # # This script is in the public domain. # Use at your own risk. If anything breaks, you're on your own. # -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PShelfo at embrex.com Thu Jul 6 17:06:53 2006 From: PShelfo at embrex.com (Pete Shelfo) Date: Thu, 6 Jul 2006 11:06:53 -0400 Subject: Nagios Logo Issues Message-ID: Theses are the rpm's that are installed on the server. gd-devel-2.0.28-4.4E.1 gd-2.0.28-4.4E.1 libpng10-devel-1.0.16-1 libpng-1.2.7-1.el4.2 libpng10-1.0.16-1 libpng-devel-1.2.7-1.el4.2 libjpeg-6b-33 libjpeg-devel-6b-33 I reconfigured the Nagios install again which listed the GD Library being found. The Make and Make Install also appear to be clean. This is the statement from the ./configure command/ checking for gdImagePng in -lgd (order 1)... yes GD library was found! I checked once again and the images definitions are pointing to the right location. I even tried the following which had no effect. # Windows Servers define hostextinfo{ host_name servername icon_image /usr/local/nagios/share/images/logos/win40.gif statusmap_image /usr/local/nagios/share/images/logos/win40.gd2 } -----Original Message----- From: Jim Perrin [mailto:jperrin at gmail.com] Sent: Wednesday, July 05, 2006 6:21 PM To: Pete Shelfo Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Logo Issues > Ever since I upgraded my Nagios 2.0 on a Redhat Enterprise 3 server to > Nagios 2.3 on Redhat Enterprise 4 I can't get any of my logos to work > (status map, hosts, etc). I have searched the forums and have found nothing > that helps - although a lot of people have logo issues. I checked and > doubled checked my config and nothing seems to be wrong. I have also tried > multiple graphics formats gd2, gif, jpeg but that does not matter. All my > logos are stored in /usr/local/nagios/share/images/logos. > I am concerned that something with Redhat 4.0 has been upgraded that is > causing the problem I'm using Nagios on a couple RHEL4 boxen with images just fine. Since your path would indicate that you built your own nagios install instead of using rpms, I'm gonna ask some questions that may seem obvious. Did you have gd and gd-devel installed when you built nagios? How about libpng-devel and libjpeg-devel? Are you ABSOLUTELY sure that your image definitions are pointing in the right location? -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PShelfo at embrex.com Thu Jul 6 17:12:04 2006 From: PShelfo at embrex.com (Pete Shelfo) Date: Thu, 6 Jul 2006 11:12:04 -0400 Subject: Nagios Logo Issues Message-ID: My httpd error_log is running clean. However in my access_log I get tons of the following errors: 10.1.7.206 - monitor [06/Jul/2006:11:06:48 -0400] "GET /nagios/stylesheets/common.css HTTP/1.1" 304 - "http://server/nagios/cgi-bin/status.cgi?hostgro up=all&style=summary" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1)" 10.1.7.206 - monitor [06/Jul/2006:11:06:48 -0400] "GET /nagios/stylesheets/status.css HTTP/1.1" 304 - "http://server/nagios/cgi-bin/status.cgi?hostgro up=all&style=summary" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1)" Are these 304 errors normal? I am not sure what you mean by URLs for the images. The webserver displays all the cgi scripts perfectly including status.map objects. Just there are not custom logo's assigned. In status.map all I get is the ? graphic. On the hosts nothing displays from an icon standpoint. -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Wednesday, July 05, 2006 6:13 PM To: Pete Shelfo Subject: RE: [Nagios-users] Nagios Logo Issues > Ever since I upgraded my Nagios 2.0 on a Redhat Enterprise 3 > server to Nagios 2.3 on Redhat Enterprise 4 I can't get any > of my logos to work (status map, hosts, etc). I have > searched the forums and have found nothing that helps - > although a lot of people have logo issues. I checked and > doubled checked my config and nothing seems to be wrong. I > have also tried multiple graphics formats gd2, gif, jpeg but > that does not matter. All my logos are stored in > /usr/local/nagios/share/images/logos. I am concerned that > something with Redhat 4.0 has been upgraded that is causing > the problem Have you checked your webserver logs? If not, have you at least looked at the URLs for the images and verified they are where the webserver is looking for them? This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Thu Jul 6 17:20:32 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 06 Jul 2006 11:20:32 -0400 Subject: check_up2date/check_yum plugins Message-ID: <44AD2A40.80705@verizon.net> Is anyone using the check_yum/check_up2date plugins, specifically the check_up2date portion on RHEL4? I'm good with the check_yum side of things, it's the check_up2date part. Basically, check_up2date runs fine when run from the remote host via command line as root. RHEL's up2date command, however, doesn't allow the user nagios to run up2date. The check_yum plugin executes within it's script: yum -d0 check-update This command in yum is allowed by a normal user. The check_up2date portion executes: up2date --nox --list Which fails as a normal user. I can tell the NRPE daemon to start as root on the remote host, which is what this runs over. But then the check_nrpe command on the nagios host can't connect as nagios to root on the remote. Before I drop the author a note I figured I'd ask on here. Anyone had a similar issue? Thanks! Max Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Thu Jul 6 17:30:09 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 6 Jul 2006 11:30:09 -0400 Subject: Nagios Logo Issues In-Reply-To: References: Message-ID: > I am not sure what you mean by URLs for the images. The > webserver displays all the cgi scripts perfectly including > status.map objects. > Just there are not custom logo's assigned. In status.map all > I get is the ? graphic. On the hosts nothing displays from > an icon standpoint. There is a very short list of possible reasons for broken logo images: 1. The images aren't where they are supposed to be. 2. The images are corrupted. 3. The logo is misconfigured. By "check the URLs for the images" I mean... Well, look in your browser at what the URLs for the images are. Right-click on a broken image and look at where the webserver is trying to pull it from. There's nothing fancy about how those images are displayed. Forget the suggestions to look at png and jpg libraries, etc.; those don't matter and can't break this. This is a very simple problem. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From radhiilu at yahoo.com Thu Jul 6 18:13:36 2006 From: radhiilu at yahoo.com (Radhika) Date: Thu, 6 Jul 2006 09:13:36 -0700 (PDT) Subject: No config files found in nagio 2.4 Message-ID: <20060706161336.28817.qmail@web60724.mail.yahoo.com> Hi Guys, I have installed nagios 2.4 and when i run preflight check command i am getting the following error Nagios 2.4 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 05-31-2006 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Error: There are no services defined! Checked 0 services. Checking hosts... Error: There are no hosts defined! Checked 0 hosts. Checking host groups... Error: There are no host groups defined! Checked 0 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Error: There are no contacts defined! Checked 0 contacts. Checking contact groups... Error: There are no contact groups defined! Checked 0 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 22 commands. Checking time periods... Checked 0 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 5 ***> One or more problems was encountered while running the pre-flight check... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. I have checked the /usr/local/nagios/etc directory where it should be but i couldn't find any hosts,groups ...etc file in this directory. I have only these sample files bigger.cfg cgi.cfg checkcommands.cfg minimal.cfg misccommands.cfg nagios.cfg resource.cfg In nagios 2.4 we have create all these files manually or how to fix this problem Thanks --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2?/min or less. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Thu Jul 6 18:28:08 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Thu, 06 Jul 2006 17:28:08 +0100 Subject: DB supoprt in Nagios 2.x dropped? Message-ID: <44AD3A18.5000701@gmail.com> I've read the changelog for Nagios 2.x to see what it has over my current 1.4.1 and I noticed that under 2.0b1 - 12/15/2004 it says "Native DB support dropped". Can anybody confirm that this means there is no DB support in 2.x so you can no longer use a MySQL/PostgreSQL backend? -h Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tgenessay at aliadis.fr Thu Jul 6 18:31:13 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Thu, 06 Jul 2006 18:31:13 +0200 Subject: DB supoprt in Nagios 2.x dropped? In-Reply-To: <44AD3A18.5000701@gmail.com> References: <44AD3A18.5000701@gmail.com> Message-ID: <44AD3AD1.6010809@aliadis.fr> Hi Hari Sekhon wrote: > Can anybody confirm that this means there is no DB support in 2.x so you > can no longer use a MySQL/PostgreSQL backend? There is no *native* support for DB backends in Nagios 2.0. However, with the event broker mechanism you can easily plug an existing one (e.g. nagiosDB) or create your own. Regards -- Thibault GENESSAY ALIADIS www.aliadis.fr Tel. +33 4 72 13 90 40 Fax +33 4 74 22 00 09 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Thu Jul 6 18:34:38 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Thu, 06 Jul 2006 17:34:38 +0100 Subject: DB supoprt in Nagios 2.x dropped? In-Reply-To: <44AD3AD1.6010809@aliadis.fr> References: <44AD3A18.5000701@gmail.com> <44AD3AD1.6010809@aliadis.fr> Message-ID: <44AD3B9E.5000006@gmail.com> Thibault Genessay wrote: > Hi > > Hari Sekhon wrote: > >> Can anybody confirm that this means there is no DB support in 2.x so you >> can no longer use a MySQL/PostgreSQL backend? >> > > There is no *native* support for DB backends in Nagios 2.0. However, > with the event broker mechanism you can easily plug an existing one > (e.g. nagiosDB) or create your own. > > Regards > > Nah, I set up a MySQL backend for my first nagios installation, then realised there wasn't much to be gained by this which is why the developers don't care much for it. Thanks for the info. -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Thu Jul 6 18:57:59 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 06 Jul 2006 12:57:59 -0400 Subject: [Re: check_up2date/check_yum plugins] Message-ID: <44AD4117.20607@verizon.net> I haven't dealt with issues like this yet, but my inclination would be to grant the nagios user passwordless sudo access to run up2date as root, then tweak the check_up2date plugin to use sudo. Good luck. -John R. Daily jdaily at apparatus.net Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Thu Jul 6 19:00:24 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 06 Jul 2006 13:00:24 -0400 Subject: [Re: check_up2date/check_yum plugins] In-Reply-To: <44AD4117.20607@verizon.net> References: <44AD4117.20607@verizon.net> Message-ID: <44AD41A8.6080802@verizon.net> Max H. wrote: > I haven't dealt with issues like this yet, but my inclination would > be to grant the nagios user passwordless sudo access to run up2date > as root, then tweak the check_up2date plugin to use sudo. > > Good luck. Yeah, I thought about that. I'd prefer not to have to do that. I think instead of messing around with getting it to work, I'll just write two quick scripts. One would dump the output from up2date into a file, the other would read that file and send the results back across NRPE. Thanks for the suggestion! Max Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Jul 6 19:02:09 2006 From: jhmartin at toger.us (Jason Martin) Date: Thu, 6 Jul 2006 10:02:09 -0700 Subject: DB supoprt in Nagios 2.x dropped? In-Reply-To: <44AD3A18.5000701@gmail.com> References: <44AD3A18.5000701@gmail.com> Message-ID: <20060706170209.GJ3056@mal.members.linode.com> On Thu, Jul 06, 2006 at 05:28:08PM +0100, Hari Sekhon wrote: > Can anybody confirm that this means there is no DB support in 2.x so you > can no longer use a MySQL/PostgreSQL backend? Correct, although there is a module for the event broker that mimics some of that functionality. -Jason Martin -- Multitasking: Reading in the bathroom This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 6 19:31:29 2006 From: marc at ena.com (Marc Powell) Date: Thu, 6 Jul 2006 12:31:29 -0500 Subject: No config files found in nagio 2.4 Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Radhika > Sent: Thursday, July 06, 2006 11:14 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] No config files found in nagio 2.4 > > Hi Guys, > > I have installed nagios 2.4 and when i run preflight check command i am > getting the following error > [chop] > > I have checked the /usr/local/nagios/etc directory where it should be but > i couldn't find any hosts,groups ...etc file in this directory. > > I have only these sample files bigger.cfg cgi.cfg checkcommands.cfg > minimal.cfg misccommands.cfg nagios.cfg resource.cfg > > In nagios 2.4 we have create all these files manually or how to fix this > problem Yes, you have to create them or modify the example files to suit your environment. Last step of http://nagios.sourceforge.net/docs/2_0/installing.html -- Configuring Nagios So now you have things compiled and installed, but you still haven't configured Nagios or defined objects (hosts, services, etc.) that should be monitored. Information on configuring Nagios and defining objects can be found here. There's a lot to configure, but don't let it discourage you - its well worth it. The link goes to http://nagios.sourceforge.net/docs/2_0/config.html. -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdash at juniper.net Thu Jul 6 19:42:34 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Thu, 6 Jul 2006 23:12:34 +0530 Subject: No config files found in nagio 2.4 Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A0374BB@gaugeboson.jnpr.net> Hi Radhika, You have to create your own services.cfg, hosts.cfg file, etc in the etc directory. To do this probably, you can just rename all the sample files to the file names what nagios is looking for. Let us take the example of nagios.cfg-sample, which you can rename to nagios.cfg or just make duplicate copy of sample file with name nagios.cfg. Same way for all of the sample files and make the changes according to requirement. Regards, Dash -------------------------- Sent from my BlackBerry Wireless Handheld -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net To: nagios-users at lists.sourceforge.net Sent: Thu Jul 06 09:13:36 2006 Subject: [Nagios-users] No config files found in nagio 2.4 Hi Guys, I have installed nagios 2.4 and when i run preflight check command i am getting the following error Nagios 2.4 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 05-31-2006 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Error: There are no services defined! Checked 0 services. Checking hosts... Error: There are no hosts defined! Checked 0 hosts. Checking host groups... Error: There are no host groups defined! Checked 0 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Error: There are no contacts defined! Checked 0 contacts. Checking contact groups... Error: There are no contact groups defined! Checked 0 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 22 commands. Checking time periods... Checked 0 time periods. Checking extended host info definitions... Checked 0 extended host info definitions. Checking extended service info definitions... Checked 0 extended service info definitions. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 5 ***> One or more problems was encountered while running the pre-flight check... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. I have checked the /usr/local/nagios/etc directory where it should be but i couldn't find any hosts,groups ...etc file in this directory. I have only these sample files bigger.cfg cgi.cfg checkcommands.cfg minimal.cfg misccommands.cfg nagios.cfg resource.cfg In nagios 2.4 we have create all these files manually or how to fix this problem Thanks ________________________________ Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2?/min or less. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tarak.patel at ec.gc.ca Thu Jul 6 19:56:14 2006 From: tarak.patel at ec.gc.ca (Tarak Patel) Date: Thu, 06 Jul 2006 17:56:14 +0000 Subject: Nagios and Cluster Setup Message-ID: <44AD4EBE.8020100@ec.gc.ca> Hi all, After playing with Nagios with simple single server setup I would like to get my hands dirty and configure Nagios for clusters. In my previous setup I was using Nagios to execute some home grown perl scripts to monitor a single remote system's various components. I simply configured nrpe on remote host and used another host to execute active checks. Now I would like to expand similar technic for a cluster but with a small modification. My current configuration is such that the interactive node of the cluster has a perl script that mimics DSH and launches a single check on each node. This single check bundles each individual component checks so that all components can be check in one shot. This method causes a problem when I would like to disable a single check on a single node. The other method was to launch a specific check on all nodes but this still does not solve the problem of disabling a single check on a single node. The question I have is what would be the best method for me where I would like to have a setup where I have one central server running nagios/web, multiple distributed servers and for each distributed server many other simple nodes that simply launch checks on regular basis and report back to distributed server which then reports back to central server. I also want to have the freedom to launch active check from central server onto nodes individually (layer below the distributed server). I was wondering if creating a setup where I would let each individual node perfom its checks (seperatly) and report to distributed server via NSCA and use NSCA on distributed server to report back to central server. Then how do I go about allowing central server to perform active check at the bottom level nodes. Any help is greatly appriciated... Thank you, TP. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drussell at mpifix.com Thu Jul 6 21:14:52 2006 From: drussell at mpifix.com (Danny Russell) Date: Thu, 6 Jul 2006 13:14:52 -0600 Subject: ndomod: Error writing to data sink! Some output may get lost... Message-ID: Hello Everyone, I am seeking some help regarding ndoutils and nagios. Here is what I am running: * CentOS 4.2 * nagios-2.4-1.el4 * ndoutils-1.3.1 * mysql-5.0.22-1.centos.1 * php-5.0.4-5.centos4 * nagios-plugins-1.4.2-1.2.el4.rf The NEB module is loading and connecting to the data sink. The problem is that it cannot write any data to the data sink. Is the data sink the ndo.sock file? I run the ndo2db daemon and it starts just fine: ndo2db -c /etc/nagios/bin/ndo2db.cfg I've tried chmoding the sock file to 777, changed the ownership to nagios:nagios, and running it as root. If I run the ndo2db as nagios it gets a permission denied to the sock file? Should I run this under the nagios user? Here is an excerpt from my nagios.log file: [1152209793] Nagios 2.4 starting... (PID=31876) [1152209793] LOG VERSION: 2.0 [1152209793] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios at nagios.org) [1152209794] ndomod: Successfully connected to data sink. 0 queued items to flush. [1152209794] Event broker module '/etc/nagios/bin/ndomod.o' initialized successfully. [1152209794] Finished daemonizing... (New PID=31878) [1152209794] ndomod: Error writing to data sink! Some output may get lost... [1152209810] ndomod: Successfully reconnected to data sink! 0 items lost, 69 queued items to flush. [1152209810] ndomod: Successfully flushed 69 queued items to data sink. [1152209811] ndomod: Error writing to data sink! Some output may get lost... [1152209827] ndomod: Successfully reconnected to data sink! 0 items lost, 72 queued items to flush. [1152209827] ndomod: Successfully flushed 72 queued items to data sink. [1152209828] ndomod: Error writing to data sink! Some output may get lost... [1152209844] ndomod: Successfully reconnected to data sink! 0 items lost, 69 queued items to flush. [1152209844] ndomod: Successfully flushed 69 queued items to data sink. [1152209845] ndomod: Error writing to data sink! Some output may get lost... [1152209861] ndomod: Successfully reconnected to data sink! 0 items lost, 75 queued items to flush. [1152209861] ndomod: Successfully flushed 75 queued items to data sink. [1152209862] ndomod: Error writing to data sink! Some output may get lost... Thanks for your help. Danny Russell Mobile Productivity, Inc. Enabling the World To Work -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brylon at jla.rutgers.edu Thu Jul 6 20:47:44 2006 From: brylon at jla.rutgers.edu (Bryan Loniewski) Date: Thu, 6 Jul 2006 14:47:44 -0400 (EDT) Subject: Nagios and Cluster Setup In-Reply-To: References: Message-ID: > Message: 1 > Date: Thu, 06 Jul 2006 17:56:14 +0000 > From: Tarak Patel > Subject: [Nagios-users] Nagios and Cluster Setup > To: nagios-users at lists.sourceforge.net > Message-ID: <44AD4EBE.8020100 at ec.gc.ca> > Content-Type: text/plain; charset=us-ascii; format=flowed > > Hi all, > > After playing with Nagios with simple single server setup I would like > to get my hands dirty and configure Nagios for clusters. In my previous > setup I was using Nagios to execute some home grown perl scripts to > monitor a single remote system's various components. I simply configured > nrpe on remote host and used another host to execute active checks. Now > I would like to expand similar technic for a cluster but with a small > modification. My current configuration is such that the interactive node > of the cluster has a perl script that mimics DSH and launches a single > check on each node. This single check bundles each individual component > checks so that all components can be check in one shot. This method > causes a problem when I would like to disable a single check on a single > node. The other method was to launch a specific check on all nodes but > this still does not solve the problem of disabling a single check on a > single node. > > The question I have is what would be the best method for me where I > would like to have a setup where I have one central server running > nagios/web, multiple distributed servers and for each distributed server > many other simple nodes that simply launch checks on regular basis and > report back to distributed server which then reports back to central > server. I also want to have the freedom to launch active check from > central server onto nodes individually (layer below the distributed server). > > I was wondering if creating a setup where I would let each individual > node perfom its checks (seperatly) and report to distributed server via > NSCA and use NSCA on distributed server to report back to central > server. Then how do I go about allowing central server to perform active > check at the bottom level nodes. Not sure where the confusion is? As long as the central server has access to the subnets that your leaf nodes reside on, it can actively monitor those nodes services. If the central server cannot "reach" the leaf nodes, perhaps you may want the slave servers actively monitoring the leaf nodes, and forwarding those results as well up to the central server. > > Any help is greatly appriciated... > > Thank you, > > TP. > > > > > ------------------------------ > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > ------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > End of Nagios-users Digest, Vol 2, Issue 10 > ******************************************* > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbortega at gmail.com Thu Jul 6 21:54:11 2006 From: jbortega at gmail.com (Bernardo Ortega) Date: Thu, 6 Jul 2006 15:54:11 -0400 Subject: Displaying wrong value Message-ID: Hi, I'm using the check_snmp plugin for monitor CPU on solaris, when I run from linux console I received an value and when I see from nagios console is other valued. This is my check_snmp command: # 'CPU User' command definition define command{ command_name check_cpu_user command_line $USER1$/check_snmp -H $HOSTADDRESS$ -m : -o .1.3.6.1.4.1.2021.11.9.0 -u "%" -l "CPU User" -c $ARG1$ -w $ARG2$ } In nagios console display: Status Information CPU User OK - 1 % and in linux console is: CPU Load WARNING - *52* % | iso.3.6.1.4.1.2021.11.9.0=52;;;; Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PShelfo at embrex.com Thu Jul 6 22:34:37 2006 From: PShelfo at embrex.com (Pete Shelfo) Date: Thu, 6 Jul 2006 16:34:37 -0400 Subject: Nagios Logo Issues Message-ID: Thanks for your response. I have the images loaded in /usr/local/nagios/share/images/logos which is the correct location. I have tried many different types of images and have even downloaded the new image pack so that rules out corruption. I have about 15 different images reference and none of them work. I don't have any broken images to check the URL on. All hosts have no graphics similar to a fresh install. The statusmap.cgi does show a graphic - it is just the unknown question mark for every host I have. A fresh install of Nagios looks this way so I believe the Nagios or Apache is not even looking at the graphics - I just can't tell why. -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Thursday, July 06, 2006 11:30 AM To: Pete Shelfo Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios Logo Issues > I am not sure what you mean by URLs for the images. The > webserver displays all the cgi scripts perfectly including > status.map objects. > Just there are not custom logo's assigned. In status.map all > I get is the ? graphic. On the hosts nothing displays from > an icon standpoint. There is a very short list of possible reasons for broken logo images: 1. The images aren't where they are supposed to be. 2. The images are corrupted. 3. The logo is misconfigured. By "check the URLs for the images" I mean... Well, look in your browser at what the URLs for the images are. Right-click on a broken image and look at where the webserver is trying to pull it from. There's nothing fancy about how those images are displayed. Forget the suggestions to look at png and jpg libraries, etc.; those don't matter and can't break this. This is a very simple problem. This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey at hyves.nl Thu Jul 6 22:51:49 2006 From: jeffrey at hyves.nl (Jeffrey Lensen) Date: Thu, 06 Jul 2006 22:51:49 +0200 Subject: question about nagiosgraph In-Reply-To: References: Message-ID: <44AD77E5.1060900@hyves.nl> Hello all, I have succesfully installed nagiosgraph with Nagios 2.4 and things appeared to be working. So I decided to add some more services to graph, and right now I have about 200 hosts both with 2 services of which graphs need to be created. After implementing this and properly restarting Nagios, the RRD files are created, but for some reason they don't get updated with new values after that. So all of my graphs either show one value, or a NotANumber value. Could it be that the insert.pl script of nagiosgraph gets overloaded or something? Does anyone have any tips for me on how to fix this? Thanks! -Jeffrey --------------------------------- Jeffrey Lensen hyves: http://skyler.hyves.nl mail/msn: jeffrey at hyves.nl Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joemacbusiness at yahoo.com Thu Jul 6 22:53:41 2006 From: joemacbusiness at yahoo.com (Joe McCaughan) Date: Thu, 6 Jul 2006 13:53:41 -0700 (PDT) Subject: ===Network Connectivity Issues Message-ID: <20060706205341.65335.qmail@web38212.mail.mud.yahoo.com> Hi Folks, I am having trouble with my Nagios server talking to the client through NRPE. The error is ... user is root: [root at XXXXXXXXXXXXX libexec]# ./check_nrpe -H dev -c check_disk1 Connection refused by host user is nagios: [root at XXXXXXXXXXXXX libexec]# su nagios [nagios at XXXXXXXXXXXXX libexec]$ ./check_nrpe -H dev -c check_disk1 Connection refused by host Also, I *cannot telnet* into the client as root or nagios. It just bumps me out with "Connection refused" We are using ssh for logins. I believe I have the nrpe.cfg on the client configged OK and the nagios.cfg on the server too. The command definitions look OK in client's nrpe.cfg (standard install) The services.cfg on the server (for check_users) looks like this: ############################################################################# define service{ use generic-service host_name Nagios.servername.com service_description USERS is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups slc-admins notification_interval 120 notifications_enabled 1 notification_period 24x7 notification_options w,c check_command check_nrpe!5666!check_users } ########################################## 1) What kind of network connectivity is required between the Nagios client and server? 2) In the Nagios client nrpe.cfg file: Should the server_address= be the IP address of the Nagios server? Not sure if the process needs to bind to it's own IP or the Nagios host. 3) Does the hosts.equiv need to be set up on the server/client? What about ~nagios/.rhosts? I have been searching over the docs to find answers to this stuff. Thanks, Joe McCaughan --------------------------------- Want to be your own boss? Learn how on Yahoo! Small Business. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Thu Jul 6 23:03:02 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 06 Jul 2006 17:03:02 -0400 Subject: ===Network Connectivity Issues In-Reply-To: <20060706205341.65335.qmail@web38212.mail.mud.yahoo.com> References: <20060706205341.65335.qmail@web38212.mail.mud.yahoo.com> Message-ID: <44AD7A86.8040401@verizon.net> Joe McCaughan wrote: > 1) > What kind of network connectivity is required between the > Nagios client and server? > SSL is used by default on port 5666. Ensure your firewall, if you have one running on your remote host, isn't getting the way. > 2) > In the Nagios client nrpe.cfg file: > Should the server_address= be the IP address of the Nagios server? > Not sure if the process needs to bind to it's own IP or the Nagios host. > Yes, the server_address is the machine Nagios is executing check_nrpe from. You can specify that IP there. I'd learn toward a firewall blocking the port. Max Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Jul 6 23:19:48 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 6 Jul 2006 23:19:48 +0200 (CEST) Subject: question about nagiosgraph In-Reply-To: <44AD77E5.1060900@hyves.nl> References: <44AD77E5.1060900@hyves.nl> Message-ID: On Thu, 6 Jul 2006, Jeffrey Lensen wrote: > I have succesfully installed nagiosgraph with Nagios 2.4 and things > appeared to be working. So I decided to add some more services to graph, > and right now I have about 200 hosts both with 2 services of which > graphs need to be created. After implementing this and properly > restarting Nagios, the RRD files are created, but for some reason they > don't get updated with new values after that. So all of my graphs either > show one value, or a NotANumber value. Could it be that the insert.pl > script of nagiosgraph gets overloaded or something? Does anyone have any > tips for me on how to fix this? If you go over the archives you will find some notes on this. I found that you can not run multiple instances ate the same time. And with 400 service you simply can not manage it the way I worked around the problem. But in general I feel that nagiosgraph does not scale well by it's design. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Thu Jul 6 23:31:47 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 6 Jul 2006 17:31:47 -0400 Subject: Nagios Logo Issues In-Reply-To: References: Message-ID: > -----Original Message----- > From: Pete Shelfo [mailto:PShelfo at embrex.com] > Sent: Thursday, July 06, 2006 1:35 PM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios Logo Issues > > Thanks for your response. > > I have the images loaded in > /usr/local/nagios/share/images/logos which is the correct location. > > I have tried many different types of images and have even > downloaded the new image pack so that rules out corruption. > I have about 15 different images reference and none of them work. > > I don't have any broken images to check the URL on. All > hosts have no graphics similar to a fresh install. > > The statusmap.cgi does show a graphic - it is just the > unknown question mark for every host I have. > > A fresh install of Nagios looks this way so I believe the > Nagios or Apache is not even looking at the graphics - I just > can't tell why. Well, that narrows it down considerably. Hadn't figured out 'til now that you were saying it's not even trying to show your logos. If that's the case, then it's definitely a Nagios configuration issue. I just went backed and looked at a previous message you sent Jim Perrin on this subject, and your icon_image and statusmap_image definitions are definitely not right. Just use the filename, instead of the entire path. Assuming Nagios was compiled to use the HTML path you think is correct, that's all you need. To use the example you sent: Incorrect: define hostextinfo{ host_name servername icon_image /usr/local/nagios/share/images/logos/win40.gif statusmap_image /usr/local/nagios/share/images/logos/win40.gd2 } Correct: define hostextinfo{ host_name servername icon_image win40.gif statusmap_image win40.gd2 } Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PShelfo at embrex.com Fri Jul 7 00:09:04 2006 From: PShelfo at embrex.com (Pete Shelfo) Date: Thu, 6 Jul 2006 18:09:04 -0400 Subject: Nagios Logo Issues Message-ID: Acutally the format you sent me is how I have things setup. I tried typing in the full path as a test but that did not matter. I sent that test reference to Jim Perrin as an example of what I had tried. I was looking in the sample configuration files and came across a statement in nagios.cfg-sample file: # Extended host/service info definitions are now stored along with # other object definitions: #cfg_file=/usr/local/nagios/etc/hostextinfo.cfg #cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg Have the image locations changed in the new versions? I tried add the cfg_file=/usr/local/nagios/etc/hostextinfo.cfg statement to my nagios.cfg file but nagios did not like the command. -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Thursday, July 06, 2006 5:32 PM To: Pete Shelfo Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios Logo Issues > -----Original Message----- > From: Pete Shelfo [mailto:PShelfo at embrex.com] > Sent: Thursday, July 06, 2006 1:35 PM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios Logo Issues > > Thanks for your response. > > I have the images loaded in > /usr/local/nagios/share/images/logos which is the correct location. > > I have tried many different types of images and have even > downloaded the new image pack so that rules out corruption. > I have about 15 different images reference and none of them work. > > I don't have any broken images to check the URL on. All > hosts have no graphics similar to a fresh install. > > The statusmap.cgi does show a graphic - it is just the > unknown question mark for every host I have. > > A fresh install of Nagios looks this way so I believe the > Nagios or Apache is not even looking at the graphics - I just > can't tell why. Well, that narrows it down considerably. Hadn't figured out 'til now that you were saying it's not even trying to show your logos. If that's the case, then it's definitely a Nagios configuration issue. I just went backed and looked at a previous message you sent Jim Perrin on this subject, and your icon_image and statusmap_image definitions are definitely not right. Just use the filename, instead of the entire path. Assuming Nagios was compiled to use the HTML path you think is correct, that's all you need. To use the example you sent: Incorrect: define hostextinfo{ host_name servername icon_image /usr/local/nagios/share/images/logos/win40.gif statusmap_image /usr/local/nagios/share/images/logos/win40.gd2 } Correct: define hostextinfo{ host_name servername icon_image win40.gif statusmap_image win40.gd2 } This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Fri Jul 7 01:22:19 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 6 Jul 2006 16:22:19 -0700 Subject: Nagios Logo Issues In-Reply-To: References: Message-ID: <20060706232219.GJ31574@hermes.americas.hpqcorp.net> Uncomment the lines that tell it to load the configs. On Thu, 06 Jul 2006, Pete Shelfo wrote: > Acutally the format you sent me is how I have things setup. I tried > typing in the full path as a test but that did not matter. I sent that > test reference to Jim Perrin as an example of what I had tried. > > I was looking in the sample configuration files and came across a > statement in nagios.cfg-sample file: > > # Extended host/service info definitions are now stored along with > # other object definitions: > #cfg_file=/usr/local/nagios/etc/hostextinfo.cfg > #cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg > > Have the image locations changed in the new versions? I tried add the > cfg_file=/usr/local/nagios/etc/hostextinfo.cfg statement to my > nagios.cfg file but nagios did not like the command. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Fri Jul 7 01:25:18 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 6 Jul 2006 16:25:18 -0700 Subject: Nagios Logo Issues In-Reply-To: References: Message-ID: <20060706232518.GK31574@hermes.americas.hpqcorp.net> Sorry -- misread what you sent. Long day here. What didn't Nagios like? That's a perfectly valid config line. If it didn't like it, either you mistyped it, there are other errors, or you aren't running the version of Nagios you think you are. On Thu, 06 Jul 2006, Pete Shelfo wrote: > Acutally the format you sent me is how I have things setup. I tried > typing in the full path as a test but that did not matter. I sent that > test reference to Jim Perrin as an example of what I had tried. > > I was looking in the sample configuration files and came across a > statement in nagios.cfg-sample file: > > # Extended host/service info definitions are now stored along with > # other object definitions: > #cfg_file=/usr/local/nagios/etc/hostextinfo.cfg > #cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg > > Have the image locations changed in the new versions? I tried add the > cfg_file=/usr/local/nagios/etc/hostextinfo.cfg statement to my > nagios.cfg file but nagios did not like the command. > > -----Original Message----- > From: Morris, Patrick [mailto:patrick.morris at hp.com] > Sent: Thursday, July 06, 2006 5:32 PM > To: Pete Shelfo > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios Logo Issues > > > > -----Original Message----- > > From: Pete Shelfo [mailto:PShelfo at embrex.com] > > Sent: Thursday, July 06, 2006 1:35 PM > > To: Morris, Patrick > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Nagios Logo Issues > > > > Thanks for your response. > > > > I have the images loaded in > > /usr/local/nagios/share/images/logos which is the correct location. > > > > I have tried many different types of images and have even > > downloaded the new image pack so that rules out corruption. > > I have about 15 different images reference and none of them work. > > > > I don't have any broken images to check the URL on. All > > hosts have no graphics similar to a fresh install. > > > > The statusmap.cgi does show a graphic - it is just the > > unknown question mark for every host I have. > > > > A fresh install of Nagios looks this way so I believe the > > Nagios or Apache is not even looking at the graphics - I just > > can't tell why. > > Well, that narrows it down considerably. Hadn't figured out 'til now > that you were saying it's not even trying to show your logos. > > If that's the case, then it's definitely a Nagios configuration issue. > > I just went backed and looked at a previous message you sent Jim Perrin > on this subject, and your icon_image and statusmap_image definitions are > definitely not right. Just use the filename, instead of the entire > path. Assuming Nagios was compiled to use the HTML path you think is > correct, that's all you need. > > To use the example you sent: > > Incorrect: > > define hostextinfo{ > host_name servername > icon_image /usr/local/nagios/share/images/logos/win40.gif > statusmap_image /usr/local/nagios/share/images/logos/win40.gd2 > } > > > Correct: > > define hostextinfo{ > host_name servername > icon_image win40.gif > statusmap_image win40.gd2 > } > > > This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. > > -- Patrick Morris Snapfish/HP 303 Second Street Suite 500, South Tower San Francisco, CA 94107 (415) 979-3727 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From radhiilu at yahoo.com Fri Jul 7 09:58:04 2006 From: radhiilu at yahoo.com (Radhika) Date: Fri, 7 Jul 2006 00:58:04 -0700 (PDT) Subject: Nagios Front end error Error: Could not read object configuration data! Message-ID: <20060707075804.38182.qmail@web60713.mail.yahoo.com> Hi, When i login in to the nagios frontend if i click any link i am getting the following error Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: Verify configuration options using the -v command-line option to check for errors. Check the Nagios log file for messages relating to startup or status data errors. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. How to fix this error Thanks for your help --------------------------------- Want to be your own boss? Learn how on Yahoo! Small Business. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdash at juniper.net Fri Jul 7 10:04:30 2006 From: mdash at juniper.net (Mrutyunjaya Dash) Date: Fri, 7 Jul 2006 13:34:30 +0530 Subject: Nagios Front end error Error: Could not read objectconfiguration data! In-Reply-To: <20060707075804.38182.qmail@web60713.mail.yahoo.com> References: <20060707075804.38182.qmail@web60713.mail.yahoo.com> Message-ID: <0DB0FFEA6887E349861A3F6B40D71C3A015EAD02@gaugeboson.jnpr.net> Hi, Before checking on nagios web interface, you need to verify configuration by running command in following way /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg The output of this should say like this as below. Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Radhika Sent: Friday, July 07, 2006 1:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Front end error Error: Could not read objectconfiguration data! Hi, When i login in to the nagios frontend if i click any link i am getting the following error Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: Verify configuration options using the -v command-line option to check for errors. Check the Nagios log file for messages relating to startup or status data errors. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org . How to fix this error Thanks for your help ________________________________ Want to be your own boss? Learn how on Yahoo! Small Business. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ganesh.Borhade at UCB-Group.com Fri Jul 7 10:16:02 2006 From: Ganesh.Borhade at UCB-Group.com (Ganesh.Borhade at UCB-Group.com) Date: Fri, 7 Jul 2006 10:16:02 +0200 Subject: Performance Problem on Nagios 2.4 Message-ID: Dear All, I would like to know how to Improve Nagios 2.4 Performance. We monitor 586 Host & 2326 Services thru Nagios with Active & Passive configuration using Solaris OS & good Hardware & Network config( Solaris 9 -- Active, Solaris 10- Passive ). 1. Passive Checks for 173 Host & 1107 Services & all other thru Active check. 2. Both ( Active & Passive ) Servers are in Europe-Belgium --- polls all Hosts/Services configured on Europe,US Servers. 3. Following is detail of checks 7th July 2006 Active Service Checks: Time FrameChecks Completed <= 1 minute:17 (1.0%) <= 5 minutes:368 (21.5%) <= 15 minutes:1152 (67.4%) <= 1 hour:1709 (100.0%) Since program start: 1709 (100.0%) MetricMin.Max.Average Check Execution Time: 0.17 sec9.36 sec0.751 sec Check Latency:721.43 sec887.09 sec799.914 sec Percent State Change:0.00%46.51%0.11% Passive Service Checks: Time FrameChecks Completed <= 1 minute:16 (2.4%) <= 5 minutes:205 (31.2%) <= 15 minutes:513 (78.2%) <= 1 hour:656 (100.0%) Since program start: 656 (100.0%) MetricMin.Max.Average Percent State Change: 0.00%41.18%0.22% Active Host Checks: Time FrameChecks Completed <= 1 minute:1 (0.2%) <= 5 minutes:6 (1.0%) <= 15 minutes:8 (1.4%) <= 1 hour:19 (3.2%) Since program start: 19 (3.2%) MetricMin.Max.Average Check Execution Time: 0.09 sec0.81 sec0.214 sec Check Latency:0.00 sec1022.86 sec3.486 sec Percent State Change:0.00%19.47%0.08% Passive Host Checks: Time FrameChecks Completed <= 1 minute:0 (0.0%) <= 5 minutes:0 (0.0%) <= 15 minutes:0 (0.0%) <= 1 hour:0 (0.0%) Since program start: 0 (0.0%) MetricMin.Max.Average Percent State Change: 0.00%0.00%0.00% Best Regards Ganesh BORHADE (vMoksha) Phone: +91-80-4152-8439 ---------------------------------------------------------------------------- ------ Unix Team, UCB Network Operations Center (24x7) NOC Email : NOC.OM at UCB-Group.com NOC Phone : +32-2-386-6811, +91-80-41528420/1/2/7 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.remy at ohs.asso.fr Fri Jul 7 10:35:10 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Fri, 7 Jul 2006 10:35:10 +0200 Subject: authenticated at the second time Message-ID: Hello, Nagios functions perfectly. All the configuration is good. I configured the authentification with htpasswd. When I want to connect myself to the graphic interface, it asks me to be authenticated. I put the good login and the good password and it still requires of me to be authenticated. I put the same login and the same password and I can to connect myself but I must authenticate myself twice. Why ? Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Fri Jul 7 10:33:48 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Fri, 7 Jul 2006 10:33:48 +0200 Subject: Nagios Front end error Error: Could not read object configuration data! In-Reply-To: <20060707075804.38182.qmail@web60713.mail.yahoo.com> References: <20060707075804.38182.qmail@web60713.mail.yahoo.com> Message-ID: <36758F3E-E587-4A6C-9BF6-1A8E07B123EC@kilala.nl> On 7 Jul, 2006, at 9:58, Radhika wrote: > Hi, > > When i login in to the nagios frontend if i click any link i am > getting the following error > ... > How to fix this error Seriously... Have you tried -reading- the error message that tells you exactly what to do? I don't know... It's a suggestion I guess... I guess I need more coffee... Friday mornings without coffee make me grouchy :p Cheers! Thomas Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.remy at ohs.asso.fr Fri Jul 7 10:38:57 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Fri, 7 Jul 2006 10:38:57 +0200 Subject: authenticated at the second time Message-ID: Hello, Nagios functions perfectly. All the configuration is good. I configured the authentification with htpasswd. When I want to connect myself to the graphic interface, it asks me to be authenticated. I put the good login and the good password and it still requires of me to be authenticated. I put the same login and the same password and I can to connect myself but I must authenticate myself twice. Why ? Thank you Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PShelfo at embrex.com Fri Jul 7 13:34:57 2006 From: PShelfo at embrex.com (Pete Shelfo) Date: Fri, 7 Jul 2006 07:34:57 -0400 Subject: Nagios Logo Issues Message-ID: The line I copied from the nagios.cfg-sample to my production nagios.cfg is: cfg_file=/usr/local/nagios/etc/hostextinfo.cfg Nagios reports the following error when I try to use that line statement: Error: Could not add object property in file '/usr/local/nagios/etc/hostextinfo.cfg' on line 3 3. I have never used this command in the nagios.cfg file as it is already referenced in the cgi.cfg as: xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: Thursday, July 06, 2006 7:25 PM To: Pete Shelfo Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Logo Issues Sorry -- misread what you sent. Long day here. What didn't Nagios like? That's a perfectly valid config line. If it didn't like it, either you mistyped it, there are other errors, or you aren't running the version of Nagios you think you are. On Thu, 06 Jul 2006, Pete Shelfo wrote: > Acutally the format you sent me is how I have things setup. I tried > typing in the full path as a test but that did not matter. I sent that > test reference to Jim Perrin as an example of what I had tried. > > I was looking in the sample configuration files and came across a > statement in nagios.cfg-sample file: > > # Extended host/service info definitions are now stored along with > # other object definitions: > #cfg_file=/usr/local/nagios/etc/hostextinfo.cfg > #cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg > > Have the image locations changed in the new versions? I tried add the > cfg_file=/usr/local/nagios/etc/hostextinfo.cfg statement to my > nagios.cfg file but nagios did not like the command. > > -----Original Message----- > From: Morris, Patrick [mailto:patrick.morris at hp.com] > Sent: Thursday, July 06, 2006 5:32 PM > To: Pete Shelfo > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios Logo Issues > > > > -----Original Message----- > > From: Pete Shelfo [mailto:PShelfo at embrex.com] > > Sent: Thursday, July 06, 2006 1:35 PM > > To: Morris, Patrick > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Nagios Logo Issues > > > > Thanks for your response. > > > > I have the images loaded in > > /usr/local/nagios/share/images/logos which is the correct location. > > > > I have tried many different types of images and have even > > downloaded the new image pack so that rules out corruption. > > I have about 15 different images reference and none of them work. > > > > I don't have any broken images to check the URL on. All > > hosts have no graphics similar to a fresh install. > > > > The statusmap.cgi does show a graphic - it is just the > > unknown question mark for every host I have. > > > > A fresh install of Nagios looks this way so I believe the > > Nagios or Apache is not even looking at the graphics - I just > > can't tell why. > > Well, that narrows it down considerably. Hadn't figured out 'til now > that you were saying it's not even trying to show your logos. > > If that's the case, then it's definitely a Nagios configuration issue. > > I just went backed and looked at a previous message you sent Jim Perrin > on this subject, and your icon_image and statusmap_image definitions are > definitely not right. Just use the filename, instead of the entire > path. Assuming Nagios was compiled to use the HTML path you think is > correct, that's all you need. > > To use the example you sent: > > Incorrect: > > define hostextinfo{ > host_name servername > icon_image /usr/local/nagios/share/images/logos/win40.gif > statusmap_image /usr/local/nagios/share/images/logos/win40.gd2 > } > > > Correct: > > define hostextinfo{ > host_name servername > icon_image win40.gif > statusmap_image win40.gd2 > } > > > This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. > > -- Patrick Morris Snapfish/HP 303 Second Street Suite 500, South Tower San Francisco, CA 94107 (415) 979-3727 This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From v-alloo at ti.com Fri Jul 7 13:38:57 2006 From: v-alloo at ti.com (Alloo, Vincent) Date: Fri, 7 Jul 2006 13:38:57 +0200 Subject: NRPE, SMF and Solaris 10 Message-ID: <0AB0CB5257FF3C43A27E201CC8AADA8601C79B0A@dnce02.ent.ti.com> Hello, I have a full Nagios infrastructure running fine on multiple OS (Solaris 8, RH). I'm trying now to add another client running Solaris 10 06/06 (Sparc). I have converted my inetd.conf using inetconv utility to create the SMF service for NRPE. Unfortunately, it is not working. Can you help me to correct the problem? SSL enabled. Here is my SMF config: # inetadm | grep nrpe enabled online svc:/network/nrpe/tcp:default # svcs \*nrpe\* STATE STIME FMRI online 13:26:45 svc:/network/nrpe/tcp:default # inetadm -l svc:/network/nrpe/tcp:default SCOPE NAME=VALUE name="nrpe" endpoint_type="stream" proto="tcp" isrpc=FALSE wait=FALSE exec="/apps/nagios/nrpe/nrpe -c /db/sysadmin/nagios/nrpe_debug.cfg -i" arg0="/apps/nagios/nrpe/nrpe" user="nagios" default bind_addr="" default bind_fail_max=-1 default bind_fail_interval=-1 default max_con_rate=-1 default max_copies=-1 default con_rate_offline=-1 default failrate_cnt=40 default failrate_interval=60 default inherit_env=TRUE tcp_trace=FALSE default tcp_wrappers=FALSE and the error message in the syslog after a "check_nrpe -H svrsaseng01 -c uname": Jul 7 13:26:54 svrsaseng01 nrpe[11278]: [ID 306117 daemon.error] Error: NRPE daemon cannot be run as user/group root! Thanks. Vincent Alloo TI France Design Systems Operations Manager Europe, Middle East and Africa IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Fri Jul 7 14:41:13 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Fri, 7 Jul 2006 08:41:13 -0400 Subject: A question about performance Message-ID: Hello all, I have a question about performance. The Active checks shows that nagios is only completing 98.6% of the checks in an hour, but my latency is showing and average of under a minute. Does this mean that 1.4% of my checks, (26 checks in this case), are not being run at all? And what exactly is latency? Is the amount of time it takes for checks to run? Wouldn't this be the same as check execution time? Here is a sample of my performance output: ==================snip====================== Program-Wide Performance Information: Active Checks: Time Frame Checks Completed <= 1 minute: 270 (14.8%) <= 5 minutes: 1722 (94.1%) <= 15 minutes: 1803 (98.6%) <= 1 hour: 1803 (98.6%) Since program start: 1803 (98.6%) Metric Min. Max. Average Check Execution Time: < 1 sec 5 sec 0.116 sec Check Latency: < 1 sec 2 sec 0.063 sec ===================snip======================= Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 altinity.com Fri Jul 7 14:43:07 2006 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 7 Jul 2006 13:43:07 +0100 Subject: Altinity's RSS addon Message-ID: <1320B5FD-21FC-4993-BF42-ADE558B5E367@altinity.com> Hi! Just a quick email to say Altinity have released their RSS implementation, called RSS4NAGIOS. Details - and lessons learnt - here: http://altinity.blogs.com/dotorg/ 2006/07/lessons_in_rss.html Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chet.luther at gmail.com Fri Jul 7 15:16:25 2006 From: chet.luther at gmail.com (Chet Luther) Date: Fri, 7 Jul 2006 09:16:25 -0400 Subject: A question about performance In-Reply-To: References: Message-ID: <366ea3750607070616k5c1ee3a4wbfce7f1796b64d9d@mail.gmail.com> On 7/7/06, Janet Post wrote: > I have a question about performance. The Active checks shows that > nagios is only completing 98.6% of the checks in an hour, but my latency > is showing and average of under a minute. > > Does this mean that 1.4% of my checks, (26 checks in this case), are not > being run at all? > > And what exactly is latency? Is the amount of time it takes for checks > to run? Wouldn't this be the same as check execution time? Yes, it means that 1.4% of your checks aren't running properly if they're supposed to have an interval of less than an hour. Normally this number represents your passive service checks. Check execution time is the duration of the plugin runtime. Latency is how long after the scheduled check time that the check started running. Latency is the critical number to keep low Nagios working properly. -- Chet Luther chet.luther at gmail.com Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chet.luther at gmail.com Fri Jul 7 15:42:47 2006 From: chet.luther at gmail.com (Chet Luther) Date: Fri, 7 Jul 2006 09:42:47 -0400 Subject: Performance Problem on Nagios 2.4 In-Reply-To: References: Message-ID: <366ea3750607070642ided5166wb41aa931920c83ce@mail.gmail.com> On 7/7/06, Ganesh.Borhade at ucb-group.com wrote: > I would like to know how to Improve Nagios 2.4 Performance. We monitor > 586 Host & 2326 Services thru Nagios with Active & Passive configuration > using Solaris OS & good Hardware & Network config( Solaris 9 -- Active, > Solaris 10- Passive ). > > ..snip.. > > MetricMin.Max.Average > Check Execution Time: 0.17 sec9.36 sec0.751 sec > Check Latency:721.43 sec887.09 sec799.914 sec > Percent State Change:0.00%46.51%0.11% Check latency is probably your core symptom. This almost always means that your service checks are being delayed because the system is spending too long on host checks. I recommend using the check_fping plugin for host checks if you aren't already. Here's how I use it to monitor 575 hosts and 2259 services (very similar size to you.) define command{ command_name check-host-alive command_line $USER1$/check_fping -H $HOSTADDRESS$ -n 1 -c 5000.0,100% } define host{ name generic-host check_command check-host-alive max_check_attempts 3 } -- Chet Luther chet.luther at gmail.com Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 altinity.com Fri Jul 7 15:48:33 2006 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 7 Jul 2006 14:48:33 +0100 Subject: Performance Problem on Nagios 2.4 In-Reply-To: <366ea3750607070642ided5166wb41aa931920c83ce@mail.gmail.com> References: <366ea3750607070642ided5166wb41aa931920c83ce@mail.gmail.com> Message-ID: <193CB533-1204-448E-B54B-CB08155AB321@altinity.com> On 7 Jul 2006, at 14:42, Chet Luther wrote: > On 7/7/06, Ganesh.Borhade at ucb-group.com group.com> wrote: >> I would like to know how to Improve Nagios 2.4 Performance. >> We monitor >> 586 Host & 2326 Services thru Nagios with Active & Passive >> configuration >> using Solaris OS & good Hardware & Network config( Solaris 9 -- >> Active, >> Solaris 10- Passive ). >> >> ..snip.. >> >> MetricMin.Max.Average >> Check Execution Time: 0.17 sec9.36 sec0.751 sec >> Check Latency:721.43 sec887.09 sec799.914 sec >> Percent State Change:0.00%46.51%0.11% > > Check latency is probably your core symptom. This almost always means > that your service checks are being delayed because the system is > spending too long on host checks. We've written a bit about this here: http://altinity.blogs.com/dotorg/ 2006/05/immediate_perfo.html It's seems to stumble most people. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PShelfo at embrex.com Fri Jul 7 16:00:59 2006 From: PShelfo at embrex.com (Pete Shelfo) Date: Fri, 7 Jul 2006 10:00:59 -0400 Subject: Nagios Logo Issues Message-ID: I have played around some more. I realized that the cgi.cfg-sample file had no reference of the extended host information. I copied and setup the nagios.cfg-sample and cgi-cfg-sample in my production environment to make sure an old command from the 1.X days is not messing things up. Nagios fired up still without any images. I unremarked the #cfg_file=/usr/local/nagios/etc/hostextinfo.cfg and Nagios would startup. Here is the error: Reading configuration data... Error: Cannot open main configuration file '/usr/local/nagios/etc/nagios/cfg' for reading! ***> The name of the main configuration file looks suspicious... Make sure you are specifying the name of the MAIN configuration file on the command line and not the name of another configuration file. The main configuration file is typically '/usr/local/nagios/etc/nagios.cfg' ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. It is odd that by adding this cfg_file statement the system tries to look for nagios/cfg instead of nagios.cfg. If I remark out the line the system fires up just fine. -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: Thursday, July 06, 2006 7:25 PM To: Pete Shelfo Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Logo Issues Sorry -- misread what you sent. Long day here. What didn't Nagios like? That's a perfectly valid config line. If it didn't like it, either you mistyped it, there are other errors, or you aren't running the version of Nagios you think you are. On Thu, 06 Jul 2006, Pete Shelfo wrote: > Acutally the format you sent me is how I have things setup. I tried > typing in the full path as a test but that did not matter. I sent that > test reference to Jim Perrin as an example of what I had tried. > > I was looking in the sample configuration files and came across a > statement in nagios.cfg-sample file: > > # Extended host/service info definitions are now stored along with > # other object definitions: > #cfg_file=/usr/local/nagios/etc/hostextinfo.cfg > #cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg > > Have the image locations changed in the new versions? I tried add the > cfg_file=/usr/local/nagios/etc/hostextinfo.cfg statement to my > nagios.cfg file but nagios did not like the command. > > -----Original Message----- > From: Morris, Patrick [mailto:patrick.morris at hp.com] > Sent: Thursday, July 06, 2006 5:32 PM > To: Pete Shelfo > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios Logo Issues > > > > -----Original Message----- > > From: Pete Shelfo [mailto:PShelfo at embrex.com] > > Sent: Thursday, July 06, 2006 1:35 PM > > To: Morris, Patrick > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Nagios Logo Issues > > > > Thanks for your response. > > > > I have the images loaded in > > /usr/local/nagios/share/images/logos which is the correct location. > > > > I have tried many different types of images and have even > > downloaded the new image pack so that rules out corruption. > > I have about 15 different images reference and none of them work. > > > > I don't have any broken images to check the URL on. All > > hosts have no graphics similar to a fresh install. > > > > The statusmap.cgi does show a graphic - it is just the > > unknown question mark for every host I have. > > > > A fresh install of Nagios looks this way so I believe the > > Nagios or Apache is not even looking at the graphics - I just > > can't tell why. > > Well, that narrows it down considerably. Hadn't figured out 'til now > that you were saying it's not even trying to show your logos. > > If that's the case, then it's definitely a Nagios configuration issue. > > I just went backed and looked at a previous message you sent Jim Perrin > on this subject, and your icon_image and statusmap_image definitions are > definitely not right. Just use the filename, instead of the entire > path. Assuming Nagios was compiled to use the HTML path you think is > correct, that's all you need. > > To use the example you sent: > > Incorrect: > > define hostextinfo{ > host_name servername > icon_image /usr/local/nagios/share/images/logos/win40.gif > statusmap_image /usr/local/nagios/share/images/logos/win40.gd2 > } > > > Correct: > > define hostextinfo{ > host_name servername > icon_image win40.gif > statusmap_image win40.gd2 > } > > > This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. > > -- Patrick Morris Snapfish/HP 303 Second Street Suite 500, South Tower San Francisco, CA 94107 (415) 979-3727 This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 7 16:30:42 2006 From: marc at ena.com (Marc Powell) Date: Fri, 7 Jul 2006 09:30:42 -0500 Subject: authenticated at the second time Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of REMY Julien > Sent: Friday, July 07, 2006 3:35 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] authenticated at the second time > > Hello, > > > > Nagios functions perfectly. All the configuration is good. I configured > the authentification with htpasswd. > > > > When I want to connect myself to the graphic interface, it asks me to be > authenticated. I put the good login and the good password and it still > requires of me to be authenticated. I put the same login and the same > password and I can to connect myself but I must authenticate myself twice. > > > > Why ? Check your apache error log for problems. At this point in the process it's all Apache. Where did you put .htaccess files? Are they all the same or are they different. The minimum requirement is a single .htaccess file in the sbin directory. If you have significantly different .htaccess files you may be prompted multiple times by apache to authenticate. What are the contents of the .htaccess file? Verify it's identical or mostly identical to the documentation. -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh2780 at yahoo.com Fri Jul 7 16:31:06 2006 From: josh2780 at yahoo.com (Josh) Date: Fri, 7 Jul 2006 07:31:06 -0700 (PDT) Subject: Monitor a Clustered Service Message-ID: <20060707143106.87628.qmail@web30611.mail.mud.yahoo.com> I have 2 radius servers authenticating users for VPNs, wireless, etc. Currently I have Nagios monitoring both servers (host and radiusd process). If either the host or radiusd (on both servers) return a down or warning state I get a page... as usual. Is it possible to configure Nagios to send the page/notification as usual during certain time periods (setup in timeperiods.cfg) when either of the 2 radius servers reports a problem BUT only send a page/notification when both servers report a problem on other time periods (i.e. at night when I'm asleep). I'd imagine this could be done by setting up a duplicate set of host/service watches and have one set alert during the day and the other set alert during the night only when both hosts/radiusd trigger a warning or critical state. But I'd like to make this as simple as possible. I hope this all makes sense. I know you'll let me know where I need to clarify. :) Thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.remy at ohs.asso.fr Fri Jul 7 16:42:58 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Fri, 7 Jul 2006 16:42:58 +0200 Subject: authenticated at the second time Message-ID: Hello, In my log file of Apache, there is only : File does not exist /usr/local/apache/htdocs/favicon.ico. >Where did you put .htaccess files? Are they all the same or are they >different. The minimum requirement is a single .htaccess file in the >sbin directory. If you have significantly different .htaccess files you >may be prompted multiple times by apache to authenticate. I put this configuration part in httpd.conf : ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Alias /nagios /usr/local/nagios/share Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user -----Message d'origine----- De?: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Marc Powell Envoy??: vendredi 7 juillet 2006 16:31 ??: nagios-users at lists.sourceforge.net Objet?: Re: [Nagios-users] authenticated at the second time > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of REMY Julien > Sent: Friday, July 07, 2006 3:35 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] authenticated at the second time > > Hello, > > > > Nagios functions perfectly. All the configuration is good. I configured > the authentification with htpasswd. > > > > When I want to connect myself to the graphic interface, it asks me to be > authenticated. I put the good login and the good password and it still > requires of me to be authenticated. I put the same login and the same > password and I can to connect myself but I must authenticate myself twice. > > > > Why ? Check your apache error log for problems. At this point in the process it's all Apache. Where did you put .htaccess files? Are they all the same or are they different. The minimum requirement is a single .htaccess file in the sbin directory. If you have significantly different .htaccess files you may be prompted multiple times by apache to authenticate. What are the contents of the .htaccess file? Verify it's identical or mostly identical to the documentation. -- Marc Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PShelfo at embrex.com Fri Jul 7 16:58:37 2006 From: PShelfo at embrex.com (Pete Shelfo) Date: Fri, 7 Jul 2006 10:58:37 -0400 Subject: Nagios Logo Issues Message-ID: Reading configuration data... Error: Could not add object property in file '/usr/local/nagios/etc/hostextinfo.cfg' on line 3 3. Line 33 is the cfg_file=/usr/local/nagios/etc/hostextinfo.cfg statement. -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Friday, July 07, 2006 10:58 AM To: Pete Shelfo Subject: RE: [Nagios-users] Nagios Logo Issues > -----Original Message----- > From: Pete Shelfo [mailto:PShelfo at embrex.com] > Sent: Friday, July 07, 2006 7:54 AM > To: Morris, Patrick > Subject: RE: [Nagios-users] Nagios Logo Issues > > Ignore my last response about the error involving nagios/cfg > as compared to nagios.cfg. I was typing something wrong. > However the nagios.cfg file won't let me use the > cfg_file=/usr/local/nagios/etc/hostextinfo.cfg > command. What's the error message? The same one as before about a problem on line 3? What's on line 3? This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Fri Jul 7 17:02:09 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 7 Jul 2006 11:02:09 -0400 Subject: Nagios Logo Issues In-Reply-To: References: Message-ID: > -----Original Message----- > From: Pete Shelfo [mailto:PShelfo at embrex.com] > Sent: Friday, July 07, 2006 7:59 AM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios Logo Issues > > Reading configuration data... > > Error: Could not add object property in file > '/usr/local/nagios/etc/hostextinfo.cfg' on line 3 3. > > Line 33 is the cfg_file=/usr/local/nagios/etc/hostextinfo.cfg > statement. It's telling you the error in in hostextinfo.cfg, not nagios.cfg. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ibrewster at alaska.net Fri Jul 7 17:06:29 2006 From: ibrewster at alaska.net (Israel Brewster) Date: Fri, 7 Jul 2006 07:06:29 -0800 Subject: authenticated at the second time In-Reply-To: References: Message-ID: <68FDD689-E82B-4EB3-99A1-FAF5A613D7D0@alaska.net> What's happening here, if I am understanding things correctly, is that you are authenticating once for the nagios webpage directory, and once for the CGI-BIN directory, therefore two logins. Since both directories use the same password file, the same password works for both logins. At least, that is how I would understand this situation. As to how to change that, I don't know. On Jul 7, 2006, at 6:42 AM, REMY Julien wrote: > Hello, > > In my log file of Apache, there is only : > > File does not exist /usr/local/apache/htdocs/favicon.ico. > >> Where did you put .htaccess files? Are they all the same or are they >> different. The minimum requirement is a single .htaccess file in the >> sbin directory. If you have significantly different .htaccess >> files you >> may be prompted multiple times by apache to authenticate. > > I put this configuration part in httpd.conf : > > ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin > > > Options ExecCGI > AllowOverride None > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > > Alias /nagios /usr/local/nagios/share > > > Options None > AllowOverride None > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > > > > > -----Message d'origine----- > De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios- > users-bounces at lists.sourceforge.net] De la part de Marc Powell > Envoy? : vendredi 7 juillet 2006 16:31 > ? : nagios-users at lists.sourceforge.net > Objet : Re: [Nagios-users] authenticated at the second time > > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- >> users- >> bounces at lists.sourceforge.net] On Behalf Of REMY Julien >> Sent: Friday, July 07, 2006 3:35 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] authenticated at the second time >> >> Hello, >> >> >> >> Nagios functions perfectly. All the configuration is good. I > configured >> the authentification with htpasswd. >> >> >> >> When I want to connect myself to the graphic interface, it asks me to > be >> authenticated. I put the good login and the good password and it >> still >> requires of me to be authenticated. I put the same login and the same >> password and I can to connect myself but I must authenticate myself > twice. >> >> >> >> Why ? > > Check your apache error log for problems. At this point in the process > it's all Apache. > > Where did you put .htaccess files? Are they all the same or are they > different. The minimum requirement is a single .htaccess file in the > sbin directory. If you have significantly different .htaccess files > you > may be prompted multiple times by apache to authenticate. > > What are the contents of the .htaccess file? Verify it's identical or > mostly identical to the documentation. > > -- > Marc > > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Fri Jul 7 17:15:17 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Fri, 07 Jul 2006 16:15:17 +0100 Subject: authenticated at the second time In-Reply-To: <68FDD689-E82B-4EB3-99A1-FAF5A613D7D0@alaska.net> References: <68FDD689-E82B-4EB3-99A1-FAF5A613D7D0@alaska.net> Message-ID: <44AE7A85.3070808@gmail.com> Israel Brewster wrote: > What's happening here, if I am understanding things correctly, is > that you are authenticating once for the nagios webpage directory, > and once for the CGI-BIN directory, therefore two logins. Since both > directories use the same password file, the same password works for > both logins. At least, that is how I would understand this situation. > As to how to change that, I don't know. > > On Jul 7, 2006, at 6:42 AM, REMY Julien wrote: > > >> Hello, >> >> In my log file of Apache, there is only : >> >> File does not exist /usr/local/apache/htdocs/favicon.ico. >> >> >>> Where did you put .htaccess files? Are they all the same or are they >>> different. The minimum requirement is a single .htaccess file in the >>> sbin directory. If you have significantly different .htaccess >>> files you >>> may be prompted multiple times by apache to authenticate. >>> >> I put this configuration part in httpd.conf : >> >> ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin >> >> >> Options ExecCGI >> AllowOverride None >> Order allow,deny >> Allow from all >> AuthName "Nagios Access" >> AuthType Basic >> AuthUserFile /usr/local/nagios/etc/htpasswd.users >> Require valid-user >> >> >> Alias /nagios /usr/local/nagios/share >> >> >> Options None >> AllowOverride None >> Order allow,deny >> Allow from all >> AuthName "Nagios Access" >> AuthType Basic >> AuthUserFile /usr/local/nagios/etc/htpasswd.users >> Require valid-user >> >> >> >> >> >> -----Message d'origine----- >> De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios- >> users-bounces at lists.sourceforge.net] De la part de Marc Powell >> Envoy? : vendredi 7 juillet 2006 16:31 >> ? : nagios-users at lists.sourceforge.net >> Objet : Re: [Nagios-users] authenticated at the second time >> >> >> >> >>> -----Original Message----- >>> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- >>> users- >>> bounces at lists.sourceforge.net] On Behalf Of REMY Julien >>> Sent: Friday, July 07, 2006 3:35 AM >>> To: nagios-users at lists.sourceforge.net >>> Subject: [Nagios-users] authenticated at the second time >>> >>> Hello, >>> >>> >>> >>> Nagios functions perfectly. All the configuration is good. I >>> >> configured >> >>> the authentification with htpasswd. >>> >>> >>> >>> When I want to connect myself to the graphic interface, it asks me to >>> >> be >> >>> authenticated. I put the good login and the good password and it >>> still >>> requires of me to be authenticated. I put the same login and the same >>> password and I can to connect myself but I must authenticate myself >>> >> twice. >> >>> >>> Why ? >>> >> Check your apache error log for problems. At this point in the process >> it's all Apache. >> >> Where did you put .htaccess files? Are they all the same or are they >> different. The minimum requirement is a single .htaccess file in the >> sbin directory. If you have significantly different .htaccess files >> you >> may be prompted multiple times by apache to authenticate. >> >> What are the contents of the .htaccess file? Verify it's identical or >> mostly identical to the documentation. >> >> -- >> Marc >> >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel? >> cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel? >> cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 that's true, then perhaps your browser isn't caching your creds properly and that's why you get asked again? -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PShelfo at embrex.com Fri Jul 7 17:19:59 2006 From: PShelfo at embrex.com (Pete Shelfo) Date: Fri, 7 Jul 2006 11:19:59 -0400 Subject: Nagios Logo Issues Message-ID: Bingo!!!! Thanks for everyones help. To summarize first my hostextinfo.cfg file had a lot of issues which I cleaned up. Second I did not realize that the new version of Nagios moved away from using the xedtemplate_config_file= in cgi.cfg to the cfg_file=/ in nagios.cfg. -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Friday, July 07, 2006 11:02 AM To: Pete Shelfo Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios Logo Issues > -----Original Message----- > From: Pete Shelfo [mailto:PShelfo at embrex.com] > Sent: Friday, July 07, 2006 7:59 AM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios Logo Issues > > Reading configuration data... > > Error: Could not add object property in file > '/usr/local/nagios/etc/hostextinfo.cfg' on line 3 3. > > Line 33 is the cfg_file=/usr/local/nagios/etc/hostextinfo.cfg > statement. It's telling you the error in in hostextinfo.cfg, not nagios.cfg. This e-mail is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Any review, dissemination, copying, printing or other use of this e-mail by persons or entities other than the addressee is prohibited. If you have received this e-mail in error, please contact the sender immediately and delete the material from any computer. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Fri Jul 7 17:21:41 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 7 Jul 2006 11:21:41 -0400 Subject: authenticated at the second time In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of REMY Julien > Sent: Friday, July 07, 2006 7:43 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] authenticated at the second time > In my log file of Apache, there is only : > > File does not exist /usr/local/apache/htdocs/favicon.ico. Sounds like maybe the URL you are browsing to and the one Nagios thinks it's on don't match. If the cdomains are different credential caching won't work. Just a guess. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guy at extragalactic.net Fri Jul 7 18:18:06 2006 From: guy at extragalactic.net (Guy B. Purcell) Date: Fri, 7 Jul 2006 09:18:06 -0700 Subject: authenticated at the second time In-Reply-To: References: Message-ID: <63918F3A-8E83-4F0C-A70F-EFE4B7F99D2B@extragalactic.net> On Jul 7, 2006, at 1:38 AM, REMY Julien wrote: > When I want to connect myself to the graphic interface, it asks me > to be > authenticated. I put the good login and the good password and it still > requires of me to be authenticated. I put the same login and the same > password and I can to connect myself but I must authenticate myself > twice. > > Why ? In all likelihood, this is due to your apache configuration. You're probably accessing Nagios initially via a URL something like http:// short-hostname/nagios/ and are prompted to log in. Then the server changes the URL to something like http://host-FQDN/nagios/ and requires you to log in again. Either access Nagios via the FQDN of your server, or change your apache config to make the short hostname equivalent to the FQDN (I believe a ServerAlias will do the trick, but can't remember for sure). -Guy Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrea.gabellini at telecomitalia.sm Fri Jul 7 18:19:25 2006 From: andrea.gabellini at telecomitalia.sm (Andrea Gabellini) Date: Fri, 07 Jul 2006 18:19:25 +0200 Subject: NRPE, SMF and Solaris 10 In-Reply-To: <0AB0CB5257FF3C43A27E201CC8AADA8601C79B0A@dnce02.ent.ti.com> References: <0AB0CB5257FF3C43A27E201CC8AADA8601C79B0A@dnce02.ent.ti.com> Message-ID: <44AE898D.1080603@telecomitalia.sm> Hello, I'm using nrpe successfully on Solaris 10, but I run it as standalone daemon under smf. Can you submit the cfg file? If you are interested I can supply my manifest and method file. Andrea Alloo, Vincent wrote: > Hello, > > I have a full Nagios infrastructure running fine on multiple OS (Solaris > 8, RH). > > I?m trying now to add another client running Solaris 10 06/06 (Sparc). > > I have converted my inetd.conf using inetconv utility to create the SMF > service for NRPE. > > Unfortunately, it is not working. Can you help me to correct the > problem? SSL enabled. > > > > Here is my SMF config: > > > > # inetadm | grep nrpe > > enabled online svc:/network/nrpe/tcp:default > > > > # svcs \*nrpe\* > > STATE STIME FMRI > > online 13:26:45 svc:/network/nrpe/tcp:default > > > > # inetadm -l svc:/network/nrpe/tcp:default > > SCOPE NAME=VALUE > > name="nrpe" > > endpoint_type="stream" > > proto="tcp" > > isrpc=FALSE > > wait=FALSE > > exec="/apps/nagios/nrpe/nrpe -c > /db/sysadmin/nagios/nrpe_debug.cfg -i" > > arg0="/apps/nagios/nrpe/nrpe" > > user="nagios" > > default bind_addr="" > > default bind_fail_max=-1 > > default bind_fail_interval=-1 > > default max_con_rate=-1 > > default max_copies=-1 > > default con_rate_offline=-1 > > default failrate_cnt=40 > > default failrate_interval=60 > > default inherit_env=TRUE > > tcp_trace=FALSE > > default tcp_wrappers=FALSE > > > > and the error message in the syslog after a ?check_nrpe -H svrsaseng01 > -c uname?: > > > > Jul 7 13:26:54 svrsaseng01 nrpe[11278]: [ID 306117 daemon.error] Error: > NRPE daemon cannot be run as user/group root! > > > > Thanks. > > > > **Vincent Alloo** > > TI France Design Systems Operations Manager > > Europe, Middle East and Africa IT Services > > Texas Instruments France > > > > E-Mail: v-alloo at ti.com > > Phone: +33 4 93 22 26 97 > > Mobile: +33 6 82 13 00 80 > > > > > ------------------------------------------------------------------------ > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 smoke after sex, you're doing it too fast --------------------------------------- Ing. Andrea Gabellini Email: andrea.gabellini at telecomitalia.sm Tel: 0549 886111 (Italy) Tel. +378 0549 886111 (International) Telecom Italia San Marino S.p.A. Strada degli Angariari, 3 47891 Rovereta Repubblic of San Marino http://www.omniway.sm http://www.telecomitalia.sm Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh2780 at yahoo.com Fri Jul 7 19:43:25 2006 From: josh2780 at yahoo.com (Josh) Date: Fri, 7 Jul 2006 10:43:25 -0700 (PDT) Subject: Monitor a Clustered Service In-Reply-To: <20060707143106.87628.qmail@web30611.mail.mud.yahoo.com> References: <20060707143106.87628.qmail@web30611.mail.mud.yahoo.com> Message-ID: <20060707174325.74427.qmail@web30611.mail.mud.yahoo.com> Scratch that. I found the answer in the Nagios documentation and got it working. --- Josh wrote: > I have 2 radius servers authenticating users for > VPNs, > wireless, etc. Currently I have Nagios monitoring > both > servers (host and radiusd process). If either the > host > or radiusd (on both servers) return a down or > warning > state I get a page... as usual. > > Is it possible to configure Nagios to send the > page/notification as usual during certain time > periods > (setup in timeperiods.cfg) when either of the 2 > radius > servers reports a problem BUT only send a > page/notification when both servers report a problem > on other time periods (i.e. at night when I'm > asleep). > > I'd imagine this could be done by setting up a > duplicate set of host/service watches and have one > set > alert during the day and the other set alert during > the night only when both hosts/radiusd trigger a > warning or critical state. But I'd like to make this > as simple as possible. > > I hope this all makes sense. I know you'll let me > know > where I need to clarify. :) > > Thanks. > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam > protection around > http://mail.yahoo.com > > Using Tomcat but need to do more? Need to support > web services, security? > Get stuff done quickly with pre-integrated > technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 > based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave at umiacs.umd.edu Fri Jul 7 20:30:05 2006 From: dave at umiacs.umd.edu (Dave Stern) Date: Fri, 7 Jul 2006 14:30:05 -0400 (EDT) Subject: nagios speed to refresh Message-ID: I have a nagios 2.3.1 install that is acting laggy. Updates can be as old as a half hour for the ~2200 services I monitor. I'm currently using active and passive checks, generally with 10 minute check intervals altho some have intervals of 30 minutes so as not to kill these hosts. I intend to reduce the check interval and am considering changing inter_check_delay_method from smart to something else. By default, inter_check_delay_method=s is commented out of nagios.cfg and just uncommenting makes it complain when I run nagios -v saying UNKNOWN VARIABLE so I can't even change it to "n" or "d" or some small number of seconds. I'm guessing the config I have may need to be converted(?) I'm looking to get information no older than 10 minute (assuming the nagios server can handle it) Has anyone had any experience with this? Here are some values of interest: command_check_interval=-1 freshness_check_interval=60 status_update_interval=30 % nagios -s nagios.cfg ... HOST SCHEDULING INFORMATION --------------------------- Total hosts: 700 Total scheduled hosts: 0 Host inter-check delay method: SMART Average host check interval: 0.00 sec Host inter-check delay: 0.00 sec Max host check spread: 30 min First scheduled check: N/A Last scheduled check: N/A SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 2244 Total scheduled services: 2244 Service inter-check delay method: SMART Average service check interval: 1782.35 sec Inter-check delay: 0.79 sec Interleave factor method: SMART Average services per host: 3.21 Service interleave factor: 4 Max service check spread: 30 min ... CHECK PROCESSING INFORMATION ---------------------------- Service check reaper interval: 10 sec Max concurrent service checks: Unlimited TIA =-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-= David Stern University of Maryland Institute for Advanced Computer Studies Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevorwarren at gmail.com Fri Jul 7 20:48:33 2006 From: trevorwarren at gmail.com (Trevor Warren) Date: Sat, 8 Jul 2006 00:18:33 +0530 Subject: Fwd: remote host checks for Microsoft and *nix In-Reply-To: <559e3cb60607050749v3fe62c47o56f144eef52139c2@mail.gmail.com> References: <559e3cb60607050749v3fe62c47o56f144eef52139c2@mail.gmail.com> Message-ID: <559e3cb60607071148j133a77b1k4d75e59fa4f1c357@mail.gmail.com> Guys/Gals, Had a small lil query. Have seen couple of remote check plugins for both MS and *nix. Wanted to know the most mature and usable plugin project for implementation in our network from both and MS and *nix perspective. Is anyone using this in production...and what do you think about the functionality of the same. Any suggestions would be appreciated. Trevor -- ___________________________________ ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \____________________________________/ _|_| An eye for an eye will soon turn the world blind - MKG "You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries. Only in absolute stillness, beyond self, can you know me as I am, and then but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon " -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Fri Jul 7 21:03:00 2006 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 7 Jul 2006 15:03:00 -0400 Subject: Altinity's RSS addon In-Reply-To: <1320B5FD-21FC-4993-BF42-ADE558B5E367@altinity.com> References: <1320B5FD-21FC-4993-BF42-ADE558B5E367@altinity.com> Message-ID: <302ce8b50607071202h46b453b9ue76ebd11946a612a@mail.gmail.com> On 7/7/06, Ton Voon wrote: > > Hi! > > Just a quick email to say Altinity have released their RSS implementation, > called RSS4NAGIOS. Nice work! Very useful I think A patch and a spec file are attached so that the rpm-enabled among us can use this as well. Ton, would you mind this being submitted to Dag's rpm repository to keep the rest of the nagios packages company? -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA -------------- next part -------------- A non-text attachment was scrubbed... Name: rpm-compat.patch Type: text/x-patch Size: 2892 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: rss4nagios.spec Type: application/octet-stream Size: 1303 bytes Desc: not available URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From meo at intrinsity.com Fri Jul 7 21:13:50 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Fri, 7 Jul 2006 14:13:50 -0500 (CDT) Subject: surge in "Service Check Timed Out" messages Message-ID: <20060707191350.6A72F38029@chuys.eng.intrinsity.com> I've been running nagios 1.2 for some time with no problems. It's on fairly lightly loaded system. In the last month or so, I've started seeing an odd problem. Once or twice a day, anywhere from 10 to 30 chekcs will suddenly have "Servce Check Timed Out" problems, resulting in a bunch of critical flags. These will hang around until I either restart or reload nagios; then everything goes back to green. It's a consistent fix. But it's rather annoying. Eventually the conditions will clear if left alone, but it can take 10 - 60 minutes. They tend to clear in batches. If, for example, I suddenly have 29 critical messages, 10-15 minutes later I suddenly have 19. A couple of minutes later I'll have 4, and a couple of minutes later, back to 0. Some of the monitored systems are swamped, but some are just under a normal, medium load. I *believe* all the timeouts are related to nagios-statd checks, but I can't swear to that. Certainly most are. And, no, we haven't changed the nagios-statd version lately. We haven't expanded the scope of what's monitored, we've actually reduced system and service count in nagios as we've upgraded to fewer, faster systems in our compute farm and infrastructure. The network isn't any busier than it was. I'm not seeing any evidence of NIC problems. Even though the nagios server is lightly loaded, I have tried backing off the timings. No change. The results do show up in the status.log file; this isn't a GUI issue. Anyone know what's going on? I searched the archives and found nothing useful. (The sourceforge search interface is really annoying; is there a way to get results in threaded view, instead of every post in a thread having its own link in the results?) Thanks, Miles Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Jul 7 21:59:52 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 7 Jul 2006 21:59:52 +0200 (CEST) Subject: authenticated at the second time In-Reply-To: References: Message-ID: On Fri, 7 Jul 2006, REMY Julien wrote: > Nagios functions perfectly. All the configuration is good. I configured > the authentification with htpasswd. > > When I want to connect myself to the graphic interface, it asks me to be > authenticated. I put the good login and the good password and it still > requires of me to be authenticated. I put the same login and the same > password and I can to connect myself but I must authenticate myself > twice. I think it is because you do everything twice. Like this message. But you need to read your webserver logs to learn what is going on. It is rather hard to tell what goes on if you are the one with access to the logs. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Fri Jul 7 22:08:56 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Fri, 07 Jul 2006 17:08:56 -0300 Subject: event handler to change plugin output? Message-ID: <1152302936.3192.7.camel@localhost> Hi, When using negate to invert the check_http command that searches for some ERROR string at a web page, the output of the command is something like 'HTTP OK ...' Is there any way to change plugin output so that it reflects what really is happening in this kind of check? TIA, Marcel. AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 altinity.com Fri Jul 7 23:12:15 2006 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 7 Jul 2006 22:12:15 +0100 Subject: Altinity's RSS addon In-Reply-To: <302ce8b50607071202h46b453b9ue76ebd11946a612a@mail.gmail.com> References: <1320B5FD-21FC-4993-BF42-ADE558B5E367@altinity.com> <302ce8b50607071202h46b453b9ue76ebd11946a612a@mail.gmail.com> Message-ID: <0EA1BE4E-421C-4F82-A2F5-155BEE127D23@altinity.com> On 7 Jul 2006, at 20:03, Jim Perrin wrote: > On 7/7/06, Ton Voon wrote: >> >> Hi! >> >> Just a quick email to say Altinity have released their RSS >> implementation, >> called RSS4NAGIOS. > > Nice work! Very useful I think > > A patch and a spec file are attached so that the rpm-enabled among us > can use this as well. > > Ton, would you mind this being submitted to Dag's rpm repository to > keep the rest of the nagios packages company? I don't mind at all - this is released into the wild. Is there anything I need to do at my end? Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Fri Jul 7 23:30:02 2006 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 7 Jul 2006 17:30:02 -0400 Subject: Altinity's RSS addon In-Reply-To: <0EA1BE4E-421C-4F82-A2F5-155BEE127D23@altinity.com> References: <1320B5FD-21FC-4993-BF42-ADE558B5E367@altinity.com> <302ce8b50607071202h46b453b9ue76ebd11946a612a@mail.gmail.com> <0EA1BE4E-421C-4F82-A2F5-155BEE127D23@altinity.com> Message-ID: <302ce8b50607071430n6f2d185ag7db82cff7014fdd8@mail.gmail.com> > I don't mind at all - this is released into the wild. > > Is there anything I need to do at my end? Nope, the patch and the spec take care of it, and I'll email them to Dag. -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott at gps.caltech.edu Sat Jul 8 02:06:19 2006 From: scott at gps.caltech.edu (Scott Dungan) Date: Fri, 07 Jul 2006 17:06:19 -0700 Subject: check_rpc returns Unknown "Program -H is not defined" Message-ID: <44AEF6FB.7080205@gps.caltech.edu> I am having a problem with the check_rpc command and I am hoping someone can point out where I am going wrong. when I run the following from the terminal: sh-3.00$ ./check_rpc -H 131.215.64.60 nfs -c 4 I get this: OK: RPC program nfs version 4 udp running I have created the following in checkcommands.cfg: # 'check_rpc' command definition define command{ command_name check_rpc command_line $USER1$/check_rpc -H $HOSTADDRESS$ nfs -c 4 } I have created the following in services.cfg: define service{ host_name redondo service_description NFS is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 contact_groups gps-test notification_interval 720 notification_period 24x7 notification_options u,c,r check_command check_rpc } When Nagios executes the check command for the service on the host it returns an "UNKNOWN" status with "Program -H is not defined" in the status information column. Removing the -H in the checkcommands.cfg causes a syntax error as is expected. I must be missing something very basic here or am I loosing my mind at 5:06pm on a Friday once again? -- Scott A Dungan Systems Administrator California Institute of Technology Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscribe at aehome.net Sat Jul 8 04:19:27 2006 From: subscribe at aehome.net (subscribe) Date: Fri, 7 Jul 2006 21:19:27 -0500 Subject: authenticated at the second time In-Reply-To: References: Message-ID: <002401c6a235$0247e3b0$0208090a@a1> i ran into this once. I was requiring authentication to apache. If you browsed to the page it wanted authentication for apache and then again for nagios. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of REMY Julien Sent: Friday, July 07, 2006 03:39 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] authenticated at the second time Hello, Nagios functions perfectly. All the configuration is good. I configured the authentification with htpasswd. When I want to connect myself to the graphic interface, it asks me to be authenticated. I put the good login and the good password and it still requires of me to be authenticated. I put the same login and the same password and I can to connect myself but I must authenticate myself twice. Why ? Thank you Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Jul 8 09:31:39 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 8 Jul 2006 09:31:39 +0200 (CEST) Subject: Altinity's RSS addon In-Reply-To: <302ce8b50607071430n6f2d185ag7db82cff7014fdd8@mail.gmail.com> References: <1320B5FD-21FC-4993-BF42-ADE558B5E367@altinity.com> <302ce8b50607071202h46b453b9ue76ebd11946a612a@mail.gmail.com> <0EA1BE4E-421C-4F82-A2F5-155BEE127D23@altinity.com> <302ce8b50607071430n6f2d185ag7db82cff7014fdd8@mail.gmail.com> Message-ID: On Fri, 7 Jul 2006, Jim Perrin wrote: > > I don't mind at all - this is released into the wild. > > > > Is there anything I need to do at my end? > > Nope, the patch and the spec take care of it, and I'll email them to Dag. Jim, Ton, I think DAG would like to keep the path as short as possible. So if Ton can integrate it into the sources one could use rpmbuild to build directly from the source tgz. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Jul 8 09:35:37 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 8 Jul 2006 09:35:37 +0200 (CEST) Subject: check_rpc returns Unknown "Program -H is not defined" In-Reply-To: <44AEF6FB.7080205@gps.caltech.edu> References: <44AEF6FB.7080205@gps.caltech.edu> Message-ID: On Fri, 7 Jul 2006, Scott Dungan wrote: > I am having a problem with the check_rpc command and I am hoping > someone can point out where I am going wrong. > > when I run the following from the terminal: > > sh-3.00$ ./check_rpc -H 131.215.64.60 nfs -c 4 > > I get this: > > OK: RPC program nfs version 4 udp running The important question is: Who are you at this point? user 'scott', user 'root' or user 'nagios'? > I have created the following in checkcommands.cfg: > > # 'check_rpc' command definition > define command{ > command_name check_rpc > command_line $USER1$/check_rpc -H $HOSTADDRESS$ nfs -c 4 > } Here you run with a full path and you did not do so in the manual test. So your current work directory is also a relevant factor. Hugo. PS: Check the wastepaperbin ;-) -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Sat Jul 8 15:00:02 2006 From: jperrin at gmail.com (Jim Perrin) Date: Sat, 8 Jul 2006 09:00:02 -0400 Subject: Altinity's RSS addon In-Reply-To: References: <1320B5FD-21FC-4993-BF42-ADE558B5E367@altinity.com> <302ce8b50607071202h46b453b9ue76ebd11946a612a@mail.gmail.com> <0EA1BE4E-421C-4F82-A2F5-155BEE127D23@altinity.com> <302ce8b50607071430n6f2d185ag7db82cff7014fdd8@mail.gmail.com> Message-ID: <302ce8b50607080600i52a77133ud9b4d37befaae4c3@mail.gmail.com> > I think DAG would like to keep the path as short as possible. So if Ton > can integrate it into the sources one could use rpmbuild to build > directly from the source tgz. I was trying avoid saying "Hey thanks, now do more work!" to Ton. :-P The only thing my patch does is change the paths his perl is expecting, and README to match the new paths in the distributed rpms. Applying my patch would break it for non-RPM users, so having it both ways would require configure script or makefile of some sort. Would you be willing to make that chunk of it? -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yjamous at gmail.com Sat Jul 8 17:10:46 2006 From: yjamous at gmail.com (Yousef Jamous) Date: Sat, 8 Jul 2006 17:10:46 +0200 (CEST) Subject: Can't install Nagios 2.4 Message-ID: <20060708151046.9B5A54F4045@desire.netways.de> Hi list Hi list I'm trying to install NAGIOS 2.4 on AIX 5.3 64bit kernel. My gcc version is 3.3.2 The output of gcc -v is: Reading specs from /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2 /specs Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bi n/ld --disable-nls --enable-languages=c,c++ --prefix=/opt/freeware --enable-threads --enable-version-specific-runtime-libs --host=powerpc -ibm-aix5.3.0.0 Thread model: aix gcc version 3.3.2 I'm trying to configure nagios using the following command: ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios Configure commands goes smooth without problems, but when I do "make install" It goes fine for a while, then I get the following problem: Target "all" is up to date. Target "cgis" is up to date. cd ./html && make Target "all" is up to date. Target "html" is up to date. cd ./module && make gcc -g -O2 -DHAVE_CONFIG_H -o helloworld.o helloworld.c -G -bM:SRE -bnoentry -bexpall gcc: `-b' must come at the start of the command line make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. What might be the problem? It worth mentioning that I already installed Nagios 1.4, but I want to upgrade to 2.4!! Anyone can help me please? Many thanks in Advance - Yousef Jamous (yjamous) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html - Yousef Jamous (yjamous) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott at gps.caltech.edu Sat Jul 8 18:08:21 2006 From: scott at gps.caltech.edu (Scott Dungan) Date: Sat, 08 Jul 2006 09:08:21 -0700 Subject: check_rpc returns Unknown "Program -H is not defined" In-Reply-To: References: <44AEF6FB.7080205@gps.caltech.edu> Message-ID: <44AFD875.9060202@gps.caltech.edu> Hugo van der Kooij wrote: >On Fri, 7 Jul 2006, Scott Dungan wrote: > > > >>I am having a problem with the check_rpc command and I am hoping >>someone can point out where I am going wrong. >> >>when I run the following from the terminal: >> >> sh-3.00$ ./check_rpc -H 131.215.64.60 nfs -c 4 >> >>I get this: >> >> OK: RPC program nfs version 4 udp running >> >> > >The important question is: Who are you at this point? user 'scott', user >'root' or user 'nagios'? > > > I am running the command line test as the user nagios just like all of the other check command tests. >>I have created the following in checkcommands.cfg: >> >> # 'check_rpc' command definition >> define command{ >> command_name check_rpc >> command_line $USER1$/check_rpc -H $HOSTADDRESS$ nfs -c 4 >> } >> >> > >Here you run with a full path and you did not do so in the manual test. So >your current work directory is also a relevant factor. > > > The working directory for "check_rpc" is the same as all of the other check commands. The error would indicate that the command is actually executing, yet it somehow does not know what to do with the -H switch when run by nagios per the services.cfg configuration. Thanks, Scott. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew.libby at gmail.com Sat Jul 8 18:39:26 2006 From: andrew.libby at gmail.com (Andrew Libby) Date: Sat, 08 Jul 2006 12:39:26 -0400 Subject: Fw: ===NRPE: Unable to read output In-Reply-To: <0F1A5F3993566D4883C596CB56E59B9A05F80EDF@mspmail02.int.capella.lan> References: <0F1A5F3993566D4883C596CB56E59B9A05F80EDF@mspmail02.int.capella.lan> Message-ID: <44AFDFBE.3000501@gmail.com> Greetings folks. I just had this issue while updating some Fedora Core 4 machines. The issue was oriented in what I think are changes to the plugin packaging approach. There used to be one RPM for most of the common plugins. This has changed to individual RPMs for each plugin, with an all plugin (nagios-plugins-all) to pull them all together with dependencies. When I updated nagios-plugins, the actual plugin binaries disappeared. Until I figured out that the plugins were missing and that the nagios-plugin-xxx or nagios-plugins-all needed to be installed I was having the same issue as describe here. Hope this helps. Andy Pavleck, Jeremy D. wrote: > We'll also forward this to the list. Sorry for top posting, Blackberry > and all. > > And what do you get for check_nrpe --version? > I'm not positive right now, but I believe if you use an older > check_nrpe with a newer nrpe (or vice versa) it won't work, something > about the ssl-enabled nrpe and the older check not expecting it. > Also try turning on debug in your nrpe.cfg and running a few checks, > then looking at the output in the log. Also, I'm not absolutely > positive, but I believe there's a check_nrpe --verbose, which may show > more of what is returned. > > Oh, and search the docs for that error, should be more info there. > > Usually with (No Output) errors it tends to be permissions, paths, or > commands. > > JDP > > -------------------------- > Jeremy D. Pavleck via BlackBerry > Network Engineer - Systems Management > IT Network and Infrastructure Dept. > Capella Education Company > DIRECT: (612) 977 - 5881 > > > -----Original Message----- > From: Joe McCaughan > To: Pavleck, Jeremy D. > Sent: Thu Jun 29 16:42:24 2006 > Subject: Re: [Nagios-users] ===NRPE: Unable to read output > > Hi Jeremy, > > From the client: > > [nagios at 83556-dev etc]$ /usr/local/nagios/libexec/check_procs -w 150 > -c 200 > PROCS OK: 125 processes > [nagios at 83556-dev etc]$ pwd > /usr/local/nagios/etc > [nagios at 83556-dev etc]$ ls > backup nrpe.cfg nrpe.cfg.orig > > from the nagios host: > [nagios at 83555-staging libexec]$ /usr/local/nagios/libexec/check_procs > -w 150 -c 200 > PROCS[nagios at 83555-staging libexec]$ > /usr/local/nagios/libexec/check_procs -w 150 -c 200 > PROCS WARNING: 190 processes > WARNING: 190 processes > > Version Info: > nrpe-2.5.1 > > Nagios - not sure > > --Joe McCaughan > > > > "Pavleck, Jeremy D." wrote: > > ________________________________ > > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Joe > McCaughan > Sent: Thursday, June 29, 2006 3:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] ===NRPE: Unable to read output > > > Hi Folks, > > I am setting up Nagios with my first client. This is the output > I get when I execute the > command from the command line from the Nagios host is > > "NRPE: Unable to read output " > > It also shows up in the nagios.log. > > The command line exec is: > > ./check_nrpe -H 83556-dev.slc.com -c check_total_procs > > I have nrpe running on the client: > > nagios 25998 1 0 Apr10 ? 00:00:05 > /usr/local/nagios/libexec/nrpe -c /usr/local/nagios/nrpe.cfg -d > > I am running xinetd and the service definitions on the client > are in /usr/local/nagios/etc/nrpe.cfg: > > command[check_users]=/usr/local/nagios/libexec/check_users -w 5 > -c 10 > command[check_load]=/usr/local/nagios/libexec/check_load -w > 15,10,5 -c 30,25,20 > command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 > -c 10 -p /dev/hda3 > command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 > -c 10 -p /dev/hda2 > > > command[check_zombie_procs]=/usr/local/nagios/libexec/check_procs -w 5 > -c 10 -s Z > command[check_total_procs]=/usr/local/nagios/libexec/check_procs > -w 150 -c 200 > > Why am I getting this error? > > Thanks, --Joe McCaughan > > > > Joe, > This might be a dumb question, but does the directory > /usr/local/nagios/libexec/ exist on the client > (83556-dev.slc.com)? > Can you run /usr/local/nagios/libexec/check_procs -w 150 -c > 200 as the > NAGIOS user and see a return? > What version nrpe & check_nrpe? > > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to > /dev/null > > > > ________________________________ > > Sneak preview the all-new Yahoo.com > . > It's not radically different. Just radically better. > >------------------------------------------------------------------------ > >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >------------------------------------------------------------------------ > >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > -- Andrew Libby alibby at philadelphiariders.com http://philadelphiariders.com/ Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jdaily at apparatus.net Sat Jul 8 19:35:09 2006 From: jdaily at apparatus.net (John Daily) Date: Sat, 8 Jul 2006 13:35:09 -0400 Subject: check_rpc returns Unknown "Program -H is notdefined" References: <44AEF6FB.7080205@gps.caltech.edu> <44AFD875.9060202@gps.caltech.edu> Message-ID: If you look at the Perl code (at least for the latest version of the plugin), that error message can only result when the code thinks that -H is being passed as an argument (not a switch), or as the argument to -C. I tried various broken invocations to reproduce your problem, but I couldn't. Are you using the latest version of the plugin? My version: check_rpc (nagios-plugins 1.4.2) 1.8 It's extremely frustrating that there's no simple way to view the exact command being invoked by nagios. It would seem likely that there's a spurious character or something else weird about the way it's being invoked. -John -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net on behalf of Scott Dungan Sent: Sat 7/8/2006 12:08 PM To: Hugo van der Kooij Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_rpc returns Unknown "Program -H is notdefined" Hugo van der Kooij wrote: >On Fri, 7 Jul 2006, Scott Dungan wrote: > > > >>I am having a problem with the check_rpc command and I am hoping >>someone can point out where I am going wrong. >> >>when I run the following from the terminal: >> >> sh-3.00$ ./check_rpc -H 131.215.64.60 nfs -c 4 >> >>I get this: >> >> OK: RPC program nfs version 4 udp running >> >> > >The important question is: Who are you at this point? user 'scott', user >'root' or user 'nagios'? > > > I am running the command line test as the user nagios just like all of the other check command tests. >>I have created the following in checkcommands.cfg: >> >> # 'check_rpc' command definition >> define command{ >> command_name check_rpc >> command_line $USER1$/check_rpc -H $HOSTADDRESS$ nfs -c 4 >> } >> >> > >Here you run with a full path and you did not do so in the manual test. So >your current work directory is also a relevant factor. > > > The working directory for "check_rpc" is the same as all of the other check commands. The error would indicate that the command is actually executing, yet it somehow does not know what to do with the -H switch when run by nagios per the services.cfg configuration. Thanks, Scott. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yjamous at gmail.com Sat Jul 8 22:08:21 2006 From: yjamous at gmail.com (Yousef Jamous) Date: Sat, 8 Jul 2006 22:08:21 +0200 (CEST) Subject: Configuring two notifications Message-ID: <20060708200821.5188E4F4045@desire.netways.de> Hi list I'm using Nagios 1.4 Is it possible to configure two types of notifications for a contact in contacts.cfg? For example I want to send notification for the contact on his email and SMS!! Many thanks. - Yousef Jamous (yjamous) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Sat Jul 8 22:10:50 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 8 Jul 2006 16:10:50 -0400 Subject: Configuring two notifications In-Reply-To: <20060708200821.5188E4F4045@desire.netways.de> References: <20060708200821.5188E4F4045@desire.netways.de> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Yousef Jamous > Sent: Saturday, July 08, 2006 1:08 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Configuring two notifications > > Hi list > > I'm using Nagios 1.4 > > Is it possible to configure two types of notifications for a > contact in contacts.cfg? > > For example I want to send notification for the contact on > his email and SMS!! Sure. If you're using the default notification commands or something like them, just use two addresses separated by a comma. Or set up two contacts. Or set up both contact_email and contact_pager on a single contact. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Sat Jul 8 22:17:54 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 8 Jul 2006 16:17:54 -0400 Subject: check_rpc returns Unknown "Program -H isnotdefined" In-Reply-To: References: Message-ID: > It's extremely frustrating that there's no simple way > to view the exact command being invoked by nagios. It > would seem likely that there's a spurious character or > something else weird about the way it's being invoked. In cases like this, I'll usually replace the plugin temporarily with a simple shell script that logs what's passed to it: #!/bin/sh echo `date` $0 $@ >> /tmp/nagios_plugin.log ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott at gps.caltech.edu Sat Jul 8 22:44:32 2006 From: scott at gps.caltech.edu (Scott Dungan) Date: Sat, 08 Jul 2006 13:44:32 -0700 Subject: check_rpc returns Unknown "Program -H is not defined" In-Reply-To: References: Message-ID: <44B01930.1060305@gps.caltech.edu> Morris, Patrick wrote: >>In cases like this, I'll usually replace the plugin temporarily with a >>simple shell script that logs what's passed to it: >> >>#!/bin/sh >>echo `date` $0 $@ >> /tmp/nagios_plugin.log >> >> Thanks Patrick. I'll give that a try and post my results. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott at gps.caltech.edu Sat Jul 8 22:55:04 2006 From: scott at gps.caltech.edu (Scott Dungan) Date: Sat, 08 Jul 2006 13:55:04 -0700 Subject: check_rpc returns Unknown "Program -H is notdefined" In-Reply-To: References: <44AEF6FB.7080205@gps.caltech.edu> <44AFD875.9060202@gps.caltech.edu> Message-ID: <44B01BA8.9080201@gps.caltech.edu> John Daily wrote: > If you look at the Perl code (at least for the latest version of the > plugin), that error message can only result when the code thinks that > -H is being passed as an argument (not a switch), or as the argument > to -C. > > I tried various broken invocations to reproduce your problem, but I > couldn't. Are you using the latest version of the plugin? > > My version: check_rpc (nagios-plugins 1.4.2) 1.8 > > It's extremely frustrating that there's no simple way to view the > exact command being invoked by nagios. It would seem likely that > there's a spurious character or something else weird about the way > it's being invoked. > > -John > The version is 1.8: # check_rpc plugin for nagios # # usage: # check_rpc host service # # Check if an rpc serice is registered and running # using rpcinfo - $proto $host $prognum 2>&1 |"; # # Use these hosts.cfg entries as examples # # command[check_nfs]=/some/path/libexec/check_rpc $HOSTADDRESS$ nfs # service[check_nfs]=NFS;24x7;3;5;5;unix-admin;60;24x7;1;1;1;;check_rpc # # initial version: 3 May 2000 by Truongchinh Nguyen and Karl DeBisschop # Modified May 2002 Subhendu Ghosh - support for ePN and patches # current status: $Revision: 1.8 Curiously, if you look at the examples that the author includes for the checkcommand, you'll see that he does not include the -H for $HOSTADDRESS$. I have tried this but I get a usage error: Usage: check_rpc -H host -C rpc_command [-p port] [-c program_version] [-u|-t] [-v] check_rpc [-h | --help] check_rpc [-V | --version] Perhaps I'll try replacing the plugin, but by my logic that should not make a difference. -Scott ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Sun Jul 9 16:59:44 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Sun, 9 Jul 2006 10:59:44 -0400 Subject: failover and redundancy Message-ID: Hello, I am looking for a nice failover and redundancy plan? I am putting together a plan for a distributed monitoring environment, and the central servers need to be redundant. All the nagios servers will be running on Redhat EL4. I would like to poll the community and see what has worked best for everyone else out there. What are you using for failover/redundancy? What are the limitations of your solution? If you had it to do over again, what would you do? Thank you to everyone in advance for taking the time to answer this. I really do appreciate all the input and advice you can offer. Thanks, Janet ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Sun Jul 9 17:32:24 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Sun, 9 Jul 2006 17:32:24 +0200 Subject: failover and redundancy In-Reply-To: References: Message-ID: <80DBFF26-47B6-4A45-99A9-59E6D151F3C4@kilala.nl> I'd suggest you browse the recent mailing list archives. We've discussed this matter over the course of the past two to three weeks.. ? On 9 Jul, 2006, at 16:59, Janet Post wrote: > Hello, > > I am looking for a nice failover and redundancy plan? I am putting > together a plan for a distributed monitoring environment, and the > central servers need to be redundant. All the nagios servers will be > running on Redhat EL4. I would like to poll the community and see > what > has worked best for everyone else out there. > > What are you using for failover/redundancy? What are the > limitations of > your solution? If you had it to do over again, what would you do? > > Thank you to everyone in advance for taking the time to answer > this. I > really do appreciate all the input and advice you can offer. > > Thanks, > Janet > > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Sun Jul 9 18:00:39 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sun, 9 Jul 2006 12:00:39 -0400 Subject: failover and redundancy In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Janet Post > Sent: Sunday, July 09, 2006 8:00 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] failover and redundancy > > Hello, > > I am looking for a nice failover and redundancy plan? I am > putting together a plan for a distributed monitoring > environment, and the central servers need to be redundant. > All the nagios servers will be running on Redhat EL4. I > would like to poll the community and see what has worked best > for everyone else out there. > > What are you using for failover/redundancy? What are the > limitations of your solution? If you had it to do over > again, what would you do? > > Thank you to everyone in advance for taking the time to > answer this. I really do appreciate all the input and advice > you can offer. The methods described in the docs work well for me: http://nagios.sourceforge.net/docs/2_0/redundancy.html In my more complicated setups, I use both; redundant monitoring on slave servers, and failover monitoring on the masters, for the most part. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yjamous at gmail.com Sun Jul 9 23:34:29 2006 From: yjamous at gmail.com (Yousef Jamous) Date: Sun, 9 Jul 2006 23:34:29 +0200 (CEST) Subject: setting coordinates in extended info Message-ID: <20060709213429.C91814F4045@desire.netways.de> Hi everyone I'm trying to create status map as per some coordinates, but I can not see any differences!! The way I'm configuring the coordinates is as follows: define hostextinfo{ host_name srv1 notes Server 1 notes_url http://nagios:9081/hostinfo.pl?host=prdwps1 icon_image windows_server.jpg icon_image_alt Windows2003 vrml_image windows_server.png statusmap_image windows_server.gd2 2d_coords 50,110 # 3d_coords 100.0,50.0,75.0 } define hostextinfo{ host_name server2 notes Server 2 notes_url http://nagios:9081/hostinfo.pl?host=Server2 icon_image windows_server.jpg icon_image_alt Windows2003 vrml_image windows_server.png statusmap_image windows_server.gd2 2d_coords 75,110 # 3d_coords 100.0,50.0,75.0 } define hostextinfo{ host_name server3 notes Production WebSeal 1 notes_url http://nagios:9081/hostinfo.pl?host=server3 icon_image windows_server.jpg icon_image_alt Windows2003 vrml_image windows_server.png statusmap_image windows_server.gd2 2d_coords 25,70 3d_coords 100.0,50.0,75.0 } Also, How can I set the coordinates for Nagios Server? Many thanks - Yousef Jamous (yjamous) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dest.gov.au Mon Jul 10 02:04:55 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Mon, 10 Jul 2006 10:04:55 +1000 Subject: Nagios-users Digest, Vol 2, Issue 8 Message-ID: <18544FA17F881A4DBC2F41AC89E46BA93C81B0@acexp005.portfolio.base> Dear Folks, For the benefit of the archives, >Dear Folks, > >Is it possible to use the standard plugin distro check_ping to >distinguish >a reachability failure brought about by sluggish transport and >one caused by a routing failure. > I think the best way to do this is with a plugin that returns either OK or CRITICAL depending on whether the host is contactable (CRITICAL also if the plugin times out). This means that there is never any ambiguity between a congested unresponsive link and a host on an unreachable network. One way of doing this is with an SNMP ping (eg check sysUpTime) to a router on the subnet of interest. (The actual application is determining if user subnets are reachable when there is a routing protocol on each of the leaf [user subnet] routers tunnelled through an MPLS transport. All sorts of wierd stuff can happen. We use a routing protocol even on the single exit leaf nodes because we cannot trust the provider [eg the only routing protocol they provide is RIP ...]). Yours sincerely. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nazark at auska.com Mon Jul 10 02:08:51 2006 From: nazark at auska.com (Nazar Kulynych) Date: Sun, 09 Jul 2006 20:08:51 -0400 Subject: Nagios Users Message-ID: <44B19A93.603@auska.com> Is there a way in nagios to separate user permissions to see individual host groups. For example, one user could only see hostgroup_1 and another user to see only hostgroup_2 and all the services related to that hostgroup? Thanks ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frcaen at gmail.com Mon Jul 10 06:27:34 2006 From: frcaen at gmail.com (Francois Caen) Date: Sun, 9 Jul 2006 21:27:34 -0700 Subject: Altinity's RSS addon In-Reply-To: <1320B5FD-21FC-4993-BF42-ADE558B5E367@altinity.com> References: <1320B5FD-21FC-4993-BF42-ADE558B5E367@altinity.com> Message-ID: <58cfe2840607092127m52c5d3vd21bce7e6bdb4a6c@mail.gmail.com> On 7/7/06, Ton Voon wrote: > Just a quick email to say Altinity have released their RSS implementation, > called RSS4NAGIOS. What's the usage idea behind RSS and Nagios? That while I'm in front of my PC, I get a pop-up from my RSS reader? I already get notifications via email and SMS. Trying to see if I have a use for RSS :-) -- Francois Caen, RHCE, CCNA SpiderMaker, LLC ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mika.Borner at clariden.com Mon Jul 10 07:26:04 2006 From: Mika.Borner at clariden.com (Mika Borner) Date: Mon, 10 Jul 2006 07:26:04 +0200 Subject: NRPE, SMF and Solaris 10 In-Reply-To: <0AB0CB5257FF3C43A27E201CC8AADA8601C79B0A@dnce02.ent.ti.com> References: <0AB0CB5257FF3C43A27E201CC8AADA8601C79B0A@dnce02.ent.ti.com> Message-ID: <44B2010C0200001A00005396@zh02.cbintra.net> Here is my manifest. Save it e.g. under /var/svc/manifest/application/management/nagios/nrpe/nagios-nrpe.xml and import using svccfg import . To allow the nagios user to start and stop services, add following entries: /etc/user_attr: nagios::::type=role;auths=solaris.smf.manage.nagios-nrpe,solaris.smf.manage.nagios;profile=Basic Solaris User /etc/security/auth_attr: solaris.smf.manage.nagios-nrpe:::Manage Nagios NRPE Service States:: //Mika >>> "Alloo, Vincent" 07/07/06 1:38 pm >>> Hello, I have a full Nagios infrastructure running fine on multiple OS (Solaris 8, RH). I'm trying now to add another client running Solaris 10 06/06 (Sparc). I have converted my inetd.conf using inetconv utility to create the SMF service for NRPE. Unfortunately, it is not working. Can you help me to correct the problem? SSL enabled. Here is my SMF config: # inetadm | grep nrpe enabled online svc:/network/nrpe/tcp:default # svcs \*nrpe\* STATE STIME FMRI online 13:26:45 svc:/network/nrpe/tcp:default # inetadm -l svc:/network/nrpe/tcp:default SCOPE NAME=VALUE name="nrpe" endpoint_type="stream" proto="tcp" isrpc=FALSE wait=FALSE exec="/apps/nagios/nrpe/nrpe -c /db/sysadmin/nagios/nrpe_debug.cfg -i" arg0="/apps/nagios/nrpe/nrpe" user="nagios" default bind_addr="" default bind_fail_max=-1 default bind_fail_interval=-1 default max_con_rate=-1 default max_copies=-1 default con_rate_offline=-1 default failrate_cnt=40 default failrate_interval=60 default inherit_env=TRUE tcp_trace=FALSE default tcp_wrappers=FALSE and the error message in the syslog after a "check_nrpe -H svrsaseng01 -c uname": Jul 7 13:26:54 svrsaseng01 nrpe[11278]: [ID 306117 daemon.error] Error: NRPE daemon cannot be run as user/group root! Thanks. Vincent Alloo TI France Design Systems Operations Manager Europe, Middle East and Africa IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 >>> "Alloo, Vincent" 07/07/06 1:38 pm >>> Hello, I have a full Nagios infrastructure running fine on multiple OS (Solaris 8, RH). I'm trying now to add another client running Solaris 10 06/06 (Sparc). I have converted my inetd.conf using inetconv utility to create the SMF service for NRPE. Unfortunately, it is not working. Can you help me to correct the problem? SSL enabled. Here is my SMF config: # inetadm | grep nrpe enabled online svc:/network/nrpe/tcp:default # svcs \*nrpe\* STATE STIME FMRI online 13:26:45 svc:/network/nrpe/tcp:default # inetadm -l svc:/network/nrpe/tcp:default SCOPE NAME=VALUE name="nrpe" endpoint_type="stream" proto="tcp" isrpc=FALSE wait=FALSE exec="/apps/nagios/nrpe/nrpe -c /db/sysadmin/nagios/nrpe_debug.cfg -i" arg0="/apps/nagios/nrpe/nrpe" user="nagios" default bind_addr="" default bind_fail_max=-1 default bind_fail_interval=-1 default max_con_rate=-1 default max_copies=-1 default con_rate_offline=-1 default failrate_cnt=40 default failrate_interval=60 default inherit_env=TRUE tcp_trace=FALSE default tcp_wrappers=FALSE and the error message in the syslog after a "check_nrpe -H svrsaseng01 -c uname": Jul 7 13:26:54 svrsaseng01 nrpe[11278]: [ID 306117 daemon.error] Error: NRPE daemon cannot be run as user/group root! Thanks. Vincent Alloo TI France Design Systems Operations Manager Europe, Middle East and Africa IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 ------------------------------------------------------------------------- This message is intended for the addressee only and may contain confidential or privileged information. If you are not the intended receiver, any disclosure, copying to any person or any action taken or omitted to be taken in reliance on this e-mail, is prohibited and may be un- lawful. You must therefore delete this e-mail. Internet communications may not be secure or error-free and may contain viruses. They may be subject to possible data corruption, accidental or on purpose. This e-mail is not and should not be construed as an offer or the solicitation of an offer to purchase or subscribe or sell or redeem any investments. ------------------------------------------------------------------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Jul 10 07:50:50 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 10 Jul 2006 07:50:50 +0200 (CEST) Subject: Nagios Users In-Reply-To: <44B19A93.603@auska.com> References: <44B19A93.603@auska.com> Message-ID: On Sun, 9 Jul 2006, Nazar Kulynych wrote: > > Is there a way in nagios to separate user permissions to see individual > host groups. > > For example, one user could only see hostgroup_1 and another user to see > only hostgroup_2 > and all the services related to that hostgroup? MJust make sure they are contact for the specific hosts / services. As found in the manual: * If you are authorized for all hosts you can view all hosts and all services. * If you are authorized for all services you can view all services. * If you are an authenticated contact you can view all hosts and services for which you are a contact. http://nagios.sourceforge.net/docs/2_0/cgis.html Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Jul 10 07:53:26 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 10 Jul 2006 07:53:26 +0200 (CEST) Subject: Altinity's RSS addon In-Reply-To: <58cfe2840607092127m52c5d3vd21bce7e6bdb4a6c@mail.gmail.com> References: <1320B5FD-21FC-4993-BF42-ADE558B5E367@altinity.com> <58cfe2840607092127m52c5d3vd21bce7e6bdb4a6c@mail.gmail.com> Message-ID: On Sun, 9 Jul 2006, Francois Caen wrote: > On 7/7/06, Ton Voon wrote: > > Just a quick email to say Altinity have released their RSS implementation, > > called RSS4NAGIOS. > > What's the usage idea behind RSS and Nagios? That while I'm in front > of my PC, I get a pop-up from my RSS reader? If you like. But anyone with a statusview on several central screens might love to see Nagios among the other RSS feeds. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf at m-wise.com Mon Jul 10 09:21:48 2006 From: assaf at m-wise.com (Assaf Flatto) Date: Mon, 10 Jul 2006 10:21:48 +0300 Subject: Nagios and webalizer Message-ID: <44B2000C.9070707@m-wise.com> Hello List Has anyone ever used this two utilities together ? If so how did you manage to tell the webalizer to ignore the nagios requests in the web site statistics ? I have a very small site and i see more then 2M hits over a week ( i know i don't have 2m hits but i have the nagios monitor the site by running a url test) so i want to make the webalizer ignore those requests . i placed the following directives in the webalizer.conf file IgnoreSite nms.foo.net IgnoreURL nms.foo.net IgnoreReferrer nms.foo.net IgnoreAgent Nagios nms.foo.net IgnoreSite x.x.x.x but it doesn't look like it is working . Any suggestions ? Assaf ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Mon Jul 10 09:30:09 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Mon, 10 Jul 2006 17:30:09 +1000 Subject: check_disk 1.4.3 (1.64) for AIX not working? Message-ID: <610cb7a00607100030j5336c7dapa336c11e1283423c@mail.gmail.com> Hi, Has anyone else had any problems using the latest check_disk v1.64 plugin in AIX5.3? Here's my list of filesystems: # df -k Filesystem 1024-blocks Free %Used Iused %Iused Mounted on /dev/hd4 10747904 1515560 86% 1975 1% / /dev/hd2 2883584 1653188 43% 28814 8% /usr /dev/hd9var 2097152 1454828 31% 2898 1% /var /dev/hd3 2097152 1770060 16% 1453 1% /tmp /dev/fwdump 262144 261776 1% 4 1% /var/adm/ras/platform /dev/hd1 524288 519920 1% 118 1% /home /proc - - - - - /proc /dev/hd10opt 262144 125340 53% 3127 10% /opt /dev/fslv00 167772160 23425268 87% 48 1% /u02 /dev/fslv01 139460608 69102616 51% 131 1% /u03 /dev/u01lv 16515072 9477800 43% 22322 2% /u01 1. First example of false or misleading output: # ./plugins/check_disk -w 10% -c 5% DISK CRITICAL - free space: / 1480 MB (14% inode=99%); /usr 1614 MB (57% inode=93%); /var 1421 MB (69% inode=99%); /tmp 1729 MB (84% inode=100%); /var/adm/ras/platform 256 MB (100% inode=100%); /home 508 MB (99% inode=100%); /proc 0 MB (0% inode=NaNQ%); /opt 122 MB (48% inode=90%); /u02 22876 MB (14% inode=100%); /u03 67483 MB (50% inode=100%); /u01 9256 MB (57% inode=99%);| /=9016MB;9446;9971;99;10496 /usr=1202MB;2534;2675;92;2816 /var=628MB;1843;1945;99;2048 /tmp=320MB;1843;1945;99;2048 /var/adm/ras/platform=1MB;230;243;99;256 /home=5MB;460;486;99;512 /proc=-1MB;1717986917;858993458;-2147483648;-1 /opt=134MB;230;243;90;256 /u02=140964MB;147456;155648;99;163840 /u03=68709MB;122572;129382;99;136192 /u01=6873MB;14515;15321;98;16128 (Looks like it's failing to understand the /proc entry?) 2. Second example of failed output: # ./plugins/check_disk -w 10% -c 5% -p /home INPUT ERROR: C_IDFP (0.000000) should be less than W_IDFP (0.0) and both should be between zero and 100 percent, inclusive for /home check_disk: Could not parse arguments Usage: check_disk -w limit -c limit [-p path | -x device] [-t timeout][-m] [-e] [-W limit] [-K limit] [-v] [-q] 3. Furthermore I noticed it failed the test in 'make test': ./t/check_disk......dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1, 3-32 Failed 31/32 tests, 3.12% okay Anyone seen any of this before? My configure options were: # ./configure --with-openssl=no --with-ipv6=no Thanks in advance, Alex Harvey -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From v-alloo at ti.com Mon Jul 10 10:03:54 2006 From: v-alloo at ti.com (Alloo, Vincent) Date: Mon, 10 Jul 2006 10:03:54 +0200 Subject: NRPE, SMF and Solaris 10 Message-ID: <0AB0CB5257FF3C43A27E201CC8AADA8601C79ECB@dnce02.ent.ti.com> Mika, It works !! Thank you. For reference: - create manifest in /var/svc/manifest/application/management/nagios/nrpe/nagios-nrpe.xml (attached) - Update /etc/user_attr and /etc/security/auth_attr - svccfg -v import /var/svc/manifest/application/management/nagios/nrpe/nagios-nrpe.xml - inetadm -d svc:/network/nrpe/tcp:default (to disable wrong import config) - inetadm -e svc:/application/management/nagios/nrpe:default Regards, Vincent Alloo TI France Design Systems Operations Manager Europe and Middle East IT Services! Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 > -----Original Message----- > From: Mika Borner [mailto:Mika.Borner at clariden.com] > Sent: Monday, July 10, 2006 7:26 AM > To: nagios-users at lists.sourceforge.net; Alloo, Vincent > Subject: Re: [Nagios-users] NRPE, SMF and Solaris 10 > > Here is my manifest. Save it e.g. under > /var/svc/manifest/application/management/nagios/nrpe/nagios-nrpe.xml and > import using svccfg import . > > To allow the nagios user to start and stop services, add following > entries: > > /etc/user_attr: > nagios::::type=role;auths=solaris.smf.manage.nagios- > nrpe,solaris.smf.manage.nagios;profile=Basic > Solaris User > > /etc/security/auth_attr: > solaris.smf.manage.nagios-nrpe:::Manage Nagios NRPE Service States:: > > //Mika > > > "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> > > > > type='service'> > > > > > > restart_on='none' type='service'> > > > > > > > > > > > exec='$BASEDIR/nrpe/nrpe -c $BASEDIR/nrpe/nrpe.cfg -d' > timeout_seconds='60'/> > timeout_seconds='60'/> > > > > value='solaris.smf.manage.nagios-nrpe'/> > value='solaris.smf.manage.nagios-nrpe'/> > > > > value='core,signal' /> > > > > > > > > > > >>> "Alloo, Vincent" 07/07/06 1:38 pm >>> > Hello, > > I have a full Nagios infrastructure running fine on multiple OS > (Solaris > 8, RH). > > I'm trying now to add another client running Solaris 10 06/06 (Sparc). > > I have converted my inetd.conf using inetconv utility to create the > SMF > service for NRPE. > > Unfortunately, it is not working. Can you help me to correct the > problem? SSL enabled. > > > > Here is my SMF config: > > > > # inetadm | grep nrpe > > enabled online svc:/network/nrpe/tcp:default > > > > # svcs \*nrpe\* > > STATE STIME FMRI > > online 13:26:45 svc:/network/nrpe/tcp:default > > > > # inetadm -l svc:/network/nrpe/tcp:default > > SCOPE NAME=VALUE > > name="nrpe" > > endpoint_type="stream" > > proto="tcp" > > isrpc=FALSE > > wait=FALSE > > exec="/apps/nagios/nrpe/nrpe -c > /db/sysadmin/nagios/nrpe_debug.cfg -i" > > arg0="/apps/nagios/nrpe/nrpe" > > user="nagios" > > default bind_addr="" > > default bind_fail_max=-1 > > default bind_fail_interval=-1 > > default max_con_rate=-1 > > default max_copies=-1 > > default con_rate_offline=-1 > > default failrate_cnt=40 > > default failrate_interval=60 > > default inherit_env=TRUE > > tcp_trace=FALSE > > default tcp_wrappers=FALSE > > > > and the error message in the syslog after a "check_nrpe -H svrsaseng01 > -c uname": > > > > Jul 7 13:26:54 svrsaseng01 nrpe[11278]: [ID 306117 daemon.error] > Error: > NRPE daemon cannot be run as user/group root! > > > > Thanks. > > > > Vincent Alloo > > TI France Design Systems Operations Manager > > Europe, Middle East and Africa IT Services > > Texas Instruments France > > > > E-Mail: v-alloo at ti.com > > Phone: +33 4 93 22 26 97 > > Mobile: +33 6 82 13 00 80 > > > > > >>> "Alloo, Vincent" 07/07/06 1:38 pm >>> > Hello, > > I have a full Nagios infrastructure running fine on multiple OS > (Solaris > 8, RH). > > I'm trying now to add another client running Solaris 10 06/06 (Sparc). > > I have converted my inetd.conf using inetconv utility to create the > SMF > service for NRPE. > > Unfortunately, it is not working. Can you help me to correct the > problem? SSL enabled. > > > > Here is my SMF config: > > > > # inetadm | grep nrpe > > enabled online svc:/network/nrpe/tcp:default > > > > # svcs \*nrpe\* > > STATE STIME FMRI > > online 13:26:45 svc:/network/nrpe/tcp:default > > > > # inetadm -l svc:/network/nrpe/tcp:default > > SCOPE NAME=VALUE > > name="nrpe" > > endpoint_type="stream" > > proto="tcp" > > isrpc=FALSE > > wait=FALSE > > exec="/apps/nagios/nrpe/nrpe -c > /db/sysadmin/nagios/nrpe_debug.cfg -i" > > arg0="/apps/nagios/nrpe/nrpe" > > user="nagios" > > default bind_addr="" > > default bind_fail_max=-1 > > default bind_fail_interval=-1 > > default max_con_rate=-1 > > default max_copies=-1 > > default con_rate_offline=-1 > > default failrate_cnt=40 > > default failrate_interval=60 > > default inherit_env=TRUE > > tcp_trace=FALSE > > default tcp_wrappers=FALSE > > > > and the error message in the syslog after a "check_nrpe -H svrsaseng01 > -c uname": > > > > Jul 7 13:26:54 svrsaseng01 nrpe[11278]: [ID 306117 daemon.error] > Error: > NRPE daemon cannot be run as user/group root! > > > > Thanks. > > > > Vincent Alloo > > TI France Design Systems Operations Manager > > Europe, Middle East and Africa IT Services > > Texas Instruments France > > > > E-Mail: v-alloo at ti.com > > Phone: +33 4 93 22 26 97 > > Mobile: +33 6 82 13 00 80 > > > > > > ------------------------------------------------------------------------ - > This message is intended for the addressee only and may > contain confidential or privileged information. If you > are not the intended receiver, any disclosure, copying > to any person or any action taken or omitted to be taken > in reliance on this e-mail, is prohibited and may be un- > lawful. You must therefore delete this e-mail. > Internet communications may not be secure or error-free > and may contain viruses. They may be subject to possible > data corruption, accidental or on purpose. This e-mail is > not and should not be construed as an offer or the > solicitation of an offer to purchase or subscribe or sell > or redeem any investments. > ------------------------------------------------------------------------ - -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios-nrpe.xml Type: text/xml Size: 1722 bytes Desc: nagios-nrpe.xml URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 altinity.com Mon Jul 10 10:25:05 2006 From: ton.voon at altinity.com (Ton Voon) Date: Mon, 10 Jul 2006 09:25:05 +0100 Subject: Altinity's RSS addon In-Reply-To: <0D48113C-0FA2-489A-AD33-529D2B6F1F57@altinity.com> References: <1320B5FD-21FC-4993-BF42-ADE558B5E367@altinity.com> <302ce8b50607071202h46b453b9ue76ebd11946a612a@mail.gmail.com> <0EA1BE4E-421C-4F82-A2F5-155BEE127D23@altinity.com> <302ce8b50607071430n6f2d185ag7db82cff7014fdd8@mail.gmail.com> <302ce8b50607080600i52a77133ud9b4d37befaae4c3@mail.gmail.com> <0D48113C-0FA2-489A-AD33-529D2B6F1F57@altinity.com> Message-ID: <88EC1AE0-0DBB-4A3C-A967-B4E96353DB64@altinity.com> On 8 Jul 2006, at 14:00, Jim Perrin wrote: >> I think DAG would like to keep the path as short as possible. So >> if Ton >> can integrate it into the sources one could use rpmbuild to build >> directly from the source tgz. > > I was trying avoid saying "Hey thanks, now do more work!" to Ton. :-P Appreciated :) > The only thing my patch does is change the paths his perl is > expecting, and README to match the new paths in the distributed rpms. > Applying my patch would break it for non-RPM users, so having it both > ways would require configure script or makefile of some sort. Would > you be willing to make that chunk of it? I'd rather not try to write a cross-platform makefile or configure script, since the patch is very short and the overall amount of source is small. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 altinity.com Mon Jul 10 10:29:27 2006 From: ton.voon at altinity.com (Ton Voon) Date: Mon, 10 Jul 2006 09:29:27 +0100 Subject: Altinity's RSS addon In-Reply-To: References: <1320B5FD-21FC-4993-BF42-ADE558B5E367@altinity.com> <58cfe2840607092127m52c5d3vd21bce7e6bdb4a6c@mail.gmail.com> Message-ID: On 10 Jul 2006, at 06:53, Hugo van der Kooij wrote: >> What's the usage idea behind RSS and Nagios? That while I'm in front >> of my PC, I get a pop-up from my RSS reader? > > If you like. But anyone with a statusview on several central > screens might > love to see Nagios among the other RSS feeds. Just to reiterate - this implementation means that it is not exactly the same as looking at the status screens. The feeds are based on notifications, so, for instance, the status screens will show a soft failure, but the RSS will only show on hard failures. You could think there is a timing limitation, since a service would have to go through first failure + retries then notify on RSS, then the RSS reader would have a polling cycle before it reaches the operator's eyes - this may not be quick enough for an operations team. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Mon Jul 10 12:33:44 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Mon, 10 Jul 2006 20:33:44 +1000 Subject: check_disk 1.4.3 (1.64) for AIX not working? In-Reply-To: <610cb7a00607100030j5336c7dapa336c11e1283423c@mail.gmail.com> References: <610cb7a00607100030j5336c7dapa336c11e1283423c@mail.gmail.com> Message-ID: <610cb7a00607100333g60794782xe4293ba059fb487a@mail.gmail.com> Well, I got this to work using the earlier version: # ./plugins/check_disk -w 10% -c 5% -p /home DISK OK - free space: /home 508 MB (99%);| /home=5MB;460;486;0;512 # ./plugins/check_disk --version check_disk (nagios-plugins 1.4.2) 1.57 Perhaps this is a bug? Regards, Alex On 7/10/06, Alexander Harvey wrote: > > Hi, > > Has anyone else had any problems using the latest check_disk v1.64 plugin > in AIX5.3? > > Here's my list of filesystems: > > # df -k > Filesystem 1024-blocks Free %Used Iused %Iused Mounted on > /dev/hd4 10747904 1515560 86% 1975 1% / > /dev/hd2 2883584 1653188 43% 28814 8% /usr > /dev/hd9var 2097152 1454828 31% 2898 1% /var > /dev/hd3 2097152 1770060 16% 1453 1% /tmp > /dev/fwdump 262144 261776 1% 4 1% > /var/adm/ras/platform > /dev/hd1 524288 519920 1% 118 1% /home > /proc - - - - - /proc > /dev/hd10opt 262144 125340 53% 3127 10% /opt > /dev/fslv00 167772160 23425268 87% 48 1% /u02 > /dev/fslv01 139460608 69102616 51% 131 1% /u03 > /dev/u01lv 16515072 9477800 43% 22322 2% /u01 > > 1. First example of false or misleading output: > > # ./plugins/check_disk -w 10% -c 5% > DISK CRITICAL - free space: / 1480 MB (14% inode=99%); /usr 1614 MB (57% > inode=93%); /var 1421 MB (69% inode=99%); /tmp 1729 MB (84% inode=100%); > /var/adm/ras/platform 256 MB (100% inode=100%); /home 508 MB (99% > inode=100%); /proc 0 MB (0% inode=NaNQ%); /opt 122 MB (48% inode=90%); /u02 > 22876 MB (14% inode=100%); /u03 67483 MB (50% inode=100%); /u01 9256 MB (57% > inode=99%);| /=9016MB;9446;9971;99;10496 /usr=1202MB;2534;2675;92;2816 > /var=628MB;1843;1945;99;2048 /tmp=320MB;1843;1945;99;2048 > /var/adm/ras/platform=1MB;230;243;99;256 /home=5MB;460;486;99;512 > /proc=-1MB;1717986917;858993458;-2147483648;-1 /opt=134MB;230;243;90;256 > /u02=140964MB;147456;155648;99;163840 /u03=68709MB;122572;129382;99;136192 > /u01=6873MB;14515;15321;98;16128 > > (Looks like it's failing to understand the /proc entry?) > > 2. Second example of failed output: > > # ./plugins/check_disk -w 10% -c 5% -p /home > INPUT ERROR: C_IDFP (0.000000) should be less than W_IDFP ( 0.0) and both > should be between zero and 100 percent, inclusive for /home > check_disk: Could not parse arguments > Usage: check_disk -w limit -c limit [-p path | -x device] [-t timeout][-m] > [-e] [-W limit] [-K limit] [-v] [-q] > > 3. Furthermore I noticed it failed the test in 'make test': > > ./t/check_disk......dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 1, 3-32 > Failed 31/32 tests, 3.12% okay > > Anyone seen any of this before? > > My configure options were: > > # ./configure --with-openssl=no --with-ipv6=no > > Thanks in advance, > > Alex Harvey > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.remy at ohs.asso.fr Mon Jul 10 17:06:58 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Mon, 10 Jul 2006 17:06:58 +0200 Subject: check-nt-disk Message-ID: Hello I'm configuring Nagios. I want to view the freespace of C in my servers. I put in checkcommands.cfg?: # 'check_nt' command definition define command { command_name check-nt-disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } I put in my services.cfg?: # Espace libre Disque C define service{ use generic-service ; Name of service template to use host_name tsefl2 service_description freespace disk C is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups informatique notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check-nt-disk!C!83%!86% } When I go in the Nagios interface, I have a message?: Freespace disk C?: status critical, status information Connexion refus?e Or Freespace disk C?: status unknown, status information NsClient - ERROR?:Wrong Password What is it?? how makes to inform my contacts when there remains only 20% of free space on my disk C. thank you OS?: redhat EL 4 Servers?: Windows 2003 Server Nagios?: 2.4 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Mon Jul 10 17:14:51 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 10 Jul 2006 11:14:51 -0400 Subject: check-nt-disk In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of REMY Julien > Sent: Monday, July 10, 2006 8:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check-nt-disk > > # 'check_nt' command definition > define command { > command_name check-nt-disk > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p > 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > } > > When I go in the Nagios interface, I have a message?: > > Freespace disk C?: status critical, status information > Connexion refus?e Or Freespace disk C?: status unknown, > status information NsClient - ERROR?:Wrong Password > > What is it?? My guess, based on the error message, is that you're not sending the correct password (actually, you're not sending any password). >From "check_nt -h:" -s Password needed for the request ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Mon Jul 10 17:22:23 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 10 Jul 2006 11:22:23 -0400 Subject: Nagios and webalizer In-Reply-To: <44B2000C.9070707@m-wise.com> References: <44B2000C.9070707@m-wise.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Assaf Flatto > Sent: Monday, July 10, 2006 12:22 AM > To: Nagios mailing list > Subject: [Nagios-users] Nagios and webalizer > > If so how did you manage to tell the webalizer to ignore the > nagios requests in the web site statistics ? > > I have a very small site and i see more then 2M hits over a > week ( i know i don't have 2m hits but i have the nagios > monitor the site by running a url test) > so i want to make the webalizer ignore those requests . > > i placed the following directives in the webalizer.conf file > IgnoreSite nms.foo.net > IgnoreURL nms.foo.net > IgnoreReferrer nms.foo.net > IgnoreAgent Nagios nms.foo.net > IgnoreSite x.x.x.x This is definitely a better question for Webalizer people than Nagios ones, but what you're doing should work. I'd go with the IgnoreSite approach. Check your webserver logs and make sure what you've got in your config matches the Nagios box as it appears in the log. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott at gps.caltech.edu Mon Jul 10 17:45:15 2006 From: scott at gps.caltech.edu (Scott Dungan) Date: Mon, 10 Jul 2006 08:45:15 -0700 Subject: check_rpc returns Unknown "Program -H is not defined" In-Reply-To: References: Message-ID: <44B2760B.1050809@gps.caltech.edu> Morris, Patrick wrote: >> It's extremely frustrating that there's no simple way >> to view the exact command being invoked by nagios. It >> would seem likely that there's a spurious character or >> something else weird about the way it's being invoked. >> > > In cases like this, I'll usually replace the plugin temporarily with a > simple shell script that logs what's passed to it: > > #!/bin/sh > echo `date` $0 $@ >> /tmp/nagios_plugin.log > > So I did just that and it seems as if Nagios is passing along exactly what it should be. Here is the contents of the nagios_plugin.log created by the shell script: Mon Jul 10 08:37:57 PDT 2006 /usr/lib/nagios/plugins/diag -H 131.215.64.60 nfs -c -- *Scott A Dungan* Systems Administrator California Institute of Technology Phone: (626) 395-3170 Fax: (626) 585-1917 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Mon Jul 10 17:47:45 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 10 Jul 2006 11:47:45 -0400 Subject: check_rpc returns Unknown "Program -H is not defined" In-Reply-To: <44B2760B.1050809@gps.caltech.edu> References: <44B2760B.1050809@gps.caltech.edu> Message-ID: > -----Original Message----- > From: Scott Dungan [mailto:scott at gps.caltech.edu] > Sent: Monday, July 10, 2006 8:45 AM > To: Morris, Patrick > Cc: John Daily; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_rpc returns Unknown > "Program -H is not defined" > > > In cases like this, I'll usually replace the plugin > temporarily with a > > simple shell script that logs what's passed to it: > > > > #!/bin/sh > > echo `date` $0 $@ >> /tmp/nagios_plugin.log > > > > > So I did just that and it seems as if Nagios is passing along > exactly what it should be. Here is the contents of the > nagios_plugin.log created by the shell script: > > Mon Jul 10 08:37:57 PDT 2006 /usr/lib/nagios/plugins/diag -H > 131.215.64.60 nfs -c That looks a bit different than what I use for my NFS RPC checks. Here's mine: define command { command_name check_rpc_nfs command_line $USER1$/check_rpc -H $HOSTADDRESS$ -C nfs -t } Are you sure your syntax is correct? Have you looked at a "check_rpc -h" to verify you're passing the parameters correctly (you may have mentioned something earlier, but I don't have access to mail older than a day or so right now)? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott at gps.caltech.edu Mon Jul 10 18:16:06 2006 From: scott at gps.caltech.edu (Scott Dungan) Date: Mon, 10 Jul 2006 09:16:06 -0700 Subject: check_rpc returns Unknown "Program -H is not defined" In-Reply-To: References: Message-ID: <44B27D46.6030303@gps.caltech.edu> Morris, Patrick wrote: > > That looks a bit different than what I use for my NFS RPC checks. Here's > mine: > > define command { > command_name check_rpc_nfs > command_line $USER1$/check_rpc -H $HOSTADDRESS$ -C nfs -t > } > > Are you sure your syntax is correct? Have you looked at a "check_rpc > -h" to verify you're passing the parameters correctly (you may have > mentioned something earlier, but I don't have access to mail older than > a day or so right now)? > That did the trick. Thanks for comparing your syntax to mine. -- *Scott A Dungan* Systems Administrator California Institute of Technology Phone: (626) 395-3170 Fax: (626) 585-1917 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Mon Jul 10 18:57:08 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Mon, 10 Jul 2006 17:57:08 +0100 Subject: Oracle plugin check_oracle In-Reply-To: <44AAB479.101@gmail.com> References: <4290F604-C96B-4F39-B09D-EC8EFDD377E7@altinity.com> <44AAB479.101@gmail.com> Message-ID: On 04/07/06, Hari Sekhon wrote: > > Ton Voon wrote: > > > > On 4 Jul 2006, at 18:41, Morris, Patrick wrote: > > > > > Don't know about a binary plugin doing this. > > The Oracle Instantclient (sqlplus) is available here: > > > > > http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/ > > linuxsoft.html > > > > [snip] > > > > > The check_oracle client won't work with just the Instant Client, because > > it doesn't include tnsping. > > > When I've used check_oracle, I use the --login option instead of --tnsping. > This simulates a login, and returns OK if it gets a "invalid login, > incorrect username/password". This is a better check because it goes down > the entire stack and grabs whatever errors are returned by Oracle (for > instance, "shutdown in progress"). > > > I assume the Instantclient will still work with check_oracle (as it just > needs sqlplus). > > > Ton > > > http://www.altinity.com > T: +44 (0)870 787 9243 > F: +44 (0)845 280 1725 > Skype: tonvoon > > > ________________________________ > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ________________________________ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > yes this is probably what i'll do as well > > -h > I took Ton Voon's advice and ran check_oracle --login which worked after installing sqlplus. I got this to start checking earlier today which was easier than I expected. I just ran ./check_oracle --login and it gave me a successfull dummy login ok feedback. This has been working all afternoon, but now all of a sudden it's saying: "Cannot determine ORACLE_HOME for sid " with status UNKNOWN This happened to me before but since it was working earlier I don't see how this could have broken... For one, why do I need ORACLE_HOME, two ORACLE_HOME is set in the nagios user environment when I "su - nagios", and three sqlplus is in the nagios user's path and I can do "sqlplus " and successfully get a login prompt on the database server. What is going on? -h ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frcaen at gmail.com Mon Jul 10 19:15:45 2006 From: frcaen at gmail.com (Francois Caen) Date: Mon, 10 Jul 2006 10:15:45 -0700 Subject: per-host notification command Message-ID: <58cfe2840607101015g6130952fq778c099b84034932@mail.gmail.com> Hello, Sorry if this is a dumb question, can't figure out a clean way to do what I want. I want to be notified by email for the services on hostA and by pager for the services on hostB. I can see how to define notification methods on a per-contact basis. I don't see how to do it per-host. I could cheat/kludge and create 2 contacts for myself, one for pager and one for email. Is there a better way?? -- Francois Caen, RHCE, CCNA SpiderMaker, LLC ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From TMcDermott at ICTGROUP.COM Mon Jul 10 19:17:32 2006 From: TMcDermott at ICTGROUP.COM (McDermott, Thomas) Date: Mon, 10 Jul 2006 13:17:32 -0400 Subject: User Access Message-ID: <06B9227E4C0E61418AA3631AD57280DE942E@lngprdexch1.ictgroup.com> I have set up a user so that it only sees the hostgroup I want them to. Is there a way that they only can view this hostgroup and not issue any commands against the hosts? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Jul 10 20:14:59 2006 From: jhmartin at toger.us (Jason Martin) Date: Mon, 10 Jul 2006 11:14:59 -0700 Subject: Oracle plugin check_oracle In-Reply-To: References: <4290F604-C96B-4F39-B09D-EC8EFDD377E7@altinity.com> <44AAB479.101@gmail.com> Message-ID: <20060710181459.GS3056@mal.members.linode.com> On Mon, Jul 10, 2006 at 05:57:08PM +0100, Hari Sekhon wrote: > "Cannot determine ORACLE_HOME for sid " with status UNKNOWN > This happened to me before but since it was working earlier I don't > see how this could have broken... Soemthing must have changed... > For one, why do I need ORACLE_HOME, sql/plus requires this since it uses it to find the tnsnames.ora file as well as the location of the error messages translation file. > nagios user environment when I "su - nagios", and three sqlplus is in > the nagios user's path and I can do "sqlplus " > and successfully get a login prompt on the database server. How does it get in the nagios users's path? Could Nagios have been restarted in such a way that the profile or whatever didn't get sourced? -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Mon Jul 10 21:16:13 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Mon, 10 Jul 2006 19:16:13 +0000 Subject: Oracle plugin check_oracle In-Reply-To: <20060710181459.GS3056@mal.members.linode.com> References: <4290F604-C96B-4F39-B09D-EC8EFDD377E7@altinity.com> <44AAB479.101@gmail.com> <20060710181459.GS3056@mal.members.linode.com> Message-ID: On 10/07/06, Jason Martin wrote: > On Mon, Jul 10, 2006 at 05:57:08PM +0100, Hari Sekhon wrote: > > "Cannot determine ORACLE_HOME for sid " with status UNKNOWN > > This happened to me before but since it was working earlier I don't > > see how this could have broken... > Soemthing must have changed... > > > > For one, why do I need ORACLE_HOME, > sql/plus requires this since it uses it to find the tnsnames.ora > file as well as the location of the error messages translation > file. > > > nagios user environment when I "su - nagios", and three sqlplus is in > > the nagios user's path and I can do "sqlplus " > > and successfully get a login prompt on the database server. > How does it get in the nagios users's path? Could Nagios have > been restarted in such a way that the profile or whatever didn't > get sourced? > > -Jason Martin > -- > This message is PGP/MIME signed. > > > I would expect that to be it as well but it's strange to see this. I rebooted nagios and it started working properly again. It started happening just after making a completely unrelated change to a mysql check and rebooting nagios. This sounds suspicious but at that same time as soon as it started giving me warning UNKNOWN for the status of the oracle machines, I immediately tried sqlplus "username/password at dbname" from the nagios user and it worked normally and logged me in... and echo $ORACLE_HOME gave me the path to the oracle client installation... so why did the check stop working? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drussell at mpifix.com Mon Jul 10 21:30:19 2006 From: drussell at mpifix.com (Danny Russell) Date: Mon, 10 Jul 2006 13:30:19 -0600 Subject: ndomod: Error writing to data sink! Some output mayget lost... Message-ID: Does anyone have any advice? Thanks. ________________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Danny Russell Sent: Thursday, July 06, 2006 1:15 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] ndomod: Error writing to data sink! Some output mayget lost... Hello Everyone, ??????????? I am seeking some help regarding ndoutils and nagios. Here is what I am running: * CentOS 4.2 * nagios-2.4-1.el4 * ndoutils-1.3.1 * mysql-5.0.22-1.centos.1 * php-5.0.4-5.centos4 * nagios-plugins-1.4.2-1.2.el4.rf The NEB module is loading and connecting to the data sink. The problem is that it cannot write any data to the data sink. Is the data sink the ndo.sock file? I run the ndo2db daemon and it starts just fine: ??????????? ndo2db -c /etc/nagios/bin/ndo2db.cfg I've tried chmoding the sock file to 777, changed the ownership to nagios:nagios, and running it as root. If I run the ndo2db as nagios it gets a permission denied to the sock file? Should I run this under the nagios user? Here is an excerpt from my nagios.log file: [1152209793] Nagios 2.4 starting... (PID=31876) [1152209793] LOG VERSION: 2.0 [1152209793] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios at nagios.org) [1152209794] ndomod: Successfully connected to data sink.? 0 queued items to flush. [1152209794] Event broker module '/etc/nagios/bin/ndomod.o' initialized successfully. [1152209794] Finished daemonizing... (New PID=31878) [1152209794] ndomod: Error writing to data sink!? Some output may get lost... [1152209810] ndomod: Successfully reconnected to data sink!? 0 items lost, 69 queued items to flush. [1152209810] ndomod: Successfully flushed 69 queued items to data sink. [1152209811] ndomod: Error writing to data sink!? Some output may get lost... [1152209827] ndomod: Successfully reconnected to data sink!? 0 items lost, 72 queued items to flush. [1152209827] ndomod: Successfully flushed 72 queued items to data sink. [1152209828] ndomod: Error writing to data sink!? Some output may get lost... [1152209844] ndomod: Successfully reconnected to data sink!? 0 items lost, 69 queued items to flush. [1152209844] ndomod: Successfully flushed 69 queued items to data sink. [1152209845] ndomod: Error writing to data sink!? Some output may get lost... [1152209861] ndomod: Successfully reconnected to data sink!? 0 items lost, 75 queued items to flush. [1152209861] ndomod: Successfully flushed 75 queued items to data sink. [1152209862] ndomod: Error writing to data sink!? Some output may get lost... Thanks for your help. Danny Russell Mobile Productivity, Inc. Enabling the World To Work ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Jul 10 23:15:05 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 10 Jul 2006 23:15:05 +0200 (CEST) Subject: Nagios and webalizer In-Reply-To: <44B2000C.9070707@m-wise.com> References: <44B2000C.9070707@m-wise.com> Message-ID: On Mon, 10 Jul 2006, Assaf Flatto wrote: > Has anyone ever used this two utilities together ? > > If so how did you manage to tell the webalizer to ignore the nagios requests in > the web site statistics ? > > I have a very small site and i see more then 2M hits over a week ( i know i > don't have 2m hits but i have the nagios monitor the site by running a url test) > so i want to make the webalizer ignore those requests . First off. 2M hits can't be all Nagios. Even with 1 check per minute you end up with 60 x 24 x 7 = 10080 hits. That is not even close. So please do not use crappy numbers. Then there is the fact that webalizer does not remove anything from generated graphs. You need to clear out all of your cache files as well if you want to get rid of it. And I dropped webalizer in favor of awstats quite a while ago. And I prefer not to make them public like I used to as one gets a shitload of hits once the webspammers find your webalizer pages. They just hit your system with dummy request just to get their crappy site in your referer logs. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Jul 10 23:19:47 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 10 Jul 2006 23:19:47 +0200 (CEST) Subject: per-host notification command In-Reply-To: <58cfe2840607101015g6130952fq778c099b84034932@mail.gmail.com> References: <58cfe2840607101015g6130952fq778c099b84034932@mail.gmail.com> Message-ID: On Mon, 10 Jul 2006, Francois Caen wrote: > Sorry if this is a dumb question, can't figure out a clean way to do > what I want. > > I want to be notified by email for the services on hostA and by pager > for the services on hostB. > > I can see how to define notification methods on a per-contact basis. I > don't see how to do it per-host. > > I could cheat/kludge and create 2 contacts for myself, one for pager > and one for email. Is there a better way?? If you have serious numbers you might want to use 2 hostgroups for this and rewrite a wrapper script. Any contact in the email hostgroup gets it by email. Anyone in the pager hostgroup ...... Well I leave it to you to connect the dots and drwa your own picture to fit your needs. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.remy at ohs.asso.fr Tue Jul 11 09:15:39 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Tue, 11 Jul 2006 09:15:39 +0200 Subject: check-nt-disk Message-ID: Hello What is the password that Nagios asks ? -----Message d'origine----- De?: Morris, Patrick [mailto:patrick.morris at hp.com] Envoy??: lundi 10 juillet 2006 17:15 ??: REMY Julien; nagios-users at lists.sourceforge.net Objet?: RE: [Nagios-users] check-nt-disk > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of REMY Julien > Sent: Monday, July 10, 2006 8:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check-nt-disk > > # 'check_nt' command definition > define command { > command_name check-nt-disk > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p > 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > } > > When I go in the Nagios interface, I have a message?: > > Freespace disk C?: status critical, status information > Connexion refus?e Or Freespace disk C?: status unknown, > status information NsClient - ERROR?:Wrong Password > > What is it?? My guess, based on the error message, is that you're not sending the correct password (actually, you're not sending any password). >From "check_nt -h:" -s Password needed for the request ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vins192004 at yahoo.com Tue Jul 11 09:51:50 2006 From: vins192004 at yahoo.com (Vinod) Date: Tue, 11 Jul 2006 00:51:50 -0700 (PDT) Subject: rss add on Message-ID: <20060711075150.54423.qmail@web53906.mail.yahoo.com> Hi Tried implementing the rss addon . I have configured the setttings as per the readme of rss4nagios When i run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg it gives me this error Error: Unexpected token or statement in file '/usr/local/nagios/etc/rss.cfg' on line 4 Please suggest do i need to make any changes in the rss.cfg file Regards Vinod Vinod Moraes --------------------------------- Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Tue Jul 11 10:10:45 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Tue, 11 Jul 2006 10:10:45 +0200 Subject: rss add on In-Reply-To: <20060711075150.54423.qmail@web53906.mail.yahoo.com> References: <20060711075150.54423.qmail@web53906.mail.yahoo.com> Message-ID: On 11 Jul, 2006, at 9:51, Vinod wrote: > When i run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/ > nagios.cfg > it gives me this error > Error: Unexpected token or statement in file '/usr/local/nagios/etc/ > rss.cfg' on line 4 > > Please suggest do i need to make any changes in the rss.cfg file Uhm, yes... That's what the error message says, doesn't it? Could you please give us a sample of the contents of rss.cfg to see what's wrong? Cheers! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vins192004 at yahoo.com Tue Jul 11 11:02:52 2006 From: vins192004 at yahoo.com (Vinod) Date: Tue, 11 Jul 2006 02:02:52 -0700 (PDT) Subject: rss add on In-Reply-To: References: Message-ID: <20060711090252.16116.qmail@web53913.mail.yahoo.com> Hi I had copied the rss.cfg.in file from the rss4nagios folder as rss.cfg in the /usr/local/nagios/etc/ folder. Regards Vinod Thomas Sluyter wrote: On 11 Jul, 2006, at 9:51, Vinod wrote: > When i run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/ > nagios.cfg > it gives me this error > Error: Unexpected token or statement in file '/usr/local/nagios/etc/ > rss.cfg' on line 4 > > Please suggest do i need to make any changes in the rss.cfg file Uhm, yes... That's what the error message says, doesn't it? Could you please give us a sample of the contents of rss.cfg to see what's wrong? Cheers! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Vinod Moraes --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1?/min. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.remy at ohs.asso.fr Tue Jul 11 11:27:33 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Tue, 11 Jul 2006 11:27:33 +0200 Subject: check-nt-disk Message-ID: I resolved my problem. It is necessary to look at the password defined in the base of register of the Windows servers (default None) and then to add in the check_nt the option -s None -----Message d'origine----- De?: Morris, Patrick [mailto:patrick.morris at hp.com] Envoy??: lundi 10 juillet 2006 17:15 ??: REMY Julien; nagios-users at lists.sourceforge.net Objet?: RE: [Nagios-users] check-nt-disk > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of REMY Julien > Sent: Monday, July 10, 2006 8:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check-nt-disk > > # 'check_nt' command definition > define command { > command_name check-nt-disk > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p > 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > } > > When I go in the Nagios interface, I have a message?: > > Freespace disk C?: status critical, status information > Connexion refus?e Or Freespace disk C?: status unknown, > status information NsClient - ERROR?:Wrong Password > > What is it?? My guess, based on the error message, is that you're not sending the correct password (actually, you're not sending any password). >From "check_nt -h:" -s Password needed for the request ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Tue Jul 11 12:21:46 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Tue, 11 Jul 2006 11:21:46 +0100 Subject: Oracle plugin check_oracle In-Reply-To: References: <4290F604-C96B-4F39-B09D-EC8EFDD377E7@altinity.com> <44AAB479.101@gmail.com> <20060710181459.GS3056@mal.members.linode.com> Message-ID: <44B37BBA.6090604@gmail.com> Hari Sekhon wrote: > On 10/07/06, Jason Martin wrote: >> On Mon, Jul 10, 2006 at 05:57:08PM +0100, Hari Sekhon wrote: >> > "Cannot determine ORACLE_HOME for sid " with status UNKNOWN >> > This happened to me before but since it was working earlier I don't >> > see how this could have broken... >> Soemthing must have changed... >> >> >> > For one, why do I need ORACLE_HOME, >> sql/plus requires this since it uses it to find the tnsnames.ora >> file as well as the location of the error messages translation >> file. >> >> > nagios user environment when I "su - nagios", and three sqlplus is in >> > the nagios user's path and I can do "sqlplus " >> > and successfully get a login prompt on the database server. >> How does it get in the nagios users's path? Could Nagios have >> been restarted in such a way that the profile or whatever didn't >> get sourced? >> >> -Jason Martin >> -- >> This message is PGP/MIME signed. >> >> >> > > I would expect that to be it as well but it's strange to see this. I > rebooted nagios and it started working properly again. > > It started happening just after making a completely unrelated change > to a mysql check and rebooting nagios. > > This sounds suspicious but at that same time as soon as it started > giving me warning UNKNOWN for the status of the oracle machines, I > immediately tried > > sqlplus "username/password at dbname" > > from the nagios user and it worked normally and logged me in... and > > echo $ORACLE_HOME > > gave me the path to the oracle client installation... > > so why did the check stop working? > It's happened again, I changed a non-related service name and then restarted nagios and now again it doesn't find $ORACLE_HOME for the sids of the databases apparently. This is ridiculous since I can su - nagios echo $ORACLE_HOME /usr/lib/oracle/10.2.0.2/client which gives me the path to the oracle client installation and I can also sqlplus "user/password at dbname" successfully and get a login. /usr/nagios/libexec/check_oracle --login dbname OK - dummy login connected Does anybody understand why this check has stopped working again when I haven't done anything to it, I have to get this working in a stable fashion, I can't have it doing this every time I restart nagios... -h ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 altinity.com Tue Jul 11 14:12:30 2006 From: ton.voon at altinity.com (Ton Voon) Date: Tue, 11 Jul 2006 13:12:30 +0100 Subject: rss add on In-Reply-To: <20060711090252.16116.qmail@web53913.mail.yahoo.com> References: <20060711090252.16116.qmail@web53913.mail.yahoo.com> Message-ID: Vinod, My guess is that you have nagios setup to read *.cfg as Nagios config files. rss.cfg is a config file for rss4nagios, which is in perl format. So when nagios starts up, it complains about this "funny" format. You'll need to alter your Nagios configuration or move rss.cfg into a different directory. Ton On 11 Jul 2006, at 10:02, Vinod wrote: > Hi > > I had copied the rss.cfg.in file from the rss4nagios folder as > rss.cfg in the /usr/local/nagios/etc/ folder. > > > Regards > Vinod > > Thomas Sluyter wrote: > On 11 Jul, 2006, at 9:51, Vinod wrote: > > > When i run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/ > > nagios.cfg > > it gives me this error > > Error: Unexpected token or statement in file '/usr/local/nagios/etc/ > > rss.cfg' on line 4 > > > > Please suggest do i need to make any changes in the rss.cfg file > > Uhm, yes... That's what the error message says, doesn't it? > > Could you please give us a sample of the contents of rss.cfg to see > what's wrong? > > Cheers! > > > Thomas > > > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > Vinod Moraes > > Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. > Great rates starting at 1?/min. > > This message has been scanned for viruses by MailController. > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 altinity.com Tue Jul 11 14:29:11 2006 From: ton.voon at altinity.com (Ton Voon) Date: Tue, 11 Jul 2006 13:29:11 +0100 Subject: Oracle plugin check_oracle In-Reply-To: <44B37BBA.6090604@gmail.com> References: <4290F604-C96B-4F39-B09D-EC8EFDD377E7@altinity.com> <44AAB479.101@gmail.com> <20060710181459.GS3056@mal.members.linode.com> <44B37BBA.6090604@gmail.com> Message-ID: <44F300C6-DEDB-412C-8C2E-1787DA8B7C4F@altinity.com> On 11 Jul 2006, at 11:21, Hari Sekhon wrote: > It's happened again, I changed a non-related service name and then > restarted nagios and now again it doesn't find $ORACLE_HOME for the > sids > of the databases apparently. This is ridiculous since I can > > su - nagios > echo $ORACLE_HOME > /usr/lib/oracle/10.2.0.2/client > > which gives me the path to the oracle client installation and I can > also > > sqlplus "user/password at dbname" successfully and get a login. > > /usr/nagios/libexec/check_oracle --login dbname > OK - dummy login connected > > Does anybody understand why this check has stopped working again > when I > haven't > done anything to it, I have to get this working in a stable fashion, I > can't have it doing this every time I restart nagios... How do you restart Nagios? Or do you mean reload? If the former, check that the startup scripts correctly source the environment variables. If the latter, it could be a bug in Nagios, though I'm not sure why. Alternatively, check_oracle will parse /var/opt/oracle/oratab (and other locations) for the ORACLE_HOME variable. Some installations of Oracle use this to know what SIDs are installed on a server. You could amend that instead. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Tue Jul 11 14:59:57 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Tue, 11 Jul 2006 08:59:57 -0400 Subject: Setup and configuration Message-ID: <1152622797.4403.10.camel@mtlnm.duocom.local> Hello All, I am new to Nagios and am looking to try and configure the system. I have read alot of documentation. I am having an issue trying to configure one system to start. The error I get is as follows. ****************************************** Error: Could not find any host matching 'host_a' Error: Could not expand hostgroups and/or hosts specified in service (config file '/usr/local/nagios/etc/services.cfg', starting on line 1) ****************************************** My Services config is: ***************************************** define service{ service_description HTTP host_name host_a servicegroups http_services check_command check_http max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 60 notification_period 24x7 notification_options w,u,c contact_groups network_team } ********************************************** My hosts files is as follows: ********************************************** define host{ host_name host_a alias main system address 192.168.0.19 hostgroups temp check_period 24x7 max_check_attempts 1 contact_groups network_team notification_interval 30 notification_period 24x7 notification_options d,u,r } *********************************************** My servicegroups is as follows: *********************************************** define servicegroup{ servicegroup_name http_services alias Web Servers members host_a,HTTP } *********************************************** My hostgroups is as follows: *********************************************** define hostgroup{ hostgroup_name temp alias temp Network members host_a } *********************************************** Am I even in the right direction? Thanks for any help or any directions where I can find the answer. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.remy at ohs.asso.fr Tue Jul 11 16:14:34 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Tue, 11 Jul 2006 16:14:34 +0200 Subject: check-nt Windows 2003 Server Message-ID: Hello I want to view the free space in my servers in Windows 2000 and 2003. I configure the services.cfg file. That functions with the Windows 2000 servers but that isn't functions with the Windows 2003 Server. The error message is : ? connexion refus?e ? (refused connection). In my checkcommands.cfg file : # 'check_nt' command definition define command { command_name check-nt-disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } Why ? Thank you very much -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.remy at ohs.asso.fr Tue Jul 11 16:16:44 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Tue, 11 Jul 2006 16:16:44 +0200 Subject: check-nt Windows 2003 Server Message-ID: Hello I want to view the free space in my servers in Windows 2000 and 2003. I configure the services.cfg file. That functions with the Windows 2000 servers but that isn't functions with the Windows 2003 Server. The error message is?: ??connexion refus?e?? (refused connection). In my checkcommands.cfg file?: # 'check_nt' command definition define command { command_name????? check-nt-disk command_line????? $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } Why?? Thank you very much ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jul 11 16:31:49 2006 From: marc at ena.com (Marc Powell) Date: Tue, 11 Jul 2006 09:31:49 -0500 Subject: Setup and configuration Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Antonio Pereira > Sent: Tuesday, July 11, 2006 8:00 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Setup and configuration > > Hello All, > > I am new to Nagios and am looking to try and configure the system. I > have read alot of documentation. I am having an issue trying to > configure one system to start. > > The error I get is as follows. > > ****************************************** > Error: Could not find any host matching 'host_a' > Error: Could not expand hostgroups and/or hosts specified in service > (config file '/usr/local/nagios/etc/services.cfg', starting on line 1) > ****************************************** > My Services config is: > ***************************************** > define service{ > service_description HTTP > host_name host_a > servicegroups http_services > check_command check_http > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_period 24x7 > notification_interval 60 > notification_period 24x7 > notification_options w,u,c > contact_groups network_team > } > ********************************************** > My hosts files is as follows: > ********************************************** > define host{ > host_name host_a > alias main system > address 192.168.0.19 > hostgroups temp > check_period 24x7 > max_check_attempts 1 > contact_groups network_team > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } Do you list the file containing this host definition as a cfg_file in nagios.cfg? -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Tue Jul 11 16:47:12 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Tue, 11 Jul 2006 10:47:12 -0400 Subject: Setup and configuration In-Reply-To: References: Message-ID: <0CA4ED2DD473424883BF20CCD45C18A3DDC8FF@mtlexchange.Duocom.local> Thanks That was it. Something so simple. I knew it. > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Antonio Pereira > Sent: Tuesday, July 11, 2006 8:00 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Setup and configuration > > Hello All, > > I am new to Nagios and am looking to try and configure the system. I > have read alot of documentation. I am having an issue trying to > configure one system to start. > > The error I get is as follows. > > ****************************************** > Error: Could not find any host matching 'host_a' > Error: Could not expand hostgroups and/or hosts specified in service > (config file '/usr/local/nagios/etc/services.cfg', starting on line 1) > ****************************************** > My Services config is: > ***************************************** > define service{ > service_description HTTP > host_name host_a > servicegroups http_services > check_command check_http > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_period 24x7 > notification_interval 60 > notification_period 24x7 > notification_options w,u,c > contact_groups network_team > } > ********************************************** > My hosts files is as follows: > ********************************************** > define host{ > host_name host_a > alias main system > address 192.168.0.19 > hostgroups temp > check_period 24x7 > max_check_attempts 1 > contact_groups network_team > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } Do you list the file containing this host definition as a cfg_file in nagios.cfg? -- Marc ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.remy at ohs.asso.fr Tue Jul 11 16:48:17 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Tue, 11 Jul 2006 16:48:17 +0200 Subject: check-nt Windows 2003 Server Message-ID: after researches on Internet, check_nt and ntclient are compatible only with Windows NT, 2000 and XP but not with Windows 2003. Is there a solution? Thanks -----Message d'origine----- De?: REMY Julien Envoy??: mardi 11 juillet 2006 16:17 ??: nagios-users at lists.sourceforge.net Objet?: [Nagios-users] check-nt Windows 2003 Server Hello I want to view the free space in my servers in Windows 2000 and 2003. I configure the services.cfg file. That functions with the Windows 2000 servers but that isn't functions with the Windows 2003 Server. The error message is?: ??connexion refus?e?? (refused connection). In my checkcommands.cfg file?: # 'check_nt' command definition define command { command_name????? check-nt-disk command_line????? $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } Why?? Thank you very much ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andrew.Laden at tudor.com Tue Jul 11 16:48:19 2006 From: Andrew.Laden at tudor.com (Andrew Laden) Date: Tue, 11 Jul 2006 10:48:19 -0400 Subject: Service time out immediately sets hard state? Message-ID: <496A4C483DD4504C84C0094D9C48CFD30E38A548@tudor.com> Heya Running Nagios 2.0b6. I have a service check that runs fine most of the time, but occasionally (about once a day) the check takes too long to run, and hits the Service check timeout limit. It appears that hitting this limit is treated as an immediate hard error, even though I have max_check_attempts for the service equal to 5. I would prefer it to be a soft error, so that I can retry withouth sending out notification et al. Is this possible? One item that may be affecting the issue is that the service was in a hard warning state at the time. I believe that this should not make a difference, as a service in a hard warning that gets a critical return goes into a soft critical normally. I think this is just a special property of the service check timeout trigger. I don't want to increase the service check timeout limit, because I don't want to affect the other 99% of the services that are fine. Thanks -Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Tue Jul 11 16:50:14 2006 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 11 Jul 2006 15:50:14 +0100 Subject: check-nt Windows 2003 Server Message-ID: <86144ED6CE5B004DA23E1EAC0B569B580DEDB6C8@isabella.herefordshire.gov.uk> Nobody told my Windows 2003 servers that! pnsClient.exe works fine on Win 2003. If you're on SP1, disable DEP for pnsclient.exe. Cheers, Phil -- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of REMY Julien > Sent: 11 July 2006 15:48 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check-nt Windows 2003 Server > > after researches on Internet, check_nt and ntclient are > compatible only with Windows NT, 2000 and XP but not with > Windows 2003. > > Is there a solution? > > Thanks > > -----Message d'origine----- > De?: REMY Julien > Envoy??: mardi 11 juillet 2006 16:17 > ??: nagios-users at lists.sourceforge.net > Objet?: [Nagios-users] check-nt Windows 2003 Server > > Hello > > I want to view the free space in my servers in Windows 2000 > and 2003. I configure the services.cfg file. That functions > with the Windows 2000 servers but that isn't functions with > the Windows 2003 Server. > > The error message is?: ??connexion refus?e?? (refused connection). > > In my checkcommands.cfg file?: > > # 'check_nt' command definition > define command { > command_name????? check-nt-disk > command_line????? $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 > -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > } > > Why?? > > Thank you very much > > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.remy at ohs.asso.fr Tue Jul 11 17:08:17 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Tue, 11 Jul 2006 17:08:17 +0200 Subject: check-nt Windows 2003 Server Message-ID: What does this software ? -----Message d'origine----- De?: Randal, Phil [mailto:prandal at herefordshire.gov.uk] Envoy??: mardi 11 juillet 2006 16:50 ??: REMY Julien; nagios-users at lists.sourceforge.net Objet?: RE: [Nagios-users] check-nt Windows 2003 Server Nobody told my Windows 2003 servers that! pnsClient.exe works fine on Win 2003. If you're on SP1, disable DEP for pnsclient.exe. Cheers, Phil -- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of REMY Julien > Sent: 11 July 2006 15:48 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check-nt Windows 2003 Server > > after researches on Internet, check_nt and ntclient are > compatible only with Windows NT, 2000 and XP but not with > Windows 2003. > > Is there a solution? > > Thanks > > -----Message d'origine----- > De?: REMY Julien > Envoy??: mardi 11 juillet 2006 16:17 > ??: nagios-users at lists.sourceforge.net > Objet?: [Nagios-users] check-nt Windows 2003 Server > > Hello > > I want to view the free space in my servers in Windows 2000 > and 2003. I configure the services.cfg file. That functions > with the Windows 2000 servers but that isn't functions with > the Windows 2003 Server. > > The error message is?: ??connexion refus?e?? (refused connection). > > In my checkcommands.cfg file?: > > # 'check_nt' command definition > define command { > command_name????? check-nt-disk > command_line????? $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 > -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > } > > Why?? > > Thank you very much > > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Tue Jul 11 17:06:08 2006 From: btmanmeh at verizon.net (Max H.) Date: Tue, 11 Jul 2006 11:06:08 -0400 Subject: check-nt Windows 2003 Server In-Reply-To: References: Message-ID: <44B3BE60.4010102@verizon.net> REMY Julien wrote: > after researches on Internet, check_nt and ntclient are compatible only with Windows NT, 2000 and XP but not with Windows 2003. > > Is there a solution? > Do you have SNMP running on the clients you want to check disk space on? I'm not sure for 2003, but I know this plugin works on W2K for disk space. First here's the plugin: I'm defining a check command: # 'snmp_doze_disk' Windoze disk check for C: drive define command{ command_name snmp_doze_disk command_line $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ -C your_comm_string -m ^C: -w $ARG1$ -c $ARG2$ } Specify your args in the service you define to whatever suits your needs. Max ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Tue Jul 11 17:18:28 2006 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 11 Jul 2006 16:18:28 +0100 Subject: check-nt Windows 2003 Server Message-ID: <86144ED6CE5B004DA23E1EAC0B569B580DEDB6F5@isabella.herefordshire.gov.uk> I'm sorry, but I really do expect users to do a little research for themselves. Check out NSClient++ too (nscplus.sf.net) Phil -- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: REMY Julien [mailto:julien.remy at ohs.asso.fr] > Sent: 11 July 2006 16:08 > To: Randal, Phil; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check-nt Windows 2003 Server > > What does this software ? > > -----Message d'origine----- > De?: Randal, Phil [mailto:prandal at herefordshire.gov.uk] > Envoy??: mardi 11 juillet 2006 16:50 > ??: REMY Julien; nagios-users at lists.sourceforge.net > Objet?: RE: [Nagios-users] check-nt Windows 2003 Server > > Nobody told my Windows 2003 servers that! > > pnsClient.exe works fine on Win 2003. If you're on SP1, > disable DEP for > pnsclient.exe. > > Cheers, > > Phil > > -- > Phil Randal > Network Engineer > Herefordshire Council > Hereford, UK > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > Of REMY Julien > > Sent: 11 July 2006 15:48 > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] check-nt Windows 2003 Server > > > > after researches on Internet, check_nt and ntclient are > > compatible only with Windows NT, 2000 and XP but not with > > Windows 2003. > > > > Is there a solution? > > > > Thanks > > > > -----Message d'origine----- > > De?: REMY Julien > > Envoy??: mardi 11 juillet 2006 16:17 > > ??: nagios-users at lists.sourceforge.net > > Objet?: [Nagios-users] check-nt Windows 2003 Server > > > > Hello > > > > I want to view the free space in my servers in Windows 2000 > > and 2003. I configure the services.cfg file. That functions > > with the Windows 2000 servers but that isn't functions with > > the Windows 2003 Server. > > > > The error message is?: ??connexion refus?e?? (refused connection). > > > > In my checkcommands.cfg file?: > > > > # 'check_nt' command definition > > define command { > > command_name????? check-nt-disk > > command_line????? $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 > > -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > > } > > > > Why?? > > > > Thank you very much > > > > > > > > -------------------------------------------------------------- > > ----------- > > Using Tomcat but need to do more? Need to support web > > services, security? > > Get stuff done quickly with pre-integrated technology to make > > your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on > > Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > > dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.duffy at tney.northy.nhs.uk Tue Jul 11 17:13:49 2006 From: mark.duffy at tney.northy.nhs.uk (Mark Duffy) Date: Tue, 11 Jul 2006 16:13:49 +0100 Subject: check-nt Windows 2003 Server Message-ID: <97B21E709D62C643AF853C9543C488A1091074@FLEX3.tney.northy.nhs.uk> Which client are you using? I had to disable DEP in windows 2003 when using the NSclient as it would not start as a service -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Max H. Sent: 11 July 2006 16:06 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check-nt Windows 2003 Server REMY Julien wrote: > after researches on Internet, check_nt and ntclient are compatible only with Windows NT, 2000 and XP but not with Windows 2003. > > Is there a solution? > Do you have SNMP running on the clients you want to check disk space on? I'm not sure for 2003, but I know this plugin works on W2K for disk space. First here's the plugin: I'm defining a check command: # 'snmp_doze_disk' Windoze disk check for C: drive define command{ command_name snmp_doze_disk command_line $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ -C your_comm_string -m ^C: -w $ARG1$ -c $ARG2$ } Specify your args in the service you define to whatever suits your needs. Max ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This email may contain confidential information and may be read, copied and used only by the intended recipient. The information in this email transmission may not be legally revealed and is intended only for the use of the individual(s) named above. If you are not the intended recipient you are hereby notified that any use, dissemination, distribution or copying of this email message or its information is strictly prohibited. If you have received this email in error please notify the sender by reply or by telephoning +44 (0)1642 283949. Delete this message from your email system(s) and do not disclose its contents to any person. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Tue Jul 11 17:14:40 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 11 Jul 2006 10:14:40 -0500 Subject: check-nt Windows 2003 Server In-Reply-To: References: Message-ID: <1152630880.3947.235.camel@slowbox> On Tue, 2006-07-11 at 17:08 +0200, REMY Julien wrote: > What does this software ? The software's spouse? (what are you asking?) > -----Message d'origine----- > De : Randal, Phil [mailto:prandal at herefordshire.gov.uk] > Envoy? : mardi 11 juillet 2006 16:50 > ? : REMY Julien; nagios-users at lists.sourceforge.net > Objet : RE: [Nagios-users] check-nt Windows 2003 Server > > Nobody told my Windows 2003 servers that! > > pnsClient.exe works fine on Win 2003. If you're on SP1, disable DEP for > pnsclient.exe. > > Cheers, > > Phil > > -- > Phil Randal > Network Engineer > Herefordshire Council > Hereford, UK > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > Of REMY Julien > > Sent: 11 July 2006 15:48 > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] check-nt Windows 2003 Server > > > > after researches on Internet, check_nt and ntclient are > > compatible only with Windows NT, 2000 and XP but not with > > Windows 2003. > > > > Is there a solution? > > > > Thanks > > > > -----Message d'origine----- > > De : REMY Julien > > Envoy? : mardi 11 juillet 2006 16:17 > > ? : nagios-users at lists.sourceforge.net > > Objet : [Nagios-users] check-nt Windows 2003 Server > > > > Hello > > > > I want to view the free space in my servers in Windows 2000 > > and 2003. I configure the services.cfg file. That functions > > with the Windows 2000 servers but that isn't functions with > > the Windows 2003 Server. > > > > The error message is : ? connexion refus?e ? (refused connection). > > > > In my checkcommands.cfg file : > > > > # 'check_nt' command definition > > define command { > > command_name check-nt-disk > > command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 > > -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > > } > > > > Why ? > > > > Thank you very much > > > > > > > > -------------------------------------------------------------- > > ----------- > > Using Tomcat but need to do more? Need to support web > > services, security? > > Get stuff done quickly with pre-integrated technology to make > > your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on > > Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > > dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From apereira at duocom.ca Tue Jul 11 21:14:43 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Tue, 11 Jul 2006 15:14:43 -0400 Subject: Init error Message-ID: <1152645284.8907.2.camel@mtlnm.duocom.local> Hello, I am having an error show up when I do a status on the nagios The error is as follows: ********************************************************** /etc/rc.d/init.d/nagios status No lock file found in /usr/local/nagios/var/nagios.lock ********************************************************** Thanks ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From meo at intrinsity.com Tue Jul 11 21:18:33 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Tue, 11 Jul 2006 14:18:33 -0500 (CDT) Subject: Init error In-Reply-To: <1152645284.8907.2.camel@mtlnm.duocom.local> References: <1152645284.8907.2.camel@mtlnm.duocom.local> Message-ID: <20060711191833.D8E9538029@chuys.eng.intrinsity.com> Antonio Pereira said... | |Hello, | |I am having an error show up when I do a status on the nagios | | |The error is as follows: | |********************************************************** |/etc/rc.d/init.d/nagios status |No lock file found in /usr/local/nagios/var/nagios.lock Did you check permission? Mine shows: drwxr-xr-x 13 root root 4096 Jul 5 16:28 /var/run/ -rw-r--r-- 1 root root 6 Jul 5 16:28 /var/run/nagios.pid While the processes all end up running as nagios, the pid file gets written by root. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh.kessler at gmail.com Tue Jul 11 21:18:38 2006 From: josh.kessler at gmail.com (Josh Kessler) Date: Tue, 11 Jul 2006 12:18:38 -0700 Subject: Init error In-Reply-To: <1152645284.8907.2.camel@mtlnm.duocom.local> References: <1152645284.8907.2.camel@mtlnm.duocom.local> Message-ID: <4ffd433c0607111218x2790a87dnda1a661e17775f7b@mail.gmail.com> Does the file exist there? Did you configure the file to be somewhere else? Is nagios running? -Josh On 7/11/06, Antonio Pereira wrote: > Hello, > > I am having an error show up when I do a status on the nagios > > > The error is as follows: > > ********************************************************** > /etc/rc.d/init.d/nagios status > No lock file found in /usr/local/nagios/var/nagios.lock > ********************************************************** > > Thanks > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gthompson at carolina.rr.com Tue Jul 11 22:16:43 2006 From: gthompson at carolina.rr.com (gthompson at carolina.rr.com) Date: Tue, 11 Jul 2006 16:16:43 -0400 Subject: Missing file running ./configure on Solaris 8 (sparc) Message-ID: <380-220067211201643203@M2W009.mail2web.com> I'm getting this error message when I run the configure script before building and installing: (this is the config.log file) configure:1834: checking for C compiler default output file name configure:1837: gcc conftest.c >&5 ld: fatal: file values-Xa.o: open failed: No such file or directory ld: fatal: File processing errors. No output written to a.out collect2: ld returned 1 exit status configure:1840: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:1879: error: C compiler cannot create executables See `config.log' for more details. -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Tue Jul 11 22:21:40 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 11 Jul 2006 16:21:40 -0400 Subject: Missing file running ./configure on Solaris 8 (sparc) In-Reply-To: <380-220067211201643203@M2W009.mail2web.com> References: <380-220067211201643203@M2W009.mail2web.com> Message-ID: <302ce8b50607111321p18a968b5l7df52c2c26c866af@mail.gmail.com> On 7/11/06, gthompson at carolina.rr.com wrote: > I'm getting this error message when I run the configure script before > building and installing: (this is the config.log file) > configure:1879: error: C compiler cannot create executables > See `config.log' for more details. Sounds like you need to install gcc and the standard libs -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nazark at auska.com Tue Jul 11 22:32:39 2006 From: nazark at auska.com (Nazar Kulynych) Date: Tue, 11 Jul 2006 16:32:39 -0400 Subject: NSCA Message-ID: <44B40AE7.5070000@auska.com> I have problems sending messages from NSCA agent from solaris box to Nagios server. I have closely followed instructions from http://nagios.sourceforge.net/download/contrib/documentation/misc/NSCA_Setup.pdf and I was able to send test messages from localhost, but when I try to send the same message from remote server, all I could see in /var/log/messages that it opens up connection and closes it and remote host saying that 0 messages sent to the host. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue Jul 11 22:49:32 2006 From: jhmartin at toger.us (Jason Martin) Date: Tue, 11 Jul 2006 13:49:32 -0700 Subject: NSCA In-Reply-To: <44B40AE7.5070000@auska.com> References: <44B40AE7.5070000@auska.com> Message-ID: <20060711204932.GB2143@mal.toger.us> On Tue, Jul 11, 2006 at 04:32:39PM -0400, Nazar Kulynych wrote: > I have problems sending messages from NSCA agent from solaris box to > Nagios server. > > I have closely followed instructions from > http://nagios.sourceforge.net/download/contrib/documentation/misc/NSCA_Setup.pdf > > and I was able to send test messages from localhost, but when I try to > send the same message from remote > server, all I could see in /var/log/messages that it opens up connection > and closes it and remote host saying that > 0 messages sent to the host. tcp_wrappers perhaps? -Jason Martin -- Useless Invention: A freezer for Eskimos. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nazark at auska.com Tue Jul 11 22:52:14 2006 From: nazark at auska.com (Nazar Kulynych) Date: Tue, 11 Jul 2006 16:52:14 -0400 Subject: NSCA In-Reply-To: <20060711204932.GB2143@mal.toger.us> References: <44B40AE7.5070000@auska.com> <20060711204932.GB2143@mal.toger.us> Message-ID: <44B40F7E.5030202@auska.com> I have commented only_from in xinet.d/nsca I can telnet to nagios.server port 5667 Thanks Nazar Jason Martin wrote: > On Tue, Jul 11, 2006 at 04:32:39PM -0400, Nazar Kulynych wrote: > >> I have problems sending messages from NSCA agent from solaris box to >> Nagios server. >> >> I have closely followed instructions from >> http://nagios.sourceforge.net/download/contrib/documentation/misc/NSCA_Setup.pdf >> >> and I was able to send test messages from localhost, but when I try to >> send the same message from remote >> server, all I could see in /var/log/messages that it opens up connection >> and closes it and remote host saying that >> 0 messages sent to the host. >> > tcp_wrappers perhaps? > > -Jason Martin > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Tue Jul 11 23:29:57 2006 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 11 Jul 2006 13:29:57 -0800 Subject: Command File error Message-ID: <5ED341A5-C895-42F3-8979-48CE5C8AC849@frontierflying.com> Whenever I try to run a command from the nagios CGI's, I get an error saying: Error: Could not stat() command file '/usr/local/nagios//var/rw/ nagios.cmd'! The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. An error occurred while attempting to commit your command for processing. I have read through the documentation, and checked the permissions on the command directory both manually and by sing the make install- commandmode command. I have also verified that both my webserver and the nagios process user are in the group that owns the command directory. I still get the error though. Can anyone shed some light on this for me? Thanks. Israel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Wed Jul 12 00:52:16 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 11 Jul 2006 15:52:16 -0700 Subject: Command File error In-Reply-To: <5ED341A5-C895-42F3-8979-48CE5C8AC849@frontierflying.com> References: <5ED341A5-C895-42F3-8979-48CE5C8AC849@frontierflying.com> Message-ID: <20060711225216.GC31574@hermes.americas.hpqcorp.net> On Tue, 11 Jul 2006, Israel Brewster wrote: > Whenever I try to run a command from the nagios CGI's, I get an error > saying: > > Error: Could not stat() command file '/usr/local/nagios//var/rw/ > nagios.cmd'! > > The external command file may be missing, Nagios may not be running, > and/or Nagios may not be checking external commands. > > An error occurred while attempting to commit your command for > processing. > > I have read through the documentation, and checked the permissions on > the command directory both manually and by sing the make install- > commandmode command. I have also verified that both my webserver and > the nagios process user are in the group that owns the command > directory. I still get the error though. Can anyone shed some light > on this for me? Thanks. How about the nagios.cmd file? Is it there? Are the permissions set so that the webserver user can get to it? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dest.gov.au Wed Jul 12 01:40:03 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Wed, 12 Jul 2006 09:40:03 +1000 Subject: Howto force a notification (before the scheduled renotify time) for a down host/critical service ? Message-ID: <18544FA17F881A4DBC2F41AC89E46BA93C81BE@acexp005.portfolio.base> Dear Folks, How can I have Nagios (2.4) send a notification ahead of the scheduled time for next notification ? I would like to do this to send out notifications after a period of no-notifications ends (we have the view that people do not react well to even major crises between about midnight and 4-5 am so we don't send notifications during that period. However it would be nice to send out all the notifications for outages that occurred in the no-notification period at 5 am). At the moment we send a summary of outstanding faults generated by nagiostats (very useful, but I think it would be better to actually notify about all the extant problems above a certain severity. Since status.dat has all this information, it is not difficult to find whats not up. However, there does not appear to be an external command to do notification. The closest I could find (http://www.nagios.org/developerinfo/externalcommands/commandlist.php) appears to be SET_NOTIFICATION_NUMBER. Your comments are most welcome. Thank you, Yours sincerely. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Wed Jul 12 01:42:42 2006 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 11 Jul 2006 15:42:42 -0800 Subject: Command File error In-Reply-To: <20060711225216.GC31574@hermes.americas.hpqcorp.net> References: <5ED341A5-C895-42F3-8979-48CE5C8AC849@frontierflying.com> <20060711225216.GC31574@hermes.americas.hpqcorp.net> Message-ID: <38E90503-A065-4A56-AF42-23066D5FB5E7@frontierflying.com> Yes, the nagios.cmd file is automatically created when I start nagios. The file does have read and write permissions for the nagcmd group, and I have added the webserver to said group. Israel On Jul 11, 2006, at 2:52 PM, Patrick Morris wrote: > On Tue, 11 Jul 2006, Israel Brewster wrote: > >> Whenever I try to run a command from the nagios CGI's, I get an error >> saying: >> >> Error: Could not stat() command file '/usr/local/nagios//var/rw/ >> nagios.cmd'! >> >> The external command file may be missing, Nagios may not be running, >> and/or Nagios may not be checking external commands. >> >> An error occurred while attempting to commit your command for >> processing. >> >> I have read through the documentation, and checked the permissions on >> the command directory both manually and by sing the make install- >> commandmode command. I have also verified that both my webserver and >> the nagios process user are in the group that owns the command >> directory. I still get the error though. Can anyone shed some light >> on this for me? Thanks. > > How about the nagios.cmd file? Is it there? > > Are the permissions set so that the webserver user can get to it? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 12 03:39:19 2006 From: marc at ena.com (Marc Powell) Date: Tue, 11 Jul 2006 20:39:19 -0500 Subject: Command File error Message-ID: And restarted the web server presumably. That leaves 2 likely possibilities: - one or more of the directories above rw/ are not accessible by your web server user or - you have SELinux enabled and have not allowed http permissions by policy. You can use 'audit2allow -l -i /var/log/messages' to see if that's the case. I don't use SELinux so I can't provide you with a specific policy. -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Israel Brewster > Sent: Tuesday, July 11, 2006 6:43 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Command File error > > Yes, the nagios.cmd file is automatically created when I start > nagios. The file does have read and write permissions for the nagcmd > group, and I have added the webserver to said group. > > Israel > > On Jul 11, 2006, at 2:52 PM, Patrick Morris wrote: > > > On Tue, 11 Jul 2006, Israel Brewster wrote: > > > >> Whenever I try to run a command from the nagios CGI's, I get an error > >> saying: > >> > >> Error: Could not stat() command file '/usr/local/nagios//var/rw/ > >> nagios.cmd'! > >> > >> The external command file may be missing, Nagios may not be running, > >> and/or Nagios may not be checking external commands. > >> > >> An error occurred while attempting to commit your command for > >> processing. > >> > >> I have read through the documentation, and checked the permissions on > >> the command directory both manually and by sing the make install- > >> commandmode command. I have also verified that both my webserver and > >> the nagios process user are in the group that owns the command > >> directory. I still get the error though. Can anyone shed some light > >> on this for me? Thanks. > > > > How about the nagios.cmd file? Is it there? > > > > Are the permissions set so that the webserver user can get to it? > > > > ------------------------------------------------------------------------ - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Wed Jul 12 08:19:43 2006 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Wed, 12 Jul 2006 11:49:43 +0530 Subject: Nagios CONFIG ERROR! Message-ID: <6b16fb4c0607112319v6eee8fc0m7ff30332e703b295@mail.gmail.com> Hi All I have installed the nagios application and facing some problems while starting nagios [root at bdcworld conf.d]# rpm -qa | grep nagios nagios-2.4-1.el4.rf [root at bdcworld conf.d]# service nagios start Starting network monitor: nagios CONFIG ERROR! Start aborted. Check your Nagios configuration. [root at bdcworld conf.d]# Thanks and Regards Kaushal ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Wed Jul 12 08:30:29 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 12 Jul 2006 02:30:29 -0400 Subject: Nagios CONFIG ERROR! In-Reply-To: <6b16fb4c0607112319v6eee8fc0m7ff30332e703b295@mail.gmail.com> References: <6b16fb4c0607112319v6eee8fc0m7ff30332e703b295@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Kaushal Shriyan > Sent: Tuesday, July 11, 2006 11:20 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios CONFIG ERROR! > > Hi All > > I have installed the nagios application and facing some > problems while starting nagios > > [root at bdcworld conf.d]# rpm -qa | grep nagios > nagios-2.4-1.el4.rf [root at bdcworld conf.d]# service nagios > start Starting network monitor: nagios CONFIG ERROR! Start > aborted. Check your Nagios configuration. > [root at bdcworld conf.d]# Have you... Well, checked your configuration? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Wed Jul 12 08:37:10 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Wed, 12 Jul 2006 08:37:10 +0200 Subject: Nagios CONFIG ERROR! In-Reply-To: References: Message-ID: <7DCE1535-9001-4C95-8299-E59677E270BF@kilala.nl> On 12 Jul, 2006, at 8:30, Morris, Patrick wrote: >> -----Original Message----- >> Of Kaushal Shriyan >> Subject: [Nagios-users] Nagios CONFIG ERROR! >> >> Hi All >> >> I have installed the nagios application and facing some >> problems while starting nagios >> >> [root at bdcworld conf.d]# rpm -qa | grep nagios >> nagios-2.4-1.el4.rf [root at bdcworld conf.d]# service nagios >> start Starting network monitor: nagios CONFIG ERROR! Start >> aborted. Check your Nagios configuration. >> [root at bdcworld conf.d]# > > Have you... Well, checked your configuration? Nono... It must be something completely different! Checking your configuration is way too obvious. Maybe he should read the documentation first... That's probably it... /me trots off for a cup of coffee... Wednesday morning's without coffee make me cynical... :p Seriously... How often do questions like this pop up on the mailing list? I think I've seen this one about ten times the past three weeks... ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray.lapeyre at itng.com.au Wed Jul 12 08:49:26 2006 From: ray.lapeyre at itng.com.au (Ray La Peyre) Date: Wed, 12 Jul 2006 16:49:26 +1000 Subject: Nagios CONFIG ERROR! Message-ID: <53648F183C9B944B8881C5580FCBA73C123088@itng2.itnext.local> Try running this command to see where the error in your configuration is /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kaushal Shriyan Sent: Wednesday, 12 July 2006 4:20 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios CONFIG ERROR! Hi All I have installed the nagios application and facing some problems while starting nagios [root at bdcworld conf.d]# rpm -qa | grep nagios nagios-2.4-1.el4.rf [root at bdcworld conf.d]# service nagios start Starting network monitor: nagios CONFIG ERROR! Start aborted. Check your Nagios configuration. [root at bdcworld conf.d]# Thanks and Regards Kaushal ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Wed Jul 12 09:02:27 2006 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Wed, 12 Jul 2006 12:32:27 +0530 Subject: Nagios CONFIG ERROR! In-Reply-To: <53648F183C9B944B8881C5580FCBA73C123088@itng2.itnext.local> References: <53648F183C9B944B8881C5580FCBA73C123088@itng2.itnext.local> Message-ID: <6b16fb4c0607120002y273ad7d9n49dacd7782cb0657@mail.gmail.com> On 7/12/06, Ray La Peyre wrote: > Try running this command to see where the error in your configuration is > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kaushal > Shriyan > Sent: Wednesday, 12 July 2006 4:20 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios CONFIG ERROR! > > Hi All > > I have installed the nagios application and facing some problems while > starting nagios > > [root at bdcworld conf.d]# rpm -qa | grep nagios nagios-2.4-1.el4.rf > [root at bdcworld conf.d]# service nagios start Starting network monitor: > nagios CONFIG ERROR! Start aborted. Check your Nagios configuration. > [root at bdcworld conf.d]# > > Thanks and Regards > > Kaushal > > > ------------------------------------------------------------------------ > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Hi ALL Thanks for the quick turnaround is it #nagios -v /etc/nagios/nagios.cfg, the above command says [root at bdcworld nagios]# nagios -v /etc/nagios/nagios.cfg Nagios 2.4 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 05-31-2006 License: GPL Reading configuration data... Error: Command 'check-host-alive' has already been defined Error: Could not register command (config file '/etc/nagios/minimal.cfg', starting on line 76) ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. [root at bdcworld nagios]# Thanks and Regards Kaushal ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From VINAY_SHARMA at advanex.co.jp Wed Jul 12 09:44:16 2006 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Wed, 12 Jul 2006 16:44:16 +0900 Subject: Nagios CONFIG ERROR! Message-ID: just run this command you can find the error in file on exact line. /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg have to read setup manual 1st! Thanks & regards ************************************** Vinay Sharma I I S Advanex Inc (www.advanex.co.jp) Fon : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp "Kaushal Shriyan" ??: nagios-users at lists.sourceforge.net ???: cc: nagios-users-bounces at lists.sour ??: [Nagios-users] Nagios CONFIG ERROR! ceforge.net 2006/07/12 15:19 Hi All I have installed the nagios application and facing some problems while starting nagios [root at bdcworld conf.d]# rpm -qa | grep nagios nagios-2.4-1.el4.rf [root at bdcworld conf.d]# service nagios start Starting network monitor: nagios CONFIG ERROR! Start aborted. Check your Nagios configuration. [root at bdcworld conf.d]# Thanks and Regards Kaushal ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey at hyves.nl Wed Jul 12 10:02:06 2006 From: jeffrey at hyves.nl (jeffrey at hyves.nl) Date: Wed, 12 Jul 2006 10:02:06 +0200 Subject: Command File error In-Reply-To: <38E90503-A065-4A56-AF42-23066D5FB5E7@frontierflying.com> References: <5ED341A5-C895-42F3-8979-48CE5C8AC849@frontierflying.com> <20060711225216.GC31574@hermes.americas.hpqcorp.net> <38E90503-A065-4A56-AF42-23066D5FB5E7@frontierflying.com> Message-ID: <44B4AC7E.6050604@hyves.nl> Hey, Have you checked your nagios.cfg file? It seems to me like your command_file definition is incorrect and should be 'command_file=/usr/local/nagios/var/rw/nagios.cmd' instead of 'command_file=/usr/local/nagios//var/rw/nagios.cmd'. --------------------------------- Jeffrey Lensen hyves: http://skyler.hyves.nl mail/msn: jeffrey at hyves.nl Israel Brewster wrote: >Yes, the nagios.cmd file is automatically created when I start >nagios. The file does have read and write permissions for the nagcmd >group, and I have added the webserver to said group. > >Israel > >On Jul 11, 2006, at 2:52 PM, Patrick Morris wrote: > > > >>On Tue, 11 Jul 2006, Israel Brewster wrote: >> >> >> >>>Whenever I try to run a command from the nagios CGI's, I get an error >>>saying: >>> >>>Error: Could not stat() command file '/usr/local/nagios//var/rw/ >>>nagios.cmd'! >>> >>>The external command file may be missing, Nagios may not be running, >>>and/or Nagios may not be checking external commands. >>> >>>An error occurred while attempting to commit your command for >>>processing. >>> >>>I have read through the documentation, and checked the permissions on >>>the command directory both manually and by sing the make install- >>>commandmode command. I have also verified that both my webserver and >>>the nagios process user are in the group that owns the command >>>directory. I still get the error though. Can anyone shed some light >>>on this for me? Thanks. >>> >>> >>How about the nagios.cmd file? Is it there? >> >>Are the permissions set so that the webserver user can get to it? >> >> > > > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Wed Jul 12 10:20:26 2006 From: tom at ng23.net (Tom Brown) Date: Wed, 12 Jul 2006 09:20:26 +0100 Subject: Command File error In-Reply-To: <38E90503-A065-4A56-AF42-23066D5FB5E7@frontierflying.com> References: <5ED341A5-C895-42F3-8979-48CE5C8AC849@frontierflying.com> <20060711225216.GC31574@hermes.americas.hpqcorp.net> <38E90503-A065-4A56-AF42-23066D5FB5E7@frontierflying.com> Message-ID: <44B4B0CA.8000508@ng23.net> > Yes, the nagios.cmd file is automatically created when I start > nagios. The file does have read and write permissions for the nagcmd > group, and I have added the webserver to said group. have you restarted the webserver? Also note the // in the path ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 altinity.com Wed Jul 12 10:53:49 2006 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 12 Jul 2006 09:53:49 +0100 Subject: Howto force a notification (before the scheduled renotify time) for a down host/critical service ? In-Reply-To: <18544FA17F881A4DBC2F41AC89E46BA93C81BE@acexp005.portfolio.base> References: <18544FA17F881A4DBC2F41AC89E46BA93C81BE@acexp005.portfolio.base> Message-ID: <7D865972-3EDA-4A88-A59E-BBE49F1B5413@altinity.com> Hi Stanley, On 12 Jul 2006, at 00:40, wrote: > I would like to do this to send out notifications after a period of > no-notifications ends (we > have the view that people do not react well to even major crises > between > about midnight and 4-5 am so > we don't send notifications during that period. However it would be > nice > to send out all the > notifications for outages that occurred in the no-notification > period at > 5 am). Sorry, no solutions, just more questions :) We had it reported to us, but we haven't investigated further, that notifications do not get resent for a contact who has a timeperiod outside the original failure. For instance, assume a service has a timeperiod of 05:00 to 23:00 and contacts have timeperiods of 24 hours. If the service fails at 3am, Nagios will schedule the next check at 05:00. If it still fails at 05:00, contacts will be notified. Here's the section that says so in the docs: http:// nagios.sourceforge.net/docs/2_0/notifications.html: [quote] Note: If the [host or service] time period filter is not passed, Nagios will reschedule the next notification for the host or service (if its in a non-OK state) for the next valid time present in the time period. This helps ensure that contacts are notified of problems as soon as possible when the next valid time in time period arrives. [end quote] However, the converse is not true (and is arguably the more likely scenario). Assume the service is 24 hours, but the contacts have a timeperiod of 05:00 to 23:00. If the service fails at 3am, the service is considered to be notified, but the filter for sending notifications to contacts will fail. Contacts will not get notification unless there is a notification retry. We haven't investigated further, but, if the design documented at http://nagios.sourceforge.net/docs/2_0/notifications.html is accurate, that would be the case. I'm not sure what the long-term fix is. Maybe notification_number per contact? Perhaps scheduling of notifications? This is probably one for Ethan. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Wed Jul 12 13:35:25 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 12 Jul 2006 07:35:25 -0400 Subject: Nagios CONFIG ERROR! In-Reply-To: <6b16fb4c0607120002y273ad7d9n49dacd7782cb0657@mail.gmail.com> References: <53648F183C9B944B8881C5580FCBA73C123088@itng2.itnext.local> <6b16fb4c0607120002y273ad7d9n49dacd7782cb0657@mail.gmail.com> Message-ID: <302ce8b50607120435g2672d4fbx9cbb0a05579dbb5b@mail.gmail.com> > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg He's running the rpm installed version of nagios, so his paths are different. There's nothing in /usr/local for him. > is it #nagios -v /etc/nagios/nagios.cfg, > the above command says > > [root at bdcworld nagios]# nagios -v /etc/nagios/nagios.cfg > > Error: Command 'check-host-alive' has already been defined > Error: Could not register command (config file > '/etc/nagios/minimal.cfg', starting on line 76) The default configs are samples. It doesn't work or monitor anything out of the box. Your minimal.cfg and bigger.cfg are most likely conflicting with each other. Couple things you can do here. Step 1. Read the documentation. Seriously. We see this question on the list at least twice a week. Nagios requires a slightly anal method of thinking. EVERY little thing matters in the communication from nagios machine to the watched system. Step 2. Read the appropriate distro related documentation. For rpms coming from rpmforge and dag, there are a couple decent documents to turn to. http://www.cognitive-dissonance.org/wiki/Configuring+Nagios http://wiki.centos.org/Nagios_on_CentOS_4.x Those should walk you through pretty much whatever you need to know to get it working. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.remy at ohs.asso.fr Wed Jul 12 15:45:39 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Wed, 12 Jul 2006 15:45:39 +0200 Subject: Windows 2003 Server Message-ID: Hello, I have always my problem with Nagios (in Redhat EL 4) and my servers on Windows 2003 Server. I can't know the free space in my hard disk. A message Connexion refuse appears. Does somebody manage to know free space on the hard disk on Windows 2003 servers ??? Please help me !!!! Thank you ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Wed Jul 12 15:56:06 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Wed, 12 Jul 2006 14:56:06 +0100 Subject: Windows 2003 Server In-Reply-To: References: Message-ID: <44B4FF76.6030502@gmail.com> REMY Julien wrote: > Hello, > > I have always my problem with Nagios (in Redhat EL 4) and my servers on > Windows 2003 Server. I can't know the free space in my hard disk. A > message Connexion refuse appears. > > Does somebody manage to know free space on the hard disk on Windows 2003 > servers ??? > > Please help me !!!! > > Thank you > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > how are you trying to check the free space? if you can create a secret share you can check that for space using check_disk_smb -h ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thoanluutran at yahoo.com Wed Jul 12 16:09:12 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Wed, 12 Jul 2006 07:09:12 -0700 (PDT) Subject: Windows 2003 Server In-Reply-To: References: Message-ID: <20060712140912.88948.qmail@web60523.mail.yahoo.com> which plugin are you tring to use? look for check_storage_snmp????? i worked for me. best regards, tt. REMY Julien wrote: Hello, I have always my problem with Nagios (in Redhat EL 4) and my servers on Windows 2003 Server. I can't know the free space in my hard disk. A message Connexion refuse appears. Does somebody manage to know free space on the hard disk on Windows 2003 servers ??? Please help me !!!! Thank you ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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!? Everyone is raving about the all-new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thoanluutran at yahoo.com Wed Jul 12 16:09:54 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Wed, 12 Jul 2006 07:09:54 -0700 (PDT) Subject: Windows 2003 Server In-Reply-To: References: Message-ID: <20060712140954.15063.qmail@web60512.mail.yahoo.com> if you need a full syntax.. please let me know... tt. REMY Julien wrote: Hello, I have always my problem with Nagios (in Redhat EL 4) and my servers on Windows 2003 Server. I can't know the free space in my hard disk. A message Connexion refuse appears. Does somebody manage to know free space on the hard disk on Windows 2003 servers ??? Please help me !!!! Thank you ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.latorre at zertia.es Wed Jul 12 16:30:26 2006 From: david.latorre at zertia.es (David Latorre) Date: Wed, 12 Jul 2006 16:30:26 +0200 Subject: Setting scheduled downtimes a posteriori Message-ID: <44B50782.7090605@zertia.es> Hi, everyone. We are using Nagios 1.3 and were wondering if there is a way of setting downtimes a posteriori, I mean, once there has been an outage in a service, telling nagios that, actually, it was a scheduled downtime. We have tried it but it seems it has no effect when you calculate the availability... Our reason for doing this is that we would like to use Nagios to measure availabiliy of our clients' routers, in fact, of the lines to our clients? routers. It could happen then that they powered off the router for any reason without telling us first (a power cut, for instance) but there was no problem in the line. Although it?s not a real "scheduled downtime", it could be used to measure availabilty of the line... Any suggestions? Thanks in advance David Latorre ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.remy at ohs.asso.fr Wed Jul 12 16:42:25 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Wed, 12 Jul 2006 16:42:25 +0200 Subject: Windows 2003 Server Message-ID: Thank you for your help. I tried with 2 plugins : check_nt and check_snmp_storage. It functions with my windows 2000 servers but it not functions with my Windows 2003 servers. I discovered that on my windows 2003 servers, pNsclient is not installed. that can come from that. ________________________________ De : Tom Tran [mailto:thoanluutran at yahoo.com] Envoy? : mercredi 12 juillet 2006 16:10 ? : REMY Julien; nagios-users at lists.sourceforge.net Objet : Re: [Nagios-users] Windows 2003 Server if you need a full syntax.. please let me know... tt. REMY Julien wrote: Hello, I have always my problem with Nagios (in Redhat EL 4) and my servers on Windows 2003 Server. I can't know the free space in my hard disk. A message Connexion refuse appears. Does somebody manage to know free space on the hard disk on Windows 2003 servers ??? Please help me !!!! Thank you ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ________________________________ Sneak preview the all-new Yahoo.com . It's not radically different. Just radically better. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gdanko at gmail.com Wed Jul 12 16:43:30 2006 From: gdanko at gmail.com (Gary Danko) Date: Wed, 12 Jul 2006 07:43:30 -0700 Subject: CHECK_NRPE: Socket timeout Message-ID: <6c5c451f0607120743j7566399cl3b0826d05ec39da1@mail.gmail.com> I have two machines that are running nagios, mon0 and discostu. mon0 is able to check services via NRPE but discostu is not. Both machines can telnet to port 5666 on the target. root at discostu:/usr/lib/nagios/plugins# telnet 172.16.4.24 5666 Trying 172.16.4.24... Connected to 172.16.4.24. Escape character is '^]'. ^] telnet> quit root at discostu:/usr/lib/nagios/plugins# ./check_nrpe -H 172.16.4.24 -c check_sda1 -a 60 50 CHECK_NRPE: Socket timeout after 10 seconds. Meanwhile, on mon0... root at mon0:/usr/lib/nagios/plugins# telnet 172.16.4.24 5666 Trying 172.16.4.24... Connected to 172.16.4.24. Escape character is '^]'. ^] telnet> quit root at mon0:/usr/lib/nagios/plugins# ./check_nrpe -H 172.16.4.24 -c check_sda1 -a 60 50 DISK OK - free space: / 8749 MB (51%);| /=8329MB;17018;17028;0;17078 In 172.16.4.24's syslog I am seeing this when discostu tries to grab somne info. Jul 12 14:41:53 admin nrpe[18445]: Could not read request from client, bailing out... Jul 12 14:41:53 admin nrpe[18447]: Could not read request from client, bailing out.. Both mon0 and Discostu are Debian 3.1. Both are using NRPE 2.0. This makes no sense to me. Thanks in advance! :) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thoanluutran at yahoo.com Wed Jul 12 17:52:33 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Wed, 12 Jul 2006 08:52:33 -0700 (PDT) Subject: Windows 2003 Server In-Reply-To: References: Message-ID: <20060712155233.88300.qmail@web60514.mail.yahoo.com> I couldn't get it working with check_nt... but the check_snmp_storage worked just fine. can you do a snmpwalk from your nagios server to the 2003 to see if anything got returned? Thanks Tom REMY Julien wrote: v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Thank you for your help. I tried with 2 plugins : check_nt and check_snmp_storage. It functions with my windows 2000 servers but it not functions with my Windows 2003 servers. I discovered that on my windows 2003 servers, pNsclient is not installed. that can come from that. --------------------------------- De : Tom Tran [mailto:thoanluutran at yahoo.com] Envoy? : mercredi 12 juillet 2006 16:10 ? : REMY Julien; nagios-users at lists.sourceforge.net Objet : Re: [Nagios-users] Windows 2003 Server if you need a full syntax.. please let me know... tt. REMY Julien wrote: Hello, I have always my problem with Nagios (in Redhat EL 4) and my servers on Windows 2003 Server. I can't know the free space in my hard disk. A message Connexion refuse appears. Does somebody manage to know free space on the hard disk on Windows 2003 servers ??? Please help me !!!! Thank you ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thoanluutran at yahoo.com Wed Jul 12 17:53:51 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Wed, 12 Jul 2006 08:53:51 -0700 (PDT) Subject: Windows 2003 Server In-Reply-To: References: Message-ID: <20060712155351.12616.qmail@web60521.mail.yahoo.com> when you say, not working.. what does it mean? it does not return any values? thanks, tt. REMY Julien wrote: v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Thank you for your help. I tried with 2 plugins : check_nt and check_snmp_storage. It functions with my windows 2000 servers but it not functions with my Windows 2003 servers. I discovered that on my windows 2003 servers, pNsclient is not installed. that can come from that. --------------------------------- De : Tom Tran [mailto:thoanluutran at yahoo.com] Envoy? : mercredi 12 juillet 2006 16:10 ? : REMY Julien; nagios-users at lists.sourceforge.net Objet : Re: [Nagios-users] Windows 2003 Server if you need a full syntax.. please let me know... tt. REMY Julien wrote: Hello, I have always my problem with Nagios (in Redhat EL 4) and my servers on Windows 2003 Server. I can't know the free space in my hard disk. A message Connexion refuse appears. Does somebody manage to know free space on the hard disk on Windows 2003 servers ??? Please help me !!!! Thank you ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. --------------------------------- How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Wed Jul 12 18:11:34 2006 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 12 Jul 2006 08:11:34 -0800 Subject: Command File error In-Reply-To: <44B4B0CA.8000508@ng23.net> References: <5ED341A5-C895-42F3-8979-48CE5C8AC849@frontierflying.com> <20060711225216.GC31574@hermes.americas.hpqcorp.net> <38E90503-A065-4A56-AF42-23066D5FB5E7@frontierflying.com> <44B4B0CA.8000508@ng23.net> Message-ID: On Jul 12, 2006, at 12:20 AM, Tom Brown wrote: > >> Yes, the nagios.cmd file is automatically created when I start >> nagios. The file does have read and write permissions for the >> nagcmd group, and I have added the webserver to said group. > > have you restarted the webserver? Also note the // in the path Restarted the webserver several times. the // in the path came with the default config files, but I went ahead and changed it anyway. Didn't make any difference. Actually, having a double slash in a file path doesn't seem to make a difference anywhere- I have accidentally typed paths like that more than once, with no effect :) On Jul 11, 2006 at 8:39 PM, Marc Powell wrote: > And restarted the web server presumably. That leaves 2 likely > possibilities: > - one or more of the directories above rw/ are not accessible by > your web server user or > - you have SELinux enabled and have not allowed http permissions > by policy. You can use 'audit2allow -l -i /var/log/messages' to see if > that's the case. > > I don't use SELinux so I can't provide you with a specific policy. All directories in the path have read and execute permissions set for everybody. Most don't have write permissions, but I wouldn't think that would be an issue. Issuing the command you give returns the following result: allow httpd_sys_script_t usr_t:fifo_file getattr; allow httpd_sys_script_t usr_t:file write; allow unlabeled_t netif_eth0_t:netif rawip_recv; I don't know anything about SELinux though, so I have no clue if this is good, bad, or indifferent. Any thoughts? I also tried changing the permissions on the command file and enclosing folder so that anyone could read and write to them, just to see if that would fix the issue, but no change. So apparently it isn't a permissions issue, at least not directly with the file and enclosed folder. I just had a thought - in order to get the cgi's to work, I had to put them in the root level /var/www/cgi-bin folder, rather than the / usr/local/nagios/sbin folder. I modified the directory entry for this directory in the apache config file to match what the documentation said I needed for the sbin directory, but might this have something to do with the issue? Perhaps something somewhere else in the configs that specifically gives the cgis in the sbin directory permission to write to the command file? Dunno. Thanks everyone for the suggestions! Your help is much appreciated ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandeep-n-murthy at telecom.pt Wed Jul 12 18:48:41 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Wed, 12 Jul 2006 17:48:41 +0100 Subject: Timeouts In-Reply-To: <18544FA17F881A4DBC2F41AC89E46BA93C81BE@acexp005.portfolio.base> References: <18544FA17F881A4DBC2F41AC89E46BA93C81BE@acexp005.portfolio.base> Message-ID: Hi, I have a question regarding the various timeout variables. The service_check_timeout variable in Nagios.cfg h?s a value of 99, the command that invokes the remote plugin h?s the -t flag value as 170 and the remote plugin h?s a timeout value of 130 s. Whats happening is that Nagios return a CRITICAL: Service Check Timed Out error when the remote plugin sometimes exceeds 120 s. My question is which of the timeouts value is being enforced ?? I assume its the 99 s defined in the Nagios.cfg BUT if that is so, how does the plugin log indicates that it executed fine untill 120 s ???? I hope the above was clear ! Thanks in adv, sg ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 12 19:02:22 2006 From: marc at ena.com (Marc Powell) Date: Wed, 12 Jul 2006 12:02:22 -0500 Subject: Command File error Message-ID: > -----Original Message----- > From: Israel Brewster [mailto:israel at frontierflying.com] > Sent: Wednesday, July 12, 2006 11:12 AM > To: Tom Brown; Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Command File error > [chop] > > On Jul 11, 2006 at 8:39 PM, Marc Powell wrote: > > > And restarted the web server presumably. That leaves 2 likely > > possibilities: > > - one or more of the directories above rw/ are not accessible by > > your web server user or > > - you have SELinux enabled and have not allowed http permissions > > by policy. You can use 'audit2allow -l -i /var/log/messages' to see if > > that's the case. > > > > I don't use SELinux so I can't provide you with a specific policy. > > All directories in the path have read and execute permissions set for > everybody. Most don't have write permissions, but I wouldn't think > that would be an issue. Issuing the command you give returns the > following result: > > allow httpd_sys_script_t usr_t:fifo_file getattr; > allow httpd_sys_script_t usr_t:file write; > allow unlabeled_t netif_eth0_t:netif rawip_recv; > > I don't know anything about SELinux though, so I have no clue if this > is good, bad, or indifferent. Any thoughts? Bad. The first two lines indicate that SELinux is preventing httpd from accessing a fifo file (nagios.cmd almost certainly). Grep for nagios.cmd in /var/log/messages. You'll certainly see 'avc: denied' messages. audit2allow presents policy rules that would allow access to things that were blocked. Note that they are overly permissive though. You can either disable SELinux or modify your policy/permissions for nagios.cmd to allow access for httpd. There are numerous messages in the archive about SELinux. > > I also tried changing the permissions on the command file and > enclosing folder so that anyone could read and write to them, just to > see if that would fix the issue, but no change. So apparently it > isn't a permissions issue, at least not directly with the file and > enclosed folder. SELinux permissions are above and beyond normal file system permissions. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Wed Jul 12 19:54:29 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Wed, 12 Jul 2006 12:54:29 -0500 Subject: intermittent toolbar results Message-ID: Question: I've got nagios up and running and have defined hosts, hostgroups, service, etc..... After I authenticate to the web server and click on different cgi's on my toolbar to the left - results vary. By this I mean, sometimes my hosts will be displayed and sometime they won't be there at all. Further, sometimes the hosts will show down (in red) and sometimes I don't have permissions to view that exact cgi. Any ideas on why this is happening. Is there something I can tweak to circumvent this issue. -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Jul 12 19:56:26 2006 From: teng at dataway.com (Tedman Eng) Date: Wed, 12 Jul 2006 10:56:26 -0700 Subject: Howto force a notification (before the schedul ed renotify time) for a down host/critical service ? Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E2D@dw-mail.dataway.com> > From: Ton Voon [mailto:ton.voon at altinity.com] > > > wrote: > > I would like to do this to send out notifications after a period of > > no-notifications ends (we > > have the view that people do not react well to even major crises > > between > > about midnight and 4-5 am so > > we don't send notifications during that period. However it > would be > > nice > > to send out all the > > notifications for outages that occurred in the no-notification > > period at > > 5 am). > > Sorry, no solutions, just more questions :) > > We had it reported to us, but we haven't investigated further, that > notifications do not get resent for a contact who has a timeperiod > outside the original failure. > > For instance, assume a service has a timeperiod of 05:00 to > 23:00 and > contacts have timeperiods of 24 hours. If the service fails at 3am, > Nagios will schedule the next check at 05:00. If it still fails at > 05:00, contacts will be notified. That makes sense, that's how it's designed. If ANY timeperiod filter fails (service or contact timeperiod), the notification is not sent. When a service renotifies, it will check the filters again during that attempt. And again during the next re-notify attempt, and so on. > However, the converse is not true (and is arguably the more likely > scenario). Assume the service is 24 hours, but the contacts have a > timeperiod of 05:00 to 23:00. If the service fails at 3am, the > service is considered to be notified, but the filter for sending > notifications to contacts will fail. Contacts will not get > notification unless there is a notification retry. Same as above. The 3am notification failed a timeperiod filter, so the next renotification will test the filter again, and again, and so forth until one of the re-notification attempts passes all timeperiod filters. Perhaps you're getting confused about the statement in the docs: "Nagios will reschedule the next notification for the host or service for the next valid time...This helps ensure that contacts are notified of problems as soon as possible..." The nofifications are not actually scheduled for the next "valid" time. They are just re-notified according to the notification interval, and if all notification filters pass, then this is the "as soon as possible" described. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From raema at osuosl.org Wed Jul 12 19:56:42 2006 From: raema at osuosl.org (Matt Rae) Date: Wed, 12 Jul 2006 10:56:42 -0700 Subject: nagios stops checking Message-ID: <44B537DA.2010605@osuosl.org> About once a week, nagios stops checking. a restart fixes the problem. The problem has mostly recently been with 2.3.1. a config check lists 5 warnings for hosts with no services associated, but otherwise ok. I don't see anything telling in the logs. I'm wondering how I could turn up the logging verbosity to try and catch what is going on. Or is there a better way to troubleshoot this problem? -- Matt Rae Open Source Lab Oregon State University -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Jul 12 20:16:47 2006 From: teng at dataway.com (Tedman Eng) Date: Wed, 12 Jul 2006 11:16:47 -0700 Subject: Nagios CONFIG ERROR! Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E2F@dw-mail.dataway.com> > -----Original Message----- > From: Kaushal Shriyan [mailto:kaushalshriyan at gmail.com] > [root at bdcworld nagios]# nagios -v /etc/nagios/nagios.cfg > One or more problems was encountered while processing the config files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. The error message indicated exactly where the problem is: "Make sure to read the HTML documentation regarding the config files" And while you're reading the config section, it wouldnt hurt to read the other pages too. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Wed Jul 12 20:38:58 2006 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 12 Jul 2006 10:38:58 -0800 Subject: Command File error In-Reply-To: References: Message-ID: Thanks, that did it. I had thought I had disabled SELinux earlier for another issue, but apparently I hadn't done it correctly. At any rate, it's working now. Thanks. Israel On Jul 12, 2006, at 9:02 AM, Marc Powell wrote: > > >> -----Original Message----- >> From: Israel Brewster [mailto:israel at frontierflying.com] >> Sent: Wednesday, July 12, 2006 11:12 AM >> To: Tom Brown; Marc Powell >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Command File error >> > > [chop] > >> >> On Jul 11, 2006 at 8:39 PM, Marc Powell wrote: >> >>> And restarted the web server presumably. That leaves 2 likely >>> possibilities: >>> - one or more of the directories above rw/ are not accessible by >>> your web server user or >>> - you have SELinux enabled and have not allowed http permissions >>> by policy. You can use 'audit2allow -l -i /var/log/messages' to see > if >>> that's the case. >>> >>> I don't use SELinux so I can't provide you with a specific policy. >> >> All directories in the path have read and execute permissions set for >> everybody. Most don't have write permissions, but I wouldn't think >> that would be an issue. Issuing the command you give returns the >> following result: >> >> allow httpd_sys_script_t usr_t:fifo_file getattr; >> allow httpd_sys_script_t usr_t:file write; >> allow unlabeled_t netif_eth0_t:netif rawip_recv; >> >> I don't know anything about SELinux though, so I have no clue if this >> is good, bad, or indifferent. Any thoughts? > > Bad. The first two lines indicate that SELinux is preventing httpd > from > accessing a fifo file (nagios.cmd almost certainly). Grep for > nagios.cmd > in /var/log/messages. You'll certainly see 'avc: denied' messages. > audit2allow presents policy rules that would allow access to things > that > were blocked. Note that they are overly permissive though. You can > either disable SELinux or modify your policy/permissions for > nagios.cmd > to allow access for httpd. There are numerous messages in the archive > about SELinux. > >> >> I also tried changing the permissions on the command file and >> enclosing folder so that anyone could read and write to them, just to >> see if that would fix the issue, but no change. So apparently it >> isn't a permissions issue, at least not directly with the file and >> enclosed folder. > > SELinux permissions are above and beyond normal file system > permissions. > > > -- > Marc > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bruno.Nagano at grupont.com.br Wed Jul 12 20:50:32 2006 From: Bruno.Nagano at grupont.com.br (Bruno Nagano) Date: Wed, 12 Jul 2006 15:50:32 -0300 Subject: Custom Objects Message-ID: <3E478ED18E73F3419A0EEBDC41577B0C1D9645@grpntsys-srv07.grupont.com.br> Hi, I would like to know if it is possible to create a custom object in Nagios. I want to add a couple of fields to the server template, but when I try to insert a new field, the nagios service will not start. Can I add a text field to an object template? Thanks in advance, Bruno -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 altinity.com Wed Jul 12 21:12:38 2006 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 12 Jul 2006 20:12:38 +0100 Subject: Howto force a notification (before the schedul ed renotify time) for a down host/critical service ? In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E2D@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E2D@dw-mail.dataway.com> Message-ID: <361ED71A-A548-4893-9104-E7AB53F48032@altinity.com> On 12 Jul 2006, at 18:56, Tedman Eng wrote: >> For instance, assume a service has a timeperiod of 05:00 to >> 23:00 and >> contacts have timeperiods of 24 hours. If the service fails at 3am, >> Nagios will schedule the next check at 05:00. If it still fails at >> 05:00, contacts will be notified. >> > > That makes sense, that's how it's designed. If ANY timeperiod > filter fails > (service or contact timeperiod), the notification is not sent. When a > service renotifies, it will check the filters again during that > attempt. > And again during the next re-notify attempt, and so on. My understanding from the docs is that passing a service timeperiod acts differently than passing a contact timeperiod. Once a service timeperiod passes, the clock starts ticking for the next notification interval. So the two scenarios are not equivalent. >> However, the converse is not true (and is arguably the more likely >> scenario). Assume the service is 24 hours, but the contacts have a >> timeperiod of 05:00 to 23:00. If the service fails at 3am, the >> service is considered to be notified, but the filter for sending >> notifications to contacts will fail. Contacts will not get >> notification unless there is a notification retry. > > Same as above. The 3am notification failed a timeperiod filter, so > the next > renotification will test the filter again, and again, and so forth > until one > of the re-notification attempts passes all timeperiod filters. But this is the situation Stanley is asking for: how to get notifications of errors when a contact's timeperiod becomes available. Let's say this: if the failure happened at 3am, the contact is not within timeperiod and *no* notification interval is set. The notification will never happen. I don't think this is right. I would expect, possibly naively, that I would get all the notifications, but only during the times I want. Maybe you just should always set a notification interval. But it can't be too frequent because it would be annoying, but then that creates a longer lag time... I did start by saying I didn't have any answers :) Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Jul 12 21:27:57 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 12 Jul 2006 21:27:57 +0200 (CEST) Subject: Nagios CONFIG ERROR! In-Reply-To: <7DCE1535-9001-4C95-8299-E59677E270BF@kilala.nl> References: <7DCE1535-9001-4C95-8299-E59677E270BF@kilala.nl> Message-ID: On Wed, 12 Jul 2006, Thomas Sluyter wrote: > Seriously... How often do questions like this pop up on the mailing > list? I think I've seen this one about ten times the past three weeks... I just wonder. Would it help if we put a little quiz online that people must answer with a sufficient number of points before they can download the software? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Jul 12 21:33:05 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 12 Jul 2006 21:33:05 +0200 (CEST) Subject: intermittent toolbar results In-Reply-To: References: Message-ID: On Wed, 12 Jul 2006, Justin Craig wrote: > Question: I've got nagios up and running and have defined hosts, > hostgroups, service, etc..... After I authenticate to the web server and > click on different cgi's on my toolbar to the left - results vary. By this > I mean, sometimes my hosts will be displayed and sometime they won't be > there at all. Further, sometimes the hosts will show down (in red) and > sometimes I don't have permissions to view that exact cgi. > > Any ideas on why this is happening. Is there something I can tweak to > circumvent this issue. If the webinterface seems to behave erratic you need to shtop all nagios processes and start just one daemon. Multiple daemons are a common cause for this behaviour. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Jul 12 21:37:19 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 12 Jul 2006 21:37:19 +0200 (CEST) Subject: nagios stops checking In-Reply-To: <44B537DA.2010605@osuosl.org> References: <44B537DA.2010605@osuosl.org> Message-ID: On Wed, 12 Jul 2006, Matt Rae wrote: > About once a week, nagios stops checking. a restart fixes the problem. > The problem has mostly recently been with 2.3.1. Try 2.4 instead. There were some known issues with the daemon dying. I have not seen them with 2.3 (and above) anymore but I don't think it will hurt to try. See also: http://www.nagios.org/development/changelog.php Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Jul 12 21:39:33 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 12 Jul 2006 21:39:33 +0200 (CEST) Subject: Custom Objects In-Reply-To: <3E478ED18E73F3419A0EEBDC41577B0C1D9645@grpntsys-srv07.grupont.com.br> References: <3E478ED18E73F3419A0EEBDC41577B0C1D9645@grpntsys-srv07.grupont.com.br> Message-ID: On Wed, 12 Jul 2006, Bruno Nagano wrote: > I would like to know if it is possible to create a custom object in > Nagios. I want to add a couple of fields to the server template, but > when I try to insert a new field, the nagios service will not start. Can > I add a text field to an object template? You need to be more specific. What error do you get? What kind of a change did you make exactly? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.gale at pason.com Wed Jul 12 21:40:29 2006 From: michael.gale at pason.com (Michael Gale) Date: Wed, 12 Jul 2006 13:40:29 -0600 Subject: Howto force a notification (before the schedul ed renotify time) for a down host/critical service ? In-Reply-To: <361ED71A-A548-4893-9104-E7AB53F48032@altinity.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E2D@dw-mail.dataway.com> <361ED71A-A548-4893-9104-E7AB53F48032@altinity.com> Message-ID: <44B5502D.30407@pason.com> Hello, You could do the following: Setup to two contacts for each person: personA-local personA-remote personA-local goes to their main e-mail address (ours is our exchange mail box). Time frame 24hrs personA-remote goes to their mobilie device (ours goes to our phone). Time frame 7-23 That way in the evening between 23-7 I do not get messages to my phone and when I am awake and check my main e-mail account I see all the notifications that came through. Michael Ton Voon wrote: > > On 12 Jul 2006, at 18:56, Tedman Eng wrote: > >>> For instance, assume a service has a timeperiod of 05:00 to >>> 23:00 and >>> contacts have timeperiods of 24 hours. If the service fails at 3am, >>> Nagios will schedule the next check at 05:00. If it still fails at >>> 05:00, contacts will be notified. >>> >> >> That makes sense, that's how it's designed. If ANY timeperiod filter >> fails >> (service or contact timeperiod), the notification is not sent. When a >> service renotifies, it will check the filters again during that attempt. >> And again during the next re-notify attempt, and so on. > > > My understanding from the docs is that passing a service timeperiod acts > differently than passing a contact timeperiod. Once a service timeperiod > passes, the clock starts ticking for the next notification interval. So > the two scenarios are not equivalent. > > >>> However, the converse is not true (and is arguably the more likely >>> >>> scenario). Assume the service is 24 hours, but the contacts have a >>> >>> timeperiod of 05:00 to 23:00. If the service fails at 3am, the >>> >>> service is considered to be notified, but the filter for sending >>> >>> notifications to contacts will fail. Contacts will not get >>> >>> notification unless there is a notification retry. >>> >> >> Same as above. The 3am notification failed a timeperiod filter, so >> the next >> >> renotification will test the filter again, and again, and so forth >> until one >> >> of the re-notification attempts passes all timeperiod filters. >> > > But this is the situation Stanley is asking for: how to get > notifications of errors when a contact's timeperiod becomes available. > > Let's say this: if the failure happened at 3am, the contact is not > within timeperiod and *no* notification interval is set. The > notification will never happen. I don't think this is right. I would > expect, possibly naively, that I would get all the notifications, but > only during the times I want. > > Maybe you just should always set a notification interval. But it can't > be too frequent because it would be annoying, but then that creates a > longer lag time... > > I did start by saying I didn't have any answers :) > > Ton > > http://www.altinity.com > T: +44 (0)870 787 9243 > F: +44 (0)845 280 1725 > Skype: tonvoon > > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Michael Gale Red Hat Certified Engineer Network Administrator Pason Systems Corp. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bruno.Nagano at grupont.com.br Wed Jul 12 21:50:27 2006 From: Bruno.Nagano at grupont.com.br (Bruno Nagano) Date: Wed, 12 Jul 2006 16:50:27 -0300 Subject: RES: Custom Objects Message-ID: <3E478ED18E73F3419A0EEBDC41577B0C1D965F@grpntsys-srv07.grupont.com.br> I am trying to add a code field to the server template: In the "bigger.cfg" define host{ name generic-host ; The name of this host template - referenced in other host definitions, used for template recursion/resolution notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts cd_object 1 ;New field in order to place a constant value register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } What I want to do is to add a field to the object so I can read it and send to my notification plug-in. I need the extra bit of info in order to access a database for failures. Thanks in advance, Bruno -----Mensagem original----- De: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Hugo van der Kooij Enviada em: quarta-feira, 12 de julho de 2006 16:40 Para: Nagios Users Mailinglist Assunto: Re: [Nagios-users] Custom Objects On Wed, 12 Jul 2006, Bruno Nagano wrote: > I would like to know if it is possible to create a custom object in > Nagios. I want to add a couple of fields to the server template, but > when I try to insert a new field, the nagios service will not start. Can > I add a text field to an object template? You need to be more specific. What error do you get? What kind of a change did you make exactly? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Marshall at g2support.com Wed Jul 12 21:52:11 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Wed, 12 Jul 2006 20:52:11 +0100 Subject: Port 80 response time checker with logging In-Reply-To: References: Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C866E@indigo.G2Support.local> Does anyone know if there is a plugin for nagios that will measure (and log) response times from a servers port 80 ? I need to test and monitor the response times of a site on an IIS server. These responses need to be logged so that I can graph the response over time. Olly ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Wed Jul 12 21:53:46 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Wed, 12 Jul 2006 14:53:46 -0500 Subject: intermittent toolbar results In-Reply-To: References: Message-ID: I can try this. Any other ideas - could it be a plugin issue? On 7/12/06, Hugo van der Kooij wrote: > > On Wed, 12 Jul 2006, Justin Craig wrote: > > > Question: I've got nagios up and running and have defined hosts, > > hostgroups, service, etc..... After I authenticate to the web server > and > > click on different cgi's on my toolbar to the left - results vary. By > this > > I mean, sometimes my hosts will be displayed and sometime they won't be > > there at all. Further, sometimes the hosts will show down (in red) and > > sometimes I don't have permissions to view that exact cgi. > > > > Any ideas on why this is happening. Is there something I can tweak to > > circumvent this issue. > > If the webinterface seems to behave erratic you need to shtop all nagios > processes and start just one daemon. > > Multiple daemons are a common cause for this behaviour. > > Hugo. > > -- > I hate duplicates. Just reply to the relevant mailinglist. > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > Don't meddle in the affairs of magicians, > for they are subtle and quick to anger. > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Jul 12 21:57:12 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 12 Jul 2006 21:57:12 +0200 (CEST) Subject: RES: Custom Objects In-Reply-To: <3E478ED18E73F3419A0EEBDC41577B0C1D965F@grpntsys-srv07.grupont.com.br> References: <3E478ED18E73F3419A0EEBDC41577B0C1D965F@grpntsys-srv07.grupont.com.br> Message-ID: On Wed, 12 Jul 2006, Bruno Nagano wrote: > I am trying to add a code field to the server template: .... > cd_object 1 ;New field in order to place a > constant value You can't just make up fields. If it ain't in the manual you are not allowed to add it. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 12 21:59:19 2006 From: marc at ena.com (Marc Powell) Date: Wed, 12 Jul 2006 14:59:19 -0500 Subject: Setting scheduled downtimes a posteriori Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of David Latorre > Sent: Wednesday, July 12, 2006 9:30 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Setting scheduled downtimes a posteriori > > Hi, everyone. > > We are using Nagios 1.3 and were wondering if there is a way of setting > downtimes a posteriori, I mean, once there has been an outage in a > service, telling nagios that, actually, it was a scheduled downtime. We > have tried it but it seems it has no effect when you calculate the > availability... Definitely not through the gui. This is untested but since the reports use the log files only for their information, I would imagine that you can just insert downtime log entries at the correct time locations in the correct log file -- For a host -- [1105463596] HOST DOWNTIME ALERT: sample-hostname;STARTED; Host has entered a period of scheduled downtime [1105470770] HOST DOWNTIME ALERT: sample-hostname;STOPPED; Host has exited from a period of scheduled downtime For a service -- [1105467783] SERVICE DOWNTIME ALERT: someother-hostname;PING;STARTED; Service has entered a period of scheduled downtime [other normal log entries] [1105474963] SERVICE DOWNTIME ALERT: someother-hostname;PING;STOPPED; Service has exited from a period of scheduled downtime The numbers in [] are the timestamp for the beginning and end of the downtimes. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 12 21:59:58 2006 From: marc at ena.com (Marc Powell) Date: Wed, 12 Jul 2006 14:59:58 -0500 Subject: RES: Custom Objects Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij > Sent: Wednesday, July 12, 2006 2:57 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] RES: Custom Objects > > On Wed, 12 Jul 2006, Bruno Nagano wrote: > > > I am trying to add a code field to the server template: > > .... > > > cd_object 1 ;New field in order to place a > > constant value > > You can't just make up fields. If it ain't in the manual you are not > allowed to add it. But that capability is coming in 3.0... -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Jul 12 22:00:32 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 12 Jul 2006 22:00:32 +0200 (CEST) Subject: Port 80 response time checker with logging In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C866E@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C866E@indigo.G2Support.local> Message-ID: On Wed, 12 Jul 2006, Oliver Marshall wrote: > Does anyone know if there is a plugin for nagios that will measure (and > log) response times from a servers port 80 ? Try check_tcp on port 80. Or just use check_http because it will tell you how much time it too to get a reply. Like: HTTP OK HTTP/1.1 200 OK - 4742 bytes in 0.114 seconds All you need to do is setup a performance monitor. Checkout http://www.nagiosexchange.org/ for one that fits you. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ludse.Verhoeven at VOPAK.COM Wed Jul 12 22:02:47 2006 From: Ludse.Verhoeven at VOPAK.COM (Ludse Verhoeven) Date: Wed, 12 Jul 2006 22:02:47 +0200 Subject: Ludse Verhoeven is out of the office. Message-ID: I will be out of the office starting 12-07-2006 and will not return until 31-07-2006. I will respond to your message when I return. For urgent matters you can contact Peter Tameris. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 12 22:18:27 2006 From: marc at ena.com (Marc Powell) Date: Wed, 12 Jul 2006 15:18:27 -0500 Subject: Timeouts Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sandeep Narasimha Murthy > Sent: Wednesday, July 12, 2006 11:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Timeouts > > Hi, > > I have a question regarding the various timeout variables. > > The service_check_timeout variable in Nagios.cfg h?s a value of 99, the > command that invokes the remote plugin h?s the -t flag value as 170 and > the remote plugin h?s a timeout value of 130 s. > > Whats happening is that Nagios return a CRITICAL: Service Check Timed Out > error when the remote plugin sometimes exceeds 120 s. My question is > which of the timeouts value is being enforced ?? > > I assume its the 99 s defined in the Nagios.cfg BUT if that is so, how > does the plugin log indicates that it executed fine untill 120 s ???? The timeouts would work as follows -- 1) Nagios will wait for the plugin to respond up to service_check_timeout, then kill it. This is really the upper limit on how long a plugin should be able to run and is there in the event a plugin doesn't terminate in a timely manner. 2) Each plugin may or may not have a built-in timeout option. The plugin should abort itself at that time interval. 3) Remotely executed plugins will either have a limit like (2) and/or the plugin/script executing the remote plugin, whatever that may be, may have a limit (2). Depending on what that script is, it may not be able to terminate the execution of the remote plugin. Most likely, if it's killed by nagios the remote plugin execution becomes a disconnected session. It may or may not complete. What plugin log are you referring to? I'm not aware of any plugin execution logging. You'd have to provide more specific details about the plugins involved for more specific answers. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 12 22:22:31 2006 From: marc at ena.com (Marc Powell) Date: Wed, 12 Jul 2006 15:22:31 -0500 Subject: Port 80 response time checker with logging Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Oliver Marshall > Sent: Wednesday, July 12, 2006 2:52 PM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Port 80 response time checker with logging > > Does anyone know if there is a plugin for nagios that will measure (and > log) response times from a servers port 80 ? > > I need to test and monitor the response times of a site on an IIS > server. These responses need to be logged so that I can graph the > response over time. Enable performance data and use check_http -- $ ./check_http -H www.google.com HTTP OK HTTP/1.0 200 OK - 2742 bytes in 0.065 seconds |time=0.065151s;;;0.000000 size=2742B;;;0 Alternately, there are other tools that do this kind of thing as well; cricket and smokeping come to mind. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Marshall at g2support.com Wed Jul 12 22:35:51 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Wed, 12 Jul 2006 21:35:51 +0100 Subject: Port 80 response time checker with logging In-Reply-To: References: Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C866F@indigo.G2Support.local> Thanks. One last question, how do I turn on Performance Data ? :) -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: 12 July 2006 21:23 To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Port 80 response time checker with logging > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Oliver Marshall > Sent: Wednesday, July 12, 2006 2:52 PM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Port 80 response time checker with logging > > Does anyone know if there is a plugin for nagios that will measure (and > log) response times from a servers port 80 ? > > I need to test and monitor the response times of a site on an IIS > server. These responses need to be logged so that I can graph the > response over time. Enable performance data and use check_http -- $ ./check_http -H www.google.com HTTP OK HTTP/1.0 200 OK - 2742 bytes in 0.065 seconds |time=0.065151s;;;0.000000 size=2742B;;;0 Alternately, there are other tools that do this kind of thing as well; cricket and smokeping come to mind. -- Marc ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Wed Jul 12 22:37:12 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Wed, 12 Jul 2006 22:37:12 +0200 Subject: Nagios CONFIG ERROR! In-Reply-To: References: <7DCE1535-9001-4C95-8299-E59677E270BF@kilala.nl> Message-ID: <167FDE6A-1FF5-4EE5-9D5E-EA72556077EA@kilala.nl> On 12 Jul, 2006, at 21:27, Hugo van der Kooij wrote: > On Wed, 12 Jul 2006, Thomas Sluyter wrote: > >> Seriously... How often do questions like this pop up on the mailing >> list? I think I've seen this one about ten times the past three >> weeks... > > I just wonder. Would it help if we put a little quiz online that > people > must answer with a sufficient number of points before they can > download > the software? If you were being sarcastic: thanks for the giggle... I deserved that. I guess I do have a tendency to be all high-and-mighty at times. And if you were being serious and joining me in my complaint: nah... put the quiz on joining the mailing list instead :p Have a good evening! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Wed Jul 12 22:38:58 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 12 Jul 2006 13:38:58 -0700 Subject: intermittent toolbar results In-Reply-To: References: Message-ID: <20060712203858.GC7693@hermes.americas.hpqcorp.net> On Wed, 12 Jul 2006, Justin Craig wrote: > I can try this. > > Any other ideas - could it be a plugin issue? > > > On 7/12/06, Hugo van der Kooij wrote: > > > >On Wed, 12 Jul 2006, Justin Craig wrote: > > > >> Question: I've got nagios up and running and have defined hosts, > >> hostgroups, service, etc..... After I authenticate to the web server > >and > >> click on different cgi's on my toolbar to the left - results vary. By > >this > >> I mean, sometimes my hosts will be displayed and sometime they won't be > >> there at all. Further, sometimes the hosts will show down (in red) and > >> sometimes I don't have permissions to view that exact cgi. > >> > >> Any ideas on why this is happening. Is there something I can tweak to > >> circumvent this issue. > > > >If the webinterface seems to behave erratic you need to shtop all nagios > >processes and start just one daemon. > > > >Multiple daemons are a common cause for this behaviour. Try restarting Nagios first. This one's actually a FAQ: http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=false Suggesting anything else at this point would be pure speculation, especially when there's a likely cause that hasn't been ruled out yet. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Wed Jul 12 22:39:40 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Wed, 12 Jul 2006 22:39:40 +0200 Subject: RES: Custom Objects In-Reply-To: References: <3E478ED18E73F3419A0EEBDC41577B0C1D965F@grpntsys-srv07.grupont.com.br> Message-ID: On 12 Jul, 2006, at 21:57, Hugo van der Kooij wrote: > On Wed, 12 Jul 2006, Bruno Nagano wrote: > >> I am trying to add a code field to the server template: > > .... > >> cd_object 1 ;New field in order to place a >> constant value > > You can't just make up fields. If it ain't in the manual you are not > allowed to add it. True that... But could he use the HostExtInfo bit for stuff like this? Like the URL stuff? I've never used it before, but AFAIK that's what the ExtInfo is here for... ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Wed Jul 12 22:40:47 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 12 Jul 2006 13:40:47 -0700 Subject: Port 80 response time checker with logging In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C866F@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C866F@indigo.G2Support.local> Message-ID: <20060712204047.GD7693@hermes.americas.hpqcorp.net> On Wed, 12 Jul 2006, Oliver Marshall wrote: > Thanks. > > One last question, how do I turn on Performance Data ? :) At the risk of stating the obvious (something that seems to be going around lately)... See "Performance Data" in the docs. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcraig.email at gmail.com Wed Jul 12 22:42:51 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Wed, 12 Jul 2006 15:42:51 -0500 Subject: intermittent toolbar results In-Reply-To: <20060712203858.GC7693@hermes.americas.hpqcorp.net> References: <20060712203858.GC7693@hermes.americas.hpqcorp.net> Message-ID: what threw me were the inconsistancies, plus the error i received after clicking host detail. I did a *ps axu | grep nagios and had like six instances of nagios running. I killed them each one by one then restarted the service. Problem seems to have gone away.* ** *THanks,* *Justin* On 7/12/06, Patrick Morris wrote: > > On Wed, 12 Jul 2006, Justin Craig wrote: > > > I can try this. > > > > Any other ideas - could it be a plugin issue? > > > > > > On 7/12/06, Hugo van der Kooij wrote: > > > > > >On Wed, 12 Jul 2006, Justin Craig wrote: > > > > > >> Question: I've got nagios up and running and have defined hosts, > > >> hostgroups, service, etc..... After I authenticate to the web > server > > >and > > >> click on different cgi's on my toolbar to the left - results > vary. By > > >this > > >> I mean, sometimes my hosts will be displayed and sometime they won't > be > > >> there at all. Further, sometimes the hosts will show down (in red) > and > > >> sometimes I don't have permissions to view that exact cgi. > > >> > > >> Any ideas on why this is happening. Is there something I can tweak > to > > >> circumvent this issue. > > > > > >If the webinterface seems to behave erratic you need to shtop all > nagios > > >processes and start just one daemon. > > > > > >Multiple daemons are a common cause for this behaviour. > > Try restarting Nagios first. This one's actually a FAQ: > > > http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=false > > Suggesting anything else at this point would be pure speculation, > especially when there's a likely cause that hasn't been ruled out yet. > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flare04 at gmail.com Thu Jul 13 00:05:03 2006 From: flare04 at gmail.com (Phil Manuel) Date: Thu, 13 Jul 2006 08:05:03 +1000 Subject: Scheduler not running Message-ID: <70caa9c30607121505o129115adwcb52b5f4b77369aa@mail.gmail.com> Hi, We are running Nagios 2.3.1 on Solaris, downloaded from blastwave. Recently we have noticed that the scheduler halts and doesn't process any commands. We can see events going into the log still. Our network isn't very big, only comprising 20 devices. So it should be handling this easily. The load on the box at the time was 1.2. The service checks are split equally between active and passive checks. We have however taken down half of the network to rebuild it. What is the likely cause ? I admit i haven't looked int he Nagios log file yet for any errors. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Jul 13 00:28:09 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 13 Jul 2006 00:28:09 +0200 (CEST) Subject: Nagios CONFIG ERROR! In-Reply-To: <167FDE6A-1FF5-4EE5-9D5E-EA72556077EA@kilala.nl> References: <7DCE1535-9001-4C95-8299-E59677E270BF@kilala.nl> <167FDE6A-1FF5-4EE5-9D5E-EA72556077EA@kilala.nl> Message-ID: On Wed, 12 Jul 2006, Thomas Sluyter wrote: > On 12 Jul, 2006, at 21:27, Hugo van der Kooij wrote: > > > On Wed, 12 Jul 2006, Thomas Sluyter wrote: > > > >> Seriously... How often do questions like this pop up on the mailing > >> list? I think I've seen this one about ten times the past three > >> weeks... > > > > I just wonder. Would it help if we put a little quiz online that > > people > > must answer with a sufficient number of points before they can > > download > > the software? > > If you were being sarcastic: thanks for the giggle... I deserved > that. I guess I do have a tendency to be all high-and-mighty at times. > > And if you were being serious and joining me in my complaint: nah... > put the quiz on joining the mailing list instead :p I guess both options apply ;-) But my Python skills are virtual nill. So I am afraid I can't write the mailman module. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Thu Jul 13 01:00:58 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 12 Jul 2006 16:00:58 -0700 Subject: Nagios CONFIG ERROR! In-Reply-To: References: <7DCE1535-9001-4C95-8299-E59677E270BF@kilala.nl> <167FDE6A-1FF5-4EE5-9D5E-EA72556077EA@kilala.nl> Message-ID: <20060712230058.GN7693@hermes.americas.hpqcorp.net> On Thu, 13 Jul 2006, Hugo van der Kooij wrote: > But my Python skills are virtual nill. So I am afraid I can't write the > mailman module. God help the python-mailman-quiz-module-users mailing list. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Thu Jul 13 02:37:11 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 12 Jul 2006 21:37:11 -0300 Subject: html tags through ocsp command Message-ID: <1152751031.2332.15.camel@localhost> Hello all We used to use html tags on some of our home-made plugins output, to bold some information, but when echoed through submit_check_result, all tag characters gets stripped. Twealing with quotes and double quotes did not solve the issue. Anyone has any idea or has solved this kind of problem before? TIA, Marcel AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Thu Jul 13 03:32:03 2006 From: teng at dataway.com (Tedman Eng) Date: Wed, 12 Jul 2006 18:32:03 -0700 Subject: Howto force a notification (before the schedul ed renotify time) for a down host/critical service ? Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E34@dw-mail.dataway.com> One way to do this is to set up a queuing system separate from nagios, ie using cron. During normal hours, 5am-12midnight, nothing's changed. During sleepytime, we instead echo the notifications to a file, and then later run all the queued notifications at the desired time from cron. Here's a quick hack: 1. The normal contact: 5am-12am, executes "notify-by-email" Create a new "queued" contact: 12am-5am, executes "notify-by-email-queued" 2. notify-by-email = /usr/bin/mail $CONTACT$ -s $HOST$ is $STATUS$ notify-by-email-queue = echo "/usr/bin/mail $CONTACT$ -s $HOST$ is $STATUS$" >> /tmp/queue 3. Set up a cron entry to run the queued notifications 0 5 * * * sh /tmp/queue;rm /tmp/queue (note: arbitrarily running a file from /tmp is not secure) > -----Original Message----- > From: Stanley.Hopcroft at Dest.gov.au > [mailto:Stanley.Hopcroft at Dest.gov.au] > Sent: Tuesday, July 11, 2006 4:40 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Howto force a notification (before > the scheduled > renotify time) for a down host/critical service ? > > > Dear Folks, > > How can I have Nagios (2.4) send a notification ahead of the scheduled > time for next notification ? > > I would like to do this to send out notifications after a period of > no-notifications ends (we > have the view that people do not react well to even major > crises between > about midnight and 4-5 am so > we don't send notifications during that period. However it > would be nice > to send out all the > notifications for outages that occurred in the > no-notification period at > 5 am). > > At the moment we send a summary of outstanding faults generated by > nagiostats (very useful, > but I think it would be better to actually notify about all the extant > problems above > a certain severity. > > Since status.dat has all this information, it is not difficult to find > whats not up. > > However, there does not appear to be an external command to do > notification. > > The closest I could find > (http://www.nagios.org/developerinfo/externalcommands/commandlist.php) > appears to be SET_NOTIFICATION_NUMBER. > > Your comments are most welcome. > > Thank you, > > Yours sincerely. > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Thu Jul 13 03:53:23 2006 From: teng at dataway.com (Tedman Eng) Date: Wed, 12 Jul 2006 18:53:23 -0700 Subject: Scheduler not running Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E35@dw-mail.dataway.com> A large number down hosts will adversely affect the scheduling of active checks. This is because host checks: -supercedes all other scheduled activiy -are performed serially -includes a host check of the device's parent(s) -are performed for every failed service check You can minimize this effect a little by disabling all active checks except one for hosts that you know will be remain down for a while. (that way it's not host-checked after every one of it's services, just the one) -----Original Message----- From: Phil Manuel [mailto:flare04 at gmail.com] Sent: Wednesday, July 12, 2006 3:05 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Scheduler not running Hi, We are running Nagios 2.3.1 on Solaris, downloaded from blastwave. Recently we have noticed that the scheduler halts and doesn't process any commands. We can see events going into the log still. Our network isn't very big, only comprising 20 devices. So it should be handling this easily. The load on the box at the time was 1.2. The service checks are split equally between active and passive checks. We have however taken down half of the network to rebuild it. What is the likely cause ? I admit i haven't looked int he Nagios log file yet for any errors. Thanks ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Thu Jul 13 04:30:32 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Wed, 12 Jul 2006 22:30:32 -0400 Subject: RES: Custom Objects In-Reply-To: Your message of "Wed, 12 Jul 2006 21:57:12 +0200." References: Message-ID: <200607130230.k6D2UWJj012902@mx1.cs.umb.edu> In message , Hugo van der Kooij writes: >On Wed, 12 Jul 2006, Bruno Nagano wrote: >> I am trying to add a code field to the server template: >> >>.... >> >> cd_object 1 ;New field in order to place a >> constant value > >You can't just make up fields. If it ain't in the manual you are not >allowed to add it. I think nagios 3 is scheduled to have this capability. However if you are just using this parameter in commands (notification, check commands etc) you can do some of what you want by creating a script that takes two arguments: the hostname and the parameter. Then invoke the script in the command definition as `get_custom_fields $HOSTNAME$ cd_object`. I put together a longer writeup on the nagios-users list a few months back with the subject "per host custom macros", but I can't find it right now. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flare04 at gmail.com Thu Jul 13 05:36:11 2006 From: flare04 at gmail.com (Phil Manuel) Date: Thu, 13 Jul 2006 13:36:11 +1000 Subject: Passive check clearing automatically Message-ID: <70caa9c30607122036w3ee5f582hf7c479fbce9edd1@mail.gmail.com> Thanks earlier for answering my scheduler issue. My next one is:- Result from Passive service check comes in, the status is set and then ~40 secs later the state goes to pending. No external results are seen in nagios.log. The state is then sent again and the action is then repeated. Is this a bug with status.cgi or a setting I have set incorrectly? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roland.Sorgenfrei at spb.de Thu Jul 13 06:27:04 2006 From: Roland.Sorgenfrei at spb.de (Roland.Sorgenfrei at spb.de) Date: Thu, 13 Jul 2006 06:27:04 +0200 Subject: Antwort: Re: Windows 2003 Server In-Reply-To: References: Message-ID: Hello, when you use check_nt,, you must install pNsclient on your windows 2003 servers. Roland "REMY Julien" An Gesendet von: "Tom Tran" nagios-users-boun , "Hari ces at lists.sourcef Sekhon" , orge.net Kopie 12.07.2006 16:42 Thema Re: [Nagios-users] Windows 2003 Server Thank you for your help. I tried with 2 plugins : check_nt and check_snmp_storage. It functions with my windows 2000 servers but it not functions with my Windows 2003 servers. I discovered that on my windows 2003 servers, pNsclient is not installed. that can come from that. De : Tom Tran [mailto:thoanluutran at yahoo.com] Envoy? : mercredi 12 juillet 2006 16:10 ? : REMY Julien; nagios-users at lists.sourceforge.net Objet : Re: [Nagios-users] Windows 2003 Server if you need a full syntax.. please let me know... tt. REMY Julien wrote: Hello, I have always my problem with Nagios (in Redhat EL 4) and my servers on Windows 2003 Server. I can't know the free space in my hard disk. A message Connexion refuse appears. Does somebody manage to know free space on the hard disk on Windows 2003 servers ??? Please help me !!!! Thank you ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Thu Jul 13 07:17:54 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 13 Jul 2006 01:17:54 -0400 Subject: Passive check clearing automatically In-Reply-To: <70caa9c30607122036w3ee5f582hf7c479fbce9edd1@mail.gmail.com> References: <70caa9c30607122036w3ee5f582hf7c479fbce9edd1@mail.gmail.com> Message-ID: > Result from Passive service check comes in, the > status is set and then ~40 secs later the state > goes to pending. No external results are seen in > nagios.log. The state is then sent again and the > action is then repeated. Sounds like you have multiple copies of Nagios running. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex at webdeal.no Thu Jul 13 09:20:46 2006 From: alex at webdeal.no (Alexander Davidsen) Date: Thu, 13 Jul 2006 09:20:46 +0200 Subject: Problems with config-file, I think. Message-ID: <44B5F44E.9090308@webdeal.no> Hi, I have installed nagios via ports in FreeBSD, and configured it to work with my network. But when i do nagios -v nagios.cfg i get a kind of wired error: "Error in configuration file '/usr/local/etc/nagios/nagios.cfg' - Line 20 (NULL value)" On line 20 I have: define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week 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 } If i comment out this I just get the same error on the next section. What can be wrong? I have attached my config file. -- Med vennlig hilsen Alexander Davidsen - Webdeal AS Teknologiveien 22 - 2815 Gj?vik - NORWAY E-Post: alex at webdeal.no Webside: www.webdealhosting.com -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nagios.cfg URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From silencer at free-4ever.net Thu Jul 13 09:49:34 2006 From: silencer at free-4ever.net (Guillaume) Date: Thu, 13 Jul 2006 09:49:34 +0200 Subject: Passive check clearing automatically In-Reply-To: <70caa9c30607122036w3ee5f582hf7c479fbce9edd1@mail.gmail.com> References: <70caa9c30607122036w3ee5f582hf7c479fbce9edd1@mail.gmail.com> Message-ID: <44B5FB0E.6000304@free-4ever.net> Phil Manuel a ?crit : > Thanks earlier for answering my scheduler issue. > > My next one is:- > > Result from Passive service check comes in, the status is set and then > ~40 secs later the state goes to pending. No external results are seen > in nagios.log. The state is then sent again and the action is then > repeated. > > Is this a bug with status.cgi or a setting I have set incorrectly? > > Thanks > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Hi, Maybe, you've send a passive result on time for each service, but if you set the retry of this service to 3 for example, the service in SOFT error state, and if there is no "confirmation" the service is in error state, it will automatically come back to normal state !! So maybe, it's a soft/hard state problem Regards Guillaume -- Guillaume E-mail: silencer__free-4ever__net Blog: http://guillaume.free-4ever.net ---- Site: http://www.free-4ever.net ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Thu Jul 13 09:53:48 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 13 Jul 2006 09:53:48 +0200 Subject: Problems with config-file, I think. In-Reply-To: <44B5F44E.9090308@webdeal.no> References: <44B5F44E.9090308@webdeal.no> Message-ID: <79B0980C-8766-4D65-B24A-5D630A6F04F1@kilala.nl> On 13 Jul, 2006, at 9:20, Alexander Davidsen wrote: > If i comment out this I just get the same error on the next section. > What can be wrong? I have attached my config file. Sounds like maybe you forgot a closing bracket somewhere... Check your syntax closely... ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From VINAY_SHARMA at advanex.co.jp Thu Jul 13 09:55:44 2006 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Thu, 13 Jul 2006 16:55:44 +0900 Subject: Problems with config-file, I think. Message-ID: Just comment all lines of default config and create your new config lines.i will work. Thanks & regards ************************************** Vinay Sharma I I S Advanex Inc (www.advanex.co.jp) Fon : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp Alexander Davidsen ??: nagios-users at lists.sourceforge.net ???: cc: nagios-users-bounces at lists.sour ??: [Nagios-users] Problems with config-file, I think. ceforge.net 2006/07/13 16:20 Hi, I have installed nagios via ports in FreeBSD, and configured it to work with my network. But when i do nagios -v nagios.cfg i get a kind of wired error: "Error in configuration file '/usr/local/etc/nagios/nagios.cfg' - Line 20 (NULL value)" On line 20 I have: define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week 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 } If i comment out this I just get the same error on the next section. What can be wrong? I have attached my config file. -- Med vennlig hilsen Alexander Davidsen - Webdeal AS Teknologiveien 22 - 2815 Gj?vik - NORWAY E-Post: alex at webdeal.no Webside: www.webdealhosting.com ################################################################################ # Sample object config file for Nagios # # Read the documentation for more information on this configuration file. I've # provided some comments here, but things may not be so clear without further # explanation, so make sure to read the HTML documentation! # # Last Modified: 05-30-2006 # ################################################################################ ################################################################################ # TIMEPERIOD DEFINITIONS ################################################################################ # '24x7' timeperiod definition define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week 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 } # 'workhours' timeperiod definition define timeperiod{ timeperiod_name workhours alias "Normal" Working Hours 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 } # 'nonworkhours' timeperiod definition define timeperiod{ timeperiod_name nonworkhours alias Non-Work Hours sunday 00:00-24:00 monday 00:00-09:00,17:00-24:00 tuesday 00:00-09:00,17:00-24:00 wednesday 00:00-09:00,17:00-24:00 thursday 00:00-09:00,17:00-24:00 friday 00:00-09:00,17:00-24:00 saturday 00:00-24:00 } # 'none' timeperiod definition define timeperiod{ timeperiod_name none alias No Time Is A Good Time } ################################################################################ # CONTACT DEFINITIONS ################################################################################ # 'nagios' contact definition define contact{ contact_name teknisk alias tknisk service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email,notify-by-epager host_notification_commands host-notify-by-email,host-notify-by-epager email alex at webdeal.no pager kim at webdeal.no } # 'jdoe' contact definition define contact{ contact_name qalex alias Alexander Davidsen service_notification_period workhours host_notification_period workhours service_notification_options c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email alex at asdfasl.no } ################################################################################ # CONTACT GROUP DEFINITIONS ################################################################################ # 'novell-admins' contact group definition define contactgroup{ contactgroup_name webdeal-teknisk alias Webdeal Admins members qalex } ################################################################################ # HOST DEFINITIONS ################################################################################ define host{ host_name srv105.fo.no alias SRV105 address 192.32.33.98 check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options d,u,r contact_groups novell-admins } ################################################################################ # HOST GROUP DEFINITIONS ################################################################################ # 'novell-servers' host group definition define hostgroup{ hostgroup_name webdeal_teknisk alias Webdeal Teknisk members qalex } ################################################################################ # SERVICE DEFINITIONS ################################################################################ # Generic service definition template define service{ name generic-service ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } # Service definition define service{ host_name srv105.foo.no service_description FTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups novell-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_ftp } ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex at webdeal.no Thu Jul 13 10:08:31 2006 From: alex at webdeal.no (Alexander Davidsen) Date: Thu, 13 Jul 2006 10:08:31 +0200 Subject: Problems with config-file, I think. In-Reply-To: <79B0980C-8766-4D65-B24A-5D630A6F04F1@kilala.nl> References: <44B5F44E.9090308@webdeal.no> <79B0980C-8766-4D65-B24A-5D630A6F04F1@kilala.nl> Message-ID: <44B5FF7F.2020800@webdeal.no> Thomas Sluyter wrote: > On 13 Jul, 2006, at 9:20, Alexander Davidsen wrote: > > >> If i comment out this I just get the same error on the next section. >> What can be wrong? I have attached my config file. >> > > Sounds like maybe you forgot a closing bracket somewhere... > > Check your syntax closely... > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Dosent look like im missing any brackets either. Any other ideas? -- Med vennlig hilsen Alexander Davidsen - Webdeal AS Teknologiveien 22 - 2815 Gj?vik - NORWAY E-Post: alex at webdeal.no Webside: www.webdealhosting.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gilesc at carmenmedia.com Thu Jul 13 10:46:54 2006 From: gilesc at carmenmedia.com (Giles Coochey) Date: Thu, 13 Jul 2006 10:46:54 +0200 (CEST) Subject: check_hsrp? In-Reply-To: References: Message-ID: <20060713084654.4C7D64F4045@desire.netways.de> define command{ command_name check-hsrp command_line $USER1$/check_snmp -H $HOSTADDRESS$ -P 2c -C $ARG1$ -o SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.13.$ARG2$ -s 'IpAddress: $ARG3$' } check-hsrp!community!1.1! Do a snmpwalk on SNMPv2-SMI::enterprises.9.9.106.1.2.1.1.13 and cross reference with your routers to work it out. - Giles Coochey (gilesc) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Thu Jul 13 11:23:04 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 13 Jul 2006 11:23:04 +0200 Subject: Using SNMP as an alternative to NRPE Message-ID: Hi all, For the new Nagios roll-out I'm working on at my current client I've run into an interesting dispute. The matter concerns the running of remote scripts, to check all kinds of stuff on Nagios client systems. Why is it that we insist on using NRPE for this? Of course it's very practical that there's such a thing as the NRPE daemon and the check_nrpe command. It does indeed make things easier for a lot of people who lack deep technical insight. But what is to keep the expert users from using the SNMP daemon for this practice? There's a bunch of factors that have pushed us away from NRPE and towards SNMP: * The SNMP daemon is installed by default on all of our systems. AFAIK it's also part of the default install of just about every OS installation (with the possible exception of Windows). * We are currently already using the SNMP daemon to gather performance info for MRTG and we will be using the SNMP daemon to send traps to Nagios. * The SNMP daemon can be configured quite easily to run the requisite script and binaries. These will be tied to a custom OID and can thus be read using some form of check_snmp. * Not using NRPE means one less configuration file to maintain, one less port to open up in firewalls and one less binary to patch and upgrade. Do any of you know of any practical objections to using SNMP as a substitute for NRPE? It might be that we're missing something here, but to us it looks like a very good choice. Cheers! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Thu Jul 13 11:42:19 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Thu, 13 Jul 2006 11:42:19 +0200 Subject: Using SNMP as an alternative to NRPE In-Reply-To: References: Message-ID: <20060713094219.GG4855@eric.schwarzvogel.de> Hi! On Thu, 13 Jul 2006, Thomas Sluyter wrote: > Why is it that we insist on using NRPE for this? Of course it's very > practical that there's such a thing as the NRPE daemon and the > check_nrpe command. It does indeed make things easier for a lot of > people who lack deep technical insight. Yet it's a step away from the KISS principle. > But what is to keep the expert users from using the SNMP daemon for > this practice? SNMP *can* be a security nightmare. Problem is that the protocoll allows *writing* to the machine, i.e. config changes. The danger in an unsecured NRPE is much lower: it's less complex to configure and if we assume woth the SNMPd and NRPE have no security problems in their code, a slightly wrong config can allow an attacker to compromise an SNMP machine. That's nigh impossible on an NRPE machine. Also, NRPE config is much less complex and that of an SNMPd. > There's a bunch of factors that have pushed us away from NRPE and > towards SNMP: > * The SNMP daemon is installed by default on all of our systems. > AFAIK it's also part of the default install of just about every OS > installation (with the possible exception of Windows). It isn't installed on *any* of the >1k machines I herd. Not by active choice. It simply isn't installed because we don't need it. It's not part of the default install of the Distros and OSs we use. > * We are currently already using the SNMP daemon to gather > performance info for MRTG and we will be using the SNMP daemon to > send traps to Nagios. That is an entirely different story. I can understand that people use SNMPds on host machines because SNMP is the way to go for Ciscos or other network equipment. But we're quite happy with the way NRPE and NagiosGrapher work together with RRDTool. Our network guys (who run a nationwide backbone and thus have their own monitoring solution) use SNMP for their stuff. > * Not using NRPE means one less configuration file to maintain, one > less port to open up in firewalls and one less binary to patch and > upgrade. Not for use: SNMP isn't a "it's there anyway" resource. Hence, we opted for the smaller, less complex solution, NRPE. > Do any of you know of any practical objections to using SNMP as a > substitute for NRPE? It might be that we're missing something here, > but to us it looks like a very good choice. Complexity. Both in daemon code and configuration. And that the SNMP protocol spec allows for writing to a host. Regards, Tobias -- You don't need eyes to see, you need vision. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Thu Jul 13 12:02:26 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 13 Jul 2006 12:02:26 +0200 Subject: Using SNMP as an alternative to NRPE In-Reply-To: <20060713094219.GG4855@eric.schwarzvogel.de> References: <20060713094219.GG4855@eric.schwarzvogel.de> Message-ID: <8C25654E-851B-4AC0-8805-672E6BAEAE34@kilala.nl> On 13 Jul, 2006, at 11:42, Tobias Klausmann wrote: > Hi! > > ( And he made a lot of good points... ) All very good points Tobias... Generally speaking... In our case they won't steer us away from using the SNMP daemon, but in another situation it's a whole different kettle of fish... And yes, we'll pay close mind to our security settings... Thanks for the reminder :) Cheers! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harisekhon at gmail.com Thu Jul 13 13:21:26 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Thu, 13 Jul 2006 12:21:26 +0100 Subject: jabber plugin returning critical when server up In-Reply-To: <44ABAA3A.7090305@gmail.com> References: <44ABAA3A.7090305@gmail.com> Message-ID: On 05/07/06, Hari Sekhon wrote: > I'm trying to use the jabber plug-in but the service is returning > critical even though the service is up and I can log in and use it. > > /usr/nagios/libexec/check_jabber -H servername > CRITICAL - Cannot make SSL connection 19034:error:140770FC:SSL > routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:601: > > > I don't get it, the server isn't using SSL, so perhaps this is why it > fails, but shouldn't you be able to test it when running without an SSL > connection? Gaim finds the port and connects fine... > > > the --help mentions that the flag -S makes it use an SSL connection but > I never put this flag in, so it should be using a normal connection, > shouldn't it? When I put the -S flag in it returns the same as above. > > Jabber is using the default ports of 5222 for the straight tcp > connection without ssl, and 5269 for the server connection and both > ports are currently bound correctly and the service is working. > > > > Any ideas? > > Is the check_jabber plug-in broken? > > -h > The check_jabber plugin appears to be broken, it's linked to check_tcp but it tries to use SSL which fails since my server isn't using SSL, despite jabber being up and working. So I wrote a checkcommand for jabber with the standard check_tcp plugin. Does anybody have a better way of testing jabber? Perhaps a decent plugin or a command line tool that I can wrap in a shell script or something? -h ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.duffy at tney.northy.nhs.uk Thu Jul 13 13:27:07 2006 From: mark.duffy at tney.northy.nhs.uk (Mark Duffy) Date: Thu, 13 Jul 2006 12:27:07 +0100 Subject: check_snmp_cisco_ifstatus plugin Message-ID: <97B21E709D62C643AF853C9543C488A1091075@FLEX3.tney.northy.nhs.uk> Nagios users, I am having difficulty with the following plugin: /check_snmp_cisco_ifstatus -H 10.1.1.6 -C public -i BRI0 -w 393216 -c 466944 The error is (even though the interface is up): Status is CRITICAL - INTERFACE DOWN: BRI0 (PPP) - Current: 0 bps, Limit: 64 Kbps, MTU: 1500, Last change: 14.16 seconds, STATS:(in errors: 0, out errors: 0, queue length: 0) Any help would be greatly appreciated Nagios V2.4 Regards, Mark Duffy Tees, Esk And Wear Valleys NHS Trust Flatts Lane Centre Flatts Lane Normanby Middlesbrough TS6 0SZ Tel: 01642 283941 This email may contain confidential information and may be read, copied and used only by the intended recipient. The information in this email transmission may not be legally revealed and is intended only for the use of the individual(s) named above. If you are not the intended recipient you are hereby notified that any use, dissemination, distribution or copying of this email message or its information is strictly prohibited. If you have received this email in error please notify the sender by reply or by telephoning +44 (0)1642 283949. Delete this message from your email system(s) and do not disclose its contents to any person. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Thu Jul 13 14:22:10 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Thu, 13 Jul 2006 22:22:10 +1000 Subject: NRPE in AIX5L...? Message-ID: <610cb7a00607130522i2c872a06j49b685fd070e7be@mail.gmail.com> Hi List, I am having a lot of grief trying to make NRPE 2.5.2 (and I've tried 2.5.1and 2.5 as well) work in AIX5.3. >From the Nagios host I'm getting: # /usr/local/nagios/libexec/check_nrpe -H grenados CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? and on the client I just see the following in the syslog: Jul 11 06:49:04 ns1 nrpe[29329]: [ID 927837 mail.info] connect from 202.139.122.88 (Aside: why's the logging going to "mail.info"??) I'm building nrpe using: # ./configure --disable-ssl # make all Then # grep nrpe /etc/services nrpe 5666/tcp # NRPE # grep nrpe /etc/inetd.conf nrpe stream tcp nowait nagios /usr/local/bin/tcpd /usr/local/nagios/libexec/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i # cat /etc/hosts.allow nrpe: : ALLOW I tried trussing it without finding anything much. If anyone can help I'd be most appreciative; I'm out of ideas as to how to troubleshoot this any further. Thanks in advance, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benvinger at googlemail.com Thu Jul 13 15:11:32 2006 From: benvinger at googlemail.com (Ben Vinger) Date: Thu, 13 Jul 2006 14:11:32 +0100 Subject: statusmap.cgi to indicate muliple services Message-ID: Hello How can I get the statusmap to show a host as red (or critical) if one of the monitored services are critical? So if: define host{ use generic-host host_name server alias Web Server address 1.1.1.1 check_command check_mysql check_command check_http check_command check_ssh } then the host should only be shown as up by statusmap.cgi and status.cgi if all the check_commands return OK? In the example above, the host will show as up or down depending on the status of the last service ( check_ssh). Thanks Ben ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From silencer at free-4ever.net Thu Jul 13 15:17:41 2006 From: silencer at free-4ever.net (Guillaume) Date: Thu, 13 Jul 2006 15:17:41 +0200 Subject: statusmap.cgi to indicate muliple services In-Reply-To: References: Message-ID: <44B647F5.4070705@free-4ever.net> Ben Vinger a ?crit : > Hello > > How can I get the statusmap to show a host as red (or critical) if one > of the monitored services are critical? > So if: > define host{ > use generic-host > host_name server > alias Web Server > address 1.1.1.1 > check_command check_mysql > check_command check_http > check_command check_ssh > } > then the host should only be shown as up by statusmap.cgi and > status.cgi if all the check_commands return OK? > In the example above, the host will show as up or down depending on > the status of the last service ( check_ssh). > Thanks > Ben > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Hi, I'm not sure we can add more than one check command on a host. So, maybe, it take the last one... Regards Guillaume -- Guillaume E-mail: silencer__free-4ever__net Blog: http://guillaume.free-4ever.net ---- Site: http://www.free-4ever.net ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chet.luther at gmail.com Thu Jul 13 16:24:19 2006 From: chet.luther at gmail.com (Chet Luther) Date: Thu, 13 Jul 2006 10:24:19 -0400 Subject: Custom Objects In-Reply-To: <3E478ED18E73F3419A0EEBDC41577B0C1D9645@grpntsys-srv07.grupont.com.br> References: <3E478ED18E73F3419A0EEBDC41577B0C1D9645@grpntsys-srv07.grupont.com.br> Message-ID: <366ea3750607130724g1728df88g37d8a4598ca625b3@mail.gmail.com> On 7/12/06, Bruno Nagano wrote: > I would like to know if it is possible to create a custom object in Nagios. > I want to add a couple of fields to the server template, but when I try to > insert a new field, the nagios service will not start. Can I add a text > field to an object template? As you've already been told, Nagios doesn't support this natively. I needed the same functionality so I built a Perl wrapper to allow abitrary metadata to be added to any config file definition like so: define host{ host_name router1a #= snmp_community public } The whole config gets serialized into a Perl cache whenever Nagios is reloaded and all of my scripts (notification/service checks) have access to this additional data. If you're comfortable with Perl and interested, I can send you the code. -- Chet Luther chet.luther at gmail.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bamapookie at gmail.com Thu Jul 13 16:45:40 2006 From: bamapookie at gmail.com (Shawn Kovalchick) Date: Thu, 13 Jul 2006 10:45:40 -0400 Subject: Template inheritance questions Message-ID: I have a couple of questions about inheritance: 1. Is it possible to inhetit from more than one template? define service{ ... use ping-service-template use dev-group } 2. is it possible to append to, rather than override, a parameter? For example, is there a way to make the example below result in contact_groups equalling db-admins and server-admins? define host{ contact_groups db-admins name db-host-template register 0 } define host{ ... contact_groups server-admins use db-host-template } Thanks for your help. Shawn K. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From radhiilu at yahoo.com Thu Jul 13 18:10:47 2006 From: radhiilu at yahoo.com (Radhika) Date: Thu, 13 Jul 2006 09:10:47 -0700 (PDT) Subject: syslog-ng process monitor plugin Message-ID: <20060713161047.21937.qmail@web60714.mail.yahoo.com> Hi Guys, I am looking for syslog-ng process monitor plugin recently syslog-ng process stopped on my server for 1day i haven't noticed this.So if any one is having check syslog-ng is running or not plugin for nagios. I really need this plugin Thanks for your help --------------------------------- How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Thu Jul 13 18:28:14 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 13 Jul 2006 12:28:14 -0400 Subject: syslog-ng process monitor plugin In-Reply-To: <20060713161047.21937.qmail@web60714.mail.yahoo.com> References: <20060713161047.21937.qmail@web60714.mail.yahoo.com> Message-ID: > I am looking for syslog-ng process monitor plugin > recently syslog-ng process stopped on my server > for 1day i haven't noticed this.So if any one is > having check syslog-ng is running or not plugin > for nagios. check_procs ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From radhiilu at yahoo.com Thu Jul 13 18:49:07 2006 From: radhiilu at yahoo.com (Radhika) Date: Thu, 13 Jul 2006 09:49:07 -0700 (PDT) Subject: syslog-ng process monitor plugin In-Reply-To: References: Message-ID: <20060713164907.78645.qmail@web60725.mail.yahoo.com> thanks for your mail.I have checked the check_procs plugin but it is not giving the option of monitoring remote host i may be wrong ./check_procs -H 172.2.23.1 -w 1:1 -c 1:1024 -C syslog-ng I am getting error ./check_procs: invalid option -- H If i remove -H and ipaddress it is checking in local machine How to fix this now thanks "Morris, Patrick" wrote: > I am looking for syslog-ng process monitor plugin > recently syslog-ng process stopped on my server > for 1day i haven't noticed this.So if any one is > having check syslog-ng is running or not plugin > for nagios. check_procs ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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!? Get on board. You're invited to try the new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Thu Jul 13 18:52:48 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 13 Jul 2006 12:52:48 -0400 Subject: syslog-ng process monitor plugin In-Reply-To: <20060713164907.78645.qmail@web60725.mail.yahoo.com> References: <20060713164907.78645.qmail@web60725.mail.yahoo.com> Message-ID: > thanks for your mail.I have checked the check_procs > plugin but it is not giving the option of monitoring > remote host i may be wrong If you need it on a remote host, look at nsca, check_procs_via_snmp, check_by_ssh, nagios-statd... There are probably other ways to do it, too. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Thu Jul 13 18:57:53 2006 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Thu, 13 Jul 2006 18:57:53 +0200 Subject: syslog-ng process monitor plugin In-Reply-To: <20060713164907.78645.qmail@web60725.mail.yahoo.com> References: <20060713164907.78645.qmail@web60725.mail.yahoo.com> Message-ID: <20060713165753.GM4455145@CIS.FU-Berlin.DE> * Radhika [2006-07-13 09:49]: > I have checked the check_procs plugin but it is not giving the option > of monitoring remote host i may be wrong You could install check_procs on the remote host and use NRPE, NSCA or simply the check_by_ssh plugin. Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bruno.Nagano at grupont.com.br Thu Jul 13 19:04:38 2006 From: Bruno.Nagano at grupont.com.br (Bruno Nagano) Date: Thu, 13 Jul 2006 14:04:38 -0300 Subject: RES: Custom Objects Message-ID: <3E478ED18E73F3419A0EEBDC41577B0C1D96FD@grpntsys-srv07.grupont.com.br> At this moment I am inclined to use the alias field to place my extra data. I know I will have a weird value on my nagios page, but I won?t be changing any of the nagios default behavior. I would greatly appreciate to have your wrapper, which seems to be the best solution. Thanks in advance -----Mensagem original----- De: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Em nome de Chet Luther Enviada em: quinta-feira, 13 de julho de 2006 11:24 Para: nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] Custom Objects On 7/12/06, Bruno Nagano wrote: > I would like to know if it is possible to create a custom object in Nagios. > I want to add a couple of fields to the server template, but when I try to > insert a new field, the nagios service will not start. Can I add a text > field to an object template? As you've already been told, Nagios doesn't support this natively. I needed the same functionality so I built a Perl wrapper to allow abitrary metadata to be added to any config file definition like so: define host{ host_name router1a #= snmp_community public } The whole config gets serialized into a Perl cache whenever Nagios is reloaded and all of my scripts (notification/service checks) have access to this additional data. If you're comfortable with Perl and interested, I can send you the code. -- Chet Luther chet.luther at gmail.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Thu Jul 13 19:59:41 2006 From: teng at dataway.com (Tedman Eng) Date: Thu, 13 Jul 2006 10:59:41 -0700 Subject: statusmap.cgi to indicate muliple services Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E36@dw-mail.dataway.com> You will need to create a check-host-alive command based on check_cluster. Configure check_cluster to key off the 3 services you desire. Keep in mind doing what you want to do will break parent/child relationships and host "availability" monitoring. > -----Original Message----- > From: Ben Vinger [mailto:benvinger at googlemail.com] > Sent: Thursday, July 13, 2006 6:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] statusmap.cgi to indicate muliple services > > > Hello > > How can I get the statusmap to show a host as red (or critical) if one > of the monitored services are critical? > So if: > define host{ > use generic-host > host_name server > alias Web Server > address 1.1.1.1 > check_command check_mysql > check_command check_http > check_command check_ssh > } > then the host should only be shown as up by statusmap.cgi and > status.cgi if all the check_commands return OK? > In the example above, the host will show as up or down depending on > the status of the last service ( check_ssh). > Thanks > Ben > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Ellmers at firstgroup.com Thu Jul 13 21:06:17 2006 From: Jason.Ellmers at firstgroup.com (Jason Ellmers) Date: Thu, 13 Jul 2006 20:06:17 +0100 Subject: Jason Ellmers is out of the office. Message-ID: I will be Out of the Office Start Date: 13/07/2006. End Date: 24/07/2006. Please be aware that I will be out of the office until Monday the 24th July. Please contact the helpdesk on 08702415500 it technical assistance is required. ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. For more information on our range of services or to book your tickets online, please visit:- http://www.firstgroup.com ********************************************************************** ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Jul 13 22:53:23 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 13 Jul 2006 22:53:23 +0200 (CEST) Subject: Problems with config-file, I think. In-Reply-To: <44B5F44E.9090308@webdeal.no> References: <44B5F44E.9090308@webdeal.no> Message-ID: On Thu, 13 Jul 2006, Alexander Davidsen wrote: > Hi, > I have installed nagios via ports in FreeBSD, and configured it to work > with my network. But when i do nagios -v nagios.cfg i get a kind of > wired error: "Error in configuration file > '/usr/local/etc/nagios/nagios.cfg' - Line 20 (NULL value)" > On line 20 I have: > define timeperiod{ > timeperiod_name 24x7 > alias 24 Hours A Day, 7 Days A Week > 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 > } > If i comment out this I just get the same error on the next section. > What can be wrong? I have attached my config file. And just what do you have above? Is there an illegal character that slipped in there somewhow? I would slide in a space before the curly bracket like: define timeperiod { timeperiod_name 24x7 alias Always 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 } And just to humour me. Could you remove the comment line with an unmatched single quote sign ? And try without spaces in the alias definition. At least get rid of the comma as is is a common delimiter. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msayles at alegent.org Thu Jul 13 23:14:40 2006 From: msayles at alegent.org (MSayles) Date: Thu, 13 Jul 2006 21:14:40 +0000 (UTC) Subject: Reporting Transactions Message-ID: Does anyone have any recommendations for using Nagios to consume or plug in something that can test end user experience and report transaction steps to Nagios? I would need this to test drilling down into web sites and Win32 apps. Kinda like a transaction testing solution like Rational Robot. Thanks! ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Fri Jul 14 00:55:10 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 14 Jul 2006 10:55:10 +1200 Subject: Reporting Transactions In-Reply-To: References: Message-ID: <91138DE5314775409830CC77A3E6EE013CE551@uxchange1.UoA.auckland.ac.nz> > Does anyone have any recommendations for using Nagios to > consume or plug in something that can test end user > experience and report transaction steps to Nagios? I would > need this to test drilling down into web sites and Win32 apps. > Kinda like a transaction testing solution like Rational Robot. Short answer - yes. Webinject. It's a free tool with Nagios *and* MRTG support, and we use it here for several sites. It's a bit awkward to configure but it supports cookies and session IDs. We also wrote one on-site that worked slightly differently, but ended up using webinject instead. If you have lots of these->$ then you can also get some commercial tools like SiteScope that can send alerts to Nagios via NSCA (can call an external script that calls send_nsca). SiteScope is easier to configure, but costs a lot and only runs under Windows. Steve ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 14 03:56:44 2006 From: marc at ena.com (Marc Powell) Date: Thu, 13 Jul 2006 20:56:44 -0500 Subject: Problems with config-file, I think. Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij > Sent: Thursday, July 13, 2006 3:53 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Problems with config-file, I think. > > On Thu, 13 Jul 2006, Alexander Davidsen wrote: > > > Hi, > > I have installed nagios via ports in FreeBSD, and configured it to work > > with my network. But when i do nagios -v nagios.cfg i get a kind of > > wired error: "Error in configuration file > > '/usr/local/etc/nagios/nagios.cfg' - Line 20 (NULL value)" > > On line 20 I have: > > define timeperiod{ > > timeperiod_name 24x7 > > alias 24 Hours A Day, 7 Days A Week > > 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 > > } > > If i comment out this I just get the same error on the next section. > > What can be wrong? I have attached my config file. > > And just what do you have above? Is there an illegal character that > slipped in there somewhow? Actually, it's the fact that he appears to have the timeperiod definition in nagios.cfg itself. Nagios.cfg is special in that it can only contain directives that control the overall operation of nagios. You'll need to move any template definitions such as the timeperiod definition above into a different file and reference that as a cfg_file within nagios.cfg. http://nagios.sourceforge.net/docs/2_0/configmain.html -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Fri Jul 14 04:08:03 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 14 Jul 2006 14:08:03 +1200 Subject: syslog-ng process monitor plugin In-Reply-To: <20060713164907.78645.qmail@web60725.mail.yahoo.com> References: <20060713164907.78645.qmail@web60725.mail.yahoo.com> Message-ID: <91138DE5314775409830CC77A3E6EE013CE580@uxchange1.UoA.auckland.ac.nz> check_procs will only check for processes on the local machine. Use the -h option to see all the parameters you can give it to check for different things. You will probably want to use NRPE to run the check_procs plugin on the remote server (this is how we do it here) check_nrpe -H 172.2.23.1 -c check_procs -a syslog-ng 1 1024 and then in the nrpe.cfg on the remote machine command[check_procs]=/usr/local/nrpe/check_procs -w "1:$ARG2$" -c "1:$ARG3$" -C "$ARG1$" Steve ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Radhika Sent: Friday, 14 July 2006 4:49 a.m. To: Morris, Patrick; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] syslog-ng process monitor plugin thanks for your mail.I have checked the check_procs plugin but it is not giving the option of monitoring remote host i may be wrong ./check_procs -H 172.2.23.1 -w 1:1 -c 1:1024 -C syslog-ng I am getting error ./check_procs: invalid option -- H If i remove -H and ipaddress it is checking in local machine How to fix this now thanks new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Fri Jul 14 08:25:58 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Fri, 14 Jul 2006 16:25:58 +1000 Subject: NRPE in AIX5L...? In-Reply-To: <610cb7a00607130522i2c872a06j49b685fd070e7be@mail.gmail.com> References: <610cb7a00607130522i2c872a06j49b685fd070e7be@mail.gmail.com> Message-ID: <610cb7a00607132325s6e73b6a8n832011120f1efbc6@mail.gmail.com> Hi, I found some more information: The following message gets written to syslog: /var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe[876772]: Error: Request packet had invalid CRC32. /var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe[876772]: Client request was invalid, bailing out... I see this happens in the following code fragment: /***** DECRYPT REQUEST ******/ /* check the crc 32 value */ packet_crc32=ntohl(pkt->crc32_value); pkt->crc32_value=0L; calculated_crc32=calculate_crc32((char *)pkt,sizeof(packet)); if(packet_crc32!=calculated_crc32){ syslog(LOG_ERR,"Error: Request packet had invalid CRC32."); return ERROR; } Anyone have any idea why this would happen? (My configure options etc were given in previous post). Thanks, Alex On 7/13/06, Alexander Harvey wrote: > > Hi List, > > I am having a lot of grief trying to make NRPE 2.5.2 (and I've tried 2.5.1and > 2.5 as well) work in AIX5.3. > > From the Nagios host I'm getting: > > # /usr/local/nagios/libexec/check_nrpe -H grenados > CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? > > and on the client I just see the following in the syslog: > > Jul 11 06:49:04 ns1 nrpe[29329]: [ID 927837 mail.info ] connect from > 202.139.122.88 > > (Aside: why's the logging going to "mail.info"??) > > I'm building nrpe using: > > # ./configure --disable-ssl > > # make all > > Then > > # grep nrpe /etc/services > nrpe 5666/tcp # NRPE > > # grep nrpe /etc/inetd.conf > nrpe stream tcp nowait nagios /usr/local/bin/tcpd > /usr/local/nagios/libexec/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i > > # cat /etc/hosts.allow > nrpe: : ALLOW > > I tried trussing it without finding anything much. If anyone can help I'd > be most appreciative; I'm out of ideas as to how to troubleshoot this any > further. > > Thanks in advance, > Alex > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Fri Jul 14 08:38:23 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Fri, 14 Jul 2006 16:38:23 +1000 Subject: NRPE in AIX5L...? In-Reply-To: <610cb7a00607132325s6e73b6a8n832011120f1efbc6@mail.gmail.com> References: <610cb7a00607130522i2c872a06j49b685fd070e7be@mail.gmail.com> <610cb7a00607132325s6e73b6a8n832011120f1efbc6@mail.gmail.com> Message-ID: <610cb7a00607132338y67f8c7a2t251696bce182f75d@mail.gmail.com> Sorry, should have done my research first but I discovered this in the archives: http://sourceforge.net/mailarchive/message.php?msg_id=6818296 Does anyone know if there was ever a patch released? Am I on the wrong track? Has anyone made NRPE work on AIX such that when we run the following test on the host instead of getting: /usr/local/nagios/libexec/check_nrpe -H grenados CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? we get /usr/local/nagios/libexec/check_nrpe -H cairns NRPE v1.9 as expected? On 7/14/06, Alexander Harvey wrote: > > Hi, > > I found some more information: > > The following message gets written to syslog: > > /var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe[876772]: > Error: Request packet had invalid CRC32. > /var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe[876772]: > Client request was invalid, bailing out... > > I see this happens in the following code fragment: > > /***** DECRYPT REQUEST ******/ > > > /* check the crc 32 value */ > packet_crc32=ntohl(pkt->crc32_value); > pkt->crc32_value=0L; > calculated_crc32=calculate_crc32((char *)pkt,sizeof(packet)); > if(packet_crc32!=calculated_crc32){ > syslog(LOG_ERR,"Error: Request packet had invalid > CRC32."); > return ERROR; > } > > Anyone have any idea why this would happen? (My configure options etc were > given in previous post). > > Thanks, > Alex > > > > > On 7/13/06, Alexander Harvey wrote: > > > > Hi List, > > > > I am having a lot of grief trying to make NRPE 2.5.2 (and I've tried > > 2.5.1 and 2.5 as well) work in AIX5.3. > > > > From the Nagios host I'm getting: > > > > # /usr/local/nagios/libexec/check_nrpe -H grenados > > CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? > > > > and on the client I just see the following in the syslog: > > > > Jul 11 06:49:04 ns1 nrpe[29329]: [ID 927837 mail.info ] connect from > > 202.139.122.88 > > > > (Aside: why's the logging going to " mail.info"??) > > > > I'm building nrpe using: > > > > # ./configure --disable-ssl > > > > # make all > > > > Then > > > > # grep nrpe /etc/services > > nrpe 5666/tcp # NRPE > > > > # grep nrpe /etc/inetd.conf > > nrpe stream tcp nowait nagios /usr/local/bin/tcpd > > /usr/local/nagios/libexec/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i > > > > # cat /etc/hosts.allow > > nrpe: : ALLOW > > > > I tried trussing it without finding anything much. If anyone can help > > I'd be most appreciative; I'm out of ideas as to how to troubleshoot this > > any further. > > > > Thanks in advance, > > Alex > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevorwarren at gmail.com Fri Jul 14 08:57:12 2006 From: trevorwarren at gmail.com (Trevor Warren) Date: Fri, 14 Jul 2006 12:27:12 +0530 Subject: NRPE in AIX5L...? In-Reply-To: <610cb7a00607132338y67f8c7a2t251696bce182f75d@mail.gmail.com> References: <610cb7a00607130522i2c872a06j49b685fd070e7be@mail.gmail.com> <610cb7a00607132325s6e73b6a8n832011120f1efbc6@mail.gmail.com> <610cb7a00607132338y67f8c7a2t251696bce182f75d@mail.gmail.com> Message-ID: <559e3cb60607132357x47ef12ffm314f0fd1995871f3@mail.gmail.com> Have tired many a time to get nrpe running on aix but never have had a smooth experience. Aix n HpUX have always been issues to get up and running on. We ended up writing our own plugins on the older *nix boxes. But now even those are outdated and have be to redone for AIX5L. Some of us needs(probably i will sometime soon) to take ownership on the aix front. This is the only way we will ever get stable plugins for aix/hpux/solaris. Is there a plugin roadmap on the risc front?. Trevor On 7/14/06, Alexander Harvey wrote: > > Sorry, should have done my research first but I discovered this in the > archives: http://sourceforge.net/mailarchive/message.php?msg_id=6818296 > > Does anyone know if there was ever a patch released? Am I on the wrong > track? Has anyone made NRPE work on AIX such that when we run the following > test on the host instead of getting: > > > /usr/local/nagios/libexec/check_nrpe -H grenados > CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? > > we get > > /usr/local/nagios/libexec/check_nrpe -H cairns > NRPE v1.9 > > as expected? > > > > On 7/14/06, Alexander Harvey wrote: > > > > Hi, > > > > I found some more information: > > > > The following message gets written to syslog: > > > > /var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error > > nrpe[876772]: Error: Request packet had invalid CRC32. > > /var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error > > nrpe[876772]: Client request was invalid, bailing out... > > > > I see this happens in the following code fragment: > > > > /***** DECRYPT REQUEST ******/ > > > > > > /* check the crc 32 value */ > > packet_crc32=ntohl(pkt->crc32_value); > > pkt->crc32_value=0L; > > calculated_crc32=calculate_crc32((char *)pkt,sizeof(packet)); > > if(packet_crc32!=calculated_crc32){ > > syslog(LOG_ERR,"Error: Request packet had invalid > > CRC32."); > > return ERROR; > > } > > > > Anyone have any idea why this would happen? (My configure options etc > > were given in previous post). > > > > Thanks, > > Alex > > > > > > > > > > On 7/13/06, Alexander Harvey wrote: > > > > > > Hi List, > > > > > > I am having a lot of grief trying to make NRPE 2.5.2 (and I've tried > > > 2.5.1 and 2.5 as well) work in AIX5.3. > > > > > > From the Nagios host I'm getting: > > > > > > # /usr/local/nagios/libexec/check_nrpe -H grenados > > > CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? > > > > > > and on the client I just see the following in the syslog: > > > > > > Jul 11 06:49:04 ns1 nrpe[29329]: [ID 927837 mail.info ] connect from > > > 202.139.122.88 > > > > > > (Aside: why's the logging going to " mail.info"??) > > > > > > I'm building nrpe using: > > > > > > # ./configure --disable-ssl > > > > > > # make all > > > > > > Then > > > > > > # grep nrpe /etc/services > > > nrpe 5666/tcp # NRPE > > > > > > # grep nrpe /etc/inetd.conf > > > nrpe stream tcp nowait nagios /usr/local/bin/tcpd > > > /usr/local/nagios/libexec/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i > > > > > > # cat /etc/hosts.allow > > > nrpe: : ALLOW > > > > > > I tried trussing it without finding anything much. If anyone can help > > > I'd be most appreciative; I'm out of ideas as to how to troubleshoot this > > > any further. > > > > > > Thanks in advance, > > > Alex > > > > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- ___________________________________ ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \____________________________________/ _|_| An eye for an eye will soon turn the world blind - MKG "You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries. Only in absolute stillness, beyond self, can you know me as I am, and then but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon " -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 altinity.com Fri Jul 14 10:17:03 2006 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 14 Jul 2006 09:17:03 +0100 Subject: NRPE in AIX5L...? In-Reply-To: <559e3cb60607132357x47ef12ffm314f0fd1995871f3@mail.gmail.com> References: <610cb7a00607130522i2c872a06j49b685fd070e7be@mail.gmail.com> <610cb7a00607132325s6e73b6a8n832011120f1efbc6@mail.gmail.com> <610cb7a00607132338y67f8c7a2t251696bce182f75d@mail.gmail.com> <559e3cb60607132357x47ef12ffm314f0fd1995871f3@mail.gmail.com> Message-ID: <89DEE0E5-55E2-4C26-988C-ED26F63F96F7@altinity.com> I used to work for IBM on their RS/6000 hardware, so I have a fond spot for AIX. However, I don't have any access to servers to develop on. If someone could grant me internet access to their server, I could spend some time on specific problems for the plugins. Alternatively, please consider running tinderbox builds on your AIX server and sending results back: http://tinderbox.altinity.org. This will make sure the plugins continue to work on your favourite platform. (Note, snapshots, and thus builds, aren't working at the moment because SF's shell servers are down.) Ton On 14 Jul 2006, at 07:57, Trevor Warren wrote: > Have tired many a time to get nrpe running on aix but never have > had a smooth experience. Aix n HpUX have always been issues to get > up and running on. > > We ended up writing our own plugins on the older *nix boxes. But > now even those are outdated and have be to redone for AIX5L. Some > of us needs(probably i will sometime soon) to take ownership on the > aix front. This is the only way we will ever get stable plugins for > aix/hpux/solaris. > > Is there a plugin roadmap on the risc front?. > > Trevor > > On 7/14/06, Alexander Harvey wrote: > Sorry, should have done my research first but I discovered this in > the archives: http://sourceforge.net/mailarchive/message.php? > msg_id=6818296 > > Does anyone know if there was ever a patch released? Am I on the > wrong track? Has anyone made NRPE work on AIX such that when we run > the following test on the host instead of getting: > > > /usr/local/nagios/libexec/check_nrpe -H grenados > CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? > > we get > > /usr/local/nagios/libexec/check_nrpe -H cairns > NRPE v1.9 > > as expected? > > > > On 7/14/06, Alexander Harvey wrote: > Hi, > > I found some more information: > > The following message gets written to syslog: > > /var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe > [876772]: Error: Request packet had invalid CRC32. > /var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error nrpe > [876772]: Client request was invalid, bailing out... > > I see this happens in the following code fragment: > > /***** DECRYPT REQUEST ******/ > > > /* check the crc 32 value */ > packet_crc32=ntohl(pkt->crc32_value); > pkt->crc32_value=0L; > calculated_crc32=calculate_crc32((char *)pkt,sizeof(packet)); > if(packet_crc32!=calculated_crc32){ > syslog(LOG_ERR,"Error: Request packet had invalid > CRC32."); > return ERROR; > } > > Anyone have any idea why this would happen? (My configure options > etc were given in previous post). > > Thanks, > Alex > > > > > On 7/13/06, Alexander Harvey wrote: > Hi List, > > I am having a lot of grief trying to make NRPE 2.5.2 (and I've > tried 2.5.1 and 2.5 as well) work in AIX5.3. > > From the Nagios host I'm getting: > > # /usr/local/nagios/libexec/check_nrpe -H grenados > CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? > > and on the client I just see the following in the syslog: > > Jul 11 06:49:04 ns1 nrpe[29329]: [ID 927837 mail.info ] connect > from 202.139.122.88 > > (Aside: why's the logging going to " mail.info"??) > > I'm building nrpe using: > > # ./configure --disable-ssl > > # make all > > Then > > # grep nrpe /etc/services > nrpe 5666/tcp # NRPE > > # grep nrpe /etc/inetd.conf > nrpe stream tcp nowait nagios /usr/local/bin/tcpd /usr/ > local/nagios/libexec/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i > > # cat /etc/hosts.allow > nrpe: : ALLOW > > I tried trussing it without finding anything much. If anyone can > help I'd be most appreciative; I'm out of ideas as to how to > troubleshoot this any further. > > Thanks in advance, > Alex > > > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > ___________________________________ > ( >- / Scaling FreeSoftware & OpenSource \ -< ) > /~\ / In the Enterprise > \ /~\ > | \) \ | www.fsf.org | www.opensource.org | / (/ | > |_|_ \____________________________________/ _|_| > > An eye for an eye will soon turn the world blind - MKG > > "You cannot see me, yet I am the light you see by. You cannot hear > me, yet I speak through your voice. You cannot feel me, yet I am > the power at work in your hands. I am at work, though you do not > understand my ways. I am not strange visions. I am not mysteries. > Only in absolute stillness, beyond self, can you know me as I am, > and then but as a feeling and a faith. Yet I am here. Yet I hear. > Yet I answer. -anon " > > This message has been scanned for viruses by MailController. > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From saetaes at gmail.com Fri Jul 14 15:27:02 2006 From: saetaes at gmail.com (Mike M) Date: Fri, 14 Jul 2006 09:27:02 -0400 Subject: Dell OMSA Disk Monitoring with Nagios Message-ID: <8552c3a30607140627s7ab6805fpdf3d1740de2c523a@mail.gmail.com> I was just curious if anyone was using Nagios to monitor Dell PERCs using the OMSA SNMP storage agent. At the moment we're using the percsnmpd package with the check_megaraid (http://www.ibiblio.org/john/megaraid/) Nagios plugin. However, with our new PowerEdge 2950s, our 64-bit boxes, and the machines we have running RHEL 4, percsnmpd (and by extension, check_megaraid) doesn't work. I know OMSA can send traps for this stuff, but I would also like to actively poll it. It's useful to see the green "MegaRAID OK" within Nagios, rather than passively waiting for a failure. Thanks in advance, Mike ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yjamous at gmail.com Fri Jul 14 15:41:29 2006 From: yjamous at gmail.com (Yousef Jamous) Date: Fri, 14 Jul 2006 15:41:29 +0200 (CEST) Subject: Howo to remove Nagios from Statusmap? Message-ID: <20060714134129.C75B44F4045@desire.netways.de> Greetings to all How can I remove Nagios host from the status map view and the 3D map view? I just want to see the hosts that I have there. Also, I tried to configure extended host info. I managed through extended host info to change icons, notes, images ...etc, but not icons :-( So, is there something to be done regarding this? - Yousef Jamous (yjamous) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yjamous at gmail.com Fri Jul 14 15:44:01 2006 From: yjamous at gmail.com (Yousef Jamous) Date: Fri, 14 Jul 2006 15:44:01 +0200 (CEST) Subject: Howo to remove Nagios from Statusmap? In-Reply-To: <20060714134129.C75B44F4045@desire.netways.de> References: <20060714134129.C75B44F4045@desire.netways.de> Message-ID: <20060714134401.D455A4F4045@desire.netways.de> Something I should have mention I'm running Nagios V1.4.1 on AIX 5.3 - Yousef Jamous (yjamous) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=20075 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Fri Jul 14 16:06:05 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 14 Jul 2006 10:06:05 -0400 Subject: Howo to remove Nagios from Statusmap? In-Reply-To: <20060714134129.C75B44F4045@desire.netways.de> References: <20060714134129.C75B44F4045@desire.netways.de> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Yousef Jamous > Sent: Friday, July 14, 2006 6:41 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Howo to remove Nagios from Statusmap? > > Greetings to all > > How can I remove Nagios host from the status map view and the > 3D map view? http://www.nagios.org/faqs/viewfaq.php?faq_id=54&expand=false&showdesc=f alse ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Fri Jul 14 16:35:34 2006 From: Josh.Yost at epsiia.com (Josh Yost) Date: Fri, 14 Jul 2006 09:35:34 -0500 Subject: service viewing rights w/out command rights Message-ID: <44B7ABB6.8010308@epsiia.com> Hi all, Is it possible to create a contactgroup that has viewing rights for a servicegroup but does not have permissions to the service commands? An example is I'd like tech support personnel to be able to login and view the status of the services they're allowed to see w/out being able to issue commands. It doesn't appear so from the documentation, but I thought I'd ask. If not, can someone point me to the place in the source code to edit? I'm guessing cmd.c would be the place to start, but I'll need to keep reading it. I guess I could also pull the required info w/ wget or something and put it on a different webpage away from Nagios...but what's the fun in that? Thanks. -- Josh ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Fri Jul 14 16:44:59 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Fri, 14 Jul 2006 16:44:59 +0200 Subject: service viewing rights w/out command rights In-Reply-To: <44B7ABB6.8010308@epsiia.com> References: <44B7ABB6.8010308@epsiia.com> Message-ID: On 14 Jul, 2006, at 16:35, Josh Yost wrote: > Hi all, > Is it possible to create a contactgroup that has viewing rights for a > servicegroup but does not have permissions to the service commands? Read the docu on cgi.cfg. There are multiple layers of authentication defined in there which you can assign to various user accounts. Good luck! Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.carpenter at bluecoat.com Fri Jul 14 17:17:51 2006 From: michael.carpenter at bluecoat.com (Carpenter, Michael) Date: Fri, 14 Jul 2006 10:17:51 -0500 Subject: Hostgroup overview question... Message-ID: <4FD3D0CFFC95E44CAB7A7F056D9FD13F41469C@spector.bcstx.cacheflow.com> I have a number of hosts in several hostgroups on the overview page. I would like to divide this page into two separate pages...say one for those hosts that we page for and those that only have notifications sent by email. Is there a way to do this? My mail goal is to make the page smaller so that a user doesn't have to scroll down in the browser window to view the hosts. Thanks Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 altinity.com Fri Jul 14 17:50:50 2006 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 14 Jul 2006 16:50:50 +0100 Subject: service viewing rights w/out command rights In-Reply-To: <44B7ABB6.8010308@epsiia.com> References: <44B7ABB6.8010308@epsiia.com> Message-ID: On 14 Jul 2006, at 15:35, Josh Yost wrote: > Hi all, > Is it possible to create a contactgroup that has viewing rights for a > servicegroup but does not have permissions to the service > commands? An > example is I'd like tech support personnel to be able to login and > view > the status of the services they're allowed to see w/out being able to > issue commands. > > It doesn't appear so from the documentation, but I thought I'd ask. > > If not, can someone point me to the place in the source code to edit? > I'm guessing cmd.c would be the place to start, but I'll need to keep > reading it. > > I guess I could also pull the required info w/ wget or something > and put > it on a different webpage away from Nagios...but what's the fun in > that? I think you want our patch. This allows a contact to be specified with a flag to stop them submitting commands, yet you can still use contactgroups to specify what services they are allowed to see. This is in the Nagios 3 branch, but Ethan has not put it into Nagios 2.x - drop him a line if you find it useful! http://altinity.blogs.com/dotorg/2006/02/a_view_some_cha.html Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Fri Jul 14 18:59:55 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Sat, 15 Jul 2006 02:59:55 +1000 Subject: NRPE in AIX5L...? In-Reply-To: <89DEE0E5-55E2-4C26-988C-ED26F63F96F7@altinity.com> References: <610cb7a00607130522i2c872a06j49b685fd070e7be@mail.gmail.com> <610cb7a00607132325s6e73b6a8n832011120f1efbc6@mail.gmail.com> <610cb7a00607132338y67f8c7a2t251696bce182f75d@mail.gmail.com> <559e3cb60607132357x47ef12ffm314f0fd1995871f3@mail.gmail.com> <89DEE0E5-55E2-4C26-988C-ED26F63F96F7@altinity.com> Message-ID: <610cb7a00607140959p242cf728r59fa5efc5a45feaf@mail.gmail.com> Hi Ton I'd love to grant you remote access to one of my servers but then I'd certainly be thrown from the 13th storey (or possibly into jail)! :D And I've studied the code a bit and I'm afraid the problem's a bit beyond me at this point; I'm not really a developer and it's been a long time since I've done any C. Mind you, if anyone out there can give me a start, narrow the scope, or make any debugging tests/suggestions I'd be happy to give it a shot and send back results or any patched code I can get to work, but I couldn't do it on my own. I haven't seen the problem in Solaris, though. The smooth experience I've been having with Solaris & Linux was what gave me the idea of pushing to use this on our AIX servers. I'd also be happy to help with any other testing on the AIX servers I have here (I've found a few other problems). Thanks, Alex On 7/14/06, Ton Voon wrote: > > I used to work for IBM on their RS/6000 hardware, so I have a fond spot > for AIX. However, I don't have any access to servers to develop on. If > someone could grant me internet access to their server, I could spend some > time on specific problems for the plugins. > Alternatively, please consider running tinderbox builds on your AIX server > and sending results back: http://tinderbox.altinity.org. This will make > sure the plugins continue to work on your favourite platform. > > (Note, snapshots, and thus builds, aren't working at the moment because > SF's shell servers are down.) > > Ton > > On 14 Jul 2006, at 07:57, Trevor Warren wrote: > > Have tired many a time to get nrpe running on aix but never have had a > smooth experience. Aix n HpUX have always been issues to get up and running > on. > > We ended up writing our own plugins on the older *nix boxes. But now even > those are outdated and have be to redone for AIX5L. Some of us > needs(probably i will sometime soon) to take ownership on the aix front. > This is the only way we will ever get stable plugins for aix/hpux/solaris. > > Is there a plugin roadmap on the risc front?. > > Trevor > > On 7/14/06, Alexander Harvey wrote: > > > > Sorry, should have done my research first but I discovered this in the > > archives: http://sourceforge.net/mailarchive/message.php?msg_id=6818296 > > > > Does anyone know if there was ever a patch released? Am I on the wrong > > track? Has anyone made NRPE work on AIX such that when we run the following > > test on the host instead of getting: > > > > > > /usr/local/nagios/libexec/check_nrpe -H grenados > > CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? > > > > we get > > > > /usr/local/nagios/libexec/check_nrpe -H cairns > > NRPE v1.9 > > > > as expected? > > > > > > > > On 7/14/06, Alexander Harvey wrote: > > > > > > Hi, > > > > > > I found some more information: > > > > > > The following message gets written to syslog: > > > > > > /var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error > > > nrpe[876772]: Error: Request packet had invalid CRC32. > > > /var/log/daemon:Jul 14 16:20:09 ausyd-dw01 daemon:err|error > > > nrpe[876772]: Client request was invalid, bailing out... > > > > > > I see this happens in the following code fragment: > > > > > > /***** DECRYPT REQUEST ******/ > > > > > > > > > /* check the crc 32 value */ > > > packet_crc32=ntohl(pkt->crc32_value); > > > pkt->crc32_value=0L; > > > calculated_crc32=calculate_crc32((char *)pkt,sizeof(packet)); > > > if(packet_crc32!=calculated_crc32){ > > > syslog(LOG_ERR,"Error: Request packet had invalid > > > CRC32."); > > > return ERROR; > > > } > > > > > > Anyone have any idea why this would happen? (My configure options etc > > > were given in previous post). > > > > > > Thanks, > > > Alex > > > > > > > > > > > > > > > On 7/13/06, Alexander Harvey wrote: > > > > > > > > Hi List, > > > > > > > > I am having a lot of grief trying to make NRPE 2.5.2 (and I've tried > > > > 2.5.1 and 2.5 as well) work in AIX5.3. > > > > > > > > From the Nagios host I'm getting: > > > > > > > > # /usr/local/nagios/libexec/check_nrpe -H grenados > > > > CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the > > > > host? > > > > > > > > and on the client I just see the following in the syslog: > > > > > > > > Jul 11 06:49:04 ns1 nrpe[29329]: [ID 927837 mail.info ] connect from > > > > 202.139.122.88 > > > > > > > > (Aside: why's the logging going to " mail.info"??) > > > > > > > > I'm building nrpe using: > > > > > > > > # ./configure --disable-ssl > > > > > > > > # make all > > > > > > > > Then > > > > > > > > # grep nrpe /etc/services > > > > nrpe 5666/tcp # NRPE > > > > > > > > # grep nrpe /etc/inetd.conf > > > > nrpe stream tcp nowait nagios /usr/local/bin/tcpd > > > > /usr/local/nagios/libexec/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i > > > > > > > > # cat /etc/hosts.allow > > > > nrpe: : ALLOW > > > > > > > > I tried trussing it without finding anything much. If anyone can > > > > help I'd be most appreciative; I'm out of ideas as to how to troubleshoot > > > > this any further. > > > > > > > > Thanks in advance, > > > > Alex > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > -- > ___________________________________ > ( >- / Scaling FreeSoftware & OpenSource \ -< ) > /~\ / In the Enterprise \ /~\ > | \) \ | www.fsf.org | www.opensource.org | / (/ | > |_|_ \____________________________________/ _|_| > > An eye for an eye will soon turn the world blind - MKG > > "You cannot see me, yet I am the light you see by. You cannot hear me, yet > I speak through your voice. You cannot feel me, yet I am the power at work > in your hands. I am at work, though you do not understand my ways. I am not > strange visions. I am not mysteries. > Only in absolute stillness, beyond self, can you know me as I am, and then > but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon > " > > This message has been scanned for viruses by MailController > . > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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.altinity.com > T: +44 (0)870 787 9243 > F: +44 (0)845 280 1725 > Skype: tonvoon > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew.ruddock at tst-us.com Fri Jul 14 19:50:33 2006 From: andrew.ruddock at tst-us.com (Andrew Ruddock) Date: Fri, 14 Jul 2006 13:50:33 -0400 Subject: nrpe-nt not sending FIN/SYN? Message-ID: <44B7D969.8000305@tst-us.com> All, It appears I have a potentially unique problem. I've been through the mailing lists and support documentation everywhere and can't find a resolution so I am hoping someone else has seen this problem or something similar. We are running Nagios 2.2 on a linux server which sits in one dmz behind a Cisco Pix firewall. The Nagios server is checking the NRPE-NT 0.8b client on many Windows 2000/2003 servers in another dmz. We have a firewall policy that permit the Nagios server and associated NRPE port to connect to any host in the second dmz. Although Nagios is able to connect and receive responses from the NRPE clients, it appears that the connections are not being closed gracefully. My firewall the Pix, is being flooded with tons of Denial messages. I've done packet captures to try and isolate the problem, and it appears that the NRPE client is sending a frame without a FIN or SYN in it. This is causing my firewall to log a LOT more than it really needs to. Here is the the problem definition from Cisco: /%PIX-6-106015: Deny TCP (no connection) from IP_addr/port to IP_addr/port flags flags on interface int_name./ Explanation - This message is logged when the PIX Firewall discards a TCP packet that has no associated connection in the PIX Firewall unit's connection table. PIX Firewall looks for a SYN flag in the packet, which indicates a request to establish a new connection. If the SYN flag is not set, and there is not an existing connection, the PIX Firewall discards the packet. My log files are huge. I would really like to get them back down to a more manageable size. Any thoughts would be appreciated. Regards, Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Jul 14 20:36:01 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 14 Jul 2006 20:36:01 +0200 (CEST) Subject: nrpe-nt not sending FIN/SYN? In-Reply-To: <44B7D969.8000305@tst-us.com> References: <44B7D969.8000305@tst-us.com> Message-ID: On Fri, 14 Jul 2006, Andrew Ruddock wrote: > We are running Nagios 2.2 on a linux server which sits in one dmz behind > a Cisco Pix firewall. The Nagios server is checking the NRPE-NT 0.8b > client on many Windows 2000/2003 servers in another dmz. We have a > firewall policy that permit the Nagios server and associated NRPE port > to connect to any host in the second dmz. > > Although Nagios is able to connect and receive responses from the NRPE > clients, it appears that the connections are not being closed > gracefully. My firewall the Pix, is being flooded with tons of Denial > messages. I've done packet captures to try and isolate the problem, and > it appears that the NRPE client is sending a frame without a FIN or SYN > in it. This is causing my firewall to log a LOT more than it really > needs to. I think I would like to see a full trace to establish who is not playing ball here. My guess is that a TCP connection is initiated and assumed to be open for ages by Nagios (and relatives). But without traffic the PIX will shutdown the session after N seconds (where N could be a common number like: 60, 300, 900 or 3600). So in order to pass sentence we need the evidence in full. But I would put my money on the PIX being the offender. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From R.Ford at pindar.com Fri Jul 14 21:12:38 2006 From: R.Ford at pindar.com (Rob Ford) Date: Fri, 14 Jul 2006 20:12:38 +0100 Subject: Rob Ford is out of the office. Message-ID: I will be out of the office starting 14/07/2006 and will not return until 18/07/2006. I will respond to your message when I return. *********************************************************************************** This e-mail and attachments are intended for the above name only and may be confidential. If they have come to you in error, you must take no action based on them, nor must copy or show them to anyone; please reply to this e-mail and report the error. Security warning: Please note that this e-mail has been created in the knowledge that the internet is not a one hundred percent secure communication medium. We advise that you understand and observe this lack of security when e-mailing us. Virus: Although we have taken steps to ensure that this e-mail and attachments are free from any virus, we advise that in keeping with good practice the recipient should ensure they are actually virus free. If you have received this e-mail in error please notify: postmaster at pindar.com This message has been scanned for viruses by MailControl - www.mailcontrol.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew.ruddock at tst-us.com Fri Jul 14 22:07:53 2006 From: andrew.ruddock at tst-us.com (Andrew Ruddock) Date: Fri, 14 Jul 2006 16:07:53 -0400 Subject: nrpe-nt not sending FIN/SYN? In-Reply-To: References: <44B7D969.8000305@tst-us.com> Message-ID: <44B7F999.6050504@tst-us.com> Current timer values in the Pix, which seem more than reasonable to me. These are the defaults. In fact, I may even want to shorten some of them. timeout xlate 3:00:00 (Specifies the idle time until a translation slot is freed; the minimum value is one minute.) timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02 conn = Specifies the idle time after which a connection closes; the minimum duration is five minutes. half-closed = Specifies the idle time after which a TCP half-closed connection will be freed. I can not disclose IP Addresses, nor can I post the actual dump due to security protocols in my place of employment. However, I have attached a .jpg of one of the tcp streams in question. The stream seems normal to me (excluding the frame segmentation) up until frame 15. I would have expected to see either a SYN or FIN to close the session between the nagios server and the nrpe client, but you don't. You just see the Reset and Acknowledgement in frame 15. The RST most likely came from the firewall after not getting a SYN in the last packet, I'm guessing. We are using an SSL handshake between the server and the client and originally thought that maybe it was being hidden by the SSL, but that shouldn't be the case. Thank you, Andrew Hugo van der Kooij wrote: > On Fri, 14 Jul 2006, Andrew Ruddock wrote: > > >> We are running Nagios 2.2 on a linux server which sits in one dmz behind >> a Cisco Pix firewall. The Nagios server is checking the NRPE-NT 0.8b >> client on many Windows 2000/2003 servers in another dmz. We have a >> firewall policy that permit the Nagios server and associated NRPE port >> to connect to any host in the second dmz. >> >> Although Nagios is able to connect and receive responses from the NRPE >> clients, it appears that the connections are not being closed >> gracefully. My firewall the Pix, is being flooded with tons of Denial >> messages. I've done packet captures to try and isolate the problem, and >> it appears that the NRPE client is sending a frame without a FIN or SYN >> in it. This is causing my firewall to log a LOT more than it really >> needs to. >> > > I think I would like to see a full trace to establish who is not playing > ball here. > > My guess is that a TCP connection is initiated and assumed to be open for > ages by Nagios (and relatives). But without traffic the PIX will shutdown > the session after N seconds (where N could be a common number like: 60, > 300, 900 or 3600). > > So in order to pass sentence we need the evidence in full. > > But I would put my money on the PIX being the offender. > > Hugo. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: cap1.JPG Type: image/jpeg Size: 203119 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Jul 14 23:35:09 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 14 Jul 2006 23:35:09 +0200 (CEST) Subject: nrpe-nt not sending FIN/SYN? In-Reply-To: <44B7F999.6050504@tst-us.com> References: <44B7D969.8000305@tst-us.com> <44B7F999.6050504@tst-us.com> Message-ID: On Fri, 14 Jul 2006, Andrew Ruddock wrote: > Current timer values in the Pix, which seem more than reasonable to me. > These are the defaults. In fact, I may even want to shorten some of them. > > timeout xlate 3:00:00 (Specifies the idle time until a translation slot > is freed; the minimum value is one minute.) > > timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02 > conn = Specifies the idle time after which a connection closes; the > minimum duration is five minutes. > half-closed = Specifies the idle time after which a TCP half-closed > connection will be freed. There is what you configured. Not nescessarily what actually takes place. I have seen my share of incorrect session handling on Cisco equipment. Mostly IOS issues but some PIX bugs as well. So far I see nothing odd to prove Nagios is doing anything wrong. But you need to monitor and compare 2 sides. One is the session as seen between Nagios and PIX. The other between PIX and NRPE. What I find rather odd is that it all ends up as fragmented packets. fragmented packets are the bane of any firewall I have seen. Somehow reassembling them for inspection seems to be a major pain and they often get it wrong. If you can't show the real data you need to rewrite the lot manual to show all relevant data to the session. Like FLAGS, sequence numbers, ethernet and IP addresses, ....... (well it pretty much is everything to be honest.) If you company policy does not allow you to show relevant details then I guess you have to spend company money and hire someone to come over and do the serious packet comparison one needs to perform to find the real cause. Having done some serious firewall troubleshooting I know there is no substitute for the raw data to find the real cause. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 14 23:48:26 2006 From: marc at ena.com (Marc Powell) Date: Fri, 14 Jul 2006 16:48:26 -0500 Subject: nrpe-nt not sending FIN/SYN? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hugo van der Kooij > Sent: Friday, July 14, 2006 4:35 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] nrpe-nt not sending FIN/SYN? > > On Fri, 14 Jul 2006, Andrew Ruddock wrote: > > > Current timer values in the Pix, which seem more than reasonable to me. > > These are the defaults. In fact, I may even want to shorten some of > them. > > > > timeout xlate 3:00:00 (Specifies the idle time until a translation slot > > is freed; the minimum value is one minute.) > > > > timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02 > > conn = Specifies the idle time after which a connection closes; the > > minimum duration is five minutes. > > half-closed = Specifies the idle time after which a TCP half-closed > > connection will be freed. > > There is what you configured. Not nescessarily what actually takes place. > I have seen my share of incorrect session handling on Cisco equipment. > Mostly IOS issues but some PIX bugs as well. > > So far I see nothing odd to prove Nagios is doing anything wrong. But you > need to monitor and compare 2 sides. One is the session as seen between > Nagios and PIX. The other between PIX and NRPE. I admit my ignorance here but isn't NRPE using the standard socket libraries of the OS? SYN/FIN bits would be set by the OS, not NRPE, would they not? As far as NRPE is concerned it's just sending data to a socket and the actual transport is handled elsewhere. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian at briandesmond.com Sat Jul 15 04:41:12 2006 From: brian at briandesmond.com (Brian Desmond) Date: Sat, 15 Jul 2006 08:11:12 +0530 Subject: Dell OMSA Disk Monitoring with Nagios In-Reply-To: <8552c3a30607140627s7ab6805fpdf3d1740de2c523a@mail.gmail.com> References: <8552c3a30607140627s7ab6805fpdf3d1740de2c523a@mail.gmail.com> Message-ID: I use NRPE and the perl scripts on nagios exchange which parse the omreport utility output... Thanks, Brian Desmond brian at briandesmond.com c - 312.731.3132 > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Mike M > Sent: Friday, July 14, 2006 8:27 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Dell OMSA Disk Monitoring with Nagios > > I was just curious if anyone was using Nagios to monitor Dell PERCs > using the OMSA SNMP storage agent. At the moment we're using the > percsnmpd package with the check_megaraid > (http://www.ibiblio.org/john/megaraid/) Nagios plugin. However, with > our new PowerEdge 2950s, our 64-bit boxes, and the machines we have > running RHEL 4, percsnmpd (and by extension, check_megaraid) doesn't > work. > > I know OMSA can send traps for this stuff, but I would also like to > actively poll it. It's useful to see the green "MegaRAID OK" within > Nagios, rather than passively waiting for a failure. > > Thanks in advance, > > Mike > > > ----------------------------------------------------------------------- > -- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as- > us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rjenkins at dibr.net Sat Jul 15 05:19:32 2006 From: rjenkins at dibr.net (Ron Jenkins) Date: Fri, 14 Jul 2006 22:19:32 -0500 Subject: Nagios v2.5 and Apache v2.0.58 Message-ID: I have Nagios running on SUSE v9.3. The problem I am having is that the background and images (display a red X) within the web interface (right frame) are not showing; see below. Any help would be great. Thanks... Ron Jenkins (SnortCP, MCNE, CNE6, MCP, CCNA, CCEA) Senior Architect Data Integrity, LLC "We Integrate People with Solutions" 1724 Dallas Drive Suite 11 Baton Rouge, La 70806 Office. 225.927.8030 Fax. 225.927.8033 Cell225.931.1632 Email. rjenkins at dibr.net Web. http://www.dibr.net (Aanval Reseller and Technology Partner) http://www.aanval.com/tour/dibr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 118882 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Sat Jul 15 06:01:10 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 15 Jul 2006 00:01:10 -0400 Subject: Nagios v2.5 and Apache v2.0.58 In-Reply-To: References: Message-ID: From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Ron Jenkins Sent: Friday, July 14, 2006 8:20 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios v2.5 and Apache v2.0.58 > The problem I am having is that the background and images > (display a red X) within the web interface (right frame) > are not showing; see below. Check your webserver logs. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Sat Jul 15 21:32:52 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Sat, 15 Jul 2006 15:32:52 -0400 Subject: Suppressing notifications for a host based on another host for on-demand host checks Message-ID: <200607151932.k6FJWqhp024844@mx1.cs.umb.edu> Hello all: I am running nagios 2.0 and have a single host represented twice within nagios. It has two names: a.example.com, a.pub.example.com When I (and others) take a.example.com down I disable notifications for the host and it's services. However I often forget to do the same for it's other instance a.pub.example.com (in reality we have 4 or 5 names for some hosts corresponding to different IP addresses). I was hoping that host dependencies would help in this case by simply making a.pub.example.com depend on a.example.com. Then if a.example.com was down the notification for a.pub.example.com wouldn't go out and neither would the service errors on a.pub.example.com (because the host was down). However it doesn't work that way according to the manual. Only scheduled host checks (not the on-demand checks caused by the loss of services on a.pub.example.com) are affected by the host dependencies. I can't use parent directives either because these interfaces are on separate networks and using the parent directives would: 1) create a link that doesn't exist (the nagios server is multi-homed) 2) create a loop in the parent graph that would cause nagios to fail. One way I thought of to do this is to use a new host check plugin for a.pub.example.com that returns "unreachable (2)" if a.example.com was in an error state. Setting a.pub.example.com to "unreachable" should also suppress the notifications done by the core, and the dependency can be defined statically in the nagios config files rather than dynamically in the plugin. Something like: check_host_with_dependency -H $HOSTADDRESS$ -P $HOSTSTATEID:a.example.com$ where the plugin returns 2 if $HOSTSTATEID:a.example.com$ is 1 or 2, and returns the result of "check_ping" if $HOSTSTATEID:a.example.com$ is 0. I think this should work according to the manual, does anybody disagree? Also does anybody have a better way of doing this? -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsullivan at opensourcedevel.com Sun Jul 16 00:38:49 2006 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Sat, 15 Jul 2006 18:38:49 -0400 Subject: Suppressing notifications for a host based on another host for on-demand host checks In-Reply-To: <200607151932.k6FJWqhp024844@mx1.cs.umb.edu> References: <200607151932.k6FJWqhp024844@mx1.cs.umb.edu> Message-ID: <1153003129.3044.62.camel@localhost> On Sat, 2006-07-15 at 15:32 -0400, John P. Rouillard wrote: > Hello all: > > I am running nagios 2.0 and have a single host represented twice > within nagios. It has two names: a.example.com, a.pub.example.com > > When I (and others) take a.example.com down I disable notifications > for the host and it's services. However I often forget to do the same > for it's other instance a.pub.example.com (in reality we have 4 or 5 > names for some hosts corresponding to different IP addresses). > > I was hoping that host dependencies would help in this case by > simply making a.pub.example.com depend on a.example.com. Then if > a.example.com was down the notification for a.pub.example.com wouldn't > go out and neither would the service errors on a.pub.example.com > (because the host was down). > > However it doesn't work that way according to the manual. Only > scheduled host checks (not the on-demand checks caused by the loss of > services on a.pub.example.com) are affected by the host > dependencies. > > I can't use parent directives either because these interfaces are on > separate networks and using the parent directives would: > > 1) create a link that doesn't exist (the nagios server is multi-homed) > > 2) create a loop in the parent graph that would cause nagios to fail. > > > One way I thought of to do this is to use a new host check plugin for > a.pub.example.com that returns "unreachable (2)" if a.example.com was > in an error state. Setting a.pub.example.com to "unreachable" should > also suppress the notifications done by the core, and the dependency > can be defined statically in the nagios config files rather than > dynamically in the plugin. Something like: > > check_host_with_dependency -H $HOSTADDRESS$ -P $HOSTSTATEID:a.example.com$ > > where the plugin returns 2 if $HOSTSTATEID:a.example.com$ is 1 or 2, > and returns the result of "check_ping" if $HOSTSTATEID:a.example.com$ > is 0. I think this should work according to the manual, does anybody > disagree? > > Also does anybody have a better way of doing this? I am very new to Nagios so please do not take this as expert advise. How about using a service dependency instead. Make the other services dependent on whatever service is used to check the alive status of the host. There are some tips in the manual of making the process of creating all those service dependencies easier using regular expression, service groups and host groups. Hope this helps - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com If you would like to participate in the development of an open source enterprise class network security management system, please visit http://iscs.sourceforge.net ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Sun Jul 16 04:42:19 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Sat, 15 Jul 2006 22:42:19 -0400 Subject: Suppressing notifications for a host based on another host for on-demand host checks In-Reply-To: Your message of "Sat, 15 Jul 2006 18:38:49 EDT." <1153003129.3044.62.camel@localhost> References: <1153003129.3044.62.camel@localhost> Message-ID: <200607160242.k6G2gJub016931@mx1.cs.umb.edu> In message <1153003129.3044.62.camel at localhost>, "John A. Sullivan III" writes: >On Sat, 2006-07-15 at 15:32 -0400, John P. Rouillard wrote: >> When I (and others) take a.example.com down I disable notifications >> for the host and it's services. However I often forget to do the same >> for it's other instance a.pub.example.com (in reality we have 4 or 5 >> names for some hosts corresponding to different IP addresses). >> >> I was hoping that host dependencies would help in this case by >> simply making a.pub.example.com depend on a.example.com. Then if >> a.example.com was down the notification for a.pub.example.com wouldn't >> go out and neither would the service errors on a.pub.example.com >> (because the host was down). >> >> However it doesn't work that way according to the manual. Only >> scheduled host checks (not the on-demand checks caused by the loss of >> services on a.pub.example.com) are affected by the host >> dependencies. > >I am very new to Nagios so please do not take this as expert advise. >How about using a service dependency instead. Make the other services >dependent on whatever service is used to check the alive status of the >host. There are some tips in the manual of making the process of >creating all those service dependencies easier using regular expression, >service groups and host groups. That is a valid answer if it was the service checks that were notifying. In fact the service checks for a.pub.example.com do depend on the ping check of a.example.com but that doesn't suppress the host notifcation for a.pub.example.com even though the ping check and host check commands call the same program. The problem is that the host down notification and not a service check notification is sent. In fact the service check notifications are never sent because by default the service checks notifications are suppressed if the host is down, which is it. I just need to not get the host down notification for a.pub.example.com. Thanks for the response though. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rasoolg at yahoo.com Sun Jul 16 09:16:12 2006 From: rasoolg at yahoo.com (Rasool Ghaznavi) Date: Sun, 16 Jul 2006 00:16:12 -0700 (PDT) Subject: statusmap.cgi Message-ID: <20060716071612.17978.qmail@web54602.mail.yahoo.com> Dear Friends , I want to install nagios on a freebsd server , I have gd, png and jpg installed on my server but when I want to install nagios with ./configure it says you don't have one of them . I tried with --with-gd-inc and --with-gd-lib with the addresses /usr/loca/include and /usr/local/lib (I have gd libraries on them) but still I have problem . I need statusmap.cgi and with this error I don't have it . could you please help me what to do ? Rasool Ghaznavi zadeh --------------------------------- How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Jul 16 12:18:07 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 16 Jul 2006 12:18:07 +0200 (CEST) Subject: statusmap.cgi In-Reply-To: <20060716071612.17978.qmail@web54602.mail.yahoo.com> References: <20060716071612.17978.qmail@web54602.mail.yahoo.com> Message-ID: On Sun, 16 Jul 2006, Rasool Ghaznavi wrote: > Dear Friends , > I want to install nagios on a freebsd server , > I have gd, png and jpg installed on my server but when I want to install nagios with ./configure it says you don't have one of them . > I tried with --with-gd-inc and --with-gd-lib with the addresses /usr/loca/include and /usr/local/lib (I have gd libraries on them) but still I have problem . > I need statusmap.cgi and with this error I don't have it . > could you please help me what to do ? The first and main question is: Do you in fact have the development libraries? Or just the runtime ones? I'm not that familiar with freebsd to know how things are done there. But it would explain the issue rather well. And is there a reason why you don't want to pick nagios from the ports? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgombolaty at gmail.com Sun Jul 16 14:02:01 2006 From: mgombolaty at gmail.com (Mohamed Gombolaty) Date: Sun, 16 Jul 2006 15:02:01 +0300 Subject: mcrypt problem on Solaris 10 Message-ID: <8208ceb00607160502u3b1461afue6716039183848c3@mail.gmail.com> Dear All, I have installed nagios and nsca-2.6 along with mcrypt-2.6.4on a solaris 10 box, and all the compilation went well, but whenever I run the script that uses send_nsca I get the following error : send_nsca[26545]: [ID 334271 user.error] Could not open mcrypt algorithm 'blowfish' with mode 'cfb' Can anyone help me out, please. Thx MAG -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rjenkins at dibr.net Sun Jul 16 15:23:43 2006 From: rjenkins at dibr.net (Ron Jenkins) Date: Sun, 16 Jul 2006 08:23:43 -0500 Subject: Nagios v2.5 and Apache v2.0.58 In-Reply-To: References: Message-ID: Below are the errors. Thanks... [Fri Jul 14 22:33:07 2006] [error] [client x.x.x.x] File does not exist: /www/htdocs/www, referer: http://x.x.x.x/nagios/cgi-bin/tac.cgi [Fri Jul 14 22:34:05 2006] [error] [client x.x.x.x] File does not exist: /www/htdocs/www [Fri Jul 14 22:34:05 2006] [error] [client x.x.x.x] File does not exist: /www/htdocs/www [Fri Jul 14 22:34:05 2006] [error] [client x.x.x.x] File does not exist: /www/htdocs/www [Fri Jul 14 22:34:05 2006] [error] [client x.x.x.x] File does not exist: /www/htdocs/www [Fri Jul 14 22:34:05 2006] [error] [client x.x.x.x] File does not exist: /www/htdocs/www [Fri Jul 14 22:34:06 2006] [error] [client x.x.x.x] File does not exist: /www/htdocs/www -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Friday, July 14, 2006 11:01 PM To: Ron Jenkins; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios v2.5 and Apache v2.0.58 From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Ron Jenkins Sent: Friday, July 14, 2006 8:20 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios v2.5 and Apache v2.0.58 > The problem I am having is that the background and images > (display a red X) within the web interface (right frame) > are not showing; see below. Check your webserver logs. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.morris at hp.com Sun Jul 16 18:34:46 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sun, 16 Jul 2006 12:34:46 -0400 Subject: Nagios v2.5 and Apache v2.0.58 In-Reply-To: References: Message-ID: > From: Ron Jenkins [mailto:rjenkins at dibr.net] > Sent: Sunday, July 16, 2006 6:24 AM > To: Morris, Patrick; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios v2.5 and Apache v2.0.58 > Below are the errors. > [Fri Jul 14 22:33:07 2006] [error] [client x.x.x.x] File does not exist: > /www/htdocs/www, referer: http://x.x.x.x/nagios/cgi-bin/tac.cgi At first glance, looks like your cgi.cfg is incorrect. What are physical_html and url_html_path set to? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rjenkins at dibr.net Sun Jul 16 18:59:33 2006 From: rjenkins at dibr.net (Ron Jenkins) Date: Sun, 16 Jul 2006 11:59:33 -0500 Subject: Nagios v2.5 and Apache v2.0.58 In-Reply-To: References: Message-ID: Below are the settings. FYI... The Apache location is /www and I am running Nagios v2.5 Thanks... # PHYSICAL HTML PATH # This is the path where the HTML files for Nagios reside. This # value is used to locate the logo images needed by the statusmap # and statuswrl CGIs. physical_html_path=/usr/local/nagios/share # URL HTML PATH # This is the path portion of the URL that corresponds to the # physical location of the Nagios HTML files (as defined above). # This value is used by the CGIs to locate the online documentation # and graphics. If you access the Nagios pages with an URL like # http://www.myhost.com/nagios, this value should be '/nagios' # (without the quotes). url_html_path=/www/htdocs/nagios/ -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Sunday, July 16, 2006 11:35 AM To: Ron Jenkins; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios v2.5 and Apache v2.0.58 > From: Ron Jenkins [mailto:rjenkins at dibr.net] > Sent: Sunday, July 16, 2006 6:24 AM > To: Morris, Patrick; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios v2.5 and Apache v2.0.58 > Below are the errors. > [Fri Jul 14 22:33:07 2006] [error] [client x.x.x.x] File does not exist: > /www/htdocs/www, referer: http://x.x.x.x/nagios/cgi-bin/tac.cgi At first glance, looks like your cgi.cfg is incorrect. What are physical_html and url_html_path set to? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rjenkins at dibr.net Sun Jul 16 19:05:27 2006 From: rjenkins at dibr.net (Ron Jenkins) Date: Sun, 16 Jul 2006 12:05:27 -0500 Subject: Nagios v2.5 and Apache v2.0.58 In-Reply-To: References: Message-ID: Below is the httpd.conf file. Thanks... # # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See for detailed information about # the directives. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # The configuration directives are grouped into three basic sections: # 1. Directives that control the operation of the Apache server process as a # whole (the 'global environment'). # 2. Directives that define the parameters of the 'main' or 'default' server, # which responds to requests that aren't handled by a virtual host. # These directives also provide default values for the settings # of all virtual hosts. # 3. Settings for virtual hosts, which allow Web requests to be sent to # different IP addresses or hostnames and have them handled by the # same Apache server process. # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with "/" (or "drive:/" for Win32), the # server will use that explicit path. If the filenames do *not* begin # with "/", the value of ServerRoot is prepended -- so "logs/foo.log" # with ServerRoot set to "/www" will be interpreted by the # server as "/www/logs/foo.log". # ### Section 1: Global Environment # # The directives in this section affect the overall operation of Apache, # such as the number of concurrent requests it can handle or where it # can find its configuration files. # # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # NOTE! If you intend to place this on an NFS (or otherwise network) # mounted filesystem then please read the LockFile documentation (available # at ); # you will save yourself a lot of trouble. # # Do NOT add a slash at the end of the directory path. # ServerRoot "/www" # # The accept serialization lock file MUST BE STORED ON A LOCAL DISK. # #LockFile logs/accept.lock # # ScoreBoardFile: File used to store internal server process information. # If unspecified (the default), the scoreboard will be stored in an # anonymous shared memory segment, and will be unavailable to third-party # applications. # If specified, ensure that no two invocations of Apache share the same # scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK. # #ScoreBoardFile logs/apache_runtime_status # # PidFile: The file in which the server should record its process # identification number when it starts. # PidFile logs/httpd.pid # # Timeout: The number of seconds before receives and sends time out. # Timeout 300 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive On # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 100 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 15 ## ## Server-Pool Size Regulation (MPM specific) ## # prefork MPM # StartServers: number of server processes to start # MinSpareServers: minimum number of server processes which are kept spare # MaxSpareServers: maximum number of server processes which are kept spare # MaxClients: maximum number of server processes allowed to start # MaxRequestsPerChild: maximum number of requests a server process serves StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 150 MaxRequestsPerChild 0 # worker MPM # StartServers: initial number of server processes to start # MaxClients: maximum number of simultaneous client connections # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # ThreadsPerChild: constant number of worker threads in each server process # MaxRequestsPerChild: maximum number of requests a server process serves StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 # perchild MPM # NumServers: constant number of server processes # StartThreads: initial number of worker threads in each server process # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # MaxThreadsPerChild: maximum number of worker threads in each server process # MaxRequestsPerChild: maximum number of connections per server process NumServers 5 StartThreads 5 MinSpareThreads 5 MaxSpareThreads 10 MaxThreadsPerChild 20 MaxRequestsPerChild 0 # WinNT MPM # ThreadsPerChild: constant number of worker threads in the server process # MaxRequestsPerChild: maximum number of requests a server process serves ThreadsPerChild 250 MaxRequestsPerChild 0 # BeOS MPM # StartThreads: how many threads do we initially spawn? # MaxClients: max number of threads we can have (1 thread == 1 client) # MaxRequestsPerThread: maximum number of requests each thread will process StartThreads 10 MaxClients 50 MaxRequestsPerThread 10000 # NetWare MPM # ThreadStackSize: Stack size allocated for each worker thread # StartThreads: Number of worker threads launched at server startup # MinSpareThreads: Minimum number of idle threads, to handle request spikes # MaxSpareThreads: Maximum number of idle threads # MaxThreads: Maximum number of worker threads alive at the same time # MaxRequestsPerChild: Maximum number of requests a thread serves. It is # recommended that the default value of 0 be set for this # directive on NetWare. This will allow the thread to # continue to service requests indefinitely. ThreadStackSize 65536 StartThreads 250 MinSpareThreads 25 MaxSpareThreads 250 MaxThreads 1000 MaxRequestsPerChild 0 MaxMemFree 100 # OS/2 MPM # StartServers: Number of server processes to maintain # MinSpareThreads: Minimum number of idle threads per process, # to handle request spikes # MaxSpareThreads: Maximum number of idle threads per process # MaxRequestsPerChild: Maximum number of connections per server process StartServers 2 MinSpareThreads 5 MaxSpareThreads 10 MaxRequestsPerChild 0 # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses (0.0.0.0) # #Listen 12.34.56.78:80 Listen 80 # # Dynamic Shared Object (DSO) Support # # To be able to use the functionality of a module which was built as a DSO you # have to place corresponding `LoadModule' lines at this location so the # directives contained in it are actually available _before_ they are used. # Statically compiled modules (those listed by `httpd -l') do not need # to be loaded here. # # Example: # LoadModule foo_module modules/mod_foo.so #LoadModule php4_module modules/libphp5.so LoadModule php5_module modules/libphp5.so # # # ExtendedStatus controls whether Apache will generate "full" status # information (ExtendedStatus On) or just basic information (ExtendedStatus # Off) when the "server-status" handler is called. The default is Off. # #ExtendedStatus On ### Section 2: 'Main' server configuration # # The directives in this section set up the values used by the 'main' # server, which responds to any requests that aren't handled by a # definition. These values also provide defaults for # any containers you may define later in the file. # # All of these directives may appear inside containers, # in which case these default settings will be overridden for the # virtual host being defined. # # # If you wish httpd to run as a different user or group, you must run # httpd as root initially and it will switch. # # User/Group: The name (or #number) of the user/group to run httpd as. # . On SCO (ODT 3) use "User nouser" and "Group nogroup". # . On HPUX you may not be able to use shared memory as nobody, and the # suggested workaround is to create a user www and use that user. # NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET) # when the value of (unsigned)Group is above 60000; # don't use Group #-1 on these systems! # User nobody Group #-1 # # ServerAdmin: Your address, where problems with the server should be # e-mailed. This address appears on some server-generated pages, such # as error documents. e.g. admin at your-domain.com # ServerAdmin you at example.com # # ServerName gives the name and port that the server uses to identify itself. # This can often be determined automatically, but we recommend you specify # it explicitly to prevent problems during startup. # # If this is not set to valid DNS name for your host, server-generated # redirections will not work. See also the UseCanonicalName directive. # # If your host doesn't have a registered DNS name, enter its IP address here. # You will have to access it by its address anyway, and this will make # redirections work in a sensible way. # #ServerName www.example.com:80 # # UseCanonicalName: Determines how Apache constructs self-referencing # URLs and the SERVER_NAME and SERVER_PORT variables. # When set "Off", Apache will use the Hostname and Port supplied # by the client. When set "On", Apache will use the value of the # ServerName directive. # UseCanonicalName off # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "/www/htdocs" # # Each directory to which Apache has access can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the "default" to be a very restrictive set of # features. # ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios /usr/local/nagios/share Options None AllowOverride AuthConfig Order allow,deny Allow from all AuthType Basic AuthName "XXXXXXXXXXXX" AuthUserFile XXXXXXXXX Require user XXXXXXXX Options FollowSymLinks AllowOverride None # # Note that from this point forward you must specifically allow # particular features to be enabled - so if something's not working as # you might expect, make sure that you have specifically enabled it # below. # # # This should be changed to whatever you set DocumentRoot to. # # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs-2.0/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride None # # Controls who can get stuff from this server. # Order allow,deny Allow from all # # UserDir: The name of the directory that is appended onto a user's home # directory if a ~user request is received. # UserDir public_html # # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. # # # AllowOverride FileInfo AuthConfig Limit Indexes # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec # # Order allow,deny # Allow from all # # # Order deny,allow # Deny from all # # # # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. # # The index.html.var file (a type-map) is used to deliver content- # negotiated documents. The MultiViews Option can be used for the # same purpose, but it is much slower. # DirectoryIndex index.php index.html index.html.var # # AccessFileName: The name of the file to look for in each directory # for additional configuration directives. See also the AllowOverride # directive. # AccessFileName .htaccess # # The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. # Order allow,deny Deny from all # # TypesConfig describes where the mime.types file (or equivalent) is # to be found. # TypesConfig conf/mime.types # # DefaultType is the default MIME type the server will use for a document # if it cannot otherwise determine one, such as from filename extensions. # If your server contains mostly text or HTML documents, "text/plain" is # a good value. If most of your content is binary, such as applications # or images, you may want to use "application/octet-stream" instead to # keep browsers from trying to display binary files as though they are # text. # DefaultType text/plain # # The mod_mime_magic module allows the server to use various hints from the # contents of the file itself to determine its type. The MIMEMagicFile # directive tells the module where the hint definitions are located. # MIMEMagicFile conf/magic # # HostnameLookups: Log the names of clients or just their IP addresses # e.g., www.apache.org (on) or 204.62.129.132 (off). # The default is off because it'd be overall better for the net if people # had to knowingly turn this feature on, since enabling it means that # each client request will result in AT LEAST one lookup request to the # nameserver. # HostnameLookups Off # # EnableMMAP: Control whether memory-mapping is used to deliver # files (assuming that the underlying OS supports it). # The default is on; turn this off if you serve from NFS-mounted # filesystems. On some systems, turning it off (regardless of # filesystem) can improve performance; for details, please see # http://httpd.apache.org/docs-2.0/mod/core.html#enablemmap # #EnableMMAP off # # EnableSendfile: Control whether the sendfile kernel support is # used to deliver files (assuming that the OS supports it). # The default is on; turn this off if you serve from NFS-mounted # filesystems. Please see # http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile # #EnableSendfile off # # ErrorLog: The location of the error log file. # If you do not specify an ErrorLog directive within a # container, error messages relating to that virtual host will be # logged here. If you *do* define an error logfile for a # container, that host's errors will be logged there and not here. # ErrorLog logs/error_log # # LogLevel: Control the number of messages logged to the error_log. # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. # LogLevel warn # # The following directives define some format nicknames for use with # a CustomLog directive (see below). # LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent # You need to enable mod_logio.c to use %I and %O #LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio # # The location and format of the access logfile (Common Logfile Format). # If you do not define any access logfiles within a # container, they will be logged here. Contrariwise, if you *do* # define per- access logfiles, transactions will be # logged therein and *not* in this file. # CustomLog logs/access_log common # # If you would like to have agent and referer logfiles, uncomment the # following directives. # #CustomLog logs/referer_log referer #CustomLog logs/agent_log agent # # If you prefer a single logfile with access, agent, and referer information # (Combined Logfile Format) you can use the following directive. # #CustomLog logs/access_log combined # # ServerTokens # This directive configures what you return as the Server HTTP response # Header. The default is 'Full' which sends information about the OS-Type # and compiled in modules. # Set to one of: Full | OS | Minor | Minimal | Major | Prod # where Full conveys the most information, and Prod the least. # ServerTokens Full # # Optionally add a line containing the server version and virtual host # name to server-generated pages (internal error documents, FTP directory # listings, mod_status and mod_info output etc., but not CGI generated # documents or custom error documents). # Set to "EMail" to also include a mailto: link to the ServerAdmin. # Set to one of: On | Off | EMail # ServerSignature On # # Aliases: Add here as many aliases as you need (with no limit). The format is # Alias fakename realname # # Note that if you include a trailing / on fakename then the server will # require it to be present in the URL. So "/icons" isn't aliased in this # example, only "/icons/". If the fakename is slash-terminated, then the # realname must also be slash terminated, and if the fakename omits the # trailing slash, the realname must also omit it. # # We include the /icons/ alias for FancyIndexed directory listings. If you # do not use FancyIndexing, you may comment this out. # Alias /icons/ "/www/icons/" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all # # This should be changed to the ServerRoot/manual/. The alias provides # the manual, even if you choose to move your DocumentRoot. You may comment # this out if you do not care for the documentation. # AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|ru))?(/.*)?$ "/www/manual$1" Options Indexes AllowOverride None Order allow,deny Allow from all SetHandler type-map SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|ru)/ prefer-language=$1 RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2 # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ScriptAlias /cgi-bin/ "/www/cgi-bin/" # # Additional to mod_cgid.c settings, mod_cgid has Scriptsock # for setting UNIX socket for communicating with cgid. # #Scriptsock logs/cgisock # # "/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # AllowOverride None Options None Order allow,deny Allow from all # # Redirect allows you to tell clients about documents which used to exist in # your server's namespace, but do not anymore. This allows you to tell the # clients where to look for the relocated document. # Example: # Redirect permanent /foo http://www.example.com/bar # # Directives controlling the display of server-generated directory listings. # # # IndexOptions: Controls the appearance of server-generated directory # listings. # IndexOptions FancyIndexing VersionSort # # AddIcon* directives tell the server which icon to show for different # files or filename extensions. These are only displayed for # FancyIndexed directories. # AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip AddIconByType (TXT,/icons/text.gif) text/* AddIconByType (IMG,/icons/image2.gif) image/* AddIconByType (SND,/icons/sound2.gif) audio/* AddIconByType (VID,/icons/movie.gif) video/* AddIcon /icons/binary.gif .bin .exe AddIcon /icons/binhex.gif .hqx AddIcon /icons/tar.gif .tar AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip AddIcon /icons/a.gif .ps .ai .eps AddIcon /icons/layout.gif .html .shtml .htm .pdf AddIcon /icons/text.gif .txt AddIcon /icons/c.gif .c AddIcon /icons/p.gif .pl .py AddIcon /icons/f.gif .for AddIcon /icons/dvi.gif .dvi AddIcon /icons/uuencoded.gif .uu AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl AddIcon /icons/tex.gif .tex AddIcon /icons/bomb.gif core AddIcon /icons/back.gif .. AddIcon /icons/hand.right.gif README AddIcon /icons/folder.gif ^^DIRECTORY^^ AddIcon /icons/blank.gif ^^BLANKICON^^ # # DefaultIcon is which icon to show for files which do not have an icon # explicitly set. # DefaultIcon /icons/unknown.gif # # AddDescription allows you to place a short description after a file in # server-generated indexes. These are only displayed for FancyIndexed # directories. # Format: AddDescription "description" filename # #AddDescription "GZIP compressed document" .gz #AddDescription "tar archive" .tar #AddDescription "GZIP compressed tar archive" .tgz # # ReadmeName is the name of the README file the server will look for by # default, and append to directory listings. # # HeaderName is the name of a file which should be prepended to # directory indexes. ReadmeName README.html HeaderName HEADER.html # # IndexIgnore is a set of filenames which directory indexing should ignore # and not include in the listing. Shell-style wildcarding is permitted. # IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t # # DefaultLanguage and AddLanguage allows you to specify the language of # a document. You can then use content negotiation to give a browser a # file in a language the user can understand. # # Specify a default language. This means that all data # going out without a specific language tag (see below) will # be marked with this one. You probably do NOT want to set # this unless you are sure it is correct for all cases. # # * It is generally better to not mark a page as # * being a certain language than marking it with the wrong # * language! # # DefaultLanguage nl # # Note 1: The suffix does not have to be the same as the language # keyword --- those with documents in Polish (whose net-standard # language code is pl) may wish to use "AddLanguage pl .po" to # avoid the ambiguity with the common suffix for perl scripts. # # Note 2: The example entries below illustrate that in some cases # the two character 'Language' abbreviation is not identical to # the two character 'Country' code for its country, # E.g. 'Danmark/dk' versus 'Danish/da'. # # Note 3: In the case of 'ltz' we violate the RFC by using a three char # specifier. There is 'work in progress' to fix this and get # the reference data for rfc1766 cleaned up. # # Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl) # English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de) # Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja) # Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn) # Norwegian (no) - Polish (pl) - Portugese (pt) # Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv) # Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW) # AddLanguage ca .ca AddLanguage cs .cz .cs AddLanguage da .dk AddLanguage de .de AddLanguage el .el AddLanguage en .en AddLanguage eo .eo AddLanguage es .es AddLanguage et .et AddLanguage fr .fr AddLanguage he .he AddLanguage hr .hr AddLanguage it .it AddLanguage ja .ja AddLanguage ko .ko AddLanguage ltz .ltz AddLanguage nl .nl AddLanguage nn .nn AddLanguage no .no AddLanguage pl .po AddLanguage pt .pt AddLanguage pt-BR .pt-br AddLanguage ru .ru AddLanguage sv .sv AddLanguage zh-CN .zh-cn AddLanguage zh-TW .zh-tw # # LanguagePriority allows you to give precedence to some languages # in case of a tie during content negotiation. # # Just list the languages in decreasing order of preference. We have # more or less alphabetized them here. You probably want to change this. # LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW # # ForceLanguagePriority allows you to serve a result page rather than # MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback) # [in case no accepted languages matched the available variants] # ForceLanguagePriority Prefer Fallback # # Specify a default charset for all pages sent out. This is # always a good idea and opens the door for future internationalisation # of your web site, should you ever want it. Specifying it as # a default does little harm; as the standard dictates that a page # is in iso-8859-1 (latin1) unless specified otherwise i.e. you # are merely stating the obvious. There are also some security # reasons in browsers, related to javascript and URL parsing # which encourage you to always set a default char set. # AddDefaultCharset ISO-8859-1 # # Commonly used filename extensions to character sets. You probably # want to avoid clashes with the language extensions, unless you # are good at carefully testing your setup after each change. # See http://www.iana.org/assignments/character-sets for the # official list of charset names and their respective RFCs. # AddCharset ISO-8859-1 .iso8859-1 .latin1 AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen AddCharset ISO-8859-3 .iso8859-3 .latin3 AddCharset ISO-8859-4 .iso8859-4 .latin4 AddCharset ISO-8859-5 .iso8859-5 .latin5 .cyr .iso-ru AddCharset ISO-8859-6 .iso8859-6 .latin6 .arb AddCharset ISO-8859-7 .iso8859-7 .latin7 .grk AddCharset ISO-8859-8 .iso8859-8 .latin8 .heb AddCharset ISO-8859-9 .iso8859-9 .latin9 .trk AddCharset ISO-2022-JP .iso2022-jp .jis AddCharset ISO-2022-KR .iso2022-kr .kis AddCharset ISO-2022-CN .iso2022-cn .cis AddCharset Big5 .Big5 .big5 # For russian, more than one charset is used (depends on client, mostly): AddCharset WINDOWS-1251 .cp-1251 .win-1251 AddCharset CP866 .cp866 AddCharset KOI8-r .koi8-r .koi8-ru AddCharset KOI8-ru .koi8-uk .ua AddCharset ISO-10646-UCS-2 .ucs2 AddCharset ISO-10646-UCS-4 .ucs4 AddCharset UTF-8 .utf8 # The set below does not map to a specific (iso) standard # but works on a fairly wide range of browsers. Note that # capitalization actually matters (it should not, but it # does for some browsers). # # See http://www.iana.org/assignments/character-sets # for a list of sorts. But browsers support few. # AddCharset GB2312 .gb2312 .gb AddCharset utf-7 .utf7 AddCharset utf-8 .utf8 AddCharset big5 .big5 .b5 AddCharset EUC-TW .euc-tw AddCharset EUC-JP .euc-jp AddCharset EUC-KR .euc-kr AddCharset shift_jis .sjis # # AddType allows you to add to or override the MIME configuration # file mime.types for specific file types. # AddType application/x-tar .tgz AddType application/x-httpd-php .php AddType image/x-icon .ico # # AddEncoding allows you to have certain browsers uncompress # information on the fly. Note: Not all browsers support this. # Despite the name similarity, the following Add* directives have nothing # to do with the FancyIndexing customization directives above. # #AddEncoding x-compress .Z #AddEncoding x-gzip .gz .tgz # # If the AddEncoding directives above are commented-out, then you # probably should define those extensions to indicate media types: # AddType application/x-compress .Z AddType application/x-gzip .gz .tgz # # AddHandler allows you to map certain file extensions to "handlers": # actions unrelated to filetype. These can be either built into the server # or added with the Action directive (see below) # # To use CGI scripts outside of ScriptAliased directories: # (You will also need to add "ExecCGI" to the "Options" directive.) # #AddHandler cgi-script .cgi # # For files that include their own HTTP headers: # #AddHandler send-as-is asis # # For server-parsed imagemap files: # #AddHandler imap-file map # # For type maps (negotiated resources): # (This is enabled by default to allow the Apache "It Worked" page # to be distributed in multiple languages.) # AddHandler type-map var # # Filters allow you to process content before it is sent to the client. # # To parse .shtml files for server-side includes (SSI): # (You will also need to add "Includes" to the "Options" directive.) # #AddType text/html .shtml #AddOutputFilter INCLUDES .shtml # # Action lets you define media types that will execute a script whenever # a matching file is called. This eliminates the need for repeated URL # pathnames for oft-used CGI file processors. # Format: Action media/type /cgi-script/location # Format: Action handler-name /cgi-script/location # # # Customizable error responses come in three flavors: # 1) plain text 2) local redirects 3) external redirects # # Some examples: #ErrorDocument 500 "The server made a boo boo." #ErrorDocument 404 /missing.html #ErrorDocument 404 "/cgi-bin/missing_handler.pl" #ErrorDocument 402 http://www.example.com/subscription_info.html # # # Putting this all together, we can internationalize error responses. # # We use Alias to redirect any /error/HTTP_.html.var response to # our collection of by-error message multi-language collections. We use # includes to substitute the appropriate text. # # You can modify the messages' appearance without changing any of the # default HTTP_.html.var files by adding the line: # # Alias /error/include/ "/your/include/path/" # # which allows you to create your own set of files by starting with the # /www/error/include/ files and copying them to /your/include/path/, # even on a per-VirtualHost basis. The default include files will display # your Apache version number and your ServerAdmin email address regardless # of the setting of ServerSignature. # # The internationalized error documents require mod_alias, mod_include # and mod_negotiation. To activate them, uncomment the following 30 lines. # Alias /error/ "/www/error/" # # # AllowOverride None # Options IncludesNoExec # AddOutputFilter Includes html # AddHandler type-map var # Order allow,deny # Allow from all # LanguagePriority en cs de es fr it nl sv pt-br ro # ForceLanguagePriority Prefer Fallback # # # ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var # ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var # ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var # ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var # ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var # ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var # ErrorDocument 410 /error/HTTP_GONE.html.var # ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var # ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var # ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var # ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var # ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var # ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var # ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var # ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var # ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var # ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var # # The following directives modify normal HTTP response behavior to # handle known problems with browser implementations. # BrowserMatch "Mozilla/2" nokeepalive BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0 BrowserMatch "RealPlayer 4\.0" force-response-1.0 BrowserMatch "Java/1\.0" force-response-1.0 BrowserMatch "JDK/1\.0" force-response-1.0 # # The following directive disables redirects on non-GET requests for # a directory that does not include the trailing slash. This fixes a # problem with Microsoft WebFolders which does not appropriately handle # redirects for folders with DAV methods. # Same deal with Apple's DAV filesystem and Gnome VFS support for DAV. # BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully BrowserMatch "^WebDrive" redirect-carefully BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully BrowserMatch "^gnome-vfs" redirect-carefully # # Allow server status reports generated by mod_status, # with the URL of http://servername/server-status # Change the ".example.com" to match your domain to enable. # # # SetHandler server-status # Order deny,allow # Deny from all # Allow from .example.com # # # Allow remote server configuration reports, with the URL of # http://servername/server-info (requires that mod_info.c be loaded). # Change the ".example.com" to match your domain to enable. # # # SetHandler server-info # Order deny,allow # Deny from all # Allow from .example.com # # # Bring in additional module-specific configurations # Include conf/ssl.conf ### Section 3: Virtual Hosts # # VirtualHost: If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # # Use name-based virtual hosting. # #NameVirtualHost *:80 # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # # # ServerAdmin webmaster at dummy-host.example.com # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/dummy-host.example.com-access_log common # -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Sunday, July 16, 2006 11:35 AM To: Ron Jenkins; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios v2.5 and Apache v2.0.58 > From: Ron Jenkins [mailto:rjenkins at dibr.net] > Sent: Sunday, July 16, 2006 6:24 AM > To: Morris, Patrick; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios v2.5 and Apache v2.0.58 > Below are the errors. > [Fri Jul 14 22:33:07 2006] [error] [client x.x.x.x] File does not exist: > /www/htdocs/www, referer: http://x.x.x.x/nagios/cgi-bin/tac.cgi At first glance, looks like your cgi.cfg is incorrect. What are physical_html and url_html_path set to? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Jul 16 19:42:30 2006 From: marc at ena.com (Marc Powell) Date: Sun, 16 Jul 2006 12:42:30 -0500 Subject: Nagios v2.5 and Apache v2.0.58 Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Ron Jenkins > Sent: Sunday, July 16, 2006 12:00 PM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios v2.5 and Apache v2.0.58 > > Below are the settings. > > # URL HTML PATH > > # This is the path portion of the URL that corresponds to the > > # physical location of the Nagios HTML files (as defined above). > > # This value is used by the CGIs to locate the online documentation > > # and graphics. If you access the Nagios pages with an URL like > > # http://www.myhost.com/nagios, this value should be '/nagios' > > # (without the quotes). > > > > url_html_path=/www/htdocs/nagios/ This is the path from your browsers perspective, not the filesystem. Typically it's just '/nagios'. Try that. There is also a discrepancy here with your httpd.conf. In there you've specified the nagios location on the filesystem to be /usr/local/nagios but here you're intimating that it's /www/htdocs/nagios. Where did you actually install it? /usr/local/nagios is normal for a tarball install. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rjenkins at dibr.net Sun Jul 16 21:20:04 2006 From: rjenkins at dibr.net (Ron Jenkins) Date: Sun, 16 Jul 2006 14:20:04 -0500 Subject: Nagios-users Digest, Vol 2, Issue 31 In-Reply-To: References: Message-ID: The install is at /usr/local/nagios That worked. Thanks... -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of nagios-users-request at lists.sourceforge.net Sent: Sunday, July 16, 2006 2:05 PM To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 2, Issue 31 Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-owner at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. Re: Nagios v2.5 and Apache v2.0.58 (Marc Powell) ---------------------------------------------------------------------- Message: 1 Date: Sun, 16 Jul 2006 12:42:30 -0500 From: "Marc Powell" Subject: Re: [Nagios-users] Nagios v2.5 and Apache v2.0.58 To: Message-ID: Content-Type: text/plain; charset="US-ASCII" > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Ron Jenkins > Sent: Sunday, July 16, 2006 12:00 PM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios v2.5 and Apache v2.0.58 > > Below are the settings. > > # URL HTML PATH > > # This is the path portion of the URL that corresponds to the > > # physical location of the Nagios HTML files (as defined above). > > # This value is used by the CGIs to locate the online documentation > > # and graphics. If you access the Nagios pages with an URL like > > # http://www.myhost.com/nagios, this value should be '/nagios' > > # (without the quotes). > > > > url_html_path=/www/htdocs/nagios/ This is the path from your browsers perspective, not the filesystem. Typically it's just '/nagios'. Try that. There is also a discrepancy here with your httpd.conf. In there you've specified the nagios location on the filesystem to be /usr/local/nagios but here you're intimating that it's /www/htdocs/nagios. Where did you actually install it? /usr/local/nagios is normal for a tarball install. -- Marc ------------------------------ ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ------------------------------ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest, Vol 2, Issue 31 ******************************************* ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From theal at pace2020.com Sun Jul 16 22:14:11 2006 From: theal at pace2020.com (Tony Heal) Date: Sun, 16 Jul 2006 16:14:11 -0400 Subject: Segmentation fault Message-ID: <20060716201412.YWQV18054.ibm66aec.bellsouth.net@viperfish> I am trying to put all configurations for each host into a single file. I am trying to automate adding removing monitored hosts. I have a script that creates the following, but when I run the verification on it I get the following error: /usr/local/bin/check_nagios: line 3: 3278 Segmentation fault /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg This is on an old version of nagios 2.0b2 I plan on updating this to use the version in Debian sarge, but first I must prove that this new process is feasible. Any help would be great. Thanks in advance Tony Heal here are the changes to nagios.cfg. I remarked out the relevant cfg files and added a cfg_dir __nagios.cfg__ # You can split other types of object definitions across several # config files if you wish (as done here), or keep them all in a # single config file. cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg #cfg_file=/usr/local/nagios/etc/dependencies.cfg #cfg_file=/usr/local/nagios/etc/escalations.cfg #cfg_file=/usr/local/nagios/etc/hostgroups.cfg #cfg_file=/usr/local/nagios/etc/hosts.cfg #cfg_file=/usr/local/nagios/etc/services.cfg #cfg_file=/usr/local/nagios/etc/servicegroup.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg # Extended host/service info definitions are now stored along with # other object definitions: #cfg_file=/usr/local/nagios/etc/hostextinfo.cfg #cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg # You can also tell Nagios to process all config files (with a .cfg # extension) in a particular directory by using the cfg_dir # directive as shown below: #cfg_dir=/usr/local/nagios/etc/servers #cfg_dir=/usr/local/nagios/etc/printers #cfg_dir=/usr/local/nagios/etc/switches #cfg_dir=/usr/local/nagios/etc/routers cfg_dir=/usr/local/nagios/etc/clienthosts **__nagios.cfg__** __client.cfg__ define host{ name generic-host host_name TEST_SERVER alias TEST_SERVER address TEST_SERVER.cust.pace2020.com notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts max_check_attempts 20 notification_interval 60 notification_period 24x7 notification_options d,u,r retain_nonstatus_information 1 ; Retain non-status information across program restarts contact_groups network-admins } define hostgroup{ hostgroup_name hostgroup.test.common alias test services members TEST_SERVER } define servicedependency{ host_name TEST_SERVER service_description test.memory.total dependent_host_name TEST_SERVER dependent_service_description test.memory.free notification_failure_criteria o ; criteria for which notifications will be supressed } define servicedependency{ host_name TEST_SERVER service_description cc.memory.total dependent_host_name TEST_SERVER dependent_service_description cc.memory.free notification_failure_criteria o ; criteria for which notifications will be supressed } define servicegroup{ servicegroup_name common alias common members TEST_SERVER } # Generic service definition template define service{ name standard-passive ; The 'name' of this service template, ref'd in other service definitions active_checks_enabled 0 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (do not disabling) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 freshness_threshold 900 ; 15 minutes threshold to determine if checks are stale notifications_enabled 1 ; Service notifications are enabled notification_interval 0 notification_period 24x7 notification_options w,u,c,r event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups network-admins check_command stale-checks ; this command is run only if the service results are "stale" register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } # Service definition cpu.load.fifteen define service{ use standard-passive ; Name of service template to use service_description cpu.load.fifteen hostgroup_name hostgroup.test.common } # Service definition cpu.load.five define service{ use standard-passive ; Name of service template to use service_description cpu.load.five hostgroup_name hostgroup.test.common } **__client.cfg__** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From theal at pace2020.com Sun Jul 16 22:45:53 2006 From: theal at pace2020.com (Tony Heal) Date: Sun, 16 Jul 2006 16:45:53 -0400 Subject: Segmentation fault In-Reply-To: <20060716201412.YWQV18054.ibm66aec.bellsouth.net@viperfish> References: <20060716201412.YWQV18054.ibm66aec.bellsouth.net@viperfish> Message-ID: <20060716204554.ZTPQ18054.ibm66aec.bellsouth.net@viperfish> sorry, I want to put the configurations for each host into a single file per host. Tony Heal Pace Systems Group, Inc. 800-624-5999 theal at pace2020.com _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tony Heal Sent: Sunday, July 16, 2006 4:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Segmentation fault I am trying to put all configurations for each host into a single file. I am trying to automate adding removing monitored hosts. I have a script that creates the following, but when I run the verification on it I get the following error: /usr/local/bin/check_nagios: line 3: 3278 Segmentation fault /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg This is on an old version of nagios 2.0b2 I plan on updating this to use the version in Debian sarge, but first I must prove that this new process is feasible. Any help would be great. Thanks in advance Tony Heal here are the changes to nagios.cfg. I remarked out the relevant cfg files and added a cfg_dir __nagios.cfg__ # You can split other types of object definitions across several # config files if you wish (as done here), or keep them all in a # single config file. cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg #cfg_file=/usr/local/nagios/etc/dependencies.cfg #cfg_file=/usr/local/nagios/etc/escalations.cfg #cfg_file=/usr/local/nagios/etc/hostgroups.cfg #cfg_file=/usr/local/nagios/etc/hosts.cfg #cfg_file=/usr/local/nagios/etc/services.cfg #cfg_file=/usr/local/nagios/etc/servicegroup.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg # Extended host/service info definitions are now stored along with # other object definitions: #cfg_file=/usr/local/nagios/etc/hostextinfo.cfg #cfg_file=/usr/local/nagios/etc/serviceextinfo.cfg # You can also tell Nagios to process all config files (with a .cfg # extension) in a particular directory by using the cfg_dir # directive as shown below: #cfg_dir=/usr/local/nagios/etc/servers #cfg_dir=/usr/local/nagios/etc/printers #cfg_dir=/usr/local/nagios/etc/switches #cfg_dir=/usr/local/nagios/etc/routers cfg_dir=/usr/local/nagios/etc/clienthosts **__nagios.cfg__** __client.cfg__ define host{ name generic-host host_name TEST_SERVER alias TEST_SERVER address TEST_SERVER.cust.pace2020.com notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts max_check_attempts 20 notification_interval 60 notification_period 24x7 notification_options d,u,r retain_nonstatus_information 1 ; Retain non-status information across program restarts contact_groups network-admins } define hostgroup{ hostgroup_name hostgroup.test.common alias test services members TEST_SERVER } define servicedependency{ host_name TEST_SERVER service_description test.memory.total dependent_host_name TEST_SERVER dependent_service_description test.memory.free notification_failure_criteria o ; criteria for which notifications will be supressed } define servicedependency{ host_name TEST_SERVER service_description cc.memory.total dependent_host_name TEST_SERVER dependent_service_description cc.memory.free notification_failure_criteria o ; criteria for which notifications will be supressed } define servicegroup{ servicegroup_name common alias common members TEST_SERVER } # Generic service definition template define service{ name standard-passive ; The 'name' of this service template, ref'd in other service definitions active_checks_enabled 0 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (do not disabling) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 freshness_threshold 900 ; 15 minutes threshold to determine if checks are stale notifications_enabled 1 ; Service notifications are enabled notification_interval 0 notification_period 24x7 notification_options w,u,c,r event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups network-admins check_command stale-checks ; this command is run only if the service results are "stale" register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } # Service definition cpu.load.fifteen define service{ use standard-passive ; Name of service template to use service_description cpu.load.fifteen hostgroup_name hostgroup.test.common } # Service definition cpu.load.five define service{ use standard-passive ; Name of service template to use service_description cpu.load.five hostgroup_name hostgroup.test.common } **__client.cfg__** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Jul 17 00:29:50 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 17 Jul 2006 00:29:50 +0200 (CEST) Subject: Segmentation fault In-Reply-To: <20060716201412.YWQV18054.ibm66aec.bellsouth.net@viperfish> References: <20060716201412.YWQV18054.ibm66aec.bellsouth.net@viperfish> Message-ID: On Sun, 16 Jul 2006, Tony Heal wrote: > I am trying to put all configurations for each host into a single file. I am > trying to automate adding removing monitored hosts. I have a script that > creates the following, but when I run the verification on it I get the > following error: > > /usr/local/bin/check_nagios: line 3: 3278 Segmentation fault > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > This is on an old version of nagios 2.0b2 > > I plan on updating this to use the version in Debian sarge, but first I must > prove that this new process is feasible. And perhaps you can't prove it because there are known issues with this version? Like: # Fixed segfault with mispaired servicegroup memberships # Fixed bug with config directory recursion being broken # Fixed bug with processing directives in non-registered object definitions # Improvements to circular path/dependency checks to prevent segfaults # Bug fix for segfault during startup due to extended service definition duplication # Bug fix for segfault with wildcards in servicegroup members See also: http://www.nagios.org/development/changelog.php Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danny at deakin.edu.au Mon Jul 17 02:36:08 2006 From: danny at deakin.edu.au (Daniel Reynolds) Date: Mon, 17 Jul 2006 10:36:08 +1000 Subject: performance data file unexpectedly truncated. Message-ID: <44BADB78.1020906@deakin.edu.au> Hello, I am running nagios-2.3.1 (rpm from DAG repository) on enterprise Redhat Enterprise Linux 2.4. Nagios has been configured to write out performance data to a file. The configuration works but sometime later, (I think when Nagios archives nagios.log), the performance data file is truncated and no more data is written to the performance data file. This also occurs for Nagios 2.4. Has any body else seen this problem? Regards, Danny Reynolds. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rasoolg at yahoo.com Mon Jul 17 06:51:09 2006 From: rasoolg at yahoo.com (Rasool Ghaznavi) Date: Sun, 16 Jul 2006 21:51:09 -0700 (PDT) Subject: statusmap.cgi In-Reply-To: References: Message-ID: <20060717045109.91274.qmail@web54604.mail.yahoo.com> I have all libraries on /usr/local/lib (libgd.*,libpng.*,libjpeg.*) . and there is no different between installing from ports or tarball package , both of them have this problem . Rasool Hugo van der Kooij wrote: On Sun, 16 Jul 2006, Rasool Ghaznavi wrote: > Dear Friends , > I want to install nagios on a freebsd server , > I have gd, png and jpg installed on my server but when I want to install nagios with ./configure it says you don't have one of them . > I tried with --with-gd-inc and --with-gd-lib with the addresses /usr/loca/include and /usr/local/lib (I have gd libraries on them) but still I have problem . > I need statusmap.cgi and with this error I don't have it . > could you please help me what to do ? The first and main question is: Do you in fact have the development libraries? Or just the runtime ones? I'm not that familiar with freebsd to know how things are done there. But it would explain the issue rather well. And is there a reason why you don't want to pick nagios from the ports? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- See the all-new, redesigned Yahoo.com. Check it out. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Jul 17 07:54:26 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 17 Jul 2006 07:54:26 +0200 (CEST) Subject: statusmap.cgi In-Reply-To: <20060717045109.91274.qmail@web54604.mail.yahoo.com> References: <20060717045109.91274.qmail@web54604.mail.yahoo.com> Message-ID: On Sun, 16 Jul 2006, Rasool Ghaznavi wrote: > I have all libraries on /usr/local/lib (libgd.*,libpng.*,libjpeg.*) . > and there is no different between installing from ports or tarball package , both of them > have this problem . As you do not allow others to check wether or not the proper libraries are present this exercise is becoming futile. In this instance actual knowledge of what you got exactly as part of /usr/local/lib/(libgd|libpng|libjpeg).* is vital if someone with Freebsd knowledge wants to help. As is the exact error message and relevant part of the log file. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Mon Jul 17 08:05:59 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Mon, 17 Jul 2006 16:05:59 +1000 Subject: check_disk 1.4.3 (1.64) for AIX not working? In-Reply-To: <610cb7a00607100333g60794782xe4293ba059fb487a@mail.gmail.com> References: <610cb7a00607100030j5336c7dapa336c11e1283423c@mail.gmail.com> <610cb7a00607100333g60794782xe4293ba059fb487a@mail.gmail.com> Message-ID: <610cb7a00607162305k742ddbp25ffb504f8111a57@mail.gmail.com> Actually, it still doesn't really work in AIX5L as it always finds the /proc filesystem to be of size -1%. I've rewritten this plugin as a shell script for anyone else who might find this useful: #!/bin/ksh # author: alex harvey # email: alexh19740110 at gmail.com Usage () { printf "Usage: %s: [-w warn] [-c crit]\n" $0 exit 3 } wflag= cflag= while getopts w:c: opt do case $opt in w) wflag=1 warn=$OPTARG ;; c) cflag=1 crit=$OPTARG ;; ?) Usage ;; esac done # too many arguments? shift $(($OPTIND -1)) [ $# -ne 0 ] && Usage # missing warn or crit option? [ ! -z "$wflag" ] && [ ! -z "$cflag" ] || Usage # chop the trailing % warn=`echo $warn | sed -e 's/%$//'` crit=`echo $crit | sed -e 's/%$//'` mounts=`\ df -k |\ grep -v /proc |\ grep -v /var/adm/ras/platform |\ tail +2 |\ awk '{print $7}'` STATE=0 for i in $mounts; do free_pcent=`df -k |\ awk -v input=$i '{if ($7 == input) print $4}' |\ sed -e 's/%//'` free_pcent=`echo 100 - $free_pcent | bc` free_kb=`df -k |\ awk -v input=$i '{if ($7 == input) print $3}'` if [ $free_pcent -le $warn ] && [ $STATE -le 1 ]; then STATE=1 mess="$mess, $free_kb kB (${free_pcent}%) free on $i" fi if [ $free_pcent -le $crit ]; then STATE=2 mess="$mess, $free_kb kB (${free_pcent}%) free on $i" fi done case $STATE in 0) echo "DISK OK" exit 0 ;; 1) STATE_MESS=WARNING ;; 2) STATE_MESS=CRITICAL ;; esac mess=`echo $mess | sed -e 's/^, //'` mess="DISK $STATE_MESS [$mess]" echo $mess exit $STATE Kind Regards, Alex On 7/10/06, Alexander Harvey wrote: > > Well, I got this to work using the earlier version: > > > # ./plugins/check_disk -w 10% -c 5% -p /home > DISK OK - free space: /home 508 MB (99%);| /home=5MB;460;486;0;512 > > # ./plugins/check_disk --version > check_disk (nagios-plugins 1.4.2) 1.57 > > Perhaps this is a bug? > > Regards, > Alex > > > On 7/10/06, Alexander Harvey wrote: > > > > Hi, > > > > Has anyone else had any problems using the latest check_disk v1.64plugin in > > AIX5.3? > > > > Here's my list of filesystems: > > > > # df -k > > Filesystem 1024-blocks Free %Used Iused %Iused Mounted on > > /dev/hd4 10747904 1515560 86% 1975 1% / > > /dev/hd2 2883584 1653188 43% 28814 8% /usr > > /dev/hd9var 2097152 1454828 31% 2898 1% /var > > /dev/hd3 2097152 1770060 16% 1453 1% /tmp > > /dev/fwdump 262144 261776 1% 4 1% > > /var/adm/ras/platform > > /dev/hd1 524288 519920 1% 118 1% /home > > /proc - - - - - /proc > > /dev/hd10opt 262144 125340 53% 3127 10% /opt > > /dev/fslv00 167772160 23425268 87% 48 1% /u02 > > /dev/fslv01 139460608 69102616 51% 131 1% /u03 > > /dev/u01lv 16515072 9477800 43% 22322 2% /u01 > > > > 1. First example of false or misleading output: > > > > # ./plugins/check_disk -w 10% -c 5% > > DISK CRITICAL - free space: / 1480 MB (14% inode=99%); /usr 1614 MB (57% > > inode=93%); /var 1421 MB (69% inode=99%); /tmp 1729 MB (84% inode=100%); > > /var/adm/ras/platform 256 MB (100% inode=100%); /home 508 MB (99% > > inode=100%); /proc 0 MB (0% inode=NaNQ%); /opt 122 MB (48% inode=90%); /u02 > > 22876 MB (14% inode=100%); /u03 67483 MB (50% inode=100%); /u01 9256 MB (57% > > inode=99%);| /=9016MB;9446;9971;99;10496 /usr=1202MB;2534;2675;92;2816 > > /var=628MB;1843;1945;99;2048 /tmp=320MB;1843;1945;99;2048 > > /var/adm/ras/platform=1MB;230;243;99;256 /home=5MB;460;486;99;512 > > /proc=-1MB;1717986917;858993458;-2147483648;-1 /opt=134MB;230;243;90;256 > > /u02=140964MB;147456;155648;99;163840 /u03=68709MB;122572;129382;99;136192 > > /u01=6873MB;14515;15321;98;16128 > > > > (Looks like it's failing to understand the /proc entry?) > > > > 2. Second example of failed output: > > > > # ./plugins/check_disk -w 10% -c 5% -p /home > > INPUT ERROR: C_IDFP (0.000000) should be less than W_IDFP ( 0.0) and > > both should be between zero and 100 percent, inclusive for /home > > check_disk: Could not parse arguments > > Usage: check_disk -w limit -c limit [-p path | -x device] [-t > > timeout][-m] [-e] [-W limit] [-K limit] [-v] [-q] > > > > 3. Furthermore I noticed it failed the test in 'make test': > > > > ./t/check_disk......dubious > > Test returned status 255 (wstat 65280, 0xff00) > > DIED. FAILED tests 1, 3-32 > > Failed 31/32 tests, 3.12% okay > > > > Anyone seen any of this before? > > > > My configure options were: > > > > # ./configure --with-openssl=no --with-ipv6=no > > > > Thanks in advance, > > > > Alex Harvey > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 altinity.com Mon Jul 17 10:51:51 2006 From: ton.voon at altinity.com (Ton Voon) Date: Mon, 17 Jul 2006 09:51:51 +0100 Subject: check_disk 1.4.3 (1.64) for AIX not working? In-Reply-To: <610cb7a00607162305k742ddbp25ffb504f8111a57@mail.gmail.com> References: <610cb7a00607100030j5336c7dapa336c11e1283423c@mail.gmail.com> <610cb7a00607100333g60794782xe4293ba059fb487a@mail.gmail.com> <610cb7a00607162305k742ddbp25ffb504f8111a57@mail.gmail.com> Message-ID: <0878D4D7-0F09-4A06-A886-AAFC695C987A@altinity.com> Alexander, Can you please try the CVS snapshot: http:// nagiosplug.sourceforge.net/snapshot for the latest check_disk. I've made changes so that is more closely mimics df from the coreutils project. I'd be interested to hear how well this works on AIX. When you have compile check_disk, please run: cd plugins && perl t/ check_disk.t. This runs some tests to see if check_disk is working as expected. The return code should be 0 (there are a couple of TODOs that will show as fail, but are expected). Ton On 17 Jul 2006, at 07:05, Alexander Harvey wrote: > Actually, it still doesn't really work in AIX5L as it always finds > the /proc filesystem to be of size -1%. > > I've rewritten this plugin as a shell script for anyone else who > might find this useful: > > #!/bin/ksh > # author: alex harvey > # email: alexh19740110 at gmail.com > > Usage () > { > printf "Usage: %s: [-w warn] [-c crit]\n" $0 > exit 3 > } > > wflag= > cflag= > > while getopts w:c: opt > do > case $opt in > w) wflag=1 > warn=$OPTARG > ;; > c) cflag=1 > crit=$OPTARG > ;; > ?) Usage > ;; > esac > done > > # too many arguments? > shift $(($OPTIND -1)) > [ $# -ne 0 ] && Usage > > # missing warn or crit option? > [ ! -z "$wflag" ] && [ ! -z "$cflag" ] || Usage > > # chop the trailing % > warn=`echo $warn | sed -e 's/%$//'` > crit=`echo $crit | sed -e 's/%$//'` > > mounts=`\ > df -k |\ > grep -v /proc |\ > grep -v /var/adm/ras/platform |\ > tail +2 |\ > awk '{print $7}'` > > STATE=0 > > for i in $mounts; do > free_pcent=`df -k |\ > awk -v input=$i '{if ($7 == input) print $4}' |\ > sed -e 's/%//'` > free_pcent=`echo 100 - $free_pcent | bc` > free_kb=`df -k |\ > awk -v input=$i '{if ($7 == input) print $3}'` > if [ $free_pcent -le $warn ] && [ $STATE -le 1 ]; then > STATE=1 > mess="$mess, $free_kb kB (${free_pcent}%) free on $i" > fi > if [ $free_pcent -le $crit ]; then > STATE=2 > mess="$mess, $free_kb kB (${free_pcent}%) free on $i" > fi > done > > case $STATE in > 0) echo "DISK OK" > exit 0 > ;; > 1) STATE_MESS=WARNING > ;; > 2) STATE_MESS=CRITICAL > ;; > esac > > mess=`echo $mess | sed -e 's/^, //'` > mess="DISK $STATE_MESS [$mess]" > echo $mess > exit $STATE > > > Kind Regards, > Alex > > > On 7/10/06, Alexander Harvey wrote: > Well, I got this to work using the earlier version: > > > # ./plugins/check_disk -w 10% -c 5% -p /home > DISK OK - free space: /home 508 MB (99%);| /home=5MB;460;486;0;512 > > # ./plugins/check_disk --version > check_disk (nagios-plugins 1.4.2) 1.57 > > Perhaps this is a bug? > > Regards, > Alex > > > On 7/10/06, Alexander Harvey < alexh19740110 at gmail.com > wrote: > Hi, > > Has anyone else had any problems using the latest check_disk v1.64 > plugin in AIX5.3? > > Here's my list of filesystems: > > # df -k > Filesystem 1024-blocks Free %Used Iused %Iused Mounted on > /dev/hd4 10747904 1515560 86% 1975 1% / > /dev/hd2 2883584 1653188 43% 28814 8% /usr > /dev/hd9var 2097152 1454828 31% 2898 1% /var > /dev/hd3 2097152 1770060 16% 1453 1% /tmp > /dev/fwdump 262144 261776 1% 4 1% /var/adm/ > ras/platform > /dev/hd1 524288 519920 1% 118 1% /home > /proc - - - - - /proc > /dev/hd10opt 262144 125340 53% 3127 10% /opt > /dev/fslv00 167772160 23425268 87% 48 1% /u02 > /dev/fslv01 139460608 69102616 51% 131 1% /u03 > /dev/u01lv 16515072 9477800 43% 22322 2% /u01 > > 1. First example of false or misleading output: > > # ./plugins/check_disk -w 10% -c 5% > DISK CRITICAL - free space: / 1480 MB (14% inode=99%); /usr 1614 MB > (57% inode=93%); /var 1421 MB (69% inode=99%); /tmp 1729 MB (84% > inode=100%); /var/adm/ras/platform 256 MB (100% inode=100%); /home > 508 MB (99% inode=100%); /proc 0 MB (0% inode=NaNQ%); /opt 122 MB > (48% inode=90%); /u02 22876 MB (14% inode=100%); /u03 67483 MB (50% > inode=100%); /u01 9256 MB (57% inode=99%);| /=9016MB; > 9446;9971;99;10496 /usr=1202MB;2534;2675;92;2816 /var=628MB; > 1843;1945;99;2048 /tmp=320MB;1843;1945;99;2048 /var/adm/ras/ > platform=1MB;230;243;99;256 /home=5MB;460;486;99;512 /proc=-1MB; > 1717986917;858993458;-2147483648;-1 /opt=134MB;230;243;90;256 / > u02=140964MB;147456;155648;99;163840 /u03=68709MB; > 122572;129382;99;136192 /u01=6873MB;14515;15321;98;16128 > > (Looks like it's failing to understand the /proc entry?) > > 2. Second example of failed output: > > # ./plugins/check_disk -w 10% -c 5% -p /home > INPUT ERROR: C_IDFP (0.000000) should be less than W_IDFP ( 0.0) > and both should be between zero and 100 percent, inclusive for /home > check_disk: Could not parse arguments > Usage: check_disk -w limit -c limit [-p path | -x device] [-t > timeout][-m] [-e] [-W limit] [-K limit] [-v] [-q] > > 3. Furthermore I noticed it failed the test in 'make test': > > ./t/check_disk......dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 1, 3-32 > Failed 31/32 tests, 3.12% okay > > Anyone seen any of this before? > > My configure options were: > > # ./configure --with-openssl=no --with-ipv6=no > > Thanks in advance, > > Alex Harvey > > > > > > This message has been scanned for viruses by MailController. > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 kilala.nl Mon Jul 17 11:00:11 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 17 Jul 2006 11:00:11 +0200 Subject: Using SNMP as an alternative to NRPE In-Reply-To: <8C25654E-851B-4AC0-8805-672E6BAEAE34@kilala.nl> References: <20060713094219.GG4855@eric.schwarzvogel.de> <8C25654E-851B-4AC0-8805-672E6BAEAE34@kilala.nl> Message-ID: Anybody else have any good ideas on this subject? I'm still curious to hear more :) cheers! Thomas On 13 Jul, 2006, at 12:02, Thomas Sluyter wrote: > On 13 Jul, 2006, at 11:42, Tobias Klausmann wrote: > >> Hi! >> >> ( And he made a lot of good points... ) > > All very good points Tobias... Generally speaking... > > In our case they won't steer us away from using the SNMP daemon, but > in another situation it's a whole different kettle of fish... > > And yes, we'll pay close mind to our security settings... Thanks for > the reminder :) > > Cheers! > > > Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Mon Jul 17 12:15:46 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Mon, 17 Jul 2006 20:15:46 +1000 Subject: Using SNMP as an alternative to NRPE In-Reply-To: References: <20060713094219.GG4855@eric.schwarzvogel.de> <8C25654E-851B-4AC0-8805-672E6BAEAE34@kilala.nl> Message-ID: <610cb7a00607170315i7fbecc69k7398582fa0c361e3@mail.gmail.com> I'm not sure I can shed much light onto the subject, but I can say that we were going to use a product called 'SolarWinds' that called upon the net-snmp package and we found that the documentation for that project was quite hopeless and we gave up in despair. This is how we came to be pushing for Nagios as a Unix server monitoring solution. I'd have to say that now I've got SSH up and running the question that's puzzling me is why not just always use ssh? Here is a paper you might find interesting: http://www.google.com.au/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fwww.sans.org%2Freading_room%2Fpapers%2Fdownload.php%3Fid%3D332%26c%3D80c9dec08d4b581d738caceb89082798%26portal%3D4792e83567dbe8752b5c56325ead20d4&ei=N2G7RMPlHqKQpwKqrdHOBA&sig2=Vqu6xtjB84fCTZ9atR68Zg Alex On 7/17/06, Thomas Sluyter wrote: > > Anybody else have any good ideas on this subject? I'm still curious > to hear more :) > > cheers! > > > Thomas > > > On 13 Jul, 2006, at 12:02, Thomas Sluyter wrote: > > > On 13 Jul, 2006, at 11:42, Tobias Klausmann wrote: > > > >> Hi! > >> > >> ( And he made a lot of good points... ) > > > > All very good points Tobias... Generally speaking... > > > > In our case they won't steer us away from using the SNMP daemon, but > > in another situation it's a whole different kettle of fish... > > > > And yes, we'll pay close mind to our security settings... Thanks for > > the reminder :) > > > > Cheers! > > > > > > Thomas > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Mon Jul 17 13:04:24 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Mon, 17 Jul 2006 21:04:24 +1000 Subject: check_disk 1.4.3 (1.64) for AIX not working? In-Reply-To: <0878D4D7-0F09-4A06-A886-AAFC695C987A@altinity.com> References: <610cb7a00607100030j5336c7dapa336c11e1283423c@mail.gmail.com> <610cb7a00607100333g60794782xe4293ba059fb487a@mail.gmail.com> <610cb7a00607162305k742ddbp25ffb504f8111a57@mail.gmail.com> <0878D4D7-0F09-4A06-A886-AAFC695C987A@altinity.com> Message-ID: <610cb7a00607170404v6ceefd53tade232f5a829e1f8@mail.gmail.com> Hi Ton Still no good unfortunately: # perl t/check_disk.t 1..35 ok 1 - Checking two mountpoints (must have at least 1% free) ok 2 - Got two mountpoints in output ok 3 - At least 1 MB available on / ok 4 - OK output ok 5 - Old syntax okay ok 6 - At least 1% free ok 7 - Get critical on less_free mountpoint /var ok 8 - Right output ok 9 - Get warning on less_free mountpoint, when checking avg_free ok 10 - Get ok on more_free mountpoint, when checking avg_free ok 11 - Combining above two tests, get warning ok 12 - Get ok on more_free mountpoint, checking avg_free ok 13 - Get critical on less_free, checking avg_free ok 14 - Combining above two tests, get critical ok 15 - And reversing arguments should not make a difference not ok 16 - Invalid command line options # TODO Invalid percent figures # Failed (TODO) test (t/check_disk.t at line 118) # got: 0 # expected: 3 ok 17 - Invalid options: -p must come after thresholds ok 18 - 100% empty ok 19 - Right output ok 20 - Check for 100GB free ok 21 - 100 GB empty ok 22 - Old syntax: 0% used ok 23 - Old syntax: 100% used ok 24 - Old syntax: warn 0% used not ok 25 - Old syntax: Error with values outside percent range # TODO Invalid values # Failed (TODO) test (t/check_disk.t at line 150) # got: 1 # expected: 3 not ok 26 - Old syntax: Error with values outside percent range # TODO Invalid values # Failed (TODO) test (t/check_disk.t at line 153) # got: 0 # expected: 3 not ok 27 - Old syntax: Error with values outside percent range # TODO Invalid values # Failed (TODO) test (t/check_disk.t at line 156) # got: 2 # expected: 3 ok 28 - Checking /bob - return error because /bob does not exist ok 29 - Output OK ok 30 - Checking /etc - should return info for / ok 31 - check_disk /etc gives same as check_disk / ok 32 - ... unless -E/--exact-match is specified ok 33 - Checking / and /bob gives critical ok 34 - perf data does not have /bob in it ok 35 - Should not show same filesystem twice # echo $? 0 # ./check_disk -w 20% -c 1% DISK CRITICAL - free space: / 9220 MB (87% inode=0%); /usr 1607 MB (57% inode=-700%); /var 1480 MB (72% inode=0%); /tmp 1728 MB (84% inode=0%); /var/adm/ras/platform 255 MB (99% inode=0%); /home 510 MB (99% inode=0%); /proc 0 MB (0% inode=-); /opt 121 MB (47% inode=-1000%); /u02 53521 MB (27% inode=0%); /u03 67510 MB (49% inode=0%); /u01 8623 MB (53% inode=-100%);| /=1275MB;;; /usr=1208MB;;; /var=567MB;;; /tmp=319MB;;; /var/adm/ras/platform=0MB;;; /home=1MB;;; /proc=2147483647MB;;; /opt=134MB;;; /u02=141038MB;;; /u03=68681MB;;; /u01=7504MB;;; # df -k Filesystem 1024-blocks Free %Used Iused %Iused Mounted on /dev/hd4 10747904 9441760 13% 1979 1% / /dev/hd2 2883584 1645584 43% 28895 8% /usr /dev/hd9var 2097152 1516452 28% 1805 1% /var /dev/hd3 2097152 1770068 16% 1460 1% /tmp /dev/fwdump 262144 261776 1% 4 1% /var/adm/ras/platform /dev/hd1 524288 522316 1% 129 1% /home /proc - - - - - /proc /dev/hd10opt 262144 124436 53% 3135 11% /opt /dev/fslv00 199229440 54806068 73% 48 1% /u02 /dev/fslv01 139460608 69130908 51% 131 1% /u03 /dev/u01lv 16515072 8830168 47% 20517 2% /u01 Kind Regards, Alex On 7/17/06, Ton Voon wrote: > > Alexander, > Can you please try the CVS snapshot: > http://nagiosplug.sourceforge.net/snapshot for the latest check_disk. I've > made changes so that is more closely mimics df from the coreutils project. > I'd be interested to hear how well this works on AIX. > > When you have compile check_disk, please run: cd plugins && perl > t/check_disk.t. This runs some tests to see if check_disk is working as > expected. The return code should be 0 (there are a couple of TODOs that will > show as fail, but are expected). > > Ton > > On 17 Jul 2006, at 07:05, Alexander Harvey wrote: > > Actually, it still doesn't really work in AIX5L as it always finds the > /proc filesystem to be of size -1%. > > I've rewritten this plugin as a shell script for anyone else who might > find this useful: > > #!/bin/ksh > # author: alex harvey > # email: alexh19740110 at gmail.com > > Usage () > { > printf "Usage: %s: [-w warn] [-c crit]\n" $0 > exit 3 > } > > wflag= > cflag= > > while getopts w:c: opt > do > case $opt in > w) wflag=1 > warn=$OPTARG > ;; > c) cflag=1 > crit=$OPTARG > ;; > ?) Usage > ;; > esac > done > > # too many arguments? > shift $(($OPTIND -1)) > [ $# -ne 0 ] && Usage > > # missing warn or crit option? > [ ! -z "$wflag" ] && [ ! -z "$cflag" ] || Usage > > # chop the trailing % > warn=`echo $warn | sed -e 's/%$//'` > crit=`echo $crit | sed -e 's/%$//'` > > mounts=`\ > df -k |\ > grep -v /proc |\ > grep -v /var/adm/ras/platform |\ > tail +2 |\ > awk '{print $7}'` > > STATE=0 > > for i in $mounts; do > free_pcent=`df -k |\ > awk -v input=$i '{if ($7 == input) print $4}' |\ > sed -e 's/%//'` > free_pcent=`echo 100 - $free_pcent | bc` > free_kb=`df -k |\ > awk -v input=$i '{if ($7 == input) print $3}'` > if [ $free_pcent -le $warn ] && [ $STATE -le 1 ]; then > STATE=1 > mess="$mess, $free_kb kB (${free_pcent}%) free on $i" > fi > if [ $free_pcent -le $crit ]; then > STATE=2 > mess="$mess, $free_kb kB (${free_pcent}%) free on $i" > fi > done > > case $STATE in > 0) echo "DISK OK" > exit 0 > ;; > 1) STATE_MESS=WARNING > ;; > 2) STATE_MESS=CRITICAL > ;; > esac > > mess=`echo $mess | sed -e 's/^, //'` > mess="DISK $STATE_MESS [$mess]" > echo $mess > exit $STATE > > > Kind Regards, > Alex > > > On 7/10/06, Alexander Harvey wrote: > > > > Well, I got this to work using the earlier version: > > > > > > # ./plugins/check_disk -w 10% -c 5% -p /home > > DISK OK - free space: /home 508 MB (99%);| /home=5MB;460;486;0;512 > > > > # ./plugins/check_disk --version > > check_disk (nagios-plugins 1.4.2) 1.57 > > > > Perhaps this is a bug? > > > > Regards, > > Alex > > > > > > On 7/10/06, Alexander Harvey < alexh19740110 at gmail.com > wrote: > > > > > > Hi, > > > > > > Has anyone else had any problems using the latest check_disk v1.64plugin in > > > AIX5.3? > > > > > > Here's my list of filesystems: > > > > > > # df -k > > > Filesystem 1024-blocks Free %Used Iused %Iused Mounted on > > > /dev/hd4 10747904 1515560 86% 1975 1% / > > > /dev/hd2 2883584 1653188 43% 28814 8% /usr > > > /dev/hd9var 2097152 1454828 31% 2898 1% /var > > > /dev/hd3 2097152 1770060 16% 1453 1% /tmp > > > /dev/fwdump 262144 261776 1% 4 1% > > > /var/adm/ras/platform > > > /dev/hd1 524288 519920 1% 118 1% /home > > > /proc - - - - - /proc > > > /dev/hd10opt 262144 125340 53% 3127 10% /opt > > > /dev/fslv00 167772160 23425268 87% 48 1% /u02 > > > /dev/fslv01 139460608 69102616 51% 131 1% /u03 > > > /dev/u01lv 16515072 9477800 43% 22322 2% /u01 > > > > > > 1. First example of false or misleading output: > > > > > > # ./plugins/check_disk -w 10% -c 5% > > > DISK CRITICAL - free space: / 1480 MB (14% inode=99%); /usr 1614 MB > > > (57% inode=93%); /var 1421 MB (69% inode=99%); /tmp 1729 MB (84% > > > inode=100%); /var/adm/ras/platform 256 MB (100% inode=100%); /home 508 MB > > > (99% inode=100%); /proc 0 MB (0% inode=NaNQ%); /opt 122 MB (48% inode=90%); > > > /u02 22876 MB (14% inode=100%); /u03 67483 MB (50% inode=100%); /u01 9256 MB > > > (57% inode=99%);| /=9016MB;9446;9971;99;10496 /usr=1202MB;2534;2675;92;2816 > > > /var=628MB;1843;1945;99;2048 /tmp=320MB;1843;1945;99;2048 > > > /var/adm/ras/platform=1MB;230;243;99;256 /home=5MB;460;486;99;512 > > > /proc=-1MB;1717986917;858993458;-2147483648;-1 /opt=134MB;230;243;90;256 > > > /u02=140964MB;147456;155648;99;163840 /u03=68709MB;122572;129382;99;136192 > > > /u01=6873MB;14515;15321;98;16128 > > > > > > (Looks like it's failing to understand the /proc entry?) > > > > > > 2. Second example of failed output: > > > > > > # ./plugins/check_disk -w 10% -c 5% -p /home > > > INPUT ERROR: C_IDFP (0.000000) should be less than W_IDFP ( 0.0) and > > > both should be between zero and 100 percent, inclusive for /home > > > check_disk: Could not parse arguments > > > Usage: check_disk -w limit -c limit [-p path | -x device] [-t > > > timeout][-m] [-e] [-W limit] [-K limit] [-v] [-q] > > > > > > 3. Furthermore I noticed it failed the test in 'make test': > > > > > > ./t/check_disk......dubious > > > Test returned status 255 (wstat 65280, 0xff00) > > > DIED. FAILED tests 1, 3-32 > > > Failed 31/32 tests, 3.12% okay > > > > > > Anyone seen any of this before? > > > > > > My configure options were: > > > > > > # ./configure --with-openssl=no --with-ipv6=no > > > > > > Thanks in advance, > > > > > > Alex Harvey > > > > > > > > > > > This message has been scanned for viruses by MailController > . > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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.altinity.com > T: +44 (0)870 787 9243 > F: +44 (0)845 280 1725 > Skype: tonvoon > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 altinity.com Mon Jul 17 13:16:47 2006 From: ton.voon at altinity.com (Ton Voon) Date: Mon, 17 Jul 2006 12:16:47 +0100 Subject: check_disk 1.4.3 (1.64) for AIX not working? In-Reply-To: <610cb7a00607170404v6ceefd53tade232f5a829e1f8@mail.gmail.com> References: <610cb7a00607100030j5336c7dapa336c11e1283423c@mail.gmail.com> <610cb7a00607100333g60794782xe4293ba059fb487a@mail.gmail.com> <610cb7a00607162305k742ddbp25ffb504f8111a57@mail.gmail.com> <0878D4D7-0F09-4A06-A886-AAFC695C987A@altinity.com> <610cb7a00607170404v6ceefd53tade232f5a829e1f8@mail.gmail.com> Message-ID: On 17 Jul 2006, at 12:04, Alexander Harvey wrote: > Hi Ton > > Still no good unfortunately: > > # perl t/check_disk.t > 1..35 > ok 1 - Checking two mountpoints (must have at least 1% free) > ok 2 - Got two mountpoints in output > ok 3 - At least 1 MB available on / > ok 4 - OK output > ok 5 - Old syntax okay > ok 6 - At least 1% free > ok 7 - Get critical on less_free mountpoint /var > ok 8 - Right output > ok 9 - Get warning on less_free mountpoint, when checking avg_free > ok 10 - Get ok on more_free mountpoint, when checking avg_free > ok 11 - Combining above two tests, get warning > ok 12 - Get ok on more_free mountpoint, checking avg_free > ok 13 - Get critical on less_free, checking avg_free > ok 14 - Combining above two tests, get critical > ok 15 - And reversing arguments should not make a difference > not ok 16 - Invalid command line options # TODO Invalid percent > figures > # Failed (TODO) test (t/check_disk.t at line 118) > # got: 0 > # expected: 3 > ok 17 - Invalid options: -p must come after thresholds > ok 18 - 100% empty > ok 19 - Right output > ok 20 - Check for 100GB free > ok 21 - 100 GB empty > ok 22 - Old syntax: 0% used > ok 23 - Old syntax: 100% used > ok 24 - Old syntax: warn 0% used > not ok 25 - Old syntax: Error with values outside percent range # > TODO Invalid values > # Failed (TODO) test (t/check_disk.t at line 150) > # got: 1 > # expected: 3 > not ok 26 - Old syntax: Error with values outside percent range # > TODO Invalid values > # Failed (TODO) test (t/check_disk.t at line 153) > # got: 0 > # expected: 3 > not ok 27 - Old syntax: Error with values outside percent range # > TODO Invalid values > # Failed (TODO) test (t/check_disk.t at line 156) > # got: 2 > # expected: 3 > ok 28 - Checking /bob - return error because /bob does not exist > ok 29 - Output OK > ok 30 - Checking /etc - should return info for / > ok 31 - check_disk /etc gives same as check_disk / > ok 32 - ... unless -E/--exact-match is specified > ok 33 - Checking / and /bob gives critical > ok 34 - perf data does not have /bob in it > ok 35 - Should not show same filesystem twice > > # echo $? > 0 > > # ./check_disk -w 20% -c 1% > DISK CRITICAL - free space: / 9220 MB (87% inode=0%); /usr 1607 MB > (57% inode=-700%); /var 1480 MB (72% inode=0%); /tmp 1728 MB (84% > inode=0%); /var/adm/ras/platform 255 MB (99% inode=0%); /home 510 > MB (99% inode=0%); /proc 0 MB (0% inode=-); /opt 121 MB (47% > inode=-1000%); /u02 53521 MB (27% inode=0%); /u03 67510 MB (49% > inode=0%); /u01 8623 MB (53% inode=-100%);| /=1275MB;;; / > usr=1208MB;;; /var=567MB;;; /tmp=319MB;;; /var/adm/ras/ > platform=0MB;;; /home=1MB;;; /proc=2147483647MB;;; /opt=134MB;;; / > u02=141038MB;;; /u03=68681MB;;; /u01=7504MB;;; Looks okay. There's a problem with inodes being -700% on /usr, but otherwise it looks valid. I think the /proc is causing your failure (correctly since there is no free space). Run ./check_disk -w 20% -c 1% -p / -p /usr and that should come back okay. Ton > > # df -k > Filesystem 1024-blocks Free %Used Iused %Iused Mounted on > /dev/hd4 10747904 9441760 13% 1979 1% / > /dev/hd2 2883584 1645584 43% 28895 8% /usr > /dev/hd9var 2097152 1516452 28% 1805 1% /var > /dev/hd3 2097152 1770068 16% 1460 1% /tmp > /dev/fwdump 262144 261776 1% 4 1% /var/adm/ > ras/platform > /dev/hd1 524288 522316 1% 129 1% /home > /proc - - - - - /proc > /dev/hd10opt 262144 124436 53% 3135 11% /opt > /dev/fslv00 199229440 54806068 73% 48 1% /u02 > /dev/fslv01 139460608 69130908 51% 131 1% /u03 > /dev/u01lv 16515072 8830168 47% 20517 2% /u01 > > Kind Regards, > Alex > > On 7/17/06, Ton Voon wrote: > Alexander, > > Can you please try the CVS snapshot: http:// > nagiosplug.sourceforge.net/snapshot for the latest check_disk. I've > made changes so that is more closely mimics df from the coreutils > project. I'd be interested to hear how well this works on AIX. > > When you have compile check_disk, please run: cd plugins && perl t/ > check_disk.t. This runs some tests to see if check_disk is working > as expected. The return code should be 0 (there are a couple of > TODOs that will show as fail, but are expected). > > Ton > > On 17 Jul 2006, at 07:05, Alexander Harvey wrote: > > Actually, it still doesn't really work in AIX5L as it always finds > the /proc filesystem to be of size -1%. > > I've rewritten this plugin as a shell script for anyone else who > might find this useful: > > #!/bin/ksh > # author: alex harvey > # email: alexh19740110 at gmail.com > > Usage () > { > printf "Usage: %s: [-w warn] [-c crit]\n" $0 > exit 3 > } > > wflag= > cflag= > > while getopts w:c: opt > do > case $opt in > w) wflag=1 > warn=$OPTARG > ;; > c) cflag=1 > crit=$OPTARG > ;; > ?) Usage > ;; > esac > done > > # too many arguments? > shift $(($OPTIND -1)) > [ $# -ne 0 ] && Usage > > # missing warn or crit option? > [ ! -z "$wflag" ] && [ ! -z "$cflag" ] || Usage > > # chop the trailing % > warn=`echo $warn | sed -e 's/%$//'` > crit=`echo $crit | sed -e 's/%$//'` > > mounts=`\ > df -k |\ > grep -v /proc |\ > grep -v /var/adm/ras/platform |\ > tail +2 |\ > awk '{print $7}'` > > STATE=0 > > for i in $mounts; do > free_pcent=`df -k |\ > awk -v input=$i '{if ($7 == input) print $4}' |\ > sed -e 's/%//'` > free_pcent=`echo 100 - $free_pcent | bc` > free_kb=`df -k |\ > awk -v input=$i '{if ($7 == input) print $3}'` > if [ $free_pcent -le $warn ] && [ $STATE -le 1 ]; then > STATE=1 > mess="$mess, $free_kb kB (${free_pcent}%) free on $i" > fi > if [ $free_pcent -le $crit ]; then > STATE=2 > mess="$mess, $free_kb kB (${free_pcent}%) free on $i" > fi > done > > case $STATE in > 0) echo "DISK OK" > exit 0 > ;; > 1) STATE_MESS=WARNING > ;; > 2) STATE_MESS=CRITICAL > ;; > esac > > mess=`echo $mess | sed -e 's/^, //'` > mess="DISK $STATE_MESS [$mess]" > echo $mess > exit $STATE > > > Kind Regards, > Alex > > > On 7/10/06, Alexander Harvey < alexh19740110 at gmail.com> wrote: > Well, I got this to work using the earlier version: > > > # ./plugins/check_disk -w 10% -c 5% -p /home > DISK OK - free space: /home 508 MB (99%);| /home=5MB;460;486;0;512 > > # ./plugins/check_disk --version > check_disk (nagios-plugins 1.4.2 ) 1.57 > > Perhaps this is a bug? > > Regards, > Alex > > > On 7/10/06, Alexander Harvey < alexh19740110 at gmail.com > wrote: > Hi, > > Has anyone else had any problems using the latest check_disk v1.64 > plugin in AIX5.3? > > Here's my list of filesystems: > > # df -k > Filesystem 1024-blocks Free %Used Iused %Iused Mounted on > /dev/hd4 10747904 1515560 86% 1975 1% / > /dev/hd2 2883584 1653188 43% 28814 8% /usr > /dev/hd9var 2097152 1454828 31% 2898 1% /var > /dev/hd3 2097152 1770060 16% 1453 1% /tmp > /dev/fwdump 262144 261776 1% 4 1% /var/adm/ > ras/platform > /dev/hd1 524288 519920 1% 118 1% /home > /proc - - - - - /proc > /dev/hd10opt 262144 125340 53% 3127 10% /opt > /dev/fslv00 167772160 23425268 87% 48 1% /u02 > /dev/fslv01 139460608 69102616 51% 131 1% /u03 > /dev/u01lv 16515072 9477800 43% 22322 2% /u01 > > 1. First example of false or misleading output: > > # ./plugins/check_disk -w 10% -c 5% > DISK CRITICAL - free space: / 1480 MB (14% inode=99%); /usr 1614 MB > (57% inode=93%); /var 1421 MB (69% inode=99%); /tmp 1729 MB (84% > inode=100%); /var/adm/ras/platform 256 MB (100% inode=100%); /home > 508 MB (99% inode=100%); /proc 0 MB (0% inode=NaNQ%); /opt 122 MB > (48% inode=90%); /u02 22876 MB (14% inode=100%); /u03 67483 MB (50% > inode=100%); /u01 9256 MB (57% inode=99%);| /=9016MB; > 9446;9971;99;10496 /usr=1202MB;2534;2675;92;2816 /var=628MB; > 1843;1945;99;2048 /tmp=320MB;1843;1945;99;2048 /var/adm/ras/ > platform=1MB;230;243;99;256 /home=5MB;460;486;99;512 /proc=-1MB; > 1717986917;858993458;-2147483648;-1 /opt=134MB;230;243;90;256 / > u02=140964MB;147456;155648;99;163840 /u03=68709MB; > 122572;129382;99;136192 /u01=6873MB;14515;15321;98;! 16128 > > (Looks like it's failing to understand the /proc entry?) > > 2. Second example of failed output: > > # ./plugins/check_disk -w 10% -c 5% -p /home > INPUT ERROR: C_IDFP (0.000000) should be less than W_IDFP ( 0.0) > and both should be between zero and 100 percent, inclusive for /home > check_disk: Could not parse arguments > Usage: check_disk -w limit -c limit [-p path | -x device] [-t > timeout][-m] [-e] [-W limit] [-K limit] [-v] [-q] > > 3. Furthermore I noticed it failed the test in 'make test': > > ./t/check_disk......dubious > Test returned status 255 (wstat 65280, 0xff00) > DIED. FAILED tests 1, 3-32 > Failed 31/32 tests, 3.12% okay > > Anyone seen any of this before? > > My configure options were: > > # ./configure --with-openssl=no --with-ipv6=no > > Thanks in advance, > > Alex Harvey > > > > > > This message has been scanned for viruses by MailController. > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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.altinity.com > T: +44 (0)870 787 9243 > F: +44 (0)845 280 1725 > Skype: tonvoon > > > http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From barbereau at gmail.com Mon Jul 17 13:30:39 2006 From: barbereau at gmail.com (=?UTF-8?Q?S=C3=A9bastien_Barbereau?=) Date: Mon, 17 Jul 2006 12:30:39 +0100 Subject: Using SNMP as an alternative to NRPE In-Reply-To: <610cb7a00607170315i7fbecc69k7398582fa0c361e3@mail.gmail.com> References: <20060713094219.GG4855@eric.schwarzvogel.de> <8C25654E-851B-4AC0-8805-672E6BAEAE34@kilala.nl> <610cb7a00607170315i7fbecc69k7398582fa0c361e3@mail.gmail.com> Message-ID: <4e0e33ee0607170430h5be72733h2b405eaff64a5ce7@mail.gmail.com> Here my 2cents: I've always used SNMP for gathering data on my devices. Why: * Security I don't find SNMP security being that worse than that of any network daemon. It provides ACL and can distinguish betwen various privileges levels. (Of course this depends on the snmp implementation but you'll always have a distinguish betwen read and write priv). What snmp v1/v2 mainly lacks IMHO is the absence of any encryption capacity. On the other hand you have to keep in mind that the data your polling is not a TOP SECRET data file. Also, most of my customers prefer to run daemons and services provided by their OS vendor and not some third party tidbit they don't trust. This is also true for the security management teams I've been working with, they prefer to see some well known protocol rather than some "obscur" thing travelling through their firewalls (obscur for them I mean). * Functionnality Of course, SNMP can and will not provide you as much flexibility as NRPE to gather information from systems. But for monitoring standard thinks like CPU,MEM,disk, processes, ... it does the job and it does it well. So once the snmp service is running I do not have to bother to install the NRPE service, check wether it's available for this platform or not, recompile ... Also, on commercial systems, I'm much more confident that any upgrade done by the customer on his systems won't brake the SNMP layer, this is not something I can be sure of with NRPE (have seen some rare cases where it stopped working after upgrades). Concerning, the functionnalities of SNMP, you can do anything you want when using some advanced snmp services like NET-SNMP (retrieving script results for example). Some OS and hardware providers had developed very interesting SNMP MIBS containing lots of information to gather and analyse. This can also be interresting to quickly start your Nagios project in the company: just ask for a readonly community and your up&running. But of course, there are thinks you will not be able to check as easyly as expected with SNMP. This brings us to last point: * Learning curve Learning to use SNMP, learning where the interresting things are, can be a real nightmare with SNMP. So, as said, I've always used SNMP in my Nagios installations and never had to regret it. The choice betwen NRPE & SNMP is I think more a question of habits and of the context of the installation. Cheers, Seb. PS: Concerning the monitoring through ssh here is why I would not recommend this : security (need an account on every system), ssh is not available on some systems, traffic overhead, ... ========================== See Nagios in action: http://runnagios.be On 7/17/06, Alexander Harvey wrote: > > I'm not sure I can shed much light onto the subject, but I can say that we > were going to use a product called 'SolarWinds' that called upon the > net-snmp package and we found that the documentation for that project was > quite hopeless and we gave up in despair. This is how we came to be pushing > for Nagios as a Unix server monitoring solution. I'd have to say that now > I've got SSH up and running the question that's puzzling me is why not just > always use ssh? Here is a paper you might find interesting: http://www.google.com.au/url?sa=t&ct=res&cd=1&url=http%3A%2F%2Fwww.sans.org%2Freading_room%2Fpapers%2Fdownload.php%3Fid%3D332%26c%3D80c9dec08d4b581d738caceb89082798%26portal%3D4792e83567dbe8752b5c56325ead20d4&ei=N2G7RMPlHqKQpwKqrdHOBA&sig2=Vqu6xtjB84fCTZ9atR68Zg > > > Alex > > > On 7/17/06, Thomas Sluyter wrote: > > > > Anybody else have any good ideas on this subject? I'm still curious > > to hear more :) > > > > cheers! > > > > > > Thomas > > > > > > On 13 Jul, 2006, at 12:02, Thomas Sluyter wrote: > > > > > On 13 Jul, 2006, at 11:42, Tobias Klausmann wrote: > > > > > >> Hi! > > >> > > >> ( And he made a lot of good points... ) > > > > > > All very good points Tobias... Generally speaking... > > > > > > In our case they won't steer us away from using the SNMP daemon, but > > > in another situation it's a whole different kettle of fish... > > > > > > And yes, we'll pay close mind to our security settings... Thanks for > > > the reminder :) > > > > > > Cheers! > > > > > > > > > Thomas > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexh19740110 at gmail.com Mon Jul 17 14:03:24 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Mon, 17 Jul 2006 22:03:24 +1000 Subject: check_disk 1.4.3 (1.64) for AIX not working? In-Reply-To: <610cb7a00607170421i786fdb55o3b0a03c3a5409b3f@mail.gmail.com> References: <610cb7a00607100030j5336c7dapa336c11e1283423c@mail.gmail.com> <610cb7a00607100333g60794782xe4293ba059fb487a@mail.gmail.com> <610cb7a00607162305k742ddbp25ffb504f8111a57@mail.gmail.com> <0878D4D7-0F09-4A06-A886-AAFC695C987A@altinity.com> <610cb7a00607170404v6ceefd53tade232f5a829e1f8@mail.gmail.com> <610cb7a00607170421i786fdb55o3b0a03c3a5409b3f@mail.gmail.com> Message-ID: <610cb7a00607170503k7642738fi5ea1efcd8ce6383b@mail.gmail.com> I'm reluctant to use -w ... -c ... -p / -p /usr ... BTW as I'm often having to add or remove filesystems from these boxes unfortunately. That would mean each time I add a filesystem I'd also have to change the Nagios check. That wouldn't really be ideal. Alex On 7/17/06, Alexander Harvey wrote: > > On 7/17/06, Ton Voon < ton.voon at altinity.com> wrote: > > > > > Looks okay. There's a problem with inodes being -700% on /usr, but > > otherwise it looks valid. > > > > I think the /proc is causing your failure (correctly since there is no > > free space). Run ./check_disk -w 20% -c 1% -p / -p /usr and that should come > > back okay. > > > > Ton > > > > Yes, I guess it's a feature, not a bug, and definitely /proc is causing > the problem but then /proc will always show "no space" in AIX because it's > not a real filesystem. To really work in AIX the 'check_disk' should ignore > /proc. It's no big deal, my shell script is fine for my purposes. > > Thanks for all your efforts for free software, BTW. > > Kind Regards, > Alex > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tiagocruz at forumgdh.net Mon Jul 17 14:52:19 2006 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Mon, 17 Jul 2006 09:52:19 -0300 Subject: A lot of process using nagios distributed monitor Message-ID: <1153140739.12955.13.camel@localhost.localdomain> Hello all, I'm using 03 server running nagios 2.4, with distributed arch: +-------------+ +--------------+ +-------------+ | 10.0.0.170 | | 172.16.24.16 | | 192.168.0.5 | | Nagios #1 | => | Nagios #2 | <= | Nagios #3 | | 200 clients | | Display | | 100 clients | +-------------+ +--------------+ +-------------+ All the clients have nrpe running. Well, anyway... my problem is with the Display Server (that was running apache and nsca): The "nagios" process start with 1 and after 2 or 3 hours we have a lot "nagios" process, some like 600 and still increasing until finish the Swap and crash the machine :-/ I wrote one small script do restart nagios if the number of nagios process is more then 300 process, so, my machine can still alive after weekend :-) Is this one bug? Memory leak? Process leak? I'm using debian, and the package was builded by my self. Many thanks! -- Tiago Cruz Network Administrator Linux is like an Indian tent: no Windows, no Gates and an Apache inside. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 altinity.com Mon Jul 17 15:24:34 2006 From: ton.voon at altinity.com (Ton Voon) Date: Mon, 17 Jul 2006 14:24:34 +0100 Subject: check_disk 1.4.3 (1.64) for AIX not working? In-Reply-To: <610cb7a00607170503k7642738fi5ea1efcd8ce6383b@mail.gmail.com> References: <610cb7a00607100030j5336c7dapa336c11e1283423c@mail.gmail.com> <610cb7a00607100333g60794782xe4293ba059fb487a@mail.gmail.com> <610cb7a00607162305k742ddbp25ffb504f8111a57@mail.gmail.com> <0878D4D7-0F09-4A06-A886-AAFC695C987A@altinity.com> <610cb7a00607170404v6ceefd53tade232f5a829e1f8@mail.gmail.com> <610cb7a00607170421i786fdb55o3b0a03c3a5409b3f@mail.gmail.com> <610cb7a00607170503k7642738fi5ea1efcd8ce6383b@mail.gmail.com> Message-ID: On 17 Jul 2006, at 13:03, Alexander Harvey wrote: > I'm reluctant to use -w ... -c ... -p / -p /usr ... BTW as I'm > often having to add or remove filesystems from these boxes > unfortunately. That would mean each time I add a filesystem I'd > also have to change the Nagios check. That wouldn't really be ideal. Check out the -X and -x options. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.cope at e-dba.net Mon Jul 17 16:43:26 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Mon, 17 Jul 2006 15:43:26 +0100 Subject: bind nagios server to a certain IP Message-ID: <1153147406.2522.12.camel@dl.e-dba.net> Hi All, Is it possible to get a nagios server to bind to an IP? Searching seems to reveal no config for this. I want to get nagios to use one IP on a cluster so that the other host (active-passive) can take it over in the event of a failure. This also means I can move the IP to any other host with out having to re-configure all the clients. Any ideas? greg ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GilesC at CarmenMedia.com Mon Jul 17 16:48:55 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Mon, 17 Jul 2006 16:48:55 +0200 Subject: bind nagios server to a certain IP Message-ID: <28919ADDC3E2C44BAD07B1EB44818493BC89DD@cmgexcdc01.CMG.local> For communicating between the cluster you can use a dedicated subnet and do not implement a default route. For the web interface you can bind apache to whatever interface through the apache configuration. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Greg Cope Sent: 17 July 2006 16:43 To: nagios Subject: [Nagios-users] bind nagios server to a certain IP Hi All, Is it possible to get a nagios server to bind to an IP? Searching seems to reveal no config for this. I want to get nagios to use one IP on a cluster so that the other host (active-passive) can take it over in the event of a failure. This also means I can move the IP to any other host with out having to re-configure all the clients. Any ideas? greg ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.cope at e-dba.net Mon Jul 17 16:58:34 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Mon, 17 Jul 2006 15:58:34 +0100 Subject: bind nagios server to a certain IP In-Reply-To: <28919ADDC3E2C44B