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: <28919ADDC3E2C44BAD07B1EB44818493BC89DD@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493BC89DD@cmgexcdc01.CMG.local> Message-ID: <1153148314.2522.14.camel@dl.e-dba.net> On Mon, 2006-07-17 at 16:48 +0200, Giles Coochey wrote: > For communicating between the cluster you can use a dedicated subnet and > do not implement a default route. The host already has a default route. > For the web interface you can bind apache to whatever interface through > the apache configuration. That's the easy bit. Thanks, Greg > -----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 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 17:11:41 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 17 Jul 2006 11:11:41 -0400 Subject: A lot of process using nagios distributed monitor In-Reply-To: <1153140739.12955.13.camel@localhost.localdomain> References: <1153140739.12955.13.camel@localhost.localdomain> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Tiago Cruz > Sent: Monday, July 17, 2006 5:52 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] A lot of process using nagios > distributed monitor > > I'm using 03 server running nagios 2.4, with distributed arch: > > 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 get this on a couple Nagios installations -- something will happen with Nagios (usually on config reloads or restarts) that will cause the Nagios pipe to stop accepting external commands. This willl cause anything trying to use it (in my case, the problem is usually nsca) to hang. If you get enough of these external processes hung, the box dies. I've put in several safeguards against it, including limiting the number of nsca processes xinetd will allow to run, a check through cron that submits an external check result every minute (with a corresponding freshness check in Nagios and an event handler that will restart Nagios if the check doesn't come in), and a script that will 'kill -9' anything owned by Nagios if a certain number of processes is running. I've seen this problem over several years of running Nagios, on Solaris, Debian, Gentoo and Red Hat. Don't know if it's the same one you're seeing, but I've never found a better fix for 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 jeffrey at hyves.nl Mon Jul 17 17:15:45 2006 From: jeffrey at hyves.nl (jeffrey at hyves.nl) Date: Mon, 17 Jul 2006 17:15:45 +0200 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: <44BBA9A1.3020002@hyves.nl> I'm currently implementing SNMP checks into Nagios. My only problem at this point is that some of the snmpd daemons start hanging (> not responding to snmp requests). When I do a netstat -tulp check on the host, I see very high Recv-Q values: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name udp 108416 0 *:snmp *:* 5776/snmpd Any thoughts? -Jeffrey --------------------------------- Jeffrey Lensen hyves: http://skyler.hyves.nl mail/msn: jeffrey at hyves.nl 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 > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 17:14:08 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 17 Jul 2006 11:14:08 -0400 Subject: bind nagios server to a certain IP In-Reply-To: <1153147406.2522.12.camel@dl.e-dba.net> References: <1153147406.2522.12.camel@dl.e-dba.net> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Greg Cope > Sent: Monday, July 17, 2006 7:43 AM > 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. Nagios itself doesn't bind to an IP address. What do you want to bind to the IP? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 17:16:49 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 17 Jul 2006 11:16:49 -0400 Subject: Using SNMP as an alternative to NRPE In-Reply-To: <44BBA9A1.3020002@hyves.nl> References: <44BBA9A1.3020002@hyves.nl> Message-ID: > -----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: Monday, July 17, 2006 8:16 AM > To: Thomas Sluyter > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Using SNMP as an alternative to NRPE > > I'm currently implementing SNMP checks into Nagios. My only > problem at this point is that some of the snmpd daemons start > hanging (> not responding to snmp requests). > When I do a netstat -tulp check on the host, I see very high > Recv-Q values: Without knowing anything about how snmpd is configured, the boxes it's running on, or how you're polling it, it's impossible to say. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17:18:47 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Mon, 17 Jul 2006 17:18:47 +0200 Subject: bind nagios server to a certain IP Message-ID: <28919ADDC3E2C44BAD07B1EB44818493BC89DE@cmgexcdc01.CMG.local> >The host already has a default route. Hi Greg, What I mean to say is if you have one IP for cluster communications (without a default route) and another IP (your roaming IP for nagios which has the default route). You can implement this with a second interface card or subinterface and existing interface using dot1q encapsulation, if your switch infrastructure supports it, for which you do not assign a default route. You do this on both servers for the specific reason of checking that nagios is running on both hosts. It's simply a management interface. If your passive system(s) detect that the active nagios host is experiencing problems (which you can do in a number of ways with both local and remote checks on the secondary IP address) it can take on the role of the active by reconfiguring the primary interface card with the IP of the failed device. Thanks Giles > -----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=1216 > 42 _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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=1216 > 42 _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Mon Jul 17 17:26:10 2006 From: jeffrey at hyves.nl (jeffrey at hyves.nl) Date: Mon, 17 Jul 2006 17:26:10 +0200 Subject: Using SNMP as an alternative to NRPE In-Reply-To: References: Message-ID: <44BBAC12.5060302@hyves.nl> Sorry :) I'm running snmp version 5.2.2 on nearly 200 machines (some pentium 4, 3ghz machines, others dual opterons 248), all being checked by the Nagios host. I'm using the snmp scripts from http://www.manubulon.com/nagios/ and have them all setup to use v2c. The snmp configs are set-up with just a rocommunity. --------------------------------- Jeffrey Lensen hyves: http://skyler.hyves.nl mail/msn: jeffrey at hyves.nl Morris, Patrick wrote: > Without knowing anything about how snmpd is configured, the boxes it's > running on, or how you're polling it, it's impossible to say. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jul 17 17:24:53 2006 From: marc at ena.com (Marc Powell) Date: Mon, 17 Jul 2006 10:24:53 -0500 Subject: A lot of process using nagios distributed monitor Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Tiago Cruz > Sent: Monday, July 17, 2006 7:52 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] A lot of process using nagios distributed monitor > > 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 :-/ This shouldn't be an issue. I have a very similar setup, 5 data collectors reporting 3646 total services to 2 central hosts Verify that you have command_check_interval in nagios.cfg set to a reasonable number (I use -1). Verify that your host check command is reasonable and exits quickly (i.e. a single ping is usually sufficient). I personally don't use host checks at all due to the volatility of the devices I'm monitoring. aggregate_status_updates set to 1 may help, status_update_interval is 15 here. Verify that your hardware (specifically drives) are operating correctly and aren't starving for resources (cpu, memory, etc). I had a similar problem once caused by bad writes to a drive in a hardware mirror. The drive didn't fail out but the performance was miserable. -- 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 greg.cope at e-dba.net Mon Jul 17 17:37:24 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Mon, 17 Jul 2006 16:37:24 +0100 Subject: bind nagios server to a certain IP In-Reply-To: References: Message-ID: <1153150644.2522.17.camel@dl.e-dba.net> On Mon, 2006-07-17 at 11:14 -0400, Morris, Patrick wrote: > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > Of Greg Cope > > Sent: Monday, July 17, 2006 7:43 AM > > 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. > > Nagios itself doesn't bind to an IP address. What do you want to bind > to the IP? I've set allowed_hosts in nrpe.conf - so the clients will only accept checks from a certain IP. This is the IP I am trying to get nrpe checks bound to. 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 greg.cope at e-dba.net Mon Jul 17 17:40:02 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Mon, 17 Jul 2006 16:40:02 +0100 Subject: bind nagios server to a certain IP In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493BC89DE@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493BC89DE@cmgexcdc01.CMG.local> Message-ID: <1153150803.2522.21.camel@dl.e-dba.net> On Mon, 2006-07-17 at 17:18 +0200, Giles Coochey wrote: > > >The host already has a default route. > > Hi Greg, > > What I mean to say is if you have one IP for cluster communications > (without a default route) and another IP (your roaming IP for nagios > which has the default route). You can implement this with a second > interface card or subinterface and existing interface using dot1q > encapsulation, if your switch infrastructure supports it, for which you > do not assign a default route. You do this on both servers for the > specific reason of checking that nagios is running on both hosts. It's > simply a management interface. > > If your passive system(s) detect that the active nagios host is > experiencing problems (which you can do in a number of ways with both > local and remote checks on the secondary IP address) it can take on the > role of the active by reconfiguring the primary interface card with the > IP of the failed device. > > Thanks > > Giles Thanks Giles. The host already runs linux heartbeat, and is in an active-passive ha cluster running bind, ldap and dhcpd. I wanted to add nagios to the mix. When setting this up it is usual to give each app a VIP address, and configure that on the active host. As I have configured nrpe clients to only allow checks from one IP - the nrpe checks needs to come from that IP address. 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 pitchfork at ederdrom.de Mon Jul 17 17:55:10 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Mon, 17 Jul 2006 17:55:10 +0200 Subject: Using SNMP as an alternative to NRPE In-Reply-To: <44BBAC12.5060302@hyves.nl> References: <44BBAC12.5060302@hyves.nl> Message-ID: <200607171755.14507.pitchfork@ederdrom.de> Am Montag, 17. Juli 2006 17:26 schrieb jeffrey at hyves.nl: > Sorry :) > > I'm running snmp version 5.2.2 on nearly 200 machines (some pentium 4, > 3ghz machines, others dual opterons 248), all being checked by the > Nagios host. I'm using the snmp scripts from > http://www.manubulon.com/nagios/ and have them all setup to use v2c. The > snmp configs are set-up with just a rocommunity. I use net-snmp to execute tho local plugins via snmp get method. In /etc/snmpd.conf every check is defined. --- exec 1.3.6.1.4.1.7411.10 check_swap /usr/local/nagios/libexec/check_swap -w 20% -c 10% --- If you run an snmpwalk on 1.3.6.1.4.1.7411.10 you will get the result for check_swap. snmpwalk -v1 -On -c localhost .1.3.6.1.4.1.7411.10 .1.3.6.1.4.1.7411.10.1.1 = INTEGER: 1 .1.3.6.1.4.1.7411.10.2.1 = STRING: "check_swap" .1.3.6.1.4.1.7411.10.3.1 = STRING: "/usr/local/nagios/libexec/check_swap -w 20% -c 10%" .1.3.6.1.4.1.7411.10.100.1 = INTEGER: 0 .1.3.6.1.4.1.7411.10.101.1 = STRING: "SWAP OK - 100% free (2055 MB out of 2055 MB) |swap=2055MB;411;205;0;2055" .1.3.6.1.4.1.7411.10.102.1 = INTEGER: 0 .1.3.6.1.4.1.7411.10.103.1 = "" I use SNMP on all Linux Maschines an it works fine for me. J?rg -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 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 GilesC at CarmenMedia.com Mon Jul 17 17:56:35 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Mon, 17 Jul 2006 17:56:35 +0200 Subject: bind nagios server to a certain IP Message-ID: <28919ADDC3E2C44BAD07B1EB44818493BC89DF@cmgexcdc01.CMG.local> >Thanks Giles. > >The host already runs linux heartbeat, and is in an >active-passive ha cluster running bind, ldap and dhcpd. >I wanted to add nagios to the mix. When setting this >up it is usual to give each app a VIP address, and >configure that on the active host. > >As I have configured nrpe clients to only allow checks >from one IP - the nrpe checks needs to come from that >IP address. Well the short answer is nagios will run it's checks from the Interface which is most suited to be the route to that host. It doesn't in itself 'bind' to any address, but simply uses the routing table on the system for each plug-in's communications. Nagios isn't a network daemon in itself, and it's the individual plug-ins, be they perl or compiled C that initiate the network accesses - perhaps you should check NRPE docs, I don't happen to use that myself, but do know that the NRPE daemon runs on the client, and locally on the nagios server, NRPE just runs as a check using the local routing table. Under Linux, with iptables patches, it *may* be possible to mark packets coming from a particular process and have them processed in their own ip routing table. This is a complicated set up however, and I get the impression that you're looking for an easier solution. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18:01:20 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Mon, 17 Jul 2006 17:01:20 +0100 Subject: bind nagios server to a certain IP In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493BC89DF@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493BC89DF@cmgexcdc01.CMG.local> Message-ID: <1153152080.2522.25.camel@dl.e-dba.net> On Mon, 2006-07-17 at 17:56 +0200, Giles Coochey wrote: > >Thanks Giles. > > > >The host already runs linux heartbeat, and is in an > >active-passive ha cluster running bind, ldap and dhcpd. > >I wanted to add nagios to the mix. When setting this > >up it is usual to give each app a VIP address, and > >configure that on the active host. > > > >As I have configured nrpe clients to only allow checks > >from one IP - the nrpe checks needs to come from that > >IP address. > > Well the short answer is nagios will run it's checks from the Interface > which is most suited to be the route to that host. Yes - that's what I realised. So my only choice is to either remove the allow host constraint on nrpe, or to add more IP's to it. I suppose either is roughly the same amount of work. > Under Linux, with iptables patches, it *may* be possible to mark packets > coming from a particular process and have them processed in their own ip > routing table. This is a complicated set up however, and I get the > impression that you're looking for an easier solution. Done that before - but I do not want to start playing with firewall rules just for this. 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 patrick.morris at hp.com Mon Jul 17 18:01:17 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 17 Jul 2006 12:01:17 -0400 Subject: bind nagios server to a certain IP In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493BC89DF@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493BC89DF@cmgexcdc01.CMG.local> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Giles Coochey > Sent: Monday, July 17, 2006 8:57 AM > To: Greg Cope > Cc: nagios > Subject: Re: [Nagios-users] bind nagios server to a certain IP > > > Nagios isn't a network daemon in itself, and it's the > individual plug-ins, be they perl or compiled C that initiate > the network accesses > - perhaps you should check NRPE docs, I don't happen to use > that myself, but do know that the NRPE daemon runs on the > client, and locally on the nagios server, NRPE just runs as a > check using the local routing table. Sounds like, given the requirements, the solution may be to just make sure the Nagios machine's default route is bound to the virtual interface. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esmiguelfc at gmail.com Mon Jul 17 18:15:35 2006 From: esmiguelfc at gmail.com (Miguel Fernandes) Date: Mon, 17 Jul 2006 12:15:35 -0400 Subject: bind nagios server to a certain IP In-Reply-To: <1153147406.2522.12.camel@dl.e-dba.net> References: <1153147406.2522.12.camel@dl.e-dba.net> Message-ID: <7b5ba3cd0607170915x43f03a8bgee047db1e257ad6@mail.gmail.com> Hi! I'm trying to use headers and footers with the cgis, but I can't get it working. I've search the web and followed the instructions on the manual: Create an ssi folder inside the html one, create the files common-header.ssi, common-footer.ssi, change permission to 644 and 755, but it seems the cgi's aren't finding them. Then I move the folder outside the html folder (/usr/share/nagios/) play with permission but nothing worked. Has anybody worked with headers and footers in nagios? 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 esmiguelfc at gmail.com Mon Jul 17 18:17:37 2006 From: esmiguelfc at gmail.com (Miguel Fernandes) Date: Mon, 17 Jul 2006 12:17:37 -0400 Subject: Headers and footers on Nagios Message-ID: <7b5ba3cd0607170917o42cca442mca706134ebdb649b@mail.gmail.com> Sorry, I forget to change the subject of the conversation. My mistake. On 7/17/06, Miguel Fernandes wrote: > > Hi! > > I'm trying to use headers and footers with the cgis, but I can't get it > working. I've search the web and followed the instructions on the manual: > Create an ssi folder inside the html one, create the files > common-header.ssi , common-footer.ssi, change permission to 644 and 755, > but it seems the cgi's aren't finding them. Then I move the folder outside > the html folder (/usr/share/nagios/) play with permission but nothing > worked. Has anybody worked with headers and footers in nagios? > > Thanks! > > > -- Miguel Fernandes C. esmiguelfc at gmail punto com +584168156443 +584141138338 -------------- 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 acuevasrumin at gmail.com Mon Jul 17 18:18:37 2006 From: acuevasrumin at gmail.com (angel cuevas rumin) Date: Mon, 17 Jul 2006 17:18:37 +0100 Subject: visualization tool Message-ID: <58c1ea0607170918t312a9d86t98ee6be7bcbd07d4@mail.gmail.com> Hello, I am using nagios in my network. Now I need to have a global vision of my network (if it is possible I would like to place every element in the position that I wish in this way I will be able to create an screen with the network?s element whereever I want). Later I would like that over this screen a link appears red when this link present problems and the same for a node, I would like a node appears in red color when it has a problem. Could some one tell me if I can do this with nagios or if I can install a tool which cooperating with nagios gives to me this functionality? Thanks in advance. Kind regards. -------------- 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 Mon Jul 17 18:22:02 2006 From: marc at ena.com (Marc Powell) Date: Mon, 17 Jul 2006 11:22:02 -0500 Subject: Headers and footers on Nagios Message-ID: You shouldn't even hijack it ;) It throws off threaded mail clients and means that your new post will appear at the bottom of a long and unrelated thread. -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Miguel Fernandes > Sent: Monday, July 17, 2006 11:18 AM > To: nagios > Subject: [Nagios-users] Headers and footers on Nagios > > Sorry, I forget to change the subject of the conversation. My mistake. > > > > > On 7/17/06, Miguel Fernandes wrote: > > Hi! > > I'm trying to use headers and footers with the cgis, but I can't get > it working. I've search the web and followed the instructions on the > manual: Create an ssi folder inside the html one, create the files common- > header.ssi , common-footer.ssi, change permission to 644 and 755, but it > seems the cgi's aren't finding them. Then I move the folder outside the > html folder (/usr/share/nagios/) play with permission but nothing worked. > Has anybody worked with headers and footers in nagios? > > Thanks! > > > > > > > > -- > Miguel Fernandes C. > esmiguelfc at gmail punto com > +584168156443 > +584141138338 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Mon Jul 17 18:24:42 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Mon, 17 Jul 2006 18:24:42 +0200 Subject: visualization tool In-Reply-To: <58c1ea0607170918t312a9d86t98ee6be7bcbd07d4@mail.gmail.com> References: <58c1ea0607170918t312a9d86t98ee6be7bcbd07d4@mail.gmail.com> Message-ID: <200607171824.47838.pitchfork@ederdrom.de> Am Montag, 17. Juli 2006 18:18 schrieb angel cuevas rumin: > Hello, > > I am using nagios in my network. > > Now I need to have a global vision of my network (if it is possible I would > like to place every element in the position that I wish in this way I will > be able to create an screen with the network?s element whereever I want). > Later I would like that over this screen a link appears red when this link > present problems and the same for a node, I would like a node appears in > red color when it has a problem. Give NagVis a try -> www.nagvis.org You can find a Screenshot on my website. http://www.ederdrom.de/doku.php/nagios/nagvis J?rg -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 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 silencer at free-4ever.net Mon Jul 17 18:26:09 2006 From: silencer at free-4ever.net (Guillaume) Date: Mon, 17 Jul 2006 18:26:09 +0200 Subject: visualization tool In-Reply-To: <58c1ea0607170918t312a9d86t98ee6be7bcbd07d4@mail.gmail.com> References: <58c1ea0607170918t312a9d86t98ee6be7bcbd07d4@mail.gmail.com> Message-ID: <44BBBA21.6080102@free-4ever.net> angel cuevas rumin a ?crit : > Hello, > > I am using nagios in my network. > > Now I need to have a global vision of my network (if it is possible I would > like to place every element in the position that I wish in this way I will > be able to create an screen with the network?s element whereever I want). > Later I would like that over this screen a link appears red when this link > present problems and the same for a node, I would like a node appears in > red > color when it has a problem. > > Could some one tell me if I can do this with nagios or if I can install a > tool which cooperating with nagios gives to me this functionality? > > Thanks in advance. > > Kind regards. > > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Did you try the status map of Nagios ??? With hostextinfo, you can place every host where you want !!! That's theoricaly, i've never use it. 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 esmiguelfc at gmail.com Mon Jul 17 19:02:58 2006 From: esmiguelfc at gmail.com (Miguel Fernandes) Date: Mon, 17 Jul 2006 13:02:58 -0400 Subject: Headers and footers on Nagios In-Reply-To: References: Message-ID: <7b5ba3cd0607171002m5915aab6leaa90454a3bfc1ae@mail.gmail.com> I don't know if I have to activate an option on cgi.cfg, but I couldn't find one. The thing is it isn't including the header. I checked the logs in case it was an error but there's no information about it. Anybody has worked with headers? Thanks in advance! -------------- 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 19:37:37 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 17 Jul 2006 19:37:37 +0200 Subject: Using SNMP as an alternative to NRPE In-Reply-To: <200607171755.14507.pitchfork@ederdrom.de> References: <44BBAC12.5060302@hyves.nl> <200607171755.14507.pitchfork@ederdrom.de> Message-ID: Very cool J??rg, Thanks for the feedback -and- the demonstration! I knew we weren't crazy for making the choices we did... It's just nice to see this thought confirmed :3 Thanks everyone... On 17 Jul, 2006, at 17:55, Joerg Linge wrote: > I use net-snmp to execute tho local plugins via snmp get method. > > In /etc/snmpd.conf every check is defined. > > --- > exec 1.3.6.1.4.1.7411.10 check_swap /usr/local/nagios/libexec/ > check_swap -w > 20% -c 10% > --- > > If you run an snmpwalk on 1.3.6.1.4.1.7411.10 you will get the > result for > check_swap. > > snmpwalk -v1 -On -c localhost .1.3.6.1.4.1.7411.10 > .1.3.6.1.4.1.7411.10.1.1 = INTEGER: 1 > .1.3.6.1.4.1.7411.10.2.1 = STRING: "check_swap" > .1.3.6.1.4.1.7411.10.3.1 = STRING: "/usr/local/nagios/libexec/ > check_swap -w > 20% -c 10%" > .1.3.6.1.4.1.7411.10.100.1 = INTEGER: 0 > .1.3.6.1.4.1.7411.10.101.1 = STRING: "SWAP OK - 100% free (2055 MB > out of 2055 > MB) |swap=2055MB;411;205;0;2055" > .1.3.6.1.4.1.7411.10.102.1 = INTEGER: 0 > .1.3.6.1.4.1.7411.10.103.1 = "" > > I use SNMP on all Linux Maschines an it works fine for me. > > J?rg ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19:41:14 2006 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Mon, 17 Jul 2006 14:41:14 -0300 Subject: A lot of process using nagios distributed monitor In-Reply-To: References: Message-ID: <1153158074.12955.48.camel@localhost.localdomain> On Mon, 2006-07-17 at 10:24 -0500, Marc Powell wrote: > This shouldn't be an issue. I have a very similar setup, 5 data > collectors reporting 3646 total services to 2 central hosts Good to know, many thanks! > Verify that you have command_check_interval in nagios.cfg set to a > reasonable number (I use -1). I was using 1, but I've changed to see if resolve my problem, thanks! > Verify that your host check command is reasonable and exits quickly > (i.e. a single ping is usually sufficient). I personally don't use host > checks at all due to the volatility of the devices I'm monitoring. Yes, but I use a lot of checks in every host :-) But is usually fast. > aggregate_status_updates set to 1 may help, status_update_interval is 15 > here. Ok, my setup has already these values. 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 timp at crossthread.com Mon Jul 17 20:41:59 2006 From: timp at crossthread.com (Tim Pushor) Date: Mon, 17 Jul 2006 12:41:59 -0600 Subject: Monitoring Nagios? Message-ID: <44BBD9F7.1060708@crossthread.com> Hi nagios-users! I am new to nagios and am starting to set up a configuration that will help monitor our infrastructure that we have at a colo. I'm progressing slowly, and so far so good - but I'd like to also take this one step further and monitor nagios. The colo has a simple HTTP monitor that we can use, and I was thinking of crafting a CGI script to check on the status of the nagios system and reply with a non-200 code if there is a problem. - Has anything like this been done - If not, whats the best (easiest) way to monitor the nagios process? Can nagios be configured to write something to a log file, so we know that its still running? (by checking on the modified date on the file) Thanks!, Tim ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 20:47:34 2006 From: jhmartin at toger.us (Jason Martin) Date: Mon, 17 Jul 2006 11:47:34 -0700 Subject: Monitoring Nagios? In-Reply-To: <44BBD9F7.1060708@crossthread.com> References: <44BBD9F7.1060708@crossthread.com> Message-ID: <20060717184734.GD15968@mal.toger.us> On Mon, Jul 17, 2006 at 12:41:59PM -0600, Tim Pushor wrote: > - Has anything like this been done > - If not, whats the best (easiest) way to monitor the nagios process? > Can nagios be configured to write something to a log file, so we know > that its still running? (by checking on the modified date on the file) There is a plugin called check_nagios that checks the nagios status file for that very thing. The CGI's can also call this plugin, although you'll have to check what the output looks like when Nagios is down to see what to check for with the HTTP monitor. -Jason Martin -- I'm leaving my body to science fiction. 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Mon Jul 17 20:56:18 2006 From: trevorwarren at gmail.com (Trevor Warren) Date: Tue, 18 Jul 2006 00:26:18 +0530 Subject: visualization tool In-Reply-To: <58c1ea0607170918t312a9d86t98ee6be7bcbd07d4@mail.gmail.com> References: <58c1ea0607170918t312a9d86t98ee6be7bcbd07d4@mail.gmail.com> Message-ID: <559e3cb60607171156o67a12276m6d20ce7d96a0e122@mail.gmail.com> Check nagvis out. Have used it. It simply rocks!!!. Trevor On 7/17/06, angel cuevas rumin wrote: > > Hello, > > I am using nagios in my network. > > Now I need to have a global vision of my network (if it is possible I > would like to place every element in the position that I wish in this way I > will be able to create an screen with the network?s element whereever I > want). Later I would like that over this screen a link appears red when this > link present problems and the same for a node, I would like a node appears > in red color when it has a problem. > > Could some one tell me if I can do this with nagios or if I can install a > tool which cooperating with nagios gives to me this functionality? > > Thanks in advance. > > Kind regards. > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Mon Jul 17 21:34:00 2006 From: silencer at free-4ever.net (Guillaume) Date: Mon, 17 Jul 2006 21:34:00 +0200 Subject: Monitoring Nagios? In-Reply-To: <20060717184734.GD15968@mal.toger.us> References: <44BBD9F7.1060708@crossthread.com> <20060717184734.GD15968@mal.toger.us> Message-ID: <44BBE628.4070903@free-4ever.net> Jason Martin a ?crit : > On Mon, Jul 17, 2006 at 12:41:59PM -0600, Tim Pushor wrote: >> - Has anything like this been done >> - If not, whats the best (easiest) way to monitor the nagios process? >> Can nagios be configured to write something to a log file, so we know >> that its still running? (by checking on the modified date on the file) > There is a plugin called check_nagios that checks the nagios > status file for that very thing. The CGI's can also call this > plugin, although you'll have to check what the output looks like > when Nagios is down to see what to check for with the HTTP > monitor. > > -Jason Martin > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 The best way is to use nagios plugin: "check_nagios" from the web interface. Check your config file from the "cgi.cfg" file. This way, if nagios is stopped, we suppose that apache is still running, because it is a nagios problem. So you can see on the web interface that nagios is faulty ! But, if i remember, there is no way to send email by that way... Regards Guillaume -- Guillaume E-mail: silencer at free-4ever.net ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From timp at crossthread.com Mon Jul 17 23:22:19 2006 From: timp at crossthread.com (Tim Pushor) Date: Mon, 17 Jul 2006 15:22:19 -0600 Subject: Monitoring Nagios? In-Reply-To: <20060717184734.GD15968@mal.toger.us> References: <44BBD9F7.1060708@crossthread.com> <20060717184734.GD15968@mal.toger.us> Message-ID: <44BBFF8B.7020701@crossthread.com> Jason Martin wrote: > On Mon, Jul 17, 2006 at 12:41:59PM -0600, Tim Pushor wrote: > >> - Has anything like this been done >> - If not, whats the best (easiest) way to monitor the nagios process? >> Can nagios be configured to write something to a log file, so we know >> that its still running? (by checking on the modified date on the file) >> > There is a plugin called check_nagios that checks the nagios > status file for that very thing. The CGI's can also call this > plugin, although you'll have to check what the output looks like > when Nagios is down to see what to check for with the HTTP > monitor. > Thanks for the quick responses Jason and Guillaume, I've crafted a tiny cgi to wrap check_nagios and it seems to work well. Thanks again, Tim ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lanning at lanning.cc Mon Jul 17 23:27:36 2006 From: lanning at lanning.cc (Robert Hajime Lanning) Date: Mon, 17 Jul 2006 14:27:36 -0700 (PDT) Subject: Using SNMP as an alternative to NRPE In-Reply-To: <200607171755.14507.pitchfork@ederdrom.de> References: <44BBAC12.5060302@hyves.nl> <200607171755.14507.pitchfork@ederdrom.de> Message-ID: <58114.192.168.128.67.1153171656.squirrel@ssl.monsoonwind.com> For check_swap, I have a perl script plugin (using ePN) that queries memTotalSwap and memAvailSwap SNMP variables. No need to install a seperate script on the client. I have also added: use SNMP 5.0; SNMP::loadModules("ALL"); To the top of p1.pl to load the mibs once at Nagios startup. Converting all my SNMP plugins to perl along with the two lines above, brought my Nagios server from a load peaking above 3 to a load peaking just above .3. I use SNMP almost exclusively. Checks against other network services (HTTP, SSH, SMTP...) use their respective plugins. I try to touch the clients as little as possible. For Solaris (the majority of my *nix hosts) I use NET-SNMP from sunfreeware.com. So, I install two packages, a startup script and a default config file (locked down to only a ro community.) > Am Montag, 17. Juli 2006 17:26 schrieb jeffrey at hyves.nl: >> Sorry :) >> >> I'm running snmp version 5.2.2 on nearly 200 machines (some pentium >> 4, >> 3ghz machines, others dual opterons 248), all being checked by the >> Nagios host. I'm using the snmp scripts from >> http://www.manubulon.com/nagios/ and have them all setup to use v2c. >> The >> snmp configs are set-up with just a rocommunity. > > I use net-snmp to execute tho local plugins via snmp get method. > > In /etc/snmpd.conf every check is defined. > > --- > exec 1.3.6.1.4.1.7411.10 check_swap > /usr/local/nagios/libexec/check_swap -w > 20% -c 10% > --- > > If you run an snmpwalk on 1.3.6.1.4.1.7411.10 you will get the result > for > check_swap. > > snmpwalk -v1 -On -c localhost .1.3.6.1.4.1.7411.10 > .1.3.6.1.4.1.7411.10.1.1 = INTEGER: 1 > .1.3.6.1.4.1.7411.10.2.1 = STRING: "check_swap" > .1.3.6.1.4.1.7411.10.3.1 = STRING: > "/usr/local/nagios/libexec/check_swap -w > 20% -c 10%" > .1.3.6.1.4.1.7411.10.100.1 = INTEGER: 0 > .1.3.6.1.4.1.7411.10.101.1 = STRING: "SWAP OK - 100% free (2055 MB out > of 2055 > MB) |swap=2055MB;411;205;0;2055" > .1.3.6.1.4.1.7411.10.102.1 = INTEGER: 0 > .1.3.6.1.4.1.7411.10.103.1 = "" > > I use SNMP on all Linux Maschines an it works fine for me. > > J?rg > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- And, did Guloka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23:42:57 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 17 Jul 2006 23:42:57 +0200 (CEST) Subject: bind nagios server to a certain IP In-Reply-To: <1153150644.2522.17.camel@dl.e-dba.net> References: <1153150644.2522.17.camel@dl.e-dba.net> Message-ID: On Mon, 17 Jul 2006, Greg Cope wrote: > On Mon, 2006-07-17 at 11:14 -0400, Morris, Patrick wrote: > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net > > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > > Of Greg Cope > > > Sent: Monday, July 17, 2006 7:43 AM > > > 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. > > > > Nagios itself doesn't bind to an IP address. What do you want to bind > > to the IP? > > I've set allowed_hosts in nrpe.conf - so the clients will only accept > checks from a certain IP. > > This is the IP I am trying to get nrpe checks bound to. Sounds like you are in need of post-route packet mangling. Time to hit the iptables manuals and setup a custome ruleset to rewrite the addresses as needed. 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Tue Jul 18 02:04:53 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 18 Jul 2006 12:04:53 +1200 Subject: bind nagios server to a certain IP In-Reply-To: References: Message-ID: <91138DE5314775409830CC77A3E6EE013CE65A@uxchange1.UoA.auckland.ac.nz> > > > > Is it possible to get a nagios server to bind to an IP? ... > > > > 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. ... > > I've set allowed_hosts in nrpe.conf - so the clients will > only accept > > checks from a certain IP. We do this by just adding the IP addresses of every member of the cluster, plus the cluster virtual IP, to the NRPE allowed_hosts lists and switch access tables. Otherwise it gets a bit awkward in having to make your HA software (linux_HA?) change your default router to force the virtual interface (and then change back on fail back). Steve ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at abtgroup.com.au Tue Jul 18 04:46:57 2006 From: mark at abtgroup.com.au (Mark Worrad) Date: Tue, 18 Jul 2006 02:46:57 +0000 (UTC) Subject: =?utf-8?b?Y2hlY2tfZGlzayAxLjQuMyAoMS42NCkgZm9yIEFJ?= =?utf-8?q?X_not_working=3F?= 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: Alexander Harvey gmail.com> writes: > > > 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 > gmail.com> wrote: > > On 7/17/06, Ton Voon < > > ton.voon 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. I am running AIX5.3 also and am experiencing similar problems. The only way so faar i can get this to work is to not use inetd.conf but start it in daemon mode eg /usr/local/bin/nagios/nrpe -n -c /usr/local/nagios/nrpe.cfg -d I can then get correct results from the nagios server from the command line but i then have issues with ussing a browser to monitor the status. I have just posted this problem. > > > > 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 > > > > > > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > _______________________________________________ > Nagios-users mailing list > Nagios-users lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 06:55:41 2006 From: ton.voon at altinity.com (Ton Voon) Date: Tue, 18 Jul 2006 05:55:41 +0100 Subject: Oracle plugin check_oracle In-Reply-To: <1cdafd0b0607171833i75f73af6o875d4a4894908ded@mail.gmail.com> References: <4290F604-C96B-4F39-B09D-EC8EFDD377E7@altinity.com> <44AAB479.101@gmail.com> <20060710181459.GS3056@mal.members.linode.com> <44B37BBA.6090604@gmail.com> <44F300C6-DEDB-412C-8C2E-1787DA8B7C4F@altinity.com> <1cdafd0b0607171833i75f73af6o875d4a4894908ded@mail.gmail.com> Message-ID: <081A773F-CED5-440D-8A68-AFC113DE929F@altinity.com> On 18 Jul 2006, at 02:33, Yang Xiao wrote: > > > On 7/11/06, Ton Voon wrote: > > 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 > > > > Just figured out the same problem by looking at another thread on > this, the answer is permission, make sure the oracle install tree > has the world execute bit on! > chmod 755 /app/oracle -R > btw, I'm doing this via nrpe...so it has nothing to do with > ORACLE_HOME, oracle client, ...none of that. > Thanks Yang. I've forwarded this to nagios-users and to Hari. 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Tue Jul 18 07:34:26 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 18 Jul 2006 07:34:26 +0200 (CEST) Subject: CGI's (Was: bind nagios server to a certain IP) In-Reply-To: <7b5ba3cd0607170915x43f03a8bgee047db1e257ad6@mail.gmail.com> References: <1153147406.2522.12.camel@dl.e-dba.net> <7b5ba3cd0607170915x43f03a8bgee047db1e257ad6@mail.gmail.com> Message-ID: On Mon, 17 Jul 2006, Miguel Fernandes wrote: > I'm trying to use headers and footers with the cgis, but I can't get it > working. I've search the web and followed the instructions on the manual: > Create an ssi folder inside the html one, create the files common-header.ssi, > common-footer.ssi, change permission to 644 and 755, but it seems the cgi's > aren't finding them. Then I move the folder outside the html folder > (/usr/share/nagios/) play with permission but nothing worked. Has anybody > worked with headers and footers in nagios? What does this have to do with "bind nagios server to a certain IP"? Why do you start a totally new and unrelated subject by replying? And it works exactly as shown in the manual. Just make sure you follow the manual 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 18 08:52:09 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Tue, 18 Jul 2006 16:52:09 +1000 Subject: check_disk 1.4.3 (1.64) for AIX not working? In-Reply-To: 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: <610cb7a00607172352l46efc340l76c0d818eb128f73@mail.gmail.com> This is the wrong thread I think but I'd be interested to know how you got NRPE to work at all in AIX5.3--even in daemon mode. That is, which version did you compile? 2.5.2 or an earlier one? Did you use any special compiler options etc? To me it looks like it's broken altogether in AIX. One of our developers is trying to fix it. We'll post the code if we make any progress. Alex On 7/18/06, Mark Worrad wrote: > > > Alexander Harvey gmail.com> writes: > > > > > > > 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 > > gmail.com> wrote: > > > > On 7/17/06, Ton Voon < > > > > ton.voon 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. > > I am running AIX5.3 also and am experiencing similar problems. The only > way so > faar i can get this to work is to not use inetd.conf but start it in > daemon mode > eg > /usr/local/bin/nagios/nrpe -n -c /usr/local/nagios/nrpe.cfg -d > > I can then get correct results from the nagios server from the command > line but > i then have issues with ussing a browser to monitor the status. I have > just > posted this problem. > > > > > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make your job > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Tue Jul 18 10:19:26 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Tue, 18 Jul 2006 09:19:26 +0100 Subject: bind nagios server to a certain IP In-Reply-To: <91138DE5314775409830CC77A3E6EE013CE65A@uxchange1.UoA.auckland.ac.nz> References: <91138DE5314775409830CC77A3E6EE013CE65A@uxchange1.UoA.auckland.ac.nz> Message-ID: <1153210766.2676.6.camel@dl.e-dba.net> On Tue, 2006-07-18 at 12:04 +1200, Steve Shipway wrote: > > > > > Is it possible to get a nagios server to bind to an IP? > ... > > > > > 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. > ... > > > I've set allowed_hosts in nrpe.conf - so the clients will > > only accept > > > checks from a certain IP. > > We do this by just adding the IP addresses of every member of the > cluster, plus the cluster virtual IP, to the NRPE allowed_hosts lists > and switch access tables. Otherwise it gets a bit awkward in having to > make your HA software (linux_HA?) change your default router to force > the virtual interface (and then change back on fail back). Steve, That's the answer I came to as well - but thanks for pointing it out. Greg > Steve > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 10:26:36 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Tue, 18 Jul 2006 10:26:36 +0200 Subject: Directories (servers, routers, ...) in Nagios2.4 Message-ID: Hello, I would like to know how to use the files printers, servers, routers, switches in nagios2.4. I discomment them in the file nagios.cfg. Is it necessary to put a file hosts.cfg in each directory? Can you explain me please ? Thank you ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 18 10:25:43 2006 From: silencer at free-4ever.net (Guillaume) Date: Tue, 18 Jul 2006 10:25:43 +0200 Subject: Directories (servers, routers, ...) in Nagios2.4 In-Reply-To: References: Message-ID: <44BC9B07.7030306@free-4ever.net> REMY Julien a ?crit : > Hello, > > I would like to know how to use the files printers, servers, routers, > switches in nagios2.4. > > I discomment them in the file nagios.cfg. > > Is it necessary to put a file hosts.cfg in each directory? > > Can you explain me please ? > > Thank you > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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, The best advise I can give you is to read the documentation as it seems you don't known Nagios at all. Regards Guillaume -- Guillaume E-mail: silencer__free-4ever__net Blog: http://guillaume.free-4ever.net ---- Site: http://www.free-4ever.net ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 10:56:46 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Tue, 18 Jul 2006 10:56:46 +0200 Subject: Directories (servers, routers, ...) in Nagios2.4 In-Reply-To: <44BC9B07.7030306@free-4ever.net> References: <44BC9B07.7030306@free-4ever.net> Message-ID: <933B4AAE-6BDA-4299-B17B-5DCDBBA5A2A0@kilala.nl> On 18 Jul, 2006, at 10:25, Guillaume wrote: > REMY Julien a ?crit : >> Hello, >> >> I would like to know how to use the files printers, servers, routers, >> switches in nagios2.4. >> >> I discomment them in the file nagios.cfg. >> >> Is it necessary to put a file hosts.cfg in each directory? > > The best advise I can give you is to read the documentation as it > seems > you don't known Nagios at all. That would be odd since Remy's been on this mailing list at least as long as I have. Remy: When you tell Nagios to include directories filled with configuration files, instead of separate config files, it will include -all- files in these directories. This means that you can choose to either: A) make one big hosts.cfg file, or B) split the hosts.cfg file into as many files as you like and then distribute them among these directories. But strictly speaking you don't -have- to have these definitions in each directory, nor do you have to use the default directories. For all I care you make a bajillion subdirectories, all with a numerical name. Very organised :p Cheers! Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 11:16:24 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Tue, 18 Jul 2006 10:16:24 +0100 Subject: Oracle plugin check_oracle In-Reply-To: <081A773F-CED5-440D-8A68-AFC113DE929F@altinity.com> References: <4290F604-C96B-4F39-B09D-EC8EFDD377E7@altinity.com> <44AAB479.101@gmail.com> <20060710181459.GS3056@mal.members.linode.com> <44B37BBA.6090604@gmail.com> <44F300C6-DEDB-412C-8C2E-1787DA8B7C4F@altinity.com> <1cdafd0b0607171833i75f73af6o875d4a4894908ded@mail.gmail.com> <081A773F-CED5-440D-8A68-AFC113DE929F@altinity.com> Message-ID: <44BCA6E8.2020104@gmail.com> Ton Voon wrote: > > On 18 Jul 2006, at 02:33, Yang Xiao wrote: > >> >> >> On 7/11/06, *Ton Voon* > > wrote: >> >> >> 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 >> >> >> >> Just figured out the same problem by looking at another thread on >> this, the answer is permission, make sure the oracle install tree has >> the world execute bit on! >> chmod 755 /app/oracle -R >> btw, I'm doing this via nrpe...so it has nothing to do with >> ORACLE_HOME, oracle client, ...none of that. >> > Thanks Yang. I've forwarded this to nagios-users and to Hari. > > Ton > > http://www.altinity.com > T: +44 (0)870 787 9243 > F: +44 (0)845 280 1725 > Skype: tonvoon > > My problem with this wasn't the x bit, since I could su - nagios and run the plug-in fine, and I had the $ORACLE_HOME var set. So I figured it must be the var problem that the script is falling down on and after adding the $ORACLE_HOME variable to the beginning of the script, I have had no further problems... -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 thebug.demon.nl Tue Jul 18 13:45:44 2006 From: nagios at thebug.demon.nl (Richard Luys-Nagios User) Date: Tue, 18 Jul 2006 13:45:44 +0200 Subject: Which book is best? Message-ID: Hi all, Just wondering: there are some books available for Nagios (2 that I know of), which one is regarded as 'the best book to get the most out of Nagios'? Has anyone been able to compare Nagios books? The books I know of are: Nagios by Wolfgang Barth (no Starch press) Pro Nagios 2.0 by James Turnbull (Apress) Please let me/us know what you think! -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 13:58:44 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Tue, 18 Jul 2006 13:58:44 +0200 Subject: Which book is best? In-Reply-To: References: Message-ID: On 18 Jul, 2006, at 13:45, Richard Luys-Nagios User wrote: > Please let me/us know what you think! Me personally, I like the "Pro nagios" book best.... Seems to give more of the information that I needed. Although I really only needed it for the ideas regarding failover and redundancy :) Cheers! Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bt_karthik at yahoo.com Tue Jul 18 14:01:13 2006 From: bt_karthik at yahoo.com (karthik arya) Date: Tue, 18 Jul 2006 05:01:13 -0700 (PDT) Subject: nagios does not start Message-ID: <20060718120113.50563.qmail@web38903.mail.mud.yahoo.com> hey I'm trying to install nagios-1.4.1 and nagios-plugins-1.4.3 on Fedora 3. Well, to make things easy i followed the steps (to install) as on : http://www.onlamp.com/pub/a/onlamp/2002/09/05/nagios.html and (part 2) : http://www.onlamp.com/pub/a/onlamp/2002/09/26/nagios.html I have made changes to the configuration files as explained in part 2. But, when i try to fire up nagios, i get the following error: [root at thames etc]# service nagios restart Running configuration check... Nagios 1.4.1 Copyright (c) 1999-2006 Ethan Galstad (nagios at nagios.org) Last Modified: 05-15-2006 License: GPL Reading configuration data... Error: Invalid host object directive '#'. Error: Could not add object property in file '/usr/local/nagios/etc/hosts.cfg' on line 3. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation on the main and host config files, as well as the 'Whats New' section to find out what has changed. failed - aborting restart. Any help???????? regards ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 14:15:43 2006 From: elias.probst at gmx.de (Elias Probst) Date: Tue, 18 Jul 2006 14:15:43 +0200 Subject: nagios does not start In-Reply-To: <20060718120113.50563.qmail@web38903.mail.mud.yahoo.com> References: <20060718120113.50563.qmail@web38903.mail.mud.yahoo.com> Message-ID: <200607181415.43664.elias.probst@gmx.de> Make sure, that there are no whitespaces in front of a '#'. Please read what Nagios tells you to do. Have a look at line 3 of hosts.cfg!! > hey > > I'm trying to install nagios-1.4.1 and nagios-plugins-1.4.3 on Fedora > 3. Well, to make things easy i followed the steps (to install) as on : > http://www.onlamp.com/pub/a/onlamp/2002/09/05/nagios.html and (part 2) : > http://www.onlamp.com/pub/a/onlamp/2002/09/26/nagios.html I have made > changes to the configuration files as explained in part 2. But, when i try > to fire up nagios, i get the following error: > > > [root at thames etc]# service nagios restart > Running configuration check... > Nagios 1.4.1 > Copyright (c) 1999-2006 Ethan Galstad (nagios at nagios.org) > Last Modified: 05-15-2006 > License: GPL > > Reading configuration data... > > Error: Invalid host object directive '#'. > > Error: Could not add object property in file > '/usr/local/nagios/etc/hosts.cfg' on line 3. > > > ***> One or more problems was encountered while processing the config > files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation on the main and host config files, as well as > the 'Whats New' section to find out what has changed. > > failed - aborting restart. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yxiao2004 at gmail.com Tue Jul 18 14:24:59 2006 From: yxiao2004 at gmail.com (Yang Xiao) Date: Tue, 18 Jul 2006 08:24:59 -0400 Subject: Oracle plugin check_oracle In-Reply-To: <44BCA6E8.2020104@gmail.com> References: <44AAB479.101@gmail.com> <20060710181459.GS3056@mal.members.linode.com> <44B37BBA.6090604@gmail.com> <44F300C6-DEDB-412C-8C2E-1787DA8B7C4F@altinity.com> <1cdafd0b0607171833i75f73af6o875d4a4894908ded@mail.gmail.com> <081A773F-CED5-440D-8A68-AFC113DE929F@altinity.com> <44BCA6E8.2020104@gmail.com> Message-ID: <1cdafd0b0607180524q5fb4b64bs9f597436ca720c2d@mail.gmail.com> On 7/18/06, Hari Sekhon wrote: > > Ton Voon wrote: > > > On 18 Jul 2006, at 02:33, Yang Xiao wrote: > > > > On 7/11/06, Ton Voon wrote: > > > > > > 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 > > > > > > > > Just figured out the same problem by looking at another thread on > this, the answer is permission, make sure the oracle install tree has the > world execute bit on! > chmod 755 /app/oracle -R > btw, I'm doing this via nrpe...so it has nothing to do with ORACLE_HOME, > oracle client, ...none of that. > > Thanks Yang. I've forwarded this to nagios-users and to Hari. > > Ton > > http://www.altinity.com > T: +44 (0)870 787 9243 > F: +44 (0)845 280 1725 > Skype: tonvoon > > > My problem with this wasn't the x bit, since I could su - nagios and run > the plug-in fine, and I had the $ORACLE_HOME var set. So I figured it must > be the var problem that the script is falling down on and after adding the > $ORACLE_HOME variable to the beginning of the script, I have had no further > problems... > > -h > > > > Does it have the read bit on? my original oracle installation (app/oracle) > had 751 permission, which is really weird, I just changed everything to 755 > and that did it. Once again, I'm using NRPE to run the check_oracle script > on the host machine, nonetheless, I don't think ORACLE_HOME and all that > matters because the script is designed to read all that env variables from > the oratab file, so just in case, check the oratab file and make sure it has > world read bit on as well. - Yang -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 yhasabnis at gmail.com Tue Jul 18 14:52:51 2006 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Tue, 18 Jul 2006 05:52:51 -0700 Subject: Monitoring hardware RAID Message-ID: Hi All, I want to know if there is any way to monitor a hardware RAID configuration using nagios (or any other utility). We have an HP Proliant DL-380 server with two 146 GB hard disks in it. We assume that these two hard disks have been configured for RAID-1 (mirrored using hardware RAID). But we want to make sure, whether they are actually mirrored without turning off and restarting the server (the server was not configured by us). The server has Red Hat Enterprise Linux ES release 3 installed on it. I would be grateful if somebody provides any pointers regarding this. Thanks Yogesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 tgenessay at aliadis.fr Tue Jul 18 15:38:08 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Tue, 18 Jul 2006 15:38:08 +0200 Subject: Monitoring hardware RAID In-Reply-To: References: Message-ID: <44BCE440.7050303@aliadis.fr> Yogesh Hasabnis wrote: > I want to know if there is any way to monitor a hardware RAID > configuration using nagios (or any other utility). We have an HP > Proliant DL-380 server with two 146 GB hard disks in it. We assume that > these two hard disks have been configured for RAID-1 (mirrored using > hardware RAID). The RAID adapter comes with a driver (always) and a configuration utility (most of the time). If your adapter has such a diagnostic/config software, you can write a small script that queries the status and awks/greps/... the output to retrieve the RAID status. We do this for IBM ServeRaid (ipssend[.exe]) HostRaid (hrconf[.exe]) and LSI1030 (cfg1030[w.exe]) adapters under both Linux [and windows] and it works great. Regards -- Thibault GENESSAY ALIADIS www.aliadis.fr Tel. +33 4 72 13 90 40 Fax +33 4 74 22 00 09 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthias.eble at mailing.kaufland-informationssysteme.com Tue Jul 18 15:38:50 2006 From: matthias.eble at mailing.kaufland-informationssysteme.com (Matthias Eble) Date: Tue, 18 Jul 2006 15:38:50 +0200 Subject: Monitoring hardware RAID In-Reply-To: References: Message-ID: <44BCE46A.4030802@mailing.kaufland-informationssysteme.com> > > The server has Red Hat Enterprise Linux ES > release 3 installed on it. I would be grateful if somebody provides any > pointers regarding this. > Hi Yogesh, you can install the hpacucli package. it provides the possibility to query the raid controllers/fc adapters and the attached disks. i wrote a perl plugin that checks the raid/disk status (and some other hpasm values). I could release it on nagiosexchange if somebody is interested in it.. matthias ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.mckee at gmail.com Tue Jul 18 15:40:43 2006 From: brian.mckee at gmail.com (Brian McKee) Date: Tue, 18 Jul 2006 09:40:43 -0400 Subject: Which book is best Message-ID: I have to put in an enthusiastic vote for the Wolfgang Barth book on Nagios. For me as someone new to network monitoring and Nagios in paticular, it was just what I needed to get up and running quickly. Oh, and a thanks to the whole Nagios community - I'm not done fine tuning yet, but I gotta say, this software package really rocks! I'm sure I'll be dropping by with more comments and questions as I go :-) Brian McKee ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Tue Jul 18 15:43:59 2006 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Tue, 18 Jul 2006 15:43:59 +0200 Subject: Monitoring hardware RAID In-Reply-To: References: Message-ID: <050001c6aa70$38e8ae70$a601000a@int.consol.de> Hi, you may look at this: http://www.strocamp.net/opensource/ They have a standalone program "arrayprobe" which acts as a nagios plugin. Greetings from Munich, Gerhard _____ Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von Yogesh Hasabnis Gesendet: Dienstag, 18. Juli 2006 14:53 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Monitoring hardware RAID Hi All, I want to know if there is any way to monitor a hardware RAID configuration using nagios (or any other utility). We have an HP Proliant DL-380 server with two 146 GB hard disks in it. We assume that these two hard disks have been configured for RAID-1 (mirrored using hardware RAID). But we want to make sure, whether they are actually mirrored without turning off and restarting the server (the server was not configured by us). The server has Red Hat Enterprise Linux ES release 3 installed on it. I would be grateful if somebody provides any pointers regarding this. Thanks Yogesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 brian.mckee at gmail.com Tue Jul 18 15:49:46 2006 From: brian.mckee at gmail.com (Brian McKee) Date: Tue, 18 Jul 2006 09:49:46 -0400 Subject: Host down never updates to unreachable? Message-ID: Hi again I'm trying to figure out why I'm getting host down reports when in fact the network is down. Here's what I _think_ happens. given desktopOne has serverOne as a parent, and d,r,f in host definition (not u) - Power failure - desktopOne goes down - host down notifications start for desktopOne - 10 minutes later the UPS runs out on serverOne and it goes down Now I'm getting host down notifications for both. In fact, serverOne is down and desktopOne is unreachable. (after all, it could be back up!) Does nagios not revisit existing problems when network outages occur? Is this a feature request I should submit somewhere? Or am I out to lunch ? :-) Comments appreciated Brian ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Tue Jul 18 15:51:21 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Tue, 18 Jul 2006 06:51:21 -0700 Subject: Modem Notifications Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD444010A@raptor.redhawk.info> I would like to send out notifications via modem (to a pager) but I'm concerned about multiple notifications being sent out and the modem not keeping up. Is anyone using a system such as this?? Thanks in advance! Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 tom at ng23.net Tue Jul 18 15:52:20 2006 From: tom at ng23.net (Tom Brown) Date: Tue, 18 Jul 2006 14:52:20 +0100 Subject: Modem Notifications In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD444010A@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD444010A@raptor.redhawk.info> Message-ID: <44BCE794.8050707@ng23.net> > I would like to send out notifications via modem (to a pager) but I?m > concerned about multiple notifications being sent out and the modem not > keeping up. Is anyone using a system such as this?? Yes - we send out using qpage and it works fine for multiple messages ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Tue Jul 18 15:58:29 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Tue, 18 Jul 2006 06:58:29 -0700 Subject: Modem Notifications In-Reply-To: <44BCE794.8050707@ng23.net> References: <44BCE794.8050707@ng23.net> Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD444010B@raptor.redhawk.info> Tom, thanks for the quick response. I wonder..how many notifications get buffered up? There are times when will see up to 100 notifications, basically because of the network setup. Thanks! Mike -----Original Message----- From: Tom Brown [mailto:tom at ng23.net] Sent: Tuesday, July 18, 2006 6:52 AM To: Mike Koponick Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Modem Notifications > I would like to send out notifications via modem (to a pager) but I'm > concerned about multiple notifications being sent out and the modem not > keeping up. Is anyone using a system such as this?? Yes - we send out using qpage and it works fine for multiple messages ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 18 16:03:00 2006 From: tom at ng23.net (Tom Brown) Date: Tue, 18 Jul 2006 15:03:00 +0100 Subject: Modem Notifications In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD444010B@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD444010B@raptor.redhawk.info> Message-ID: <44BCEA14.5000105@ng23.net> > Tom, thanks for the quick response. I wonder..how many notifications get > buffered up? There are times when will see up to 100 notifications, > basically because of the network setup. well we have had the odd major issue where many 10's of alerts are buffered. Basically nagios send the message to qpage where it gets stored in the queue and then they are sent out 1 by 1 by qpage until the queue is clear - I have never seen an issue with failed sends. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Samba at guidemail.com Tue Jul 18 16:17:20 2006 From: Samba at guidemail.com (Samba) Date: Tue, 18 Jul 2006 09:17:20 -0500 Subject: Modem Notifications Message-ID: I use sendpage, it also queues pages. If it has multiple pages for the same paging company it sends them within the same call I've noticed. Josh -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Tom Brown Posted At: Tuesday, July 18, 2006 9:03 AM Posted To: Samba Conversation: [Nagios-users] Modem Notifications Subject: Re: [Nagios-users] Modem Notifications > Tom, thanks for the quick response. I wonder..how many notifications > get buffered up? There are times when will see up to 100 > notifications, basically because of the network setup. well we have had the odd major issue where many 10's of alerts are buffered. Basically nagios send the message to qpage where it gets stored in the queue and then they are sent out 1 by 1 by qpage until the queue is clear - I have never seen an issue with failed sends. ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 18 17:31:02 2006 From: gdanko at gmail.com (Gary Danko) Date: Tue, 18 Jul 2006 08:31:02 -0700 Subject: Return code of 9 is out of bounds??? Message-ID: <6c5c451f0607180831r7bffddem2b519bb612c9d28@mail.gmail.com> Hi all, I have the check_megaraid plugin working from the command line. I can run it as either root, www-data, or nagios and it works. The syntax is simple, you enter a host address and a community string. www-data at discostu:~$ /usr/local/nagios/plugins/check_megaraid -H mail-incoming -C xxxxx megaraid OK nagios at discostu:~$ /usr/local/nagios/plugins/check_megaraid -H mail-incoming -C xxxxx megaraid OK root at discostu:~$ /usr/local/nagios/plugins/check_megaraid -H mail-incoming -C xxxxx megaraid OK But when nagios runs this command via the web console I see a CRITICAL error "(Return code of 9 is out of bounds)" www-data is the user that runs the nagios web page and all commands are run as the nagios user. I opened the check_megaraid plugin in VI and didn't see anything that was obviously exiting with code 9. Any idea what this could mean? OS: Debian 3.1 Nagios version 2.0 check_megaraid version 0.8.2 (http://www.ibiblio.org/john/megaraid/) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ismail at habari.co.tz Tue Jul 18 17:52:51 2006 From: ismail at habari.co.tz (Ismail M. Settenda) Date: Tue, 18 Jul 2006 18:52:51 +0300 Subject: nagios does not start In-Reply-To: <20060718120113.50563.qmail@web38903.mail.mud.yahoo.com> References: <20060718120113.50563.qmail@web38903.mail.mud.yahoo.com> Message-ID: <3c1cf0fd0607180852v355971b6k7a2d71f876051330@mail.gmail.com> Do the conf check on nagios.cfg (after uncommenting the host.cfg option in the nagios.cfg) cause when I did it on these other cfg files it every uncommented line seems to be an error. /usr/local/nagios/bin/nagios -v nagios.cfg in /usr/local/nagios/etc it will point out the errors. -- Ismail On 7/18/06, karthik arya wrote: > > hey > > I'm trying to install nagios-1.4.1 and nagios-plugins-1.4.3 on Fedora > 3. > Well, to make things easy i followed the steps (to install) as on : > http://www.onlamp.com/pub/a/onlamp/2002/09/05/nagios.html > and (part 2) : > http://www.onlamp.com/pub/a/onlamp/2002/09/26/nagios.html > I have made changes to the configuration files as explained in part 2. > But, when i try to fire up nagios, i get the following error: > > > [root at thames etc]# service nagios restart > Running configuration check... > Nagios 1.4.1 > Copyright (c) 1999-2006 Ethan Galstad (nagios at nagios.org) > Last Modified: 05-15-2006 > License: GPL > > Reading configuration data... > > Error: Invalid host object directive '#'. > > Error: Could not add object property in file > '/usr/local/nagios/etc/hosts.cfg' on line 3. > > > ***> One or more problems was encountered while processing the config > files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some > variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation on the main and host config files, as well as > the > 'Whats New' section to find out what has changed. > > failed - aborting restart. > > > > Any help???????? > > > > regards > > > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Tue Jul 18 18:18:08 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Tue, 18 Jul 2006 11:18:08 -0500 (CDT) Subject: config files and upograding Message-ID: <20060718161808.E770838029@chuys.eng.intrinsity.com> We've been running 1.2 pretty much since it came out. I'd liike to try a 2.x version, but nowhere am I finding anything about config file changes. Can I just start with the 1.2 config files and have it work? If not, can someone point me to a doc about the steps to upgrade? The upgrade from whatever nagios was before to nagios was a major pain. (In fact, I wish there had been an option for using the old format; I prefer to manage config files with old-fashioned *nix command line tools, and that works much better when each line is an entire config command!) Thanks, Miles ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 18 18:22:52 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Tue, 18 Jul 2006 11:22:52 -0500 Subject: host-notify-by-epager Message-ID: I have host-notify-by-epager working correctly with default commands in misccommands.cfg. host-notify-by-epager is not working, and looking in system logs I see notification attempts to my pager at XXXXXXXXXX at page.metrocall.com is timed out with mailmx.archwireless.net Jul 18 11:15:10 nagonet sendmail[11949]: k6IGDAil011947: to=< 5128750223 at page.metrocall.com>, ctladdr= (501/501), delay=00:02:00, xdelay=00:02:00, mailer=esmtp, pri=120546, relay= mailmx.archwireless.net. [147.187.10.95], dsn=4.0.0, stat=Deferred: Connection timed out with mailmx.archwireless.net. I can resolve via my nagios host: [root at nagonet network]# nslookup > set type=mx > page.metrocall.com Server: 192.168.200.18 Address: 192.168.200.18#53 Non-authoritative answer: page.metrocall.com mail exchanger = 5 mailmx.archwireless.net. Authoritative answers can be found from: mailmx.archwireless.net internet address = 147.187.10.95 shouldn't this notification behave the same way as email. the only difference being that my email address I have in contacts.cfg is internal and this epager address is external. I'd like to use local host to send from or I'm also willing to tell localhost about our outside mailserver. Anyone have a quick and easy solution for me :) I'm it's something simple...... I'm just missing it. -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 18 18:41:53 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 18 Jul 2006 12:41:53 -0400 Subject: host-notify-by-epager In-Reply-To: References: Message-ID: > From: Justin Craig > Jul 18 11:15:10 nagonet sendmail[11949]: k6IGDAil011947: to=<5128750223 at page.metrocall.com>, ctladdr= (501/501), delay=00:02:00, xdelay=00:02:00, mailer=esmtp, pri=120546, relay=mailmx.archwireless.net. [147.187.10.95], dsn=4.0.0, stat=Deferred: Connection timed out with mailmx.archwireless.net. This one's really simple, and the log message pretty much says it all. Your mail server can't connect to mailmx.archwireless.net. Either their mail server's down, or you have a network issue to work out. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Tue Jul 18 18:41:09 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 18 Jul 2006 18:41:09 +0200 Subject: config files and upograding In-Reply-To: <20060718161808.E770838029@chuys.eng.intrinsity.com> References: <20060718161808.E770838029@chuys.eng.intrinsity.com> Message-ID: <200607181841.13262.pitchfork@ederdrom.de> Am Dienstag, 18. Juli 2006 18:18 schrieb Miles O'Neal: > We've been running 1.2 pretty much since it came out. > I'd liike to try a 2.x version, but nowhere am I > finding anything about config file changes. Please have a look on this fine page -> http://nagios.sourceforge.net/docs/2_0/whatsnew.html J?rg -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 gvembu at totallynetworked.com Tue Jul 18 19:29:37 2006 From: gvembu at totallynetworked.com (Ganesh Vembu) Date: Tue, 18 Jul 2006 10:29:37 -0700 Subject: Nagios plugin error Message-ID: <00CDD3DF3F3D574C8793AD9E8B529F2928F0EB@server.BrightScience.local> Hey there I am new here and gave Nagios a shot I am having some errors compiling my nagios plugins this is just part of the error list can you tell me where i am going wrong? i am running on fedora core 5 and if you could point me out to any informational material on the web to make my life a little easier about nagios install and run /usr/lib/libssl.a(kssl.o): In function `kssl_sget_tkt': (.text+0x2155): undefined reference to `krb5_kt_free_entry' /usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_expand_block': (.text+0x96): undefined reference to `inflate' /usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_compress_block': (.text+0x126): undefined reference to `deflate' /usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_init': (.text+0x209): undefined reference to `inflateInit_' /usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_init': (.text+0x274): undefined reference to `deflateInit_' /usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_free_ex_data': (.text+0x37e): undefined reference to `inflateEnd' /usr/lib/libcrypto.a(c_zlib.o): In function `zlib_stateful_free_ex_data': (.text+0x389): undefined reference to `deflateEnd' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func': (.text+0x1b4): undefined reference to `dlsym' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func': (.text+0x29c): undefined reference to `dlerror' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var': (.text+0x334): undefined reference to `dlsym' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var': (.text+0x419): undefined reference to `dlerror' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload': (.text+0x495): undefined reference to `dlclose' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load': (.text+0x594): undefined reference to `dlopen' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load': (.text+0x60a): undefined reference to `dlclose' /usr/lib/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load': (.text+0x641): undefined reference to `dlerror' collect2: ld returned 1 exit status make[2]: *** [check_http] Error 1 make[2]: Leaving directory `/root/Desktop/nagios-plugins-1.4.2/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/Desktop/nagios-plugins-1.4.2' make: *** [all] Error 2 thanks all ganesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 hugs_2b at yahoo.com Tue Jul 18 19:25:32 2006 From: hugs_2b at yahoo.com (Sumit malhotra) Date: Tue, 18 Jul 2006 10:25:32 -0700 (PDT) Subject: Nagios - Nsca - OCSP command Timedout Message-ID: <20060718172532.49227.qmail@web52108.mail.yahoo.com> Hello, I am using Nagios in a distributed environment where many systems report to a central nagios server via NSCA. Many a times the nsca command(ocsp and oshp command) times out due to low response time from remote nsca. As the results submiteed by remote client are not received, it causes an alert to be generated. (I am using nsca -server in inetd mode.) I have few questions: 1. Is it possible to set up NSCA -server so that it doesn't time out ? What's the deterministic parameter? is it RAM ? CPU? or NETWORK CHOKING. In Normal scenarios I have 90% RAM as free Average System Load is 1.5 Network of 10MB is available. with only 100 odd hosts to report to ( It's not getting choked either) 2. Is it possbile to retry sending in 15 seconds if the ochp/ocsp command has timed out ? Thanks Sumit ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 19:41:59 2006 From: marc at ena.com (Marc Powell) Date: Tue, 18 Jul 2006 12:41:59 -0500 Subject: config files and upograding Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Miles O'Neal > Sent: Tuesday, July 18, 2006 11:18 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] config files and upograding > > We've been running 1.2 pretty much since it came out. > I'd liike to try a 2.x version, but nowhere am I > finding anything about config file changes. Can I http://nagios.sourceforge.net/docs/2_0/whatsnew.html > just start with the 1.2 config files and have it work? With only minor modifications. Some macro names have changed and moving contact_group definitions from the hostgroup{} to the host{} definitions was pretty much all I needed to do here but I have a pretty simple config. > If not, can someone point me to a doc about the steps > to upgrade? > > The upgrade from whatever nagios was before to nagios > was a major pain. (In fact, I wish there had been an > option for using the old format; I prefer to manage config > files with old-fashioned *nix command line tools, and > that works much better when each line is an entire config > command!) Nagios 1.x does support the old Netsaint single-line definitions (http://nagios.sourceforge.net/docs/1_0/xoddefault.html). They were specifically maintained for backward compatibility, you just needed to specify that at compile time. 2.0 doesn't in favor of the more flexible template definitions. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 19:50:06 2006 From: marc at ena.com (Marc Powell) Date: Tue, 18 Jul 2006 12:50:06 -0500 Subject: Nagios - Nsca - OCSP command Timedout Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sumit malhotra > Sent: Tuesday, July 18, 2006 12:26 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios - Nsca - OCSP command Timedout > > Hello, > > I am using Nagios in a distributed environment where > many systems report to a central nagios server via > NSCA. > > Many a times the nsca command(ocsp and oshp command) > times out due to low response time from remote nsca. > > As the results submiteed by remote client are not > received, it causes an alert to be generated. > (I am using nsca -server in inetd mode.) > > > I have few questions: > > 1. Is it possible to set up NSCA -server so that it > doesn't time out ? What's the deterministic parameter? > is it RAM ? CPU? or NETWORK CHOKING. I'd check your inetd config. Are you allowing sufficient connections and rate limits for your environment? > In Normal scenarios I have 90% RAM as free > Average System Load is 1.5 > Network of 10MB is available. with only 100 odd hosts > to report to ( It's not getting choked either) > > 2. Is it possbile to retry sending in 15 seconds if > the ochp/ocsp command has timed out ? Yes, you could always modify your submit_check_result script to take that into account. Nagios doesn't have that capability itself. The proper fix however is to determine why the timeouts are occurring. I'm able to process 3648 passive checks via NSCA every 5 minutes running NSCA as a standalone daemon. That's why I believe you may need to look at your (x)inetd.conf. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 20:17:38 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 18 Jul 2006 11:17:38 -0700 Subject: Nagios plugin error In-Reply-To: <00CDD3DF3F3D574C8793AD9E8B529F2928F0EB@server.BrightScience.local> References: <00CDD3DF3F3D574C8793AD9E8B529F2928F0EB@server.BrightScience.local> Message-ID: <20060718181738.GS13226@hermes.americas.hpqcorp.net> Hi Ganesh! On Tue, 18 Jul 2006, Ganesh Vembu wrote: > Hey there > I am new here and gave Nagios a shot > I am having some errors compiling my nagios plugins > this is just part of the error list > can you tell me where i am going wrong? You're missing at least a few development libraries (from the errors you posted, you're missing at least zlib and probably others). Sounds like you may be in a bit over your head here -- any reason for not just using RPMs? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 21:05:27 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Tue, 18 Jul 2006 14:05:27 -0500 (CDT) Subject: config files and upograding In-Reply-To: References: Message-ID: <20060718190527.C332338029@chuys.eng.intrinsity.com> Marc Powell replied to me: |> We've been running 1.2 pretty much since it came out. |> I'd liike to try a 2.x version, but nowhere am I |> finding anything about config file changes. Can I | |http://nagios.sourceforge.net/docs/2_0/whatsnew.html Joerg Linge also recommended that page. It's OK, but it's not as clear as it might be. They reference extensive, mandatory rework of config files because of macro changes, but after digging, it doesn't seem there is that much to do. It also looks like some of the changes they reference actually apply to earlier versions, at least based on what they say on that page. |> just start with the 1.2 config files and have it work? | |With only minor modifications. Some macro names have changed and moving |contact_group definitions from the hostgroup{} to the host{} definitions |was pretty much all I needed to do here but I have a pretty simple |config. OK, so probably minimal changes for me, a half hour to an hour. Not too painful-- but I can't tell if it's worth it. [1] One thing that would make it worth it is an easy way to set up a class of dependencies. I have over 200 hosts and 1100+ services. I'd like to set it up so that if a system is down, I don't get notified about every service. If a switch is down, I don't want to get notified about every subswitch, much less every node on each of those switches. Looking at the 1.2 docs, this looks like a *lot* of configuration. Looking through the changelog, though, dependency wildcards showed up earlier than 1.2. Are they there in 1.2? Is it just not in the top level dependancy doc? Would the 2.0 service groups help me do that more easily? That would be a compelling reason to switch! Thanks, Miles [1] I was a software developer for years. One thing I learned is that you never break a feature without being able to explain to the customer why the new version is much more beneficial than the old. You always assume the customer resists change. As a sysadmin doing the job of two sysadmins for now, I can guarantee you I need to see a big benefit to spend even an hour on an upgrade. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 18 21:09:18 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 18 Jul 2006 21:09:18 +0200 (CEST) Subject: nagios does not start In-Reply-To: <20060718120113.50563.qmail@web38903.mail.mud.yahoo.com> References: <20060718120113.50563.qmail@web38903.mail.mud.yahoo.com> Message-ID: On Tue, 18 Jul 2006, karthik arya wrote: > I'm trying to install nagios-1.4.1 and nagios-plugins-1.4.3 on Fedora 3. Any particular reason why you choose to run end-of-life versions? Fedora Core 3 has moved to legacy quite a while ago. Nagios 1.4 is propably the last of the 1.x branch. I reckon that if you want longterm stability you should go for RHEL or one of the clones (Centos, XOS, ...) and I think most of the nagios 2.x issues are now solved as well. 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugs_2b at yahoo.com Tue Jul 18 21:10:03 2006 From: hugs_2b at yahoo.com (Sumit malhotra) Date: Tue, 18 Jul 2006 12:10:03 -0700 (PDT) Subject: Nagios - Nsca - OCSP command Timedout In-Reply-To: References: Message-ID: <20060718191004.50417.qmail@web52101.mail.yahoo.com> --- Marc Powell wrote: Hello Marc, > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Sumit > malhotra > > Sent: Tuesday, July 18, 2006 12:26 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagios - Nsca - OCSP > command Timedout > > > > Hello, > > > > I am using Nagios in a distributed environment > where > > many systems report to a central nagios server via > > NSCA. > > > > Many a times the nsca command(ocsp and oshp > command) > > times out due to low response time from remote > nsca. > > > > As the results submiteed by remote client are not > > received, it causes an alert to be generated. > > (I am using nsca -server in inetd mode.) > > > > > > I have few questions: > > > > 1. Is it possible to set up NSCA -server so that > it > > doesn't time out ? What's the deterministic > parameter? > > is it RAM ? CPU? or NETWORK CHOKING. > > I'd check your inetd config. Are you allowing > sufficient connections and > rate limits for your environment? Here is the xinetd configurations service nsca { flags = REUSE socket_type = stream wait = no user = nagios group = nagios server = /usr/sbin/nsca server_args = -c /etc/nsca.cfg --inetd log_on_failure += USERID instances = 200 disable = no } Also, sometimes nsca goes in adefunct state. I have no clue why ? 3054 ? Rs 0:01 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive 21552 ? Zs 0:00 \_ [nsca] 21553 ? Zs 0:00 \_ [nsca] 21554 ? Zs 0:00 \_ [nsca] 21555 ? Ss 0:00 \_ nsca -c /etc/nsca.cfg --inetd 21556 ? Ss 0:00 \_ nsca -c /etc/nsca.cfg --inetd nsca.cfg ------------- server_port=5667 server_address=x.x.x.x nsca_user=nagios nsca_group=nagios debug=0 command_file=/var/lib/nagios2/rw/nagios.cmd aggregate_writes=0 append_to_file=0 max_packet_age=30 password=xxxxxxxxx decryption_method=1 > > > In Normal scenarios I have 90% RAM as free > > Average System Load is 1.5 > > Network of 10MB is available. with only 100 odd > hosts > > to report to ( It's not getting choked either) > > > > 2. Is it possbile to retry sending in 15 seconds > if > > the ochp/ocsp command has timed out ? > > Yes, you could always modify your > submit_check_result script to take > that into account. Nagios doesn't have that > capability itself. The > proper fix however is to determine why the timeouts > are occurring. I'm > able to process 3648 passive checks via NSCA every 5 > minutes running > NSCA as a standalone daemon. That's why I believe > you may need to look > at your (x)inetd.conf. > > -- > Marc > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bcook at poklib.org Tue Jul 18 21:13:13 2006 From: bcook at poklib.org (B. Cook) Date: Tue, 18 Jul 2006 15:13:13 -0400 Subject: Minuteman UPS Support? Message-ID: <44BD32C9.3060701@poklib.org> I have recently come into some MinuteMan S2000 devices, one of them has the snmp 32L module and the 32th temp/humidity probe. Does any of this work with nagios? Aside from the obvious.. (it's not apc) not many other projects can even talk to this device.. :( Should I give them back? :) -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gvembu at totallynetworked.com Tue Jul 18 21:38:08 2006 From: gvembu at totallynetworked.com (Ganesh Vembu) Date: Tue, 18 Jul 2006 12:38:08 -0700 Subject: Nagios plugin error Message-ID: <00CDD3DF3F3D574C8793AD9E8B529F2928F0EC@server.BrightScience.local> Hi nope no reason for not using the RPM's just following some instructions on the website so what would be the difference in using RPM's ??? thanks for your response ganesh ________________________________ From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: Tue 7/18/2006 11:17 AM To: Ganesh Vembu Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios plugin error Hi Ganesh! On Tue, 18 Jul 2006, Ganesh Vembu wrote: > Hey there > I am new here and gave Nagios a shot > I am having some errors compiling my nagios plugins > this is just part of the error list > can you tell me where i am going wrong? You're missing at least a few development libraries (from the errors you posted, you're missing at least zlib and probably others). Sounds like you may be in a bit over your head here -- any reason for not just using RPMs? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Tue Jul 18 21:46:32 2006 From: PShelfo at embrex.com (Pete Shelfo) Date: Tue, 18 Jul 2006 15:46:32 -0400 Subject: Comments in StatusMap Message-ID: Is there a way to add a weblink or comments in the Statusmap view that are not based on a host? Also is there any way to link a static image such as a WWW icon without having a host tied to it? 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Tue Jul 18 23:05:38 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Tue, 18 Jul 2006 16:05:38 -0500 (CDT) Subject: not worth the upgrade after all Message-ID: <20060718210538.55F2B38029@chuys.eng.intrinsity.com> Having to switch the contact groups into the hosts file is, IMO, braindead. It may be nice and consistent, but where is the win for the existing user? It makes the files more complex, not less. Having it as an optoin there instead of hostgroups is one thing, but at this point it looks to me like a purely academic exercise, and one that will waste a bunch of my time. If someone wants to explain *why* this is a good thing *for the user*, I'm all ears. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 23:34:16 2006 From: marc at ena.com (Marc Powell) Date: Tue, 18 Jul 2006 16:34:16 -0500 Subject: not worth the upgrade after all Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Miles O'Neal > Sent: Tuesday, July 18, 2006 4:06 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] not worth the upgrade after all > > Having to switch the contact groups into the > hosts file is, IMO, braindead. It may be > nice and consistent, but where is the win > for the existing user? It makes the files > more complex, not less. Having it as an > optoin there instead of hostgroups is one > thing, but at this point it looks to me like > a purely academic exercise, and one that > will waste a bunch of my time. > > If someone wants to explain *why* this is > a good thing *for the user*, I'm all ears. It allows you to have different contacts per host, regardless of the hostgroups they are in. The converse is that you don't have to put a host in multiple hostgroups _just_ to have multiple independent contacts. This change allows for much greater flexibility for host-specific contacts. I personally consider consistency a win myself. I also never particularly liked that couldn't enable notifications, or even a different contact, for just one host in a hostgroup without jumping through hoops or creating a dedicated hostgroup. In the end, you don't *have* to upgrade if the change is so burdensome. That's one of the benefits of OSS. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at abtgroup.com.au Tue Jul 18 23:57:22 2006 From: mark at abtgroup.com.au (Mark Worrad) Date: Tue, 18 Jul 2006 21:57:22 +0000 (UTC) Subject: issues with nrpe 2.5.1 starting correctly with AIX5.3 using inetd.conf Message-ID: My version of NRPE NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2006 Ethan Galstad (nagios at nagios.org) Version: 2.5.1 Last Modified: 04-09-2006 License: GPL v2 with exemptions (-l for more info) SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required *************************************************************** ** POSSIBLE SECURITY RISK - TCP WRAPPERS ARE NOT AVAILABLE! ** ** Read the NRPE SECURITY file for more information ** *************************************************************** My entry in inetd.conf with no ssl nrpe stream tcp nowait nagios /usr/local/nagios/nrpe -n -c /usr/local/ nagios/nrpe.cfg --inetd bash-2.05b# ./check_nrpe -H x.x.x.x -n -c check_disk_live CHECK_NRPE: Response packet had invalid CRC32. I tried again with ssl nrpe stream tcp nowait nagios /usr/local/nagios/nrpe -c /usr/local/nag ios/nrpe.cfg --inetd bash-2.05b# ./check_nrpe -H 203.98.93.34 -c check_disk_live CHECK_NRPE: Error - Could not complete SSL handshake. The only way i get this to work is to start it in Daemon mode bash-2.05b# /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d bash-2.05b# ./check_nrpe -H 203.98.93.34 -c check_disk_live DISK OK - free space: /live 47832 MB (19%);| /live=208680MB;230860;243686;0;2565 12 I can have the daemon running with or without ssl and check_nrpe with or without ssl works fine does any one have any ideas on why it will not work when run from inetd.conf. Do i have to have tcpwrappers installed for this to work, if so has anyone got tcpwrappers working on aix5.3 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark at abtgroup.com.au Wed Jul 19 00:09:13 2006 From: mark at abtgroup.com.au (Mark Worrad) Date: Tue, 18 Jul 2006 22:09:13 +0000 (UTC) Subject: =?utf-8?b?Y2hlY2tfZGlzayAxLjQuMyAoMS42NCkgZm9yIEFJ?= =?utf-8?q?X_not_working=3F?= 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> <610cb7a00607172352l46efc340l76c0d818eb128f73@mail.gmail.com> Message-ID: Alexander Harvey gmail.com> writes: > > > This is the wrong thread I think but I'd be interested to know how you got NRPE to work at all in AIX5.3--even in daemon mode. That is, which version did you compile? 2.5.2 or an earlier one? Did you use any special compiler options etc? To me it looks like it's broken altogether in AIX. One of our developers is trying to fix it. We'll post the code if we make any progress. > Alex > > On 7/18/06, Mark Worrad abtgroup.com.au> wrote: > Alexander Harvey gmail.com> writes:>>> I'm reluctant to use -w ... -c ... -p / -p /usr ... BTW as I'm often havingto 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. Thatwouldn't really be ideal.> Alex>> On 7/17/06, Alexander Harvey>?? > gmail.com> wrote:>> On 7/17/06, Ton Voon <>> ton.voon 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 freespace). Run ./check_disk -w 20% -c 1% -p / -p /usr and that should come backokay.I am running > AIX5.3 also and am experiencing similar problems. The only way sofaar i can get this to work is to not use inetd.conf but start it in daemon modeeg/usr/local/bin/nagios/nrpe -n -c /usr/local/nagios/nrpe.cfg -d > I can then get correct results from the nagios server from the command line buti then have issues with ussing a browser to monitor the status. I have justposted this problem.>>> > > Ton>>>>> Yes, I guess it's a feature, not a bug, and definitely /proc is causing theproblem 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> > On 7/19/06, Mark Worrad abtgroup.com.au> wrote: My version on nrpe NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2006 Ethan Galstad (nagios at nagios.org) Version: 2.5.1 Last Modified: 04-09-2006 License: GPL v2 with exemptions (-l for more info) SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required *************************************************************** ** POSSIBLE SECURITY RISK - TCP WRAPPERS ARE NOT AVAILABLE! ** ** Read the NRPE SECURITY file for more information ** *************************************************************** I had lots of problems compiling until i upgraded ssl. my version is freeware.openssl.rte 0.9.7.1 C F Openssl 0.9.7g My gcc version is gcc 3.3.2-5 C R GNU Compiler Collection (/bin/rpm) When compiling i just compiled with the standard ./configure Hope this helps <<<<< > >>>>>>>>>>> ------------------------------------------------------------------ -------> Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>>> _______________________________________________> Nagios-users mailing list> Nagios-users > lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/nagios- users> ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue.> ::: Messages without supporting info will risk being sent to /dev/null-------------------------------------------------------------------- -----Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV__________________________________________ _____Nagios-users mailing list > Nagios-users lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios- users::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skylar at cs.earlham.edu Wed Jul 19 00:54:28 2006 From: skylar at cs.earlham.edu (Skylar Thompson) Date: Tue, 18 Jul 2006 15:54:28 -0700 Subject: Nagios plugin error In-Reply-To: <00CDD3DF3F3D574C8793AD9E8B529F2928F0EC@server.BrightScience.local> References: <00CDD3DF3F3D574C8793AD9E8B529F2928F0EC@server.BrightScience.local> Message-ID: <44BD66A4.4070701@cs.earlham.edu> Ganesh Vembu wrote: > > Hi > nope no reason for not using the RPM's > just following some instructions on the website > so what would be the difference in using RPM's ??? Installing from RPM would let you see what libraries Nagios depends on, so you can go out and fetch them. - Skylar ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 19 06:08:16 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Wed, 19 Jul 2006 14:08:16 +1000 Subject: issues with nrpe 2.5.1 starting correctly with AIX5.3 using inetd.conf In-Reply-To: References: Message-ID: <610cb7a00607182108k4e50b85en59e2ba0a05c1ba00@mail.gmail.com> Mark, May I ask, when you run your NRPE in daemon mode as you've shown us here, what happens when you just run: # ./check_nrpe -H x.x.x.x on the host, i.e. with no other arguments than the hostname? Could you check to see if you get an error message sent do daemon.error in your syslog: Jul 14 16:36:52 cairns daemon:err|error nrpe[532718]: Error: Request packet had invalid CRC32. Jul 14 16:36:52 cairns daemon:err|error nrpe[532718]: Client request was invalid, bailing out... If NRPE was working, it should respond with: NRPE V(version number) Thanks, Alex On 7/19/06, Mark Worrad wrote: > > My version of NRPE > > NRPE - Nagios Remote Plugin Executor > Copyright (c) 1999-2006 Ethan Galstad (nagios at nagios.org) > Version: 2.5.1 > Last Modified: 04-09-2006 > License: GPL v2 with exemptions (-l for more info) > SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required > > *************************************************************** > ** POSSIBLE SECURITY RISK - TCP WRAPPERS ARE NOT AVAILABLE! ** > ** Read the NRPE SECURITY file for more information ** > *************************************************************** > > My entry in inetd.conf with no ssl > > nrpe stream tcp nowait nagios /usr/local/nagios/nrpe -n -c > /usr/local/ > nagios/nrpe.cfg --inetd > > bash-2.05b# ./check_nrpe -H x.x.x.x -n -c check_disk_live > CHECK_NRPE: Response packet had invalid CRC32. > > I tried again with ssl > > nrpe stream tcp nowait nagios /usr/local/nagios/nrpe -c > /usr/local/nag > ios/nrpe.cfg --inetd > > bash-2.05b# ./check_nrpe -H 203.98.93.34 -c check_disk_live > CHECK_NRPE: Error - Could not complete SSL handshake. > > The only way i get this to work is to start it in Daemon mode > > bash-2.05b# /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -d > > bash-2.05b# ./check_nrpe -H 203.98.93.34 -c check_disk_live > DISK OK - free space: /live 47832 MB (19%);| > /live=208680MB;230860;243686;0;2565 > 12 > > I can have the daemon running with or without ssl and check_nrpe with or > without ssl works fine > > does any one have any ideas on why it will not work when run from > inetd.conf. > Do i have to have tcpwrappers installed for this to work, if so has anyone > got > tcpwrappers working on aix5.3 > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 mark at abtgroup.com.au Wed Jul 19 07:22:49 2006 From: mark at abtgroup.com.au (Mark Worrad) Date: Wed, 19 Jul 2006 05:22:49 +0000 (UTC) Subject: =?utf-8?q?issues_with_nrpe_2=2E5=2E1_starting_corr?= =?utf-8?q?ectly_with=09AIX5=2E3_using_inetd=2Econf?= References: <610cb7a00607182108k4e50b85en59e2ba0a05c1ba00@mail.gmail.com> Message-ID: Alexander Harvey gmail.com> writes: > > > Mark,May I ask, when you run your NRPE in daemon mode as you've shown us here, what happens when you just run:# ./check_nrpe -H x.x.x.xon the host, i.e. with no other arguments than the hostname? Could you check to see if you get an error message sent do > daemon.error in your syslog:Jul 14 16:36:52 cairns daemon:err|error nrpe [532718]: Error: Request packet had invalid CRC32.Jul 14 16:36:52 cairns daemon:err|error nrpe[532718]: Client request was invalid, bailing out... > If NRPE was working, it should respond with:NRPE V(version number)Thanks,Alex > > On 7/19/06, Mark Worrad < > mark abtgroup.com.au> wrote:My version of NRPENRPE - Nagios Remote Plugin Executor > Copyright (c) 1999-2006 Ethan Galstad (nagios nagios.org)Version: 2.5.1Last Modified: 04-09-2006License: GPL v2 with exemptions (-l for more info) SSL/TLS Available: Anonymous DH Mode, OpenSSL > 0.9.6 or higher required***************************************************************** POSSIBLE SECURITY RISK - TCP WRAPPERS ARE NOT AVAILABLE!??****??????Read the NRPE SECURITY file for more information???? ** > ***************************************************************My entry in inetd.conf with no sslnrpe????stream??tcp???? nowait??nagios??/usr/local/nagios/nrpe -n -c /usr/local/nagios/nrpe.cfg --inetd > bash-2.05b# ./check_nrpe -H x.x.x.x -n -c check_disk_liveCHECK_NRPE: Response packet had invalid CRC32.I tried again with sslnrpe????stream??tcp???? nowait??nagios??/usr/local/nagios/nrpe -c /usr/local/nag > ios/nrpe.cfg --inetdbash-2.05b# ./check_nrpe -H 203.98.93.34 -c check_disk_liveCHECK_NRPE: Error - Could not complete SSL handshake.The only way i get this to work is to start it in Daemon mode > bash-2.05b# /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -dbash- 2.05b# ./check_nrpe -H 203.98.93.34 -c check_disk_liveDISK OK - free space: /live 47832 MB (19%);| /live=208680MB;230860;243686;0;2565 > 12I can have the daemon running with or without ssl and check_nrpe with orwithout ssl works finedoes any one have any ideas on why it will not work when run from inetd.conf.Do i have to have tcpwrappers installed for this to work, if so has anyone got > tcpwrappers working on aix5.3------------------------------------------------- ------------------------Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________Nagios-users mailing listNagios-users lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.::: Messages without supporting info will risk being sent to /dev/null > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Mark I ran ./check_nrpe -H x.x.x.x CHECK_NRPE: Socket timeout after 10 seconds. I then ran ./check_nrpe -H x.x.x.x -n NRPE v2.5.1 Do you know if I need tcpwrappers installed if i want to run it under inetd.conf <<<< ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yhasabnis at gmail.com Wed Jul 19 07:46:05 2006 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Wed, 19 Jul 2006 11:16:05 +0530 Subject: Monitoring hardware RAID In-Reply-To: <050001c6aa70$38e8ae70$a601000a@int.consol.de> References: <050001c6aa70$38e8ae70$a601000a@int.consol.de> Message-ID: Thanks for all the suggestions friends. I will try to evaluate all of them and will post a feedback on the list. Regards Yogesh On 7/18/06, Gerhard Lausser wrote: > > Hi, > > you may look at this: > http://www.strocamp.net/opensource/ > They have a standalone program "arrayprobe" which acts as a nagios plugin. > > Greetings from Munich, > Gerhard > > ------------------------------ > *Von:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *Im Auftrag von *Yogesh > Hasabnis > *Gesendet:* Dienstag, 18. Juli 2006 14:53 > *An:* nagios-users at lists.sourceforge.net > *Betreff:* [Nagios-users] Monitoring hardware RAID > > Hi All, > > I want to know if there is any way to monitor a hardware RAID > configuration using nagios (or any other utility). We have an HP Proliant > DL-380 server with two 146 GB hard disks in it. We assume that these two > hard disks have been configured for RAID-1 (mirrored using hardware RAID). > But we want to make sure, whether they are actually mirrored without turning > off and restarting the server (the server was not configured by us). The > server has Red Hat Enterprise Linux ES release 3 installed on it. I would be > grateful if somebody provides any pointers regarding this. > > Thanks > > Yogesh > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 verhoefc at knmi.nl Wed Jul 19 10:38:13 2006 From: verhoefc at knmi.nl (Chris Verhoef) Date: Wed, 19 Jul 2006 10:38:13 +0200 Subject: AMD64 and check_disk Message-ID: <44BDEF75.9090702@knmi.nl> Hi, I've some problems with the check_disk plugin from nagios-plugins-1.4.3. Only on the AMD64 systems with RHEL 4 I get the error: 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 /boot check_disk: Could not parse arguments when performing: check_disk -w 10% -c 2% -p /boot, at the other hosts running XEON CPU's there's no problem. If I don't use the -p option (check_disk -w 10% -c 2% or check_disk -w 10% -c 2% -x ) this plugin seems to work fine. Does anybody have a solution for this issue, I think it's a bug within the check_disk code. Thanks in advance, Chris Verhoef ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 19 11:01:25 2006 From: Alvaro.Arenas at itella.com (Arenas Alvaro) Date: Wed, 19 Jul 2006 12:01:25 +0300 Subject: check_http using a proxy Message-ID: <448FFDE0D1EE1049A1208C682C0E475C03B2D630@WMDATA-EXCL4.netti.infra.posti.fi> Hi, I want to test the validate of a SSL certificate. I already know the parameters I have to give to check_http to do this. However the nagios machine is in a closed network and to access the machine with the certificate a proxy must be used. How can do this? check_http doesn give any option to specify a proxy, so far I read. Thanks in advance Alvaro. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 19 11:01:06 2006 From: rab at walkermartyn.co.uk (Robert Jackson) Date: Wed, 19 Jul 2006 10:01:06 +0100 Subject: Best Practise Suggestions Message-ID: I'm currently in the process of setting up Nagios 2.4 on RHEL4. I'm actually looking for some advice as to what monitoring to set-up for the 'edge' of our network. Our link to the outside world is a 2Mb leased line connected to a Cisco 1600 series router. This is a managed service by our ISP (therefore cannot access internal configuration via SNMP). The router is connected to 1 port of our internal firewall (the IP address of the firewall port is our external IP address). Another firewall port connects to our internal network and a third connects to our hosting network. I'm looking for suggestions as to what to monitor that would allow me to get the most out of Nagios under this scenario. Regards, Rab. =========================================================== 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 **************************************************************** ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irger.armin at web.de Wed Jul 19 12:24:02 2006 From: irger.armin at web.de (Armin Irger) Date: Wed, 19 Jul 2006 12:24:02 +0200 Subject: how to configure snmp 5.3 that snmptrap are received ? Message-ID: <672912586@web.de> Hello, my nagios 2.4 runs well, now i want the the nagios server received snmptraps and send it to snmptt. The snmpd.conf looks like --- com2sec local localhost public com2sec mynetwork 141.60.120.0/24 public group RWGroup v1 local group RWGroup v2c local group RWGroup usm local group ROGroup v1 mynetwork group ROGroup v2c mynetwork group ROGroup usm mynetwork view all included .1 access ROGroup "" any noauth exact all none none access RWGroup "" any noauth exact all all none syslocation HERE syscontact root at localhost authtrapenable 1 trapcommunity public trapsink localhost trap2sink localhost --- If i send a trap like #snmptrap -v 2c -c public localhost "" ucdStart sysContact.0 s "Dave" only in the /var/log/net-snmptrap.log appears No access configuration - dropping trap. :-( I have no clue how to setup the access control. With the information on www.net-snmp.org i can't get it run :-( If i try to google for a snmpd.conf version 5.3 for receiving traps i got no usable results. Please help me. The normal snmp plugins from nagios works with this settings, only the traps make problems. Greetings Armin Irger _____________________________________________________________________ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/?mc=100071&distributionid=000000000071 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at whoever.org Wed Jul 19 12:58:07 2006 From: az at whoever.org (Az) Date: Wed, 19 Jul 2006 20:58:07 +1000 Subject: Modem Notifications In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD444010B@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD444010B@raptor.redhawk.info> Message-ID: <44BE103F.6090009@whoever.org> Mike Koponick wrote: > Tom, thanks for the quick response. I wonder..how many notifications get > buffered up? There are times when will see up to 100 notifications, > basically because of the network setup. > While the above seemed a little vague to me (it might just be me and a lack of coffee), it sounds like you may need to look into parents definitions to stop alerts for multiple related reachability issues. http://nagios.sourceforge.net/docs/2_0/networkreachability.html Cheers. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 13:04:21 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Wed, 19 Jul 2006 13:04:21 +0200 Subject: how to configure snmp 5.3 that snmptrap are received ? In-Reply-To: <672912586@web.de> References: <672912586@web.de> Message-ID: <884097AD-312B-4E4D-AE89-3660F5C700B7@kilala.nl> On 19 Jul, 2006, at 12:24, Armin Irger wrote: > --- > > --- > > If i send a trap like > #snmptrap -v 2c -c public localhost "" ucdStart sysContact.0 s "Dave" > > only in the /var/log/net-snmptrap.log appears > No access configuration - dropping trap. Your current setup of snmpd.conf allows the local SNMP daemon to send traps. It is not configured to handle incoming traps. Actually, you should look into "snmptrapd" whose documentation can also be found at net-snmp.org. Cheers! Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From irger.armin at web.de Wed Jul 19 13:57:08 2006 From: irger.armin at web.de (Armin Irger) Date: Wed, 19 Jul 2006 13:57:08 +0200 Subject: =?iso-8859-15?q?how_to_configure_snmp_5=2E3_that_s?= =?iso-8859-15?q?nmptrap_are_received_=3F?= Message-ID: <673113966@web.de> Hello Thomas, my snmptrapd.conf looks like -- traphandle default /usr/local/sbin/snmptt -- i can't handle the information from net-snmp.org site. Have you a working snmptrad.conf, if yes, can you please send it. Greetings Armin > -----Urspr?ngliche Nachricht----- > Von: Thomas Sluyter > Gesendet: 19.07.06 13:05:03 > An: Nagios Userlist > Betreff: Re: [Nagios-users] how to configure snmp 5.3 that snmptrap are received ? > On 19 Jul, 2006, at 12:24, Armin Irger wrote: > > > --- > > > > --- > > > > If i send a trap like > > #snmptrap -v 2c -c public localhost "" ucdStart sysContact.0 s "Dave" > > > > only in the /var/log/net-snmptrap.log appears > > No access configuration - dropping trap. > > Your current setup of snmpd.conf allows the local SNMP daemon to send > traps. It is not configured to handle incoming traps. Actually, you > should look into "snmptrapd" whose documentation can also be found at > net-snmp.org. > > Cheers! > > > Thomas > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ______________________________________________________________________ XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club! Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cuall at gmx.de Wed Jul 19 14:13:45 2006 From: cuall at gmx.de (Denny Schierz) Date: Wed, 19 Jul 2006 14:13:45 +0200 Subject: minimal install for remote host Message-ID: <1153311225.5156.8.camel@localhost.localdomain> hi, i was able to get nagios 2.5 running on a special status host. My goal is to check remote hosts from different customers via internet. I want to test nrpe, but i saw, that i have to install nagios an every remote host. So, what is the best way to do that. I want to check in most cases, mysql, mail, imap/pop, amavisd-new and apache2. Does somebody create already a minimal nagios installation for that, without webinterface or such fancy things on the remote host? Most hosts are Debian based and Gentoo. For Debian i can create *.deb. cu denny -- Sicherheit verst?ndlich http://www.sides.de GnuPG Key http://pgpkeys.pca.dfn.de:11371/pks/lookup?op=get&search=0x2A5CE192AB7D3FE0 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 jrcraig.email at gmail.com Wed Jul 19 14:43:25 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Wed, 19 Jul 2006 07:43:25 -0500 Subject: host-notify-by-epager In-Reply-To: References: <79BDC98308803B4EAE3B3CCFDE67823EE005B3@ausexch1.outserv.net> Message-ID: On 7/19/06, Justin Craig wrote: > > I can send myself a test page from any email client via @ > page.metrocall.com. So it is working.... > > What's weird is I can relay off localhost (nagios) to my gmail.com email > account. > > Why can't my nagios server send outside? I looked at the firewall and I > see the source address coming into the inside interface, but it never leaves > the outside interface, so I need to punch a whole for port 25. I'd rather > not do that and just relay off our outbound mail server. Can anyone help me > with that? > Thanks, Justin > On 7/18/06, David Maynard wrote: > > > > Not to ask a dumb question, but are you sure the @ page.metrocall.comaddress is working? We had to reconfig our MetroCall pager notifications to > > use @ my2way.com awhile back becuase they broke the Metrocall address. > > > > FYI, I just received a notification that they are changing things again > > on the weekend of August 11th. They don't mention the metrocall address > > working, but the my2way.com is supposed to keep working. They are also > > adding one for the new USA Mobility moniker. > > > > ------------------------------ > > *From:* nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] > > *On Behalf Of *Justin Craig > > *Sent:* Tuesday, July 18, 2006 11:23 AM > > *To:* Nagios Users Mailinglist > > *Subject:* [Nagios-users] host-notify-by-epager > > > > > > I have host-notify-by-epager working correctly with default commands in > > misccommands.cfg. host-notify-by-epager is not working, and looking > > in system logs I see notification attempts to my pager at > > XXXXXXXXXX at page.metrocall.com is timed out with mailmx.archwireless.net > > > > Jul 18 11:15:10 nagonet sendmail[11949]: k6IGDAil011947: to=<5128750223 at page.metrocall.com>, > > ctladdr= (501/501), delay=00:02:00, > > xdelay=00:02:00, mailer=esmtp, pri=120546, relay=mailmx.archwireless.net. > > [147.187.10.95], dsn=4.0.0, stat=Deferred: Connection timed out with > > mailmx.archwireless.net. > > > > I can resolve via my nagios host: > > > > [root at nagonet network]# nslookup > > > set type=mx > > > page.metrocall.com > > Server: 192.168.200.18 > > Address: 192.168.200.18#53 > > > > Non-authoritative answer: > > page.metrocall.com mail exchanger = 5 mailmx.archwireless.net. > > > > Authoritative answers can be found from: > > mailmx.archwireless.net internet address = 147.187.10.95 > > > > shouldn't this notification behave the same way as email. the only > > difference being that my email address I have in contacts.cfg is > > internal and this epager address is external. I'd like to use local host to > > send from or I'm also willing to tell localhost about our outside > > mailserver. > > > > Anyone have a quick and easy solution for me :) I'm it's something > > simple...... I'm just missing it. > > > > -- > > - Justin > > > > > > -- > > - Justin > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Wed Jul 19 15:01:53 2006 From: btmanmeh at verizon.net (Max H.) Date: Wed, 19 Jul 2006 09:01:53 -0400 Subject: minimal install for remote host In-Reply-To: <1153311225.5156.8.camel@localhost.localdomain> References: <1153311225.5156.8.camel@localhost.localdomain> Message-ID: <44BE2D41.2020600@verizon.net> Denny Schierz wrote: > hi, > > i was able to get nagios 2.5 running on a special status host. My goal > is to check remote hosts from different customers via internet. > I want to test nrpe, but i saw, that i have to install nagios an every > remote host. So, what is the best way to do that. I want to check in > most cases, mysql, mail, imap/pop, amavisd-new and apache2. > > Does somebody create already a minimal nagios installation for that, > without webinterface or such fancy things on the remote host? > > Most hosts are Debian based and Gentoo. For Debian i can create *.deb. > You shouldn't need to install Nagios on every host you want to check with NRPE. NRPE should only require the nagios-plugins and some Perl items. I'm not much help for Debian or Gentoo, but I use CentOS with RPM packages. Through RPM I install nagios-nrpe and some of the dependencies are: Dependencies Resolved Transaction Listing: Install: nagios-nrpe.i386 0:2.5.1-1.el4.rf - dag Performing the following to resolve dependencies: Install: fping.i386 0:2.4-1.b2.2.el4.rf - dag Install: nagios-plugins.i386 0:1.4.2-1.2.el4.rf - dag Install: perl-Crypt-DES.i386 0:2.05-3.2.el4.rf - dag Install: perl-Digest-HMAC.noarch 0:1.01-13 - base Install: perl-Digest-SHA1.i386 0:2.07-5 - base Install: perl-Net-SNMP.noarch 0:5.2.0-1.2.el4.rf - dag Install: perl-Socket6.i386 0:0.19-1.2.el4.rf - dag The main Nagios packages isn't required to install NRPE in my case. I know I'm being a little vague for your OS, but you should only need the plugins items, and whatever pieces they are dependent on. Max ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cuall at gmx.de Wed Jul 19 15:22:40 2006 From: cuall at gmx.de (Denny Schierz) Date: Wed, 19 Jul 2006 15:22:40 +0200 Subject: minimal install for remote host In-Reply-To: <44BE2D41.2020600@verizon.net> References: <1153311225.5156.8.camel@localhost.localdomain> <44BE2D41.2020600@verizon.net> Message-ID: <1153315360.5156.20.camel@localhost.localdomain> hi, Am Mittwoch, den 19.07.2006, 09:01 -0400 schrieb Max H.: > You shouldn't need to install Nagios on every host you want to check > with NRPE. NRPE should only require the nagios-plugins and some Perl items. that's great :-) Don't now why, but i didn't search for nrpe packages, cause i build nagios from source. The debian packages are from 2004, so i compiled nrpe from source too. thanks for switching the light on :-) cu denny -- Sicherheit verst?ndlich http://www.sides.de GnuPG Key http://pgpkeys.pca.dfn.de:11371/pks/lookup?op=get&search=0x2A5CE192AB7D3FE0 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 19 15:28:11 2006 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 19 Jul 2006 14:28:11 +0100 Subject: AMD64 and check_disk In-Reply-To: <44BDEF75.9090702@knmi.nl> References: <44BDEF75.9090702@knmi.nl> Message-ID: Hi Chris, Can you please try the snapshot at http://nagiosplug.sf.net/snapshot. There's been a few improvements to check_disk recently. Ton On 19 Jul 2006, at 09:38, Chris Verhoef wrote: > Hi, > > I've some problems with the check_disk plugin from nagios- > plugins-1.4.3. > Only on the AMD64 systems with RHEL 4 I get the error: > > 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 /boot > check_disk: Could not parse arguments > > when performing: check_disk -w 10% -c 2% -p /boot, at the other hosts > running XEON CPU's there's no problem. > > If I don't use the -p option (check_disk -w 10% -c 2% or check_disk -w > 10% -c 2% -x ) this plugin seems to work fine. > > Does anybody have a solution for this issue, I think it's a bug within > the check_disk code. > > Thanks in advance, > Chris Verhoef > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > This message has been scanned for viruses by MailController - > www.MailController.altohiway.com 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Wed Jul 19 15:50:19 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Wed, 19 Jul 2006 09:50:19 -0400 Subject: Update of plugins Message-ID: <0CA4ED2DD473424883BF20CCD45C18A3E8E848@mtlexchange.Duocom.local> Hello, I would like to know, Is the process for updating the plugins the same as the initial install. I have the plugins already installed and I would like to update them. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 verhoefc at knmi.nl Wed Jul 19 15:40:30 2006 From: verhoefc at knmi.nl (Chris Verhoef) Date: Wed, 19 Jul 2006 15:40:30 +0200 Subject: AMD64 and check_disk In-Reply-To: References: <44BDEF75.9090702@knmi.nl> Message-ID: <44BE364E.8090608@knmi.nl> Hi Ton, I tried the latest snapshot nagios-plugins-HEAD-200607191152. The problem about the -p with AMD64 is solved in this one. Thanks for helping, Chris Verhoef Ton Voon wrote: > Hi Chris, > > Can you please try the snapshot at http://nagiosplug.sf.net/snapshot. > There's been a few improvements to check_disk recently. > > Ton > > On 19 Jul 2006, at 09:38, Chris Verhoef wrote: > >> Hi, >> >> I've some problems with the check_disk plugin from nagios-plugins-1.4.3. >> Only on the AMD64 systems with RHEL 4 I get the error: >> >> 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 /boot >> check_disk: Could not parse arguments >> >> when performing: check_disk -w 10% -c 2% -p /boot, at the other hosts >> running XEON CPU's there's no problem. >> >> If I don't use the -p option (check_disk -w 10% -c 2% or check_disk -w >> 10% -c 2% -x ) this plugin seems to work fine. >> >> Does anybody have a solution for this issue, I think it's a bug within >> the check_disk code. >> >> Thanks in advance, >> Chris Verhoef >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys -- and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> This message has been scanned for viruses by MailController - >> www.MailController.altohiway.com >> > > > > > > http://www.altinity.com > T: +44 (0)870 787 9243 > F: +44 (0)845 280 1725 > Skype: tonvoon > > -- ---------------------------------------------------------- ing. C. Verhoef, System Specialist Royal Netherlands Meteorological Institute (KNMI) Dept. MI/AUT Unix-Servers (B1.17) P.O.Box 201, 3730AE De Bilt Email: chris.verhoef at knmi.nl Phone: +31 (0)30 2206453 Fax: +31 (0)30 2210407 ---------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaynard at outserv.net Wed Jul 19 17:05:22 2006 From: dmaynard at outserv.net (David Maynard) Date: Wed, 19 Jul 2006 10:05:22 -0500 Subject: host-notify-by-epager Message-ID: <79BDC98308803B4EAE3B3CCFDE67823EE005B5@ausexch1.outserv.net> Here are a couple of things to check. Does your Nagios server have a valid and matching forward and inverse DNS entries? Does it use that name in it's SMTP HELO greeting? Is the mail server on the monitoring system otherwise configured to "follow all of the rules" when it comes to SMTP? The pager (and SMS) email gateways have been adding anti-spam measures that can "catch" monitoring systems that aren't normally mail servers. The inverse DNS requirement affects several of the gateways, but I don't remember specifically about Metrocall. I would try checking the mail logs on the monitoring system for clues on why it isn't getting through. If you know enough about the SMTP protocol, telnetting to port 25 and entering the first few commands by hand will show any responses if the SMTP logs aren't detailed enough. (Someone should write an SMTP debugger script to help identify common issues.) This wouldn't be your problem, but for awhile the AT&T SMS gateway was blocking any messages that had URLs. The mail was accepted by their server, but just dumped into a black hole. As a workaround, we modified our notify script to strip the http: using awk. (Cingular has changed the gateway so I don't know if they still do it. I hope not, since I plan to replace my phone with a Windows Mobile unit and would sure like to use URLs from messages.) _____ From: Justin Craig [mailto:jrcraig.email at gmail.com] Sent: Wednesday, July 19, 2006 7:43 AM To: David Maynard; Nagios Users Mailinglist Subject: Re: [Nagios-users] host-notify-by-epager On 7/19/06, Justin Craig > wrote: I can send myself a test page from any email client via @page.metrocall.com . So it is working.... What's weird is I can relay off localhost (nagios) to my gmail.com email account. Why can't my nagios server send outside? I looked at the firewall and I see the source address coming into the inside interface, but it never leaves the outside interface, so I need to punch a whole for port 25. I'd rather not do that and just relay off our outbound mail server. Can anyone help me with that? Thanks, Justin On 7/18/06, David Maynard < dmaynard at outserv.net > wrote: Not to ask a dumb question, but are you sure the @ page.metrocall.com address is working? We had to reconfig our MetroCall pager notifications to use @ my2way.com awhile back becuase they broke the Metrocall address. FYI, I just received a notification that they are changing things again on the weekend of August 11th. They don't mention the metrocall address working, but the my2way.com is supposed to keep working. They are also adding one for the new USA Mobility moniker. _____ From: nagios-users-bounces at lists.sourceforge.net [mailto: nagios-users-bounces at lists.sourceforge.net] On Behalf Of Justin Craig Sent: Tuesday, July 18, 2006 11:23 AM To: Nagios Users Mailinglist Subject: [Nagios-users] host-notify-by-epager I have host-notify-by-epager working correctly with default commands in misccommands.cfg. host-notify-by-epager is not working, and looking in system logs I see notification attempts to my pager at XXXXXXXXXX at page.metrocall.com is timed out with mailmx.archwireless.net Jul 18 11:15:10 nagonet sendmail[11949]: k6IGDAil011947: to=< 5128750223 at page.metrocall.com>, ctladdr=< nagios at nagonet.cpa.state.tx.us > (501/501), delay=00:02:00, xdelay=00:02:00, mailer=esmtp, pri=120546, relay= mailmx.archwireless.net. [147.187.10.95 ], dsn=4.0.0, stat=Deferred: Connection timed out with mailmx.archwireless.net . I can resolve via my nagios host: [root at nagonet network]# nslookup > set type=mx > page.metrocall.com Server: 192.168.200.18 Address: 192.168.200.18#53 Non-authoritative answer: page.metrocall.com mail exchanger = 5 mailmx.archwireless.net . Authoritative answers can be found from: mailmx.archwireless.net internet address = 147.187.10.95 shouldn't this notification behave the same way as email. the only difference being that my email address I have in contacts.cfg is internal and this epager address is external. I'd like to use local host to send from or I'm also willing to tell localhost about our outside mailserver. Anyone have a quick and easy solution for me :) I'm it's something simple...... I'm just missing it. -- - Justin -- - Justin -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 cuall at gmx.de Wed Jul 19 17:34:37 2006 From: cuall at gmx.de (Denny Schierz) Date: Wed, 19 Jul 2006 17:34:37 +0200 Subject: nrpe: incorrect command line arguments supplied Message-ID: <1153323277.5156.32.camel@localhost.localdomain> hi, first: i have on all remote hosts the same nrpe version from plugin, daemon and with ssl. NRPE seems to be working, but something went wrong: Current Load UNKNOWN (No output returned from plugin) Root Partition UNKNOWN Incorrect command line arguments supplied my nagios minimal.cfg: ## space ## #mx02 space define service{ use generic-service ; Name of service template to use host_name mx02 service_description Root Partition is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_nrpe!check_disk -w 20 -c 10 -p /dev/sda1 } ## load ## # MX02 define service{ use generic-service ; Name of service template to use host_name mx02 service_description Current Load is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_nrpe!check_load -w 15,10,5 -c 30,25,20 } my nrpe config: command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_disk1]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/sda1 The plugins are on both systems the same. What is my mistake? cu denny -- Sicherheit verst?ndlich http://www.sides.de GnuPG Key http://pgpkeys.pca.dfn.de:11371/pks/lookup?op=get&search=0x2A5CE192AB7D3FE0 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Wed Jul 19 17:40:45 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 19 Jul 2006 11:40:45 -0400 Subject: nrpe: incorrect command line arguments supplied In-Reply-To: <1153323277.5156.32.camel@localhost.localdomain> References: <1153323277.5156.32.camel@localhost.localdomain> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Denny Schierz > Sent: Wednesday, July 19, 2006 8:35 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nrpe: incorrect command line > arguments supplied > > define service{ > use generic-service ; Name of service template to use > host_name mx02 > service_description Current Load > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_options w,u,c,r > notification_interval 960 > notification_period 24x7 > check_command check_nrpe!check_load -w 15,10,5 -c 30,25,20 > } > > my nrpe config: > > > command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c > 30,25,20 > The plugins are on both systems the same. What is my mistake? You're specifying the same arguments twice. Take them out of the service definition. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 19 17:44:13 2006 From: btmanmeh at verizon.net (Max H.) Date: Wed, 19 Jul 2006 11:44:13 -0400 Subject: nrpe: incorrect command line arguments supplied In-Reply-To: <1153323277.5156.32.camel@localhost.localdomain> References: <1153323277.5156.32.camel@localhost.localdomain> Message-ID: <44BE534D.9080609@verizon.net> Denny Schierz wrote: > hi, > > first: i have on all remote hosts the same nrpe version from plugin, > daemon and with ssl. > > NRPE seems to be working, but something went wrong: > > Current Load UNKNOWN (No output returned from plugin) > Root Partition UNKNOWN Incorrect command line arguments supplied > > > my nagios minimal.cfg: > > ## space ## > > > #mx02 space > > define service{ > use generic-service ; Name of service template to use > host_name mx02 > service_description Root Partition > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_options w,u,c,r > notification_interval 960 > notification_period 24x7 > check_command check_nrpe!check_disk -w 20 -c 10 -p /dev/sda1 > } > > > ## load ## > > # MX02 > > define service{ > use generic-service ; Name of service template to use > host_name mx02 > service_description Current Load > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_options w,u,c,r > notification_interval 960 > notification_period 24x7 > check_command check_nrpe!check_load -w 15,10,5 -c 30,25,20 > } > > my nrpe config: > > > command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c > 30,25,20 > > command[check_disk1]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10 > -p /dev/sda1 > > > The plugins are on both systems the same. What is my mistake? > Get rid of the arguments in your service containers: check_command check_nrpe!check_load (get rid of -w 15,10,5 -c )check_command check_nrpe!check_disk (get rid of -w 20 -c 10 -p /dev/sda1) The arguments you passed will get plugged in on the remote NRPE host that you are checking. Looks like your NRPE config is good. Try that. Max ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cuall at gmx.de Wed Jul 19 17:46:39 2006 From: cuall at gmx.de (Denny Schierz) Date: Wed, 19 Jul 2006 17:46:39 +0200 Subject: nrpe: incorrect command line arguments supplied In-Reply-To: <1153323277.5156.32.camel@localhost.localdomain> References: <1153323277.5156.32.camel@localhost.localdomain> Message-ID: <1153323999.5156.35.camel@localhost.localdomain> hi, Am Mittwoch, den 19.07.2006, 17:34 +0200 schrieb Denny Schierz: > check_command check_nrpe!check_disk -w 20 -c 10 -p /dev/sda1 > } here was my error. I had to remove the arguments from the line. Now it is working. I know that i can use args, if i compiled the option into nrpe :-) -- Sicherheit verst?ndlich http://www.sides.de GnuPG Key http://pgpkeys.pca.dfn.de:11371/pks/lookup?op=get&search=0x2A5CE192AB7D3FE0 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Wed Jul 19 17:53:04 2006 From: btmanmeh at verizon.net (Max H.) Date: Wed, 19 Jul 2006 11:53:04 -0400 Subject: nrpe: incorrect command line arguments supplied In-Reply-To: <1153323999.5156.35.camel@localhost.localdomain> References: <1153323277.5156.32.camel@localhost.localdomain> <1153323999.5156.35.camel@localhost.localdomain> Message-ID: <44BE5560.4070208@verizon.net> Denny Schierz wrote: > hi, > > Am Mittwoch, den 19.07.2006, 17:34 +0200 schrieb Denny Schierz: > > >> check_command check_nrpe!check_disk -w 20 -c 10 -p /dev/sda1 >> } > > > here was my error. I had to remove the arguments from the line. Now it > is working. I know that i can use args, if i compiled the option into > nrpe :-) The arguments get put into nrpe.conf on the remote host side, not on the Nagios check_nrpe side. Max ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 18:31:10 2006 From: marc at ena.com (Marc Powell) Date: Wed, 19 Jul 2006 11:31:10 -0500 Subject: check_http using a proxy Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Arenas Alvaro > Sent: Wednesday, July 19, 2006 4:01 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_http using a proxy > > Hi, > > I want to test the validate of a SSL certificate. I already know the > parameters I have to give to check_http to do this. However the nagios > machine is in a closed network and to access the machine with the > certificate a proxy must be used. > How can do this? check_http doesn give any option to specify a proxy, so > far I read. You can use check_http via proxy as below -- define command { command_name check_proxy command_line $USER1$/check_http -H www.mysite.foo $HOSTADDRESS$ -p 8080 -wt 20 -ct 30 -to 35 -u http://www.mysite.foo } Where $HOSTADDRESS$ is the IP of your proxy. However, it is my understanding that you can't check the validity of the Certificate because check_http doesn't implement the CONNECT protocol to tunnel the HTTPS connection to the other side. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravikmrs at yahoo.com Wed Jul 19 18:38:49 2006 From: ravikmrs at yahoo.com (Ravi Kumar) Date: Wed, 19 Jul 2006 09:38:49 -0700 (PDT) Subject: Ngaios 2.4 upgrade Message-ID: <20060719163849.65410.qmail@web53911.mail.yahoo.com> Does any one updated Nagios 2.4 on Linux platform? Any sugegstions are most welcome . thanks --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Wed Jul 19 18:41:29 2006 From: silencer at free-4ever.net (Guillaume) Date: Wed, 19 Jul 2006 18:41:29 +0200 Subject: Ngaios 2.4 upgrade In-Reply-To: <20060719163849.65410.qmail@web53911.mail.yahoo.com> References: <20060719163849.65410.qmail@web53911.mail.yahoo.com> Message-ID: <44BE60B9.1080700@free-4ever.net> Ravi Kumar a ?crit : > Does any one updated Nagios 2.4 on Linux platform? > Any sugegstions are most welcome . > thanks > > ------------------------------------------------------------------------ > Do you Yahoo!? > Everyone is raving about the all-new Yahoo! Mail Beta. > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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 1.x to Nagios 2.x ??? The most blocking thing is the contact group for a host.... It has been moved from the hostgroup to the host itself. i've done 3 migrations yesterday and today !! :-) Regards Guillaume -- Guillaume E-mail: silencer__free-4ever__net Blog: http://guillaume.free-4ever.net ---- Site: http://www.free-4ever.net ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 20:42:27 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 19 Jul 2006 11:42:27 -0700 Subject: Ngaios 2.4 upgrade In-Reply-To: <20060719163849.65410.qmail@web53911.mail.yahoo.com> References: <20060719163849.65410.qmail@web53911.mail.yahoo.com> Message-ID: <20060719184227.GL13226@hermes.americas.hpqcorp.net> On Wed, 19 Jul 2006, Ravi Kumar wrote: > Does any one updated Nagios 2.4 on Linux platform? > Any sugegstions are most welcome . > thanks Suggestion #1: Let us know what you're upgrading from, and read the "What's New" documentation. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cuall at gmx.de Wed Jul 19 22:34:08 2006 From: cuall at gmx.de (Denny Schierz) Date: Wed, 19 Jul 2006 22:34:08 +0200 Subject: Check_imap/pop with username login Message-ID: <44BE9740.8050208@gmx.de> hi, i have a mysql, cyrus, saslauthd setup. I know how to check mysql and cyrus (imap/pop), but how can i check, if the user can login? cu denny -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 254 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 19 23:14:44 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 19 Jul 2006 23:14:44 +0200 (CEST) Subject: Best Practise Suggestions In-Reply-To: References: Message-ID: On Wed, 19 Jul 2006, Robert Jackson wrote: > Our link to the outside world is a 2Mb leased line connected to a Cisco > 1600 > series router. This is a managed service by our ISP (therefore cannot > access > internal configuration via SNMP). The router is connected to 1 port of > our > internal firewall (the IP address of the firewall port is our external > IP address). > Another firewall port connects to our internal network and a third > connects > to our hosting network. How about polling an uplink router? I am used to poll the router on the other site of that link so you can pretty much tell wether or not you have a link. 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 23:32:44 2006 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 19 Jul 2006 22:32:44 +0100 Subject: Update of plugins In-Reply-To: <0CA4ED2DD473424883BF20CCD45C18A3E8E848@mtlexchange.Duocom.local> References: <0CA4ED2DD473424883BF20CCD45C18A3E8E848@mtlexchange.Duocom.local> Message-ID: On 19 Jul 2006, at 14:50, Antonio Pereira wrote: > I would like to know, Is the process for updating the plugins the > same as the initial install. I have the plugins already installed > and I would like to update them. Would be useful to know which versions you are updating from. It should just be a case of installing ontop of current plugins. However, make sure you read the CHANGES file as sometimes the syntax breaks between levels or behaviour may change. 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Wed Jul 19 23:52:25 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 19 Jul 2006 14:52:25 -0700 Subject: Check_imap/pop with username login In-Reply-To: <44BE9740.8050208@gmx.de> References: <44BE9740.8050208@gmx.de> Message-ID: <20060719215225.GQ13226@hermes.americas.hpqcorp.net> Denny Schierz schrieb am Wednesday, den 19. July 2006: > hi, > > i have a mysql, cyrus, saslauthd setup. I know how to check mysql and > cyrus (imap/pop), but how can i check, if the user can login? There are a few ways to handle this, but the quick-n-dirty one I'm using now for this is to run fetchmail against it and check the return code. -- Patrick Morris Snapfish/HP 303 Second Street Suite 500, South Tower San Francisco, CA 94107 (415) 979-3727 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cuall at gmx.de Thu Jul 20 00:08:32 2006 From: cuall at gmx.de (Denny Schierz) Date: Thu, 20 Jul 2006 00:08:32 +0200 Subject: Check_imap/pop with username login In-Reply-To: <20060719215225.GQ13226@hermes.americas.hpqcorp.net> References: <44BE9740.8050208@gmx.de> <20060719215225.GQ13226@hermes.americas.hpqcorp.net> Message-ID: <44BEAD60.1040007@gmx.de> hi, Patrick Morris schrieb: > There are a few ways to handle this, but the quick-n-dirty one I'm using > now for this is to run fetchmail against it and check the return code. i found a phyton script, that can do the job, but its the same like with mysql: the password is readable as process, so it can be a problem with local users. http://www.bertera.it/software/nagios/check_imap_login cu denny -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 254 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 jejs+lists at sahala.org Thu Jul 20 01:44:00 2006 From: jejs+lists at sahala.org (joshua sahala) Date: Wed, 19 Jul 2006 17:44:00 -0600 Subject: Best Practise Suggestions In-Reply-To: References: Message-ID: <20060719234400.GB4226@aurvandil.sahala.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On (2006-07-19 10:01), Robert Jackson wrote: > > I'm currently in the process of setting up Nagios 2.4 on RHEL4. > > I'm actually looking for some advice as to what monitoring to set-up for > the 'edge' of our network. check the archives for more suggestions (this question is asked periodically), but some of things that I use Nagios for on my network gear: availability - check-fast-alive (fping) cpu, memory - I am currently using the gwfl plugins (see nagiosexchange.org) interface throughput, errors - gwfl plugins The gwfl plugins also provide graphing capabilities. There are some other plugins listed on nagiosexchange.org that do the same thing. [cut topology overview] Start simple, and grow your monitoring based upon the needs of your business. Look through the available plugins at nagiosexchange to see what other people have done, and then use the ones that you like, modifying as necessary, and/or write your own (you know your network/systems best). /joshua - -- A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. - Douglas Adams - -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEvsPAJr8VjiIHVH0RAv9qAKDI9ghyYu87aZvYQ4RRpT1DGlvSrwCgkQCh wo/8R4PRqbEt9cR9LX5nr8o= =h2d/ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sbye at unifiedgroup.co.uk Thu Jul 20 10:55:29 2006 From: sbye at unifiedgroup.co.uk (Scott Bye) Date: Thu, 20 Jul 2006 09:55:29 +0100 Subject: Kernel Oops Problem... Message-ID: <44BF5569.0840.003F.0@unifiedgroup.co.uk> Hi all, I'm not entirely sure this is the fault of Nagios, but I've got a couple of identical machines here that are all exhibiting the same symptoms. The boxes have been running fine for about a month or so with various background tasks, services and quite a bit of code editing/compilation being performed. Then I loaded Nagios onto them, and ever since then I've been getting kernel oops's. I've run a memtest and that came out fine after 100 odd passes, and the operating temperatures seem fine too. As a test I built another one on a completely different distribution, which also exhibited the same symptoms. I get a couple of these a day on all the machines, unfortunately they seem to be random and infrequent... [42956502.420000] Unable to handle kernel NULL pointer dereference at virtual address 00000286 [42956502.430000] printing eip: [42956502.440000] f6800001 [42956502.450000] *pde = 00000000 [42956502.460000] Oops: 0000 [#1] [42956502.460000] Modules linked in: ipv6 pl2303 af_packet tsdev usbserial 8139cp 8139too mii hsfserial hsfengine hsfbasic2 hsfosspec pcspkr serio_raw psmouse ohci_hcd ehci_hcd usbcore evdev [42956502.460000] CPU: 0 [42956502.460000] EIP: 0060:[] Tainted: P VLI [42956502.460000] EFLAGS: 00010a07 (2.6.15.7-ubuntu1) [42956502.460000] EIP is at 0xf6800001 [42956502.460000] eax: c389c00a ebx: f6a2dd84 ecx: 00000286 edx: c18b7dc0 [42956502.460000] esi: f6a2dddc edi: f71d1200 ebp: 00000000 esp: f68cbf34 [42956502.460000] ds: 007b es: 007b ss: 0068 [42956502.460000] Process nagios (pid: 1841, threadinfo=f68ca000 task=f725d030) [42956502.460000] Stack: c014b785 f6a2dd84 f6a2dee4 f68cbf68 f6a2dd84 c014da68 f6a2dd84 f7fa2124 [42956502.460000] 00000000 00000000 f68cbf64 00000000 000010c9 c044d7c0 f71d1200 f725d030 [42956502.460000] 00000001 c0116cb6 f71d1200 f68ca000 c011b5a3 f71d1200 f725d030 b7ef2174 [42956502.460000] Call Trace: [42956502.460000] [] remove_vma+0x25/0x60 [42956502.460000] [] exit_mmap+0xc8/0xf0 [42956502.460000] [] mmput+0x26/0x70 [42956502.460000] [] do_exit+0xd3/0x370 [42956502.460000] [] do_group_exit+0x34/0x70 [42956502.460000] [] sysenter_past_esp+0x54/0x75 [42956502.460000] Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c0 <3b> 39 98 00 00 00 02 00 00 4d 3c 00 00 00 00 00 00 00 00 00 00 [42956502.460000] <1>Fixing recursive fault but reboot is needed! Regards, Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 edrandom at gmail.com Thu Jul 20 11:29:19 2006 From: edrandom at gmail.com (Ed Voncken) Date: Thu, 20 Jul 2006 11:29:19 +0200 Subject: Buggy Nagios 2.x performance data? In-Reply-To: References: Message-ID: <3c19a9930607200229s72c93d09o1750270e3fd29378@mail.gmail.com> Hi Hugo and other list members, Sorry for resurrecting this old thread, but I'm getting no responses from the NagiosExchange Forums for NagiosGrapher. On 4/7/06, Hugo van der Kooij wrote: > > > the performance data. But it seems I still have issues with performance > > data missing. I'm running into serious issues with missing data in the graphs. Our monitoring system is running Nagios 2.4.x on RHEL4, with NagiosGrapher 1.6-rc1. We're using the FIFO as well; all service checks are executed within 5 minutes intervals according to nagios process performance data. I've increased the heartbeat in NagiosGrapher from 600 to 900 (15 minutes), to no avail. Is there a way to determine where the problem is? I'd like to narrow it down a bit. -- Gxis! Ed. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 maca02 at atlas.cz Thu Jul 20 11:51:04 2006 From: maca02 at atlas.cz (Tomas Macek) Date: Thu, 20 Jul 2006 11:51:04 +0200 (CEST) Subject: Kernel Oops Problem... In-Reply-To: <44BF5569.0840.003F.0@unifiedgroup.co.uk> References: <44BF5569.0840.003F.0@unifiedgroup.co.uk> Message-ID: I think either it's not a bug in Nagios, because I think, that Nagios has nothing to do with kernel. You write, that you have identical machines, so it could be possible, that kernel failes on both machines. Did you try to update the kernel? Did you try to switch off all possible hardware? On Thu, 20 Jul 2006, Scott Bye wrote: > Hi all, > > I'm not entirely sure this is the fault of Nagios, but I've got a > couple of identical machines here that are all exhibiting the same > symptoms. The boxes have been running fine for about a month or so with > various background tasks, services and quite a bit of code > editing/compilation being performed. Then I loaded Nagios onto them, and > ever since then I've been getting kernel oops's. I've run a memtest and > that came out fine after 100 odd passes, and the operating temperatures > seem fine too. > > As a test I built another one on a completely different distribution, > which also exhibited the same symptoms. > > I get a couple of these a day on all the machines, unfortunately they > seem to be random and infrequent... > > [42956502.420000] Unable to handle kernel NULL pointer dereference at > virtual address 00000286 > [42956502.430000] printing eip: > [42956502.440000] f6800001 > [42956502.450000] *pde = 00000000 > [42956502.460000] Oops: 0000 [#1] > [42956502.460000] Modules linked in: ipv6 pl2303 af_packet tsdev > usbserial 8139cp 8139too mii hsfserial hsfengine hsfbasic2 hsfosspec > pcspkr serio_raw psmouse ohci_hcd ehci_hcd usbcore evdev > [42956502.460000] CPU: 0 > [42956502.460000] EIP: 0060:[] Tainted: P VLI > [42956502.460000] EFLAGS: 00010a07 (2.6.15.7-ubuntu1) > [42956502.460000] EIP is at 0xf6800001 > [42956502.460000] eax: c389c00a ebx: f6a2dd84 ecx: 00000286 edx: > c18b7dc0 > [42956502.460000] esi: f6a2dddc edi: f71d1200 ebp: 00000000 esp: > f68cbf34 > [42956502.460000] ds: 007b es: 007b ss: 0068 > [42956502.460000] Process nagios (pid: 1841, threadinfo=f68ca000 > task=f725d030) > [42956502.460000] Stack: c014b785 f6a2dd84 f6a2dee4 f68cbf68 f6a2dd84 > c014da68 f6a2dd84 f7fa2124 > [42956502.460000] 00000000 00000000 f68cbf64 00000000 000010c9 > c044d7c0 f71d1200 f725d030 > [42956502.460000] 00000001 c0116cb6 f71d1200 f68ca000 c011b5a3 > f71d1200 f725d030 b7ef2174 > [42956502.460000] Call Trace: > [42956502.460000] [] remove_vma+0x25/0x60 > [42956502.460000] [] exit_mmap+0xc8/0xf0 > [42956502.460000] [] mmput+0x26/0x70 > [42956502.460000] [] do_exit+0xd3/0x370 > [42956502.460000] [] do_group_exit+0x34/0x70 > [42956502.460000] [] sysenter_past_esp+0x54/0x75 > [42956502.460000] Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 c0 <3b> 39 98 00 00 00 02 00 00 4d 3c 00 00 00 00 00 00 00 00 00 > 00 > [42956502.460000] <1>Fixing recursive fault but reboot is needed! > > Regards, > > Scott > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sbye at unifiedgroup.co.uk Thu Jul 20 12:26:01 2006 From: sbye at unifiedgroup.co.uk (Scott Bye) Date: Thu, 20 Jul 2006 11:26:01 +0100 Subject: Kernel Oops Problem... In-Reply-To: References: <44BF5569.0840.003F.0@unifiedgroup.co.uk> Message-ID: <44BF6AA2.0840.003F.0@unifiedgroup.co.uk> Hi, I just found it odd that it was only happening after Nagios was installed and running. The box is already stripped of all non-essential hardware - but that was all up and running fine prior to the Nagios process being started. I've tried different kernel versions, different kernel configurations, different distributions thus different patch sets all with the same results. I'll probably leave the box up over the weekend without Nagios running to see if the Oops's stop, and use something to ensure a decent cpu load. Regards, Scott >>> Tomas Macek 20/07/2006 10:51 >>> I think either it's not a bug in Nagios, because I think, that Nagios has nothing to do with kernel. You write, that you have identical machines, so it could be possible, that kernel failes on both machines. Did you try to update the kernel? Did you try to switch off all possible hardware? On Thu, 20 Jul 2006, Scott Bye wrote: > Hi all, > > I'm not entirely sure this is the fault of Nagios, but I've got a > couple of identical machines here that are all exhibiting the same > symptoms. The boxes have been running fine for about a month or so with > various background tasks, services and quite a bit of code > editing/compilation being performed. Then I loaded Nagios onto them, and > ever since then I've been getting kernel oops's. I've run a memtest and > that came out fine after 100 odd passes, and the operating temperatures > seem fine too. > > As a test I built another one on a completely different distribution, > which also exhibited the same symptoms. > > I get a couple of these a day on all the machines, unfortunately they > seem to be random and infrequent... > > [42956502.420000] Unable to handle kernel NULL pointer dereference at > virtual address 00000286 > [42956502.430000] printing eip: > [42956502.440000] f6800001 > [42956502.450000] *pde = 00000000 > [42956502.460000] Oops: 0000 [#1] > [42956502.460000] Modules linked in: ipv6 pl2303 af_packet tsdev > usbserial 8139cp 8139too mii hsfserial hsfengine hsfbasic2 hsfosspec > pcspkr serio_raw psmouse ohci_hcd ehci_hcd usbcore evdev > [42956502.460000] CPU: 0 > [42956502.460000] EIP: 0060:[] Tainted: P VLI > [42956502.460000] EFLAGS: 00010a07 (2.6.15.7-ubuntu1) > [42956502.460000] EIP is at 0xf6800001 > [42956502.460000] eax: c389c00a ebx: f6a2dd84 ecx: 00000286 edx: > c18b7dc0 > [42956502.460000] esi: f6a2dddc edi: f71d1200 ebp: 00000000 esp: > f68cbf34 > [42956502.460000] ds: 007b es: 007b ss: 0068 > [42956502.460000] Process nagios (pid: 1841, threadinfo=f68ca000 > task=f725d030) > [42956502.460000] Stack: c014b785 f6a2dd84 f6a2dee4 f68cbf68 f6a2dd84 > c014da68 f6a2dd84 f7fa2124 > [42956502.460000] 00000000 00000000 f68cbf64 00000000 000010c9 > c044d7c0 f71d1200 f725d030 > [42956502.460000] 00000001 c0116cb6 f71d1200 f68ca000 c011b5a3 > f71d1200 f725d030 b7ef2174 > [42956502.460000] Call Trace: > [42956502.460000] [] remove_vma+0x25/0x60 > [42956502.460000] [] exit_mmap+0xc8/0xf0 > [42956502.460000] [] mmput+0x26/0x70 > [42956502.460000] [] do_exit+0xd3/0x370 > [42956502.460000] [] do_group_exit+0x34/0x70 > [42956502.460000] [] sysenter_past_esp+0x54/0x75 > [42956502.460000] Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 > 00 00 c0 <3b> 39 98 00 00 00 02 00 00 4d 3c 00 00 00 00 00 00 00 00 00 > 00 > [42956502.460000] <1>Fixing recursive fault but reboot is needed! > > Regards, > > Scott > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 sbye at unifiedgroup.co.uk Thu Jul 20 12:41:32 2006 From: sbye at unifiedgroup.co.uk (Scott Bye) Date: Thu, 20 Jul 2006 11:41:32 +0100 Subject: Kernel Oops Problem... In-Reply-To: <20060720103843.GL589@tufnell.london.poggs.net> References: <44BF5569.0840.003F.0@unifiedgroup.co.uk> <44BF6AA2.0840.003F.0@unifiedgroup.co.uk> <20060720103843.GL589@tufnell.london.poggs.net> Message-ID: <44BF6E45.0840.003F.0@unifiedgroup.co.uk> Hi, Any recommendations for a good method for doing this would be appreciated :) Regards, Scott >>> Peter Hicks 20/07/2006 11:38 >>> On Thu, Jul 20, 2006 at 11:26:01AM +0100, Scott Bye wrote: > I'll probably leave the box up over the weekend without Nagios running to > see if the Oops's stop, and use something to ensure a decent cpu load. ...and make sure it uses your swap space too. Peter. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 bt_karthik at yahoo.com Thu Jul 20 14:50:01 2006 From: bt_karthik at yahoo.com (karthik arya) Date: Thu, 20 Jul 2006 05:50:01 -0700 (PDT) Subject: how do i monitor snmp Message-ID: <20060720125001.84076.qmail@web38908.mail.mud.yahoo.com> hey i have installed nagios2.4 on fedora 3. i just have to services being monitored at the moment. I want to monitor SNMP installed on my system and few others in my network. i tried making changes to the configuration file services.cfg, tried adding the line: check_command check_snmp. But i'm getting the error:Error: Service check command 'check_snmp' specified in service 'SNMP' for host 'example.com' not defined anywhere! Obviously i'm missing something. any help???? regards ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 14:59:24 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 20 Jul 2006 14:59:24 +0200 Subject: how do i monitor snmp In-Reply-To: <20060720125001.84076.qmail@web38908.mail.mud.yahoo.com> References: <20060720125001.84076.qmail@web38908.mail.mud.yahoo.com> Message-ID: <0F179107-8E04-41ED-BF54-A3A859B7CF44@kilala.nl> On 20 Jul, 2006, at 14:50, karthik arya wrote: > hey > > But i'm getting the error:Error: Service check command 'check_snmp' > specified in service 'SNMP' for host 'example.com' not defined > anywhere! > Obviously i'm missing something. Yes... This problem seems to be very common and I guess this is something Ethan should get fixed... Some way... The problem is that you didn't read the manual. I'm just not sure how Ethan (or anyone else writing patches) can fixed this. *ponders deeply* The real problems are many: 1. You are using exemplary files without changing them. Honestly... "example.com"? 2. The file checkcommands.cfg does not contain a definition for the "check_snmp" command. You should add one :) Cheers, Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 15:03:51 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 20 Jul 2006 09:03:51 -0400 Subject: how do i monitor snmp In-Reply-To: <20060720125001.84076.qmail@web38908.mail.mud.yahoo.com> References: <20060720125001.84076.qmail@web38908.mail.mud.yahoo.com> Message-ID: <44BF7F37.2070208@verizon.net> karthik arya wrote: > hey > > i have installed nagios2.4 on fedora 3. i just have to services being monitored at the moment. I want to monitor SNMP installed on my system and few others in my network. i tried making changes to the configuration file services.cfg, tried adding the line: check_command check_snmp. > > But i'm getting the error:Error: Service check command 'check_snmp' specified in service 'SNMP' for host 'example.com' not defined anywhere! > Obviously i'm missing something. > > any help???? > Well, you need to specify more than just check_snmp. You need to specify what across SNMP you're wanting to check. [root at nagios plugins]# ./check_snmp --help check_snmp: Could not parse arguments Usage: check_snmp -H -o [-w warn_range] [-c crit_range] [-C community] [-s string] [-r regex] [-R regexi] [-t timeout] [-e retries] [-l label] [-u units] [-p port-number] [-d delimiter] [-D output-delimiter] [-m miblist] [-P snmp version] [-L seclevel] [-U secname] [-a authproto] [-A authpasswd] [-X privpasswd] For example: I'm checking a temperature probe across SNMP on a device. I specify the check command in checkcommands.cfg. # 'snmp_temp' Custom temperature check of Huntingdon Machine Room define command{ command_name snmp_temp command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C public -o ALERT-MIB::ssVarReading.0 -w $ARG1$ -c $ARG2$ -u 'F' -l 'Temperature' } -o is pointing to the specific MIB arguments. Now, my service would look something like this: define service{ use basic-service name snmp-temp check_command snmp_temp!82!85 service_description TEMP host_name monitor1 service_description TEMP notification_interval 0 notification_options c,r notification_period 24x7 check_command snmp_temp register 0 } Start reading the docs too. SNMP is hard to catch on to at first, but once you get good at it, you'll be fine and this will all make more sense. :) Max ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From verhoefc at knmi.nl Thu Jul 20 14:57:19 2006 From: verhoefc at knmi.nl (Chris Verhoef) Date: Thu, 20 Jul 2006 14:57:19 +0200 Subject: how do i monitor snmp In-Reply-To: <20060720125001.84076.qmail@web38908.mail.mud.yahoo.com> References: <20060720125001.84076.qmail@web38908.mail.mud.yahoo.com> Message-ID: <44BF7DAF.5060100@knmi.nl> Hi, I think you should at the command within the checkcommands.cfg. Best regards, Chris Verhoef karthik arya wrote: > hey > > i have installed nagios2.4 on fedora 3. i just have to services being monitored at the moment. I want to monitor SNMP installed on my system and few others in my network. i tried making changes to the configuration file services.cfg, tried adding the line: check_command check_snmp. > > But i'm getting the error:Error: Service check command 'check_snmp' specified in service 'SNMP' for host 'example.com' not defined anywhere! > Obviously i'm missing something. > > any help???? > > > > regards > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ---------------------------------------------------------- ing. C. Verhoef, System Specialist Royal Netherlands Meteorological Institute (KNMI) Dept. MI/AUT Unix-Servers (B1.17) P.O.Box 201, 3730AE De Bilt Email: chris.verhoef at knmi.nl Phone: +31 (0)30 2206453 Fax: +31 (0)30 2210407 ---------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 15:05:10 2006 From: silencer at free-4ever.net (Guillaume) Date: Thu, 20 Jul 2006 15:05:10 +0200 Subject: how do i monitor snmp In-Reply-To: <0F179107-8E04-41ED-BF54-A3A859B7CF44@kilala.nl> References: <20060720125001.84076.qmail@web38908.mail.mud.yahoo.com> <0F179107-8E04-41ED-BF54-A3A859B7CF44@kilala.nl> Message-ID: <44BF7F86.5090806@free-4ever.net> Thomas Sluyter a ?crit : > On 20 Jul, 2006, at 14:50, karthik arya wrote: > >> hey >> >> But i'm getting the error:Error: Service check command 'check_snmp' >> specified in service 'SNMP' for host 'example.com' not defined >> anywhere! >> Obviously i'm missing something. > > Yes... This problem seems to be very common and I guess this is > something Ethan should get fixed... Some way... > > The problem is that you didn't read the manual. > > I'm just not sure how Ethan (or anyone else writing patches) can > fixed this. *ponders deeply* > > The real problems are many: > 1. You are using exemplary files without changing them. Honestly... > "example.com"? > 2. The file checkcommands.cfg does not contain a definition for the > "check_snmp" command. You should add one :) > > Cheers, > > > Thomas > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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, We need a new patch something like "reading_documentations.patch" !! ;-) LOL But anyway, we need this one for other software than Nagios.... The problem is to apply to patch on all users !!! LOL Guillaume -- Guillaume E-mail: silencer__free-4ever__net Blog: http://guillaume.free-4ever.net ---- Site: http://www.free-4ever.net ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 15:25:36 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 20 Jul 2006 15:25:36 +0200 Subject: how do i monitor snmp In-Reply-To: <44BF7F86.5090806@free-4ever.net> References: <20060720125001.84076.qmail@web38908.mail.mud.yahoo.com> <0F179107-8E04-41ED-BF54-A3A859B7CF44@kilala.nl> <44BF7F86.5090806@free-4ever.net> Message-ID: <06B71566-0AD4-46AC-9B6B-59E110986DEA@kilala.nl> On 20 Jul, 2006, at 15:05, Guillaume wrote: > Thomas Sluyter a ?crit : >> >> The problem is that you didn't read the manual. >> >> I'm just not sure how Ethan (or anyone else writing patches) can >> fixed this. *ponders deeply* > > We need a new patch something like > "reading_documentations.patch" !! ;-) > But anyway, we need this one for other software than Nagios.... > > The problem is to apply to patch on all users !!! LOL We could make this a lot easier by making our users centrally manageable. We -could- install CFEngine or Webmin on them... Then rolling out patches would be a breeze! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 15:29:02 2006 From: silencer at free-4ever.net (Guillaume) Date: Thu, 20 Jul 2006 15:29:02 +0200 Subject: how do i monitor snmp In-Reply-To: <06B71566-0AD4-46AC-9B6B-59E110986DEA@kilala.nl> References: <20060720125001.84076.qmail@web38908.mail.mud.yahoo.com> <0F179107-8E04-41ED-BF54-A3A859B7CF44@kilala.nl> <44BF7F86.5090806@free-4ever.net> <06B71566-0AD4-46AC-9B6B-59E110986DEA@kilala.nl> Message-ID: <44BF851E.3010208@free-4ever.net> Thomas Sluyter a ?crit : > On 20 Jul, 2006, at 15:05, Guillaume wrote: > >> Thomas Sluyter a ?crit : >>> The problem is that you didn't read the manual. >>> >>> I'm just not sure how Ethan (or anyone else writing patches) can >>> fixed this. *ponders deeply* >> We need a new patch something like >> "reading_documentations.patch" !! ;-) >> But anyway, we need this one for other software than Nagios.... >> >> The problem is to apply to patch on all users !!! LOL > > We could make this a lot easier by making our users centrally > manageable. We -could- install CFEngine or Webmin on them... Then > rolling out patches would be a breeze! > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 vote for CFengine !!! :-) I can't remember how it works.... we need to copy sshkey on all users ??? ;-) LOL -- Guillaume E-mail: silencer__free-4ever__net Blog: http://guillaume.free-4ever.net ---- Site: http://www.free-4ever.net ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at Kognitio.com Thu Jul 20 15:28:29 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Thu, 20 Jul 2006 14:28:29 +0100 Subject: Notifications and acknowledgements Message-ID: Hi, I'm running Suse 9.1 with Nagios 2.0b4 I have a service alerting as Critical which I then acknowledged. Notifications were then supressed. However, I had to restart Nagios sometime later after adding some further services/hosts and it seems that the acknowledgement still remains across the restart but the notifications have started again. Is this expected behaviour ? I've trawled through the docs and archives but cannot find a definitive answer so any advice would be appreciated. thanks, deborah ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 15:40:45 2006 From: silencer at free-4ever.net (Guillaume) Date: Thu, 20 Jul 2006 15:40:45 +0200 Subject: Notifications and acknowledgements In-Reply-To: References: Message-ID: <44BF87DD.8000309@free-4ever.net> Deborah Martin a ?crit : > Hi, > > I'm running Suse 9.1 with Nagios 2.0b4 > > I have a service alerting as Critical which I then acknowledged. > Notifications were then supressed. > However, I had to restart Nagios sometime later after adding some further > services/hosts and it seems that the acknowledgement still remains across > the restart but the notifications have started again. > > Is this expected behaviour ? I've trawled through the docs and archives but > cannot find a definitive > answer so any advice would be appreciated. > > thanks, > deborah > > ************************************************************************ > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. Any unauthorised distribution or copying is strictly > prohibited. > > Whilst Kognitio Limited takes steps to prevent the transmission of > viruses via e-mail, we can not guarantee that any email or > attachment is free from computer viruses and you are strongly > advised to undertake your own anti-virus precautions. > > Kognitio grants no warranties regarding performance, > use or quality of any e-mail or attachment and undertakes no > liability for loss or damage, howsoever caused. > *********************************************************************** > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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, It depends if you retain state and non state informations If I remember, you can check the comment still on the service but not the acknolegment, so the notification restart. About what I've just said, I'm tolking about Nagios generally, not especially about 2.0b4 ! Regards Guillaume -- Guillaume E-mail: silencer__free-4ever__net Blog: http://guillaume.free-4ever.net ---- Site: http://www.free-4ever.net ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 20 19:02:24 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Thu, 20 Jul 2006 10:02:24 -0700 (PDT) Subject: Sugguestion/Question? Re: Notifications and acknowledgements In-Reply-To: References: Message-ID: <20060720170224.59222.qmail@web60519.mail.yahoo.com> Dear All, I am a newbie with Nagios but long time user of Enterprise Management (CA Unicenter in particular)... Here is my suggestion (not sure If i implemented correctly...) or it has been designed this way. Suppose I am monitoring a Server.... which I am trying to monitoring the following: Ping, disk space, Load....... And i set the threshold for my disk space.. and the disk space exceeds my critical threshold; therefore, the status for my Disk Space Watcher is Red (Critical)... According to what i see right now.. the status for the whole server is GREEN.. I am not sure it is supposed to be green? Isn't it supposed to be RED.... because of the propagation from a child level? Hope my explanation is clear enough. Best regards, Tom Tran EESImed. Deborah Martin wrote: Hi, I'm running Suse 9.1 with Nagios 2.0b4 I have a service alerting as Critical which I then acknowledged. Notifications were then supressed. However, I had to restart Nagios sometime later after adding some further services/hosts and it seems that the acknowledgement still remains across the restart but the notifications have started again. Is this expected behaviour ? I've trawled through the docs and archives but cannot find a definitive answer so any advice would be appreciated. thanks, deborah ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 rwilcox at mobitrac.com Thu Jul 20 19:11:47 2006 From: rwilcox at mobitrac.com (Ryan Wilcox) Date: Thu, 20 Jul 2006 12:11:47 -0500 Subject: using 'check_log ' to find and not find Message-ID: i have been looking around a bit, but haven't found anything. anyone know if there is a version of check_log floating around that will allow me to do a find and a not find? for example: grep "\[\s*ERROR\s*\]\s" | grep -v "test" foo.log where i use check_log to find log entries with "[ERROR]" but ignore log entries that have "[ERROR]" and "test" together in the same log entry. i realize this is a hack... the real fix here is to change our application logging. i don't have that luxury at this point unfortunately. thanks in advance for any thoughts/ideas. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 19:21:08 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Thu, 20 Jul 2006 18:21:08 +0100 Subject: Scheduling Downtime Not Authorized? Message-ID: <44BFBB84.201@gmail.com> I'm really pleased with my nagios 1.4.1 installation so far, I have it monitoring loads of servers, but now I feel like expanding beyond the basics and am trying to schedule downtime for a couple of hosts since they are down and will be for some time. However I get the following error: Sorry, but you are not authorized to commit the specified command. Read the section of the documentation that deals with authentication and authorization in the CGIs for more information. I'm logged in as nagiosadmin and have the following lines in nagios.cfg check_external_commands=1 command_check_interval=-1 command_file=/var/nagios/rw/nagios.cmd ll /var/nagios/rw/nagios.cmd prw-rw---- 1 nagios apache 0 Jul 20 18:12 /var/nagios/rw/nagios.cmd| In cgi.cfg I have: use_authentication=1 authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin I restarted nagios with those settings but it still won't let me schedule downtime. Does anybody know why? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 19:29:34 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Thu, 20 Jul 2006 18:29:34 +0100 Subject: nagios using wrong ip for host? Message-ID: <44BFBD7E.2030309@gmail.com> My nagios server is telling me that a host is down despite also saying that a service on that host is up !!!!!! MyServer Oracle OK 20-07-2006 18:23:52 0d 0h 48m 44s 1/3 OK - dummy login connected SSH CRITICAL 20-07-2006 18:22:26 0d 1h 28m 30s 3/3 No route to host Looking at the host status is says MyServer DOWN 20-07-2006 18:25:19 0d 1h 30m 54s CRITICAL - Host Unreachable (192.168.1.29) but the ip address for the server is 192.168.1.43, why is it using the wrong address????????? We just had a blown fuse and lost a bunch of servers earlier but everything has been back and working for over and hour now, why the heck it is using the wrong ip and how do I get it to use the right one? I've already rebooted it several times... Also, how come one check works, it must be going to the right place since there is no .29 host, but the other check must be using the wrong address because the service is up and I can log in via SSH on that machine. Very Strange. -h ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 20 19:31:22 2006 From: frcaen at gmail.com (Francois Caen) Date: Thu, 20 Jul 2006 10:31:22 -0700 Subject: Nagios training Message-ID: <58cfe2840607201031l7097a8cbu6bd2e81de1d7698d@mail.gmail.com> Hello, Does anyone know of any company in North America that offers training for Nagios and/or other OSS network management tools? Thank you? -- Francois Caen, RHCE, CCNA ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 19:33:07 2006 From: nagios at kilala.nl (Thomas Slutyer) Date: Thu, 20 Jul 2006 19:33:07 +0200 Subject: using 'check_log ' to find and not find In-Reply-To: References: Message-ID: <76bf2dd8f70be95f378826dc64b00a75@kilala.nl> On 20 Jul, 2006, at 19:11, Ryan Wilcox wrote: > i have been looking around a bit, but haven't found anything. anyone > know if there is a version of check_log floating around that will allow > me to do a find and a not find? > I don't think there is one, no. But it would be trivial to implement... Only a few hours work... Check_log2 and check_log3 took about the same amount of effort... Cheers! Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 20 20:07:17 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Thu, 20 Jul 2006 13:07:17 -0500 (CDT) Subject: nagios using wrong ip for host? In-Reply-To: <44BFBD7E.2030309@gmail.com> References: <44BFBD7E.2030309@gmail.com> Message-ID: <20060720180717.B87BF38029@chuys.eng.intrinsity.com> Hari Sekhon said... |My nagios server is telling me that a host is down despite also saying |that a service on that host is up !!!!!! | |MyServer Oracle OK 20-07-2006 18:23:52 0d 0h 48m 44s | 1/3 OK - dummy login connected | | SSH CRITICAL 20-07-2006 18:22:26 0d 1h |28m 30s 3/3 No route to host | |Looking at the host status is says | |MyServer DOWN 20-07-2006 18:25:19 0d 1h 30m 54s CRITICAL |- Host Unreachable (192.168.1.29) | |but the ip address for the server is 192.168.1.43, why is it using the |wrong address????????? First off, did you grep for the offending address in the configs? Most likely something is hosed in the status file. When I've had massively weird stuff like this, I stoped nagios, deleted the offending line (in this case the one with the bad IP) from the status.sav file, and restarted nagios. -Miles ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Thu Jul 20 20:08:38 2006 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Thu, 20 Jul 2006 20:08:38 +0200 Subject: using 'check_log ' to find and not find In-Reply-To: <76bf2dd8f70be95f378826dc64b00a75@kilala.nl> References: <76bf2dd8f70be95f378826dc64b00a75@kilala.nl> Message-ID: <008101c6ac27$862261a0$a601000a@int.consol.de> Hi Thomas, i am the author of http://sourceforge.net/projects/check-logfiles The NOT-matching is on the todo list. If you can wait, there will be a new release during the next week. Greetings from melting Munich, Gerhard > -----Urspr?ngliche Nachricht----- > Von: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Im > Auftrag von Thomas Slutyer > Gesendet: Donnerstag, 20. Juli 2006 19:33 > An: > > Betreff: Re: [Nagios-users] using 'check_log ' to find and not find > > On 20 Jul, 2006, at 19:11, Ryan Wilcox wrote: > > > i have been looking around a bit, but haven't found > anything. anyone > > know if there is a version of check_log floating around that will > > allow me to do a find and a not find? > > > I don't think there is one, no. But it would be trivial to > implement... > Only a few hours work... Check_log2 and check_log3 took about > the same amount of effort... > > Cheers! > > > Thomas > > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to > share your opinions on IT & business topics through brief > surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge > &CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 20 19:53:43 2006 From: rjenkins at dibr.net (Ron Jenkins) Date: Thu, 20 Jul 2006 12:53:43 -0500 Subject: ERROR: Description table : Requested table is empty or does not exist. Message-ID: Has anyone send this error when using polling a Windows 2000 server's SNMP for CPU load and diskspace? 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Thu Jul 20 22:02:12 2006 From: yjamous at gmail.com (Yousef Jamous) Date: Thu, 20 Jul 2006 22:02:12 +0200 (CEST) Subject: Monitoriy RS6000 Servers and Windows Message-ID: <20060720200212.A06A94F4045@desire.netways.de> Dear All I'm running Nagios 1.4 on AIX 5.3 I'm trying to Monitor RS/6000 Servers and Windows 2003 servers. I want to monitory the following: 1) CPU Utilization for both RS/6000 and Windows Servers. So, what is the OID for each of them. 2) Memory Utilization for both. 3) For Windows server, I want to monitor the creation of a certain file. Creation of this file would indicate a problem to me. (example: Creation of any file with extension .dmp should be attended). So, can someone help me in answering these issues - Yousef Jamous (yjamous) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 23:08:18 2006 From: teng at dataway.com (Tedman Eng) Date: Thu, 20 Jul 2006 14:08:18 -0700 Subject: Sugguestion/Question? Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E45@dw-mail.dataway.com> First off, please do not REPLY to a message if you're not replying to that message. Post a NEW message. Secondly, Nagios' design separates Hosts from Services. Nagios does not actively monitor hosts. Yes, it checks hosts, but it does not monitor them. What's the difference? Think of hosts as points or intersections along a road, services as being houses along the side of these roads. Nagios only monitors houses (services). If for some reason it cannot reach a house, it checks to see if there is a problem in the road (host) preventing it from getting to the house (service), and reports these findings to you. If you want Nagios to work like CA's product, that can be done as well, but you'll lose ther ability to determine where along the roadway is the problem. To do this, use check_cluster for your check-host-alive. -----Original Message----- From: Tom Tran [mailto:thoanluutran at yahoo.com] Sent: Thursday, July 20, 2006 10:02 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Sugguestion/Question? Re: Notifications and acknowledgements Dear All, I am a newbie with Nagios but long time user of Enterprise Management (CA Unicenter in particular)... Here is my suggestion (not sure If i implemented correctly...) or it has been designed this way. Suppose I am monitoring a Server.... which I am trying to monitoring the following: Ping, disk space, Load....... And i set the threshold for my disk space.. and the disk space exceeds my critical threshold; therefore, the status for my Disk Space Watcher is Red (Critical)... According to what i see right now.. the status for the whole server is GREEN.. I am not sure it is supposed to be green? Isn't it supposed to be RED.... because of the propagation from a child level? Hope my explanation is clear enough. Best regards, Tom Tran EESImed. Deborah Martin wrote: Hi, I'm running Suse 9.1 with Nagios 2.0b4 I have a service alerting as Critical which I then acknowledged. Notifications were then supressed. However, I had to restart Nagios sometime later after adding some further services/hosts and it seems that the acknowledgement still remains across the restart but the notifications have started again. Is this expected behaviour ? I've trawled through the docs and archives but cannot find a definitive answer so any advice would be appreciated. thanks, deborah ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 dveldhuisen at bartlesville.oilfield.slb.com Thu Jul 20 19:48:11 2006 From: dveldhuisen at bartlesville.oilfield.slb.com (Doug Veldhuisen) Date: Thu, 20 Jul 2006 12:48:11 -0500 Subject: Nagios training In-Reply-To: <58cfe2840607201031l7097a8cbu6bd2e81de1d7698d@mail.gmail.co m> References: <58cfe2840607201031l7097a8cbu6bd2e81de1d7698d@mail.gmail.com> <58cfe2840607201031l7097a8cbu6bd2e81de1d7698d@mail.gmail.co m> Message-ID: <7.0.1.0.2.20060720124741.0354d298@bartlesville.oilfield.slb.com> On Nagios web site; try following link: http://www.nagios.org/support/commercial/ Doug Veldhuisen At 12:31 PM 7/20/2006, Francois Caen wrote: >Hello, > >Does anyone know of any company in North America that offers training >for Nagios and/or other OSS network management tools? > >Thank you? > >-- >Francois Caen, RHCE, CCNA > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Fri Jul 21 01:09:08 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 20 Jul 2006 19:09:08 -0400 Subject: nagios using wrong ip for host? In-Reply-To: <44BFBD7E.2030309@gmail.com> References: <44BFBD7E.2030309@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 Hari Sekhon > Sent: Thursday, July 20, 2006 10:30 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios using wrong ip for host? > > My nagios server is telling me that a host is down despite > also saying that a service on that host is up !!!!!! > > MyServer Oracle OK 20-07-2006 18:23:52 0d > 0h 48m 44s > 1/3 OK - dummy login connected > > SSH CRITICAL 20-07-2006 18:22:26 0d 1h > 28m 30s 3/3 No route to host > > Looking at the host status is says > > MyServer DOWN 20-07-2006 18:25:19 0d 1h 30m 54s > CRITICAL > - Host Unreachable (192.168.1.29) > > but the ip address for the server is 192.168.1.43, why is it > using the wrong address????????? Your Oracle check is probably using an address from a tnsnames.ora file, which is apparently correct. Either your DNS, or the address in your Nagios config, is probably not, causing the other checks to fail. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 01:10:08 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 20 Jul 2006 19:10:08 -0400 Subject: ERROR: Description table : Requested table is emptyor does not exist. 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 Ron Jenkins > Sent: Thursday, July 20, 2006 10:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] ERROR: Description table : Requested > table is emptyor does not exist. > > Has anyone send this error when using polling a Windows 2000 > server's SNMP for CPU load and diskspace? That error means you're using the incorrect OID. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 01:11:46 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 20 Jul 2006 19:11:46 -0400 Subject: Sugguestion/Question? Re: Notifications andacknowledgements In-Reply-To: <20060720170224.59222.qmail@web60519.mail.yahoo.com> References: <20060720170224.59222.qmail@web60519.mail.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Tom Tran > Sent: Thursday, July 20, 2006 10:02 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Sugguestion/Question? Re: > Notifications andacknowledgements > > Suppose I am monitoring a Server.... which I am trying to > monitoring the following: > Ping, disk space, Load....... > > And i set the threshold for my disk space.. and the disk > space exceeds my critical threshold; therefore, the status > for my Disk Space Watcher is Red (Critical)... > > According to what i see right now.. the status for the whole > server is GREEN.. I am not sure it is supposed to be green? > Isn't it supposed to be RED.... because of the propagation > from a child level? No, that is incorrect. Read the Nagios docs for an understanding of the difference between host and service checks. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Deborah.Martin at Kognitio.com Fri Jul 21 09:46:09 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Fri, 21 Jul 2006 08:46:09 +0100 Subject: Sugguestion/Question? Message-ID: i think my post has gotten mixed up with this one! -----Original Message----- From: Tedman Eng [mailto:teng at dataway.com] Sent: 20 July 2006 22:08 To: 'Tom Tran'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sugguestion/Question? First off, please do not REPLY to a message if you're not replying to that message. Post a NEW message. Secondly, Nagios' design separates Hosts from Services. Nagios does not actively monitor hosts. Yes, it checks hosts, but it does not monitor them. What's the difference? Think of hosts as points or intersections along a road, services as being houses along the side of these roads. Nagios only monitors houses (services). If for some reason it cannot reach a house, it checks to see if there is a problem in the road (host) preventing it from getting to the house (service), and reports these findings to you. If you want Nagios to work like CA's product, that can be done as well, but you'll lose ther ability to determine where along the roadway is the problem. To do this, use check_cluster for your check-host-alive. -----Original Message----- From: Tom Tran [mailto:thoanluutran at yahoo.com] Sent: Thursday, July 20, 2006 10:02 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Sugguestion/Question? Re: Notifications and acknowledgements Dear All, I am a newbie with Nagios but long time user of Enterprise Management (CA Unicenter in particular)... Here is my suggestion (not sure If i implemented correctly...) or it has been designed this way. Suppose I am monitoring a Server.... which I am trying to monitoring the following: Ping, disk space, Load....... And i set the threshold for my disk space.. and the disk space exceeds my critical threshold; therefore, the status for my Disk Space Watcher is Red (Critical)... According to what i see right now.. the status for the whole server is GREEN.. I am not sure it is supposed to be green? Isn't it supposed to be RED.... because of the propagation from a child level? Hope my explanation is clear enough. Best regards, Tom Tran EESImed. Deborah Martin wrote: Hi, I'm running Suse 9.1 with Nagios 2.0b4 I have a service alerting as Critical which I then acknowledged. Notifications were then supressed. However, I had to restart Nagios sometime later after adding some further services/hosts and it seems that the acknowledgement still remains across the restart but the notifications have started again. Is this expected behaviour ? I've trawled through the docs and archives but cannot find a definitive answer so any advice would be appreciated. thanks, deborah ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Deborah.Martin at Kognitio.com Fri Jul 21 12:17:29 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Fri, 21 Jul 2006 11:17:29 +0100 Subject: Notifications and acknowledgements Message-ID: Hi, I'm running Suse 9.1 with Nagios 2.0b4 I have a service alerting as Critical which I then acknowledged. Notifications were then supressed. However, I had to restart Nagios sometime later after adding some further services/hosts and it seems that the acknowledgement still remains across the restart but the notifications have started again. Is this expected behaviour ? I've trawled through the docs and archives but cannot find a definitive answer so any advice would be appreciated. thanks, deborah ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 15:07:49 2006 From: marc at ena.com (Marc Powell) Date: Fri, 21 Jul 2006 08:07:49 -0500 Subject: nagios using wrong ip for host? 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 20, 2006 12:30 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios using wrong ip for host? > > My nagios server is telling me that a host is down despite also saying > that a service on that host is up !!!!!! > > MyServer Oracle OK 20-07-2006 18:23:52 0d 0h 48m 44s > 1/3 OK - dummy login connected > > SSH CRITICAL 20-07-2006 18:22:26 0d 1h > 28m 30s 3/3 No route to host > > Looking at the host status is says > > MyServer DOWN 20-07-2006 18:25:19 0d 1h 30m 54s CRITICAL > - Host Unreachable (192.168.1.29) > > but the ip address for the server is 192.168.1.43, why is it using the > wrong address????????? Besides the previous suggestion of grepping the IP out of your configs, you may have multiple copies of nagios running. An old one may be running with an old config in which you had specified the IP as .29. Make sure that you only have one master nagios daemon running (stop nagios, kill any that remain and start nagios again). -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 15:10:16 2006 From: marc at ena.com (Marc Powell) Date: Fri, 21 Jul 2006 08:10:16 -0500 Subject: Scheduling Downtime Not Authorized? 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 20, 2006 12:21 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Scheduling Downtime Not Authorized? > > I'm really pleased with my nagios 1.4.1 installation so far, I have it > monitoring loads of servers, but now I feel like expanding beyond the > basics and am trying to schedule downtime for a couple of hosts since > they are down and will be for some time. > > However I get the following error: > > Sorry, but you are not authorized to commit the specified command. > Read the section of the documentation that deals with authentication and > authorization in the CGIs for more information. > > I'm logged in as nagiosadmin and have the following lines in nagios.cfg > > check_external_commands=1 > command_check_interval=-1 > command_file=/var/nagios/rw/nagios.cmd > > ll /var/nagios/rw/nagios.cmd > prw-rw---- 1 nagios apache 0 Jul 20 18:12 /var/nagios/rw/nagios.cmd| > > > In cgi.cfg I have: > > use_authentication=1 > authorized_for_system_information=nagiosadmin > authorized_for_configuration_information=nagiosadmin > authorized_for_system_commands=nagiosadmin > authorized_for_all_services=nagiosadmin > authorized_for_all_hosts=nagiosadmin > authorized_for_all_service_commands=nagiosadmin > authorized_for_all_host_commands=nagiosadmin > > I restarted nagios with those settings but it still won't let me > schedule downtime. Does anybody know why? In the upper left status box on every page does it show you 'Logged in as nagiosadmin'? If not, verify your .htaccess configuration in your nagios sbin directory. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 21 16:01:24 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Fri, 21 Jul 2006 07:01:24 -0700 (PDT) Subject: Nagios training In-Reply-To: <58cfe2840607201031l7097a8cbu6bd2e81de1d7698d@mail.gmail.com> References: <58cfe2840607201031l7097a8cbu6bd2e81de1d7698d@mail.gmail.com> Message-ID: <20060721140124.35373.qmail@web60522.mail.yahoo.com> Hi, Can you check OpenNMS? It may have something.. But CA has some training for Unicenter.. it's called Certified Unicenter Engineer (which is not OSS).. Best regards, Tom Tran Francois Caen wrote: Hello, Does anyone know of any company in North America that offers training for Nagios and/or other OSS network management tools? Thank you? -- Francois Caen, RHCE, CCNA ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Fri Jul 21 16:05:45 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Fri, 21 Jul 2006 07:05:45 -0700 (PDT) Subject: Sugguestion/Question? In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E45@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2E45@dw-mail.dataway.com> Message-ID: <20060721140545.70155.qmail@web60515.mail.yahoo.com> Hello Ted, I am sorry but I thought Mr/Ms Deborad has the same problem.. that's why I did tag along. Best regards, Tom Tran Tedman Eng wrote: First off, please do not REPLY to a message if you're not replying to that message. Post a NEW message. Secondly, Nagios' design separates Hosts from Services. Nagios does not actively monitor hosts. Yes, it checks hosts, but it does not monitor them. What's the difference? Think of hosts as points or intersections along a road, services as being houses along the side of these roads. Nagios only monitors houses (services). If for some reason it cannot reach a house, it checks to see if there is a problem in the road (host) preventing it from getting to the house (service), and reports these findings to you. If you want Nagios to work like CA's product, that can be done as well, but you'll lose ther ability to determine where along the roadway is the problem. To do this, use check_cluster for your check-host-alive. -----Original Message----- From: Tom Tran [mailto:thoanluutran at yahoo.com] Sent: Thursday, July 20, 2006 10:02 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Sugguestion/Question? Re: Notifications and acknowledgements Dear All, I am a newbie with Nagios but long time user of Enterprise Management (CA Unicenter in particular)... Here is my suggestion (not sure If i implemented correctly...) or it has been designed this way. Suppose I am monitoring a Server.... which I am trying to monitoring the following: Ping, disk space, Load....... And i set the threshold for my disk space.. and the disk space exceeds my critical threshold; therefore, the status for my Disk Space Watcher is Red (Critical)... According to what i see right now.. the status for the whole server is GREEN.. I am not sure it is supposed to be green? Isn't it supposed to be RED.... because of the propagation from a child level? Hope my explanation is clear enough. Best regards, Tom Tran EESImed. Deborah Martin wrote: Hi, I'm running Suse 9.1 with Nagios 2.0b4 I have a service alerting as Critical which I then acknowledged. Notifications were then supressed. However, I had to restart Nagios sometime later after adding some further services/hosts and it seems that the acknowledgement still remains across the restart but the notifications have started again. Is this expected behaviour ? I've trawled through the docs and archives but cannot find a definitive answer so any advice would be appreciated. thanks, deborah ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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.------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs.Try it free. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Fri Jul 21 16:20:21 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Fri, 21 Jul 2006 07:20:21 -0700 (PDT) Subject: Sugguestion/Question? In-Reply-To: <44BFBBF0.90507@groundworkopensource.org> References: <44BFBBF0.90507@groundworkopensource.org> Message-ID: <20060721142021.63911.qmail@web60516.mail.yahoo.com> Dear Harper and All, Thank you very much for you explanation. I am totally clear and I have no problem with that at all. However, don't you think it's better this way. Supposed you are the network admin, sitting in front of huge monitor and managing a status map of your entire network which has about 200 critical servers... if all the servers are up and running.. So, they are all green. How do you know which one has a problem like Running out of disk space or exchange process has just stopped? If you can propagate, when the exchange process stopped, it goes to critical status.. this child service will propagrate to the parent node... and the network admin will see.. Oh.. something is wrong with node xyz. because it's RED.. so let me drill down that node to see what's going on? Best regards, Tom Tran, PS: The statements above is CONSTRUCTIVE suggestion. I am not trying to compare Nagios to any product. It is just my thought to help us to have a better Nagios if you guys think my suggestion is useful. Harper Mann wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Tom, Nagios has two top-level types of check, host checks and service checks. Host checks are a check that verifies the host is up. It's generally defined as a ping check. Service checks check services like disk, cpu, swap, etc. are running on the host. By default, Nagios checks a service and if it is in alarm, it runs the host check. If the host check fails, Nagios sends host notification and doesn't send service notification. If the host is up, it sends the service notification. Nagios, only runs the host checks if the service fails. So if the disk is bad, it's set critical, but the host check ping still works so the host is not set down. This is intentional because if the disk fails, and the host check fails, disk notifications are suppressed as well as the other services being checked, and you get one alarm that the host is down and not one alarm each for each service. Feature.... Nagios doesn't have propagation like Unicenter. It has a host check so it can suppress alarm storms. Hope this helps. Regards, - - Harper Harper Mann Groundwork Open Source 510-599-2075 (cell) Tom Tran wrote: > Dear All, > > I am a newbie with Nagios but long time user of Enterprise > Management (CA Unicenter in particular)... > > Here is my suggestion (not sure If i implemented correctly...) or it > has been designed this way. > > Suppose I am monitoring a Server.... which I am trying to monitoring > the following: > Ping, disk space, Load....... > > And i set the threshold for my disk space.. and the disk space > exceeds my critical threshold; therefore, the status for my Disk > Space Watcher is Red (Critical)... > > According to what i see right now.. the status for the whole server > is GREEN.. I am not sure it is supposed to be green? Isn't it > supposed to be RED.... because of the propagation from a child level? > > Hope my explanation is clear enough. > > Best regards, > Tom Tran > EESImed. > > > */Deborah Martin /* wrote: > > Hi, > > I'm running Suse 9.1 with Nagios 2.0b4 > > I have a service alerting as Critical which I then acknowledged. > Notifications were then supressed. > However, I had to restart Nagios sometime later after adding > some further > services/hosts and it seems that the acknowledgement still > remains across > the restart but the notifications have started again. > > Is this expected behaviour ? I've trawled through the docs and > archives but > cannot find a definitive > answer so any advice would be appreciated. > > thanks, > deborah > > ************************************************************************ > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. Any unauthorised distribution or copying is strictly > prohibited. > > Whilst Kognitio Limited takes steps to prevent the transmission of > viruses via e-mail, we can not guarantee that any email or > attachment is free from computer viruses and you are strongly > advised to undertake your own anti-virus precautions. > > Kognitio grants no warranties regarding performance, > use or quality of any e-mail or attachment and undertakes no > liability for loss or damage, howsoever caused. > *********************************************************************** > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance > to share your > opinions on IT & business topics through brief surveys -- and > earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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. > > > > ---------------------------------------------------------------------- > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > ---------------------------------------------------------------------- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEv7vv7S/1yQTgKWIRAsOaAJ9E67G2wMOtLkBnJlt/DtjqWD8b2QCghaZH BijGwTcXP9qqjdBzJqV2mTo= =o7lh -----END PGP SIGNATURE----- --------------------------------- Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 felipe at tocchetto.com Fri Jul 21 20:27:43 2006 From: felipe at tocchetto.com (Felipe Tocchetto) Date: Fri, 21 Jul 2006 15:27:43 -0300 Subject: not receiving the nagios notifications Message-ID: <4f70c5c80607211127y5b935183kb7c7ebdab8153d70@mail.gmail.com> Hi All I have a nagios 2.4 here, I already insert some hosts to it monitor. But when a host goes down, the nagios system do not send me the notifications by email. I think all my confs files are just ok. I don?t have a clue for what is happening. Here is the way I configured it: The hosts.cfg file: define host{ host_name teste.xxx.xxxx.br alias Test Machine address 200.xxx.xx.xx check_command check-host-alive max_check_attempts 2 checks_enabled 1 active_checks_enabled 1 passive_checks_enabled 1 check_interval 1 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 notification_interval 15 contact_groups suporte-local notification_period 24x7 notification_options d,u,r notifications_enabled 1 stalking_options o,d,u } Ok, notifications_enabled 1 So the contat group that it had to send the emails: cat contactgroups.cfg define contactgroup{ contactgroup_name suporte-local alias suporte members felipe } In this case, just me, Felipe, so I put my email in the contacts.cfg file define contact{ contact_name felipe alias Felipe Tocchetto host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,u,r,n service_notification_options w,u,c,r,n host_notification_commands host-notify-by-email service_notification_commands notify-by-email email felipe at valid-domain.br } The host-notify-by-email e notify-by-email commands, in miscconmands.cfg: # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\ nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOS TSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVI CEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\ n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTE MAIL$ } When I type mannualy the commands, a receive the email from the nagios Machine... Does any body know what is happening? -- Felipe L. Tocchetto http://felipe.tocchetto.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 21 22:12:09 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Fri, 21 Jul 2006 13:12:09 -0700 (PDT) Subject: Sugguestion/Question? In-Reply-To: <44C12FAF.8000803@groundworkopensource.org> References: <44C12FAF.8000803@groundworkopensource.org> Message-ID: <20060721201209.27625.qmail@web60523.mail.yahoo.com> Hello Harper, Just my 2 cents.. :-) I am not sure who I can contact but If you guys need help with QA or Dev, I can give a hand because I used to work on Unicenter... :-) Thanks, Tom Tran eesimed.com Harper Mann wrote: Hi Tom, Good thought. I think the meta-issue is what features go into a dashboard. Propagation and drill-down are good ones to consider. A dashboard should present actionable information at a glance. There have been status map improvement discussions and I believe work is in progress on it. You might check the archives to see who is working it. Cheers, - Harper Tom Tran wrote: > Dear Harper and All, > > Thank you very much for you explanation. I am totally clear and I > have no problem with that at all. > > However, don't you think it's better this way. > > Supposed you are the network admin, sitting in front of huge monitor > and managing a status map of your entire network which has about 200 > critical servers... if all the servers are up and running.. So, they > are all green. How do you know which one has a problem like Running > out of disk space or exchange process has just stopped? If you can > propagate, when the exchange process stopped, it goes to critical > status.. this child service will propagrate to the parent node... and > the network admin will see.. Oh.. something is wrong with node xyz. > because it's RED.. so let me drill down that node to see what's going on? > > Best regards, > Tom Tran, > PS: The statements above is CONSTRUCTIVE suggestion. I am not trying > to compare Nagios to any product. It is just my thought to help us to > have a better Nagios if you guys think my suggestion is useful. > > > > */Harper Mann /* wrote: > > Hi Tom, > Nagios has two top-level types of check, host checks and service > checks. Host checks are a check that verifies the host is up. It's > generally defined as a ping check. Service checks check services like > disk, cpu, swap, etc. are running on the host. By default, Nagios > checks a service and if it is in alarm, it runs the host check. If > the host check fails, Nagios sends host notification and doesn't send > service notification. If the host is up, it sends the service > notification. > > Nagios, only runs the host checks if the service fails. So if the > disk is bad, it's set critical, but the host check ping still works so > the host is not set down. This is intentional because if the disk > fails, and the host check fails, disk notifications are suppressed as > well as the other services being checked, and you get one alarm that > the host is down and not one alarm each for each service. Feature.... > > Nagios doesn't have propagation like Unicenter. It has a host check > so it can suppress alarm storms. > > Hope this helps. > Regards, > - Harper > Harper Mann > Groundwork Open Source > 510-599-2075 (cell) > > Tom Tran wrote: >> Dear All, > >> I am a newbie with Nagios but long time user of Enterprise >> Management (CA Unicenter in particular)... > >> Here is my suggestion (not sure If i implemented correctly...) or it >> has been designed this way. > >> Suppose I am monitoring a Server.... which I am trying to monitoring >> the following: >> Ping, disk space, Load....... > >> And i set the threshold for my disk space.. and the disk space >> exceeds my critical threshold; therefore, the status for my Disk >> Space Watcher is Red (Critical)... > >> According to what i see right now.. the status for the whole server >> is GREEN.. I am not sure it is supposed to be green? Isn't it >> supposed to be RED.... because of the propagation from a child level? > >> Hope my explanation is clear enough. > >> Best regards, >> Tom Tran >> EESImed. > > >> */Deborah Martin /* wrote: > >> Hi, > >> I'm running Suse 9.1 with Nagios 2.0b4 > >> I have a service alerting as Critical which I then acknowledged. >> Notifications were then supressed. >> However, I had to restart Nagios sometime later after adding >> some further >> services/hosts and it seems that the acknowledgement still >> remains across >> the restart but the notifications have started again. > >> Is this expected behaviour ? I've trawled through the docs and >> archives but >> cannot find a definitive >> answer so any advice would be appreciated. > >> thanks, >> deborah > > > ************************************************************************ >> This email and any files transmitted with it are confidential and >> intended solely for the use of the individual or entity to whom > they >> are addressed. Any unauthorised distribution or copying is strictly >> prohibited. > >> Whilst Kognitio Limited takes steps to prevent the transmission of >> viruses via e-mail, we can not guarantee that any email or >> attachment is free from computer viruses and you are strongly >> advised to undertake your own anti-virus precautions. > >> Kognitio grants no warranties regarding performance, >> use or quality of any e-mail or attachment and undertakes no >> liability for loss or damage, howsoever caused. > > *********************************************************************** > > > > ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance >> to share your >> opinions on IT & business topics through brief surveys -- and >> earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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. >> > > >> ---------------------------------------------------------------------- > >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to > share your >> opinions on IT & business topics through brief surveys -- and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >> ---------------------------------------------------------------------- > >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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!? > Next-gen email? Have it all with the all-new Yahoo! Mail Beta. > --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 cuall at gmx.de Sat Jul 22 10:33:28 2006 From: cuall at gmx.de (Denny Schierz) Date: Sat, 22 Jul 2006 10:33:28 +0200 Subject: Need documention for hosts configuration Message-ID: <44C1E2D8.10002@gmx.de> hi, i'm glad to getting nagios 2.5 working with nrpe too. Now i'am writing a howto on a german wiki. My problem is, that the documention from nagios (html 2.x on the website) is poorly written, meaning it has a bad structure and i need much time to find, what i searching for. So, to let me and my readers understand, what for options are possible in the "hosts config", like in the minimal.cfg i want to write it down, on examples. Most things are selfexplained but, some not. Can somebody write a few lines, about the following lines, or show me the right part from the offi. docu. on the nagios website? max_check_attempts 10 notification_interval 120 notification_options d,r is_volatile 0 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 960 check_command check_ping!100.0,20%!500.0,60% on these last line, i don't know, where i have o set a "!" for example from the dns_check: ./check_dns -H heise.de -s 192.168.1.1 DNS OK: 0.018 seconds response time. heise.de returns 193.99.144.80|time=0.017630s;;;0.000000 so looks the line from the bash, but i wrote something as command and expecting, that it is wrong: define command{ command_name check-resolv-dns command_line $USER1$/check_dns -H www.heise.de -s $HOSTADDRESS$ } define service{ use generic-service ; Name of service template to use host_name win2k3 service_description DNS_resolv is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 contact_groups admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_dns!heise.de } i know, i have had it hardcoded, but check_dns resolv the address from the yahoo server, not heise.de ... So, if somebody can explain my mistakes, i can writing a good howto :-) cu denny -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 255 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 254 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 alex_b at users.sourceforge.net Sat Jul 22 14:26:21 2006 From: alex_b at users.sourceforge.net (Alex Burger) Date: Sat, 22 Jul 2006 08:26:21 -0400 Subject: how to configure snmp 5.3 that snmptrap are received ? In-Reply-To: <672912586@web.de> References: <672912586@web.de> Message-ID: <44C2196D.8010403@users.sourceforge.net> Hi Armin. Armin Irger wrote: > If i send a trap like > #snmptrap -v 2c -c public localhost "" ucdStart sysContact.0 s "Dave" > > only in the /var/log/net-snmptrap.log appears > > No access configuration - dropping trap. See the ACCESS CONTROL section of the snmptrapd.conf man page. To disable access control checks and accept all incoming traps, add this to your snmptrapd.conf: disableAuthorization yes Alex ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 23:23:50 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 22 Jul 2006 23:23:50 +0200 (CEST) Subject: Sugguestion/Question? In-Reply-To: <20060721142021.63911.qmail@web60516.mail.yahoo.com> References: <20060721142021.63911.qmail@web60516.mail.yahoo.com> Message-ID: On Fri, 21 Jul 2006, Tom Tran wrote: > Supposed you are the network admin, sitting in front of huge monitor and managing a status map of your entire network which has about 200 critical servers... if all the servers are up and running.. So, they are all green. How do you know which one has a problem like Running out of disk space or exchange process has just stopped? If you can propagate, when the exchange process stopped, it goes to critical status.. this child service will propagrate to the parent node... and the network admin will see.. Oh.. something is wrong with node xyz. because it's RED.. so let me drill down that node to see what's going on? Just suppose you want to keep an eye out for trouble. Then you want to have the TAC screen on the main board. That screen will show you very well if any issue arises. 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 23:27:15 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 22 Jul 2006 23:27:15 +0200 (CEST) Subject: not receiving the nagios notifications In-Reply-To: <4f70c5c80607211127y5b935183kb7c7ebdab8153d70@mail.gmail.com> References: <4f70c5c80607211127y5b935183kb7c7ebdab8153d70@mail.gmail.com> Message-ID: On Fri, 21 Jul 2006, Felipe Tocchetto wrote: > I have a nagios 2.4 here, I already insert some hosts to it monitor. > But when a host goes down, the nagios system do not send me the > notifications by email. And just what DO you see happening in the ligs? Keep in mind that nagios is not intended as host monitor but service monitor. If you want a check on host make it a pseudo service on the host. Like the PING example you have seen. More details can be found in the many posts in the archives on this list regarding this matter. 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 23:32:10 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 22 Jul 2006 23:32:10 +0200 (CEST) Subject: Need documention for hosts configuration In-Reply-To: <44C1E2D8.10002@gmx.de> References: <44C1E2D8.10002@gmx.de> Message-ID: On Sat, 22 Jul 2006, Denny Schierz wrote: > So, to let me and my readers understand, what for options are possible > in the "hosts config", like in the minimal.cfg i want to write it down, > on examples. Most things are selfexplained but, some not. Can somebody > write a few lines, about the following lines, or show me the right part > from the offi. docu. on the nagios website? > > max_check_attempts 10 > notification_interval 120 > notification_options d,r How about: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html > on these last line, i don't know, where i have o set a "!" for example > from the dns_check: > > ./check_dns -H heise.de -s 192.168.1.1 > DNS OK: 0.018 seconds response time. heise.de returns > 193.99.144.80|time=0.017630s;;;0.000000 Could this bbe more of a language issue? I would say the section on http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command is rather clear on the options. 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cuall at gmx.de Sun Jul 23 11:54:36 2006 From: cuall at gmx.de (Denny Schierz) Date: Sun, 23 Jul 2006 11:54:36 +0200 Subject: Need documention for hosts configuration In-Reply-To: References: <44C1E2D8.10002@gmx.de> Message-ID: <44C3475C.8000401@gmx.de> hi, Hugo van der Kooij schrieb: > How about: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html thanks. Seems, that there are everything, what i need :-) Thanks cu denny -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 254 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 23 16:05:45 2006 From: marc at ena.com (Marc Powell) Date: Sun, 23 Jul 2006 09:05:45 -0500 Subject: not receiving the nagios notifications Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Felipe Tocchetto > Sent: Friday, July 21, 2006 1:28 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] not receiving the nagios notifications > > Hi All > > I have a nagios 2.4 here, I already insert some hosts to it monitor. > But when a host goes down, the nagios system do not send me the > notifications by email. You've told it not to. See below. > define contact{ > contact_name felipe > alias Felipe Tocchetto > host_notification_period 24x7 > service_notification_period 24x7 > host_notification_options d,u,r,n > service_notification_options w,u,c,r,n > host_notification_commands host-notify-by-email > service_notification_commands notify-by-email > email felipe at valid-domain.br > } http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact For host_notification_options and service_notification_options, 'n' means don't send _any_ notifications. Remove it and restart nagios. host_notification_options: This directive is used to define the host states for which notifications can be sent out to this contact. Valid options are a combination of one or more of the following: d = notify on DOWN host states, u = notify on UNREACHABLE host states, and r = notify on host recoveries (UP states). *****If you specify n (none) as an option, the contact will not receive any type of host notifications.***** service_notification_options: This directive is used to define the service states for which notifications can be sent out to this contact. Valid options are a combination of one or more of the following: w = notify on WARNING service states, u = notify on UNKNOWN service states, c = notify on CRITICAL service states, and r = notify on service recoveries (OK states). *****If you specify n (none) as an option, the contact will not receive any type of service notifications.***** (emphasis mine) -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 15:17:21 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Mon, 24 Jul 2006 15:17:21 +0200 Subject: Nagios and SQL Server 2003 Message-ID: Hello, Is it possible to supervise if SQL Server turns on a server ? Thank you Julien -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 24 15:20:24 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Mon, 24 Jul 2006 15:20:24 +0200 Subject: Nagios and SQL Server 2003 Message-ID: Hello, Is it possible to supervise if SQL Server turns on a server ? Thank you Julien ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rns3 at psu.edu Mon Jul 24 16:44:46 2006 From: rns3 at psu.edu (Robert Snyder) Date: Mon, 24 Jul 2006 10:44:46 -0400 Subject: Need help with the concept of network objects Message-ID: <20060724144446.31178@studentservices.outreach.psu.edu> Hi, I have read through most, if not all, of the 258 pages of the Nagios 2.0 documentation and have been running a Nagios install for about four months. At this point I am monitoring about 45 hosts and around 100 services. My question is about network objects. I understand that I explicitly define host and service objects. What I don't get is how a network object is defined or determined by Nagios. Is this just determined by creating parent-child relationships, or is there some other way in which an object is defined as a network object, and hence it's unavailability is reported as a network outage on the Tac and network outages screens? I am sorry if this a silly question, but I am just not getting this piece of the puzzle. Thanks in advance. Robert ____________________________________________ Robert Snyder Outreach Technology Services The Pennsylvania State University 151A Outreach Building University Park PA 16802 Phone: 814-865-0912 Fax: 814-865-4406 E-mail: rsnyder at psu.edu ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Barry.Curr at uk.hjheinz.com Mon Jul 24 16:53:26 2006 From: Barry.Curr at uk.hjheinz.com (Curr, Barry) Date: Mon, 24 Jul 2006 15:53:26 +0100 Subject: Need help with the concept of network objects Message-ID: <9EDCB8BEB61AC3449E2A3C1FE153C29F0230FD11@seuedcex267.eu.hjheinz.net> This should help you I think: http://www.nagios.org/faqs/viewfaq.php?faq_id=145 Regards Barry -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robert Snyder Sent: 24 July 2006 15:45 To: Nagios Users Subject: [Nagios-users] Need help with the concept of network objects Hi, I have read through most, if not all, of the 258 pages of the Nagios 2.0 documentation and have been running a Nagios install for about four months. At this point I am monitoring about 45 hosts and around 100 services. My question is about network objects. I understand that I explicitly define host and service objects. What I don't get is how a network object is defined or determined by Nagios. Is this just determined by creating parent-child relationships, or is there some other way in which an object is defined as a network object, and hence it's unavailability is reported as a network outage on the Tac and network outages screens? I am sorry if this a silly question, but I am just not getting this piece of the puzzle. Thanks in advance. Robert ____________________________________________ Robert Snyder Outreach Technology Services The Pennsylvania State University 151A Outreach Building University Park PA 16802 Phone: 814-865-0912 Fax: 814-865-4406 E-mail: rsnyder at psu.edu ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _____________________________________________________________________ ************************************************************************ **** This message has been checked for all known viruses by the Cable & Wireless E-mail Virus Protection service, powered by MessageLabs. ************************************************************************ **** **************************************************************************** http://www.heinz.com This email is not intended to create a contract or an offer of acceptance or other legally binding commitment, unless that is expressly stated to be the case in the email. If the email does expressly state that a contract is created, then any contract for sale of goods will (unless expressly stated otherwise) be subject to the relevant H.J. Heinz's Standard Conditions of Sale applicable to that type of goods which are set out at www.heinzcustomers.co.uk This email and any attachments are confidential and solely for the use of the intended recipient. They may contain material protected by legal professional or other privilege. If you are not the intended recipient or the person responsible for delivering to the intended recipient, you are not authorised to and must not disclose, copy, distribute or retain this email or its attachments. Although this email and its attachments are believed to be free of any virus or other defect, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by the company for any loss or damage arising from receipt or use thereof. This message has been checked for all known viruses by the Cable & Wireless E-mail Virus Protection service, powered by MessageLabs. **************************************************************************** ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rns3 at psu.edu Mon Jul 24 17:02:11 2006 From: rns3 at psu.edu (Robert Snyder) Date: Mon, 24 Jul 2006 11:02:11 -0400 Subject: Re(2): Need help with the concept of network objects In-Reply-To: <9EDCB8BEB61AC3449E2A3C1FE153C29F0230FD11@seuedcex267.eu.hjheinz.net> References: <9EDCB8BEB61AC3449E2A3C1FE153C29F0230FD11@seuedcex267.eu.hjheinz.net> Message-ID: <20060724150211.7117@studentservices.outreach.psu.edu> Thanks Barry, The link from the FAQ to "Determining Status and Reachability of Network Hosts" section of the manual (page 69 of the printed docs) lays it out for me. I must have been nodding off when I read that section. That's the problem with reading in bed. Cheers. Robert On Mon, Jul 24, 2006, Curr, Barry wrote: >This should help you I think: >http://www.nagios.org/faqs/viewfaq.php?faq_id=145 > >Regards >Barry > >-----Original Message----- >From: nagios-users-bounces at lists.sourceforge.net >[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robert >Snyder >Sent: 24 July 2006 15:45 >To: Nagios Users >Subject: [Nagios-users] Need help with the concept of network objects > >Hi, > >I have read through most, if not all, of the 258 pages of the Nagios 2.0 >documentation and have been running a Nagios install for about four >months. At this point I am monitoring about 45 hosts and around 100 >services. My question is about network objects. > >I understand that I explicitly define host and service objects. What I >don't get is how a network object is defined or determined by Nagios. Is >this just determined by creating parent-child relationships, or is there >some other way in which an object is defined as a network object, and >hence it's unavailability is reported as a network outage on the Tac and >network outages screens? > >I am sorry if this a silly question, but I am just not getting this >piece of the puzzle. > >Thanks in advance. > >Robert > >____________________________________________ > >Robert Snyder >Outreach Technology Services >The Pennsylvania State University >151A Outreach Building >University Park PA 16802 >Phone: 814-865-0912 Fax: 814-865-4406 >E-mail: rsnyder at psu.edu > > > >------------------------------------------------------------------------ >- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE >V >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > >_____________________________________________________________________ >************************************************************************ >**** >This message has been checked for all known viruses by the Cable & >Wireless >E-mail Virus Protection service, powered by MessageLabs. >************************************************************************ >**** > >**************************************************************************** >http://www.heinz.com >This email is not intended to create a contract or an offer of >acceptance or other legally binding commitment, unless that is expressly >stated to be the case in the email. If the email does expressly state >that a contract is created, then any contract for sale of goods will >(unless expressly stated otherwise) be subject to the relevant H.J. >Heinz's Standard Conditions of Sale applicable to that type of goods >which are set out at www.heinzcustomers.co.uk > >This email and any attachments are confidential and solely for the use >of the intended recipient. They may contain material protected by legal >professional or other privilege. If you are not the intended recipient >or the person responsible for delivering to the intended recipient, you >are not authorised to and must not disclose, copy, distribute or retain >this email or its attachments. Although this email and its attachments >are believed to be free of any virus or other defect, it is the >responsibility of the recipient to ensure that they are virus free and >no responsibility is accepted by the company for any loss or damage >arising from receipt or use thereof. > >This message has been checked for all known viruses by the Cable & Wireless >E-mail Virus Protection service, powered by MessageLabs. > >**************************************************************************** > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ____________________________________________ Robert Snyder Outreach Technology Services The Pennsylvania State University 151A Outreach Building University Park PA 16802 Phone: 814-865-0912 Fax: 814-865-4406 E-mail: rsnyder at psu.edu ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 17:02:45 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 24 Jul 2006 11:02:45 -0400 Subject: Need help with the concept of network objects In-Reply-To: <20060724144446.31178@studentservices.outreach.psu.edu> References: <20060724144446.31178@studentservices.outreach.psu.edu> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Robert Snyder > Sent: Monday, July 24, 2006 7:45 AM > To: Nagios Users > Subject: [Nagios-users] Need help with the concept of network objects > > I understand that I explicitly define host and service > objects. What I don't get is how a network object is defined > or determined by Nagios. Is this just determined by creating > parent-child relationships Yes. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From felipe at tocchetto.com Mon Jul 24 17:31:05 2006 From: felipe at tocchetto.com (Felipe Tocchetto) Date: Mon, 24 Jul 2006 12:31:05 -0300 Subject: not receiving the nagios notifications In-Reply-To: References: <4f70c5c80607211127y5b935183kb7c7ebdab8153d70@mail.gmail.com> Message-ID: <4f70c5c80607240831r72b25afbr91062d09fd46d1e9@mail.gmail.com> Thanks for the relply Hugo If you read the my message u will see that i am using the 'ping' to monitor my host. 2006/7/22, Hugo van der Kooij : > On Fri, 21 Jul 2006, Felipe Tocchetto wrote: > > > I have a nagios 2.4 here, I already insert some hosts to it monitor. > > But when a host goes down, the nagios system do not send me the > > notifications by email. > > And just what DO you see happening in the ligs? > > Keep in mind that nagios is not intended as host monitor but service > monitor. If you want a check on host make it a pseudo service on the host. > Like the PING example you have seen. > > More details can be found in the many posts in the archives on this list > regarding this matter. > > 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. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Felipe L. Tocchetto http://felipe.tocchetto.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From felipe at tocchetto.com Mon Jul 24 17:35:58 2006 From: felipe at tocchetto.com (Felipe Tocchetto) Date: Mon, 24 Jul 2006 12:35:58 -0300 Subject: not receiving the nagios notifications In-Reply-To: References: Message-ID: <4f70c5c80607240835s5241e73dvf52e743eb03b9636@mail.gmail.com> Hi Marc I did this mistake, thanks! Now I fixed the files, and the notifications are in the log file: [1153746375] HOST NOTIFICATION: felipe;test.xx.xxxxx.br;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds But I don?t receive nothing by email =( 2006/7/23, Marc Powell : > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Felipe Tocchetto > > Sent: Friday, July 21, 2006 1:28 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] not receiving the nagios notifications > > > > Hi All > > > > I have a nagios 2.4 here, I already insert some hosts to it monitor. > > But when a host goes down, the nagios system do not send me the > > notifications by email. > > You've told it not to. See below. > > > define contact{ > > contact_name felipe > > alias Felipe Tocchetto > > host_notification_period 24x7 > > service_notification_period 24x7 > > host_notification_options d,u,r,n > > service_notification_options w,u,c,r,n > > host_notification_commands host-notify-by-email > > service_notification_commands notify-by-email > > email felipe at valid-domain.br > > } > > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact > > For host_notification_options and service_notification_options, 'n' > means don't send _any_ notifications. Remove it and restart nagios. > > host_notification_options: This directive is used to define the > host states for which notifications can be sent out to this contact. > Valid options are a combination of one or more of the following: d = > notify on DOWN host states, u = notify on UNREACHABLE host states, and r > = notify on host recoveries (UP states). *****If you specify n (none) as > an option, the contact will not receive any type of host > notifications.***** > > service_notification_options: This directive is used to define the > service states for which notifications can be sent out to this contact. > Valid options are a combination of one or more of the following: w = > notify on WARNING service states, u = notify on UNKNOWN service states, > c = notify on CRITICAL service states, and r = notify on service > recoveries (OK states). *****If you specify n (none) as an option, the > contact will not receive any type of service notifications.***** > > (emphasis mine) > > -- > Marc > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Felipe L. Tocchetto http://felipe.tocchetto.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 17:37:53 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 24 Jul 2006 11:37:53 -0400 Subject: not receiving the nagios notifications In-Reply-To: <4f70c5c80607240835s5241e73dvf52e743eb03b9636@mail.gmail.com> References: <4f70c5c80607240835s5241e73dvf52e743eb03b9636@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 Felipe Tocchetto > Sent: Monday, July 24, 2006 8:36 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] not receiving the nagios notifications > > Hi Marc > > I did this mistake, thanks! > > Now I fixed the files, and the notifications are in the log file: > > [1153746375] HOST NOTIFICATION: > felipe;test.xx.xxxxx.br;DOWN;host-notify-by-email;CRITICAL - > Plugin timed out after 10 seconds > > But I don?t receive nothing by email Have you checked your mail logs? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jailbait at gmail.com Mon Jul 24 17:43:27 2006 From: jailbait at gmail.com (JB Segal) Date: Mon, 24 Jul 2006 11:43:27 -0400 Subject: Google Search Appliances? Message-ID: <916aba350607240843p53db5c0g66dae92801a2351f@mail.gmail.com> Has anyone hacked up anything to monitor Google Search Appliances yet? I figure there's a reasonably simple SNMP check as the best bet, but wanted to see if it's already been researched. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 24 17:48:22 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Mon, 24 Jul 2006 17:48:22 +0200 Subject: Nagios and SQL Server 2003 In-Reply-To: References: Message-ID: <44C4EBC6.2090003@aliadis.fr> Hi Julien REMY Julien wrote: > Is it possible to supervise if SQL Server turns on a server ? I'm hopefully french so I understand that by "turn" you mean "run" :) Well you can perform check_tcp on port 1433 (by default - I had told you 1443 in a previous email, that I sent to you only ... holidays get closer, thanks god). This will only tell you if the TCP agent is listening, but it's a good start. You can then use WMI (through the check_nt server-side plugin with the NC_NET client side software) to retrieve very interesting values such as the number of clients connected, the number of transactions per second and the like. Cheers -- Thibault GENESSAY ALIADIS www.aliadis.fr Tel. +33 4 72 13 90 40 Fax +33 4 74 22 00 09 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravikmrs at yahoo.com Mon Jul 24 18:03:24 2006 From: ravikmrs at yahoo.com (Ravi Kumar) Date: Mon, 24 Jul 2006 09:03:24 -0700 (PDT) Subject: SNMP /Traffic monitoring Message-ID: <20060724160324.53635.qmail@web53904.mail.yahoo.com> I want to monitor traffic on windows box. I've installed SNMP,configured on nagios box. But I'm getting message like "SNMP problem-No data received" How to get correct OID? Thanks, -Ravi --------------------------------- 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Mon Jul 24 18:09:30 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 24 Jul 2006 12:09:30 -0400 Subject: SNMP /Traffic monitoring In-Reply-To: <20060724160324.53635.qmail@web53904.mail.yahoo.com> References: <20060724160324.53635.qmail@web53904.mail.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Ravi Kumar > Sent: Monday, July 24, 2006 9:03 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SNMP /Traffic monitoring > > I want to monitor traffic on windows box. > I've installed SNMP,configured on nagios box. > But I'm getting message like "SNMP problem-No data received" > How to get correct OID? Snmpwalk comes in handy for this kind of thing. Walk the SNMP OID tree and looks for the ones you want to monitor. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 24 19:22:11 2006 From: luca at leenoox.net (Luca Corti) Date: Mon, 24 Jul 2006 19:22:11 +0200 Subject: check_kannel Message-ID: <1153761731.25233.13.camel@luca> Hello everyone, I wrote a while back asking for a Kannel monitoring plugin. Since I've not found it I went ahead and wrote it. If anyone is interested you may find it here. http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=635 Be sure to read the docs, as it is very preliminary and limited. It comes under GPL and without any warranty, obviusly. Improvements are welcome. Have fun Luca ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 20:32:32 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 24 Jul 2006 20:32:32 +0200 (CEST) Subject: not receiving the nagios notifications In-Reply-To: <4f70c5c80607240835s5241e73dvf52e743eb03b9636@mail.gmail.com> References: <4f70c5c80607240835s5241e73dvf52e743eb03b9636@mail.gmail.com> Message-ID: On Mon, 24 Jul 2006, Felipe Tocchetto wrote: > Now I fixed the files, and the notifications are in the log file: > > [1153746375] HOST NOTIFICATION: > felipe;test.xx.xxxxx.br;DOWN;host-notify-by-email;CRITICAL - Plugin > timed out after 10 seconds > > But I don?t receive nothing by email So. Go and check on the host-notify-by-email definition. Test the command there manually as the 'nagios user' on your system to see if email works at all for Nagios. 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alan_Maxwell at hilton.com Mon Jul 24 21:17:21 2006 From: Alan_Maxwell at hilton.com (Alan Maxwell) Date: Mon, 24 Jul 2006 14:17:21 -0500 Subject: Active/Passive bug? Message-ID: I've always liked the fact that Nagios is very flexible in many areas, but this particular scenario I consider a bug: I have a check that I want to be passive, the check_command portion is set to simply exit with the appropiate code. But in the GUI, a user can select this service, then "enable active checks of this service" This then caused me big problem, that the service showing warnings then was not actually in warning but was forced to execute the check_command. In my mind there ought to be a more strict parameter for a check, an actual "check_type" You could have active, passive, both. But then if a check is clearly defined as active, then never allow the web/cgi to then "enable passive checks". Bottom line, I see this as an error , allowing the web interface to enable checks , that are not desired to run. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 felipe at tocchetto.com Mon Jul 24 22:33:43 2006 From: felipe at tocchetto.com (Felipe Tocchetto) Date: Mon, 24 Jul 2006 17:33:43 -0300 Subject: not receiving the nagios notifications In-Reply-To: References: <4f70c5c80607240835s5241e73dvf52e743eb03b9636@mail.gmail.com> Message-ID: <4f70c5c80607241333n5bbed5c5ob1d7945881c0605@mail.gmail.com> I am using the default command. Manually it works, without the vars. Thanks a lot. I really dont know how to fix it. =( 2006/7/24, Hugo van der Kooij : > On Mon, 24 Jul 2006, Felipe Tocchetto wrote: > > > Now I fixed the files, and the notifications are in the log file: > > > > [1153746375] HOST NOTIFICATION: > > felipe;test.xx.xxxxx.br;DOWN;host-notify-by-email;CRITICAL - Plugin > > timed out after 10 seconds > > > > But I don?t receive nothing by email > > So. Go and check on the host-notify-by-email definition. > > Test the command there manually as the 'nagios user' on your system to see > if email works at all for Nagios. > > 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. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Felipe L. Tocchetto http://felipe.tocchetto.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 25 00:57:28 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 25 Jul 2006 00:57:28 +0200 (CEST) Subject: not receiving the nagios notifications In-Reply-To: <4f70c5c80607241333n5bbed5c5ob1d7945881c0605@mail.gmail.com> References: <4f70c5c80607240835s5241e73dvf52e743eb03b9636@mail.gmail.com> <4f70c5c80607241333n5bbed5c5ob1d7945881c0605@mail.gmail.com> Message-ID: On Mon, 24 Jul 2006, Felipe Tocchetto wrote: > I am using the default command. > > Manually it works, without the vars. > Thanks a lot. > > I really dont know how to fix it. Neither do I as you do not put any relevant information in your message. What default command? What output when you run as the nagios user? What is in your smtp server logs? ...... Feel free to ignore such details but just do not ask others to help you if you want to keep these things a secret. Hugo. A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? -- 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 01:35:24 2006 From: marc at ena.com (Marc Powell) Date: Mon, 24 Jul 2006 18:35:24 -0500 Subject: not receiving the nagios notifications 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: Monday, July 24, 2006 5:57 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] not receiving the nagios notifications > > On Mon, 24 Jul 2006, Felipe Tocchetto wrote: > > > I am using the default command. > > > > Manually it works, without the vars. > > Thanks a lot. > > > > I really dont know how to fix it. > > Neither do I as you do not put any relevant information in your message. Then read previous posts in the thread. His first post was very detailed and pretty darn thorough. > > What default command? What output when you run as the nagios user? What is > in your smtp server logs? ...... 2 of these questions have previously been answered. The logs question is still pending. > Feel free to ignore such details but just do not ask others to help you if > you want to keep these things a secret. Lighten up and pay attention ;) -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 01:55:12 2006 From: marc at ena.com (Marc Powell) Date: Mon, 24 Jul 2006 18:55:12 -0500 Subject: not receiving the nagios notifications Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Felipe Tocchetto > Sent: Monday, July 24, 2006 3:34 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] not receiving the nagios notifications > > I am using the default command. > > Manually it works, without the vars. > Thanks a lot. > > I really dont know how to fix it. I see a couple more things that I originally attributed to my mail client formatting of your original message. They may actually be problems with your config. # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\ nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOS TSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } In the above definition I see a carriage returns between "$HOSTNAME\" and "nState:" as well as between "Host $HOS" and "TSTATE$". Do they really exist in your config file? They should not. If no, can you send the output of the following command when run as the nagios user? id;/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: Host Notification\nHost: teste.xxx.xxxx.br\nState: CRITICAL\nAddress: 200.xxx.xx.xx\nInfo: CRITICAL - Plugin timed out after 10 seconds\n\nDate/Time: 24/07/2006 11:11:11\n" | /usr/bin/mail -s "Host CRITICAL alert for Test Machine!" felipe at tocchetto.com ------ # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVI CEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\ n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTE MAIL$ } In the above command I see a carriage returns between "$SERIV" and "CEDESC$" as well as between "$CONTACTE" and "MAIL$". Do they really exist in your config file? They should not. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 11:04:59 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Tue, 25 Jul 2006 11:04:59 +0200 Subject: Nagios and SQL Server 2003 Message-ID: Hello Thibault Yes , I'm frensh but I'm not Julien from Montrevel :). I do a check_tcp on port 1443. If it's OK, SQL server turns. Is that ? Thank you -----Message d'origine----- De?: Thibault Genessay [mailto:tgenessay at aliadis.fr] Envoy??: lundi 24 juillet 2006 17:26 ??: REMY Julien Objet?: Re: [Nagios-users] Nagios and SQL Server 2003 Hi Julien REMY Julien wrote: > Hello, > > Is it possible to supervise if SQL Server turns on a server ? I'm hopefully french so I understand that by "turn" you mean "run" :) Well you can do a check_tcp on port 1443 (default). This will only tell you if the TCP agent is listening, but it's a good start. You can then use WMI (through the check_nt server-side plugin with the NC_NET client side software) to retrieve very intersesting values such as the number of clients connected, the number of transactions per second and the like. Cheers PS: are you Julien from Montrevel ? -- Thibault GENESSAY ALIADIS www.aliadis.fr Tel. +33 4 72 13 90 40 Fax +33 4 74 22 00 09 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 11:06:54 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Tue, 25 Jul 2006 11:06:54 +0200 Subject: Nagios and SQL Server 2003 Message-ID: I tried : check_nt -H IP -v SERVICESTAT -s None -l mssql. Is it correct ? -----Message d'origine----- De?: Thibault Genessay [mailto:tgenessay at aliadis.fr] Envoy??: lundi 24 juillet 2006 17:26 ??: REMY Julien Objet?: Re: [Nagios-users] Nagios and SQL Server 2003 Hi Julien REMY Julien wrote: > Hello, > > Is it possible to supervise if SQL Server turns on a server ? I'm hopefully french so I understand that by "turn" you mean "run" :) Well you can do a check_tcp on port 1443 (default). This will only tell you if the TCP agent is listening, but it's a good start. You can then use WMI (through the check_nt server-side plugin with the NC_NET client side software) to retrieve very intersesting values such as the number of clients connected, the number of transactions per second and the like. Cheers PS: are you Julien from Montrevel ? -- Thibault GENESSAY ALIADIS www.aliadis.fr Tel. +33 4 72 13 90 40 Fax +33 4 74 22 00 09 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 25 11:12:01 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Tue, 25 Jul 2006 11:12:01 +0200 Subject: Nagios and SQL Server 2003 In-Reply-To: References: Message-ID: <44C5E061.5000606@aliadis.fr> REMY Julien wrote: > I tried : check_nt -H IP -v SERVICESTAT -s None -l mssql. > > Is it correct ? I don't use check_nt, so I hope your syntax is correct. However, the service name is probably wrong because MSSQL starts one service per database it runs. So if your database name is MYDB, the service name will be MSSQL$MYDB. This way you can monitor several different databases. Just check the service applet in the MMC on your database server for the exact service name. As for the check_tcp thing, there was a typo in my previous mail: the TCP port you have to check is the # 1433 (and not 1443) if you use the default configuration. Regards -- Thibault GENESSAY ALIADIS www.aliadis.fr Tel. +33 4 72 13 90 40 Fax +33 4 74 22 00 09 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From woodear at 126.com Tue Jul 25 14:17:59 2006 From: woodear at 126.com (=?gb2312?B?xL7Wrrb6?=) Date: Tue, 25 Jul 2006 20:17:59 +0800 Subject: automatic topology discovery tools Message-ID: <200607252017580316320@126.com> Dear Nagios-users? I'm looking for a tool which has the feature of automatic discovery and also can map the topology of a net. I have read some documentations and know that nagios can't do this. OpenNMS can discover but can't map it. Are there any other good/small tools support this ? Thanks! ????????? ?? ??????????? ????????woodear at 126.com ??????????2006-07-25 -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Tue Jul 25 17:37:47 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Tue, 25 Jul 2006 16:37:47 +0100 Subject: Why do I get these socket timeouts?!?! In-Reply-To: <200607251529.k6PFTBhU005454@trigger.e-dba.net> References: <200607251529.k6PFTBhU005454@trigger.e-dba.net> Message-ID: <1153841867.2665.70.camel@dl.e-dba.net> Hi All, I seem to get these quite a bit on a hosts running oracle RAC. Using either NRPE as a daemon or via xinetd does not make a difference. NRPE is using SSL. Any ideas what I should look for? Both hosts can get quite busy (IO/CPU). Or is 10 secs too short? I would have thought it is more than enough to connect to a TCP port and do some SSL. Ta. Greg On Tue, 2006-07-25 at 16:29 +0100, nagios wrote: > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: PROCS > State: CRITICAL > > Date/Time: Tue Jul 25 16:29:11 BST 2006 > > Additional Info: > > CHECK_NRPE: Socket timeout after 10 seconds. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 17:40:24 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 25 Jul 2006 11:40:24 -0400 Subject: statusmap background images Message-ID: <302ce8b50607250840n59d933b6o9c7626b59d51fc54@mail.gmail.com> I'm currently running nagios 2.5 on RHEL4 (installed via rpm) and I'm having issues getting the statusmap_background_image to work. All the other status map images defined in host extended info work fine. relavent portion from cgi.cfg is statusmap_background_image=higloss.gd2 and physical_html_path=/usr/share/nagios So if I'm reading the documentation properly it should be looking for /usr/share/nagios/images/higloss.gd2, which exists and has the proper permissions. Is there a defined size required for the statusmap background? Am I missing something obvious? Any hints would be appreciated. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 17:50:58 2006 From: jhmartin at toger.us (Jason Martin) Date: Tue, 25 Jul 2006 08:50:58 -0700 Subject: Why do I get these socket timeouts?!?! In-Reply-To: <1153841867.2665.70.camel@dl.e-dba.net> References: <200607251529.k6PFTBhU005454@trigger.e-dba.net> <1153841867.2665.70.camel@dl.e-dba.net> Message-ID: <20060725155057.GN16461@mal.toger.us> On Tue, Jul 25, 2006 at 04:37:47PM +0100, Greg Cope wrote: > Or is 10 secs too short? I would have thought it is more than enough to > connect to a TCP port and do some SSL. > > CHECK_NRPE: Socket timeout after 10 seconds. How busy are the machines? I believe you can get that error from NRPE if the plugin does not complete in 10s as well. -Jason Martin -- Man who speaks with forked tongue should not kiss balloon 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 25 18:04:59 2006 From: julien.remy at ohs.asso.fr (REMY Julien) Date: Tue, 25 Jul 2006 18:04:59 +0200 Subject: Nagios and printers Message-ID: Hello I almost finished my configuration of nagios. I had to monitor my printers. I tried : ./check_hpjd -H IP_PRINTER and the result is : Timeout : No response from 192.168.10.45. Why ?? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 25 18:04:24 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 25 Jul 2006 12:04:24 -0400 Subject: Nagios and printers 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: Tuesday, July 25, 2006 9:05 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Nagios and printers > > I almost finished my configuration of nagios. I had to > monitor my printers. > > I tried : ./check_hpjd -H IP_PRINTER and the result is : > Timeout : No response from 192.168.10.45. Have you configure SNMP on that printer? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Wed Jul 26 02:43:51 2006 From: nagios at ayksolutions.com (nagios) Date: Tue, 25 Jul 2006 20:43:51 -0400 Subject: Some beginner questions Message-ID: <44C6BAC7.80008@ayksolutions.com> Dear Nagios Users, I am migrating over from Cacti and am in the process of setting up Nagios to monitor our network. I have some very basic questions that are rather general. Thank you for all your help. 1. The .cfg files, I assumed, are supposed to be owned by nagios user and group and be chmod 755? 2. For instance, in the hosts.cfg file, am I able to define hosts one after another in the same file as follows: define hosts{ info here } define hosts{ different host here } etc... I think this should be it for now and thank you for your help! Sincerely, Artyom ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 26 03:48:38 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Tue, 25 Jul 2006 20:48:38 -0500 (CDT) Subject: Some beginner answers Message-ID: <20060726014838.5C8D638029@chuys.eng.intrinsity.com> |1. The .cfg files, I assumed, are supposed to be owned by nagios user |and group and be chmod 755? Ours are owned by me (I manage them via RCS), and are 644 or 444, depending on whether they're checked out for editing. There's no reason for execute permission AFAIK. |2. For instance, in the hosts.cfg file, am I able to define hosts one |after another in the same file as follows: | |define hosts{ |info here |} |define hosts{ |different host here |} |etc... Yes. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yktigertiger at 163.com Wed Jul 26 04:10:53 2006 From: yktigertiger at 163.com (=?gb2312?B?s8LS+g==?=) Date: Wed, 26 Jul 2006 10:10:53 +0800 (CST) Subject: any tools that can automatically draw a n etwork topology map? Message-ID: <44C6CF2D.000072.06279@bj163app62.163.com> So far as I know, Nagios cannot automatically draw a network topology map, neither does OpenNMS, but recently I really need such a tool. Does anybody know where to find one? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 mfleige at rhenus.de Wed Jul 26 09:37:20 2006 From: mfleige at rhenus.de (Marcus Fleige) Date: Wed, 26 Jul 2006 09:37:20 +0200 Subject: any tools that can automatically draw a n etwork topology map? In-Reply-To: <44C6CF2D.000072.06279-2006-07-26-09-20-09@bj163app62.163.com> References: <44C6CF2D.000072.06279-2006-07-26-09-20-09@bj163app62.163.com> Message-ID: <44C71BB0.2060203@rhenus.de> Hi, ?? wrote: > > So far as I know, Nagios cannot automatically draw a network topology > map, neither does OpenNMS, but recently I really need such a tool. Does > anybody know where to find one? Well, Nagios can, if you use the 'parent'-option troughout your config files, you get quite a nice overview in the Status Map. However, with a lot of hosts this is not an option, as the map becomes more and more unreadable. I don't wan't to advertise, but some time ago i tried InterMapper, which was quite impressive to me. It surely is not the only solution, it's not even a free one, but i guess it's not bad at all. So long, Marcus ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomas.mieslinger at combots.com Wed Jul 26 09:15:41 2006 From: thomas.mieslinger at combots.com (Thomas Mieslinger) Date: Wed, 26 Jul 2006 09:15:41 +0200 Subject: WG: Using NagiosGrapher Message-ID: <1CEF0584D875CE458FAB7545EC4BF5A12C3FAA@CBKA0018.intern.combots.com> Hello, the Readme of the latest NagiosGrapher told me that I can reach the authors of this wonderful software through this list. I'd like to know if it is possible to have a variable count of performance values per Service. As an example I use check_snmp_disk which sends as performance values for every Filesystem it finds on a host. If I define that there are 4 filesystem performance values then only performance values of hosts with 4 or more Filesystems are tracked. Of course only the first four filesystems are tracked. Is there any magic how I can track a variable count of Filesystems with NagiosGrapher? It would be cool if the legend string could be cut out of the Performance Data. As an example I send two possible strings from check_snmp_disk. DISKS / : (948 M/55840 M) 1% --- /dev/shm : (0 M/1930 M) 0% DISKS / : (6019 M/20158 M) 29% --- /dev/shm : (0 M/15990 M) 0% --- /boot : (13 M/68 M) 18% --- /liv1 : (28630 M/99949 M) 28% --- /liv2 : (30660 M/99949 M) 30% --- /liv3 : (30045 M/99949 M) 30% --- /oralog : (86097 M/199899 M) 43% --- /liv4 : (22565 M/99949 M) 22% --- /liv5 : (29039 M/99949 M) 29% Thanks in advance Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 26 10:59:21 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Wed, 26 Jul 2006 09:59:21 +0100 Subject: Why do I get these socket timeouts?!?! In-Reply-To: <91138DE5314775409830CC77A3E6EE013CE97D@uxchange1.UoA.auckland.ac.nz> References: <91138DE5314775409830CC77A3E6EE013CE97D@uxchange1.UoA.auckland.ac.nz> Message-ID: <1153904361.13124.3.camel@dl.e-dba.net> Thanks for all the replies. I'll reset the check_nrpe -t timeout to 20 or 30 secs to see if it goes away. These hosts are running Oracle rac so often have a load of up to 10, mostly due to IO wait on disks. Rarely CPU. I know an SSL chat will take some CPU, but not 10 secs worth on a dual proc host. Even if it is running RAC. Thanks again. Greg On Wed, 2006-07-26 at 09:51 +1200, Steve Shipway wrote: > > > CHECK_NRPE: Socket timeout after 10 seconds. > > This is the check_nrpe timing out. There are 3 or 4 timeouts to check > -- > > 1)Service checks have a global timeout in nagios.cfg. This is usually > about 30sec > 2)check_nrpe has a timeout specified by -t. This is usually 10sec. > 3)The remote nrpe agent has a timeout, command_timeout in nrpe.cfg. > This is usually about 20sec. > 4)The plugin being run remotely may have its own timeout specified on > the command line. > > Normally, (1) should be the largest number. (3) should always be greater > than (4), and (2) should be greater than (4). (3) should be larger than > the biggest (4) you have. This will mean that you get timeout messages > from the plugins rather than from the Nagios server. > > In your case, the timeout is coming from (2). This would normally > indicate that your remote NRPE is having problems, but it may also mean > that your (2) timeout is smaller than your (3) or (4) timeouts. > > On our server, (1) is set to 60sec, (2) is usually 20sec, (3) is 19sec > and (4) is 10sec. This means that we receive more helpful timeout > messages, as we know at which point the problem is. > > Steve ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 07:53:20 2006 From: lists at wansecurity.com (Robert Smith) Date: Wed, 26 Jul 2006 14:53:20 +0900 Subject: automatic topology discovery tools In-Reply-To: <200607252017580316320@126.com> References: <200607252017580316320@126.com> Message-ID: <44C70350.6000002@wansecurity.com> nmap http://www.insecure.org ??? wrote: > Dear Nagios-users? > > I'm looking for a tool which has the feature of automatic discovery and also can map the topology of a net. > I have read some documentations and know that nagios can't do this. OpenNMS can discover but can't map it. > Are there any other good/small tools support this ? > Thanks! > > > > > ????????? > ?? > > > ??????????? > ????????woodear at 126.com > ??????????2006-07-25 > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 cuall at gmx.de Wed Jul 26 13:51:16 2006 From: cuall at gmx.de (Denny Schierz) Date: Wed, 26 Jul 2006 13:51:16 +0200 Subject: check_by_ssh -> best timeout options ... Message-ID: <1153914676.5204.12.camel@localhost.localdomain> hi, i check the most servers (most dyndns.org) via check_by_ssh and it is working, but sometimes i get messages like this: CRITICAL - Plugin timed out while executing system call or: (No output!) but, after the next checks, its up again. I think, the problem is, when the remote host is changing the IP, or internet line is close etc. I search for better handling in these cases. What are the best? cu denny -- Sicherheit verst?ndlich http://www.sides.de GnuPG Key http://pgpkeys.pca.dfn.de:11371/pks/lookup?op=get&search=0x2A5CE192AB7D3FE0 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 ampranti at gmail.com Wed Jul 26 14:01:59 2006 From: ampranti at gmail.com (Andreas Brandino) Date: Wed, 26 Jul 2006 15:01:59 +0300 Subject: Monitoring routes Message-ID: Hi list, i am searhing for a plugin that will check the existance of specific routes in the routing table. Is out there such a plugin? thx sorry for the previous mail - it was sent accidentaly. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 ampranti at gmail.com Wed Jul 26 14:00:33 2006 From: ampranti at gmail.com (Andreas Brandino) Date: Wed, 26 Jul 2006 15:00:33 +0300 Subject: Monitoring routes Message-ID: Hi list, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 kaushalshriyan at gmail.com Wed Jul 26 15:38:03 2006 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Wed, 26 Jul 2006 19:08:03 +0530 Subject: How to pronounce Nagios Message-ID: <6b16fb4c0607260638x7cf943dx9f8e3e8322a5ad9d@mail.gmail.com> Hi ALL the question is in the subject line Thanks and Regards Kaushal ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 17:00:54 2006 From: marc at ena.com (Marc Powell) Date: Wed, 26 Jul 2006 10:00:54 -0500 Subject: How to pronounce Nagios 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: Wednesday, July 26, 2006 8:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How to pronounce Nagios > > Hi ALL > > the question is in the subject line EF AY CUE Just kidding. Sorta. http://www.nagios.org/faqs/viewfaq.php?faq_id=3&expand=false&showdesc=fa lse -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcinwasilewski at poczta.onet.pl Wed Jul 26 16:28:26 2006 From: marcinwasilewski at poczta.onet.pl (Marcin Wasilewski) Date: Wed, 26 Jul 2006 16:28:26 +0200 Subject: automatic topology discovery tools References: <200607252017580316320@126.com> <44C70350.6000002@wansecurity.com> Message-ID: <009f01c6b0bf$d66456e0$260b0aac@MWPC> Hello Robert, can You tell me how exactly do You use nmap to discover and map the network topology? Thanks, Marcin ----- Original Message ----- From: "Robert Smith" To: "??????" Cc: "Nagios-users" Sent: Wednesday, July 26, 2006 7:53 AM Subject: Re: [Nagios-users] automatic topology discovery tools nmap http://www.insecure.org ?????? wrote: > Dear Nagios-users?? > > I'm looking for a tool which has the feature of automatic discovery and > also can map the topology of a net. > I have read some documentations and know that nagios can't do this. > OpenNMS can discover but can't map it. > Are there any other good/small tools support this ? > Thanks! > > > > > ?????????????????? > ???? > > > ?????????????????????? > ????????????????woodear at 126.com > ????????????????????2006-07-25 > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID?VDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------------------------------------------------------------------------- > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID?VDEV -------------------------------------------------------------------------------- > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 mgreen-vY8stu4oZF/QT0dZR+AlfA at public.gmane.org Wed Jul 26 19:47:03 2006 From: mgreen-vY8stu4oZF/QT0dZR+AlfA at public.gmane.org (Martin J. Green) Date: Wed, 26 Jul 2006 18:47:03 +0100 Subject: plugns Message-ID: <5F54491268C784439D51B163322EE58C2F7AC8@gorilla.hq.altien.com> Having some bizarre problems with plugins - nagios says they don't exist (or passes bollocks output in some cases), even when I've explicitly told it where they are. Take one example... [root at agw01 nagios]# /usr/libexec/nagios/check_disk -w 85% -c 95% -p /dev/hda1 INPUT ERROR: C_DFP (95.000000) should be less than W_DFP (85.0) and both should be between zero and 100 percent, inclusive for /dev/hda1 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] [root at agw01 nagios]# /usr/libexec/nagios/check_disk -w 95% -c 85% -p /dev/hda1 DISK CRITICAL - free space: / 1776 MB (30% inode=84%);| /=4130MB;295;885;84;5905 [root at agw01 nagios]# df Filesystem Size Used Avail Use% Mounted on /dev/hda1 5.8G 3.8G 1.8G 69% / /dev/hda6 32G 27G 5.5G 83% /home [root at agw01 nagios]# 1) Critical & warning seem to be the wrong way round? (Critical *should* be higher than warning, right?) 2) Why did it tell me my disk was critical - its below both thresholds?? Anything I should be doing - can't seem to figure out why its not picking them up. ________________________________________________________________________ ___________________________ The questions remain the same. The answers are eternally variable. Martin J. Green Altien Ltd E: mgreen-vY8stu4oZF/QT0dZR+AlfA at public.gmane.org -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin-rdBDvhzU6y0 at public.gmane.org Wed Jul 26 19:53:18 2006 From: jhmartin-rdBDvhzU6y0 at public.gmane.org (Jason Martin) Date: Wed, 26 Jul 2006 10:53:18 -0700 Subject: plugns In-Reply-To: <5F54491268C784439D51B163322EE58C2F7AC8-Sicax+kj11JwDXfaB6OJIJowlv4uC7bZ@public.gmane.org> References: <5F54491268C784439D51B163322EE58C2F7AC8@gorilla.hq.altien.com> Message-ID: <20060726175318.GZ16461@mal.toger.us> On Wed, Jul 26, 2006 at 06:47:03PM +0100, Martin J. Green wrote: > Having some bizarre problems with plugins - nagios says they don't exist > [root at agw01 nagios]# /usr/libexec/nagios/check_disk -w 95% -c 85% -p > /dev/hda1 > DISK CRITICAL - free space: / 1776 MB (30% inode=84%);| > /=4130MB;295;885;84;5905 > 1) Critical & warning seem to be the wrong way round? (Critical > *should* be higher than warning, right?) > 2) Why did it tell me my disk was critical - its below both > thresholds?? Nagios is measuring free space, not 'full' space. You've asked for a critical if the disk is more than 15% full, and a warning if it is more than 5% full. -Jason Martin -- My other cat is a Jaguar. 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins 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 26 19:56:12 2006 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 26 Jul 2006 09:56:12 -0800 Subject: plugns In-Reply-To: <5F54491268C784439D51B163322EE58C2F7AC8@gorilla.hq.altien.com> References: <5F54491268C784439D51B163322EE58C2F7AC8@gorilla.hq.altien.com> Message-ID: <0DA1176A-C42F-4002-8F91-E07C622D0BF3@frontierflying.com> Actually, the behavior as noted is correct- the plugin checks for the percentage of free space remaining, not the amount used. So to use your example, you would want the command to be /usr/libexec/nagios/ check_disk -w 15% -c 5% -p /dev/hda1 since you want a warning when only 15% of the drive capacity is avalable, and critical when 5% of the drive is free. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service 5245 Airport Industrial Rd Fairbanks, AK 99709 ----------------------------------------------- On Jul 26, 2006, at 9:47 AM, Martin J. Green wrote: > Having some bizarre problems with plugins ? nagios says they don?t > exist (or passes bollocks output in some cases), even when I?ve > explicitly told it where they are. > > > > Take one example? > > > > [root at agw01 nagios]# /usr/libexec/nagios/check_disk -w 85% -c 95% - > p /dev/hda1 > > INPUT ERROR: C_DFP (95.000000) should be less than W_DFP (85.0) and > both should be between zero and 100 percent, inclusive for /dev/hda1 > > 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] > > [root at agw01 nagios]# /usr/libexec/nagios/check_disk -w 95% -c 85% - > p /dev/hda1 > > DISK CRITICAL - free space: / 1776 MB (30% inode=84%);| /=4130MB; > 295;885;84;5905 > > [root at agw01 nagios]# df > > Filesystem Size Used Avail Use% Mounted on > > /dev/hda1 5.8G 3.8G 1.8G 69% / > > /dev/hda6 32G 27G 5.5G 83% /home > > [root at agw01 nagios]# > > > > 1) Critical & warning seem to be the wrong way round? > (Critical *should* be higher than warning, right?) > > 2) Why did it tell me my disk was critical ? its below both > thresholds?? > > > > Anything I should be doing ? can?t seem to figure out why its not > picking them up. > > > > ______________________________________________________________________ > _____________________________ > > The questions remain the same. The answers are eternally variable. > > > > Martin J. Green > > Altien Ltd > > E: mgreen at altien.com > > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > _______________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at AdamsInfoServ.Com Wed Jul 26 20:00:11 2006 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Wed, 26 Jul 2006 13:00:11 -0500 Subject: automatic topology discovery tools In-Reply-To: <009f01c6b0bf$d66456e0$260b0aac@MWPC> References: <200607252017580316320@126.com> <44C70350.6000002@wansecurity.com> <009f01c6b0bf$d66456e0$260b0aac@MWPC> Message-ID: <20060726180011.GA25316@keroberos> NACE. Russell On Wed, Jul 26, 2006 at 04:28:26PM +0200, Marcin Wasilewski wrote: > Hello Robert, > > can You tell me how exactly do You use nmap to discover and map the network > topology? > > Thanks, > Marcin > > ----- Original Message ----- > From: "Robert Smith" > To: "??????" > Cc: "Nagios-users" > Sent: Wednesday, July 26, 2006 7:53 AM > Subject: Re: [Nagios-users] automatic topology discovery tools > > > nmap > > http://www.insecure.org > > > ?????? wrote: > > Dear Nagios-users?? > > > > I'm looking for a tool which has the feature of automatic discovery and > > also can map the topology of a net. > > I have read some documentations and know that nagios can't do this. > > OpenNMS can discover but can't map it. > > Are there any other good/small tools support this ? > > Thanks! > > > > > > > > > > ?????????????????? > > ???? > > > > > > ?????????????????????? > > ????????????????woodear at 126.com > > ????????????????????2006-07-25 > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys -- and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID?VDEV > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > -------------------------------------------------------------------------------- > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > opinions on IT & business topics through brief surveys -- and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID?VDEV > > > -------------------------------------------------------------------------------- > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen-vY8stu4oZF/QT0dZR+AlfA at public.gmane.org Wed Jul 26 20:01:28 2006 From: mgreen-vY8stu4oZF/QT0dZR+AlfA at public.gmane.org (Martin J. Green) Date: Wed, 26 Jul 2006 19:01:28 +0100 Subject: plugns In-Reply-To: <20060726175318.GZ16461-QtT7YKaSH2pcT1eoJ+6/LQ@public.gmane.org> References: <20060726175318.GZ16461@mal.toger.us> Message-ID: <5F54491268C784439D51B163322EE58C2F7AC9@gorilla.hq.altien.com> Ah that makes sense. Similar problem with check users - it shows no-one as logged in yet I am logged in on 3 ssh consoles testing this thing :) I'm going through the modules individually to find the problems - hopefully I'll get it working eventually. :) -----Original Message----- From: Jason Martin [mailto:jhmartin-rdBDvhzU6y0 at public.gmane.org] Sent: 26 July 2006 18:53 To: Martin J. Green Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org; nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Subject: Re: [Nagiosplug-help] plugns On Wed, Jul 26, 2006 at 06:47:03PM +0100, Martin J. Green wrote: > Having some bizarre problems with plugins - nagios says they don't exist > [root at agw01 nagios]# /usr/libexec/nagios/check_disk -w 95% -c 85% -p > /dev/hda1 > DISK CRITICAL - free space: / 1776 MB (30% inode=84%);| > /=4130MB;295;885;84;5905 > 1) Critical & warning seem to be the wrong way round? (Critical > *should* be higher than warning, right?) > 2) Why did it tell me my disk was critical - its below both > thresholds?? Nagios is measuring free space, not 'full' space. You've asked for a critical if the disk is more than 15% full, and a warning if it is more than 5% full. -Jason Martin -- My other cat is a Jaguar. This message is PGP/MIME signed. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From admin.server at Ntlworld.com Wed Jul 26 18:16:53 2006 From: admin.server at Ntlworld.com (Mark Duffy) Date: Wed, 26 Jul 2006 17:16:53 +0100 Subject: How to pronounce Nagios In-Reply-To: <6b16fb4c0607260638x7cf943dx9f8e3e8322a5ad9d@mail.gmail.com> References: <6b16fb4c0607260638x7cf943dx9f8e3e8322a5ad9d@mail.gmail.com> Message-ID: <20060726161700.DWIL15733.aamtaout04-winn.ispmail.ntl.com@md1> pronounced "NAH-gee-ohs" with a hard 'G' like geese -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kaushal Shriyan Sent: 26 July 2006 14:38 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to pronounce Nagios Hi ALL the question is in the subject line Thanks and Regards Kaushal ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Daniel.Rusch at fotf.org Wed Jul 26 20:00:09 2006 From: Daniel.Rusch at fotf.org (Rusch, Daniel) Date: Wed, 26 Jul 2006 12:00:09 -0600 Subject: It appears as though you do not have permission Message-ID: <8514B8AEA269234B82EF64E707E58850097F851D@nahum.mis.fotf.priv> All, Goal: to limit what services and hosts individuals can see to the hosts that they are a contact for. The manual states: * An authenticated user is an someone who has authenticated to the web server with a username and password and has been granted access to the Nagios web interface. * An authenticated contact is an authenticated user whose username matches the short name of a contact definition in your object configuration file(s) . I have nagios set up so that users must login to get to the main page. That works I have a user "myuser" that is a contact (the myuser name is a short name of a contact) for several hosts. myuser logins into the nagios site gets to the main page then clicks on the host detail or service detail and gets this error: "It appears as though you do not have permission to view information for any of the services you requested" According to the definitions above myuser should be able to see the hosts or services they are a contact for? thoughts? below is my httpd.conf file ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AuthName "Nagios Command Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/.htpasswd.users require valid-user Options ExecCGI Order allow,deny Allow from all Alias /nagios /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/.htpasswd.users require valid-user Alias /etc/ "/usr/local/nagios/etc/" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all Alias /error/ "/usr/local/nagios/error/" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all Thank you, Daniel G. Rusch x2027 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Wed Jul 26 22:53:47 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 26 Jul 2006 13:53:47 -0700 Subject: It appears as though you do not have permission In-Reply-To: <8514B8AEA269234B82EF64E707E58850097F851D@nahum.mis.fotf.priv> References: <8514B8AEA269234B82EF64E707E58850097F851D@nahum.mis.fotf.priv> Message-ID: <20060726205347.GH13226@hermes.americas.hpqcorp.net> On Wed, 26 Jul 2006, Rusch, Daniel wrote: > All, > > Goal: to limit what services and hosts individuals can see to the hosts > that they are a contact for. Listing that user as a contact should be working -- what does your cgi.conf look like? The most likely culprit would be the use_authentication parameter. Also, does Nagios show the user as logged in? Anything unusual in the Nagios or webserver logs? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 22:54:47 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 26 Jul 2006 16:54:47 -0400 Subject: It appears as though you do not have permission In-Reply-To: <8514B8AEA269234B82EF64E707E58850097F851D@nahum.mis.fotf.priv> References: <8514B8AEA269234B82EF64E707E58850097F851D@nahum.mis.fotf.priv> Message-ID: <302ce8b50607261354t49f5be48xc59a80fbfab5cd51@mail.gmail.com> > Goal: to limit what services and hosts individuals can see to the hosts that > they are a contact for. This is the default behavior. > The manual states: > > > An authenticated user is an someone who has authenticated to the web server > with a username and password and has been granted access to the Nagios web > interface. > An authenticated contact is an authenticated user whose username matches the > short name of a contact definition in your object configuration file(s). > > > I have nagios set up so that users must login to get to the main page. That > works make sure contact_name matches username in htpasswd file. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From felipe at tocchetto.com Wed Jul 26 21:54:11 2006 From: felipe at tocchetto.com (Felipe Tocchetto) Date: Wed, 26 Jul 2006 16:54:11 -0300 Subject: not receiving the nagios notifications In-Reply-To: References: Message-ID: <4f70c5c80607261254r52bef358y36b47b92304363c0@mail.gmail.com> Hi Marc Thaks for your effort in help me. Here is the commands outputs bash-3.00$ /bin/echo '/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$' >> /tmp/host-notify bash-3.00$ cat /tmp/host-notify /usr/bin/printf "%b" "***** Nagios ***** Notification Type: $NOTIFICATIONTYPE$ Host: $HOSTNAME$ State: $HOSTSTATE$ Address: $HOSTADDRESS$ Info: $HOSTOUTPUT$ Date/Time: $LONGDATETIME$ " | /usr/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ bash-3.00$ id uid=100(nagios) gid=1(other) 2006/7/26, Marc Powell : > I'm running out of ideas. Try changing your notify command_line to be -- > > command_line /bin/echo '/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$' >> /tmp/host-notify > > Make sure it's all one line. After a notification attempt, the file /tmp/host-notify will contain the command line that nagios would have executed. Try running that as the nagios user. > > -- > Marc > > > -----Original Message----- > > From: tocchetto at gmail.com [mailto:tocchetto at gmail.com] On Behalf Of Felipe > > Tocchetto > > Sent: Tuesday, July 25, 2006 4:31 PM > > To: Marc Powell > > Cc: Nagios Users Mailinglist > > Subject: Re: [Nagios-users] not receiving the nagios notifications > > > > Hi Marc > > > > Here some tests > > > > The command: > > > > id;/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: Host > > Notification\nHost: teste.xxx.xxxx.br\nState: CRITICAL\nAddress: > > 200.xxx.xx.xx\nInfo: CRITICAL - Plugin timed out after 10 > > seconds\n\nDate//Time: 24/07/2006 11:11:11\n" | /usr/bin/mail -s > > "alert" felipe at tocchetto.com > > > > just 1 line! > > > > The output for the command: > > > > uid=100(nagios) gid=1(other) > > > > And I receive the email: > > > > ***** Nagios ***** > > > > Notification Type: Host > > Notification > > Host: teste.xxx.xxxx.br > > State: CRITICAL > > Address: > > 200.xxx.xx.xx > > Info: CRITICAL - Plugin timed out after 10 > > seconds > > > > Date/Time: 24/07/2006 11:11:11 > > > > All commands are in just 1 line... > > > > I am using the default commands from the nagios instalation, I didn?t > > change anything. > > > > > > > > 2006/7/24, Marc Powell : > > > > > > > > > > -----Original Message----- > > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > > > bounces at lists.sourceforge.net] On Behalf Of Felipe Tocchetto > > > > Sent: Monday, July 24, 2006 3:34 PM > > > > To: Nagios Users Mailinglist > > > > Subject: Re: [Nagios-users] not receiving the nagios notifications > > > > > > > > I am using the default command. > > > > > > > > Manually it works, without the vars. > > > > Thanks a lot. > > > > > > > > I really dont know how to fix it. > > > > > > > > > I see a couple more things that I originally attributed to my mail > > > client formatting of your original message. They may actually be > > > problems with your config. > > > > > > # 'host-notify-by-email' command definition > > > define command{ > > > command_name host-notify-by-email > > > command_line /usr/bin/printf "%b" "***** Nagios > > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\ > > > nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > > > $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host > > > $HOS > > > TSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > > > } > > > > > > In the above definition I see a carriage returns between "$HOSTNAME\" > > > and "nState:" as well as between "Host $HOS" and "TSTATE$". Do they > > > really exist in your config file? They should not. If no, can you send > > > the output of the following command when run as the nagios user? > > > > > > id;/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: Host > > > Notification\nHost: teste.xxx.xxxx.br\nState: CRITICAL\nAddress: > > > 200.xxx.xx.xx\nInfo: CRITICAL - Plugin timed out after 10 > > > seconds\n\nDate/Time: 24/07/2006 11:11:11\n" | /usr/bin/mail -s "Host > > > CRITICAL alert for Test Machine!" felipe at tocchetto.com > > > > > > > > > > > > ------ > > > > > > # 'notify-by-email' command definition > > > define command{ > > > command_name notify-by-email > > > command_line /usr/bin/printf "%b" "***** Nagios > > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVI > > > CEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > > > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\ > > > n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - > > > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTE > > > MAIL$ > > > } > > > > > > In the above command I see a carriage returns between "$SERIV" and > > > "CEDESC$" as well as between "$CONTACTE" and "MAIL$". Do they really > > > exist in your config file? They should not. > > > > > > -- > > > Marc > > > > > > ------------------------------------------------------------------------ > > - > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your > > > opinions on IT & business topics through brief surveys -- and earn cash > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > -- > > Felipe L. Tocchetto > > http://felipe.tocchetto.com > -- Felipe L. Tocchetto http://felipe.tocchetto.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 26 20:28:17 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Wed, 26 Jul 2006 13:28:17 -0500 (CDT) Subject: plugns In-Reply-To: <5F54491268C784439D51B163322EE58C2F7AC8@gorilla.hq.altien.com> References: <5F54491268C784439D51B163322EE58C2F7AC8@gorilla.hq.altien.com> Message-ID: <20060726182817.BC22A38029@chuys.eng.intrinsity.com> Martin J. Green said... |[root at agw01 nagios]# /usr/libexec/nagios/check_disk -w 85% -c 95% -p /dev/hda1 You have it backwards. You need to use the % available, not the % used. So you want "-w 15% -c 5%". Not sure about the other problems, but that's why it says critical; you have less than 95% left on your disk. 8^) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shoktai at gmail.com Wed Jul 26 10:23:01 2006 From: shoktai at gmail.com (ThomasC.) Date: Wed, 26 Jul 2006 10:23:01 +0200 Subject: Logged users Message-ID: <44C72665.6070309@gmail.com> HI, Do you guys are able to monitor number and username of logged users on Windows servers ? How can i do that? Thanks. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 26 16:11:09 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Wed, 26 Jul 2006 10:11:09 -0400 Subject: How to monitor transient services? Message-ID: Hello, We are monitoring several different types of very fluid services and I am having a design problem -- how do I set these up neatly in nagios. The first of these checks is a script that runs agains a reporting database. This script runs every five minutes to make sure that all of the reports ran, or are running correctly. There are, at the moment, around 50 reports, but the number and frequency of the reports changes on a nearly daily basis. Granted, some reports are fairly stable: the one that tells our VP's how much money we made last night is one that rarely changes. But there are a number of one-off reports that are created and deleted on an almost daily basis. I do NOT want to maintain a check in nagios for each and every report -- that's an administrative nightmare. I want to just run this script that checks them all at the same time - no fuss no muss. BUT! And here is the problem: How do I return the results to nagios? It is conceivable that more than one report will fail at a time, and I will want notifications sent for all failures. I don't mind clumping them into one email -- but can NRPE handle more than one line of return values? The script in question is run remotely from my main nagios server. I can invoke it either using nrpe, or via cron -- whichever way I see fit. Any ideas on how I can solve this dilemma? How can I return multiple errors for a single check? (I have an oracle tablespace check that suffers the same problem -- too many transient tablespaces to be monitored and I don't want to have a check for each TS because they are too temporary.) Thanks, Janet Post ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomas.mieslinger at combots.com Tue Jul 25 20:58:26 2006 From: thomas.mieslinger at combots.com (Thomas Mieslinger) Date: Tue, 25 Jul 2006 20:58:26 +0200 Subject: Using NagiosGrapher Message-ID: <1CEF0584D875CE458FAB7545EC4BF5A12C3F89@CBKA0018.intern.combots.com> Hello, the Readme of the latest NagiosGrapher told me that I can reach the authors of this wonderful software through this list. I'd like to know if it is possible to have a variable count of performance values per Service. As an example I use check_snmp_disk which sends as performance values for every Filesystem it finds on a host. If I define that there are 4 filesystem performance values then only performance values of hosts with 4 or more Filesystems are tracked. Of course only the first four filesystems are tracked. Is there any magic how I can track a variable count of Filesystems with NagiosGrapher? It would be cool if the legend string could be cut out of the Performance Data. As an example I send two possible strings from check_snmp_disk. DISKS / : (948 M/55840 M) 1% --- /dev/shm : (0 M/1930 M) 0% DISKS / : (6019 M/20158 M) 29% --- /dev/shm : (0 M/15990 M) 0% --- /boot : (13 M/68 M) 18% --- /liv1 : (28630 M/99949 M) 28% --- /liv2 : (30660 M/99949 M) 30% --- /liv3 : (30045 M/99949 M) 30% --- /oralog : (86097 M/199899 M) 43% --- /liv4 : (22565 M/99949 M) 22% --- /liv5 : (29039 M/99949 M) 29% Thanks in advance Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mehmet.celikel at argela.com.tr Thu Jul 27 12:16:12 2006 From: mehmet.celikel at argela.com.tr (=?iso-8859-9?Q?Mehmet_=C7elikel?=) Date: Thu, 27 Jul 2006 13:16:12 +0300 Subject: Monitoring from web interface Message-ID: Hello, when monitoring from apache i cant see visual items. there is no color which determines down or up states(red, green), only text about the states. i had installed nagios before but didnt had any problem like that. how can i handle this? thanks... ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen-vY8stu4oZF/QT0dZR+AlfA at public.gmane.org Thu Jul 27 12:23:44 2006 From: mgreen-vY8stu4oZF/QT0dZR+AlfA at public.gmane.org (Martin J. Green) Date: Thu, 27 Jul 2006 11:23:44 +0100 Subject: [Nagios-users] plugns In-Reply-To: <20060726182817.BC22A38029-SURAoRIPsL5rGBrtmBM5WoSLTqiXVuEu@public.gmane.org> References: <20060726182817.BC22A38029@chuys.eng.intrinsity.com> Message-ID: <5F54491268C784439D51B163322EE58C2F7AD0@gorilla.hq.altien.com> Incidentally, the example given in the config file (where I got the 85 & 95%) is round the wrong way too :) -----Original Message----- From: Miles O'Neal [mailto:meo-C1bXjvKzYUtOSnsfY10OVw at public.gmane.org] Sent: 26 July 2006 19:28 To: Martin J. Green Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org; nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Subject: Re: [Nagios-users] plugns Martin J. Green said... |[root at agw01 nagios]# /usr/libexec/nagios/check_disk -w 85% -c 95% -p /dev/hda1 You have it backwards. You need to use the % available, not the % used. So you want "-w 15% -c 5%". Not sure about the other problems, but that's why it says critical; you have less than 95% left on your disk. 8^) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rjenkins at dibr.net Wed Jul 26 21:04:54 2006 From: rjenkins at dibr.net (Ron Jenkins) Date: Wed, 26 Jul 2006 14:04:54 -0500 Subject: Using MRTGEXT with Nagios Message-ID: Is anyone using this to check Netware volume stats and notify used space warnings and critical alerts? If so, how are you integrating it in the Nagios configuration. 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 pitchfork at ederdrom.de Thu Jul 27 14:38:55 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 27 Jul 2006 14:38:55 +0200 Subject: Using MRTGEXT with Nagios In-Reply-To: References: Message-ID: <200607271438.55589.pitchfork@ederdrom.de> Am Mittwoch, 26. Juli 2006 21:04 schrieb Ron Jenkins: > Is anyone using this to check Netware volume stats and notify used space > warnings and critical alerts? If so, how are you integrating it in the > Nagios configuration. Hi Ron, the Nagios plugin package contains check_nwstat which can be used to query the mrtgext.nlm installed on your netware server. J?rg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Davor.Grgicevic at osce.org Thu Jul 27 15:07:29 2006 From: Davor.Grgicevic at osce.org (Davor Grgicevic) Date: Thu, 27 Jul 2006 15:07:29 +0200 Subject: Using MRTGEXT with Nagios Message-ID: the commands: define command{ command_name check_nwstat_l1 command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v LOAD1 } define command{ command_name check_nwstat_l5 command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v LOAD5 } define command{ command_name check_nwstat_l15 command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v LOAD15 } define command{ command_name check_nwstat_uptime command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v UPTIME } define command{ command_name check_nwstat_ofiles command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v OFILES } define command{ command_name check_nwstat_cdbuff command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v CDBUFF } define command{ command_name check_nwstat_vpfsys command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v VPFSYS } define command{ command_name check_nwstat_vpfdata command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v VPFDATA } define command{ command_name check_nwstat_vpfgw command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v VPFGW } define command{ command_name check_nwstat_vpftech command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v VPFTECH } define command{ command_name check_nwstat_vpfspool command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v VPFSPOOL } define command{ command_name check_nwstat_conns command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v CONNS } ##################### [root at netnms libexec]# ./check_nwstat --help check_nwstat (nagios-plugins 1.4.3) 1.31 Copyright (c) 1999 Ethan Galstad Copyright (c) 2000-2004 Nagios Plugin Development Team This plugin attempts to contact the MRTGEXT NLM running on a Novell server to gather the requested system information. Usage: check_nwstat -H host [-p port] [-v variable] [-w warning] [-c critical] [-t timeout]. Options: -h, --help Print detailed help screen -V, --version Print version information -H, --hostname=ADDRESS Host name, IP Address, or unix socket (must be an absolute path) -p, --port=INTEGER Port number (default: 9999) -v, --variable=STRING Variable to check. Valid variables include: LOAD1 = 1 minute average CPU load LOAD5 = 5 minute average CPU load LOAD15 = 15 minute average CPU load CSPROCS = number of current service processes (NW 5.x only) ABENDS = number of abended threads (NW 5.x only) UPTIME = server uptime LTCH = percent long term cache hits CBUFF = current number of cache buffers CDBUFF = current number of dirty cache buffers DCB = dirty cache buffers as a percentage of the total TCB = dirty cache buffers as a percentage of the original OFILES = number of open files VPF = percent free space on volume VKF = KB of free space on volume VPP = percent purgeable space on volume VKP = KB of purgeable space on volume VPNP = percent not yet purgeable space on volume VKNP = KB of not yet purgeable space on volume LRUM = LRU sitting time in minutes LRUS = LRU sitting time in seconds DSDB = check to see if DS Database is open DSVER = NDS version UPRB = used packet receive buffers PUPRB = percent (of max) used packet receive buffers SAPENTRIES = number of entries in the SAP table SAPENTRIES = number of entries in the SAP table for SAP type TSYNC = timesync status LOGINS = check to see if logins are enabled CONNS = number of currently licensed connections NLM: = check if NLM is loaded and report version (e.g. "NLM:TSANDS.NLM") -w, --warning=INTEGER Threshold which will result in a warning status -c, --critical=INTEGER Threshold which will result in a critical status -o, --osversion Include server version string in results -t, --timeout=INTEGER Seconds before connection times out (default: 10) Notes: - This plugin requres that the MRTGEXT.NLM file from James Drews' MRTG extension for NetWare be loaded on the Novell servers you wish to check. (available from http://www.engr.wisc.edu/~drews/mrtg/) - Values for critical thresholds should be lower than warning thresholds when the following variables are checked: VPF, VKF, LTCH, CBUFF, DCB, TCB, LRUS and LRUM. Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net [root at netnms libexec]# ########################################################################### >>> "Ron Jenkins" 7/26/2006 9:04 PM >>> Is anyone using this to check Netware volume stats and notify used space warnings and critical alerts? If so, how are you integrating it in the Nagios configuration. 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.1632Email. 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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_price at byu.edu Wed Jul 26 17:02:55 2006 From: david_price at byu.edu (David Price) Date: Wed, 26 Jul 2006 09:02:55 -0600 Subject: How to pronounce Nagios In-Reply-To: <6b16fb4c0607260638x7cf943dx9f8e3e8322a5ad9d@mail.gmail.com> References: <6b16fb4c0607260638x7cf943dx9f8e3e8322a5ad9d@mail.gmail.com> Message-ID: <44C7841F.7080900@byu.edu> Kaushal Shriyan wrote: > Hi ALL > > the question is in the subject line > > Thanks and Regards > > Kaushal > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 FAQ at http://www.nagios.org/faqs/viewfaq.php?faq_id=3 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 23:55:58 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 26 Jul 2006 23:55:58 +0200 (CEST) Subject: It appears as though you do not have permission In-Reply-To: <8514B8AEA269234B82EF64E707E58850097F851D@nahum.mis.fotf.priv> References: <8514B8AEA269234B82EF64E707E58850097F851D@nahum.mis.fotf.priv> Message-ID: On Wed, 26 Jul 2006, Rusch, Daniel wrote: > I have nagios set up so that users must login to get to the main page. > That works Which username do you see in the apache logs? Is it identical to the name used with nagios? And I do not mean Identical but identical. (Windows users tend to forget that case-sensitive is the norm and not the exception. ;-) > I have a user "myuser" that is a contact (the myuser name is a short > name of a contact) for several hosts. myuser logins into the nagios site > gets to the main page then clicks on the host detail or service detail > and gets this error: > > "It appears as though you do not have permission to view information for > any of the services you requested" > > According to the definitions above myuser should be able to see the > hosts or services they are a contact for? Do you use the same contact for host and services on that host? Do you mind showing a sample of your config? It should be something like: define host{ use linux-counter-template host_name aleph.counter.li.org alias aleph.counter.li.org address 158.38.152.241 hostgroups linux-counter contact_groups linux-counter } define service{ use linux-counter-template host_name aleph.counter.li.org service_description HTTP-lugww.counter.li.org check_command check_http_url!lugww.counter.li.org!/index.cms contact_groups linux-counter } define contactgroup { contactgroup_name linux-counter alias linux-counter members hvdkooij } And I know this setup works as I have several users with rights restricted to a few hosts only. 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 16:56:32 2006 From: marc at ena.com (Marc Powell) Date: Wed, 26 Jul 2006 09:56:32 -0500 Subject: not receiving the nagios notifications Message-ID: I'm running out of ideas. Try changing your notify command_line to be -- command_line /bin/echo '/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$' >> /tmp/host-notify Make sure it's all one line. After a notification attempt, the file /tmp/host-notify will contain the command line that nagios would have executed. Try running that as the nagios user. -- Marc > -----Original Message----- > From: tocchetto at gmail.com [mailto:tocchetto at gmail.com] On Behalf Of Felipe > Tocchetto > Sent: Tuesday, July 25, 2006 4:31 PM > To: Marc Powell > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] not receiving the nagios notifications > > Hi Marc > > Here some tests > > The command: > > id;/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: Host > Notification\nHost: teste.xxx.xxxx.br\nState: CRITICAL\nAddress: > 200.xxx.xx.xx\nInfo: CRITICAL - Plugin timed out after 10 > seconds\n\nDate//Time: 24/07/2006 11:11:11\n" | /usr/bin/mail -s > "alert" felipe at tocchetto.com > > just 1 line! > > The output for the command: > > uid=100(nagios) gid=1(other) > > And I receive the email: > > ***** Nagios ***** > > Notification Type: Host > Notification > Host: teste.xxx.xxxx.br > State: CRITICAL > Address: > 200.xxx.xx.xx > Info: CRITICAL - Plugin timed out after 10 > seconds > > Date/Time: 24/07/2006 11:11:11 > > All commands are in just 1 line... > > I am using the default commands from the nagios instalation, I didn?t > change anything. > > > > 2006/7/24, Marc Powell : > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > > bounces at lists.sourceforge.net] On Behalf Of Felipe Tocchetto > > > Sent: Monday, July 24, 2006 3:34 PM > > > To: Nagios Users Mailinglist > > > Subject: Re: [Nagios-users] not receiving the nagios notifications > > > > > > I am using the default command. > > > > > > Manually it works, without the vars. > > > Thanks a lot. > > > > > > I really dont know how to fix it. > > > > > > I see a couple more things that I originally attributed to my mail > > client formatting of your original message. They may actually be > > problems with your config. > > > > # 'host-notify-by-email' command definition > > define command{ > > command_name host-notify-by-email > > command_line /usr/bin/printf "%b" "***** Nagios > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\ > > nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > > $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host > > $HOS > > TSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > > } > > > > In the above definition I see a carriage returns between "$HOSTNAME\" > > and "nState:" as well as between "Host $HOS" and "TSTATE$". Do they > > really exist in your config file? They should not. If no, can you send > > the output of the following command when run as the nagios user? > > > > id;/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: Host > > Notification\nHost: teste.xxx.xxxx.br\nState: CRITICAL\nAddress: > > 200.xxx.xx.xx\nInfo: CRITICAL - Plugin timed out after 10 > > seconds\n\nDate/Time: 24/07/2006 11:11:11\n" | /usr/bin/mail -s "Host > > CRITICAL alert for Test Machine!" felipe at tocchetto.com > > > > > > > > ------ > > > > # 'notify-by-email' command definition > > define command{ > > command_name notify-by-email > > command_line /usr/bin/printf "%b" "***** Nagios > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVI > > CEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\ > > n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - > > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTE > > MAIL$ > > } > > > > In the above command I see a carriage returns between "$SERIV" and > > "CEDESC$" as well as between "$CONTACTE" and "MAIL$". Do they really > > exist in your config file? They should not. > > > > -- > > Marc > > > > ------------------------------------------------------------------------ > - > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys -- and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > Felipe L. Tocchetto > http://felipe.tocchetto.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From loren at uchicago.edu Wed Jul 26 19:08:13 2006 From: loren at uchicago.edu (loren jan wilson) Date: Wed, 26 Jul 2006 12:08:13 -0500 Subject: cpu usage question on solaris Message-ID: <20060726170813.GC12412@solar.uchicago.edu> I'm running Nagios 2.5 on Solaris 10. I've noticed that, no matter how many active service checks I add, cpu usage stays at about 30-40% idle for each of 2 cpus, even though service check latency skyrockets. (max_concurrent_checks is definitely set to zero.) Is this normal? I'd expect it to use all available cpu, so I wonder whether there's a bottleneck. The usual utilities (vmstat, iostat) don't show particularly heinous memory or disk usage. The only thing that looks weird is that there's a very large number of "minor faults" when I run mpstat. The compile is pretty standard. I use the embedded perl interpreter. Perl is multithreaded, as is Nagios. I compiled it with multi-threaded malloc, as well, all 64-bit gcc binaries. Thanks in advance, Loren ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 00:55:01 2006 From: marc at ena.com (Marc Powell) Date: Wed, 26 Jul 2006 17:55:01 -0500 Subject: It appears as though you do not have permission Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rusch, Daniel > Sent: Wednesday, July 26, 2006 1:00 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] It appears as though you do not have permission > > All, > > Goal: to limit what services and hosts individuals can see to the hosts > that they are a contact for. > > The manual states: [chop] > > thoughts? > > below is my httpd.conf file > > > > > > ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ > > > AuthName "Nagios Command Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/.htpasswd.users > require valid-user > > Options ExecCGI > Order allow,deny > Allow from all > In short, you deviated from the documented way of doing it and it got you ;) You've specified that authorization only applies to cmd.cgi when you actually want all the CGI's to know who the user is, especially status.cgi. You get prompted to log in because you have auth enabled for /share but because of the way htaccess works, that information isn't known outside of the /share directory. http://nagios.sourceforge.net/docs/2_0/installweb.html 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 If you were wanting to limit access to cmd.cgi to specific users then you can try something like the following (untested) -- 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 require user bob require user fred -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhawal at netmagicsolutions.com Wed Jul 26 17:22:07 2006 From: dhawal at netmagicsolutions.com (Dhawal Doshy) Date: Wed, 26 Jul 2006 20:52:07 +0530 Subject: How to pronounce Nagios In-Reply-To: <6b16fb4c0607260638x7cf943dx9f8e3e8322a5ad9d@mail.gmail.com> References: <6b16fb4c0607260638x7cf943dx9f8e3e8322a5ad9d@mail.gmail.com> Message-ID: Kaushal Shriyan wrote: > Hi ALL > > the question is in the subject line > > Thanks and Regards > > Kaushal This is a FAQ!! http://www.nagios.org/faqs/viewfaq.php?faq_id=3 - dhawal ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravikmrs at yahoo.com Thu Jul 27 15:41:23 2006 From: ravikmrs at yahoo.com (Ravi Kumar) Date: Thu, 27 Jul 2006 06:41:23 -0700 (PDT) Subject: Graphs Message-ID: <20060727134123.17387.qmail@web53910.mail.yahoo.com> Hi, I'm having issue to generate graphs. Here is what I'm doing. firewall;internal;/usr/lib/nagios/rrd/fw-out-traffic.rrd;public:.1.3.6.1.2.1.2.2.1.10.1|public:.1.3.6.1.2.1.2.2.1.16.1;IN:LINE2 OUT:LINE2;Network throughput;bits/sec; rrdtool create /usr/lib/nagios/rrd/fw-out-traffic.rrd -s 60 DS:IN:COUNTER:300:0:U DS:OUT:COUNTER:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 please suggest. -Ravi --------------------------------- Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail Beta. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 pitchfork at ederdrom.de Thu Jul 27 16:49:47 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 27 Jul 2006 16:49:47 +0200 Subject: Graphs In-Reply-To: <20060727134123.17387.qmail@web53910.mail.yahoo.com> References: <20060727134123.17387.qmail@web53910.mail.yahoo.com> Message-ID: <200607271649.47313.pitchfork@ederdrom.de> Am Donnerstag, 27. Juli 2006 15:41 schrieb Ravi Kumar: > Hi, > I'm having issue to generate graphs. > > Here is what I'm doing. > > firewall;internal;/usr/lib/nagios/rrd/fw-out-traffic.rrd;public:.1.3.6.1.2.1.2.2.1.10.1|public:.1.3.6.1.2.1.2.2.1.16.1;IN:LINE2 OUT:LINE2;Network throughput;bits/sec; > > rrdtool create /usr/lib/nagios/rrd/fw-out-traffic.rrd -s 60 DS:IN:COUNTER:300:0:U DS:OUT:COUNTER:300:0:U RRA:AVERAGE:0.5:1:50400 RRA:AVERAGE:0.5:60:43800 Hi Ravi, why dont you use Tools like NagiosGrapher -> http://www.nagiosexchange.org/NagiosGrapher.84.0.html PNP -> http://www.ederdrom.de/doku.php/nagios/pnp_en Kind regards J?rg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gwcook at arcadis-us.com Wed Jul 26 17:22:42 2006 From: gwcook at arcadis-us.com (Cook, Garry) Date: Wed, 26 Jul 2006 09:22:42 -0600 Subject: How to pronounce Nagios In-Reply-To: <6b16fb4c0607260638x7cf943dx9f8e3e8322a5ad9d@mail.gmail.com> References: <6b16fb4c0607260638x7cf943dx9f8e3e8322a5ad9d@mail.gmail.com> Message-ID: <38D6D515FC15924693F2640881AF4620667B1E@corpexbe2.arcadis-us.com> The answer is in the FAQ. http://nagios.org/faqs/viewfaq.php?faq_id=3&expand=false&showdesc=false Thanks, Garry -----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, July 26, 2006 7:38 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to pronounce Nagios Hi ALL the question is in the subject line Thanks and Regards Kaushal ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 17:13:22 2006 From: jhmartin at toger.us (Jason Martin) Date: Thu, 27 Jul 2006 08:13:22 -0700 Subject: How to monitor transient services? In-Reply-To: References: Message-ID: <20060727151321.GA31323@mal.toger.us> On Wed, Jul 26, 2006 at 10:11:09AM -0400, Janet Post wrote: > report will fail at a time, and I will want notifications sent for all > failures. I don't mind clumping them into one email -- but can NRPE > handle more than one line of return values? Nagios & NRPE only supports one line of text. > Any ideas on how I can solve this dilemma? How can I return multiple > errors for a single check? (I have an oracle tablespace check that > suffers the same problem -- too many transient tablespaces to be > monitored and I don't want to have a check for each TS because they are > too temporary.) To do this in Nagios you'll pretty much have to concatenate all of the errors into one line, such as "X,Y,Z failed". Alternatively, have the plugin store the list of jobs that failed somewhere and have it just alarm you to tell you to visit that location. -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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 ch at westend.com Thu Jul 27 15:35:32 2006 From: ch at westend.com (Christian Hammers) Date: Thu, 27 Jul 2006 15:35:32 +0200 Subject: Event-Handlers for sending SNMP traps on Nagios events? Message-ID: <20060727133532.GB17678@westend.com> Hello I'd like to send SNMP traps on Nagios evens using an event-handler script in misccommands.cfg and the Nagios MIBs I found with google. Has anybody already made event-handler scripts for this? Something that translates the various Nagios states (ACK, OK, CRITICAL) to MIB values and maybe does some further clever things like adding the IF-MIB::ifDescr if the failed object is an interface name... bye, -christian- -- Christian Hammers WESTEND GmbH | Internet-Business-Provider Technik CISCO Systems Partner - Authorized Reseller L?tticher Stra?e 10 Tel 0241/701333-11 ch at westend.com D-52064 Aachen Fax 0241/911879 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle at lodge.glasgownet.com Thu Jul 27 17:33:29 2006 From: kyle at lodge.glasgownet.com (Kyle Gordon) Date: Thu, 27 Jul 2006 16:33:29 +0100 (BST) Subject: CGI segfaults Message-ID: <44586.213.121.212.121.1154014409.squirrel@glasgownet.com> Hi all, I have just compiled up v2.5 on Suse Linux Enterprise Server 9.3, and installed Nagios with almost complete success. The only problem is the CGI files, that are failing to run. They segfault with the following data from strace. selinux is disabled on this machine, and I've been running the commands with the following... REQUEST_METHOD=GET ./status.cgi The output is all good HTML, until this point... write(1, " ) = 93 stat64("/usr/local/nagios/share/ssi/common-header.ssi", 0xbfffe28c) = -1 ENOENT (No such file or directory) stat64("/usr/local/nagios/share/ssi/status-header.ssi", 0xbfffe28c) = -1 ENOENT (No such file or directory) open("/usr/local/nagios/etc/cgi.cfg", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0755, st_size=16996, ...}) = 0 mmap2(NULL, 16996, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4001f000 open("/usr/local/nagios/etc/nagios.cfg", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0644, st_size=21573, ...}) = 0 mmap2(NULL, 21573, PROT_READ, MAP_PRIVATE, 5, 0) = 0x40143000 munmap(0x40143000, 21573) = 0 close(5) = 0 munmap(0x4001f000, 16996) = 0 close(4) = 0 open("/usr/local/nagios/var/comment.log", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0664, st_size=238, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000 read(4, "################################"..., 4096) = 238 read(4, "", 4096) = 0 close(4) = 0 munmap(0x4001f000, 4096) = 0 open("/usr/local/nagios/etc/cgi.cfg", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0755, st_size=16996, ...}) = 0 mmap2(NULL, 16996, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4001f000 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ sles9:/usr/local/nagios/sbin # Any advice would be greatly appreciated :-) Kyle ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From colby.williams at gmail.com Thu Jul 27 17:43:52 2006 From: colby.williams at gmail.com (Colby Williams) Date: Thu, 27 Jul 2006 11:43:52 -0400 Subject: Nagios disaster recovery plan! Message-ID: <10fa72f80607270843o209cba97r1e992666d8cd7977@mail.gmail.com> Has any one come up with a way to back up important Nagios files? Files like: *.cfg and httpd.conf Colby -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 maccy at maccomms.co.uk Thu Jul 27 17:45:19 2006 From: maccy at maccomms.co.uk (Maccy) Date: Thu, 27 Jul 2006 16:45:19 +0100 Subject: [Fwd: Re: Nagios disaster recovery plan!] Message-ID: <1154015119.11093.54.camel@ally.star.le.ac.uk> -------------- next part -------------- An embedded message was scrubbed... From: Maccy Subject: Re: [Nagios-users] Nagios disaster recovery plan! Date: Thu, 27 Jul 2006 16:44:59 +0100 Size: 852 URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 27 17:58:49 2006 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 27 Jul 2006 11:58:49 -0400 Subject: Nagios disaster recovery plan! In-Reply-To: <10fa72f80607270843o209cba97r1e992666d8cd7977@mail.gmail.com> References: <10fa72f80607270843o209cba97r1e992666d8cd7977@mail.gmail.com> Message-ID: <302ce8b50607270858q7e16caebw62a3307820a6eb1e@mail.gmail.com> On 7/27/06, Colby Williams wrote: > Has any one come up with a way to back up important Nagios files? svn and cvs work rather well. It has the added benefit of a version history, so if you break something, you can roll back to a known good one with relative ease. > Files like: > > *.cfg and httpd.conf > > Colby > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen at altien.com Thu Jul 27 18:09:50 2006 From: mgreen at altien.com (Martin J. Green) Date: Thu, 27 Jul 2006 17:09:50 +0100 Subject: plugins In-Reply-To: <5F54491268C784439D51B163322EE58C2F7AD0@gorilla.hq.altien.com> References: <5F54491268C784439D51B163322EE58C2F7AD0@gorilla.hq.altien.com> Message-ID: <5F54491268C784439D51B163322EE58C2F7AEA@gorilla.hq.altien.com> What's wrong with statuswrl - why does it try to pass me itself as a file rather than processing as a cgi all the others run fine. :S M ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 18:21:58 2006 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 27 Jul 2006 12:21:58 -0400 Subject: plugins In-Reply-To: <5F54491268C784439D51B163322EE58C2F7AEA@gorilla.hq.altien.com> References: <5F54491268C784439D51B163322EE58C2F7AD0@gorilla.hq.altien.com> <5F54491268C784439D51B163322EE58C2F7AEA@gorilla.hq.altien.com> Message-ID: <302ce8b50607270921s42b670d4sd4e1303a418c65c@mail.gmail.com> On 7/27/06, Martin J. Green wrote: > What's wrong with statuswrl - why does it try to pass me itself as a > file rather than processing as a cgi all the others run fine. Nothing is wrong with it. Something is wrong with your browser. As in: you're missing the vrml plugin needed to view the output from that cgi. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 18:23:34 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 27 Jul 2006 12:23:34 -0400 Subject: plugins In-Reply-To: <5F54491268C784439D51B163322EE58C2F7AEA@gorilla.hq.altien.com> References: <5F54491268C784439D51B163322EE58C2F7AEA@gorilla.hq.altien.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Martin J. Green > Sent: Thursday, July 27, 2006 9:10 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] plugins > > What's wrong with statuswrl - why does it try to pass me > itself as a file rather than processing as a cgi all the > others run fine. FAQ: http://www.nagios.org/faqs/viewfaq.php?faq_id=52&expand=false&showdesc=f alse ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen at altien.com Thu Jul 27 18:29:45 2006 From: mgreen at altien.com (Martin J. Green) Date: Thu, 27 Jul 2006 17:29:45 +0100 Subject: statusmap.cgi *refuses* to compile In-Reply-To: <1CEF0584D875CE458FAB7545EC4BF5A12C3F89@CBKA0018.intern.combots.com> References: <1CEF0584D875CE458FAB7545EC4BF5A12C3F89@CBKA0018.intern.combots.com> Message-ID: <5F54491268C784439D51B163322EE58C2F7AEC@gorilla.hq.altien.com> ON slackware 10.2, kernel 2.6 with glibc 2.3.6 CFLAGS="-O3 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer" CXXFLAGS=$CFLAGS ./configure --prefix=/usr --sysconfdir=/etc/nagios --localstatedir=/var/nagios --sbindir=/var/nagios/cgi --libexecdir=/usr/libexec/nagios --build=i686-slackware-linux --enable-event-broker --enable-embedded-perl --with-nagios-user=nagios --with-nagios-group=nagios --with-command-user=nobody --with-command-group=nagcmd --with-mail=/usr/bin/nail --with-init-dir=/etc/rc.d --with-perlcache --datadir=/var/nagios/www --with-gd-lib=/usr/lib --with-gd-inc=/usr/include GD, libjpeg & libpng are installed (and no I don't need to install the -devel packages since I don't use redhat... the respective headers & libs are already included) I've rerun ldconfig, even explicitly adding each of gd, libjpeg & libpng with the -l switch to ldconfig, but still nothing. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 18:32:37 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 27 Jul 2006 12:32:37 -0400 Subject: statusmap.cgi *refuses* to compile In-Reply-To: <5F54491268C784439D51B163322EE58C2F7AEC@gorilla.hq.altien.com> References: <5F54491268C784439D51B163322EE58C2F7AEC@gorilla.hq.altien.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Martin J. Green > Sent: Thursday, July 27, 2006 9:30 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] statusmap.cgi *refuses* to compile > > ON slackware 10.2, kernel 2.6 with glibc 2.3.6 > > CFLAGS="-O3 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer" > CXXFLAGS=$CFLAGS ./configure --prefix=/usr > --sysconfdir=/etc/nagios --localstatedir=/var/nagios > --sbindir=/var/nagios/cgi --libexecdir=/usr/libexec/nagios > --build=i686-slackware-linux --enable-event-broker > --enable-embedded-perl --with-nagios-user=nagios > --with-nagios-group=nagios --with-command-user=nobody > --with-command-group=nagcmd --with-mail=/usr/bin/nail > --with-init-dir=/etc/rc.d --with-perlcache > --datadir=/var/nagios/www --with-gd-lib=/usr/lib > --with-gd-inc=/usr/include The error message would definitely help. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen at altien.com Thu Jul 27 18:39:54 2006 From: mgreen at altien.com (Martin J. Green) Date: Thu, 27 Jul 2006 17:39:54 +0100 Subject: statusmap.cgi *refuses* to compile In-Reply-To: References: Message-ID: <5F54491268C784439D51B163322EE58C2F7AEE@gorilla.hq.altien.com> Let me just rebuild gd (used stock package) myself & see if it fixes, if not I'll post error. Update: fixed. Looks like whoever compiled stock gd lib didn't include png support :) Martin -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: 27 July 2006 17:33 To: Martin J. Green; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] statusmap.cgi *refuses* to compile > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Martin J. Green > Sent: Thursday, July 27, 2006 9:30 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] statusmap.cgi *refuses* to compile > > ON slackware 10.2, kernel 2.6 with glibc 2.3.6 > > CFLAGS="-O3 -march=pentium4 -mtune=pentium4 -fomit-frame-pointer" > CXXFLAGS=$CFLAGS ./configure --prefix=/usr > --sysconfdir=/etc/nagios --localstatedir=/var/nagios > --sbindir=/var/nagios/cgi --libexecdir=/usr/libexec/nagios > --build=i686-slackware-linux --enable-event-broker > --enable-embedded-perl --with-nagios-user=nagios > --with-nagios-group=nagios --with-command-user=nobody > --with-command-group=nagcmd --with-mail=/usr/bin/nail > --with-init-dir=/etc/rc.d --with-perlcache > --datadir=/var/nagios/www --with-gd-lib=/usr/lib > --with-gd-inc=/usr/include The error message would definitely help. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rgp at systame.net Thu Jul 27 20:07:39 2006 From: rgp at systame.net (Randall Perry) Date: Thu, 27 Jul 2006 14:07:39 -0400 Subject: recurring scheduled downtime? Message-ID: I have cron jobs which run around 12am daily, pushing running processes to over 300 for a brief time. I'd like to schedule downtime daily between 12:00-12:15am. I don't see a way to do this with the GUI. Would I have to write a script to accomplish it? -- Randall Perry sysTame Xserve Web Hosting/Co-location/Leasing QuickTime Streaming Mac Consulting/Sales http://www.systame.com/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Thu Jul 27 20:15:39 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 27 Jul 2006 20:15:39 +0200 Subject: recurring scheduled downtime? In-Reply-To: References: Message-ID: <200607272015.39611.pitchfork@ederdrom.de> Am Donnerstag, 27. Juli 2006 20:07 schrieb Randall Perry: > I have cron jobs which run around 12am daily, pushing running processes to > over 300 for a brief time. > > I'd like to schedule downtime daily between 12:00-12:15am. I don't see a > way to do this with the GUI. Would I have to write a script to accomplish > it? Hi Randall, yes , you can use a cronjob. Have a look on external commands examples http://www.nagios.org/developerinfo/externalcommands/commandlist.php?category_id=6&version_id=0&btnSubmit=Update Kind regards J?rg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 20:34:48 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 27 Jul 2006 20:34:48 +0200 (CEST) Subject: recurring scheduled downtime? In-Reply-To: References: Message-ID: On Thu, 27 Jul 2006, Randall Perry wrote: > I have cron jobs which run around 12am daily, pushing running processes to > over 300 for a brief time. > > I'd like to schedule downtime daily between 12:00-12:15am. I don't see a way > to do this with the GUI. Would I have to write a script to accomplish it? Why do this the hard way? The easy way: Just define a time period that will exclude this period and use it instead of the default 24x7 definition. Call it 23x7 if you like. 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rgp at systame.net Thu Jul 27 20:48:11 2006 From: rgp at systame.net (Randall Perry) Date: Thu, 27 Jul 2006 14:48:11 -0400 Subject: recurring scheduled downtime? In-Reply-To: References: Message-ID: > On Thu, 27 Jul 2006, Randall Perry wrote: > >> I have cron jobs which run around 12am daily, pushing running processes to >> over 300 for a brief time. >> >> I'd like to schedule downtime daily between 12:00-12:15am. I don't see a way >> to do this with the GUI. Would I have to write a script to accomplish it? > > Why do this the hard way? > > The easy way: > Just define a time period that will exclude this period and use it > instead of the default 24x7 definition. > > Call it 23x7 if you like. > Perfect -- should've thought of it 8-] Thanks -- Randall Perry sysTame Xserve Web Hosting/Co-location/Leasing QuickTime Streaming Mac Consulting/Sales http://www.systame.com/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 27 20:50:17 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Thu, 27 Jul 2006 12:50:17 -0600 Subject: recurring scheduled downtime? Message-ID: <2D0245E43DEC724F81592D697F05689903AD5C2F@SIDHQEXCHMB1.Cabelas.Corp> http://www.nagiosexchange.org/Downtimes.38.0.html?&tx_netnagext_pi1[p_vi ew]=628 I wrote a little utility to do just that. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Randall Perry Sent: Thursday, July 27, 2006 12:08 PM To: Nagios Users Mailinglist Subject: [Nagios-users] recurring scheduled downtime? I have cron jobs which run around 12am daily, pushing running processes to over 300 for a brief time. I'd like to schedule downtime daily between 12:00-12:15am. I don't see a way to do this with the GUI. Would I have to write a script to accomplish it? -- Randall Perry sysTame Xserve Web Hosting/Co-location/Leasing QuickTime Streaming Mac Consulting/Sales http://www.systame.com/ ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Thu Jul 27 21:03:12 2006 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Thu, 27 Jul 2006 21:03:12 +0200 Subject: using 'check_log ' to find and not find In-Reply-To: References: Message-ID: <003e01c6b1af$4efe7550$a601000a@int.consol.de> Hi Ryan and all others, > i have been looking around a bit, but haven't found anything. > anyone know if there is a version of check_log floating > around that will allow me to do a find and a not find? i just released check_logfiles 1.3.2 which is capable of what you're looking for. http://sourceforge.net/projects/check-logfiles > grep "\[\s*ERROR\s*\]\s" | grep -v "test" foo.log > > where i use check_log to find log entries with "[ERROR]" but > ignore log entries that have "[ERROR]" and "test" together in > the same log entry. you would express it in the configuration file like this: ... criticalpatterns => '\[ERROR\]', criticalexceptions => ['\[ERROR\].*test.*', '\[ERROR\].*joke.*'], ... let's assume your logfile looks like this: Jul 26 23:27:25 localhost -- MARK -- Jul 26 23:51:01 localhost something: [ERROR] somethings wrong #1 Jul 27 01:51:01 localhost some other blabla blabla Jul 27 01:51:02 localhost something: [ERROR] no no just a test Jul 27 01:51:04 localhost something: [ERROR] somethings wrong #2 Jul 27 01:51:07 localhost something: [ERROR] somethings wrong #3 haha just a joke then the plugin would produce an output like: CRITICAL - (2 errors in check_somelogfiles.protocol-2006-07-27-20-52-42) - Jul 27 01:51:01 localhost something: [ERROR] somethings wrong #2 ... where you see the last valid match and a reference to a protocol file containing all valid matches: # cat tmp/check_somelogfiles.protocol-2006-07-27-20-52-42 Critical Errors in messages Jul 26 23:51:01 localhost something: [ERROR] somethings wrong #1 Jul 27 01:51:04 localhost something: [ERROR] somethings wrong #2 i hope it is useful for you. Greetings from Munich, Gerhard ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 27 21:26:33 2006 From: subscribe at aehome.net (subscribe) Date: Thu, 27 Jul 2006 14:26:33 -0500 Subject: Nagios disaster recovery plan! In-Reply-To: <10fa72f80607270843o209cba97r1e992666d8cd7977@mail.gmail.com> References: <10fa72f80607270843o209cba97r1e992666d8cd7977@mail.gmail.com> Message-ID: <007c01c6b1b2$a3fc16e0$0208090a@a1> The filesystem backup in webmin works ok. I haven't tried it but rsync should work well also. _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Colby Williams Sent: Thursday, July 27, 2006 10:44 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios disaster recovery plan! Has any one come up with a way to back up important Nagios files? Files like: *.cfg and httpd.conf Colby -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 colby.williams at gmail.com Thu Jul 27 21:36:28 2006 From: colby.williams at gmail.com (Colby Williams) Date: Thu, 27 Jul 2006 15:36:28 -0400 Subject: Nagios disaster recovery plan! In-Reply-To: <007c01c6b1b2$a3fc16e0$0208090a@a1> References: <10fa72f80607270843o209cba97r1e992666d8cd7977@mail.gmail.com> <007c01c6b1b2$a3fc16e0$0208090a@a1> Message-ID: <10fa72f80607271236m1d526c2ap2cfa35dd4180002c@mail.gmail.com> I think rsync will be the best choice. Current thoughts: I will use rsync to backup my files and setup a cron job to run everynight. I actually think that I can do the afore mentiones to back up my files and use "Norton's Ghost" to back up the server to a DVD. Bigger Picture: If Nagios goes down, I can be back up in a couple of hours. I will just have to setup the RAID on the box, re-image it with Ghost and replace the 'cfg' files with the latest backups. Thanks for the help! Colby -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 27 22:06:43 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 27 Jul 2006 16:06:43 -0400 Subject: Nagios disaster recovery plan! In-Reply-To: <10fa72f80607270843o209cba97r1e992666d8cd7977@mail.gmail.com> References: <10fa72f80607270843o209cba97r1e992666d8cd7977@mail.gmail.com> Message-ID: <44C91CD3.4030706@verizon.net> Colby Williams wrote: > Has any one come up with a way to back up important Nagios files? > > Files like: > > *.cfg and httpd.conf > We check all the files in and out with svn. On top of that, I keep a CentOS server CD load running as a virtual machine on VMware. In case the live box goes down, I can simply svn checkout the latest and greatest set of configurations, and start the Nagios service. You're back up and running in the amount of time it takes you to type the svn command, and service nagios start. It's not perfect, but I just had to go forth and use it a few weeks ago when my Nagios host died. The network was not being monitored for maybe 10 minutes tops. Max ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rns3 at psu.edu Thu Jul 27 22:37:04 2006 From: rns3 at psu.edu (Robert Snyder) Date: Thu, 27 Jul 2006 16:37:04 -0400 Subject: advise on upgrage? Message-ID: <20060727203704.31046@studentservices.outreach.psu.edu> Hi, I am currently running Nagios 2.2 on an Mac OS X box. I used the instructions from Mark Duling, and the darwin ports site. It has been running since April and appears to be working just fine. I finally added parent relationships, and broke up my all inclusive minimal.cfg file into individual, host, hostgrp, services, etc. configuration files. Looking over the change log, I am not sure I see any must haves for moving up to 2.5. What is the general consensus on grading for point releases? Are there significant benefits for going from 2.2-2.5? Robert ____________________________________________ Robert Snyder Outreach Technology Services The Pennsylvania State University 151A Outreach Building University Park PA 16802 Phone: 814-865-0912 Fax: 814-865-4406 E-mail: rsnyder at psu.edu ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 19:54:23 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Wed, 26 Jul 2006 11:54:23 -0600 Subject: plugns Message-ID: <2D0245E43DEC724F81592D697F05689903AD5C24@SIDHQEXCHMB1.Cabelas.Corp> It is working as expected... It's expecting to check FREE space, not USED space. ---- check_disk (nagios-plugins 1.4.2) 1.57 Copyright (c) 1999 Ethan Galstad Copyright (c) 1999-2004 Nagios Plugin Development Team This plugin checks the amount of used disk space on a mounted file system and generates an alert if free space is less than one of the threshold values. Usage: check_disk -w limit -c limit [-p path | -x device] [-t timeout] [-m] [-e] [-v] [-q] Options: -h, --help Print detailed help screen -V, --version Print version information -w, --warning=INTEGER Exit with WARNING status if less than INTEGER --units of disk are free -w, --warning=PERCENT% Exit with WARNING status if less than PERCENT of disk space is free -c, --critical=INTEGER Exit with CRITICAL status if less than INTEGER --units of disk are free -c, --critical=PERCENT% Exit with CRITCAL status if less than PERCENT of disk space is free -C, --clear Clear thresholds -u, --units=STRING Choose bytes, kB, MB, GB, TB (default: MB) -k, --kilobytes Same as '--units kB' -m, --megabytes Same as '--units MB' -l, --local Only check local filesystems -p, --path=PATH, --partition=PARTITION Path or partition (may be repeated) -x, --exclude_device=PATH Ignore device (only works if -p unspecified) -X, --exclude-type=TYPE Ignore all filesystems of indicated type (may be repeated) -M, --mountpoint Display the mountpoint instead of the partition -e, --errors-only Display only devices/mountpoints with errors -w, --warning=DOUBLE Response time to result in warning status (seconds) -c, --critical=DOUBLE Response time to result in critical status (seconds) -t, --timeout=INTEGER Seconds before connection times out (default: 10) -v, --verbose Show details for command-line debugging (Nagios may truncate output) Examples: check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 -p / Checks /tmp and /var at 10%,5% and / at 100MB, 50MB Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Martin J. Green Sent: Wednesday, July 26, 2006 11:47 AM To: nagiosplug-help at lists.sourceforge.net Cc: nagios-users at lists.sourceforge.net Subject: [Nagios-users] plugns Having some bizarre problems with plugins - nagios says they don't exist (or passes bollocks output in some cases), even when I've explicitly told it where they are. Take one example... [root at agw01 nagios]# /usr/libexec/nagios/check_disk -w 85% -c 95% -p /dev/hda1 INPUT ERROR: C_DFP (95.000000) should be less than W_DFP (85.0) and both should be between zero and 100 percent, inclusive for /dev/hda1 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] [root at agw01 nagios]# /usr/libexec/nagios/check_disk -w 95% -c 85% -p /dev/hda1 DISK CRITICAL - free space: / 1776 MB (30% inode=84%);| /=4130MB;295;885;84;5905 [root at agw01 nagios]# df Filesystem Size Used Avail Use% Mounted on /dev/hda1 5.8G 3.8G 1.8G 69% / /dev/hda6 32G 27G 5.5G 83% /home [root at agw01 nagios]# 1) Critical & warning seem to be the wrong way round? (Critical *should* be higher than warning, right?) 2) Why did it tell me my disk was critical - its below both thresholds?? Anything I should be doing - can't seem to figure out why its not picking them up. ________________________________________________________________________ ___________________________ The questions remain the same. The answers are eternally variable. Martin J. Green Altien Ltd E: mgreen at altien.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Aaron.Segura at cabelas.com Fri Jul 28 00:07:22 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Thu, 27 Jul 2006 16:07:22 -0600 Subject: plugns Message-ID: <2D0245E43DEC724F81592D697F05689903AD5C34@SIDHQEXCHMB1.Cabelas.Corp> Lag ftw. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Aaron Segura Sent: Wednesday, July 26, 2006 11:54 AM To: nagiosplug-help at lists.sourceforge.net Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] plugns It is working as expected... It's expecting to check FREE space, not USED space. ---- check_disk (nagios-plugins 1.4.2) 1.57 Copyright (c) 1999 Ethan Galstad Copyright (c) 1999-2004 Nagios Plugin Development Team This plugin checks the amount of used disk space on a mounted file system and generates an alert if free space is less than one of the threshold values. Usage: check_disk -w limit -c limit [-p path | -x device] [-t timeout] [-m] [-e] [-v] [-q] Options: -h, --help Print detailed help screen -V, --version Print version information -w, --warning=INTEGER Exit with WARNING status if less than INTEGER --units of disk are free -w, --warning=PERCENT% Exit with WARNING status if less than PERCENT of disk space is free -c, --critical=INTEGER Exit with CRITICAL status if less than INTEGER --units of disk are free -c, --critical=PERCENT% Exit with CRITCAL status if less than PERCENT of disk space is free -C, --clear Clear thresholds -u, --units=STRING Choose bytes, kB, MB, GB, TB (default: MB) -k, --kilobytes Same as '--units kB' -m, --megabytes Same as '--units MB' -l, --local Only check local filesystems -p, --path=PATH, --partition=PARTITION Path or partition (may be repeated) -x, --exclude_device=PATH Ignore device (only works if -p unspecified) -X, --exclude-type=TYPE Ignore all filesystems of indicated type (may be repeated) -M, --mountpoint Display the mountpoint instead of the partition -e, --errors-only Display only devices/mountpoints with errors -w, --warning=DOUBLE Response time to result in warning status (seconds) -c, --critical=DOUBLE Response time to result in critical status (seconds) -t, --timeout=INTEGER Seconds before connection times out (default: 10) -v, --verbose Show details for command-line debugging (Nagios may truncate output) Examples: check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 -p / Checks /tmp and /var at 10%,5% and / at 100MB, 50MB Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Martin J. Green Sent: Wednesday, July 26, 2006 11:47 AM To: nagiosplug-help at lists.sourceforge.net Cc: nagios-users at lists.sourceforge.net Subject: [Nagios-users] plugns Having some bizarre problems with plugins - nagios says they don't exist (or passes bollocks output in some cases), even when I've explicitly told it where they are. Take one example... [root at agw01 nagios]# /usr/libexec/nagios/check_disk -w 85% -c 95% -p /dev/hda1 INPUT ERROR: C_DFP (95.000000) should be less than W_DFP (85.0) and both should be between zero and 100 percent, inclusive for /dev/hda1 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] [root at agw01 nagios]# /usr/libexec/nagios/check_disk -w 95% -c 85% -p /dev/hda1 DISK CRITICAL - free space: / 1776 MB (30% inode=84%);| /=4130MB;295;885;84;5905 [root at agw01 nagios]# df Filesystem Size Used Avail Use% Mounted on /dev/hda1 5.8G 3.8G 1.8G 69% / /dev/hda6 32G 27G 5.5G 83% /home [root at agw01 nagios]# 1) Critical & warning seem to be the wrong way round? (Critical *should* be higher than warning, right?) 2) Why did it tell me my disk was critical - its below both thresholds?? Anything I should be doing - can't seem to figure out why its not picking them up. ________________________________________________________________________ ___________________________ The questions remain the same. The answers are eternally variable. Martin J. Green Altien Ltd E: mgreen at altien.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 alimoreno at linktechno.com Fri Jul 28 03:43:52 2006 From: alimoreno at linktechno.com (Ali Moreno) Date: Thu, 27 Jul 2006 21:43:52 -0400 Subject: advise on upgrage? In-Reply-To: <20060727203704.31046@studentservices.outreach.psu.edu> References: <20060727203704.31046@studentservices.outreach.psu.edu> Message-ID: <372f9fe50607271843g5675bbf5j50b3b9275adaaedb@mail.gmail.com> #aptitude install mondo mondo-doc Excelent ;) -- Al? Moreno Direcci?n de Proyectos IT Link Technologies, C.A. www.linktechno.com 0414 1442444 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 VINAY_SHARMA at advanex.co.jp Fri Jul 28 04:47:55 2006 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Fri, 28 Jul 2006 11:47:55 +0900 Subject: how to resote logs on upgraded nagios server Message-ID: Hi all, I upgraded my old nagios server from 1.x to 2.x on new linux box.how can i move my old logs from old server to new server.i was just copied all logs files from old to new.but its not working. thanks in advance. 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.knights at qut.edu.au Fri Jul 28 05:09:57 2006 From: g.knights at qut.edu.au (Guy Knights) Date: Fri, 28 Jul 2006 13:09:57 +1000 Subject: Main page displaying old data intermittently Message-ID: <44C98005.9010701@qut.edu.au> I'm having a problem with the status display on the service detail page for our nagios server. We had some systems that were fluctuating, and I was clicking between the 'service detail' page and the 'All problems' link on that page. The service details page would show various services down, I would browse to the all problems page and it would show either some of the same services having issues, or that almost everything was ok. Then, I would go back to the service detail page to find that everything looked fine. So, I shut down nagios, backed up the retention file and the objects cache, and restarted nagios. Now, it will show a number of problems on the service detail page - the spread of services looks like it is similar to what was showing as problematic before I did the nagios restart. However, I click on 'all problems' and it shows that everything is ok. I then click back on the service detail page to find that everything appears to be fine. If I then leave the service detail page for a while, it eventually refreshes to say that there are some more issues, including some critical. I then go through the whole thing again with the same result. I haven't confirmed if it is displaying historical 'problems', or if it is just showing random issues, but it's making me extremely frustrated. Has anyone else experienced anything like this? Note: it seems to have settled down slightly while I've been writing this email, but it is still doing this, just a bit less than before. Thanks, Guy -- Guy Knights Computer Systems Officer QUT Library Systems Room 320 D Block Victoria Park Road Kelvin Grove QLD 4059 Ph: (07) 3864 3379 Email: g.knights at qut.edu.au ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 05:17:36 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 27 Jul 2006 23:17:36 -0400 Subject: how to resote logs on upgraded nagios server 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 VINAY_SHARMA at advanex.co.jp > Sent: Thursday, July 27, 2006 7:48 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] how to resote logs on upgraded nagios server > > Hi all, > > I upgraded my old nagios server from 1.x to 2.x on > new linux box.how can i move my old logs from old server to > new server.i was just copied all logs files from old to > new.but its not working. What are you expecting to happen that's not happening? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 05:19:25 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 27 Jul 2006 23:19:25 -0400 Subject: Main page displaying old data intermittently In-Reply-To: <44C98005.9010701@qut.edu.au> References: <44C98005.9010701@qut.edu.au> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Guy Knights > Sent: Thursday, July 27, 2006 8:10 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Main page displaying old data intermittently > > I'm having a problem with the status display on the service > detail page for our nagios server. We had some systems that > were fluctuating, and I was clicking between the 'service > detail' page and the 'All problems' > link on that page. The service details page would show > various services down, I would browse to the all problems > page and it would show either some of the same services > having issues, or that almost everything was ok. Then, I > would go back to the service detail page to find that > everything looked fine. http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=f alse ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Fri Jul 28 05:25:48 2006 From: nagios at ayksolutions.com (nagios) Date: Thu, 27 Jul 2006 23:25:48 -0400 Subject: how to string commands? Message-ID: <44C983BC.8050908@ayksolutions.com> Hello, I am defining a template for my linux machines. I'd like the check_command for that template to have it check ping, local drive, pop, httpd, etc.... How can I string them together? Would something like this work: check_command check-host-alive; check-pop; etc.. or do I need to use commas or is this completely illegal? Thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 05:29:00 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 27 Jul 2006 23:29:00 -0400 Subject: how to string commands? In-Reply-To: <44C983BC.8050908@ayksolutions.com> References: <44C983BC.8050908@ayksolutions.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of nagios > Sent: Thursday, July 27, 2006 8:26 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] how to string commands? > > Hello, > > I am defining a template for my linux machines. I'd like the > check_command for that template to have it check ping, local > drive, pop, httpd, etc.... How can I string them together? > Would something like this > work: > > check_command check-host-alive; check-pop; etc.. > > or do I need to use commas or is this completely illegal? It won't work. Each check commad can only have one result. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Fri Jul 28 06:11:55 2006 From: nagios at ayksolutions.com (nagios) Date: Fri, 28 Jul 2006 00:11:55 -0400 Subject: defining a hostgroup Message-ID: <44C98E8B.7010506@ayksolutions.com> Hello, I currently setup hostgroups.cfg in which I have the following: define hostgroup{ hostgroup_name linux alias Linux } When I run the -v test to see if everything is alright before turning on Nagios, it throws the following error: Invalid object definition of type 'hostgroup'. Any idea what I may be doing wrong? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 00:30:07 2006 From: marc at ena.com (Marc Powell) Date: Wed, 26 Jul 2006 17:30:07 -0500 Subject: not receiving the nagios notifications Message-ID: > -----Original Message----- > From: tocchetto at gmail.com [mailto:tocchetto at gmail.com] On Behalf Of Felipe > Tocchetto > Sent: Wednesday, July 26, 2006 2:54 PM > To: Marc Powell > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] not receiving the nagios notifications > > Hi Marc > > Thaks for your effort in help me. > > Here is the commands outputs > > bash-3.00$ /bin/echo '/usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: > $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host > $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$' >> /tmp/host-notify > I meant for you to replace your current command_line in your host-notify-by-email command{} definition and trigger a failure again. After a notification attempt had been made by nagios, look at the contents of /tmp/host-notify for the command that nagios would have attempted to execute. I am attempting to discern _exactly_ what it is nagios is trying to do when it sends the notification and whether that actually works when you try it manually. There just might be different behavior when the macros get filled with appropriate data that we're missing. It's a stretch but I'm running out of ideas myself. It's good that you did this though as I can see that on whatever OS you are running the default behavior of echo is to interpret backslash-escaped characters (\n). You must determine from the echo man page (man echo) the command line switch to disable that and add it after '/bin/echo' in the command_line definition. It's probably -E so you would use "/bin/echo -E '/usr/bin/printf..." -- Marc > > 2006/7/26, Marc Powell : > > I'm running out of ideas. Try changing your notify command_line to be -- > > > > command_line /bin/echo '/usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for > $HOSTNAME$!" $CONTACTEMAIL$' >> /tmp/host-notify > > > > Make sure it's all one line. After a notification attempt, the file > /tmp/host-notify will contain the command line that nagios would have > executed. Try running that as the nagios user. > > > > -- > > Marc > > > > > -----Original Message----- > > > From: tocchetto at gmail.com [mailto:tocchetto at gmail.com] On Behalf Of > Felipe > > > Tocchetto > > > Sent: Tuesday, July 25, 2006 4:31 PM > > > To: Marc Powell > > > Cc: Nagios Users Mailinglist > > > Subject: Re: [Nagios-users] not receiving the nagios notifications > > > > > > Hi Marc > > > > > > Here some tests > > > > > > The command: > > > > > > id;/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: Host > > > Notification\nHost: teste.xxx.xxxx.br\nState: CRITICAL\nAddress: > > > 200.xxx.xx.xx\nInfo: CRITICAL - Plugin timed out after 10 > > > seconds\n\nDate//Time: 24/07/2006 11:11:11\n" | /usr/bin/mail -s > > > "alert" felipe at tocchetto.com > > > > > > just 1 line! > > > > > > The output for the command: > > > > > > uid=100(nagios) gid=1(other) > > > > > > And I receive the email: > > > > > > ***** Nagios ***** > > > > > > Notification Type: Host > > > Notification > > > Host: teste.xxx.xxxx.br > > > State: CRITICAL > > > Address: > > > 200.xxx.xx.xx > > > Info: CRITICAL - Plugin timed out after 10 > > > seconds > > > > > > Date/Time: 24/07/2006 11:11:11 > > > > > > All commands are in just 1 line... > > > > > > I am using the default commands from the nagios instalation, I didn?t > > > change anything. > > > > > > > > > > > > 2006/7/24, Marc Powell : > > > > > > > > > > > > > -----Original Message----- > > > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- > users- > > > > > bounces at lists.sourceforge.net] On Behalf Of Felipe Tocchetto > > > > > Sent: Monday, July 24, 2006 3:34 PM > > > > > To: Nagios Users Mailinglist > > > > > Subject: Re: [Nagios-users] not receiving the nagios notifications > > > > > > > > > > I am using the default command. > > > > > > > > > > Manually it works, without the vars. > > > > > Thanks a lot. > > > > > > > > > > I really dont know how to fix it. > > > > > > > > > > > > I see a couple more things that I originally attributed to my mail > > > > client formatting of your original message. They may actually be > > > > problems with your config. > > > > > > > > # 'host-notify-by-email' command definition > > > > define command{ > > > > command_name host-notify-by-email > > > > command_line /usr/bin/printf "%b" "***** Nagios > > > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\ > > > > nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > > > > $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s > "Host > > > > $HOS > > > > TSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > > > > } > > > > > > > > In the above definition I see a carriage returns between > "$HOSTNAME\" > > > > and "nState:" as well as between "Host $HOS" and "TSTATE$". Do they > > > > really exist in your config file? They should not. If no, can you > send > > > > the output of the following command when run as the nagios user? > > > > > > > > id;/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: > Host > > > > Notification\nHost: teste.xxx.xxxx.br\nState: CRITICAL\nAddress: > > > > 200.xxx.xx.xx\nInfo: CRITICAL - Plugin timed out after 10 > > > > seconds\n\nDate/Time: 24/07/2006 11:11:11\n" | /usr/bin/mail -s > "Host > > > > CRITICAL alert for Test Machine!" felipe at tocchetto.com > > > > > > > > > > > > > > > > ------ > > > > > > > > # 'notify-by-email' command definition > > > > define command{ > > > > command_name notify-by-email > > > > command_line /usr/bin/printf "%b" "***** Nagios > > > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVI > > > > CEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > > > > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\ > > > > n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - > > > > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTE > > > > MAIL$ > > > > } > > > > > > > > In the above command I see a carriage returns between "$SERIV" and > > > > "CEDESC$" as well as between "$CONTACTE" and "MAIL$". Do they really > > > > exist in your config file? They should not. > > > > > > > > -- > > > > Marc > > > > > > > > -------------------------------------------------------------------- > ---- > > > - > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > Join SourceForge.net's Techsay panel and you'll get the chance to > share > > > your > > > > opinions on IT & business topics through brief surveys -- and earn > cash > > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > > > > > > > > > -- > > > Felipe L. Tocchetto > > > http://felipe.tocchetto.com > > > > > -- > Felipe L. Tocchetto > http://felipe.tocchetto.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 07:36:14 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 28 Jul 2006 07:36:14 +0200 (CEST) Subject: how to string commands? In-Reply-To: <44C983BC.8050908@ayksolutions.com> References: <44C983BC.8050908@ayksolutions.com> Message-ID: On Thu, 27 Jul 2006, nagios wrote: > I am defining a template for my linux machines. I'd like the > check_command for that template to have it check ping, local drive, pop, > httpd, etc.... How can I string them together? Would something like this > work: > > check_command check-host-alive; check-pop; etc.. > > or do I need to use commas or is this completely illegal? I tihink you need to do this the other way around. Use 1 service type and add multiple hosts to it. Like: define service{ use linux-counter-template host_name aleph.counter.li.org,beth.counter.li.org service_description DNS check_command check_dig!1!6!counter.li.org contact_groups linux-counter } 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 07:46:21 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 28 Jul 2006 01:46:21 -0400 Subject: defining a hostgroup In-Reply-To: <44C98E8B.7010506@ayksolutions.com> References: <44C98E8B.7010506@ayksolutions.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of nagios > Sent: Thursday, July 27, 2006 9:12 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] defining a hostgroup > > Hello, > > I currently setup hostgroups.cfg in which I have the following: > > define hostgroup{ > hostgroup_name linux > alias Linux > } > > When I run the -v test to see if everything is alright before > turning on Nagios, it throws the following error: > > Invalid object definition of type 'hostgroup'. Any idea what > I may be doing wrong? Which version of Nagios? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Tue Jul 25 23:51:23 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 26 Jul 2006 09:51:23 +1200 Subject: Why do I get these socket timeouts?!?! In-Reply-To: <1153841867.2665.70.camel@dl.e-dba.net> References: <1153841867.2665.70.camel@dl.e-dba.net> Message-ID: <91138DE5314775409830CC77A3E6EE013CE97D@uxchange1.UoA.auckland.ac.nz> > > CHECK_NRPE: Socket timeout after 10 seconds. This is the check_nrpe timing out. There are 3 or 4 timeouts to check -- 1)Service checks have a global timeout in nagios.cfg. This is usually about 30sec 2)check_nrpe has a timeout specified by -t. This is usually 10sec. 3)The remote nrpe agent has a timeout, command_timeout in nrpe.cfg. This is usually about 20sec. 4)The plugin being run remotely may have its own timeout specified on the command line. Normally, (1) should be the largest number. (3) should always be greater than (4), and (2) should be greater than (4). (3) should be larger than the biggest (4) you have. This will mean that you get timeout messages from the plugins rather than from the Nagios server. In your case, the timeout is coming from (2). This would normally indicate that your remote NRPE is having problems, but it may also mean that your (2) timeout is smaller than your (3) or (4) timeouts. On our server, (1) is set to 60sec, (2) is usually 20sec, (3) is 19sec and (4) is 10sec. This means that we receive more helpful timeout messages, as we know at which point the problem is. Steve ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 28 09:58:03 2006 From: Mika.Borner at clariden.com (Mika Borner) Date: Fri, 28 Jul 2006 09:58:03 +0200 Subject: On-Demand Macros Message-ID: <44C9DFAB0200001A00005D22@zh02.cbintra.net> Hi Can somebody explain me the on-demand macros? I just don't get it after RTFMing. I have a service check which is run on host1. The service itself is runs on host2. How can I run the check, in a way that it does not use to hostname defined in the service description? How do I have to define the service? Kind regards Mika ------------------------------------------------------------------------- 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. ------------------------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 10:02:15 2006 From: nagios at kilala.nl (Thomas Slutyer) Date: Fri, 28 Jul 2006 10:02:15 +0200 Subject: how to string commands? In-Reply-To: References: Message-ID: >> I am defining a template for my linux machines. I'd like the >> check_command for that template to have it check ping, local >> drive, pop, httpd, etc.... How can I string them together? >> Would something like this >> work: >> >> check_command check-host-alive; check-pop; etc.. >> >> or do I need to use commas or is this completely illegal? > > It won't work. Each check commad can only have one result. Whereas Nagios' syntax will not allow for such trickery, you -could- however make a composite check script yourself. Just create a shell script that calls all of the checks you want to perform and let the script decide on the exit code and alarm message, based on the output of the other checks. This way I've create "real" service checks for our SMTP environment for example. Why? Because a mail environment is more than just a running SMTP daemon. My script checks: * Are the main SMTP VIPs (Virtual IPs) available in DNS? * Is the load balancer running the VIP properly? * How many SMTP servers out of our complete pool are up and available for SMTP? * Are we able to connect to send a message. That way you can safely say that service X works properly :) Cheers! Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 10:13:59 2006 From: nagios at kilala.nl (Thomas Slutyer) Date: Fri, 28 Jul 2006 10:13:59 +0200 Subject: defining a hostgroup In-Reply-To: References: Message-ID: <764b19a43118acafa0dbe1e1f073a71d@kilala.nl> >> I currently setup hostgroups.cfg in which I have the following: >> >> define hostgroup{ >> hostgroup_name linux >> alias Linux >> } >> >> When I run the -v test to see if everything is alright before >> turning on Nagios, it throws the following error: >> >> Invalid object definition of type 'hostgroup'. Any idea what >> I may be doing wrong? *cough* The manual clearly states that the "members" field is a requisite for a hostgroup definition. Even if it doesn't have any members (just leave it blank). <3 Cheers! Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 12:24:42 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Fri, 28 Jul 2006 11:24:42 +0100 Subject: On-Demand Macros In-Reply-To: <44C9DFAB0200001A00005D22@zh02.cbintra.net> References: <44C9DFAB0200001A00005D22@zh02.cbintra.net> Message-ID: <44C9E5EA.4040301@gmail.com> Mika Borner wrote: > Hi > > Can somebody explain me the on-demand macros? I just don't get it after > RTFMing. > > I have a service check which is run on host1. The service itself is > runs on host2. How can I run the check, in a way that it does not use to > hostname defined in the service description? > > How do I have to define the service? > > Kind regards > Mika > > > > > ------------------------------------------------------------------------- > 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. > ------------------------------------------------------------------------- > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > please clarify, the nagios is running on host 1 and the service is on host 2. The definitions are pretty straight forward, don't be shy to read all the docs through 3-4 times to make sure you understand. define command{ command name SOMENAMEGOESHERE command_line path/to/plugin -o -p -t -i -o -n -s -H 192.168.1.50 } if in the options you put -H $HOSTADDRESS$ then it uses ip of the host name from the service description (which is defined in the host {} definition for that name), otherwise you could put the ip as shown above. re-read all the docs over and over until you get it, sometimes I have to do that too... -h ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 12:27:06 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Fri, 28 Jul 2006 11:27:06 +0100 Subject: [Fwd: Re: Nagios disaster recovery plan!] In-Reply-To: <1154015119.11093.54.camel@ally.star.le.ac.uk> References: <1154015119.11093.54.camel@ally.star.le.ac.uk> Message-ID: <44C9E67A.4020302@gmail.com> Maccy wrote: > > ------------------------------------------------------------------------ > > Subject: > Re: [Nagios-users] Nagios disaster recovery plan! > From: > Maccy > Date: > Thu, 27 Jul 2006 16:44:59 +0100 > To: > Colby Williams > > To: > Colby Williams > > > On Thu, 2006-07-27 at 11:43 -0400, Colby Williams wrote: > >> Has any one come up with a way to back up important Nagios files? >> >> Files like: >> >> *.cfg and httpd.conf >> > > I rsync them to a disk on another system automatically each night. > > Mark > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null that's fine, you could also set up a subversion repository which is what I have and am intending to tidy up and then import into there, which gives you revision control as well as a backup. I have the repository itself backed up as well... although just rsyncing it is perfectly all right.... -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 kaushalshriyan at gmail.com Fri Jul 28 12:39:14 2006 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Fri, 28 Jul 2006 16:09:14 +0530 Subject: How do i run Nagios as non root Message-ID: <6b16fb4c0607280339k6107ea5ap7b9d142eaf00f23@mail.gmail.com> Hi How do i run Nagios as non root Thanks and Regards Kaushal ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 28 12:55:42 2006 From: Mika.Borner at clariden.com (Mika Borner) Date: Fri, 28 Jul 2006 12:55:42 +0200 Subject: On-Demand Macros In-Reply-To: <44C9E5EA.4040301@gmail.com> References: <44C9DFAB0200001A00005D22@zh02.cbintra.net> <44C9E5EA.4040301@gmail.com> Message-ID: <44CA094E0200001A00005D4F@zh02.cbintra.net> >please clarify, the nagios is running on host 1 and the service is on >host 2. The definitions are pretty straight forward, don't be shy to >read all the docs through 3-4 times to make sure you understand. Nagios is running on Host0, the check runs on host1 for a service on host2 ------------------------------------------------------------------------- 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. ------------------------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen at altien.com Fri Jul 28 13:12:42 2006 From: mgreen at altien.com (Martin J. Green) Date: Fri, 28 Jul 2006 12:12:42 +0100 Subject: NRPE In-Reply-To: <5F54491268C784439D51B163322EE58C2F7AEE@gorilla.hq.altien.com> References: <5F54491268C784439D51B163322EE58C2F7AEE@gorilla.hq.altien.com> Message-ID: <5F54491268C784439D51B163322EE58C2F7B09@gorilla.hq.altien.com> Having problems getting NRPE to connect. Followed the manual, checked the faq, still nothing. The status in service detail in web interface shows... CHECK_NRPE: Socket timeout after 10 seconds. I've switched debug on, but still see no errors in syslog. Config on nagios host is as follows... define host{ use generic-host ; Name of host template to use host_name dell05 alias dell05.dev.altien.com address 192.168.0.37 check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } define service{ use generic-service ; Name of service template to use host_name dell05 service_description Root Partition is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_nrpe!check_disk1 } define command{ command_name check_nrpe command_line /usr/libexec/nagios/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } Client machine has command[check_disk1]=/usr/libexec/nagios/check_disk -w 10% -c 5% -p /dev/hda1 (That command works locally) When I try and execute check_nrpe on nagios host, it returns the same error: root at backup:/usr/libexec/nagios# ./check_nrpe -H 192.168.0.37 -p 5666 -c check_disk1 CHECK_NRPE: Socket timeout after 10 seconds. It's possible it's a network problem - we have two segments connected by firewall/bridge. This is one of the few machines that are connected to both - it has two NIC's - the client machine is on the subnet of the second NIC, so if nagios is binding to the first nic only that would cause the problem? M ___________________________________________________________________ _________ The questions remain the same. The answers are eternally variable. Martin J. Green Altien Ltd E: mgreen at altien.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 07:55:05 2006 From: lists at wansecurity.com (Robert Smith) Date: Wed, 26 Jul 2006 14:55:05 +0900 Subject: Why do I get these socket timeouts?!?! In-Reply-To: <1153841867.2665.70.camel@dl.e-dba.net> References: <200607251529.k6PFTBhU005454@trigger.e-dba.net> <1153841867.2665.70.camel@dl.e-dba.net> Message-ID: <44C703B9.20205@wansecurity.com> The error is a little misleading. This just means that whatever process you are executing is not completing within 10 seconds. It doesn't hurt anything to change that to 20 or 30 for busy hosts and networks. -Robert Greg Cope wrote: > Hi All, > > I seem to get these quite a bit on a hosts running oracle RAC. Using > either NRPE as a daemon or via xinetd does not make a difference. > > NRPE is using SSL. > > Any ideas what I should look for? > > Both hosts can get quite busy (IO/CPU). > > Or is 10 secs too short? I would have thought it is more than enough to > connect to a TCP port and do some SSL. > > Ta. > > Greg > > > On Tue, 2006-07-25 at 16:29 +0100, nagios wrote: > >> ***** Nagios ***** >> >> Notification Type: PROBLEM >> >> Service: PROCS >> State: CRITICAL >> >> Date/Time: Tue Jul 25 16:29:11 BST 2006 >> >> Additional Info: >> >> CHECK_NRPE: Socket timeout after 10 seconds. >> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen at altien.com Fri Jul 28 13:40:38 2006 From: mgreen at altien.com (Martin J. Green) Date: Fri, 28 Jul 2006 12:40:38 +0100 Subject: NRPE Message-ID: <5F54491268C784439D51B163322EE58C2F7B0D@gorilla.hq.altien.com> Doesn't look like its binding to the wrong NIC - I can issue the same command on nagios host to a machine not running NRPE & it correctly gives connection refused. I've even tried upping the timeout to 30, I still get timed out. M -----Original Message----- From: Martin J. Green Sent: 28 July 2006 12:13 To: nagios-users at lists.sourceforge.net Cc: 'nagiosplug-help at lists.sourceforge.net' Subject: NRPE Having problems getting NRPE to connect. Followed the manual, checked the faq, still nothing. The status in service detail in web interface shows... CHECK_NRPE: Socket timeout after 10 seconds. I've switched debug on, but still see no errors in syslog. Config on nagios host is as follows... define host{ use generic-host ; Name of host template to use host_name dell05 alias dell05.dev.altien.com address 192.168.0.37 check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } define service{ use generic-service ; Name of service template to use host_name dell05 service_description Root Partition is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_nrpe!check_disk1 } define command{ command_name check_nrpe command_line /usr/libexec/nagios/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } Client machine has command[check_disk1]=/usr/libexec/nagios/check_disk -w 10% -c 5% -p /dev/hda1 (That command works locally) When I try and execute check_nrpe on nagios host, it returns the same error: root at backup:/usr/libexec/nagios# ./check_nrpe -H 192.168.0.37 -p 5666 -c check_disk1 CHECK_NRPE: Socket timeout after 10 seconds. It's possible it's a network problem - we have two segments connected by firewall/bridge. This is one of the few machines that are connected to both - it has two NIC's - the client machine is on the subnet of the second NIC, so if nagios is binding to the first nic only that would cause the problem? M ___________________________________________________________________ _________ The questions remain the same. The answers are eternally variable. Martin J. Green Altien Ltd E: mgreen at altien.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 13:52:38 2006 From: nagios at kilala.nl (Thomas Slutyer) Date: Fri, 28 Jul 2006 13:52:38 +0200 Subject: NRPE In-Reply-To: <5F54491268C784439D51B163322EE58C2F7B09@gorilla.hq.altien.com> References: <5F54491268C784439D51B163322EE58C2F7B09@gorilla.hq.altien.com> Message-ID: <84885a91d7ec43030443517e9a06362a@kilala.nl> > Having problems getting NRPE to connect. Followed the manual, checked > the faq, still nothing. All your definitions look alright at a glance... Check the following: * firewall * access control list in /usr/local/nagios/etc/nrpe.cfg * access control list in /etc/hosts.allow * try telnet-ing to the NRPE port, from the Nagios server. Good luck! Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen at altien.com Fri Jul 28 13:58:54 2006 From: mgreen at altien.com (Martin J. Green) Date: Fri, 28 Jul 2006 12:58:54 +0100 Subject: NRPE In-Reply-To: <84885a91d7ec43030443517e9a06362a@kilala.nl> References: <84885a91d7ec43030443517e9a06362a@kilala.nl> Message-ID: <5F54491268C784439D51B163322EE58C2F7B0E@gorilla.hq.altien.com> -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Thomas Slutyer Sent: 28 July 2006 12:53 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE > Having problems getting NRPE to connect. Followed the manual, checked > the faq, still nothing. All your definitions look alright at a glance... Check the following: * firewall No firewall on either machine. * access control list in /usr/local/nagios/etc/nrpe.cfg Done. It was commented out, I've changed it include all ips on both subnets of the nagios machine Jul 28 12:55:03 dell05 nrpe[32259]: Allowing connections from: 127.0.0.1,192.168.0.34,10.0.0.34 root at backup:/usr/libexec/nagios# ./check_nrpe -H 192.168.0.37 -t 30 -c check_disk1 CHECK_NRPE: Socket timeout after 30 seconds. * access control list in /etc/hosts.allow I'm not using inetd - I'm running as daemon (both deny and allow are blank in any event) * try telnet-ing to the NRPE port, from the Nagios server. Did that. I get a connection, nothing other than that - no greeting etc. Just doesn't seem to work :S Incidentally, this is the second machine I've tried it on. Couldn't connect to other machine either. M ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 14:08:00 2006 From: dave at umiacs.umd.edu (Dave Stern) Date: Fri, 28 Jul 2006 08:08:00 -0400 (EDT) Subject: how to string commands? In-Reply-To: References: Message-ID: On Fri, 28 Jul 2006, Thomas Slutyer wrote: >>> I am defining a template for my linux machines. I'd like the >>> check_command for that template to have it check ping, local >>> drive, pop, httpd, etc.... How can I string them together? >>> Would something like this >>> work: >>> >>> check_command check-host-alive; check-pop; etc.. >>> >>> or do I need to use commas or is this completely illegal? >> >> It won't work. Each check commad can only have one result. > > Whereas Nagios' syntax will not allow for such trickery, you -could- > however make a composite check script yourself. Just create a shell > script that calls all of the checks you want to perform and let the > script decide on the exit code and alarm message, based on the output > of the other checks. > > This way I've create "real" service checks for our SMTP environment for > example. Why? Because a mail environment is more than just a running > SMTP daemon. My script checks: > * Are the main SMTP VIPs (Virtual IPs) available in DNS? > * Is the load balancer running the VIP properly? > * How many SMTP servers out of our complete pool are up and available > for SMTP? > * Are we able to connect to send a message. > > That way you can safely say that service X works properly :) > Great idea for single services such as smtp but not so good for overall system health as it's difficult to quantify. For smtp, you might right a script to - see that smtp is running - see that the spool area has free space - see that system load is reasonable (que load average for sendmail might otherwise start refusing new messages) .... and finally if all is well, send back a good status, if not, decide on status (warning or critical) and output appropriate message. But even here, the problem is that the different things you're checking are not necessarily reliant on each other so several of the above could have problems and if so, what should the overall status and output message be. So by extension, writing a single script to test many unrelated items defining the overall health of a host can result in confusing output. =-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-= David Stern University of Maryland Institute for Advanced Computer Studies ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen at altien.com Fri Jul 28 14:20:20 2006 From: mgreen at altien.com (Martin J. Green) Date: Fri, 28 Jul 2006 13:20:20 +0100 Subject: NRPE In-Reply-To: <84885a91d7ec43030443517e9a06362a@kilala.nl> References: <84885a91d7ec43030443517e9a06362a@kilala.nl> Message-ID: <5F54491268C784439D51B163322EE58C2F7B10@gorilla.hq.altien.com> There's definitely connectivity of some variety. Whenever I issue a command from nagios machine to nrpe host, the log on nrpe host shows... Jul 28 13:18:47 dell05 nrpe[5117]: Could not read request from client, bailing out... -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Thomas Slutyer Sent: 28 July 2006 12:53 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE > Having problems getting NRPE to connect. Followed the manual, checked > the faq, still nothing. All your definitions look alright at a glance... Check the following: * firewall * access control list in /usr/local/nagios/etc/nrpe.cfg * access control list in /etc/hosts.allow * try telnet-ing to the NRPE port, from the Nagios server. Good luck! Thomas ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 28 15:22:32 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Fri, 28 Jul 2006 08:22:32 -0500 Subject: Host and/or Service availability report Message-ID: I have two items: 1. If I'd like to "purge" host availability report, is this possible? Basically clearing out the history of uptime/downtime... 2. We had a PIX firewall go down and was manually failed over to backup. Outage lasted about 10 mins. This isn't refected in the host availablity report? Shows all green.... However, we did get "PROBLEM ALERT"'s for PING service. -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Peter.Ringe at web.de Fri Jul 28 15:40:12 2006 From: Peter.Ringe at web.de (Peter Ringe) Date: Fri, 28 Jul 2006 15:40:12 +0200 Subject: NRPE In-Reply-To: <5F54491268C784439D51B163322EE58C2F7B09@gorilla.hq.altien.com> References: <5F54491268C784439D51B163322EE58C2F7B09@gorilla.hq.altien.com> Message-ID: <44CA13BC.5000502@web.de> Martin J. Green schrieb: > Having problems getting NRPE to connect. Followed the manual, checked > the faq, still nothing. > > .... > > When I try and execute check_nrpe on nagios host, it returns the same > error: > > root at backup:/usr/libexec/nagios# ./check_nrpe -H 192.168.0.37 -p 5666 -c > check_disk1 > CHECK_NRPE: Socket timeout after 10 seconds. > > It's possible it's a network problem - we have two segments connected by > firewall/bridge. This is one of the few machines that are connected to > both - it has two NIC's - the client machine is on the subnet of the > second NIC, so if nagios is binding to the first nic only that would > cause the problem? > > M > > check again nrpe.cfg on the remote host look for "server_name". Is it referencing to the right Interface ? > ___________________________________________________________________ > _________ > The questions remain the same. The answers are eternally variable. > > Martin J. Green > Altien Ltd > E: mgreen at altien.com > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen at altien.com Fri Jul 28 15:45:37 2006 From: mgreen at altien.com (Martin J. Green) Date: Fri, 28 Jul 2006 14:45:37 +0100 Subject: NRPE In-Reply-To: <44CA13BC.5000502@web.de> References: <44CA13BC.5000502@web.de> Message-ID: <5F54491268C784439D51B163322EE58C2F7B15@gorilla.hq.altien.com> There isn't a server name in nrpe.cfg, nor is it documented in any of the docs - can u enlighten me further? M -----Original Message----- From: Peter.Ringe at web.de [mailto:Peter.Ringe at web.de] Sent: 28 July 2006 14:40 To: Martin J. Green Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE Martin J. Green schrieb: > Having problems getting NRPE to connect. Followed the manual, checked > the faq, still nothing. > > .... > > When I try and execute check_nrpe on nagios host, it returns the same > error: > > root at backup:/usr/libexec/nagios# ./check_nrpe -H 192.168.0.37 -p 5666 -c > check_disk1 > CHECK_NRPE: Socket timeout after 10 seconds. > > It's possible it's a network problem - we have two segments connected by > firewall/bridge. This is one of the few machines that are connected to > both - it has two NIC's - the client machine is on the subnet of the > second NIC, so if nagios is binding to the first nic only that would > cause the problem? > > M > > check again nrpe.cfg on the remote host look for "server_name". Is it referencing to the right Interface ? > ___________________________________________________________________ > _________ > The questions remain the same. The answers are eternally variable. > > Martin J. Green > Altien Ltd > E: mgreen at altien.com > > ------------------------------------------------------------------------ - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From felipe at tocchetto.com Fri Jul 28 15:48:01 2006 From: felipe at tocchetto.com (Felipe Tocchetto) Date: Fri, 28 Jul 2006 10:48:01 -0300 Subject: not receiving the nagios notifications In-Reply-To: References: Message-ID: <4f70c5c80607280648u2c39470cj8fb1a62e71f16fa@mail.gmail.com> Hi Marc I changed the command in the misccomands.cfg to the one you suggest, it creates the file, and here is the output. I supress some of my host and IP information. bash-3.00# more /tmp/host-notify /usr/bin/printf "%b" "***** Nagios ***** Notification Type: PROBLEM Host: host.xx-xx.xx.x State: DOWN Address: 200.000.00.00 Info: CRITICAL - Plugin timed out after 10 seconds Date/Time: Fri Jul 28 10:27:14 BRT 2006 " | /usr/bin/mail -s "Host DOWN alert for host.xx-xx.xx.x!" felipe at tocchetto.com Information about my OS: SunOS 5.10 Generic_118844-26 i86pc i386 i86pc I notice somethig: bash-3.00# printf TEST123 | mail -s "test mail to felipe" felipe at tocchetto.com Without the "!" in the end of the subject it was sent with no problems bash-3.00# printf TEST123 | mail -s "test mail to felipe!" felipe at tocchetto.com bash: !": event not found and now with the "!" in the end of the -s parameter. It wasnt send to me... I will try to change the command 2006/7/26, Marc Powell : > > > > -----Original Message----- > > From: tocchetto at gmail.com [mailto:tocchetto at gmail.com] On Behalf Of Felipe > > Tocchetto > > Sent: Wednesday, July 26, 2006 2:54 PM > > To: Marc Powell > > Cc: Nagios Users Mailinglist > > Subject: Re: [Nagios-users] not receiving the nagios notifications > > > > Hi Marc > > > > Thaks for your effort in help me. > > > > Here is the commands outputs > > > > bash-3.00$ /bin/echo '/usr/bin/printf "%b" "***** Nagios > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: > > $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > > $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host > > $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$' >> /tmp/host-notify > > > > I meant for you to replace your current command_line in your host-notify-by-email command{} definition and trigger a failure again. After a notification attempt had been made by nagios, look at the contents of /tmp/host-notify for the command that nagios would have attempted to execute. I am attempting to discern _exactly_ what it is nagios is trying to do when it sends the notification and whether that actually works when you try it manually. There just might be different behavior when the macros get filled with appropriate data that we're missing. It's a stretch but I'm running out of ideas myself. > > It's good that you did this though as I can see that on whatever OS you are running the default behavior of echo is to interpret backslash-escaped characters (\n). You must determine from the echo man page (man echo) the command line switch to disable that and add it after '/bin/echo' in the command_line definition. It's probably -E so you would use "/bin/echo -E '/usr/bin/printf..." > > -- > Marc > > > > > 2006/7/26, Marc Powell : > > > I'm running out of ideas. Try changing your notify command_line to be -- > > > > > > command_line /bin/echo '/usr/bin/printf "%b" "***** Nagios > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > > $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for > > $HOSTNAME$!" $CONTACTEMAIL$' >> /tmp/host-notify > > > > > > Make sure it's all one line. After a notification attempt, the file > > /tmp/host-notify will contain the command line that nagios would have > > executed. Try running that as the nagios user. > > > > > > -- > > > Marc > > > > > > > -----Original Message----- > > > > From: tocchetto at gmail.com [mailto:tocchetto at gmail.com] On Behalf Of > > Felipe > > > > Tocchetto > > > > Sent: Tuesday, July 25, 2006 4:31 PM > > > > To: Marc Powell > > > > Cc: Nagios Users Mailinglist > > > > Subject: Re: [Nagios-users] not receiving the nagios notifications > > > > > > > > Hi Marc > > > > > > > > Here some tests > > > > > > > > The command: > > > > > > > > id;/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: Host > > > > Notification\nHost: teste.xxx.xxxx.br\nState: CRITICAL\nAddress: > > > > 200.xxx.xx.xx\nInfo: CRITICAL - Plugin timed out after 10 > > > > seconds\n\nDate//Time: 24/07/2006 11:11:11\n" | /usr/bin/mail -s > > > > "alert" felipe at tocchetto.com > > > > > > > > just 1 line! > > > > > > > > The output for the command: > > > > > > > > uid=100(nagios) gid=1(other) > > > > > > > > And I receive the email: > > > > > > > > ***** Nagios ***** > > > > > > > > Notification Type: Host > > > > Notification > > > > Host: teste.xxx.xxxx.br > > > > State: CRITICAL > > > > Address: > > > > 200.xxx.xx.xx > > > > Info: CRITICAL - Plugin timed out after 10 > > > > seconds > > > > > > > > Date/Time: 24/07/2006 11:11:11 > > > > > > > > All commands are in just 1 line... > > > > > > > > I am using the default commands from the nagios instalation, I didn?t > > > > change anything. > > > > > > > > > > > > > > > > 2006/7/24, Marc Powell : > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- > > users- > > > > > > bounces at lists.sourceforge.net] On Behalf Of Felipe Tocchetto > > > > > > Sent: Monday, July 24, 2006 3:34 PM > > > > > > To: Nagios Users Mailinglist > > > > > > Subject: Re: [Nagios-users] not receiving the nagios notifications > > > > > > > > > > > > I am using the default command. > > > > > > > > > > > > Manually it works, without the vars. > > > > > > Thanks a lot. > > > > > > > > > > > > I really dont know how to fix it. > > > > > > > > > > > > > > > I see a couple more things that I originally attributed to my mail > > > > > client formatting of your original message. They may actually be > > > > > problems with your config. > > > > > > > > > > # 'host-notify-by-email' command definition > > > > > define command{ > > > > > command_name host-notify-by-email > > > > > command_line /usr/bin/printf "%b" "***** Nagios > > > > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\ > > > > > nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > > > > > $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s > > "Host > > > > > $HOS > > > > > TSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > > > > > } > > > > > > > > > > In the above definition I see a carriage returns between > > "$HOSTNAME\" > > > > > and "nState:" as well as between "Host $HOS" and "TSTATE$". Do they > > > > > really exist in your config file? They should not. If no, can you > > send > > > > > the output of the following command when run as the nagios user? > > > > > > > > > > id;/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: > > Host > > > > > Notification\nHost: teste.xxx.xxxx.br\nState: CRITICAL\nAddress: > > > > > 200.xxx.xx.xx\nInfo: CRITICAL - Plugin timed out after 10 > > > > > seconds\n\nDate/Time: 24/07/2006 11:11:11\n" | /usr/bin/mail -s > > "Host > > > > > CRITICAL alert for Test Machine!" felipe at tocchetto.com > > > > > > > > > > > > > > > > > > > > ------ > > > > > > > > > > # 'notify-by-email' command definition > > > > > define command{ > > > > > command_name notify-by-email > > > > > command_line /usr/bin/printf "%b" "***** Nagios > > > > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVI > > > > > CEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > > > > > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\ > > > > > n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - > > > > > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTE > > > > > MAIL$ > > > > > } > > > > > > > > > > In the above command I see a carriage returns between "$SERIV" and > > > > > "CEDESC$" as well as between "$CONTACTE" and "MAIL$". Do they really > > > > > exist in your config file? They should not. > > > > > > > > > > -- > > > > > Marc > > > > > > > > > > -------------------------------------------------------------------- > > ---- > > > > - > > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > > Join SourceForge.net's Techsay panel and you'll get the chance to > > share > > > > your > > > > > opinions on IT & business topics through brief surveys -- and earn > > cash > > > > > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > reporting any issue. > > > > > ::: Messages without supporting info will risk being sent to > > /dev/null > > > > > > > > > > > > > > > > > -- > > > > Felipe L. Tocchetto > > > > http://felipe.tocchetto.com > > > > > > > > > -- > > Felipe L. Tocchetto > > http://felipe.tocchetto.com > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Felipe L. Tocchetto http://felipe.tocchetto.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From felipe at tocchetto.com Fri Jul 28 15:51:19 2006 From: felipe at tocchetto.com (Felipe Tocchetto) Date: Fri, 28 Jul 2006 10:51:19 -0300 Subject: not receiving the nagios notifications In-Reply-To: <4f70c5c80607280648u2c39470cj8fb1a62e71f16fa@mail.gmail.com> References: <4f70c5c80607280648u2c39470cj8fb1a62e71f16fa@mail.gmail.com> Message-ID: <4f70c5c80607280651s4dbce9fdpa48921d31e22e431@mail.gmail.com> Just another point: I received the email without subject. Maybe the problem is my "mail" command. 2006/7/28, Felipe Tocchetto : > Hi Marc > > I changed the command in the misccomands.cfg to the one you suggest, > it creates the file, and here is the output. > > I supress some of my host and IP information. > > bash-3.00# more /tmp/host-notify > > /usr/bin/printf "%b" "***** Nagios ***** > > Notification Type: PROBLEM > Host: host.xx-xx.xx.x > State: DOWN > Address: 200.000.00.00 > Info: CRITICAL - Plugin timed out after 10 seconds > > Date/Time: Fri Jul 28 10:27:14 BRT 2006 > " | /usr/bin/mail -s "Host DOWN alert for host.xx-xx.xx.x!" felipe at tocchetto.com > > Information about my OS: > > SunOS 5.10 Generic_118844-26 i86pc i386 i86pc > > I notice somethig: > > bash-3.00# printf TEST123 | mail -s "test mail to felipe" felipe at tocchetto.com > > Without the "!" in the end of the subject it was sent with no problems > > bash-3.00# printf TEST123 | mail -s "test mail to felipe!" felipe at tocchetto.com > bash: !": event not found > > and now with the "!" in the end of the -s parameter. It wasnt send to me... > > I will try to change the command > > 2006/7/26, Marc Powell : > > > > > > > -----Original Message----- > > > From: tocchetto at gmail.com [mailto:tocchetto at gmail.com] On Behalf Of Felipe > > > Tocchetto > > > Sent: Wednesday, July 26, 2006 2:54 PM > > > To: Marc Powell > > > Cc: Nagios Users Mailinglist > > > Subject: Re: [Nagios-users] not receiving the nagios notifications > > > > > > Hi Marc > > > > > > Thaks for your effort in help me. > > > > > > Here is the commands outputs > > > > > > bash-3.00$ /bin/echo '/usr/bin/printf "%b" "***** Nagios > > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: > > > $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > > > $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host > > > $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$' >> /tmp/host-notify > > > > > > > I meant for you to replace your current command_line in your host-notify-by-email command{} definition and trigger a failure again. After a notification attempt had been made by nagios, look at the contents of /tmp/host-notify for the command that nagios would have attempted to execute. I am attempting to discern _exactly_ what it is nagios is trying to do when it sends the notification and whether that actually works when you try it manually. There just might be different behavior when the macros get filled with appropriate data that we're missing. It's a stretch but I'm running out of ideas myself. > > > > It's good that you did this though as I can see that on whatever OS you are running the default behavior of echo is to interpret backslash-escaped characters (\n). You must determine from the echo man page (man echo) the command line switch to disable that and add it after '/bin/echo' in the command_line definition. It's probably -E so you would use "/bin/echo -E '/usr/bin/printf..." > > > > -- > > Marc > > > > > > > > 2006/7/26, Marc Powell : > > > > I'm running out of ideas. Try changing your notify command_line to be -- > > > > > > > > command_line /bin/echo '/usr/bin/printf "%b" "***** Nagios > > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > > > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > > > $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for > > > $HOSTNAME$!" $CONTACTEMAIL$' >> /tmp/host-notify > > > > > > > > Make sure it's all one line. After a notification attempt, the file > > > /tmp/host-notify will contain the command line that nagios would have > > > executed. Try running that as the nagios user. > > > > > > > > -- > > > > Marc > > > > > > > > > -----Original Message----- > > > > > From: tocchetto at gmail.com [mailto:tocchetto at gmail.com] On Behalf Of > > > Felipe > > > > > Tocchetto > > > > > Sent: Tuesday, July 25, 2006 4:31 PM > > > > > To: Marc Powell > > > > > Cc: Nagios Users Mailinglist > > > > > Subject: Re: [Nagios-users] not receiving the nagios notifications > > > > > > > > > > Hi Marc > > > > > > > > > > Here some tests > > > > > > > > > > The command: > > > > > > > > > > id;/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: Host > > > > > Notification\nHost: teste.xxx.xxxx.br\nState: CRITICAL\nAddress: > > > > > 200.xxx.xx.xx\nInfo: CRITICAL - Plugin timed out after 10 > > > > > seconds\n\nDate//Time: 24/07/2006 11:11:11\n" | /usr/bin/mail -s > > > > > "alert" felipe at tocchetto.com > > > > > > > > > > just 1 line! > > > > > > > > > > The output for the command: > > > > > > > > > > uid=100(nagios) gid=1(other) > > > > > > > > > > And I receive the email: > > > > > > > > > > ***** Nagios ***** > > > > > > > > > > Notification Type: Host > > > > > Notification > > > > > Host: teste.xxx.xxxx.br > > > > > State: CRITICAL > > > > > Address: > > > > > 200.xxx.xx.xx > > > > > Info: CRITICAL - Plugin timed out after 10 > > > > > seconds > > > > > > > > > > Date/Time: 24/07/2006 11:11:11 > > > > > > > > > > All commands are in just 1 line... > > > > > > > > > > I am using the default commands from the nagios instalation, I didn?t > > > > > change anything. > > > > > > > > > > > > > > > > > > > > 2006/7/24, Marc Powell : > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- > > > users- > > > > > > > bounces at lists.sourceforge.net] On Behalf Of Felipe Tocchetto > > > > > > > Sent: Monday, July 24, 2006 3:34 PM > > > > > > > To: Nagios Users Mailinglist > > > > > > > Subject: Re: [Nagios-users] not receiving the nagios notifications > > > > > > > > > > > > > > I am using the default command. > > > > > > > > > > > > > > Manually it works, without the vars. > > > > > > > Thanks a lot. > > > > > > > > > > > > > > I really dont know how to fix it. > > > > > > > > > > > > > > > > > > I see a couple more things that I originally attributed to my mail > > > > > > client formatting of your original message. They may actually be > > > > > > problems with your config. > > > > > > > > > > > > # 'host-notify-by-email' command definition > > > > > > define command{ > > > > > > command_name host-notify-by-email > > > > > > command_line /usr/bin/printf "%b" "***** Nagios > > > > > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\ > > > > > > nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > > > > > > $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s > > > "Host > > > > > > $HOS > > > > > > TSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > > > > > > } > > > > > > > > > > > > In the above definition I see a carriage returns between > > > "$HOSTNAME\" > > > > > > and "nState:" as well as between "Host $HOS" and "TSTATE$". Do they > > > > > > really exist in your config file? They should not. If no, can you > > > send > > > > > > the output of the following command when run as the nagios user? > > > > > > > > > > > > id;/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: > > > Host > > > > > > Notification\nHost: teste.xxx.xxxx.br\nState: CRITICAL\nAddress: > > > > > > 200.xxx.xx.xx\nInfo: CRITICAL - Plugin timed out after 10 > > > > > > seconds\n\nDate/Time: 24/07/2006 11:11:11\n" | /usr/bin/mail -s > > > "Host > > > > > > CRITICAL alert for Test Machine!" felipe at tocchetto.com > > > > > > > > > > > > > > > > > > > > > > > > ------ > > > > > > > > > > > > # 'notify-by-email' command definition > > > > > > define command{ > > > > > > command_name notify-by-email > > > > > > command_line /usr/bin/printf "%b" "***** Nagios > > > > > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVI > > > > > > CEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > > > > > > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\ > > > > > > n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - > > > > > > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTE > > > > > > MAIL$ > > > > > > } > > > > > > > > > > > > In the above command I see a carriage returns between "$SERIV" and > > > > > > "CEDESC$" as well as between "$CONTACTE" and "MAIL$". Do they really > > > > > > exist in your config file? They should not. > > > > > > > > > > > > -- > > > > > > Marc > > > > > > > > > > > > -------------------------------------------------------------------- > > > ---- > > > > > - > > > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > > > Join SourceForge.net's Techsay panel and you'll get the chance to > > > share > > > > > your > > > > > > opinions on IT & business topics through brief surveys -- and earn > > > cash > > > > > > > > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > > > _______________________________________________ > > > > > > Nagios-users mailing list > > > > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > > reporting any issue. > > > > > > ::: Messages without supporting info will risk being sent to > > > /dev/null > > > > > > > > > > > > > > > > > > > > > -- > > > > > Felipe L. Tocchetto > > > > > http://felipe.tocchetto.com > > > > > > > > > > > > > -- > > > Felipe L. Tocchetto > > > http://felipe.tocchetto.com > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys -- and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > Felipe L. Tocchetto > http://felipe.tocchetto.com > -- Felipe L. Tocchetto http://felipe.tocchetto.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 15:55:51 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 28 Jul 2006 09:55:51 -0400 Subject: defining a hostgroup In-Reply-To: <764b19a43118acafa0dbe1e1f073a71d@kilala.nl> References: <764b19a43118acafa0dbe1e1f073a71d@kilala.nl> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Thomas Slutyer > Sent: Friday, July 28, 2006 1:14 AM > To: > > Subject: Re: [Nagios-users] defining a hostgroup > > >> I currently setup hostgroups.cfg in which I have the following: > >> > >> define hostgroup{ > >> hostgroup_name linux > >> alias Linux > >> } > >> > >> When I run the -v test to see if everything is alright > before turning > >> on Nagios, it throws the following error: > >> > >> Invalid object definition of type 'hostgroup'. Any idea > what I may be > >> doing wrong? > > *cough* > > The manual clearly states that the "members" field is a > requisite for a hostgroup definition. Even if it doesn't have > any members (just leave it blank). This wasn't my question (my hostgroups work fine, thanks :) ), but the manual's not 100% correct in this case. A hostgroup does not need to have members defined in the hostgroup definition; they work fine if hosts are assigned to groups in the host definitions. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 16:02:45 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Fri, 28 Jul 2006 09:02:45 -0500 (CDT) Subject: not receiving the nagios notifications Message-ID: <20060728140245.2CFFB38029@chuys.eng.intrinsity.com> Felipe Tocchetto said... +I notice somethig: + +bash-3.00# printf TEST123 | mail -s "test mail to felipe" felipe at tocchetto.= +com + +Without the "!" in the end of the subject it was sent with no problems + +bash-3.00# printf TEST123 | mail -s "test mail to felipe!" felipe at tocchetto= +.com +bash: !": event not found + +and now with the "!" in the end of the -s parameter. It wasnt send to me... Since "!" tells bash to invoke a previous comand, bash is trying to execute a bogus command (!"). If you want special shell characters in a string, you need to escape them. Try printf TEST123 | mail -s "test mail to felipe\!" felipe at tocchetto.com If that doesn't work try printf TEST123 | mail -s 'test mail to felipe\!' felipe at tocchetto.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 16:20:58 2006 From: harisekhon at gmail.com (Hari Sekhon) Date: Fri, 28 Jul 2006 15:20:58 +0100 Subject: advise on upgrage? In-Reply-To: <372f9fe50607271843g5675bbf5j50b3b9275adaaedb@mail.gmail.com> References: <20060727203704.31046@studentservices.outreach.psu.edu> <372f9fe50607271843g5675bbf5j50b3b9275adaaedb@mail.gmail.com> Message-ID: <44CA1D4A.50302@gmail.com> Ali Moreno wrote: > #aptitude install mondo mondo-doc > > Excelent ;) > > -- > Al? Moreno > Direcci?n de Proyectos IT > Link Technologies, C.A. > www.linktechno.com > 0414 1442444 > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null what the heck does that have to do with this question? that isn't a scratch on nagios! -h -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 thyes at gmx.net Fri Jul 28 16:20:18 2006 From: thyes at gmx.net (Frank Thyes) Date: Fri, 28 Jul 2006 16:20:18 +0200 Subject: NRPE In-Reply-To: <5F54491268C784439D51B163322EE58C2F7B15@gorilla.hq.altien.com> References: <44CA13BC.5000502@web.de> <5F54491268C784439D51B163322EE58C2F7B15@gorilla.hq.altien.com> Message-ID: <20060728142018.GA5604@gator> Hi Martin, +++ Martin J. Green [Fri, Jul 28, 2006 at 03:45:37PM CEST]: > There isn't a server name in nrpe.cfg, nor is it documented in any of > the docs - can u enlighten me further? Strip out the comments and post the complete nrpe.cfg Is it possible to telnet your client? $ telnet blub 5666 Trying xx.x.xx.x... Connected to bla.blabla.blub.eu. Escape character is '^]'. Connection closed by foreign host. If so, for debugging purposes use check_nrpe -H from your Server... maybe your command definition on client side is bogus. Frank -- Religion kill humans! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 16:39:21 2006 From: marc at ena.com (Marc Powell) Date: Fri, 28 Jul 2006 09:39:21 -0500 Subject: defining a hostgroup Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Thomas Slutyer > Sent: Friday, July 28, 2006 3:14 AM > To: users at lists.sourceforge.net> > Subject: Re: [Nagios-users] defining a hostgroup > > >> I currently setup hostgroups.cfg in which I have the following: > >> > >> define hostgroup{ > >> hostgroup_name linux > >> alias Linux > >> } > >> > >> When I run the -v test to see if everything is alright before > >> turning on Nagios, it throws the following error: > >> > >> Invalid object definition of type 'hostgroup'. Any idea what > >> I may be doing wrong? > > *cough* > > The manual clearly states that the "members" field is a requisite for a > hostgroup definition. Even if it doesn't have any members (just leave > it blank). Actually no, nagios will fail with a members line with no members. Try it. The OP has a completely valid hostgroup definition at least for 2.x; I use the same thing extensively. If I remember correctly, 1.x would fail without a members directive. OP: Are you sure that's the correct definition that is referenced in the error? The line number should be given. Is it specifically complaining about the line that contains 'define hostgroup{'? The test is at line 628 of xdata/xodtemplate.c and is pretty straightforward. It just looks to see if the line contains the word 'hostgroup' (among others). That would imply that there is a typo on the line or a hidden control character or something that's not being shown in your example above. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 16:40:41 2006 From: marc at ena.com (Marc Powell) Date: Fri, 28 Jul 2006 09:40:41 -0500 Subject: how to resote logs on upgraded nagios server Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of VINAY_SHARMA at advanex.co.jp > Sent: Thursday, July 27, 2006 9:48 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] how to resote logs on upgraded nagios server > > Hi all, > > I upgraded my old nagios server from 1.x to 2.x on new linux > box.how can i move my old logs from old server to new server.i was just > copied all logs files from old to new.but its not working. Copying over nagios.log and archives/* to the corresponding locations will work. It did for me. Make sure the permissions are such that your web server user can read the files. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 28 16:43:07 2006 From: gdanko at gmail.com (Gary Danko) Date: Fri, 28 Jul 2006 07:43:07 -0700 Subject: Stylesheets do not appear to work Message-ID: <6c5c451f0607280743p5ba14b6cs6da48e76990fb02f@mail.gmail.com> I installed Nagios 2.5 on OS X 10.4.7 I am using Apache 2.2 When I login to Nagios the main screen looks fine, but if I hit something like Service Detail everything is off. It looks as if the stylesheets are not being used. Any ideas what could be wrong here? The Nagios install found the GD libs and all that so I don't know why the images wouldnt show up ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 16:44:38 2006 From: marc at ena.com (Marc Powell) Date: Fri, 28 Jul 2006 09:44:38 -0500 Subject: How do i run Nagios as non root 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: Friday, July 28, 2006 5:39 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How do i run Nagios as non root > > Hi > > How do i run Nagios as non root If you follow the install instructions nagios will run as a non-root user. http://nagios.sourceforge.net/docs/2_0/installing.html -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 16:46:17 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 28 Jul 2006 10:46:17 -0400 Subject: Stylesheets do not appear to work In-Reply-To: <6c5c451f0607280743p5ba14b6cs6da48e76990fb02f@mail.gmail.com> References: <6c5c451f0607280743p5ba14b6cs6da48e76990fb02f@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 Gary Danko > Sent: Friday, July 28, 2006 7:43 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Stylesheets do not appear to work > > I installed Nagios 2.5 on OS X 10.4.7 > I am using Apache 2.2 > When I login to Nagios the main screen looks fine, but if I > hit something like Service Detail everything is off. It looks > as if the stylesheets are not being used. > > Any ideas what could be wrong here? The Nagios install found > the GD libs and all that so I don't know why the images > wouldnt show up Anything look wrong in the webserver logs? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.frost1 at pepsi.com Fri Jul 28 16:44:47 2006 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Fri, 28 Jul 2006 10:44:47 -0400 Subject: Windows plugin to check process page faults? Message-ID: We have a need on a Windows 2003 box to check the number of page faults a particular process has incurred. I'm not really aware of how I could do this. We are running Nagios 2.4 and use the standard plugins with check_nrpe 0.8 to monitor CPU, memory and disk space. Does anyone know if there's some way to get a plugin to report a process' page faults? Thanks Mark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 16:51:06 2006 From: marc at ena.com (Marc Powell) Date: Fri, 28 Jul 2006 09:51:06 -0500 Subject: Host and/or Service availability report Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Justin Craig > Sent: Friday, July 28, 2006 8:23 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Host and/or Service availability report > > I have two items: > 1. If I'd like to "purge" host availability report, is this possible? > Basically clearing out the history of uptime/downtime... Axe: stop nagios; remove nagios.log; start nagios; remove archives/*. That will remove all history for all hosts and services Surgical knife: stop nagios; edit nagios.log to remove only those lines with that host; start nagios; edit archives/* to do the same. > 2. We had a PIX firewall go down and was manually failed over to backup. > Outage lasted about 10 mins. This isn't refected in the host availablity > report? Shows all green.... However, we did get "PROBLEM ALERT"'s for > PING service. Make sure it's logged in nagios.log or the archive for that period. If it is, send the entries to the list. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 16:55:54 2006 From: marc at ena.com (Marc Powell) Date: Fri, 28 Jul 2006 09:55:54 -0500 Subject: not receiving the nagios notifications Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Felipe Tocchetto > Sent: Friday, July 28, 2006 8:48 AM > To: Marc Powell; Nagios Users Mailinglist > Subject: Re: [Nagios-users] not receiving the nagios notifications > > Hi Marc > > I changed the command in the misccomands.cfg to the one you suggest, > it creates the file, and here is the output. > > I supress some of my host and IP information. > > bash-3.00# more /tmp/host-notify > > /usr/bin/printf "%b" "***** Nagios ***** > > Notification Type: PROBLEM > Host: host.xx-xx.xx.x > State: DOWN > Address: 200.000.00.00 > Info: CRITICAL - Plugin timed out after 10 seconds > > Date/Time: Fri Jul 28 10:27:14 BRT 2006 > " | /usr/bin/mail -s "Host DOWN alert for host.xx-xx.xx.x!" > felipe at tocchetto.com > > Information about my OS: > > SunOS 5.10 Generic_118844-26 i86pc i386 i86pc > > I notice somethig: > > bash-3.00# printf TEST123 | mail -s "test mail to felipe" > felipe at tocchetto.com > > Without the "!" in the end of the subject it was sent with no problems Yup. I suspected that might be an issue. You can remove the '!' or use ''s around the subject to prevent the interpretation of the ! like -- .... | /usr/bin/mail -s 'Host $HOSTSTATE$ alert for $HOSTNAME$!' $CONTACTEMAIL$' -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From udbytossen at gmail.com Fri Jul 28 16:58:45 2006 From: udbytossen at gmail.com (=?ISO-8859-1?Q?Per_J=F8rgensen?=) Date: Fri, 28 Jul 2006 16:58:45 +0200 Subject: problem about check_dhcp Message-ID: <17f27c1b0607280758v65333a19rd6785995b7db240d@mail.gmail.com> Hi Users! I am running into a problem about check_dhcp plugin. My user nagios have not the rigth privileges to run this(Even thoug it have the exact same rigths as all the others plugins) When I run the plugin from a commandline as root - no problem! When I run as nagios user: /usr/local/nagios/libexec/check_dhcp -s 10.80.10.150 Error: Could not bind socket to interface eth0. Check your privileges... My /etc/shadow: nagios:!:13230:0:99999:7::: /etc/group nagios:!:1000: nagcmd:!:1001:wwwrun,nagios /etc/passwd nagios:x:1000:100::/home/nagios:/bin/bash The rigths in libexec: -rwxr-xr-x 1 root root 61374 Jul 28 13:16 check_dhcp -rwxr-xr-x 1 root root 59907 Jul 28 10:33 check_dig -rwxr-xr-x 1 root root 81442 Jul 28 10:33 check_disk -rwxr-xr-x 1 root root 8168 Jul 28 10:33 check_disk_smb And there it is - no problem by running all the other plugins - but on this one I havent got the rigths. Its running on a SUSE system as a Distributed server.. What should I do to make nagios get the rigths to make this dhcp check??? Thanks Per J?rgensen -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 dschlecht at doit.nv.gov Fri Jul 28 17:19:40 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Fri, 28 Jul 2006 17:19:40 +0200 (CEST) Subject: plug timeout w/o Bind Message-ID: <20060728151940.2841F4F4045@desire.netways.de> Hi All, I'm running Nagios v2.2 on a suse linux without Bind. When my first nameserver in resolv.conf fails, the Nagios checks start timing out. I get a mix of timeout errors and "no response" errors. This isn't really a big surprise since relying on resolv.conf is very slow when the DNS servers start dropping off. Of course, the name resolution works eventually but by then my 10-second timeout settings have given up. Has anyone using resolv.conf encountered and/or resolved this? Is Bind a requirement because of this? My decision to not go with Bind is because of the additional checking I get when Nagios does name resolution with each check. This approach has alerted us to numerous problems before getting that dreaded call from the customer. Any help or ideas would be greatly appreciated. - David Schlecht (dschl) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 28 17:19:49 2006 From: gdanko at gmail.com (Gary Danko) Date: Fri, 28 Jul 2006 08:19:49 -0700 Subject: No PID file?? Message-ID: <6c5c451f0607280819rae288b5xfad5beaad2f66324@mail.gmail.com> I compiled 2.5 from source on OS X 10.4.7. I want to be able to have a PID file for the master process so I can write the start/stop script. But I cannot figure out how to tell nagios to create the PID file when it starts. I didn't see anything in the configure script and I haven't found anything on the net. Any ideas? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Fri Jul 28 17:19:53 2006 From: philc at foundation-it.com (Phil Costelloe) Date: Fri, 28 Jul 2006 16:19:53 +0100 Subject: Windows plugin to check process page faults? Message-ID: Frost, Mark {PBG} wrote: > We have a need on a Windows 2003 box to check the number of page > faults a particular process has incurred. I'm not really aware of > how I could do this. > > We are running Nagios 2.4 and use the standard plugins with check_nrpe > 0.8 to monitor CPU, memory and disk space. > > Does anyone know if there's some way to get a plugin to report a > process' page faults? You can access any of the Windows performance counters using nsclient (and presumably nsclient++). The particular counter in this case, given a process called foobar, would be \\Process(foobar)\\Page Faults/Sec and the check command and service entries would be something like: define command { command_name check_nt_pagefaults command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\Process($ARG5$)\\Page Faults/Sec","Page faults per second are %.2f %%" -w $ARG2$ -c $ARG3$ -s $ARG4$ } define service { use generic-service host_name windows_host service_description Page Faults contact_groups amber-admins check_command check_nt_pagefaults!1248!3!5!password!foobar etc etc } Untested but should just about work. Phil -------------------------------------------------------- Phil Costelloe Technical Consultant philc at foundation-it.com http://www.foundation-it.com Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 -------------------------------------------------------- This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 28 17:25:08 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Fri, 28 Jul 2006 09:25:08 -0600 Subject: No PID file?? Message-ID: <2D0245E43DEC724F81592D697F05689903AD5C36@SIDHQEXCHMB1.Cabelas.Corp> http://nagios.sourceforge.net/docs/2_0/configmain.html#lock_file ----- Lock File Format: lock_file= Example: lock_file=/tmp/nagios.lock This option specifies the location of the lock file that Nagios should create when it runs as a daemon (when started with the -d command line argument). This file contains the process id (PID) number of the running Nagios process. ----- -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gary Danko Sent: Friday, July 28, 2006 9:20 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] No PID file?? I compiled 2.5 from source on OS X 10.4.7. I want to be able to have a PID file for the master process so I can write the start/stop script. But I cannot figure out how to tell nagios to create the PID file when it starts. I didn't see anything in the configure script and I haven't found anything on the net. Any ideas? ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 17:31:27 2006 From: marc at ena.com (Marc Powell) Date: Fri, 28 Jul 2006 10:31:27 -0500 Subject: plug timeout w/o Bind Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of David Schlecht > Sent: Friday, July 28, 2006 10:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] plug timeout w/o Bind > > Hi All, > > > > I'm running Nagios v2.2 on a suse linux without Bind. > > When my first nameserver in resolv.conf fails, the > > Nagios checks start timing out. I get a mix of timeout > > errors and "no response" errors. > > > > This isn't really a big surprise since relying on > > resolv.conf is very slow when the DNS servers start > > dropping off. Of course, the name resolution works > > eventually but by then my 10-second timeout settings > > have given up. > > > > Has anyone using resolv.conf encountered and/or resolved > > this? Is Bind a requirement because of this? My comments -- - Don't rely on DNS at all. Use IP addresses. Why require a critical infrastructure resource (monitoring) to depend on another potentially fallable infrastructure resource (DNS) when you don't have to? If you have a problem, how do you know if it's the device/service you are monitoring or your DNS? Why spend the time determining that when you can eliminate it as a factor? - If you must rely on DNS then the only actions you can really take are to - increase your timeout value to account for those times when one or more of your DNS servers are unavailable. - load balance your nameservers such that a group answers for the same IP. If one fails out the others will still answer. There are a number of ways to do this with hardware/software or network configuration. - Running bind on the nagios box just moves the point of failure rather than eliminating it. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From felipe at tocchetto.com Tue Jul 25 23:31:11 2006 From: felipe at tocchetto.com (Felipe Tocchetto) Date: Tue, 25 Jul 2006 18:31:11 -0300 Subject: not receiving the nagios notifications In-Reply-To: References: Message-ID: <4f70c5c80607251431x5f796d2ci38d949361e3224f8@mail.gmail.com> Hi Marc Here some tests The command: id;/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: Host Notification\nHost: teste.xxx.xxxx.br\nState: CRITICAL\nAddress: 200.xxx.xx.xx\nInfo: CRITICAL - Plugin timed out after 10 seconds\n\nDate//Time: 24/07/2006 11:11:11\n" | /usr/bin/mail -s "alert" felipe at tocchetto.com just 1 line! The output for the command: uid=100(nagios) gid=1(other) And I receive the email: ***** Nagios ***** Notification Type: Host Notification Host: teste.xxx.xxxx.br State: CRITICAL Address: 200.xxx.xx.xx Info: CRITICAL - Plugin timed out after 10 seconds Date/Time: 24/07/2006 11:11:11 All commands are in just 1 line... I am using the default commands from the nagios instalation, I didn?t change anything. 2006/7/24, Marc Powell : > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Felipe Tocchetto > > Sent: Monday, July 24, 2006 3:34 PM > > To: Nagios Users Mailinglist > > Subject: Re: [Nagios-users] not receiving the nagios notifications > > > > I am using the default command. > > > > Manually it works, without the vars. > > Thanks a lot. > > > > I really dont know how to fix it. > > > I see a couple more things that I originally attributed to my mail > client formatting of your original message. They may actually be > problems with your config. > > # 'host-notify-by-email' command definition > define command{ > command_name host-notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\ > nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host > $HOS > TSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > } > > In the above definition I see a carriage returns between "$HOSTNAME\" > and "nState:" as well as between "Host $HOS" and "TSTATE$". Do they > really exist in your config file? They should not. If no, can you send > the output of the following command when run as the nagios user? > > id;/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: Host > Notification\nHost: teste.xxx.xxxx.br\nState: CRITICAL\nAddress: > 200.xxx.xx.xx\nInfo: CRITICAL - Plugin timed out after 10 > seconds\n\nDate/Time: 24/07/2006 11:11:11\n" | /usr/bin/mail -s "Host > CRITICAL alert for Test Machine!" felipe at tocchetto.com > > > > ------ > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVI > CEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\ > n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTE > MAIL$ > } > > In the above command I see a carriage returns between "$SERIV" and > "CEDESC$" as well as between "$CONTACTE" and "MAIL$". Do they really > exist in your config file? They should not. > > -- > Marc > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Felipe L. Tocchetto http://felipe.tocchetto.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 phataudio.org Fri Jul 28 17:47:08 2006 From: alex at phataudio.org (Alex Valentine) Date: Fri, 28 Jul 2006 11:47:08 -0400 Subject: monitoring cisco vpn 3005 memory? Message-ID: <1154101628.867.2.camel@localhost> Can anyone point me to a plugin that will monitor the resource usage of a Cisco VPN 3000 series? I found these plugins: http://www.manubulon.com/nagios/index_snmp.html which work great on our routers, but do not seem to work on the vpn concentrators. Thanks, Alex -- ///////////////////////////////////// Alex Valentine asv at ivoss.com aim: asv108vv jabber: asv at jabber.org http://www.alexvalentine.org ///////////////////////////////////// ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 28 17:51:11 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Fri, 28 Jul 2006 09:51:11 -0600 Subject: not receiving the nagios notifications Message-ID: <2D0245E43DEC724F81592D697F05689903AD5C37@SIDHQEXCHMB1.Cabelas.Corp> Shameless plug: http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[p_view]=627 Maybe try this? That way you don't have to put anything "tricky" on the cmdline. It all just goes into the template. No worries about escaping special shell characters, etc... -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Felipe Tocchetto Sent: Tuesday, July 25, 2006 3:31 PM To: Marc Powell Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] not receiving the nagios notifications Hi Marc Here some tests The command: id;/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: Host Notification\nHost: teste.xxx.xxxx.br\nState: CRITICAL\nAddress: 200.xxx.xx.xx\nInfo: CRITICAL - Plugin timed out after 10 seconds\n\nDate//Time: 24/07/2006 11:11:11\n" | /usr/bin/mail -s "alert" felipe at tocchetto.com just 1 line! The output for the command: uid=100(nagios) gid=1(other) And I receive the email: ***** Nagios ***** Notification Type: Host Notification Host: teste.xxx.xxxx.br State: CRITICAL Address: 200.xxx.xx.xx Info: CRITICAL - Plugin timed out after 10 seconds Date/Time: 24/07/2006 11:11:11 All commands are in just 1 line... I am using the default commands from the nagios instalation, I didn?t change anything. 2006/7/24, Marc Powell : > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Felipe Tocchetto > > Sent: Monday, July 24, 2006 3:34 PM > > To: Nagios Users Mailinglist > > Subject: Re: [Nagios-users] not receiving the nagios notifications > > > > I am using the default command. > > > > Manually it works, without the vars. > > Thanks a lot. > > > > I really dont know how to fix it. > > > I see a couple more things that I originally attributed to my mail > client formatting of your original message. They may actually be > problems with your config. > > # 'host-notify-by-email' command definition > define command{ > command_name host-notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\ > nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host > $HOS > TSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > } > > In the above definition I see a carriage returns between "$HOSTNAME\" > and "nState:" as well as between "Host $HOS" and "TSTATE$". Do they > really exist in your config file? They should not. If no, can you send > the output of the following command when run as the nagios user? > > id;/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: Host > Notification\nHost: teste.xxx.xxxx.br\nState: CRITICAL\nAddress: > 200.xxx.xx.xx\nInfo: CRITICAL - Plugin timed out after 10 > seconds\n\nDate/Time: 24/07/2006 11:11:11\n" | /usr/bin/mail -s "Host > CRITICAL alert for Test Machine!" felipe at tocchetto.com > > > > ------ > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVI > CEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\ > n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTE > MAIL$ > } > > In the above command I see a carriage returns between "$SERIV" and > "CEDESC$" as well as between "$CONTACTE" and "MAIL$". Do they really > exist in your config file? They should not. > > -- > Marc > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Felipe L. Tocchetto http://felipe.tocchetto.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.frost1 at pepsi.com Fri Jul 28 18:12:39 2006 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Fri, 28 Jul 2006 12:12:39 -0400 Subject: Nrpe 2.5.2 still says it's 2.5.1 Message-ID: I don't know if anyone has reported this (and frankly, I don't know where else to report it), but it appears that the latest version of NRPE (2.5.2) still reports itself as being version 2.5.1. It looks like this is because the file include/common.h did not have the PROGRAM_VERSION macro updated. Of course this is easy to tweak myself, but I thought someone might want to know. FYI. Mark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From graham at gmurray.org.uk Thu Jul 27 10:57:50 2006 From: graham at gmurray.org.uk (Graham Murray) Date: Thu, 27 Jul 2006 09:57:50 +0100 Subject: Multi-homed hosts Message-ID: <8764hjzapd.fsf@newton.gmurray.org.uk> Is there any way of associating more than 1 IP address to a host, so that a check can be made that all interfaces of a multi-homed host are accessible? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 18:41:19 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Fri, 28 Jul 2006 11:41:19 -0500 (CDT) Subject: problem about check_dhcp In-Reply-To: <17f27c1b0607280758v65333a19rd6785995b7db240d@mail.gmail.com> References: <17f27c1b0607280758v65333a19rd6785995b7db240d@mail.gmail.com> Message-ID: <20060728164119.3736138029@chuys.eng.intrinsity.com> |I am running into a problem about check_dhcp plugin. |My user nagios have not the rigth privileges to run this(Even thoug it have |the exact same rigths as all the others plugins) |When I run the plugin from a commandline as root - no problem! |When I run as nagios user: |/usr/local/nagios/libexec/check_dhcp -s 10.80.10.150 |Error: Could not bind socket to interface eth0. Check your privileges... ... |The rigths in libexec: |-rwxr-xr-x 1 root root 61374 Jul 28 13:16 check_dhcp |-rwxr-xr-x 1 root root 59907 Jul 28 10:33 check_dig |-rwxr-xr-x 1 root root 81442 Jul 28 10:33 check_disk |-rwxr-xr-x 1 root root 8168 Jul 28 10:33 check_disk_smb | |And there it is - no problem by running all the other plugins - but on this |one I havent got the rigths. I had to do chmod u+s on the check_dhcp file. -rwsr-xr-x 1 root root 16981 Dec 25 2004 check_dhcp Then it worked. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 18:54:53 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Fri, 28 Jul 2006 11:54:53 -0500 (CDT) Subject: Multi-homed hosts In-Reply-To: <8764hjzapd.fsf@newton.gmurray.org.uk> References: <8764hjzapd.fsf@newton.gmurray.org.uk> Message-ID: <20060728165453.9623038029@chuys.eng.intrinsity.com> Graham Murray said... | |Is there any way of associating more than 1 IP address to a host, so |that a check can be made that all interfaces of a multi-homed host are |accessible? I create multiple host entries. Since each IP address has a name associated with it (it jolly well should!) I just use that name. One system has multiple NICs on multiple subnets. For those, I use the hostname and subnet (foo_sub1 and foo_sub2). Another host has multiple IP addresses on one NIC, on the same subnet. In that case I just use the name associated with each one. If you don't have names for each IP for some reason, just invent a logical name. =================== Example hosts.cfg entries ================== # Example with two NICS on two subnets define host{ host_name foo alias foo on sub1 subnet (nagios) address 192.168.1.1 use linux-system } define host{ host_name foo.farm alias foo on sub1 subnet (nagios) address 192.168.2.1 use linux-system } # Example with two addresses on same NIC and subnet define host{ host_name web1 alias Internal web server for project 1 address 192.168.1.2 use linux-system } define host{ host_name web2 alias Internal web server for project 2 address 192.168.1.3 use linux-system ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at gmail.com Fri Jul 28 18:40:20 2006 From: hpsekhon at gmail.com (Hari Sekhon) Date: Fri, 28 Jul 2006 17:40:20 +0100 Subject: detect 2 DHCP Servers on network? Message-ID: <44CA3DF4.2040309@gmail.com> I was wondering what the best way of detecting a rogue dhcp server on the network is. I ask because some idiot at work installed vmware with it's dhcp server which stuffed the company laptops which rely on dhcp since they got sent to the wrong subnet. Nagios actually drew my attention to this when troubleshooting because it said 2 DHCP offers received. I'm thinking about writing a shell wrapper to parse the output from the check_dhcp plug-in and raise a warning status if it returns more than 1 dhcp offer. Any other ideas? Hari ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From estair at ilm.com Fri Jul 28 19:01:55 2006 From: estair at ilm.com (Eli Stair) Date: Fri, 28 Jul 2006 10:01:55 -0700 Subject: detect 2 DHCP Servers on network? In-Reply-To: <44CA3DF4.2040309@gmail.com> References: <44CA3DF4.2040309@gmail.com> Message-ID: Use CPAN's Net::DHCP::Packet to quickly create a DHCPDISCOVER packet, and IO::Socket::INET to read raw incoming data to port 68, count the number of DHCPOFFER's you get. Set your script output to proper OK/WARN/CRIT state and the number/names of "rogue" servers in the text. Just a suggestion. /eli On 7/28/06 9:40 AM, "Hari Sekhon" wrote: > I was wondering what the best way of detecting a rogue dhcp server on > the network is. > > > I ask because some idiot at work installed vmware with it's dhcp server > which stuffed the company laptops which rely on dhcp since they got sent > to the wrong subnet. > > Nagios actually drew my attention to this when troubleshooting because > it said 2 DHCP offers received. > > I'm thinking about writing a shell wrapper to parse the output from the > check_dhcp plug-in and raise a warning status if it returns more than 1 > dhcp offer. > > Any other ideas? > > > Hari > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 the-galloways.us Fri Jul 28 19:13:35 2006 From: nagios at the-galloways.us (Robert S Galloway) Date: Fri, 28 Jul 2006 11:13:35 -0600 Subject: Nagios Hanging at Startup/Init Message-ID: <44CA45BF.90904@the-galloways.us> Howdy everybody. I've been running Nagios on my CentOS 4.3 machine for a while now, but recently (I can't say exactly when) the Nagios init has been hanging when the server boots. A "ps -wef | grep nagios" after the server comes up shows the following processes running: root 2435 1454 0 09:26 ? 00:00:00 initlog -q -c /etc/rc3.d/S99nagios start root 2436 2435 0 09:26 ? 00:00:00 /bin/sh /etc/rc3.d/S99nagios start root 2440 2436 0 09:26 ? 00:00:00 su - nagios -c touch /usr/local/nagios/var/nagios.log /usr/local/nagios/var/retention.dat root 4251 4218 0 10:43 pts/1 00:00:00 grep nagios I also noticed the following lines in the "messages" log when I last rebooted: Jul 28 09:26:50 hoshi nagios: Starting network monitor: nagios Jul 28 09:26:50 hoshi su(pam_unix)[2440]: session opened for user nagios by (uid=0) Jul 28 09:26:50 hoshi nagios: Do you want to choose a different one? [n] Any ideas? Thanks, Robert ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rgr at sdf.lonestar.org Tue Jul 25 21:01:57 2006 From: rgr at sdf.lonestar.org (Rob Ristroph) Date: Tue, 25 Jul 2006 14:01:57 -0500 Subject: Problem with remote monitoring using NSCA Message-ID: <87ac6xpkyi.fsf@rgristroph-austin.ath.cx> Hi, I have nagios installed on two Debian machines. Both are Debian testing, and both have nagios and nsca installed from the Debian packages. One of them is version 2.2 and other is version 2.4 (one was installed a little before the other). I have been trying to get the 2.2 one to send it's results to the other, following these instructions: http://nagios.sourceforge.net/docs/1_0/distributed.html I think I have followed the instructions. (The define command for submit_check_result on that page needs to have $OTUPUT$ replaced by $SERVICEOUTPUT$ to work, BTW -- someone should correct that.) The end result is, that on the receiving nagios -- the one that is the "master" or "server" however you want to put it -- the remote host is listed as having failed services, even though the messages from the remote are coming in, and the remote services are not failed. One issue I wasn't sure of was how to disable active checks of the services when they are defined on the server. I disabled them for all of nagios on the server, and then re-enabled them when that didn't make a difference. Here is a section from the /var/log/syslog on the receiving nagios, that shows the incoming message (I x'd out my IP's and domain names): ================== Jul 25 12:05:39 rgristroph-austin nsca[22836]: Connection from xxx.xx.xx.xx port 36518 Jul 25 12:05:39 rgristroph-austin nsca[22836]: Handling the connection... Jul 25 12:05:40 rgristroph-austin nsca[22836]: SERVICE CHECK -> Host Name: 'xxxxx.org', Service Description: 'Tomcat Process', Return Code: '0', Output: 'PROCS OK: 1 process with command name java, args org.apache.catalina.startup.Bootstrap' Jul 25 12:05:40 rgristroph-austin nsca[22836]: End of connection... Jul 25 12:05:59 rgristroph-austin nsca[22837]: Connection from xxx.xx.xx.xx port 37030 Jul 25 12:05:59 rgristroph-austin nsca[22837]: Handling the connection... Jul 25 12:06:00 rgristroph-austin nsca[22837]: SERVICE CHECK -> Host Name: 'localhost', Service Description: 'HTTP', Return Code: '0', Output: 'HTTP OK HTTP/1.1 200 OK - 8074 bytes in 0.015 seconds' Jul 25 12:06:00 rgristroph-austin nsca[22837]: End of connection... ================== On the sending nagios there are not any clues in the logs that I can see. Occasionally there is a timeout message from send_nsca ( from when the receiving host is down, I think ). I have attached a tar file of my configs, in hopes someone might unpack them and take a look. When you unpack it there will be two directories, one for the client, one for the server nagios. I appreciate any help anyone can offer -- I seem to have run up against a brick wall on this one, and will try anything. If I should not be using nsca but nrpe instead, let me know -- I decided on nsca because it sounded like nrpe involved sending code to be run or interpretted to the other machine, which seemed like a security risk. --Rob -- http://rgr.freeshell.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios_post_configs.tar.gz Type: application/octet-stream Size: 42537 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 udbytossen at gmail.com Fri Jul 28 19:25:19 2006 From: udbytossen at gmail.com (=?ISO-8859-1?Q?Per_J=F8rgensen?=) Date: Fri, 28 Jul 2006 19:25:19 +0200 Subject: problem about check_dhcp Message-ID: <17f27c1b0607281025p59c06b7egb8285d3b458578b1@mail.gmail.com> Thanks Miles - that help ! Just what I needed! -- Med venlig hilsen Per J?rgensen udbytossen at gmail.com No place like 127.0.0.1 Arch Rules....... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Daniel.Rusch at fotf.org Fri Jul 28 19:26:05 2006 From: Daniel.Rusch at fotf.org (Rusch, Daniel) Date: Fri, 28 Jul 2006 11:26:05 -0600 Subject: It appears as though you do not have permission Message-ID: <8514B8AEA269234B82EF64E707E588500983CC36@nahum.mis.fotf.priv> Thanks, I noticed the "error" in my httpd.conf about 30 seconds after I sent the post. I removed the directive and it works! I must have looked at the httpd.conf file a dozen times looking for an error buit overlooked that. Thanks Marc! D > > AuthName "Nagios Command Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/.htpasswd.users > require valid-user > Thank you, Daniel G. Rusch x2027 -----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 26, 2006 4:55 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] It appears as though you do not have permission > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rusch, Daniel > Sent: Wednesday, July 26, 2006 1:00 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] It appears as though you do not have permission > > All, > > Goal: to limit what services and hosts individuals can see to the hosts > that they are a contact for. > > The manual states: [chop] > > thoughts? > > below is my httpd.conf file > > > > > > ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ "/usr/local/nagios/sbin/"> > > AuthName "Nagios Command Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/.htpasswd.users > require valid-user > > Options ExecCGI > Order allow,deny > Allow from all > In short, you deviated from the documented way of doing it and it got you ;) You've specified that authorization only applies to cmd.cgi when you actually want all the CGI's to know who the user is, especially status.cgi. You get prompted to log in because you have auth enabled for /share but because of the way htaccess works, that information isn't known outside of the /share directory. http://nagios.sourceforge.net/docs/2_0/installweb.html 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 If you were wanting to limit access to cmd.cgi to specific users then you can try something like the following (untested) -- 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 require user bob require user fred -- Marc ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 17:16:23 2006 From: jperrin at gmail.com (Jim Perrin) Date: Thu, 27 Jul 2006 11:16:23 -0400 Subject: How to pronounce Nagios In-Reply-To: <38D6D515FC15924693F2640881AF4620667B1E@corpexbe2.arcadis-us.com> References: <6b16fb4c0607260638x7cf943dx9f8e3e8322a5ad9d@mail.gmail.com> <38D6D515FC15924693F2640881AF4620667B1E@corpexbe2.arcadis-us.com> Message-ID: <302ce8b50607270816v5ed505d3m6c178c15e821e817@mail.gmail.com> On 7/26/06, Cook, Garry wrote: > The answer is in the FAQ. > http://nagios.org/faqs/viewfaq.php?faq_id=3&expand=false&showdesc=false > To some, its pronunciation is one of several complex phrases, ranging from "Oh crap. Is that box dead AGAIN?" to "more email?" and even "wow that saved my ass". As you can see, its pronunciation varies from admin to admin and contact to contact. While it may be a FAQ, the faq does not contain all possible pronunciations. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 19:42:54 2006 From: marc at ena.com (Marc Powell) Date: Fri, 28 Jul 2006 12:42:54 -0500 Subject: Nagios Hanging at Startup/Init Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Robert S Galloway > Sent: Friday, July 28, 2006 12:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Hanging at Startup/Init > > Howdy everybody. I've been running Nagios on my CentOS 4.3 machine for a > while now, but recently (I can't say exactly when) the Nagios init has > been hanging when the server boots. A "ps -wef | grep nagios" after the > server comes up shows the following processes running: > > root 2435 1454 0 09:26 ? 00:00:00 initlog -q -c > /etc/rc3.d/S99nagios start > root 2436 2435 0 09:26 ? 00:00:00 /bin/sh > /etc/rc3.d/S99nagios start > root 2440 2436 0 09:26 ? 00:00:00 su - nagios -c touch > /usr/local/nagios/var/nagios.log /usr/local/nagios/var/retention.dat > root 4251 4218 0 10:43 pts/1 00:00:00 grep nagios > > I also noticed the following lines in the "messages" log when I last > rebooted: > > Jul 28 09:26:50 hoshi nagios: Starting network monitor: nagios > Jul 28 09:26:50 hoshi su(pam_unix)[2440]: session opened for user nagios > by (uid=0) > Jul 28 09:26:50 hoshi nagios: Do you want to choose a different one? [n] Google for the [error] message. Judging by the last log entry it looks like you have done something with SELinux user accounts. See section 4.1 of http://72.14.209.104/search?q=cache:hxxeX2CxD_8J:www.lurking-grue.org/ge ttingstarted_newselinuxHOWTO.html+%22Do+you+want+to+choose+a+different+o ne%3F+%22&hl=en&gl=us&ct=clnk&cd=1&client=firefox-a -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From colby.williams at gmail.com Fri Jul 28 18:02:47 2006 From: colby.williams at gmail.com (Colby Williams) Date: Fri, 28 Jul 2006 12:02:47 -0400 Subject: monitoring cisco vpn 3005 memory? In-Reply-To: <1154101628.867.2.camel@localhost> References: <1154101628.867.2.camel@localhost> Message-ID: <10fa72f80607280902l19107196x15c95cd46ebe39d0@mail.gmail.com> How well do understanding snmp strings? Colby On 7/28/06, Alex Valentine wrote: > > Can anyone point me to a plugin that will monitor the resource usage of > a Cisco VPN 3000 series? I found these plugins: > > http://www.manubulon.com/nagios/index_snmp.html > > which work great on our routers, but do not seem to work on the vpn > concentrators. > > Thanks, > > Alex > -- > ///////////////////////////////////// > Alex Valentine asv at ivoss.com > aim: asv108vv jabber: asv at jabber.org > http://www.alexvalentine.org > ///////////////////////////////////// > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 felipe at tocchetto.com Fri Jul 28 17:07:09 2006 From: felipe at tocchetto.com (Felipe Tocchetto) Date: Fri, 28 Jul 2006 12:07:09 -0300 Subject: not receiving the nagios notifications In-Reply-To: References: Message-ID: <4f70c5c80607280807r3740dc31t3064ee0ab685b71e@mail.gmail.com> Now i am receiveing the notification. Thanks for all who try to help me. The last point, the messages are some bad format, here it is: ***** Nagios ***** Notification Type: PROBLEM Host: host.tocchetto.com\ nState: DOWN Address: 200.xx.xx.x Info: CRITICAL - Plugin timed out after 10 seconds Date/Time: Fri Jul 28 12:02:34 BRT 2006 And without subject.... 2006/7/28, Marc Powell : > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Felipe Tocchetto > > Sent: Friday, July 28, 2006 8:48 AM > > To: Marc Powell; Nagios Users Mailinglist > > Subject: Re: [Nagios-users] not receiving the nagios notifications > > > > Hi Marc > > > > I changed the command in the misccomands.cfg to the one you suggest, > > it creates the file, and here is the output. > > > > I supress some of my host and IP information. > > > > bash-3.00# more /tmp/host-notify > > > > /usr/bin/printf "%b" "***** Nagios ***** > > > > Notification Type: PROBLEM > > Host: host.xx-xx.xx.x > > State: DOWN > > Address: 200.000.00.00 > > Info: CRITICAL - Plugin timed out after 10 seconds > > > > Date/Time: Fri Jul 28 10:27:14 BRT 2006 > > " | /usr/bin/mail -s "Host DOWN alert for host.xx-xx.xx.x!" > > felipe at tocchetto.com > > > > Information about my OS: > > > > SunOS 5.10 Generic_118844-26 i86pc i386 i86pc > > > > I notice somethig: > > > > bash-3.00# printf TEST123 | mail -s "test mail to felipe" > > felipe at tocchetto.com > > > > Without the "!" in the end of the subject it was sent with no problems > > Yup. I suspected that might be an issue. You can remove the '!' or use > ''s around the subject to prevent the interpretation of the ! like -- > > .... | /usr/bin/mail -s 'Host $HOSTSTATE$ alert for $HOSTNAME$!' > $CONTACTEMAIL$' > > -- > Marc > -- Felipe L. Tocchetto http://felipe.tocchetto.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 20:57:17 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Fri, 28 Jul 2006 13:57:17 -0500 (CDT) Subject: How to pronounce Nagios In-Reply-To: <302ce8b50607270816v5ed505d3m6c178c15e821e817@mail.gmail.com> References: <302ce8b50607270816v5ed505d3m6c178c15e821e817@mail.gmail.com> Message-ID: <20060728185717.6E1C338029@chuys.eng.intrinsity.com> Jim Perrin said... |To some, its pronunciation is one of several complex phrases, ranging |from "Oh crap. Is that box dead AGAIN?" to "more email?" and even "wow |that saved my ass". As you can see, its pronunciation varies from |admin to admin and contact to contact. While it may be a FAQ, the faq |does not contain all possible pronunciations. But the FAQ did include a very important alternate pronunciation: "nachos". Mmmmm. Nachos! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 the-galloways.us Fri Jul 28 21:04:49 2006 From: nagios at the-galloways.us (Robert S Galloway) Date: Fri, 28 Jul 2006 13:04:49 -0600 Subject: Nagios Hanging at Startup/Init In-Reply-To: References: Message-ID: <44CA5FD1.9020707@the-galloways.us> Marc, Thanks for the pointer. I don't recall setting the SELinux to "permissive", but that is what it was set to. Maybe it was setup that way all along and one of the recent updates changed how it behaved. Thanks again! Robert Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Robert S Galloway >> Sent: Friday, July 28, 2006 12:14 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Nagios Hanging at Startup/Init >> >> Howdy everybody. I've been running Nagios on my CentOS 4.3 machine for >> > a > >> while now, but recently (I can't say exactly when) the Nagios init has >> been hanging when the server boots. A "ps -wef | grep nagios" after >> > the > >> server comes up shows the following processes running: >> >> root 2435 1454 0 09:26 ? 00:00:00 initlog -q -c >> /etc/rc3.d/S99nagios start >> root 2436 2435 0 09:26 ? 00:00:00 /bin/sh >> /etc/rc3.d/S99nagios start >> root 2440 2436 0 09:26 ? 00:00:00 su - nagios -c touch >> /usr/local/nagios/var/nagios.log /usr/local/nagios/var/retention.dat >> root 4251 4218 0 10:43 pts/1 00:00:00 grep nagios >> >> I also noticed the following lines in the "messages" log when I last >> rebooted: >> >> Jul 28 09:26:50 hoshi nagios: Starting network monitor: nagios >> Jul 28 09:26:50 hoshi su(pam_unix)[2440]: session opened for user >> > nagios > >> by (uid=0) >> Jul 28 09:26:50 hoshi nagios: Do you want to choose a different one? >> > [n] > > Google for the [error] message. Judging by the last log entry it looks > like you have done something with SELinux user accounts. See section 4.1 > of > > http://72.14.209.104/search?q=cache:hxxeX2CxD_8J:www.lurking-grue.org/ge > ttingstarted_newselinuxHOWTO.html+%22Do+you+want+to+choose+a+different+o > ne%3F+%22&hl=en&gl=us&ct=clnk&cd=1&client=firefox-a > > -- > Marc > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 21:15:11 2006 From: Josh.Yost at epsiia.com (Josh Yost) Date: Fri, 28 Jul 2006 14:15:11 -0500 Subject: nagios-snapshot: a cmdline tool for quickly grabbing nagios data Message-ID: <44CA623F.8070401@epsiia.com> Hi, In the spirit of giving back to the Nagians, I've put on www.nagiosexchange.org under Utilities (called 'Snapshot') a command line Perl tool which I wrote & have been using to parse the main 'Services Detail' page & pull back the hostname & Status Info for any service I want (I'm too lazy to even open a browser). It groups each service together when you run it for multiple services & is easily customizable. It uses a .conf file to dynamically generate your cmdline options by what you've defined as services. The conf file is just: service+name = search string1,search string2,etc So the output would look something like this (the email may screw up the formatting): $ ./nagios-snapshot --OpenSSH --OpenL --user=blah --pass=blah ######################### OpenLDAP ################################# host1 | LDAP OK - 0.024 seconds response time host2 | LDAP OK - 0.008 seconds response time host3 | LDAP OK - 0.005 seconds response time #################################################################### ######################## OpenSSH ################################### host1 | SSH OK - OpenSSH_4.3 (protocol 2.0) host2 | SSH OK - OpenSSH_4.3 (protocol 2.0) host3 | SSH OK - OpenSSH_4.3 (protocol 2.0) host4 | SSH OK - OpenSSH_4.3 (protocol 2.0) host5 | SSH OK - OpenSSH_4.3 (protocol 2.0) host6 | SSH OK - OpenSSH_4.3 (protocol 2.0) host7 | SSH OK - OpenSSH_3.5p1 (protocol 2.0) host8 | SSH OK - OpenSSH_4.3 (protocol 2.0) host9 | SSH OK - OpenSSH_4.3 (protocol 2.0) ##################################################################### There may already be something out there like this - I have no idea. But if you use it, I hope it helps! - Josh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From theother1 at hotmail.com Fri Jul 28 21:47:48 2006 From: theother1 at hotmail.com (The Other1) Date: Fri, 28 Jul 2006 13:47:48 -0600 Subject: Tracking dynamic parents? Message-ID: Hello list, I am monitoring several hundred virtual machines and they move from time to time to different VMware host machines. My question is how can I easily update the parents for these? Can I have a file like a parents.cfg file that defines the children of a parent? Although that kind of seems backwards. I can script a cron job to see which guests are currently running on a host and write it out to a file, but to go through and change the parent line in the main cfg file would seem to be more difficult and prone to error. Thanks for any input! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 17:16:15 2006 From: marc at ena.com (Marc Powell) Date: Fri, 28 Jul 2006 10:16:15 -0500 Subject: not receiving the nagios notifications Message-ID: > -----Original Message----- > From: tocchetto at gmail.com [mailto:tocchetto at gmail.com] On Behalf Of Felipe > Tocchetto > Sent: Friday, July 28, 2006 10:07 AM > To: Marc Powell > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] not receiving the nagios notifications > > Now i am receiveing the notification. Thanks for all who try to help me. > > The last point, the messages are some bad format, here it is: > > ***** Nagios ***** > > Notification Type: PROBLEM > Host: host.tocchetto.com\ nState: DOWN Remove the ' ' between the \ and the n in your command definition. > Address: 200.xx.xx.x > Info: CRITICAL - Plugin timed out after 10 seconds > > Date/Time: Fri Jul 28 12:02:34 BRT 2006 > > And without subject.... Run 'man mail' and make sure that the -s parameter specifies the subject for your version of mail. Make sure that it looks like ' ... | /usr/bin/mail -s "Host DOWN alert for host.xx-xx.xx.x!' in your command definition. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 28 22:20:03 2006 From: george at viamedia.co.za (George Rushby) Date: Fri, 28 Jul 2006 22:20:03 +0200 Subject: How to pronounce Nagios In-Reply-To: <20060728185717.6E1C338029@chuys.eng.intrinsity.com> References: <20060728185717.6E1C338029@chuys.eng.intrinsity.com> Message-ID: LOL -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Miles O'Neal Sent: 28 July 2006 08:57 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] How to pronounce Nagios Jim Perrin said... |To some, its pronunciation is one of several complex phrases, ranging |from "Oh crap. Is that box dead AGAIN?" to "more email?" and even "wow |that saved my ass". As you can see, its pronunciation varies from |admin to admin and contact to contact. While it may be a FAQ, the faq |does not contain all possible pronunciations. But the FAQ did include a very important alternate pronunciation: "nachos". Mmmmm. Nachos! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 17:13:29 2006 From: marc at ena.com (Marc Powell) Date: Fri, 28 Jul 2006 10:13:29 -0500 Subject: problem about check_dhcp {Disarmed} {Fraud?} Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Per J?rgensen > Sent: Friday, July 28, 2006 9:59 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] problem about check_dhcp {Disarmed} {Fraud?} > > Hi Users! > > I am running into a problem about check_dhcp plugin. > My user nagios have not the rigth privileges to run this(Even thoug it > have the exact same rigths as all the others plugins) > When I run the plugin from a commandline as root - no problem! > When I run as nagios user: > /usr/local/nagios/libexec/check_dhcp -s 10.80.10.150 > Error: Could not bind socket to interface eth0. Check your privileges... > [snip] > The rigths in libexec: > -rwxr-xr-x 1 root root 61374 Jul 28 13:16 check_dhcp [snip] > And there it is - no problem by running all the other plugins - but on > this one I havent got the rigths. > > Its running on a SUSE system as a Distributed server.. > What should I do to make nagios get the rigths to make this dhcp check??? su -; chown root /usr/local/nagios/libexec/check_dhcp; chmod u+s /usr/local/nagios/libexec/check_dhcp check_dhcp must be run as the root user. Making it owned by root and suid will allow nagios to run it as the root user with no special actions necessary. This would/should have been the default permissions after plugin installation. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maemigh at gmail.com Fri Jul 28 18:53:42 2006 From: maemigh at gmail.com (Mike Emigh) Date: Fri, 28 Jul 2006 12:53:42 -0400 Subject: not receiving the nagios notifications In-Reply-To: <2D0245E43DEC724F81592D697F05689903AD5C37@SIDHQEXCHMB1.Cabelas.Corp> References: <2D0245E43DEC724F81592D697F05689903AD5C37@SIDHQEXCHMB1.Cabelas.Corp> Message-ID: <91eedcbf0607280953l7a7a8444wb6d17f0dfda44dc9@mail.gmail.com> On 7/28/06, Aaron Segura wrote: > > Shameless plug: > > > http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[p_view]=627 > > Maybe try this? That way you don't have to put anything "tricky" on the > cmdline. It all just goes into the template. No worries about escaping > special shell characters, etc... > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] On Behalf Of Felipe Tocchetto > Sent: Tuesday, July 25, 2006 3:31 PM > To: Marc Powell > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] not receiving the nagios notifications > > Hi Marc > > Here some tests > > The command: > > id;/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: Host > Notification\nHost: teste.xxx.xxxx.br\nState: CRITICAL\nAddress: > 200.xxx.xx.xx\nInfo: CRITICAL - Plugin timed out after 10 > seconds\n\nDate//Time: 24/07/2006 11:11:11\n" | /usr/bin/mail -s > "alert" felipe at tocchetto.com > > just 1 line! > > The output for the command: > > uid=100(nagios) gid=1(other) > > And I receive the email: > > ***** Nagios ***** > > Notification Type: Host > Notification > Host: teste.xxx.xxxx.br > State: CRITICAL > Address: > 200.xxx.xx.xx > Info: CRITICAL - Plugin timed out after 10 > seconds > > Date/Time: 24/07/2006 11:11:11 > > All commands are in just 1 line... > > I am using the default commands from the nagios instalation, I didn?t > change anything. > > > > 2006/7/24, Marc Powell : > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > > bounces at lists.sourceforge.net] On Behalf Of Felipe Tocchetto > > > Sent: Monday, July 24, 2006 3:34 PM > > > To: Nagios Users Mailinglist > > > Subject: Re: [Nagios-users] not receiving the nagios notifications > > > > > > I am using the default command. > > > > > > Manually it works, without the vars. > > > Thanks a lot. > > > > > > I really dont know how to fix it. > > > > > > I see a couple more things that I originally attributed to my mail > > client formatting of your original message. They may actually be > > problems with your config. > > > > # 'host-notify-by-email' command definition > > define command{ > > command_name host-notify-by-email > > command_line /usr/bin/printf "%b" "***** Nagios > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\ > > nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: > > $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "Host > > $HOS > > TSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ > > } > > > > In the above definition I see a carriage returns between "$HOSTNAME\" > > and "nState:" as well as between "Host $HOS" and "TSTATE$". Do they > > really exist in your config file? They should not. If no, can you send > > the output of the following command when run as the nagios user? > > > > id;/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: Host > > Notification\nHost: teste.xxx.xxxx.br\nState: CRITICAL\nAddress: > > 200.xxx.xx.xx\nInfo: CRITICAL - Plugin timed out after 10 > > seconds\n\nDate/Time: 24/07/2006 11:11:11\n" | /usr/bin/mail -s "Host > > CRITICAL alert for Test Machine!" felipe at tocchetto.com > > > > > > > > ------ > > > > # 'notify-by-email' command definition > > define command{ > > command_name notify-by-email > > command_line /usr/bin/printf "%b" "***** Nagios > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVI > > CEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\ > > n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - > > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTE > > MAIL$ > > } > > > > In the above command I see a carriage returns between "$SERIV" and > > "CEDESC$" as well as between "$CONTACTE" and "MAIL$". Do they really > > exist in your config file? They should not. > > > > -- > > Marc > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys -- and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > Felipe L. Tocchetto > http://felipe.tocchetto.com > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Since you are using Solaris, you may need to change the command to use /usr/bin/mailx instead of /usr/bin/mail -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 derek.olsen at qsent.com Fri Jul 28 19:07:59 2006 From: derek.olsen at qsent.com (Derek Olsen) Date: Fri, 28 Jul 2006 10:07:59 -0700 Subject: plug timeout w/o Bind In-Reply-To: <20060728151940.2841F4F4045@desire.netways.de> References: <20060728151940.2841F4F4045@desire.netways.de> Message-ID: <44CA446F.8090402@qsent.com> David. What I've done because I like to use hostname's in my configs instead of ip addresses. 1. Create a monitor using the check_dns plugin which queries the dns server directly by IP address attempting to resolve 1 host in my DNS records. 2. Setup a master dependency that every service relies on. So if my DNS service goes into a warning/critical/unknown state none of my other serfvices will execute. Anyhoo this has worked for me in my particular environment pretty well. In your situation you could setup an check_dns service for each of your nameserver entries in your resolv.conf. Anyhoo this may not address your specific needs but I thought i'd share. Deet. > > > > I'm running Nagios v2.2 on a suse linux without Bind. > > When my first nameserver in resolv.conf fails, the > > Nagios checks start timing out. I get a mix of timeout > > errors and "no response" errors. > > > > This isn't really a big surprise since relying on > > resolv.conf is very slow when the DNS servers start > > dropping off. Of course, the name resolution works > > eventually but by then my 10-second timeout settings > > have given up. > > > > Has anyone using resolv.conf encountered and/or resolved > > this? Is Bind a requirement because of this? > > > > My decision to not go with Bind is because of the additional > > checking I get when Nagios does name resolution with each > > check. This approach has alerted us to numerous problems > > before getting that dreaded call from the customer. > > > > Any help or ideas would be greatly appreciated. > > > > > > > > - David Schlecht (dschl) > > > > ----------------------- > > The mailing list archive is found here: > > http://www.nagiosexchange.org/nagios-users.34.0.html > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 23:54:07 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Fri, 28 Jul 2006 16:54:07 -0500 (CDT) Subject: plug timeout w/o Bind In-Reply-To: <44CA446F.8090402@qsent.com> References: <44CA446F.8090402@qsent.com> Message-ID: <20060728215407.49CFB38029@chuys.eng.intrinsity.com> Derek Olsen said... | What I've done because I like to use hostname's in my configs instead |of ip addresses. | 1. Create a monitor using the check_dns plugin which queries the dns |server directly by IP address attempting to resolve 1 host in my DNS |records. | 2. Setup a master dependency that every service relies on. So if |my DNS service goes into a warning/critical/unknown state none of my |other serfvices will execute. Instead of or in addition to #2, you can run a caching name server (named or something else) on the nagios system. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jul 29 02:08:57 2006 From: gdanko at gmail.com (Gary Danko) Date: Fri, 28 Jul 2006 17:08:57 -0700 Subject: check_http combine -e and -s Message-ID: <6c5c451f0607281708p5f637fcl690564344c383ef9@mail.gmail.com> Can you use both -e and -s with check_http? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jul 29 02:49:40 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Fri, 28 Jul 2006 19:49:40 -0500 (CDT) Subject: check_http combine -e and -s In-Reply-To: <6c5c451f0607281708p5f637fcl690564344c383ef9@mail.gmail.com> References: <6c5c451f0607281708p5f637fcl690564344c383ef9@mail.gmail.com> Message-ID: <20060729004940.3525D38029@chuys.eng.intrinsity.com> Gary Danko said... | |Can you use both -e and -s with check_http? Yes. But really, you'll typically find out faster if you just try it. You can't hurt it. Just run test commands from the command line. I did the following: /usr/lib64/nagios/plugins/check_http -H aaa.bbb.ccc.ddd -e HTTP/1 -s index.html /usr/lib64/nagios/plugins/check_http -H aaa.bbb.ccc.ddd -e HTTP/1 -s fred /usr/lib64/nagios/plugins/check_http -H aaa.bbb.ccc.ddd -e HTTP/0 -s fred The first one reported all well as expected. The next reported bad content. The last reported bad header. -Miles ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Sat Jul 29 20:12:25 2006 From: nagios at ayksolutions.com (nagios) Date: Sat, 29 Jul 2006 14:12:25 -0400 Subject: adding multiple checks to a host, how? Message-ID: <44CBA509.7030405@ayksolutions.com> Am I able to string together checks in the command_check object like so: define host{ name myname register 0 check_command check-host-alive, check_smtp, check_httpd etc... } Is this legal or how would I go about doing this? Thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Sat Jul 29 20:20:10 2006 From: amontibello at gmail.com (Anthony Montibello) Date: Sat, 29 Jul 2006 14:20:10 -0400 Subject: Logged users In-Reply-To: <44C72665.6070309@gmail.com> References: <44C72665.6070309@gmail.com> Message-ID: You could proboly do this through a WMI querry. Tony Author of NC_Net On 7/26/06, ThomasC. wrote: > HI, > > Do you guys are able to monitor number and username of logged users on > Windows servers ? > How can i do that? > > Thanks. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 amontibello at gmail.com Sat Jul 29 20:26:56 2006 From: amontibello at gmail.com (Anthony Montibello) Date: Sat, 29 Jul 2006 14:26:56 -0400 Subject: Windows 2003 Server In-Reply-To: References: Message-ID: NC_NEt v3.05 Works with Check_nt and is a drop in replacement for NSClient It requires Dot NEt version 2.0 and can be downloaded from sourceforge. http://sourceforge.net/projects/nc-net also there are other Windows plugins like nsclinet++ TOny On 7/12/06, REMY Julien wrote: > > 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 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Sat Jul 29 22:57:05 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 29 Jul 2006 22:57:05 +0200 (CEST) Subject: adding multiple checks to a host, how? In-Reply-To: <44CBA509.7030405@ayksolutions.com> References: <44CBA509.7030405@ayksolutions.com> Message-ID: On Sat, 29 Jul 2006, nagios wrote: > Am I able to string together checks in the command_check object like so: > > define host{ > name myname > register 0 > check_command check-host-alive, check_smtp, check_httpd > etc... > } > > Is this legal or how would I go about doing this? You could start by reading the mailinglist replies. You asked the same question 2 days ago and received several command yet you post the same question again. 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Sun Jul 30 00:59:45 2006 From: nagios at ayksolutions.com (nagios) Date: Sat, 29 Jul 2006 18:59:45 -0400 Subject: adding multiple checks to a host, how? In-Reply-To: References: <44CBA509.7030405@ayksolutions.com> Message-ID: <44CBE861.70500@ayksolutions.com> Hugo van der Kooij wrote: > On Sat, 29 Jul 2006, nagios wrote: > > >> Am I able to string together checks in the command_check object like so: >> >> define host{ >> name myname >> register 0 >> check_command check-host-alive, check_smtp, check_httpd >> etc... >> } >> >> Is this legal or how would I go about doing this? >> > > You could start by reading the mailinglist replies. > > You asked the same question 2 days ago and received several command yet > you post the same question again. > > Hugo. > > Forgive me for asking again. I accidentally cleared the messages for this mailbox and that is why I asked again. I know you helped me out in the last post Hugo and I was actually looking for your reply. If you would be so kind as to post it again, I would be greateful. Sincerely, Artyom ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 01:14:19 2006 From: marc at ena.com (Marc Powell) Date: Sat, 29 Jul 2006 18:14:19 -0500 Subject: adding multiple checks to a host, how? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of nagios > Sent: Saturday, July 29, 2006 6:00 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] adding multiple checks to a host, how? > > Hugo van der Kooij wrote: > > On Sat, 29 Jul 2006, nagios wrote: > > > > > >> Am I able to string together checks in the command_check object like > so: > >> > >> define host{ > >> name myname > >> register 0 > >> check_command check-host-alive, check_smtp, check_httpd > >> etc... > >> } > >> > >> Is this legal or how would I go about doing this? > >> > > > > You could start by reading the mailinglist replies. > > > > You asked the same question 2 days ago and received several command yet > > you post the same question again. > > > > Hugo. > > > > > Forgive me for asking again. I accidentally cleared the messages for > this mailbox and that is why I asked again. I know you helped me out in > the last post Hugo and I was actually looking for your reply. If you > would be so kind as to post it again, I would be greateful. That's what archives are for ;) -- http://sourceforge.net/mailarchive/forum.php?forum=nagios-users http://www.nagiosexchange.org/nagios-users.34.0.html http://news.gmane.org/gmane.network.nagios.user http://www.mail-archive.com/nagios-users at lists.sourceforge.net/ -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Sun Jul 30 01:18:35 2006 From: nagios at ayksolutions.com (nagios) Date: Sat, 29 Jul 2006 19:18:35 -0400 Subject: adding multiple checks to a host, how? In-Reply-To: References: Message-ID: <44CBECCB.90703@ayksolutions.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 nagios >> Sent: Saturday, July 29, 2006 6:00 PM >> To: Nagios Users Mailinglist >> Subject: Re: [Nagios-users] adding multiple checks to a host, how? >> >> Hugo van der Kooij wrote: >> >>> On Sat, 29 Jul 2006, nagios wrote: >>> >>> >>> >>>> Am I able to string together checks in the command_check object >>>> > like > >> so: >> >>>> define host{ >>>> name myname >>>> register 0 >>>> check_command check-host-alive, check_smtp, check_httpd >>>> etc... >>>> } >>>> >>>> Is this legal or how would I go about doing this? >>>> >>>> >>> You could start by reading the mailinglist replies. >>> >>> You asked the same question 2 days ago and received several command >>> > yet > >>> you post the same question again. >>> >>> Hugo. >>> >>> >>> >> Forgive me for asking again. I accidentally cleared the messages for >> this mailbox and that is why I asked again. I know you helped me out >> > in > >> the last post Hugo and I was actually looking for your reply. If you >> would be so kind as to post it again, I would be greateful. >> > > > That's what archives are for ;) -- > > http://sourceforge.net/mailarchive/forum.php?forum=nagios-users > http://www.nagiosexchange.org/nagios-users.34.0.html > http://news.gmane.org/gmane.network.nagios.user > http://www.mail-archive.com/nagios-users at lists.sourceforge.net/ > > -- > Marc > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > Thank you for your replies. I will look at the archives. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Sun Jul 30 02:04:25 2006 From: nagios at ayksolutions.com (nagios) Date: Sat, 29 Jul 2006 20:04:25 -0400 Subject: adding multiple checks to a host, how? In-Reply-To: References: Message-ID: <44CBF789.4070009@ayksolutions.com> Morris, Patrick wrote: >> Forgive me for asking again. I accidentally cleared the >> messages for this mailbox and that is why I asked again. I >> know you helped me out in the last post Hugo and I was >> actually looking for your reply. If you would be so kind as >> to post it again, I would be greateful. >> > > http://www.nagiosexchange.org/nagios-users.34.0.html > > Thanks for the reply. Am I able to take it a step further and perhaps include full hostgroups within servicegroups? I know I can put in hostgroup_name within service, that will definitely be of some help. Thanks again ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Sun Jul 30 02:50:27 2006 From: nagios at ayksolutions.com (nagios) Date: Sat, 29 Jul 2006 20:50:27 -0400 Subject: what mail server to use? Message-ID: <44CC0253.1020801@ayksolutions.com> Does anyone have any recommendations on what mail server to use? I'm planning on going with Sendmail, but I know that there are a few others out there. Any suggestions are welcome. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 03:22:43 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 29 Jul 2006 21:22:43 -0400 Subject: what mail server to use? In-Reply-To: <44CC0253.1020801@ayksolutions.com> References: <44CC0253.1020801@ayksolutions.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of nagios > Sent: Saturday, July 29, 2006 5:50 PM > To: Nagios Users Mailinglist > Subject: [Nagios-users] what mail server to use? > > Does anyone have any recommendations on what mail server to > use? I'm planning on going with Sendmail, but I know that > there are a few others out there. Any suggestions are welcome. If you know one and are comfortable with it, use it. There are pros and cons to every mailer. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jul 30 05:18:27 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Sat, 29 Jul 2006 22:18:27 -0500 (CDT) Subject: adding multiple checks to a host, how? In-Reply-To: <44CBE861.70500@ayksolutions.com> References: <44CBE861.70500@ayksolutions.com> Message-ID: <20060730031827.6689938029@chuys.eng.intrinsity.com> |Forgive me for asking again. I accidentally cleared the messages for |this mailbox and that is why I asked again. I know you helped me out in |the last post Hugo and I was actually looking for your reply. If you |would be so kind as to post it again, I would be greateful. As I recall, the place where you find the signup for this list includes a way to view the archives. Just look back through the recent posts. -Miles ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jul 30 05:21:47 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Sat, 29 Jul 2006 22:21:47 -0500 (CDT) Subject: what mail server to use? In-Reply-To: <44CC0253.1020801@ayksolutions.com> References: <44CC0253.1020801@ayksolutions.com> Message-ID: <20060730032147.2FBF138029@chuys.eng.intrinsity.com> nagios said... | |Does anyone have any recommendations on what mail server to use? I'm |planning on going with Sendmail, but I know that there are a few others |out there. Any suggestions are welcome. We converted to postfix at work; it's more straightforward to configure. My personal server still runs sendmail, just because I have it config'd pretty thoroughly. I really need to learn postfix... They both seem to work fine, though I keep hearing sendmail has more problems in terms of security. I know there are some anti-spam concepts I wish it had. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mh+nagios-users at zugschlus.de Sun Jul 30 11:49:19 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Sun, 30 Jul 2006 11:49:19 +0200 Subject: what mail server to use? In-Reply-To: <44CC0253.1020801@ayksolutions.com> References: <44CC0253.1020801@ayksolutions.com> Message-ID: <20060730094919.GB17127@torres.l21.ma.zugschlus.de> On Sat, Jul 29, 2006 at 08:50:27PM -0400, nagios wrote: > Does anyone have any recommendations on what mail server to use? I'm > planning on going with Sendmail, but I know that there are a few others > out there. Any suggestions are welcome. I'd go with whatever is the default on your OS. Being the maintainer for Debian's exim packages, I am kind of biased. If you have a working mailserver installation on the network, you might want to go with one of the "featureless" mailers like ssmtp or nullmailer. If so, take care what your local mail server does when the smtp server is not reachable. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Sun Jul 30 16:50:57 2006 From: nagios at ayksolutions.com (nagios) Date: Sun, 30 Jul 2006 10:50:57 -0400 Subject: what mail server to use? In-Reply-To: <20060730094919.GB17127@torres.l21.ma.zugschlus.de> References: <44CC0253.1020801@ayksolutions.com> <20060730094919.GB17127@torres.l21.ma.zugschlus.de> Message-ID: <44CCC751.3050904@ayksolutions.com> Marc Haber wrote: > On Sat, Jul 29, 2006 at 08:50:27PM -0400, nagios wrote: > >> Does anyone have any recommendations on what mail server to use? I'm >> planning on going with Sendmail, but I know that there are a few others >> out there. Any suggestions are welcome. >> > > I'd go with whatever is the default on your OS. Being the maintainer > for Debian's exim packages, I am kind of biased. > > If you have a working mailserver installation on the network, you > might want to go with one of the "featureless" mailers like ssmtp or > nullmailer. If so, take care what your local mail server does when the > smtp server is not reachable. > > Greetings > Marc > > Thank you for your suggestions. I'll most likely go with either Sendmail or Qmail. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Sun Jul 30 22:14:39 2006 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Sun, 30 Jul 2006 22:14:39 +0200 (CEST) Subject: getting some flyby errors Message-ID: <20060730201439.DAB6E4F4045@desire.netways.de> Any suggestions on how I would go about doing this? I've been testing this out for the better part of the day, but still get the following error(s) on the flyby test: Error: Service check command 'check_smtp' specified in service 'SMTP' for host 'aykshared' not defined anywhere! Checked 7 services. In the hosts.cfg file, I have the following: define host{ name Linux register 0 check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 240 notification_period 24x7 notification_options d,r,u,f contact_groups localadmin #notification_enabled 1 #event_handler_enabled 1 flap_detection_enabled 1 #failure_detection_enabled 1 #process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 } define host{ use Linux host_name aykshared hostgroups linux_aykshared alias AYK PING address 1.1.1.1 } #define host{ #name Linux-SMTP #register 0 #check_command check_smtp #max_check_attempts 10 #check_period 24x7 #notification_interval 240 #notification_period 24x7 #notification_options d,r,u,f #contact_groups localadmin #notification_enabled 1 #event_handler_enabled 1 #flap_detection_enabled 1 #failure_detection_enabled 1 #process_perf_data 1 #retain_status_information 1 #retain_nonstatus_information 1 #} #define host{ #use Linux-SMTP #host_name aykshared-smtp #hostgroups linux_aykshared #alias AYK SMTP #address mail.server.com #} In the services.cfg file I have the following: define service{ name basic-service is_volatile 0 check_period 24x7 max_check_attempts 15 normal_check_interval 5 retry_check_interval 1 notification_interval 240 notification_period 24x7 register 0 } define service{ use basic-service name ping-service check_command check_ping!100.0,10%!500.0,40%!5 notification_options u,c,r,f register 0 } define service{ use ping-service hostgroup_name linux_aykshared servicegroups shared service_description PING contact_groups localadmin } define service{ use basic-service name smtp-service check_command check_smtp notification_options c,r register 0 } define service{ use smtp-service hostgroup_name linux_aykshared servicegroups shared service_description SMTP contact_groups localadmin } I commented out the second half for the time being as it didn't work, but that is what I have. Also, please note that I do not want to define 'aykshared-smtp' as a new user but would like to have it all under 'aykshared'. This is mostly for us when we view through the web interface, so all the checks are under'aykshared' host. I tried using just host {}, but of course that did not work. When I uncomment the above part, I still get the same error, that it was not defined. Thanks for the help! P.S. Before I get jumped at for not replying to a specific mailing list, can someone please tell me how I can do that? Each "reply" button seems to be replying directly to the poster and not the whole thread. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Ringe at web.de Sun Jul 30 23:03:12 2006 From: Peter.Ringe at web.de (Peter Ringe) Date: Sun, 30 Jul 2006 23:03:12 +0200 Subject: getting some flyby errors In-Reply-To: <20060730201439.DAB6E4F4045@desire.netways.de> References: <20060730201439.DAB6E4F4045@desire.netways.de> Message-ID: <44CD1E90.4020909@web.de> Hi Artyom so you know, that nagios is recognising that you hate defined a service check called check_smtp' for host 'aykshared but you also have to define a command (normally in commands.cfg) additionally you have to have the corrosponding plugin ... Peter Artyom Khmelnitsky schrieb: > Any suggestions on how I would go about doing this? I've been testing > this out for the better part of the day, but still get the following > error(s) on the flyby test: > > > > > > Error: Service check command 'check_smtp' specified in service 'SMTP' > for host 'aykshared' not defined anywhere! > > Checked 7 services. > > > > > > In the hosts.cfg file, I have the following: > > > > > > define host{ > > name Linux > > register 0 > > check_command check-host-alive > > max_check_attempts 10 > > check_period 24x7 > > notification_interval 240 > > notification_period 24x7 > > notification_options d,r,u,f > > contact_groups localadmin > > #notification_enabled 1 > > #event_handler_enabled 1 > > flap_detection_enabled 1 > > #failure_detection_enabled 1 > > #process_perf_data 1 > > retain_status_information 1 > > retain_nonstatus_information 1 > > } > > define host{ > > use Linux > > host_name aykshared > > hostgroups linux_aykshared > > alias AYK PING > > address 1.1.1.1 > > } > > #define host{ > > #name Linux-SMTP > > #register 0 > > #check_command check_smtp > > #max_check_attempts 10 > > #check_period 24x7 > > #notification_interval 240 > > #notification_period 24x7 > > #notification_options d,r,u,f > > #contact_groups localadmin > > #notification_enabled 1 > > #event_handler_enabled 1 > > #flap_detection_enabled 1 > > #failure_detection_enabled 1 > > #process_perf_data 1 > > #retain_status_information 1 > > #retain_nonstatus_information 1 > > #} > > #define host{ > > #use Linux-SMTP > > #host_name aykshared-smtp > > #hostgroups linux_aykshared > > #alias AYK SMTP > > #address mail.server.com > > #} > > > > > > In the services.cfg file I have the following: > > > > > > define service{ > > name basic-service > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 15 > > normal_check_interval 5 > > retry_check_interval 1 > > notification_interval 240 > > notification_period 24x7 > > register 0 > > } > > define service{ > > use basic-service > > name ping-service > > check_command check_ping!100.0,10%!500.0,40%!5 > > notification_options u,c,r,f > > register 0 > > } > > define service{ > > use ping-service > > hostgroup_name linux_aykshared > > servicegroups shared > > service_description PING > > contact_groups localadmin > > } > > define service{ > > use basic-service > > name smtp-service > > check_command check_smtp > > notification_options c,r > > register 0 > > } > > define service{ > > use smtp-service > > hostgroup_name linux_aykshared > > servicegroups shared > > service_description SMTP > > contact_groups localadmin > > } > > > > > > I commented out the second half for the time being as it didn't > work, but that is what I have. Also, please note that I do not > want to define 'aykshared-smtp' as a new user but would like to > have it all under 'aykshared'. This is mostly for us when we view > through the web interface, so all the checks are under'aykshared' > host. > > > > I tried using just host {}, but of course that did not work. When > I uncomment the above part, I still get the same error, that it > was not defined. > > > > Thanks for the help! > > > > P.S. Before I get jumped at for not replying to a specific mailing > list, can someone please tell me how I can do that? Each "reply" > button seems to be replying directly to the poster and not the > whole thread. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Ringe at web.de Sun Jul 30 23:15:29 2006 From: Peter.Ringe at web.de (Peter Ringe) Date: Sun, 30 Jul 2006 23:15:29 +0200 Subject: getting some flyby errors In-Reply-To: <44CD1E90.4020909@web.de> References: <20060730201439.DAB6E4F4045@desire.netways.de> <44CD1E90.4020909@web.de> Message-ID: <44CD2171.7000608@web.de> correctum: normally in checkcommand.cfg ... Peter Ringe schrieb: > Hi Artyom > > so you know, that nagios is recognising that you hate defined a service > check called > > check_smtp' for host 'aykshared > > but you also have to define a command (normally in commands.cfg) > additionally you have to have the corrosponding plugin ... > > > Peter > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve.wray at cwa.co.nz Sun Jul 30 23:22:16 2006 From: steve.wray at cwa.co.nz (steve.wray) Date: Mon, 31 Jul 2006 09:22:16 +1200 Subject: 3d status map... from Linux? Message-ID: <44CD2308.9010007@cwa.co.nz> Hi there, I'm noticing some people having posted to the list (over the last few years) about VRML plugins for Linux/Firefox and I'm noticing what appears to be a total lack of any kind of response to them... So far I've been unable to find any way to view the Nagios 3d status map from Linux. Though I have been able to find VRML viewers none have integrated with the web browser nor allowed me to enter URLs. Any suggestions on how to make the 3d status map visible in Linux would be greatly appreciated. Suggestions other than 'install vmware and run windows'. Thanks! ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 23:55:00 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 31 Jul 2006 09:55:00 +1200 Subject: Tracking dynamic parents? In-Reply-To: References: Message-ID: <12A6FDDD13C460408A6E47E5DB1235A2F529@UXCHANGE3.UoA.auckland.ac.nz> > I am monitoring several hundred virtual machines and they > move from time to time to different VMware host machines. My > question is how can I easily update the parents for these? We have this situation as well. The way I get around it is to reconfigure the scripts daily. I have a reconfigurator which regenerates the config files for both MRTG and Nagios, probing the SNMP on the VMWare server to identify the various locations of the guests. This is then used to set parent definitions, and also make summary graphs for MRTG. At the same time, it probes for agents, checks for various services, and dynamically reconfigures the monitoring for certain things (theres a central config file the holds a list of what should be there, in addition). We dont vmotion the guests very often, anyway, and the check_esx2 plugin will log current active VMs so it also keeps track of any changes. Sadly I can't share a copy of the config tool as it is too specific to our site. Steve ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 23:56:04 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 30 Jul 2006 23:56:04 +0200 (CEST) Subject: 3d status map... from Linux? In-Reply-To: <44CD2308.9010007@cwa.co.nz> References: <44CD2308.9010007@cwa.co.nz> Message-ID: On Mon, 31 Jul 2006, steve.wray wrote: > Any suggestions on how to make the 3d status map visible in Linux would > be greatly appreciated. Suggestions other than 'install vmware and run > windows'. XEN or win4lin come to mind ;-) But frankly I have never felt the need for a '3D' map on a 2D screen. 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Mon Jul 31 00:28:53 2006 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Mon, 31 Jul 2006 00:28:53 +0200 (CEST) Subject: getting some flyby errors In-Reply-To: <44CD2171.7000608@web.de> References: <44CD2171.7000608@web.de> Message-ID: <20060730222853.C515A4F4045@desire.netways.de> Hello, Thank you for the reply. I do believe I have the plugin and it is defined in checkcommands.cfg. I thought it may be the directory structure at first, but it's not as my PING works just fine and they are located in the same directory/file. Any other ideas? Was my syntax correct as far as defining goes, etc..? Sincerely, - Artyom Khmelnitsky (temak82) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=20567 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 00:30:26 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sun, 30 Jul 2006 18:30:26 -0400 Subject: 3d status map... from Linux? In-Reply-To: <44CD2308.9010007@cwa.co.nz> References: <44CD2308.9010007@cwa.co.nz> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of steve.wray > Sent: Sunday, July 30, 2006 2:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] 3d status map... from Linux? > > Hi there, > I'm noticing some people having posted to the list (over the last few > years) about VRML plugins for Linux/Firefox and I'm noticing > what appears to be a total lack of any kind of response to them... > > So far I've been unable to find any way to view the Nagios 3d > status map from Linux. > > Though I have been able to find VRML viewers none have > integrated with the web browser nor allowed me to enter URLs. > > Any suggestions on how to make the 3d status map visible in > Linux would be greatly appreciated. Suggestions other than > 'install vmware and run windows'. At least a couple are mentioned in the FAQ: http://www.nagios.org/faqs/viewfaq.php?faq_id=51&expand=false&showdesc=f alse Have you tried those? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve.wray at cwa.co.nz Mon Jul 31 00:38:48 2006 From: steve.wray at cwa.co.nz (steve.wray) Date: Mon, 31 Jul 2006 10:38:48 +1200 Subject: 3d status map... from Linux? In-Reply-To: References: Message-ID: <44CD34F8.1050809@cwa.co.nz> Morris, Patrick wrote: >>Subject: [Nagios-users] 3d status map... from Linux? >> >>Hi there, >>I'm noticing some people having posted to the list (over the last few >>years) about VRML plugins for Linux/Firefox and I'm noticing >>what appears to be a total lack of any kind of response to them... [snip] > > At least a couple are mentioned in the FAQ: > > http://www.nagios.org/faqs/viewfaq.php?faq_id=51&expand=false&showdesc=f > alse > > Have you tried those? I've tried to try them... they either require windows (or osx) or don't appear to plug into firefox. Cortona: windows only. CosmoPlayer: windows or powermac only. FreeWRL: might work with plenty of hacking. I'll keep this in mind as a last resort. OpenVRML: again, plenty of hacking required. I didn't mention I'm running debian stable... I did find that cortona works very nicely... in windows XP with firefox so its not a lot of use to me at work. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Mon Jul 31 04:05:48 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Sun, 30 Jul 2006 19:05:48 -0700 Subject: Syslog-NG/NSCA Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD40726FF@raptor.redhawk.info> I found this posting on the Exchange site, but the E-Mail address provided did not work. I wondered of anyone else has configured Syslog-NG to send data via NSCA, and let Nagios handle the notifications, etc. I'm curious to see how Nagios is configured as the server, and Nagios as the client. Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 mkoponick at redhawk.info Mon Jul 31 04:08:12 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Sun, 30 Jul 2006 19:08:12 -0700 Subject: NDO - Log_Entries Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4072700@raptor.redhawk.info> Does anyone know how the field "logentry_type" is defined? I see many entries and numbers in this field, but I wonder what they mean. Thanks! Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Mon Jul 31 04:13:13 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sun, 30 Jul 2006 22:13:13 -0400 Subject: Syslog-NG/NSCA In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD40726FF@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD40726FF@raptor.redhawk.info> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Mike Koponick > Sent: Sunday, July 30, 2006 7:06 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Syslog-NG/NSCA > > I found this posting on the Exchange site, but the E-Mail > address provided did not work. > > I wondered of anyone else has configured Syslog-NG to send > data via NSCA, and let Nagios handle the notifications, etc. > I'm curious to see how Nagios is configured as the server, > and Nagios as the client. I use a combination of syslog-ng and SEC (http://www.estpak.ee/~risto/sec/) to do this. SEC calls a script that submits check results to Nagios via the command pipe. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 04:14:09 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sun, 30 Jul 2006 22:14:09 -0400 Subject: NDO - Log_Entries In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD4072700@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD4072700@raptor.redhawk.info> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Mike Koponick > Sent: Sunday, July 30, 2006 7:08 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NDO - Log_Entries > > Does anyone know how the field "logentry_type" is defined? I > see many entries and numbers in this field, but I wonder what > they mean. If you're looking for NDO database schema info, you'll probably have better luck on the nagios-devel list. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 07:50:39 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 31 Jul 2006 07:50:39 +0200 (CEST) Subject: getting some flyby errors In-Reply-To: <20060730222853.C515A4F4045@desire.netways.de> References: <44CD2171.7000608@web.de> <20060730222853.C515A4F4045@desire.netways.de> Message-ID: On Mon, 31 Jul 2006, Artyom Khmelnitsky wrote: > Thank you for the reply. I do believe I have the plugin and it is > defined in checkcommands.cfg. I thought it may be the directory > structure at first, but it's not as my PING works just fine and > they are located in the same directory/file. > > Any other ideas? Was my syntax correct as far as defining goes, > etc..? Well. As you have not shown the check_smtp definition nor verified it is in a file included in your nagios.cfg I think you have your work cut out for you. And we can not say a thing about the relevant definition as you have not shown it yet. Compare definition with error report very very carefully. It is easy to overlook a slight deviation. If in doubt remove the name and retype it as you may have included a hidden character there. 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Mon Jul 31 10:48:56 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Mon, 31 Jul 2006 10:48:56 +0200 Subject: Recovery not getting sent during downtime? Message-ID: (repost from nagios-devel) Hi folks, I'm currently using Nagios 2.0b3 (never change a running system ;)) and ran into the following problem: Service went critical SMS and emails got dispatched found problem, decided to reboot the machine to fix it scheduled downtime for host rebooted host everything went ok again no SMS/email got dispatched to state the service recovered though! I'm unsure if this problem was already fixed, I didn't find any real evidence in google or the changelogs. Though fixes in the recovery logics and notifcation system itself were documented, they weren't too detailed though. Question: is this a bug or feature? If it is a bug, has it been fixed in a newer release which I can update to? It poses a problem to us as admins that are currently offsite don't get messages that the problem is ok already. So we get quite some unnecessary phonecalls to check for a problem that is already solved. Here's an excerpt how it looked like in the nagios log: [1153954542] SERVICE ALERT: NSEXT01;NOTES;CRITICAL;SOFT;1;Connection refused [1153954600] SERVICE ALERT: NSEXT01;NOTES;CRITICAL;SOFT;2;Connection refused [1153954660] SERVICE ALERT: NSEXT01;NOTES;CRITICAL;HARD;3;Connection refused [1153954660] SERVICE NOTIFICATION: RGingter;NSEXT01;NOTES;CRITICAL;notify-by-email;Connection refused [1153954660] SERVICE NOTIFICATION: MArslan;NSEXT01;NOTES;CRITICAL;notify-by-email;Connection refused [1153954660] SERVICE NOTIFICATION: IT_Service;NSEXT01;NOTES;CRITICAL;notify-by-email;Connection refused [1153955260] SERVICE NOTIFICATION: RGingter_SMS;NSEXT01;NOTES;CRITICAL;notify-by-sms;Connection refused [1153955260] SERVICE NOTIFICATION: MArslan_SMS;NSEXT01;NOTES;CRITICAL;notify-by-sms;Connection refused ...rest of alerts snipped out... [1153980519] EXTERNAL COMMAND: SCHEDULE_HOST_DOWNTIME;NSEXT01;1153980509;1153981829;1;0;7200;technik;Neustart MAr [1153980519] HOST DOWNTIME ALERT: NSEXT01;STARTED; Host has entered a period of scheduled downtime [1153980595] HOST ALERT: NSEXT01;DOWN;SOFT;1;CRITICAL - 10.150.1.2: rta nan, lost 100% [1153980605] HOST ALERT: NSEXT01;DOWN;SOFT;2;CRITICAL - 10.150.1.2: rta nan, lost 100% [1153980615] HOST ALERT: NSEXT01;DOWN;HARD;3;CRITICAL - 10.150.1.2: rta nan, lost 100% [1153980615] SERVICE ALERT: NSEXT01;PING;CRITICAL;HARD;1;CRITICAL - 10.150.1.2: rta nan, lost 100% [1153980687] SERVICE ALERT: NSEXT01;CPU;CRITICAL;HARD;1;CRITICAL - Socket timeout after 10 seconds [1153980687] SERVICE ALERT: NSEXT01;UPTIME;CRITICAL;HARD;1;CRITICAL - Socket timeout after 10 seconds [1153980687] SERVICE ALERT: NSEXT01;DISK_C;CRITICAL;HARD;1;CRITICAL - Socket timeout after 10 seconds [1153980707] HOST ALERT: NSEXT01;UP;HARD;1;OK - 10.150.1.2: rta 1.382ms, lost 0% [1153980707] SERVICE ALERT: NSEXT01;PING;OK;HARD;1;OK - 10.150.1.2: rta 3.307ms, lost 0% [1153980767] SERVICE ALERT: NSEXT01;NOTES;CRITICAL;SOFT;1;Connection refused [1153980805] SERVICE ALERT: NSEXT01;MEMUSE;CRITICAL;SOFT;1;Connection refused [1153980805] SERVICE ALERT: NSEXT01;DISK_D;CRITICAL;SOFT;1;Connection refused [1153980805] SERVICE ALERT: NSEXT01;DISK_E;CRITICAL;SOFT;1;Connection refused [1153980828] SERVICE ALERT: NSEXT01;NOTES;OK;SOFT;2;TCP OK - 0.070 second response time on port 1352 [1153980976] SERVICE ALERT: NSEXT01;CPU;OK;HARD;1;CPU Load 37% (10 min average) [1153980976] SERVICE ALERT: NSEXT01;UPTIME;OK;HARD;1;System Uptime - 0 day(s) 0 hour(s) 5 minute(s) [1153980976] SERVICE ALERT: NSEXT01;DISK_C;OK;HARD;1;C:\ - total: 3.00 Gb - used: 2.05 Gb (68%) - free 0.95 Gb (32%) [1153981105] SERVICE ALERT: NSEXT01;MEMUSE;OK;SOFT;2;Memory usage: total:1951.26 Mb - used: 434.44 Mb (22%) - free: 1516.82 Mb (78%) [1153981105] SERVICE ALERT: NSEXT01;DISK_D;OK;SOFT;2;D:\ - total: 5.43 Gb - used: 2.46 Gb (45%) - free 2.97 Gb (55%) [1153981105] SERVICE ALERT: NSEXT01;DISK_E;OK;SOFT;2;E:\ - total: 67.83 Gb - used: 14.92 Gb (22%) - free 52.91 Gb (78%) [1153981832] HOST DOWNTIME ALERT: NSEXT01;STOPPED; Host has exited from a period of scheduled downtime Any insight in this would be appreciated. sincerely Sascha -- Sascha Runschke Netzwerk Management IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen at altien.com Mon Jul 31 12:07:25 2006 From: mgreen at altien.com (Martin J. Green) Date: Mon, 31 Jul 2006 11:07:25 +0100 Subject: [Nagiosplug-help] NRPE In-Reply-To: <20060728142018.GA5604@gator> References: <20060728142018.GA5604@gator> Message-ID: <5F54491268C784439D51B163322EE58C2F7B32@gorilla.hq.altien.com> >Strip out the comments and post the complete nrpe.cfg pid_file=/var/run/nrpe.pid server_port=5666 #server_address=192.168.1.1 nrpe_user=nagios nrpe_group=nagios allowed_hosts=127.0.0.1,192.168.0.34,10.0.0.34 dont_blame_nrpe=0 debug=1 #which appears to do Jack shit as it happens command_timeout=60 #allow_weak_random_seed=1 command[check_users]=/usr/libexec/nagios/check_users -w 5 -c 10 command[check_load]=/usr/libexec/nagios/check_load -w 15,10,5 -c 30,25,20 command[check_disk1]=/usr/libexec/nagios/check_disk -w 10% -c 5% -p /dev/hda1 command[check_disk2]=/usr/libexec/nagios/check_disk -w 10% -c 5% -p /dev/hdb1 command[check_zombie_procs]=/usr/libexec/nagios/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/libexec/nagios/check_procs -w 150 -c 200 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen at altien.com Mon Jul 31 12:18:27 2006 From: mgreen at altien.com (Martin J. Green) Date: Mon, 31 Jul 2006 11:18:27 +0100 Subject: BUG: check_disk doesn't support LVM volumes Message-ID: <5F54491268C784439D51B163322EE58C2F7B33@gorilla.hq.altien.com> When you try to check an LVM partition, this happens... /check_disk -w 10% -c 5% --partition /dev/mapper/VolGroup00-LogVol01 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 /dev/mapper/VolGroup00-LogVol01 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] In the end, the only way to check it is to check it without specifiying a partition (excepting all others if u wish). Please fix? M ________________________________________________________________________ ___________________________ The questions remain the same. The answers are eternally variable. Martin J. Green Altien Ltd E: mgreen at altien.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 mgreen at altien.com Mon Jul 31 12:47:56 2006 From: mgreen at altien.com (Martin J. Green) Date: Mon, 31 Jul 2006 11:47:56 +0100 Subject: BUG: check_disk doesn't support LVM volumes In-Reply-To: <5F54491268C784439D51B163322EE58C2F7B33@gorilla.hq.altien.com> References: <5F54491268C784439D51B163322EE58C2F7B33@gorilla.hq.altien.com> Message-ID: <5F54491268C784439D51B163322EE58C2F7B34@gorilla.hq.altien.com> Also doesn't support raid. [root at dell05 nagios]# ./check_disk -w 10% -c 5% -p /dev/md0 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 /dev/md0 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] ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Martin J. Green Sent: 31 July 2006 11:18 To: nagios-users at lists.sourceforge.net Cc: nagiosplug-help at lists.sourceforge.net Subject: [Nagios-users] BUG: check_disk doesn't support LVM volumes When you try to check an LVM partition, this happens... /check_disk -w 10% -c 5% --partition /dev/mapper/VolGroup00-LogVol01 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 /dev/mapper/VolGroup00-LogVol01 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] In the end, the only way to check it is to check it without specifiying a partition (excepting all others if u wish). Please fix? M ________________________________________________________________________ ___________________________ The questions remain the same. The answers are eternally variable. Martin J. Green Altien Ltd E: mgreen at altien.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 ayksolutions.com Mon Jul 31 13:44:56 2006 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Mon, 31 Jul 2006 13:44:56 +0200 (CEST) Subject: getting some flyby errors In-Reply-To: References: Message-ID: <20060731114456.3036F4F4045@desire.netways.de> Hello and thank you for your reply. I figured out 99% of my problems. I completely overlooked minimal.cfg and that is where it was pulling everything from. I also had those "already defined" errors before and had to move my checkcommands.cfg file as well as a few other ones. Now I know why. I just had to comment out/move minimal.cfg to a different directory and now everything 's working like a charm. Thanks for all your help. ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=20578 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jul 31 14:28:28 2006 From: marc at ena.com (Marc Powell) Date: Mon, 31 Jul 2006 07:28:28 -0500 Subject: BUG: check_disk doesn't support LVM volumes Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Martin J. Green > Sent: Monday, July 31, 2006 5:18 AM > To: nagios-users at lists.sourceforge.net > Cc: nagiosplug-help at lists.sourceforge.net > Subject: [Nagios-users] BUG: check_disk doesn't support LVM volumes > > When you try to check an LVM partition, this happens... > > > > /check_disk -w 10% -c 5% --partition /dev/mapper/VolGroup00-LogVol01 > > > > 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 > /dev/mapper/VolGroup00-LogVol01 > > 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] > > > > In the end, the only way to check it is to check it without specifiying a > partition (excepting all others if u wish). Please fix? It works fine here -- $ cat /etc/redhat-release CentOS release 3.6 (Final) $ ./check_disk -V check_disk (nagios-plugins 1.4.3) 1.64 /dev/Volume00/LogVol01 on /usr type ext3 (rw) $ ./check_disk -w 10% -c 5% --partition=/dev/Volume00/LogVol01 DISK OK - free space: /usr 7733 MB (79% inode=95%);| /usr=2110MB;8857;9349;95;9842 $ ./check_disk -w 10% -c 5% -p /usr DISK OK - free space: /usr 7733 MB (79% inode=95%);| /usr=2110MB;8857;9349;95;9842 Do you see the error if you specify the path instead of the mountpoint? What OS are you using? Do you have SELinux enabled? If so, see if SELinux is blocking access. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen at altien.com Mon Jul 31 14:55:18 2006 From: mgreen at altien.com (Martin J. Green) Date: Mon, 31 Jul 2006 13:55:18 +0100 Subject: BUG: check_disk doesn't support LVM volumes In-Reply-To: References: Message-ID: <5F54491268C784439D51B163322EE58C2F7B3F@gorilla.hq.altien.com> If I specify path, I get the exact same error. But if you look at the error returned by the plugin - its complaining about the values of -w and -c - surely its parsing it wrong (possibly because its being passed back something it doesn't understand?) M > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Martin J. Green > Sent: Monday, July 31, 2006 5:18 AM > To: nagios-users at lists.sourceforge.net > Cc: nagiosplug-help at lists.sourceforge.net > Subject: [Nagios-users] BUG: check_disk doesn't support LVM volumes > > When you try to check an LVM partition, this happens... > > > > /check_disk -w 10% -c 5% --partition /dev/mapper/VolGroup00-LogVol01 > > > > 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 > /dev/mapper/VolGroup00-LogVol01 > > 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] > > > > In the end, the only way to check it is to check it without specifiying a > partition (excepting all others if u wish). Please fix? It works fine here -- $ cat /etc/redhat-release CentOS release 3.6 (Final) $ ./check_disk -V check_disk (nagios-plugins 1.4.3) 1.64 /dev/Volume00/LogVol01 on /usr type ext3 (rw) $ ./check_disk -w 10% -c 5% --partition=/dev/Volume00/LogVol01 DISK OK - free space: /usr 7733 MB (79% inode=95%);| /usr=2110MB;8857;9349;95;9842 $ ./check_disk -w 10% -c 5% -p /usr DISK OK - free space: /usr 7733 MB (79% inode=95%);| /usr=2110MB;8857;9349;95;9842 Do you see the error if you specify the path instead of the mountpoint? What OS are you using? Do you have SELinux enabled? If so, see if SELinux is blocking access. -- Marc ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From theother1 at hotmail.com Mon Jul 31 15:13:43 2006 From: theother1 at hotmail.com (The Other1) Date: Mon, 31 Jul 2006 07:13:43 -0600 Subject: Tracking dynamic parents? In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A2F529@UXCHANGE3.UoA.auckland.ac.nz> References: <12A6FDDD13C460408A6E47E5DB1235A2F529@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: Thanks for the input Steve. I was afraid it would come to that. Oh well. Off to write some Perl... Thanks again! >From: "Steve Shipway" >To: "The Other1" >, >Subject: Re: [Nagios-users] Tracking dynamic parents? >Date: Mon, 31 Jul 2006 09:55:00 +1200 > > > I am monitoring several hundred virtual machines and they > > move from time to time to different VMware host machines. My > > question is how can I easily update the parents for these? > >We have this situation as well. > >The way I get around it is to reconfigure the scripts daily. I have a >reconfigurator which regenerates the config files for both MRTG and >Nagios, probing the SNMP on the VMWare server to identify the various >locations of the guests. This is then used to set parent definitions, >and also make summary graphs for MRTG. > >At the same time, it probes for agents, checks for various services, and >dynamically reconfigures the monitoring for certain things (theres a >central config file the holds a list of what should be there, in >addition). > >We dont vmotion the guests very often, anyway, and the check_esx2 plugin >will log current active VMs so it also keeps track of any changes. > >Sadly I can't share a copy of the config tool as it is too specific to >our site. > >Steve > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys -- and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jul 31 15:21:09 2006 From: marc at ena.com (Marc Powell) Date: Mon, 31 Jul 2006 08:21:09 -0500 Subject: Host and/or Service availability report Message-ID: I indicated that the Axe approach would removed all history. -- "Axe: stop nagios; remove nagios.log; start nagios; remove archives/*. *******That will remove all history for all hosts and services*******" You'll likely need to use Assumed States for your availability reports until the initial state data gets re-populated. -- Marc > -----Original Message----- > From: Justin Craig [mailto:jrcraig.email at gmail.com] > Sent: Monday, July 31, 2006 7:29 AM > To: Marc Powell > Subject: Re: [Nagios-users] Host and/or Service availability report > > Thanks Marc, I cleared the logs and al lthe old data was purged. I > started Nagios again and now it's not reporting availablity on any hosts? > > Justin > > > On 7/28/06, Marc Powell wrote: > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net users-bounces at lists.sourceforge.net> [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Justin Craig > > Sent: Friday, July 28, 2006 8:23 AM > > To: Nagios Users Mailinglist > > Subject: [Nagios-users] Host and/or Service availability report > > > > I have two items: > > 1. If I'd like to "purge" host availability report, is this > possible? > > Basically clearing out the history of uptime/downtime... > > Axe: stop nagios; remove nagios.log; start nagios; remove > archives/*. > That will remove all history for all hosts and services > Surgical knife: stop nagios; edit nagios.log to remove only those > lines > with that host; start nagios; edit archives/* to do the same. > > > 2. We had a PIX firewall go down and was manually failed over to > backup. > > Outage lasted about 10 mins. This isn't refected in the host > availablity > > report? Shows all green.... However, we did get "PROBLEM > ALERT"'s > for > > PING service. > > Make sure it's logged in nagios.log or the archive for that period. > If > it is, send the entries to the list. > > -- > Marc > > -------------------------------------------------------------------- > ----- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=D > EVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 31 15:25:54 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Mon, 31 Jul 2006 08:25:54 -0500 Subject: Host and/or Service availability report In-Reply-To: References: Message-ID: Okay that's fine, but if I go to a host a view availability, shouldn't the time from when nagios started to current time be refected here? Justin On 7/31/06, Marc Powell wrote: > > I indicated that the Axe approach would removed all history. -- > > "Axe: stop nagios; remove nagios.log; start nagios; remove archives/*. > *******That will remove all history for all hosts and > services*******" > > You'll likely need to use Assumed States for your availability reports > until the initial state data gets re-populated. > > -- > Marc > > > -----Original Message----- > > From: Justin Craig [mailto:jrcraig.email at gmail.com] > > Sent: Monday, July 31, 2006 7:29 AM > > To: Marc Powell > > Subject: Re: [Nagios-users] Host and/or Service availability report > > > > Thanks Marc, I cleared the logs and al lthe old data was purged. I > > started Nagios again and now it's not reporting availablity on any > hosts? > > > > Justin > > > > > > On 7/28/06, Marc Powell wrote: > > > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net > > users-bounces at lists.sourceforge.net> [mailto:nagios-users- > > > bounces at lists.sourceforge.net] On Behalf Of Justin Craig > > > Sent: Friday, July 28, 2006 8:23 AM > > > To: Nagios Users Mailinglist > > > Subject: [Nagios-users] Host and/or Service availability > report > > > > > > I have two items: > > > 1. If I'd like to "purge" host availability report, is this > > possible? > > > Basically clearing out the history of uptime/downtime... > > > > Axe: stop nagios; remove nagios.log; start nagios; remove > > archives/*. > > That will remove all history for all hosts and services > > Surgical knife: stop nagios; edit nagios.log to remove only > those > > lines > > with that host; start nagios; edit archives/* to do the same. > > > > > 2. We had a PIX firewall go down and was manually failed over > to > > backup. > > > Outage lasted about 10 mins. This isn't refected in the host > > availablity > > > report? Shows all green.... However, we did get "PROBLEM > > ALERT"'s > > for > > > PING service. > > > > Make sure it's logged in nagios.log or the archive for that > period. > > If > > it is, send the entries to the list. > > > > -- > > Marc > > > > > -------------------------------------------------------------------- > > ----- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance > to > > share your > > opinions on IT & business topics through brief surveys -- and > earn > > cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=D > > EVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Mon Jul 31 15:44:56 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Mon, 31 Jul 2006 08:44:56 -0500 (CDT) Subject: BUG: check_disk doesn't support LVM volumes In-Reply-To: <5F54491268C784439D51B163322EE58C2F7B33@gorilla.hq.altien.com> References: <5F54491268C784439D51B163322EE58C2F7B33@gorilla.hq.altien.com> Message-ID: <20060731134456.AAD5438029@chuys.eng.intrinsity.com> Martin J. Green said... |/check_disk -w 10% -c 5% --partition /dev/mapper/VolGroup00-LogVol01 | |=20 | |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 |/dev/mapper/VolGroup00-LogVol01 | |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] Have you tried "-p" instead of "--partition"? Have you tried escaping all arguments by putting them inside single quotes? Have you tried all this from a command line? This command just parses the output of a df command. But it looks like it's complaining about what you passed in as an argument. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 ayksolutions.com Mon Jul 31 16:27:03 2006 From: nagios at ayksolutions.com (Artyom Khmelnitsky) Date: Mon, 31 Jul 2006 16:27:03 +0200 (CEST) Subject: Oreon feedback Message-ID: <20060731142703.3ED484F4045@desire.netways.de> Did a search on here for it but the posts were rather old. Just wanted to get some feedback on Oreon or anything else that's like it. I run v2.0 right now, so it should support that. Anyone using this front-end? I noticed most of the notes on it are in French and during the installati on process, it asks for non-existent directories (such as /usr/local/nagi os/etc), I assume that's from v1. Thanks for your suggestions ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jul 31 16:33:31 2006 From: marc at ena.com (Marc Powell) Date: Mon, 31 Jul 2006 09:33:31 -0500 Subject: Host and/or Service availability report Message-ID: Only if nagios can determine what the initial state was. Normally, nagios does not log the first check of a host or service, only when it changes state. As such, when you run reporting now, nagios is probably showing the states as undetermined because it doesn't have anything in the logs to use to determine initial state (unless your selected host or service has changed state since restart). That's why you need to specify an initial assumed state and what that state should be (OK). Alternately, enabling the 'log_initial_states' option in nagios.cfg and restarting will log the first check for everything and therefore provide you with that initial state from that time forward. This is the same behavior you would have seen when you first installed nagios. -- Marc > -----Original Message----- > From: Justin Craig [mailto:jrcraig.email at gmail.com] > Sent: Monday, July 31, 2006 8:26 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Host and/or Service availability report > > Okay that's fine, but if I go to a host a view availability, shouldn't the > time from when nagios started to current time be refected here? > > Justin > > > On 7/31/06, Marc Powell wrote: > > I indicated that the Axe approach would removed all history. -- > > "Axe: stop nagios; remove nagios.log ; start nagios; remove > archives/*. > *******That will remove all history for all hosts and > services*******" > > You'll likely need to use Assumed States for your availability > reports > until the initial state data gets re-populated. > > -- > Marc > > > -----Original Message----- > > From: Justin Craig [mailto:jrcraig.email at gmail.com] > > Sent: Monday, July 31, 2006 7:29 AM > > To: Marc Powell > > Subject: Re: [Nagios-users] Host and/or Service availability > report > > > > Thanks Marc, I cleared the logs and al lthe old data was purged. > I > > started Nagios again and now it's not reporting availablity on any > hosts? > > > > Justin > > > > > > On 7/28/06, Marc Powell wrote: ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen at altien.com Mon Jul 31 17:12:51 2006 From: mgreen at altien.com (Martin J. Green) Date: Mon, 31 Jul 2006 16:12:51 +0100 Subject: BUG: check_disk doesn't support LVM volumes In-Reply-To: References: Message-ID: <5F54491268C784439D51B163322EE58C2F7B47@gorilla.hq.altien.com> Both -p & --partition have been tried. Whether I use /dev/VolGroup00/LogVol01 or /dev/mapper/VolGroup00-LogVol01 I get the same error 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 /dev/VolGroup00/LogVol01 check_disk: Could not parse arguments It's completely useless on this machine since anything worth monitoring is on lvm or raid... Raid gives the same... [root at dell05 VolGroup00]# /usr/libexec/nagios/check_disk -w 10% -c 5% --partition /dev/md0 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 /dev/md0 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] I've tried with and without ''s. Still the same. Selinux *shouldn't* shouldn't be enabled, though fedora probably requires it as a dependency to even wipe my arse. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: 31 July 2006 13:28 To: nagios-users at lists.sourceforge.net Cc: nagiosplug-help at lists.sourceforge.net Subject: Re: [Nagios-users] BUG: check_disk doesn't support LVM volumes > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Martin J. Green > Sent: Monday, July 31, 2006 5:18 AM > To: nagios-users at lists.sourceforge.net > Cc: nagiosplug-help at lists.sourceforge.net > Subject: [Nagios-users] BUG: check_disk doesn't support LVM volumes > > When you try to check an LVM partition, this happens... > > > > /check_disk -w 10% -c 5% --partition /dev/mapper/VolGroup00-LogVol01 > > > > 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 > /dev/mapper/VolGroup00-LogVol01 > > 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] > > > > In the end, the only way to check it is to check it without specifiying a > partition (excepting all others if u wish). Please fix? It works fine here -- $ cat /etc/redhat-release CentOS release 3.6 (Final) $ ./check_disk -V check_disk (nagios-plugins 1.4.3) 1.64 /dev/Volume00/LogVol01 on /usr type ext3 (rw) $ ./check_disk -w 10% -c 5% --partition=/dev/Volume00/LogVol01 DISK OK - free space: /usr 7733 MB (79% inode=95%);| /usr=2110MB;8857;9349;95;9842 $ ./check_disk -w 10% -c 5% -p /usr DISK OK - free space: /usr 7733 MB (79% inode=95%);| /usr=2110MB;8857;9349;95;9842 Do you see the error if you specify the path instead of the mountpoint? What OS are you using? Do you have SELinux enabled? If so, see if SELinux is blocking access. -- Marc ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 31 17:52:36 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Mon, 31 Jul 2006 10:52:36 -0500 (CDT) Subject: BUG: check_disk doesn't support LVM volumes In-Reply-To: <5F54491268C784439D51B163322EE58C2F7B47@gorilla.hq.altien.com> References: <5F54491268C784439D51B163322EE58C2F7B47@gorilla.hq.altien.com> Message-ID: <20060731155236.D56BD38029@chuys.eng.intrinsity.com> Martin J. Green said... | |Both -p & --partition have been tried. Whether I use |/dev/VolGroup00/LogVol01 or /dev/mapper/VolGroup00-LogVol01 I get the |same error Do you have any non-RAID, non-LVM partitions to try with check_disk on this system, to verify what's happening? If so, does it work correctly with those (either / or /dev/hda1. or whatever)? What is the output if you just type "df -hP" from a command line? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen at altien.com Mon Jul 31 17:56:56 2006 From: mgreen at altien.com (Martin J. Green) Date: Mon, 31 Jul 2006 16:56:56 +0100 Subject: BUG: check_disk doesn't support LVM volumes In-Reply-To: <20060731155236.D56BD38029@chuys.eng.intrinsity.com> References: <20060731155236.D56BD38029@chuys.eng.intrinsity.com> Message-ID: <5F54491268C784439D51B163322EE58C2F7B4B@gorilla.hq.altien.com> / is the lvm volume and there's no hda1 (the machine has scsi disks in hardware raid), but if I don't use *any* partition as an argument it shows everything correctly (all partitions). I can also look at other stuff like /dev/shm etc ok. Output of df... Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol01 142965368 75163388 60422628 56% / /dev/md0 101018 10525 85277 11% /boot /dev/shm 3070648 0 3070648 0% /dev/shm 192.168.254.1:/storage/vm 1118120992 1020981088 39426400 97% /mnt/storage And df -hP Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol01 137G 72G 58G 56% / /dev/md0 99M 11M 84M 11% /boot /dev/shm 3.0G 0 3.0G 0% /dev/shm 192.168.254.1:/storage/vm 1.1T 974G 38G 97% /mnt/storage Oh and nfs mounts don't work either (again they show up when its passed no partition as an argument, but try and check it on its own and it doesn't work). M -----Original Message----- From: Miles O'Neal [mailto:meo at intrinsity.com] Sent: 31 July 2006 16:53 To: Martin J. Green Cc: Marc Powell; nagios-users at lists.sourceforge.net; nagiosplug-help at lists.sourceforge.net Subject: Re: [Nagios-users] BUG: check_disk doesn't support LVM volumes Martin J. Green said... | |Both -p & --partition have been tried. Whether I use |/dev/VolGroup00/LogVol01 or /dev/mapper/VolGroup00-LogVol01 I get the |same error Do you have any non-RAID, non-LVM partitions to try with check_disk on this system, to verify what's happening? If so, does it work correctly with those (either / or /dev/hda1. or whatever)? What is the output if you just type "df -hP" from a command line? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen-vY8stu4oZF/QT0dZR+AlfA at public.gmane.org Mon Jul 31 18:01:36 2006 From: mgreen-vY8stu4oZF/QT0dZR+AlfA at public.gmane.org (Martin J. Green) Date: Mon, 31 Jul 2006 17:01:36 +0100 Subject: [Nagios-users] BUG: check_disk doesn't support LVM volumes Message-ID: <5F54491268C784439D51B163322EE58C2F7B4C@gorilla.hq.altien.com> Think I might see the problem... look at the % used for the partitions that don't work (its not a %) M -----Original Message----- From: Martin J. Green Sent: 31 July 2006 16:57 To: 'Miles O'Neal'; nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Subject: RE: [Nagios-users] BUG: check_disk doesn't support LVM volumes / is the lvm volume and there's no hda1 (the machine has scsi disks in hardware raid), but if I don't use *any* partition as an argument it shows everything correctly (all partitions). I can also look at other stuff like /dev/shm etc ok. Output of df... Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol01 142965368 75163388 60422628 56% / /dev/md0 101018 10525 85277 11% /boot /dev/shm 3070648 0 3070648 0% /dev/shm 192.168.254.1:/storage/vm 1118120992 1020981088 39426400 97% /mnt/storage And df -hP Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol01 137G 72G 58G 56% / /dev/md0 99M 11M 84M 11% /boot /dev/shm 3.0G 0 3.0G 0% /dev/shm 192.168.254.1:/storage/vm 1.1T 974G 38G 97% /mnt/storage Oh and nfs mounts don't work either (again they show up when its passed no partition as an argument, but try and check it on its own and it doesn't work). M -----Original Message----- From: Miles O'Neal [mailto:meo-C1bXjvKzYUtOSnsfY10OVw at public.gmane.org] Sent: 31 July 2006 16:53 To: Martin J. Green Cc: Marc Powell; nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org; nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Subject: Re: [Nagios-users] BUG: check_disk doesn't support LVM volumes Martin J. Green said... | |Both -p & --partition have been tried. Whether I use |/dev/VolGroup00/LogVol01 or /dev/mapper/VolGroup00-LogVol01 I get the |same error Do you have any non-RAID, non-LVM partitions to try with check_disk on this system, to verify what's happening? If so, does it work correctly with those (either / or /dev/hda1. or whatever)? What is the output if you just type "df -hP" from a command line? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins 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 31 18:08:20 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 31 Jul 2006 12:08:20 -0400 Subject: BUG: check_disk doesn't support LVM volumes In-Reply-To: <5F54491268C784439D51B163322EE58C2F7B4C@gorilla.hq.altien.com> References: <5F54491268C784439D51B163322EE58C2F7B4C@gorilla.hq.altien.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Martin J. Green > Sent: Monday, July 31, 2006 9:02 AM > To: Martin J. Green; Miles O'Neal; nagios-users at lists.sourceforge.net > Cc: nagiosplug-help at lists.sourceforge.net > Subject: Re: [Nagios-users] BUG: check_disk doesn't support > LVM volumes > > Think I might see the problem... look at the % used for the > partitions that don't work (its not a %) > > /dev/mapper/VolGroup00-LogVol01 > 142965368 75163388 60422628 56% / Looks like a percentage to me. Have you tried dropping the "%" sign from your ceck command? I really think the issue here isn't the plugin, so much as how you're calling it. It seems to not like your -w and -c parameters, so I'd be looking there. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 31 18:15:19 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Mon, 31 Jul 2006 11:15:19 -0500 (CDT) Subject: BUG: check_disk doesn't support LVM volumes In-Reply-To: <5F54491268C784439D51B163322EE58C2F7B4C@gorilla.hq.altien.com> References: <5F54491268C784439D51B163322EE58C2F7B4C@gorilla.hq.altien.com> Message-ID: <20060731161519.C5B6D38029@chuys.eng.intrinsity.com> Martin J. Green said... | |Think I might see the problem... look at the % used for the partitions |that don't work (its not a %) No, all the % columns have the %, though some are scooted way over. This is the one that matters, because this is the format used by check_disk on Linux systems: |And df -hP | |Filesystem Size Used Avail Use% Mounted on |/dev/mapper/VolGroup00-LogVol01 137G 72G 58G 56% / |/dev/md0 99M 11M 84M 11% /boot |/dev/shm 3.0G 0 3.0G 0% /dev/shm |192.168.254.1:/storage/vm 1.1T 974G 38G 97% /mnt/storage | |Oh and nfs mounts don't work either (again they show up when its passed |no partition as an argument, but try and check it on its own and it |doesn't work). Sorry, I'm out of ideas other than trying another version of the plugins in case this one has a bug. The only problem I have seen with check_disk is when an NFS mount goes weird and the "df -hP" returns outout without numbers, as in fred:/dev/foo - - - - /dev/foo I use check_disk primarily on NFS mounted partitions and a handful of local disks. Everything else handle through nagios-statd on remote boxes, which also uses the "df -hP" command, but different code to parse and report, so it's not relevant. Actual command line example with only the names changed: somesys:meo[142]>/usr/lib64/nagios/plugins/check_disk -w 10% -c 5% -p /export/foo DISK WARNING [23126152 kB (6%) free on somefiler:/vol/vol0/foo] What version are you running? I have: somesys:meo[148]>rpm -q nagios-plugins nagios-plugins-1.3.1-10.1.el3.rf.x86_64 and as I said it works fine here. -Miles ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 31 18:17:15 2006 From: tom at ng23.net (Tom Brown) Date: Mon, 31 Jul 2006 17:17:15 +0100 Subject: check_disk - Only local disks Message-ID: <44CE2D0B.5050602@ng23.net> Hi using check_disk and running it remotely using nrpe - I wonder is there any way to make it only check local disks as it seems to also check my san mounted partitions and nfs partitions - Is there a switch to say only local disks? thanks ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 31 18:17:18 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Mon, 31 Jul 2006 10:17:18 -0600 Subject: BUG: check_disk doesn't support LVM volumes Message-ID: <2D0245E43DEC724F81592D697F05689903AD5C3C@SIDHQEXCHMB1.Cabelas.Corp> We had the same error using check_disk on solaris 9 last week with newly compiled plugins. Had to get the CVS version to fix it, I believe. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Miles O'Neal Sent: Monday, July 31, 2006 10:15 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] BUG: check_disk doesn't support LVM volumes Martin J. Green said... | |Think I might see the problem... look at the % used for the partitions |that don't work (its not a %) No, all the % columns have the %, though some are scooted way over. This is the one that matters, because this is the format used by check_disk on Linux systems: |And df -hP | |Filesystem Size Used Avail Use% Mounted on |/dev/mapper/VolGroup00-LogVol01 137G 72G 58G 56% / |/dev/md0 99M 11M 84M 11% /boot |/dev/shm 3.0G 0 3.0G 0% /dev/shm |192.168.254.1:/storage/vm 1.1T 974G 38G 97% /mnt/storage | |Oh and nfs mounts don't work either (again they show up when its passed |no partition as an argument, but try and check it on its own and it |doesn't work). Sorry, I'm out of ideas other than trying another version of the plugins in case this one has a bug. The only problem I have seen with check_disk is when an NFS mount goes weird and the "df -hP" returns outout without numbers, as in fred:/dev/foo - - - - /dev/foo I use check_disk primarily on NFS mounted partitions and a handful of local disks. Everything else handle through nagios-statd on remote boxes, which also uses the "df -hP" command, but different code to parse and report, so it's not relevant. Actual command line example with only the names changed: somesys:meo[142]>/usr/lib64/nagios/plugins/check_disk -w 10% -c 5% -p /export/foo DISK WARNING [23126152 kB (6%) free on somefiler:/vol/vol0/foo] What version are you running? I have: somesys:meo[148]>rpm -q nagios-plugins nagios-plugins-1.3.1-10.1.el3.rf.x86_64 and as I said it works fine here. -Miles ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 31 18:24:21 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Mon, 31 Jul 2006 13:24:21 -0300 Subject: Syslog-NG/NSCA In-Reply-To: <8C18BAD1F46B2245B0A08BCF1A823DD40726FF@raptor.redhawk.info> References: <8C18BAD1F46B2245B0A08BCF1A823DD40726FF@raptor.redhawk.info> Message-ID: <1154363061.16999.14.camel@localhost> Hi, On Sun, 2006-07-30 at 19:05 -0700, Mike Koponick wrote: > I wondered of anyone else has configured Syslog-NG to send data via > NSCA, and let Nagios handle the notifications, etc. I'm curious to see > how Nagios is configured as the server, and Nagios as the client. We use syslog-ng at Nagios central server to write directly to nagios.cmd. Distributed Nagios servers use syslog-ng to send passive results to central nagios. Just use the logger utility to log, and filter relevant entries to be redirected to central nagios. On central nagios, there must be one log entry to write lines matching "PROCESS_SERVICE_CHECK_RESULT" to nagios.cmd pipe. Using NSCA and Syslog-NG on the central server did not worked because syslog-ng locks the command pipe for writing, thus nsca cannot write to the command pipe. But syslog-ng could have a destination to some script that writes to nagios.cmd pipe, if nsca keeps running at the central nagios server. HTH, 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/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 18:20:22 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 31 Jul 2006 12:20:22 -0400 Subject: check_disk - Only local disks In-Reply-To: <44CE2D0B.5050602@ng23.net> References: <44CE2D0B.5050602@ng23.net> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Tom Brown > Sent: Monday, July 31, 2006 9:17 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_disk - Only local disks > > Hi > > using check_disk and running it remotely using nrpe - I > wonder is there any way to make it only check local disks as > it seems to also check my san mounted partitions and nfs > partitions - Is there a switch to say only local disks? Run check_disk -h for a full parameter listing. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 31 18:21:54 2006 From: meo at intrinsity.com (Miles O'Neal) Date: Mon, 31 Jul 2006 11:21:54 -0500 (CDT) Subject: check_disk - Only local disks In-Reply-To: <44CE2D0B.5050602@ng23.net> References: <44CE2D0B.5050602@ng23.net> Message-ID: <20060731162154.E6EE238029@chuys.eng.intrinsity.com> Tom Brown said... |using check_disk and running it remotely using nrpe - I wonder is there |any way to make it only check local disks as it seems to also check my |san mounted partitions and nfs partitions - Is there a switch to say |only local disks? None I'm aware of. But you can run it once per partition you care about with the "-p" arg. What you describe would be an easy to implement feature, but AFAIK it's not there. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MThomas at InnovationsTech.com Mon Jul 31 18:22:13 2006 From: MThomas at InnovationsTech.com (InnovationsTech, Matthew Thomas) Date: Mon, 31 Jul 2006 12:22:13 -0400 Subject: check_disk - Only local disks Message-ID: -l, --local Only check local filesystems Matt Thomas Server Operations Engineer InnovationsTech 412.722.0839 - Office 412.335.5467 - Cell MThomas at InnovationsTech.com Accelerating Productivity. Managed IT Solutions. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Morris, Patrick Sent: Monday, July 31, 2006 12.20 To: Tom Brown; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_disk - Only local disks > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Tom Brown > Sent: Monday, July 31, 2006 9:17 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_disk - Only local disks > > Hi > > using check_disk and running it remotely using nrpe - I > wonder is there any way to make it only check local disks as > it seems to also check my san mounted partitions and nfs > partitions - Is there a switch to say only local disks? Run check_disk -h for a full parameter listing. ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.frost1 at pepsi.com Mon Jul 31 18:22:18 2006 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Mon, 31 Jul 2006 12:22:18 -0400 Subject: Windows plugin to check process page faults? In-Reply-To: References: Message-ID: Thanks very much, Phil! I'm having a little difficulty finding any documentation that tells enumerates the PDH counters. The Microsoft documentation I can find seems to talk more about the API for using PDH rather than enumerating the possible keys you can search on. I See there's a PDHbrowser function in the API which looks like it would be really nice, But I'd have to actually do some Windows programming to get that far.... Thanks Mark -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Phil Costelloe Sent: Friday, July 28, 2006 11:20 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Windows plugin to check process page faults? Frost, Mark {PBG} wrote: > We have a need on a Windows 2003 box to check the number of page > faults a particular process has incurred. I'm not really aware of > how I could do this. > > We are running Nagios 2.4 and use the standard plugins with check_nrpe > 0.8 to monitor CPU, memory and disk space. > > Does anyone know if there's some way to get a plugin to report a > process' page faults? You can access any of the Windows performance counters using nsclient (and presumably nsclient++). The particular counter in this case, given a process called foobar, would be \\Process(foobar)\\Page Faults/Sec and the check command and service entries would be something like: define command { command_name check_nt_pagefaults command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\Process($ARG5$)\\Page Faults/Sec","Page faults per second are %.2f %%" -w $ARG2$ -c $ARG3$ -s $ARG4$ } define service { use generic-service host_name windows_host service_description Page Faults contact_groups amber-admins check_command check_nt_pagefaults!1248!3!5!password!foobar etc etc } Untested but should just about work. Phil -------------------------------------------------------- Phil Costelloe Technical Consultant philc at foundation-it.com http://www.foundation-it.com Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 -------------------------------------------------------- This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -------------------------------------------------------- ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgreen-vY8stu4oZF/QT0dZR+AlfA at public.gmane.org Mon Jul 31 18:25:02 2006 From: mgreen-vY8stu4oZF/QT0dZR+AlfA at public.gmane.org (Martin J. Green) Date: Mon, 31 Jul 2006 17:25:02 +0100 Subject: [Nagios-users] BUG: check_disk doesn't support LVM volumes In-Reply-To: References: Message-ID: <5F54491268C784439D51B163322EE58C2F7B4F@gorilla.hq.altien.com> -----Original Message----- From: Morris, Patrick [mailto:patrick.morris-VXdhtT5mjnY at public.gmane.org] Sent: 31 July 2006 17:08 To: Martin J. Green; Miles O'Neal; nagios-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Cc: nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org Subject: RE: [Nagios-users] BUG: check_disk doesn't support LVM volumes > /dev/mapper/VolGroup00-LogVol01 > 142965368 75163388 60422628 56% / Looks like a percentage to me. Have you tried dropping the "%" sign from your ceck command? I really think the issue here isn't the plugin, so much as how you're calling it. It seems to not like your -w and -c parameters, so I'd be looking there. No, in the -hP output. You're right, it doesn't like my -w and -c arguments... says they have to be lower than zero... ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Mon Jul 31 18:37:13 2006 From: tom at ng23.net (Tom Brown) Date: Mon, 31 Jul 2006 17:37:13 +0100 Subject: check_disk - Only local disks In-Reply-To: References: Message-ID: <44CE31B9.10206@ng23.net> > -l, --local > Only check local filesystems damn - sorry all for the spam ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 18:37:29 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 31 Jul 2006 12:37:29 -0400 Subject: BUG: check_disk doesn't support LVM volumes In-Reply-To: <5F54491268C784439D51B163322EE58C2F7B4F@gorilla.hq.altien.com> References: <5F54491268C784439D51B163322EE58C2F7B4F@gorilla.hq.altien.com> Message-ID: > -----Original Message----- > From: Martin J. Green [mailto:mgreen at altien.com] > Sent: Monday, July 31, 2006 9:25 AM > To: Morris, Patrick; nagios-users at lists.sourceforge.net > Cc: nagiosplug-help at lists.sourceforge.net > Subject: RE: [Nagios-users] BUG: check_disk doesn't support > LVM volumes > > > > -----Original Message----- > From: Morris, Patrick [mailto:patrick.morris at hp.com] > Sent: 31 July 2006 17:08 > To: Martin J. Green; Miles O'Neal; nagios-users at lists.sourceforge.net > Cc: nagiosplug-help at lists.sourceforge.net > Subject: RE: [Nagios-users] BUG: check_disk doesn't support > LVM volumes > > > > /dev/mapper/VolGroup00-LogVol01 > > 142965368 75163388 60422628 56% / > > Looks like a percentage to me. > No, in the -hP output. It's a percentage there, too: /dev/mapper/VolGroup00-LogVol01 137G 72G 58G 56% / Based on what you've sent before, though, this does look a bit like a bug -- I'm just not convinced it has anything to do with lvm (unless it's doing something silly like choking on long device names). Does it do the same thing if you use "-p /"? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 19:42:08 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 31 Jul 2006 19:42:08 +0200 (CEST) Subject: Recovery not getting sent during downtime? In-Reply-To: References: Message-ID: On Mon, 31 Jul 2006 srunschke at abit.de wrote: > I'm currently using Nagios 2.0b3 (never change a running system ;)) and > ran into the following problem: > > Service went critical > SMS and emails got dispatched > found problem, decided to reboot the machine to fix it > scheduled downtime for host > rebooted host > everything went ok again > no SMS/email got dispatched to state the service recovered though! Pardon me. But what is the problem? You have a problem. It triggers an alert. You act and 'fix' it by scheduling downtime. Then you bring the system alive within the allocated maintenance window. It seems there is little point in sending a status change if you declare a maintenance window. Then it is obviously a planned action and there is no need to send out any alert. 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 31 20:38:36 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Mon, 31 Jul 2006 13:38:36 -0500 Subject: Host and/or Service availability report In-Reply-To: References: Message-ID: perfect, since I didn't know how to to specify initial assumed state "OK", I changed log_initial_states to 1 and now I'm graphing availability again. thanks.... On 7/31/06, Marc Powell wrote: > > Only if nagios can determine what the initial state was. Normally, > nagios does not log the first check of a host or service, only when it > changes state. As such, when you run reporting now, nagios is probably > showing the states as undetermined because it doesn't have anything in > the logs to use to determine initial state (unless your selected host or > service has changed state since restart). That's why you need to specify > an initial assumed state and what that state should be (OK). > Alternately, enabling the 'log_initial_states' option in nagios.cfg and > restarting will log the first check for everything and therefore provide > you with that initial state from that time forward. This is the same > behavior you would have seen when you first installed nagios. > > -- > Marc > > > -----Original Message----- > > From: Justin Craig [mailto:jrcraig.email at gmail.com] > > Sent: Monday, July 31, 2006 8:26 AM > > To: Marc Powell > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Host and/or Service availability report > > > > Okay that's fine, but if I go to a host a view availability, shouldn't > the > > time from when nagios started to current time be refected here? > > > > Justin > > > > > > On 7/31/06, Marc Powell wrote: > > > > I indicated that the Axe approach would removed all history. -- > > > > "Axe: stop nagios; remove nagios.log ; start nagios; remove > > archives/*. > > *******That will remove all history for all hosts and > > services*******" > > > > You'll likely need to use Assumed States for your availability > > reports > > until the initial state data gets re-populated. > > > > -- > > Marc > > > > > -----Original Message----- > > > From: Justin Craig [mailto:jrcraig.email at gmail.com] > > > Sent: Monday, July 31, 2006 7:29 AM > > > To: Marc Powell > > > Subject: Re: [Nagios-users] Host and/or Service availability > > report > > > > > > Thanks Marc, I cleared the logs and al lthe old data was > purged. > > I > > > started Nagios again and now it's not reporting availablity on > any > > hosts? > > > > > > Justin > > > > > > > > > On 7/28/06, Marc Powell wrote: > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 jrcraig.email at gmail.com Mon Jul 31 20:45:46 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Mon, 31 Jul 2006 13:45:46 -0500 Subject: external commands schedule downtime. Message-ID: such as schedule downtime for a host or service, or disabling notifications.... I understand this could be seperate issues, but I have permission for "nagiosadmin" to be able to issue external commands et al. When I try to schedule downtime, nagios tells me Error: Could not open command file 'usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Mon Jul 31 21:18:31 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 31 Jul 2006 12:18:31 -0700 Subject: external commands schedule downtime. In-Reply-To: References: Message-ID: <20060731191831.GQ13226@hermes.americas.hpqcorp.net> On Mon, 31 Jul 2006, Justin Craig wrote: > such as schedule downtime for a host or service, or disabling > notifications.... I understand this could be seperate issues, but I have > permission for "nagiosadmin" to be able to issue external commands et al. > When I try to schedule downtime, nagios tells me > > Error: Could not open command file 'usr/local/nagios/var/rw/nagios.cmd' for > update! > > The permissions on the external command file and/or directory may be > incorrect. Take a look at the path. It's wrong. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 31 22:33:21 2006 From: jrcraig.email at gmail.com (Justin Craig) Date: Mon, 31 Jul 2006 15:33:21 -0500 Subject: external commands schedule downtime. In-Reply-To: <20060731191831.GQ13226@hermes.americas.hpqcorp.net> References: <20060731191831.GQ13226@hermes.americas.hpqcorp.net> Message-ID: Interesting, what should it be? This is the default as I have not changed it, and nagios.cmd does exist in usr/local/nagios/var/rw On 7/31/06, Patrick Morris wrote: > > On Mon, 31 Jul 2006, Justin Craig wrote: > > > such as schedule downtime for a host or service, or disabling > > notifications.... I understand this could be seperate issues, but I > have > > permission for "nagiosadmin" to be able to issue external commands et > al. > > When I try to schedule downtime, nagios tells me > > > > Error: Could not open command file 'usr/local/nagios/var/rw/nagios.cmd' > for > > update! > > > > The permissions on the external command file and/or directory may be > > incorrect. > > Take a look at the path. It's wrong. > -- - Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 Mon Jul 31 22:39:18 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 31 Jul 2006 13:39:18 -0700 Subject: external commands schedule downtime. In-Reply-To: References: <20060731191831.GQ13226@hermes.americas.hpqcorp.net> Message-ID: <20060731203918.GS13226@hermes.americas.hpqcorp.net> On Mon, 31 Jul 2006, Justin Craig wrote: > Interesting, what should it be? This is the default as I have not changed > it, and nagios.cmd does exist in usr/local/nagios/var/rw > > On 7/31/06, Patrick Morris wrote: > > > >On Mon, 31 Jul 2006, Justin Craig wrote: > > > >> such as schedule downtime for a host or service, or disabling > >> notifications.... I understand this could be seperate issues, but I > >have > >> permission for "nagiosadmin" to be able to issue external commands et > >al. > >> When I try to schedule downtime, nagios tells me > >> > >> Error: Could not open command file 'usr/local/nagios/var/rw/nagios.cmd' > >for > >> update! > >> > >> The permissions on the external command file and/or directory may be > >> incorrect. > > > >Take a look at the path. It's wrong. Without a slash at the beginning, it's a relative path. It's only going to be right if you're in the home directory. For example, try typing "cd usr/local/nagios/var/rw" from /home. It won't work. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 22:48:51 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 31 Jul 2006 22:48:51 +0200 (CEST) Subject: external commands schedule downtime. In-Reply-To: <20060731203918.GS13226@hermes.americas.hpqcorp.net> References: <20060731191831.GQ13226@hermes.americas.hpqcorp.net> <20060731203918.GS13226@hermes.americas.hpqcorp.net> Message-ID: On Mon, 31 Jul 2006, Patrick Morris wrote: > Without a slash at the beginning, it's a relative path. It's only going > to be right if you're in the home directory. I assume you mean root directory here. > For example, try typing "cd usr/local/nagios/var/rw" from /home. It > won't work. ~ sweet ~ ;-) 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 31 22:54:40 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 31 Jul 2006 13:54:40 -0700 Subject: external commands schedule downtime. In-Reply-To: References: <20060731191831.GQ13226@hermes.americas.hpqcorp.net> <20060731203918.GS13226@hermes.americas.hpqcorp.net> Message-ID: <20060731205440.GT13226@hermes.americas.hpqcorp.net> On Mon, 31 Jul 2006, Hugo van der Kooij wrote: > On Mon, 31 Jul 2006, Patrick Morris wrote: > > > Without a slash at the beginning, it's a relative path. It's only going > > to be right if you're in the home directory. > > I assume you mean root directory here. Ayup. Sometimes the five remaining brain cells get ahead of the three good typing fingers. A few more years of typing practice and I should be in good shape. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From felipe at tocchetto.com Mon Jul 31 23:16:06 2006 From: felipe at tocchetto.com (Felipe Tocchetto) Date: Mon, 31 Jul 2006 18:16:06 -0300 Subject: not receiving the nagios notifications In-Reply-To: <91eedcbf0607280953l7a7a8444wb6d17f0dfda44dc9@mail.gmail.com> References: <2D0245E43DEC724F81592D697F05689903AD5C37@SIDHQEXCHMB1.Cabelas.Corp> <91eedcbf0607280953l7a7a8444wb6d17f0dfda44dc9@mail.gmail.com> Message-ID: <4f70c5c80607311416o313bad5cj781f197edd5f97c9@mail.gmail.com> Solved! After all this thread the problem is resolved. I changed the "mail" command by "mailx" Thanks Marc, Mike, Hugo, Aaron, Morris and all the others that read this thread. 2006/7/28, Mike Emigh : > > > On 7/28/06, Aaron Segura wrote: > > Shameless plug: > > > > > http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[p_view]=627 > > > > Maybe try this? That way you don't have to put anything "tricky" on the > cmdline. It all just goes into the template. No worries about escaping > special shell characters, etc... > > > > -----Original Message----- -- Felipe L. Tocchetto http://felipe.tocchetto.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcos.marinho at rac.com.br Mon Jul 31 23:57:07 2006 From: marcos.marinho at rac.com.br (Marcos Marinho) Date: Mon, 31 Jul 2006 18:57:07 -0300 Subject: Nagios do not send e.mails Message-ID: I had installed the version 2.4 by binary way and we had using NagiosQL to configure. The servers had been monitored ok In all time that nagios was installed here none of the serves had not been down any moment On the first server down one, the nagios process did not send any e.mail using the pre-configured scritp host-notify-by-email. Whe I had tried runnig the script using user nagios the message was sent with no problem. This is what is showed in nagio.log [1154056710] HOST ALERT: marcos;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [1154056720] HOST ALERT: marcos;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [1154056730] HOST ALERT: marcos;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds [1154056740] HOST ALERT: marcos;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds [1154056750] HOST ALERT: marcos;DOWN;HARD;5;CRITICAL - Plugin timed out after 10 seconds This is our configuration files ================================================================ define host { host_name marcos alias Workstation Marcos address 10.10.21.18 parents Debian check_command check-host-alive max_check_attempts 5 check_interval 10 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 obsess_over_host 1 check_freshness 1 freshness_threshold 360 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups admins notification_interval 5 notification_period 24x7 notification_options d,u notifications_enabled 1 stalking_options d,u register 1 } ================================================================ define command { command_name host-notify-by-email command_line /usr/bin/printf \\"%b\\" \\"***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\\" | /usr/bin/mail -s \\"Host $HOSTSTATE$ alert for $HOSTNAME$!\\" $CONTACTEMAIL$ } ================================================================ define contactgroup { contactgroup_name admins alias Nagios Administrators members redes } ================================================================ define contact { contact_name redes alias Grupo Redes host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,u,r service_notification_options w,u,c,r host_notification_commands host-notify-by-email service_notification_commands notify-by-email email marcos.marinho at dominio.com.br } ================================================================ Any hints Thank you before hands -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2844 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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 mkoponick at redhawk.info Mon Jul 31 23:58:23 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Mon, 31 Jul 2006 14:58:23 -0700 Subject: Nagios do not send e.mails In-Reply-To: References: Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD4440170@raptor.redhawk.info> Are notifications turned on in the nagios.cfg file? Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marcos Marinho Sent: Monday, July 31, 2006 2:57 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios do not send e.mails I had installed the version 2.4 by binary way and we had using NagiosQL to configure. The servers had been monitored ok In all time that nagios was installed here none of the serves had not been down any moment On the first server down one, the nagios process did not send any e.mail using the pre-configured scritp host-notify-by-email. Whe I had tried runnig the script using user nagios the message was sent with no problem. This is what is showed in nagio.log [1154056710] HOST ALERT: marcos;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [1154056720] HOST ALERT: marcos;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [1154056730] HOST ALERT: marcos;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds [1154056740] HOST ALERT: marcos;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds [1154056750] HOST ALERT: marcos;DOWN;HARD;5;CRITICAL - Plugin timed out after 10 seconds This is our configuration files ================================================================ define host { host_name marcos alias Workstation Marcos address 10.10.21.18 parents Debian check_command check-host-alive max_check_attempts 5 check_interval 10 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 obsess_over_host 1 check_freshness 1 freshness_threshold 360 event_handler_enabled 0 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups admins notification_interval 5 notification_period 24x7 notification_options d,u notifications_enabled 1 stalking_options d,u register 1 } ================================================================ define command { command_name host-notify-by-email command_line /usr/bin/printf \\"%b\\" \\"***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\\" | /usr/bin/mail -s \\"Host $HOSTSTATE$ alert for $HOSTNAME$!\\" $CONTACTEMAIL$ } ================================================================ define contactgroup { contactgroup_name admins alias Nagios Administrators members redes } ================================================================ define contact { contact_name redes alias Grupo Redes host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,u,r service_notification_options w,u,c,r host_notification_commands host-notify-by-email service_notification_commands notify-by-email email marcos.marinho at dominio.com.br } ================================================================ Any hints Thank you before hands << File: ATT350909.txt >> << File: ATT350911.txt >> -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- 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